@charset "utf-8";
/* CSS Document */

/* experiences-PAGE--------------------------------------------- */

/* Sub MV Section 02 */
.l-submv03 {
  overflow: hidden;
  position: relative;
  z-index: 0;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  &.is-disabled-hover {
    .mv_link {
      transition: none !important;
    }
    .mv_link:hover {
      flex-basis: 50% !important; /* 初期値に固定 */
    }
    .mv_link:not(:hover) {
      flex-basis: 50% !important;
    }
    .mv_link .mv_ttl {
      opacity: 1 !important;
    }
    .mv_link::after {
      opacity: 1 !important;
    }
    &:hover {
      .mv_link:not(:hover) .mv_ttl {
        opacity: 1 !important;
      }
      .mv_link:not(:hover)::after {
        opacity: 1 !important;
      }
    }
  }

  .mv_link {
    overflow: hidden;
    position: relative;
    z-index: 0;
    flex: 1 1 50%;
    transition: flex-basis 0.7s ease;
    z-index: 1;
    width: 50%;
    &:hover {
      flex-basis: 66.38%;
    }
    &:not(:hover) {
      flex-basis: 33.62%;
    }

    &::after {
      content: "";
      display: block;
      position: absolute;
      z-index: 0;
      opacity: 1;
      transition: opacity 0.7s;
    }
    &.link_earth {
      &::after {
        background-image: url("../img/experiences/line01.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top right;
        bottom: 10rem;
        width: 100%;
        aspect-ratio: 721 / 186;
      }
    }
    &.link_sea {
      &::after {
        background-image: url("../img/experiences/line02.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top right;
        bottom: 15.5rem;
        left: 0;
        width: 100%;
        aspect-ratio: 721 / 57;
      }
    }

    .bg {
      position: absolute;
      z-index: 0;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 96rem;
      height: 100%;
      transition: opacity 0.5s;
      img {
        object-fit: cover;
        height: 100%;
      }
    }

    .box_ttl {
      overflow: hidden;
      position: absolute;
      z-index: 1;
      bottom: 8rem;
      left: 50%;
      transform: translateX(-50%);
    }
    .mv_ttl {
      bottom: 9.2rem;
      left: 12.5rem;
      color: #fdfcfb;
      font-size: 4.8rem;
      font-weight: 700;
      line-height: 159%;
      transition: opacity 0.3s ease;
      text-align: center;
      .size_m {
        font-size: 3.6rem;
      }
      .size_s {
        margin-top: 1.4rem;
        display: block;
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 159%;
      }
      .wrapper {
        display: block !important;
      }
    }
    .btn02 {
      overflow: hidden;
      position: absolute;
      z-index: 0;
      bottom: 3.2rem;
      right: 3.2rem;
      display: none;

      font-size: 1.6rem;
      font-weight: 700;
      color: #fff;

      .ani_wrapper {
        align-items: center;
        width: fit-content;
        position: relative;
        display: flex;
        gap: 0.8rem;
        transition: opacity 1.5s ease-out;
        opacity: 1;
        transition-delay: 1s;

        .slot_ani {
          position: relative;
          display: inline-block;
          transition: 0.3s;
          transform-origin: 50% 0%;
          transform-style: preserve-3d;
          &::after {
            content: attr(data-text);
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 0;
            z-index: -1;
            transform-origin: 50% 0%;
            -webkit-transform: translate3d(0, 107%, 0) rotateX(-90deg);
            transform: translate3d(0, 107%, 0) rotateX(-90deg);
          }
        }
        svg {
          display: none;
          width: 6rem;
          transition: 0.3s;
          transform-origin: center;
        }

        &::after {
          content: "";
          display: block;
          width: 6rem;
          height: 6rem;
          border-radius: 50%;
          box-sizing: border-box;
          border: 0.1rem solid #fff;
          transition: background 0.5s;
        }
        &::before {
          content: "";
          display: block;
          width: 0.9rem;
          height: 0.9rem;
          border-top: 0.2rem solid #fff;
          border-right: 0.2rem solid #fff;
          transform: rotate(45deg) scale(0.9);
          position: absolute;
          z-index: 1;
          top: 0;
          bottom: 0;
          right: 2.8rem;
          margin: auto 0;
          transition:
            width 0.3s,
            height 0.3s;
        }
        &:hover {
          &::before {
            width: 0.6rem;
            height: 0.6rem;
            border-radius: 50%;
            background: #fff;
            border-color: transparent;
            right: 2.7rem;
          }
          .slot_ani {
            transform: translate3d(0, 0, -30px) rotateX(90deg);
          }
        }

        &.set_invert {
          &::after {
            filter: invert(100%);
          }
          &::before {
            filter: invert(100%);
          }
        }
      }
    }
  }
  &:hover {
    .mv_link:not(:hover) {
      .mv_ttl {
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      &::after {
        opacity: 0;
      }
    }
    .mv_link:hover {
      .mv_ttl {
        opacity: 1;
      }
      &::after {
        opacity: 1;
      }
    }
  }
  @media screen and (min-width: 1920px) {
    .mv_link {
      .bg {
        width: calc(1300 / 1920 * 100vw);
      }
    }
  }
  @media screen and (max-width: 768px) {
    &.is-disabled-hover {
      .mv_link {
        transition: unset !important;
      }
      .mv_link:hover {
        flex-basis: unset !important;
      }
      .mv_link:not(:hover) {
        flex-basis: unset !important;
      }
      .mv_link .mv_ttl {
        opacity: unset !important;
      }
      .mv_link::after {
        opacity: unset !important;
      }
      &:hover {
        .mv_link:not(:hover) .mv_ttl {
          opacity: unset !important;
        }
        .mv_link:not(:hover)::after {
          opacity: unset !important;
        }
      }
    }
    flex-flow: column;
    aspect-ratio: unset;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    .mv_link {
      width: 100%;
      height: 50%;

      .btn02 {
        display: block;
      }
      &:hover {
        flex-basis: 100%;
      }
      &:not(:hover) {
        flex-basis: 100%;
      }
      .box_ttl {
        width: calc(100% - 6.4rem);
        bottom: 13.2rem;
      }
      .mv_ttl {
        bottom: 4.2rem;
        left: 4.5rem;
        font-size: 4rem;
        .size_m {
          font-size: 2.8rem;
        }
        .size_s {
          margin-top: 0;
        }
        .wrapper {
          display: flex !important;
          align-items: center !important;
          gap: 2.4rem !important;
        }
      }
      &.link_earth {
        &::after {
          /* bottom: 2rem; */
          bottom: 4rem;
        }
        .bg {
          img {
            object-position: left 30%;
          }
        }
      }
      &.link_sea {
        &::after {
          /* bottom: 8.5rem; */
          bottom: 10rem;
        }
        img {
          object-position: center 65%;
        }
      }
    }
    &:hover {
      .mv_link:not(:hover) {
        .mv_ttl {
          opacity: 1;
        }
      }
    }
  }
}

/* experiences_sub-PAGE--------------------------------------------- */

.wrapper_bc {
  background: #2f6c67;
}

.l-submv01 {
  &.island {
    &::after {
      background-image: url("../img/experiences/mv_island.jpg");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
    }
  }
  &.sea {
    &::after {
      background-image: url("../img/experiences/mv_sea.jpg");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
    }
  }
}
/* concept Section */
.l-concept {
  padding: 32rem 0 4.6rem;
  color: #fdfcfb;
  .inner {
    margin: 0 auto 11.2rem;
    width: 121.6rem;
    .ttl02 {
      position: relative;
      z-index: 0;
      margin-bottom: 6.2rem;
      font-size: 1.9rem;
      font-weight: 400;
      line-height: 103%;

      &::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 0;
        background-color: #fdfcfb;
        bottom: 0;
        left: 50%;
        transform: translate(0, 0);
        width: 1px;
        height: 15rem;
      }
    }
    .text-head {
      margin-bottom: 4.8rem;
      text-align: center;
      .en {
        margin-bottom: 3rem;
        display: block;
        font-size: 1.7rem;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0.07em;
      }
      strong {
        overflow: hidden;
        display: inline-block;
        font-size: 3rem;
        font-weight: 700;
        line-height: 159%;
      }
    }
    .text_concept {
      font-size: 1.6rem;
      font-weight: 400;
      line-height: 200%;
      letter-spacing: 0.07em;
      text-align: center;
      & + .text_concept {
        margin-top: 2em;
      }
      .cap {
        margin: 0 auto;
        width: fit-content;
        display: block;
        font-size: 0.8em;
        line-height: 1.4;
        text-align: left;
        text-indent: -1em;
        padding-left: 1em;
      }
    }
  }
  .block_img {
    position: relative;
    z-index: 0;
    margin: 0 auto;
    width: 144rem;
    aspect-ratio: 1440/1124;
    .box_img {
      position: absolute;
      z-index: 1;
      overflow: hidden;
      will-change: transform;

      &.img01 {
        width: 40.4rem;
        top: -17.8rem;
        left: 0;
      }
      &.img02 {
        width: 56.4rem;
        top: 32.2rem;
        left: 22.9rem;
      }
      &.img03 {
        width: 54.6rem;
        top: 13.5rem;
        right: 0;
      }
      &.img04 {
        width: 28rem;
        top: 77.2rem;
        right: 28.1rem;
      }
      img {
        display: block;
        width: 100%;
        height: auto;
        will-change: transform;
        transform: scale(1.2);
      }
    }
  }
  @media screen and (max-width: 768px) {
    padding: 24rem 0 4.6rem;
    .inner {
      margin: 0 auto 6rem;
      width: 32.6rem;
      .text-head {
        margin-bottom: 4.8rem;
        text-align: center;
        strong {
          font-size: 2.8rem;
        }
      }
      .text_concept {
        font-size: 1.4rem;
        text-align: left;
        & + .text_concept {
          margin-top: 1.6em;
        }
      }
    }
    .block_img {
      z-index: 1;
      width: 39rem;
      aspect-ratio: 390/400;
      .box_img {
        position: absolute;
        z-index: 1;
        overflow: hidden;
        will-change: transform;

        &.img01 {
          width: 15.9rem;
          top: 2rem;
          left: 0;
        }
        &.img02 {
          width: 20.2rem;
          top: 30rem;
          left: 2rem;
        }
        &.img03 {
          width: 20.2rem;
          top: -3rem;
          right: 0;
        }
        &.img04 {
          width: 12.53rem;
          top: 22rem;
          right: 2rem;
        }
      }
    }
  }
}

/* Experience Section */
.l-experience {
  padding: 18.3rem 0 30.4rem;
  margin: 0 auto;
  width: 144rem;
  color: #fdfcfb;

  .ttl02 {
    margin-bottom: 27.2rem;
    position: relative;
    z-index: 0;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    line-height: 159%;
    letter-spacing: 0.5em;

    &::after {
      content: "EARTH";
      display: block;
      position: absolute;
      z-index: -1;
      text-align: center;
      font-family: "Bacasime Antique";
      font-size: 21.2rem;
      font-style: normal;
      font-weight: 400;
      line-height: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0.08;
      letter-spacing: 0;
    }
  }
  &.island {
    .ttl02 {
      &::after {
        /* content: "EARTH"; */
        content: "ACTIVITIES";
      }
    }
  }
  &.sea {
    .ttl02 {
      &::after {
        /* content: "SEA"; */
        content: "ACTIVITIES";
      }
    }
  }
  .list_experience {
    display: flex;
    flex-flow: column;
    /* gap: 19.2rem; */
    .card_experience {
      margin-bottom: 19.2rem;
      display: flex;
      align-items: center;
      &:nth-of-type(2n) {
        flex-flow: row-reverse;
      }
      .experience_image {
        position: relative;
        /* background: red; */
        overflow: hidden;
        width: 72rem;
        align-self: baseline;
        .parallax {
          transform: scale(1.2);
        }

        .swiper00 {
          .swiper-wrapper {
            transition-timing-function: cubic-bezier(0.38, 0.96, 0.65, 0.99) !important;
          }
          .swiper-pagination {
            bottom: 7rem;
          }
          .swiper-pagination-bullet {
            background: #fdfcfb !important;
            opacity: 0.5;
          }
          .swiper-pagination-bullet-active {
            opacity: 1;
          }
        }
      }
      .box_text {
        width: 72rem;
        padding: 0 17rem;
        .ttl03 {
          margin-bottom: 7.8rem;
          font-size: 2.8rem;
          font-weight: 700;
          line-height: 176%;
          text-align: center;
          .size_l {
            display: block;
            font-size: 8.3rem;
            font-weight: 400;
            line-height: 1;
            opacity: 0.4;
            margin-bottom: 0.5rem;
          }
        }
        p {
          font-size: 1.4rem;
          font-weight: 400;
          line-height: 192%;
          letter-spacing: 0.07em;
          strong {
            margin-bottom: 3.2rem;
            display: block;
            font-size: 2rem;
            font-weight: 700;
            line-height: 187%;
            text-align: center;
            letter-spacing: 0;
          }
          .cap {
            margin-top: 1em;
            display: block;
            font-size: 0.8em;
            line-height: 1.4;
          }
        }
      }
    }
    .card_experience02 {
      display: flex;
      align-items: center;
      padding: 0 13.3rem;
      .box_text {
        padding: 4.8rem 0;
        display: flex;
        gap: 2.4rem;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        .ttl03 {
          width: 44.5rem;
          font-size: 2.4rem;
          font-weight: 700;
          line-height: 176%;
          text-align: center;
          display: flex;
          gap: 1rem;
          align-self: center;
          .size_l {
            display: block;
            font-size: 4.8rem;
            font-weight: 400;
            line-height: 1;
            opacity: 0.4;
            transform: translateY(-0.5rem);
          }
        }
        p {
          width: 69.5rem;
          font-size: 1.4rem;
          font-weight: 400;
          line-height: 192%;
          letter-spacing: 0.07em;
          strong {
            margin-bottom: 1.2rem;
            display: block;
            font-size: 2rem;
            font-weight: 700;
            line-height: 187%;
            letter-spacing: 0;
          }
          .cap {
            margin-top: 1em;
            display: block;
            font-size: 0.8em;
            line-height: 1.4;
          }
        }
      }
    }
  }
  @media screen and (max-width: 768px) {
    padding: 12rem 0 18rem;
    width: 39rem;
    .ttl02 {
      margin-bottom: 16rem;
      font-size: 2rem;
      letter-spacing: 0.5em;
      &::after {
        /* font-size: 10rem; */
        font-size: 6.4rem;
      }
    }
    .list_experience {
      display: flex;
      flex-flow: column;
      /* gap: 16rem; */
      .card_experience {
        margin-bottom: 16rem;
        flex-flow: column;
        &:nth-of-type(2n) {
          flex-flow: column;
        }
        .experience_image {
          aspect-ratio: 390 /500;
          width: 100%;
          .swiper00 {
            .swiper-pagination {
              bottom: 5rem;
            }
          }
        }
        .box_text {
          margin: 3.2rem auto 0;
          width: 32.6rem;
          padding: 0;
          .ttl03 {
            margin-bottom: 4.8rem;
            font-size: 2rem;
          }
          p {
            strong {
              margin-bottom: 2.4rem;
            }
          }
        }
      }
      .card_experience02 {
        flex-flow: column;
        padding: 0 0;
        .box_text {
          padding: 4.8rem 0;
          flex-flow: column;
          gap: 3.6rem;
          .ttl03 {
            width: 32.6rem;
          }
          p {
          }
          p {
            width: 32.6rem;
            strong {
              font-size: 1.8rem;
            }
          }
        }
      }
    }
  }
}

.l-residence_link {
  margin: 0 auto;
  padding: 14.4rem 0;
  width: 102.2rem;
  display: flex;
  justify-content: center;
  a {
    padding-bottom: 3.6rem;
    width: 44.6rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 180%;
    transition: 0.3s;
    figure {
      margin-bottom: 2.4rem;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
      transition: clip-path 0.5s;
      img {
        display: block;
        transition: transform 0.5s;
      }
    }
    .jp02 {
      margin-top: 0.5rem;
      display: block;
      font-size: 1.2rem;
      font-style: normal;
      line-height: 200%;
      letter-spacing: 0.07em;
    }
    &:hover,
    &:active {
      figure {
        clip-path: polygon(8% 8%, 92% 8%, 92% 92%, 8% 92%);
        img {
          transform: scale(1.15);
        }
      }
    }
  }
  @media screen and (max-width: 768px) {
    padding: 8rem 0;
    width: 32.4rem;
    flex-flow: column;
    gap: 1rem;
    a {
      border: 1px solid #9eadab;
      padding-bottom: 2.4rem;
      width: 100%;
      figure {
        aspect-ratio: 1 /0.5;
        margin-bottom: 2.4rem;
        img {
          object-fit: cover;
          height: 100%;
        }
      }
    }
  }
}
