/* ------------------

 メインビジュアル

 ------------------ */
#mv {
  position: relative;
}

.mv-text {
  position: absolute;
  left: 9.6rem;
  bottom: 9.6rem;
  z-index: 3;
  color: var(--gray-light);
}

.mv-text__title {
  font-size: 8rem;
  font-family: "Toppan BunkyuMinchoPr6N", serif;
  font-weight: 300;
  letter-spacing: 0.15em;

  .big {
    font-size: 9.6rem;
  }

  .small {
    font-size: 5.6rem;
  }
}

.mv-text__description {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 0;
  letter-spacing: 0.15em;
}

.mv-text__en {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 1.8rem;
  font-family: "berthold-baskerville-pro", serif;

  &::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: var(--gray-light);
  }

  span {
    display: inline-block;
    min-width: fit-content;
  }
}

.mv-slider {
  margin: 0 2.4rem;
  border-radius: 0 4rem 4rem 4rem;
  overflow: hidden;
}

.mv-slider__list {
  position: relative;
  height: calc(100vh - 10rem);
  min-height: 48rem;
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    display: inline-block;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      241deg,
      rgba(28, 62, 97, 0) 32.26%,
      rgba(28, 62, 97, 0.5) 66.13%,
      #1c3e61 100%
    );
    z-index: 2;
  }
}

.mv-slider__item {
  height: 100%;

  &.swiper-slide-active img,
  &.swiper-slide-duplicate-active img,
  &.swiper-slide-prev img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    animation: MVzoomIn 6s linear 0s normal both;
  }
}

@keyframes MVzoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.mv-search {
  position: relative;
  z-index: 2;
  margin-top: -6.4rem;
  margin-bottom: 12rem;
}

.mv-search__title {
  position: relative;
  color: var(--white);
  display: flex;
  gap: 1.6rem;
  min-width: fit-content;

  &::before {
    content: "";
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    mask-position: center center;
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-image: url(../img/icon-search.svg);
    background-color: var(--white);
  }
}

.mv-search__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  max-width: 120rem;
  margin: 0 auto;
  background-color: var(--main-blue);
  border-radius: 1.6rem;
  padding: 2.4rem 1.6rem;
}

.mv-search__form {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-left: 2.4rem;
  border-left: solid 1px var(--white);
}

.mv-search__form__list {
  display: flex;
  gap: 2.4rem;
  font-size: 1.4rem;
  color: var(--white);
}

.mv-search__form__item {
  dt {
    margin-bottom: 0.4rem;
    label {
      font-size: 1.4rem;
      padding-right: 2.4rem;
    }
  }

  dd {
    position: relative;

    &::before {
      content: "";
      position: absolute;
      top: 50%;
      right: 1.6rem;
      transform: translateY(-50%) rotate(45deg);
      display: inline-block;
      width: 0.8rem;
      height: 0.8rem;
      border-bottom: solid 0.2rem var(--main-blue);
      border-right: solid 0.2rem var(--main-blue);
    }

    input,
    select {
      display: inline-block;
      width: 100%;
      height: 5.6rem;
      border-radius: 0.8rem;
      padding: 0.8rem 1.6rem;
      padding-right: 3.2rem;
      color: var(--main-black);
      border: solid 1px var(--gray-normal);
    }
  }
}

.mv-search__form__btn {
  input {
    width: 10rem;
    height: 6rem;
    background-color: var(--accent-orange);
    color: var(--white);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    cursor: pointer;
    font-family: hiragino-kaku-gothic-pron, sans-serif;
  }
}

@media screen and (max-width: 1024px) {
  .mv-text__title {
    font-size: 5.6rem;

    .big {
      font-size: 7.2rem;
    }

    .small {
      font-size: 4rem;
    }
  }
}

