/*==================================================
    ページ共通
==================================================*/
.pageFeature {
  background-color: #efebe9;
}

/*==================================================
    【共通】グレー背景ボタン
==================================================*/
.buttonMore {
  .buttonMore__link {
    max-width: 27.2rem;
  }

  @media screen and (max-width: 767px) {
    .buttonMore__link {
      max-width: 25.2rem;
    }
  }
}

/*==================================================
    【共通】SP横スクロール（genredatail.css引用）
==================================================*/
.gridBox__slideWrap {
  margin-inline: auto;
  max-width: 1100px;
  padding-inline: 8.6rem;
  position: relative;
  width: 100%;
}

.gridBox__slide {
  margin-top: 2rem;
  overflow-x: hidden;
}

.gridBox__slideWrap .swiper-button-prev,
.gridBox__slideWrap .swiper-button-next {
  height: 5.3rem;
  top: 6rem;
  width: 5.3rem;
}

.gridBox__slideWrap .swiper-button-prev {
  left: 0;
}

.gridBox__slideWrap .swiper-button-next {
  right: 0;
}

.gridBox__slideWrap .swiper-button-prev:after {
  background-image: url(../img/feature/icon_arrow_slide_left.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  height: 5.3rem;
  width: 5.3rem;
}

.gridBox__slideWrap .swiper-button-next:after {
  background-image: url(../img/feature/icon_arrow_slide_right.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  height: 5.3rem;
  width: 5.3rem;
}

.gridBox__slide01-scrollbar,
.gridBox__slide02-scrollbar {
  display: none;
}

.swiper-scrollbar-drag {
  background: var(--color-orange);
}

@media (max-width: 767px) {
  .gridBox__slideWrap {
    padding-bottom: 12vw;
    padding-inline: 0;
    width: 100%;
    margin: 0 auto;
  }

  .gridBox__slide01-prev,
  .gridBox__slide01-next,
  .gridBox__slide02-prev,
  .gridBox__slide02-next {
    display: none;
  }

  .gridBox__slide01-scrollbar,
  .gridBox__slide02-scrollbar {
    display: block;
  }
}

/*==================================================
    パンくず
==================================================*/
.breadcrumb {
  padding: 2.8rem 0;
}

/*==================================================
    ページタイトル
==================================================*/
@media screen and (max-width: 767px) {
  .pageHead {
    padding: 17.8667vw 0 0 0;
  }
}

/*==================================================
    メインビジュアル
==================================================*/
.fv__image {
  display: block;
  margin-top: 5.4rem;
  @media screen and (max-width: 767px) {
    margin-top: 10.6vw;
  }
}

/*==================================================
    スクールの3つの特色
==================================================*/
#three-feature {
  margin-top: -10.1rem;
  position: relative;
  z-index: 2;

  .title {
    font-size: 3.3rem;
    color: #fff;
    background-color: #f06414;
    border-radius: 27px 27px 0 0;
    text-align: center;
    padding: 2.4rem;
  }

  .contents {
    background-color: #fff;
    border-radius: 0 0 27px 27px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pointContent {
    padding: 4.8rem;
  }

  .pointContent {
    &:where(:first-of-type) {
      grid-row: 1 / 2;
      grid-column: 1 / 2;
      border-right: 1px solid #eb610f;
    }
  }

  .pointContent {
    &:where(:nth-of-type(2)) {
      grid-row: 1 / 2;
      grid-column: 2 / 3;
    }
  }

  .pointContent {
    &:where(:nth-of-type(3)) {
      grid-column: 1 / 3;
      grid-row: 2 / 3;
      padding: 4.8rem 0;
    }
  }

  .pointContent {
    &:where(:nth-of-type(3)) {
      border-top: 1px solid #eb610f;
      margin: 0 4.8rem 4.8rem 4.8rem;
    }
  }

  .pointContent__point {
    font-size: 3.1rem;
    color: #f06414;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
  }

  .pointContent__title {
    font-size: 2.2rem;
    font-weight: 700;
  }

  .pointContent__text {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 1.2rem;
  }

  .img__pie-graph {
    margin-top: 5.2rem;
  }

  .pointContent__button {
    margin-top: 4.8rem;
    text-align: center;
  }

  .img__bar-graph {
    margin-top: 2.1rem;
  }

  .button-age__contents {
    margin-top: 2.7rem;
    gap: 0.8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button-age {
    filter: drop-shadow(0.2rem 0.3rem 0.7rem rgba(0, 0, 0, 0.2));
  }

  .img__male-female {
    margin-top: 5.1rem;
  }

  .pointContent.point3 {
    gap: 0.8rem;
    display: flex;
    align-items: center;
  }

  .point3__texts {
    flex: 1;
  }

  .point3__img {
    flex: 0 1 37%;
  }

  .point3 .pointContent__button .buttonMore__link {
    margin: 0 auto 0 0;
    text-align: left;
  }

  @media screen and (max-width: 767px) {
    margin-top: -16.4vw;

    .title {
      font-size: 5.8667vw;
      line-height: 1;
      padding: 5.33vw;
      border-radius: 1rem 1rem 0 0;
    }

    .contents {
      display: block;
    }

    .pointContent {
      grid-row: auto;
      grid-column: auto;
      padding-inline: 5.2vw;
    }

    .pointContent {
      &:where(:first-of-type) {
        border-bottom: 0.4vw solid var(--color-orange);
        border-right: none;
        padding-block: 5.2vw 11.467vw;
      }
    }

    .pointContent {
      &:where(:nth-of-type(2)) {
        padding-block: 9.333vw 17.067vw;
      }
    }

    .pointContent {
      &:where(:nth-of-type(3)) {
        margin: 0;
        padding-block: 9.333vw 9.867vw;
      }
    }

    .pointContent__point {
      font-size: 6.667vw;
    }

    .pointContent__title {
      font-size: 5.33vw;
    }

    .pointContent__text {
      font-size: 3.733vw;
      margin-top: 4.8vw;
    }

    .img__pie-graph {
      margin-top: 3.2vw;
    }

    .pointContent__button {
      margin-top: 7.2vw;
    }

    .point3 .pointContent__button {
      text-align: center;
    }

    .img__bar-graph {
      margin-top: 6.133vw;
    }

    .button-age__contents {
      margin-top: 5.6vw;
      column-gap: 1.067vw;
    }

    .pointContent.point3 {
      display: block;
    }

    .img__male-female {
      margin-top: 11.067vw;
    }

    .pointContent.point3 {
      gap: 0.8rem;
    }

    .point3 .pointContent__button .buttonMore__link {
      margin: 0 auto;
    }
  }
}

/*==================================================
    ETCならではの魅力
==================================================*/
#charm {
  padding: 15.1rem 0 17.4rem 0;

  .inner {
    width: 1100px;
  }

  .charm__slide01 {
    padding-top: 1rem;
  }

  .charm__titles {
    text-align: center;
    position: relative;
    max-width: 64.5rem;
    margin: 0 auto;
  }

  .charm__titles::before {
    content: '';
    background: url(../img/feature/icon_title_frame.png) no-repeat center center / contain;
    width: 5.6rem;
    height: 5.6rem;
    position: absolute;
    left: 0%;
    top: 0%;
    transform: scale(-1, 1) translateY(-50%);
  }

  .charm__titles::after {
    right: 0%;
    top: 0%;
    transform: translateY(-50%);
    width: 5.6rem;
    height: 5.6rem;
    content: '';
    background: url(../img/feature/icon_title_frame.png) no-repeat center center / contain;
    position: absolute;
  }

  .charm__title {
    position: relative;
    width: 50.3rem;
    margin: 0 auto;
    font-size: 3.3rem;
    font-weight: 700;
    border-bottom: 1px solid #676666;
  }

  .charm__title span {
    color: #eb610f;
  }

  .charm__title::after {
    right: -8px;
    transform: translate(-100%, -50%);
    width: 5.5rem;
    height: 7rem;
    content: '';
    background: url(../img/feature/icon_title_light.png) no-repeat center center / contain;
    position: absolute;
    top: 0;
  }

  .charm__subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 0.8rem;
  }

  .charmHead__contents {
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  .charmHead__content {
    flex: 1;
  }

  .charmHead__title {
    font-size: 2.2rem;
    color: #eb610f;
    font-weight: 700;
    margin: 3rem 0 1rem;
  }

  .charmHead__text {
    font-size: 1.8rem;
    font-weight: 400;
  }

  .charmHead__img {
    flex: 1;
  }

  .gridBox__slideWrap {
    padding-inline: 0;
    max-width: 95%;
  }

  .swiper-slide {
    height: auto;
  }

  .scrollCard {
    padding: 11.5rem 2.8rem 2.8rem 2.8rem;
    background-color: #fff;
    border-radius: 18px;
    text-align: center;
    position: relative;
    height: 100%;
  }

  .scrollCard__age {
    font-size: 2.2rem;
    width: 13.06rem;
    height: 9.229rem;
    top: -1rem;
    background-color: #ec9f01;
    color: #fff;
    border-radius: 12px;
    margin: 0 auto;
    display: inline-grid;
    place-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .scrollCard__title {
    font-size: 2.4rem;
    color: #ec9f01;
    font-weight: 700;
  }

  .scrollCard__text {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 2.4rem;
    text-align: left;
  }

  .scrollCard__text-s {
    font-size: 1.6rem;
    text-align: left;
  }

  .scrollCard__img {
    margin-top: 1.6rem;
  }

  .scrollCard__age.green-bg {
    background-color: #268360;
  }

  .scrollCard__title.green-text {
    color: #268360;
  }

  .scrollCard__age.blue-bg {
    background-color: #004fa8;
  }

  .scrollCard__title.blue-text {
    color: #004fa8;
  }

  @media screen and (max-width: 767px) {
    padding: 16.3158vw 5vw 21.067vw;

    .charmHead__contents {
      display: block;
    }

    .charm__title {
      font-size: 5.33vw;
      width: 100%;
    }

    /* frame枠 */
    .charm__titles::before {
      left: -4vw;
      /* transform: translateY(-50%); */
      width: 9.0667vw;
      height: 9.0667vw;
    }

    .charm__titles::after {
      right: -4vw;
      transform: translateY(-50%);
      width: 9.0667vw;
      height: 9.0667vw;
    }

    /* icon-light */
    .charm__title::after {
      right: 4.867vw;
      top: 0%;
      transform: translateY(-50%);
      width: 11.2vw;
      height: 10vw;
    }

    .charm__subtitle {
      font-size: 4vw;
    }

    .charm__slide01 {
      /* display: flex;
      overflow: scroll; */
      /* grid-template-columns: repeat(auto-fit, minmax(351px, 1fr)); */
      /* grid-template-columns: 1fr 1fr 1fr;
      gap: 2.2rem;
      margin-top: 8rem;
      width: 100%;
       */
      padding-top: 1.33vw;
    }

    .scrollCard {
      padding: 22.933vw 5.33vw 5.33vw 5.33vw;
    }

    .scrollCard__age {
      font-size: 4.267vw;
      width: 28vw;
      height: 20vw;
      top: -1.33vw;
    }

    .scrollCard__title {
      font-size: 4.267vw;
    }

    .scrollCard__text {
      font-size: 3.733vw;
      margin-top: 3.2vw;
    }

    .scrollCard__text-s {
      font-size: 3.2vw;
    }

    .charmHead__title {
      font-size: 4.533vw;
      margin: 7.2vw 0 2vw;
    }

    .charmHead__text {
      font-size: 3.733vw;
    }

    .charmHead__img {
      margin-top: 7.2vw;
      display: block;
    }
  }
}

/*==================================================
    first step into Entertainment
==================================================*/
#first {
  background-color: #fff;
  padding-bottom: 20rem;

  /* #first bg */
  .first__bg-img {
    position: relative;
  }

  .first__head {
    width: 100%;
    position: absolute;
    bottom: 3.33vw;
    left: 0;
    text-align: center;
  }

  .first__title {
    font-size: 4.722vw;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.14;
    margin-bottom: 1.667vw;
  }

  .first__head p {
    text-align: center;
    color: #fff;
    font-size: 1.25vw;
  }

  .first__head p > .text-orange {
    font-size: 2.4rem;
    color: var(--color-orange);
  }

  .first__inner {
    width: 1100px;
    padding-top: 7.2rem;
  }

  /* #first grid contents */
  .first__contents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4.5rem;
    row-gap: 4rem;
  }

  .firstCard {
    border: 1px solid #c9c8c7;
    background-color: #fff;
    border-radius: 2.4rem;
    overflow: hidden;
  }

  .firstCard__texts {
    padding: 3rem 2.6rem;
  }

  .firstCard__title {
    font-size: 2.4rem;
    color: var(--color-orange);
    font-weight: 700;
  }

  .firstCard__text {
    margin-top: 0.8rem;
    font-size: 1.8rem;
  }

  .firstCard__button {
    margin-top: 2.4rem;
    text-align: right;
  }

  @media (max-width: 767px) {
    padding-bottom: 23.2vw;

    .first__contents {
      grid-template-columns: 1fr;
    }

    .first__inner {
      padding-top: 8.533vw;
    }

    .first__head p > .text-orange {
      font-size: 5.12vw;
    }

    .firstCard {
      border-radius: 3vw;
    }

    .firstCard__title {
      font-size: 4.533vw;
    }

    .firstCard__texts {
      padding: 5.33vw 3.733vw;
    }

    .firstCard__text {
      font-size: 3.733vw;
    }

    .firstCard__button {
      margin-top: 4.267vw;
    }
  }

  /* #first bottom */
  .first__bottom {
    margin-top: 8.5rem;
    display: flex;
    align-items: center;
    gap: 4.364%;
  }

  .bottom__texts {
    flex: 1;
  }

  .bottom__title {
    font-size: 2.4rem;
    color: var(--color-orange);
    font-weight: 700;
  }

  .bottom__text {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 2.4rem;
  }

  .bottom__img {
    flex: 0 1 45.455%;
  }

  @media (max-width: 767px) {
    .first__title {
      font-size: 9.067vw;
    }

    .first__head {
      bottom: 7.2vw;
    }

    .first__head p {
      font-size: 4.2vw;
    }

    .first__head p:first-of-type {
      margin-top: 7.2vw;
    }

    .first__head p.text-orange {
      font-size: 5.12vw;
    }

    /* bottom */
    .bottom__content {
      display: grid;
    }

    .first__bottom {
      display: block;
      margin-top: 10.67vw;
    }

    .bottom__title {
      font-size: 5.33vw;
      line-height: 1.4;
    }

    .bottom__text {
      font-size: 3.733vw;
      margin-top: 1.1em;
      line-height: 1.74;
    }

    .bottom__img {
      margin-top: 6.4vw;
    }
  }
}

/*==================================================
    Photo Garally
==================================================*/
.photo {
  position: relative;

  .photo__button {
    padding: 4.8rem 5.2rem;
    box-shadow: 11px 11px 8px rgba(0 0 0 / 0.72);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 30px;
    transition: 0.3s;
  }

  .photo__button:hover,
  .photo__button:focus {
    background: var(--color-orange);
    color: #fff;
    opacity: 1;
  }

  .photo__button p:first-of-type {
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-align: center;
    line-height: 1;
  }

  .photo__button p:nth-of-type(2) {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-align: right;
    margin-top: 2.6rem;
    margin-right: 5.6rem;
  }

  .arrow--black {
    position: relative;
  }

  .arrow--black::after {
    position: absolute;
    content: '';
    background-image: url(../img/feature/icon_arrow_black.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 3.447rem;
    height: 2.641rem;
    right: -5.5rem;
    bottom: 0.5rem;
  }

  .photo__button:hover .arrow--black::after {
    background-image: url(../img/feature/icon_arrow_black_hover.png);
  }

  @media (max-width: 767px) {
    .photo__button {
      padding: 6.4vw;
      box-shadow: 11px 11px 8px rgba(0 0 0 / 0.72);
      border-radius: 5vw;
    }

    .photo__button p:first-of-type {
      font-size: 5.33vw;
      white-space: nowrap;
    }

    .photo__button p:nth-of-type(2) {
      font-size: 4vw;
      margin-top: 14px;
      margin-right: 8vw;
    }

    .arrow--black::after {
      width: 4.596vw;
      height: 3.52133vw;
      right: -8vw;
      bottom: 0.5vw;
    }
  }
}

/*==================================================
    インタビュー
==================================================*/
#interview {
  padding: 12rem 0;

  .interview__inner {
    width: 1100px;
    display: flex;
    gap: 3.6364%;
  }

  .interview__titles {
    padding-right: 6.4rem;
    display: flex;
    border-right: 1px solid #000;
  }

  .interview__title {
    font-size: 11.214rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    writing-mode: vertical-rl;
    line-height: 1;
  }

  .interview__subtitle {
    font-size: 2rem;
    writing-mode: vertical-rl;
    color: #000;
  }

  .interview__lists {
    flex: 1;
  }

  .interviewList {
    padding: 2.1rem 4.8rem 2.1rem 2.1rem;
    display: flex;
    align-items: center;
    gap: 5.492%;
    border-bottom: 1px solid #c9c8c7;
    position: relative;
  }

  .interviewList::after {
    width: 3.447rem;
    height: 2.641rem;
    content: '';
    background: url(../img/feature/icon_arrow_orange.png) no-repeat center center / contain;
    position: absolute;
    right: 1.5%;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s;
  }

  .interviewList:hover,
  .interviewList:focus {
    opacity: 1;
  }

  .interviewList:hover::after,
  .interviewList:focus::after {
    right: 0;
  }

  .interviewList__img {
    width: fit-content;
    border-radius: 30px;
    overflow: hidden;
    flex: 0 1 250px;
  }

  .interviewList__texts {
    flex: 1;
  }

  .interviewList__title {
    font-size: 2.4rem;
    font-weight: 600;
  }

  .interviewList__name {
    font-size: 1.8rem;
    margin-top: 2rem;
  }

  .swiper-wrapper {
    display: block;
  }

  @media (max-width: 767px) {
    padding: 22.4vw 0;

    .interviewList {
      display: block;
    }

    .interview__titles {
      padding-right: 0;
      /* 仮 */
    }

    .interview__title {
      font-size: 14.952vw;
    }

    .interview__subtitle {
      font-size: 3.2vw;
    }

    .interviewList {
      padding: 2.133vw 0;
      /* 仮 */
    }

    .interviewList::after {
      width: 4.596vw;
      height: 3.52133vw;
      display: inline-block;
      /* position: relative; */
      top: auto;
      /* left: auto; */
      transform: none;
      bottom: 2.133vw;
    }

    .interviewList__title {
      font-size: 4.533vw;
      font-weight: 600;
      margin-top: 8.533vw;
    }

    .interviewList__name {
      font-size: 3.2vw;
      margin-top: 2.133vw;
    }

    .swiper-wrapper {
      display: flex;
    }
  }
}

/*==================================================
    swiper調整
==================================================*/
#interview {
  .interview__swiper {
    height: 100%;
    padding-bottom: 3rem;
  }

  .swiper-slide {
    width: 100%;
    height: 100%;
  }

  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none;
  }

  @media (max-width: 767px) {
    .interview__swiper {
      width: 70%;
      padding-bottom: 14vw;
    }

    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
      display: inline-block;
    }

    /* swiper ページネーション調整 */
    .swiper-pagination__wrap {
      position: absolute;
      bottom: 0;
      display: flex;
      align-items: center;
      right: 0;
      column-gap: 10vw;
    }

    .swiper-pagination {
      position: relative;
    }

    .swiper-button-prev {
      position: relative;
    }

    .swiper-button-next {
      position: relative;
    }
    .swiper-pagination-bullet {
      color: #000;
      opacity: 1;
      font-size: 3.467vw;
      width: fit-content;
    }
    .swiper-pagination-bullet.current {
      color: var(--color-orange);
    }

    .swiper-pagination-bullet {
      background-color: inherit;
      margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 1.33vw);
      position: static;
    }
    .swiper-pagination {
      width: fit-content;
      position: relative;
    }

    .swiper-button-next,
    .swiper-button-prev {
      top: auto;
      bottom: 0.5vw;
      color: var(--color-orange);
      --swiper-navigation-size: 5.467vw;
    }

    .swiper-button-prev,
    .swiper-rtl .swiper-button-next {
      left: 4vw;
    }
  }
}
