@media(max-width:768px) {

  main {
    padding-top: 70px;
  }

}

@media(min-width:769px) {

  main {
    padding-top: 140px;
  }

}

/* mv */
.section__mv__wrap {
  position: relative;
}
.section__mv__wrap .section__mv {
  margin-right: auto;
  margin-left: auto;
}
.section__mv .swiper {
  overflow: visible;
}

.section__mv picture {
  display: block;
  overflow: hidden;
}
.swiper-slide {
  position: relative;
}
.swiper-slide .slide__title {
  background: #feffffc3;
  position: absolute;
  bottom: 0;
  left: 0;
}
.mv__nav__wrap {
  z-index: 1;
  pointer-events: none;
}
.mv__nav__wrap .mv-prev,
.mv__nav__wrap .mv-next {
  aspect-ratio: 1 / 1;
  background: #465585;
  border-radius: 50vh;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  pointer-events: initial;
}
.mv__nav__wrap .mv-prev:after,
.mv__nav__wrap .mv-next:after {
  content: '';
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  position: absolute;
}
.mv__nav__wrap .mv-prev {
  position: absolute;
}
.mv__nav__wrap .mv-next {
  position: absolute;
}
.mv__nav__wrap .mv-prev:after {
  transform: rotate(-135deg);
}
.mv__nav__wrap .mv-next:after {
  transform: rotate(45deg);
}


@media(max-width:768px) {

  .section__mv__wrap {
    margin-bottom: 20%;
  }
  .section__mv .swiper-slide {
    max-width: 90%;
    width: calc(100% - 100px);
  }
  .section__mv picture {
    border-radius: 15px;
  }
  .swiper-slide .slide__title {
    border-radius: 0 15px 0 15px;
    padding: 1em 15px 1em;
    min-width: 90%;
  }
  .slide__title strong {
    font-size: 1.6rem;
    letter-spacing: .05em;
  }
  .mv__nav__wrap {
    position: absolute;
    width: 100%;
    max-width: 980px;
    transform: translate(-50%, -50%);
    height: 100%;
    top: 50%;
    left: 50%;
  }
  .mv__nav__wrap .mv-prev,
  .mv__nav__wrap .mv-next {
    width: 50px;
    top: calc(50% - 25px);
  }
  .mv__nav__wrap .mv-prev {
    left: 5px;
  }
  .mv__nav__wrap .mv-next {
    right: 5px;
  }
  .mv__nav__wrap .mv-prev:after,
  .mv__nav__wrap .mv-next:after {
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
  }
  .mv__nav__wrap .mv-prev:after {
    left: calc(50% - 4px);
  }
  .mv__nav__wrap .mv-next:after {
    left: calc(50% - 12px);
  }

}

@media(min-width:769px) {

  .section__mv__wrap {
    margin-bottom: 360px;
  }
  .section__mv__wrap .section__mv {}
  .section__mv .swiper-slide {
    max-width: 780px;
    width: calc(100% - 200px);
  }
  .section__mv picture {
    border-radius: 30px;
  }
  .swiper-slide .slide__title {
    border-radius: 0 30px 0 30px;
    padding: 26px 30px 24px;
    min-width: 390px;
  }
  .slide__title strong {
    font-size: 22px;
    letter-spacing: .05em;
  }
  .mv__nav__wrap {
    position: absolute;
    width: 100%;
    max-width: 980px;
    transform: translate(-50%, -50%);
    height: 100%;
    top: 50%;
    left: 50%;
  }
  .mv__nav__wrap .mv-prev,
  .mv__nav__wrap .mv-next {
    width: 60px;
    top: calc(50% - 30px);
  }
  .mv__nav__wrap .mv-prev {
    left: 20px;
  }
  .mv__nav__wrap .mv-next {
    right: 20px;
  }
  .mv__nav__wrap .mv-prev:after,
  .mv__nav__wrap .mv-next:after {
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
  }
  .mv__nav__wrap .mv-prev:after {
    left: calc(50% - 4px);
  }
  .mv__nav__wrap .mv-next:after {
    left: calc(50% - 12px);
  }

}



/* about */
.section__about {
  position: relative;
}
.about__cap h2 {
  color: #465585;
}
.section__about picture {
  display: block;
  overflow: hidden;
}

@media(max-width:768px) {

  .section__about {
    margin-bottom: 60vw;
    padding: 8% 0;
  }
  .section__about .about__cap {
    width: 80%;
  }
  .about__cap h2 {
    font-size: 1.6rem;
    margin-bottom: 5%;
  }
  .about__cap p {
    font-size: 1.4rem;
    line-height: 2;
    margin-bottom: 1em;
  }
  .section__about picture {
    position: absolute;
    width: 80%;
    border-radius: 15px;
    right: calc(0px - 15px);
  }

}

@media(min-width:769px) {

  .section__about {
    margin-bottom: 36px;
    padding: 94px 0 90px;
  }
  .section__about .about__cap {
    width: 38.6%;
  }
  .about__cap h2 {
    font-size: 26px;
    margin-bottom: 46px;
  }
  .about__cap p {
    font-size: 16px;
    line-height: 2.125;
  }
  .section__about picture {
    position: absolute;
    width: 870px;
    border-radius: 30px;
    bottom: 100px;
    left: 45.1%;
  }

}



/* news */
.section__news {}
.section__news .head__wrap span {
  color: #465585;
  opacity: .1;
}
.news__list__item picture {
  display: block;
  overflow: hidden;
}