@media screen and (max-width: 768px) {
  .mv-text {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    bottom: 1.6rem;
    padding: 0.8rem;
  }

  .mv-slider {
    margin: 0;
    border-radius: 0 4rem 0 0;
  }

  .mv-slider__list {
    height: calc(100vh - 18rem);
    &::before {
      content: "";
      background: linear-gradient(
        182deg,
        rgba(28, 62, 97, 0) 2.11%,
        rgba(28, 62, 97, 0) 50.01%,
        #1c3e61 97.91%
      );
    }
  }

  .mv-search {
    margin-top: 0;
  }

  .mv-search__title {
    padding-right: 4rem;
    span {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 0;
      display: inline-block;
      width: 2.4rem;
      height: 2.4rem;

      &::before,
      &::after {
        content: "";
        display: inline-block;
        position: absolute;
        top: 50%;
        width: 1.6rem;
        height: 1px;
        background-color: var(--white);
        transition: 0.4s linear;
      }
      &::before {
        transform: translateY(-50%);
      }

      &::after {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    &.is-active span {
      &::before {
        opacity: 0;
      }

      &::after {
        transform: translateY(-50%) rotate(0);
      }
    }
  }

  .mv-search__inner {
    display: block;
    border-radius: 0;
  }

  .mv-search__form {
    flex-direction: column;
    padding: 0 2.4rem;
    border-left: none;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: 0.4s linear;

    &.is-active {
      opacity: 1;
      max-height: 100vh;
    }
  }

  .mv-search__form__list {
    flex-direction: column;
    width: 100%;
    padding-top: 2.4rem;
  }

  .mv-search__form__btn {
    width: 100%;
    margin-bottom: 2.4rem;
    input {
      width: 100%;
    }
  }
}

/* ------------------

 風のクルーズについて

 ------------------ */
#about {
  margin-bottom: 12rem;
}

.about__wrap {
}

.about__inner {
  display: flex;

  .main-heading {
    width: fit-content;
    margin-left: auto;
    margin-right: -2.4rem;
  }
}

.about-left__content,
.about-right__content {
  position: relative;
  width: 50%;
}

.about-left__content {
  &::before {
    content: "";
    position: absolute;
    top: 6rem;
    left: 0;
    display: inline-block;
    border-radius: 0 1.6rem 1.6rem 0;
    width: 105%;
    aspect-ratio: 7.2 / 3;
    background-image: url("../img/bg-noise__blue.png");
    z-index: -1;
  }
}

.about-left__img01 {
  margin-top: 6rem;
  margin-left: 20rem;
  margin-bottom: 4rem;
  width: 40rem;
  aspect-ratio: 400 / 286;
  border-radius: 0.8rem;
  overflow: hidden;

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.about-left__img02 {
  margin-left: 2.4rem;
  width: 28rem;
  aspect-ratio: 280 / 175;
  border-radius: 0.8rem;
  overflow: hidden;

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.about-right__content {
  padding-top: 16rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8rem;
}

.about-right__description {
  max-width: 40rem;
  font-size: 1.8rem;
  line-height: 2.8;

  > p {
    margin-bottom: 4rem;
  }
}

.about-right__img03 {
  margin-top: 16rem;
  width: 26rem;
  aspect-ratio: 313 / 500;
  border-radius: 0.8rem 0 0 0.8rem;
  overflow: hidden;

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .about__inner {
    flex-direction: column;

    .main-heading {
      order: 3;
      margin-right: 0;
      margin-left: 2.4rem;
    }
  }

  .about-left__content,
  .about-right__content {
    width: 100%;
  }

  .about-left__content {
    display: flex;
    flex-direction: column;
    &::before {
      top: 0;
      width: calc(100% - 2.4rem);
      aspect-ratio: 7.2 / 3;
    }
  }

  .about-left__img01 {
    order: 1;
  }

  .about-left__img02 {
    order: 2;
    margin-bottom: 8rem;
  }

  .about-right__content {
    justify-content: center;
    gap: 4rem;
    padding: 0 2.4rem;

    .main-btn {
      margin: 0 auto;
    }
  }

  .about-right__img03 {
    width: 40rem;
    margin-right: -2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .about-left__img01 {
    width: 30rem;
    order: 1;
    margin-left: 2.4rem;
  }

  .about-left__img02 {
    width: 19rem;
    margin-left: auto;
    border-radius: 0.8rem 0 0 0.8rem;
  }

  .about-right__content {
    flex-direction: column;
    gap: 4rem;
    padding: 0 2.4rem;
  }

  .about-right__description {
    font-size: 1.6rem;
  }

  .about-right__img03 {
    width: 20rem;
    margin: 0 auto;
    border-radius: 0.8rem;
  }
}

/* ------------------

 お知らせ

 ------------------ */
#news {
  margin-bottom: 12rem;
}

.news__wrap {
  padding: 0 12rem;
}

.news__inner {
  display: flex;
  gap: 16rem;

  .main-heading {
    margin-bottom: 12rem;
  }
}

.news-left__content {
  width: 20rem;
}

.news-right__content {
  width: calc(100% - 20rem - 16rem);
}

.news__list {
  > li {
    border-bottom: solid 1px var(--gray-normal);

    &:last-of-type {
      border-bottom: transparent;
    }

    a {
      display: flex;
      align-items: center;
      gap: 4rem;
      padding: 2.4rem 0;
      color: var(--main-black);

      figure {
        min-width: 15rem;
        max-width: 15rem;
        aspect-ratio: 1 / 1;
        border-radius: 0.8rem;
        overflow: hidden;
        border: solid 0.4rem transparent;
        transition: 0.4s;

        img {
          object-fit: cover;
          width: 100%;
          height: 100%;
          transition: 0.4s;
        }
      }

      time {
        display: inline-block;
        color: var(--sub-blue);
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
      }

      h3 {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.4;
        transition: 0.4s;
        font-family: hiragino-kaku-gothic-pron, sans-serif;
      }
    }
  }
}

@media (any-hover: hover) {
  .news__list {
    > li {
      a:hover {
        figure {
          border: solid 0.4rem var(--sub-blue);

          img {
            transform: scale(1.1);
          }
        }

        h3 {
          opacity: 0.4;
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .news__wrap {
    padding: 0 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .news__inner {
    flex-direction: column;
    gap: 4rem;

    .main-heading {
      margin-bottom: 0;
    }

    .main-btn {
      order: 3;
      margin: 0 auto;
    }
  }

  .news-left__content {
    display: contents;
    width: 100%;
  }

  .news-right__content {
    width: 100%;
  }

  .news__list {
    > li {
      a {
        gap: 2.4rem;
        figure {
          min-width: 10rem;
          max-width: 10rem;
        }
      }
    }
  }
}

.bg-noise__blue__area {
  position: relative;
  padding-top: 8rem;
  background-image: url(../img/bg-noise__blue.png);
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    aspect-ratio: 1440 / 80;
    background-image: url(../img/bg-wave__wh01.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}

/* ------------------

 おすすめポイント

 ------------------ */
#recommend {
  overflow-x: clip;
}

.recommend-loop-text__list {
  display: flex;
  padding: 8rem 0;
  overflow: hidden;

  > li {
    width: 100vw;

    &:first-of-type {
      animation: loop 80s -40s linear infinite;
    }

    &:nth-of-type(2) {
      animation: loop2 80s linear infinite;
    }

    figure {
      padding: 0 4rem;
      width: 100vw;

      img {
        width: 100%;
      }
    }
  }
}

.recommend__wrap {
  padding: 0 12rem;
}

.recommend-tab {
}

.recommend-tab__inner {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

.recommend-tab__btn__list {
  display: flex;
}

.recommend-tab__btn__item {
  width: calc(100% / 3);
  padding: 1.6rem;
  cursor: pointer;
  background-color: var(--main-blue);
  color: var(--white);
  text-align: center;
  transition: 0.4s ease-in;

  &.is-active {
    background-color: var(--white);
    color: var(--main-blue);
  }

  &:first-of-type,
  &:nth-of-type(2) {
    border-right: solid 1px var(--gray-light);
  }

  span {
    font-size: 1.8rem;
    font-weight: 700;
  }

  p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
  }
}

.recommend-tab__panel__list {
  background-color: var(--white);
  height: calc(100vh - 10rem);
  min-height: 60rem;
}

.recommend-tab__panel__item {
  display: none;
  animation: TabfadeIn 0.4s ease-in;
  height: 100%;

  &.is-active {
    display: flex;
    align-items: center;
  }

  > figure {
    width: 50%;
    height: 100%;

    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }

  > div {
    width: 50%;
    padding: 8rem;

    .recommend-tab__number {
      display: flex;
      align-items: center;
      gap: 1.6rem;
      color: var(--sub-blue);
      margin-bottom: 0.8rem;
      font-size: 1.4rem;
      font-weight: 600;

      &::before {
        content: "";
        display: inline-block;
        width: 1.6rem;
        height: 1px;
        background-color: var(--sub-blue);
      }
    }

    h3 {
      font-family: "Toppan BunkyuMinchoPr6N", serif;
      margin-bottom: 2.4rem;
    }
  }
}

@keyframes TabfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 1024px) {
  .recommend__wrap {
    padding: 0 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .recommend-loop-text__list {
    > li {
      width: 250vw;

      figure {
        width: 250vw;
      }
    }
  }

  .recommend-tab__btn__list {
    display: block;
  }

  .recommend-tab__btn__item {
    width: 100%;

    &:first-of-type,
    &:nth-of-type(2) {
      border-right: none;
      border-bottom: solid 1px var(--gray-light);
    }
  }

  .recommend-tab__panel__list {
    height: 100%;
    min-height: auto;
  }

  .recommend-tab__panel__item {
    &.is-active {
      flex-direction: column;
    }

    > figure {
      aspect-ratio: 1.6 / 1;
      width: 100%;
    }

    > div {
      width: 100%;
      padding: 4rem 2.4rem;

      .recommend-tab__number {
        display: flex;
        align-items: center;
        gap: 1.6rem;
        color: var(--sub-blue);
        margin-bottom: 0.8rem;
        font-size: 1.4rem;
        font-weight: 600;

        &::before {
          content: "";
          display: inline-block;
          width: 1.6rem;
          height: 1px;
          background-color: var(--sub-blue);
        }
      }

      h3 {
        font-family: "Toppan BunkyuMinchoPr6N", serif;
      }
    }
  }
}

/* ------------------

 おすすめクルーズ

 ------------------ */

.cruise__wrap {
  padding: 12rem;
}

.recommend-cruise-slider {
  margin: 0 calc(50% - 50vw);
  padding-left: 12rem;
  padding-bottom: 8rem;
}

.recommend-cruise-slider .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2.4rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: solid 1px var(--main-blue);
  box-shadow: 0.2rem 0.4rem 1.6rem rgba(0, 0, 0, 0.18);
  transition: 0.4s;
  background-color: var(--main-blue);
  z-index: 99;

  &::after {
    font-size: 1.6rem;
    color: var(--white);
  }
}

.recommend-cruise-slider .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2.4rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: solid 1px var(--main-blue);
  transition: 0.4s;
  background-color: var(--main-blue);
  z-index: 99;
  &::after {
    font-size: 1.6rem;
    color: var(--white);
  }
}

.recommend-cruise__list > li {
  background-color: var(--white);
  border-radius: 1.4rem;
  overflow: hidden;
}

.recommend-cruise__list > li a {
  color: var(--main-black);
  transition: 0.4s;
}

.recommend-cruise__item__img {
  aspect-ratio: 1.6 / 1;
  overflow: hidden;

  > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 0.4s;
  }
}

.recommend-cruise__item__content {
  padding: 2.4rem;
}

.recommend-cruise__item__ship {
  display: flex;
  align-items: center;
  column-gap: 0.8rem;
  margin-bottom: 0.8rem;

  &::before {
    content: "";
    display: inline-block;
    width: 0.6rem;
    aspect-ratio: 1 / 1;
    background-color: var(--main-blue);
    border-radius: 50%;
  }
}

.recommend-cruise__item__title {
  font-size: 1.8rem;
  color: var(--main-blue);
}

.recommend-cruise__item__date {
  font-size: 1.4rem;
  padding-bottom: 2.4rem;
  border-bottom: solid 1px var(--gray-normal);
}

.recommend-cruise__item__description {
  font-size: 1.4rem;
}

@media (any-hover: hover) {
  .recommend-cruise-slider .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.6;
  }

  .recommend-cruise-slider .swiper-button-next:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.6;
  }

  .recommend-cruise__list > li a:hover {
    opacity: 0.6;
    .recommend-cruise__item__img {
      > img {
        transform: scale(1.1);
      }
    }
    .recommend-cruise__item__title {
      text-decoration: underline;
    }
  }
}

@media screen and (max-width: 768px) {
  .cruise__wrap {
    padding: 12rem 2.4rem;
  }

  .recommend-cruise-slider {
    padding-left: 0;
  }

  .recommend-cruise-slider .swiper-button-prev {
    top: calc(100% - 4rem);
  }

  .recommend-cruise-slider .swiper-button-next {
    top: calc(100% - 4rem);
  }
}

/* ------------------

 パララックス画像

 ------------------ */
.parallax {
  height: 250vh;
}

.parallax__content {
  position: relative;
  height: 350vh;
  overflow-x: clip;
}

.parallax__img {
  position: sticky;
  top: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  transform: scale(0.6);
  border-radius: 80rem;
  overflow: hidden;

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

/* ------------------

 クルーズの種類

 ------------------ */
#type {
  position: relative;
  background-image: url(../img/bg-noise__blue.png);
  border-radius: 4rem 4rem 0 0;
}

.type__wrap {
  padding: 12rem;
}

.type__list {
  margin-top: 4rem;

  > li {
    position: relative;
    z-index: 2;
    border-top: solid 1px var(--gray-normal);

    > a {
      display: flex;
      align-items: center;
      gap: 2.4rem 8rem;
      padding: 6.4rem 14rem 6.4rem 4rem;
      color: var(--main-black);
      transition: 0.4s ease;

      &::before {
        content: "";
        display: inline-block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
        height: 100%;
        opacity: 0;
        background-color: var(--sub-blue);
        z-index: -2;
        transition: 0.6s ease;
      }

      &.active-category {
        padding: 6.4rem 14rem 9.6rem 4rem;
      }

      h3 {
        font-size: 2.1rem;
        width: 30rem;
        margin-bottom: 0;
      }

      .type__item__discription {
        width: calc(100% - 38rem);
      }

      .type__item__arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 4rem;
        display: block;
        width: 6.4rem;
        height: 6.4rem;
        border: solid 1px var(--main-blue);
        border-radius: 50%;
        transition: 0.6s ease;

        &::before {
          content: "";
          display: inline-block;
          position: absolute;
          top: 50%;
          left: calc(50% - 0.2rem);
          transform: translate(-50%, -50%) rotate(45deg);
          width: 1.2rem;
          height: 1.2rem;
          border-top: solid 1px var(--main-blue);
          border-right: solid 1px var(--main-blue);
          transition: 0.6s ease;
        }
      }

      .type-loop-text__list {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: flex;
        overflow: hidden;
        z-index: -2;
        opacity: 0;
        width: 100vw;

        > li {
          width: 100vw;

          &:first-of-type {
            animation: loop 80s -40s linear infinite;
          }

          &:nth-of-type(2) {
            animation: loop2 80s linear infinite;
          }

          figure {
            padding: 0 4rem;
            width: 100vw;

            img {
              width: 100%;
            }
          }
        }
      }
    }
  }
}

.type__item__hover-image {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(2.5deg);
  transition: opacity 0.4s ease, width 0.4s ease;
  overflow: hidden;
  width: 0;
  aspect-ratio: 1 / 1;
  z-index: -1;
  border-radius: 50%;
  /* mix-blend-mode: screen; */
  border: solid 0.2rem var(--white);
}

.type__item__hover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type__category__list {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin-bottom: 4rem;

  > li a {
    padding: 0.8rem 2.4rem;
    display: inline-block;
    color: var(--white);
    background-color: var(--main-blue);
    border-radius: 4rem;
    font-size: 1.4rem;
    border: solid 1px var(--main-blue);
    transition: 0.6s ease;
  }
}

@media (any-hover: hover) {
  .type__list {
    > li {
      > a:hover {
        color: var(--white);

        &::before {
          opacity: 1;
        }

        .type__item__hover-image {
          width: 34rem;
        }

        .type__item__arrow {
          border: solid 1px var(--white);

          &::before {
            border-top: solid 1px var(--white);
            border-right: solid 1px var(--white);
          }
        }

        .type-loop-text__list {
          opacity: 0.1;
        }
        
      }
    }
  }
  .type__category__list {
    > li a:hover {
      color: var(--main-blue);
      background-color: var(--white);
    }
  }
}

@media screen and (max-width: 1024px) {
  .type__wrap {
    padding: 12rem 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .type__list {
    > li {
      > a {
        display: block;
        padding: 8rem 0;

        &.active-category {
          padding: 8rem 0;
        }

        h3 {
          width: 100%;
          margin-bottom: 2.4rem;
        }

        .type__item__discription {
          width: 100%;
        }

        .type__item__arrow {
          position: static;
          transform: translateY(0);
          margin: 0 auto;
        }
      }
    }
  }

  .type__item__hover-image {
    display: none;
  }

  .type__category__list {
    position: static;
    transform: translateX(0);
  }
}

/* ------------------

 クルーズ船のクラスとサービス

 ------------------ */
#class {
  background-color: var(--white);
  border-radius: 4rem 4rem 0 0;
}

.class__wrap {
  padding: 12rem 12rem 0;
  margin-bottom: 12rem;
}

.class__list {
  margin-top: 4rem;
  display: flex;
  gap: 1.6rem;
  margin-left: -9.6rem;
  margin-right: -9.6rem;

  > li {
    display: flex;
    flex-direction: column;
    width: calc(100% / 3);

    figure {
      aspect-ratio: 1.6 / 1;
      margin-bottom: 1.6rem;
      border-radius: 1.6rem;
      overflow: hidden;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
      }
    }

    &:last-of-type {
      .class__text {
        &::before {
          display: none;
        }
      }
    }
  }
}

.class__text {
  position: relative;
  padding: 0 4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    right: -0.8rem;
    display: inline-block;
    height: 100%;
    width: 1px;
    background-color: var(--gray-normal);
  }

  .class__text__title {
    position: relative;
    padding-top: 4rem;

    span {
      position: absolute;
      top: 0;
      width: 100%;
      font-family: berthold-baskerville-pro, serif;
      font-size: 6.4rem;
      color: var(--gray-light);
      text-align: center;
      line-height: 1;
    }

    h3 {
      position: relative;
      font-size: 2.1rem;
      color: var(--main-blue);
      text-align: center;
      font-family: hiragino-kaku-gothic-pron, sans-serif;
      font-weight: 600;
    }
  }

  .class__text__def {
    font-size: 1.4rem;
    margin-top: auto;

    > div {
      display: flex;
      gap: 1.6rem;
      padding: 1.6rem 0;
      border-top: solid 1px var(--gray-light);

      &:last-of-type {
        padding-bottom: 0;
      }

      dt {
        width: 10rem;
        font-weight: 600;
        color: var(--sub-blue);
      }

      dd {
        flex: 1;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .class__wrap {
    padding: 12rem 2.4rem 0;
  }
  .class__list {
    flex-direction: column;
    gap: 5.6rem;
    margin-left: auto;
    margin-right: auto;

    > li {
      width: 100%;
    }
  }
  .class__text {
    padding: 0;
    padding-bottom: 5.6rem;

    &::before {
      top: 100%;
      right: 0;
      height: 1px;
      width: 100%;
    }
  }
}

/* ------------------

 リンクボタン

 ------------------ */
.page-link__wrap {
  padding: 0 12rem;
}

.page-link__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;

  > li.introduction {
    position: relative;
    width: 100%;
    border-radius: 2.4rem;
    overflow: hidden;

    a {
      display: block;
      height: 34rem;
      color: #fff;

      &::before {
        content: "";
        display: inline-block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 1.6rem);
        height: calc(100% - 1.6rem);
        border: solid 1px var(--white);
        border-radius: 1.6rem;
        z-index: 2;
      }

      &::after {
        content: "";
        display: inline-block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-color: var(--main-black);
        opacity: 0.48;
        transition: 0.4s;
      }
    }
  }

  > li.departure,
  > li.faq {
    position: relative;
    width: calc(100% / 2 - (2.4rem / 2));
    border-radius: 2.4rem;
    overflow: hidden;

    a {
      display: block;
      height: 30rem;
      color: #fff;

      &::before {
        content: "";
        display: inline-block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 1.6rem);
        height: calc(100% - 1.6rem);
        border: solid 1px var(--white);
        border-radius: 1.6rem;
        z-index: 2;
      }

      &::after {
        content: "";
        display: inline-block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-color: var(--main-black);
        opacity: 0.48;
        transition: 0.4s;
      }
    }
  }
}

