@charset "utf-8";

/*-------------------- MV */
#mainvis {
  height: 100vh !important;
}
#mainvis .mf-inner {
  padding: 0;
}
#mainvis .sbox {
  width: 35vw;
  padding: 5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#mainvis .swiper-container {

}
#mainvis .cbox {
  display: none;
}
#mainvis .swiper-slide-active .cbox {
  display: block;
}
#mainvis .swiper-pagination-bullets{
  max-width: 1080px;
  width: auto !important;
  text-align: right!important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  z-index: 5;
}
#mainvis .swiper-pagination-bullet {
  max-width: 50px;
  max-height: 5px;
  width: 6.67vw;
  height: 0.67vw;
  margin: 0 10px;
  border-radius: 0;
  opacity: 1;
  background: #eaeaea;
  position: relative;
}
#mainvis .swiper-pagination-bullet-active {
  background: #8dc9bf;
  opacity: 1;
}
#mainvis .swiper-pagination-bullet:before{
  content: "";
  background: #8dc9bf;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 100%;
}
#mainvis .swiper-pagination-bullet-active{
  background: #e6e6e6;
}
#mainvis .swiper-pagination-bullet-active:before{
  animation: sactive 4s linear forwards;
}
@keyframes sactive {
  0% {
    right: 100%;
  }
  100% {
    right: 0
  }
}
.swiper-button-prev:after,
.swiper-button-next:after {
 display: none;
}
.swiper-button-prev,
.swiper-button-next {
	width: 15px;
	height: 15px;
	margin-top: 0;
}
/* 次ページボタンのスタイル */
.swiper-button-next {
	border-top: 6px solid rgba(0,0,0,.5);
  border-left: 6px solid rgba(0,0,0,.5);
  transform: rotate(135deg);
  right: -5em;
}
/* 前ページボタンのスタイル */
.swiper-button-prev {
	border-top: 6px solid rgba(0,0,0,.5);
  border-right: 6px solid rgba(0,0,0,.5);
  transform: rotate(-135deg);
  left: -5em;
}
#mainvis h2 {
  width: auto;
  font-size: 1.4em;
  margin-bottom: 1em;
  text-align: left;
}
#mainvis h2:after {
  display: none;
}
#mainvis .cbox p {
  height: 3em;
}
#mainvis .btn a {
  display: block;
  width: fit-content;
  width: -moz-fit-content;
  padding: .5em 2em;
  margin: 3em auto 2em;
  border-radius: 10px;
  background: #8dc9bf;
  color: #fff;
  text-align: center;
}

/*-------------------- pankuzu */
#pankuzu {
  display: none;
}

/*-------------------- contents */
#main {
  padding-bottom: 0;
}

/*-------------------- mf1 */
#mf1 .mf-inner {
  width: 60vw;
  margin: 0 auto;
  padding: 4em 0;
}
#mf1 h2 {
  margin: 0 auto 1em;
  font-size: 200%;
  font-weight: 600;
  text-align: center;
}
#mf1 .cbox {
  width: 100%;
  height: 18em;
  background: url("../img/cmn/mf1i1.jpg") center 50% / cover no-repeat;
  margin: 5vw auto 3vw;
}
#mf1 p {
  max-width: 800px;
  margin: 1em auto;
}



@media screen and (max-width: 1400px) {
  .mv-frame picture img {
    max-width: 1000px;
  }
  .frame {
    width: auto;
  }
  .inner {
    width: 1000px;
  }
  .mf2 {
    padding: 4vw 0 0;
  }
  .mf2 .cbox {
    background-position: left bottom 100px;
    height: 450px;
  }
  .mf3 .ibox {
    width: 45vw;
  }
  .mf3 li {
    margin: 2.5em 0 1em;
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 2.8vw;
  }
  h2 {
    font-size: 7vw;
  }
  #mainvis {
    height: 60vh !important;
  }
  #mainvis video {
    width: auto;
    height: 60vh;
  }
  #mainvis .sbox {
    width: 70vw;
    padding: 5vw;
    top: 30vh;
  }
  #mainvis h2 {
    padding: 0;
  }
  .swiper-button-next {
    right: -3vw;
  }
  .swiper-button-prev {
    left: -3vw;
  }
  #mf1 .mf-inner {
    width: 80vw;
    padding: 4em 0;
  }
  #mf1 .cbox {
    margin: 15vw auto 5vw;
  }
}

@media screen and (max-width: 768px) {

}

@media screen and (max-width: 540px) {
  body {
    font-size: 3.4vw;
    line-height: 1.5;
  }
  #mainvis, #mainvis video {
    height: 100vh !important;
  }
  #mainvis .sbox {
    width: 65vw;
    top: 45vh;
  }
  #mainvis h2 {
    font-size: 1.2em;
  }
  #mainvis .cbox p {
    font-size: 1em;
  }
  #mainvis .btn a {
    padding: 1em 2em;
    margin: 3em auto 2em;
    font-size: 3.8vw;
  }
  .swiper-button-next {
    border-top: 3px solid rgba(0,0,0,.5);
    border-left: 3px solid rgba(0,0,0,.5);
    right: -5vw;
  }
  .swiper-button-prev {
    border-top: 3px solid rgba(0,0,0,.5);
    border-right: 3px solid rgba(0,0,0,.5);
    left: -5vw;
  }
  #mainvis .swiper-pagination-bullet {
    width: 8vw;
    height: 1.4vw;
    margin: 1.4vw;
  }
  #mainvis .swiper-pagination-bullets {
    bottom: 0;
  }
  h3 {
    font-size: 3.8vw;
  }
  footer .cbox {
    width: 85vw;
  }
  footer img {
    width: 35vw;
  }
  footer .fbtn a {
    width: 42vw;
    line-height: 3.5;
    font-size: 2.6vw;
  }
  footer p {
    font-size: 1.8vw;
  }
}

@media screen and (max-width: 420px) {
  .mv-frame picture img {
    width: 130%;
    margin: 0 0 0 -17vw;
  }
  .mf1, .mf2 {
    padding-bottom: 10vw;
  }
  .mf2 .cbox {
    background-position: left bottom;
  }
  .mf3 .cbox {
    background: url("../img/mf3bg.png") left bottom 250px/150% no-repeat;
  }
}