@media(max-width:768px) {

  .section__news {
    margin-bottom: 20%;
  }
  .section__news .head__wrap {
    margin-bottom: 8%;
  }
  .news__list__wrap .news__list {
    /* display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: stretch;
    align-items: stretch; */
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 15%;
  }
  .news__list .news__list__item {
    /* width: calc((100% - 4%) / 2); */
    width: 100%;
    margin-bottom: 8%;
  }
  /* .news__list .news__list__item:not(:nth-child(2n)) {
    margin-right: 4%;
  } */
  .news__list__item picture {
    border-radius: 15px;
  }

}

@media(min-width:769px) {

  .section__news {
    margin-bottom: 100px;
  }
  .section__news .head__wrap {
    margin-bottom: 82px;
  }
  .news__list__wrap .news__list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: stretch;
    align-items: stretch;
    margin-bottom: 20px;
  }
  .news__list .news__list__item {
    width: calc((100% - 10%) / 3);
    margin-bottom: 76px;
  }
  .news__list .news__list__item:not(:nth-child(3n)) {
    margin-right: 5%;
  }

  .news__list__item picture {
    border-radius: 30px;
  }


}





/* ranking */
.section__ranking {}
.section__ranking .head__wrap span {
  color: #ffffff;
}
.section__ranking .ranking__list__wrap {}
.ranking__list__wrap .ranking__list {}
.ranking__list__item .rank__img__wrap {
  display: block;
  overflow: hidden;
  position: relative;
}
.rank__img__wrap > div {
  background: #465585;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1ch;
  z-index: 2;
}
.rank__img__wrap div span {
  font-weight: bold;
  text-align: center;
  display: block;
}
.rank__img__wrap div em {
  font-style: normal;
  font-size: 2em;
  display: block;
  line-height: 1.1;
}



@media(max-width:768px) {

  .section__ranking {
    margin-bottom: 20%;
    padding: 8% 0 20%;
  }
  .section__ranking .head__wrap {
    margin-bottom: 8%;
  }
  .ranking__list__wrap .ranking__list {
    /* display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: stretch;
    align-items: stretch; */
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 15%;
  }

  
  .ranking__list .ranking__list__item {
    /* width: calc((100% - 4%) / 2); */
    width: 100%;
    margin-bottom: 8%;
  }
  .ranking__list .ranking__list__item:not(:nth-child(2n),:last-child) {
    margin-right: 4%;
  }
  .ranking__list__item .rank__img__wrap {
    border-radius: 15px;
  }
  .rank__img__wrap div {
    border-radius: 0 0 15px 0;
    aspect-ratio: 1 / 1;
    font-size: 1rem;
    min-width: 6em;
  }




}

@media(min-width:769px) {

  .section__ranking {
    margin-bottom: 200px;
    padding: 80px 0 100px;
  }
  .section__ranking .head__wrap {
    margin-bottom: 82px;
  }
  .ranking__list__wrap .ranking__list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;

    /* -webkit-justify-content: flex-start;
    justify-content: flex-start; */
    -webkit-align-items: stretch;
    align-items: stretch;
    margin-bottom: 16px;
  }

  
  .ranking__list .ranking__list__item {
    width: calc((100% - 10%) / 3);
    margin-bottom: 76px;
  }
  .ranking__list .ranking__list__item:not(:nth-child(3n),:last-child) {
    margin-right: 5%;
  }
  .ranking__list__item .rank__img__wrap {
    border-radius: 30px;
  }
  .rank__img__wrap div {
    border-radius: 0 0 30px 0;
    aspect-ratio: 1 / 1;
    font-size: 16px;
    min-width: 80px;
  }



}


/* service */
.section__service {}
.service__item a {
  display: block;
}
.service__item figure {
  box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
  border-radius: 20px;
  display: block;
  overflow: hidden;
}
.service__item h3 {
  background: url(../images/common/icon_blank.svg) 100% 50% / auto .7em no-repeat;
  display: inline-block;
  padding-right: 1.3em;
}

@media(max-width:768px) {


  .section__service {
    margin-bottom: 20%;
  }
  .section__service .service__contents {
    margin-top: 8%;
  }
  .service__contents {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: stretch;
    align-items: stretch;
  }
  .service__contents .service__item {
    /* width: 48%; */
    margin-bottom: 8%;
  }
  .service__item h3 {
    font-size: 2rem;
    margin: 14px auto 5px;
    position: relative;
  }
  .service__item a h3:before {
    background: #333;
    content: '';
    width: calc(100% - 1.3em);
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
  }
  .service__item p {
    font-size: 1.4rem;
    line-height: 1.8;
  }


}

@media(min-width:769px) {

  .section__service {
    margin-bottom: 110px;
  }
  .section__service .service__contents {
    /* margin-top: 54px; */
  }
  .service__contents {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: stretch;
    align-items: stretch;
  }
  .service__contents .service__item {
    width: 30%;
    margin-bottom: 50px;
  }
  .service__item figure img {
    transition: all .5s;
  }
  .service__item a:hover figure img {
    transform: scale(1.1);
  }
  .service__item h3 {
    font-size: 20px;
    margin: 14px auto 5px;
    position: relative;
  }
  .service__item a h3:before {
    background: #333;
    content: '';
    width: calc(100% - 1.3em);
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
  }
  .service__item a:hover h3:before {
    transform-origin: left top;
    transform: scale(1, 1);
  }
  .service__item p {
    line-height: 2.125;
  }

}