.page-link__item__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 0.4s;
  }
}

.page-link__item__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 2;
  padding: 3.2rem;

  span {
    display: block;
    margin-left: auto;
    width: fit-content;
    font-size: 1.8rem;
  }

  h2 {
    font-size: 3.2rem;
  }
}

.page-link__item__arrow {
  display: inline-block;
  width: 8rem;
  height: 8rem;
  position: absolute;
  right: -1px;
  bottom: -1px;
  background-image: url(../img/bg-wave-arrow.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  z-index: 2;

  &::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    width: 2rem;
    height: 2rem;
    background-image: url(../img/icon-arrow.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 2;
  }
}

@media (any-hover: hover) {
  .page-link__list {
    > li {
      a:hover {
        .page-link__item__img {
          img {
            transform: scale(1.05);
          }
        }
        &::after {
          opacity: 0.1;
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .page-link__wrap {
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  .page-link__list {
    gap: 0.8rem;

    > li.introduction {
      border-radius: 0;

      a {
        height: 20rem;
      }
    }

    > li.departure,
    > li.faq {
      width: 100%;
      border-radius: 0;

      a {
        height: 20rem;
      }
    }
  }
  .page-link__item__text {
    span {
      font-size: 1.6rem;
    }

    h2 {
      font-size: 2.1rem;
    }
  }
}
