#mv {
  padding-bottom: 8rem;
  margin-bottom: 8rem;
  border-bottom: solid 1px #fff;
}

.mv-record {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  text-align: center;
  margin-bottom: 4rem;
  &::before,
  &::after {
    content: "";
    display: inline-block;
    aspect-ratio: 80 / 175;
    width: 8rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  &::before {
    background-image: url(../img/record-holder__laure-left.png);
  }
  &::after {
    background-image: url(../img/record-holder__laure-right.png);
  }
  .mv-record__title figure {
    display: inline-block;
    max-width: 72rem;
    margin-bottom: 0.8rem;
  }

  .mv-record__title figure img {
    width: 100%;
  }

  .mv-record__title h1 {
    font-size: 2.4rem;
    font-weight: 700;
  }
}

.mv-info {
  position: relative;
  padding: 4rem 0 16rem;

  .mv-info__title {
    max-width: 66rem;
  }

  .mv-info__title--name {
    position: relative;
    padding-top: 4rem;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    &::before {
      content: "";
      display: inline-block;
      position: absolute;
      top: 0;
      left: 0;
      max-width: 42rem;
      width: 100%;
      aspect-ratio: 42 / 6;
      background-image: url(../img/hennna-hotel__handwritten.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      z-index: -1;
      opacity: 0.4;
    }
  }

  h1 {
    margin-bottom: 2.4rem;
    span {
      display: block;
      width: fit-content;
      font-size: 10.4rem;
      font-weight: 900;
      line-height: 1.1;
      color: #fff;
      margin-bottom: 0.8rem;
    }

    &.js-observe {
      position: relative;

      > span {
        position: relative;

        &::before {
          content: "";
          display: block;
          width: 0;
          height: 100%;
          background-color: #333;
          position: absolute;
          z-index: -1;
          transition: 0.4s;
        }

        > span {
          transition: 0.6s 0.6s;
          clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
        }
      }

      &.is-active {
        > span {
          &::before {
            width: 100%;
          }

          > span {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
          }
        }
      }
    }
  }

  h2 {
    font-size: 4rem;
    color: #dfae27;
  }

  .mv-info__title--discription {
    font-size: 1.6rem;
    strong {
      font-size: 1.8rem;
      font-weight: 700;
    }
  }

  .mv-info__collaboration {
    position: absolute;
    right: -8rem;
    bottom: 0;
    max-width: 66rem;
    width: 100%;
    z-index: -1;

    figure {
      width: 100%;

      img {
        width: 100%;
      }

      &.js-observe {
        opacity: 0;
        transition: 1.2s;
        transform: translateY(4rem);

        &.is-active {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }

    p {
      font-size: 1.2rem;
      text-align: center;
    }
  }
}

@media screen and (max-width: 1024px) {
  .mv-info {
    padding: 0;
    .mv-info__collaboration {
      position: relative;
      right: 0;
      margin-top: 2.4rem;
      margin-left: auto;
    }
  }
}

@media screen and (max-width: 768px) {
  .mv-record {
    .mv-record__title h1 {
      font-size: 1.6rem;
    }
  }

  .mv-info {
    .mv-info__title--name {
      font-size: 2.4rem;
    }
    h1 {
      span {
        font-size: 5.6rem;
      }
    }

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

#room {
  margin-bottom: 12rem;
}

.room__description {
  text-align: center;
}

.room__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: #002c4d;
  margin-bottom: 2.4rem;

  .room__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% / 4) - (0.8rem * 3 / 4));
    background-color: #fff;
    padding: 2.4rem 1.6rem;
    border-radius: 0.8rem;
    box-shadow: 0.2rem 0.2rem 1.6rem 0 rgba(0, 0, 0, 0.12);
    transition: 0.4s;
    cursor: pointer;

    .room__item__number {
      display: block;
      text-align: center;
      font-weight: 200;
      font-family: "Montserrat", sans-serif;
      margin-bottom: 0.4rem;
    }

    h2 {
      font-size: 1.6rem;
      text-align: center;
      font-weight: 700;
      margin-bottom: 0.8rem;
      span {
        display: block;
        font-size: 2.1rem;
      }
    }

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

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

    .room__item__shop {
      margin-bottom: 1.6rem;

      .room__item__shop__title {
        font-size: 1.2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 1.6rem;
        margin-top: 0;
        margin-bottom: 0.4rem;

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

        &::before,
        &::after {
          content: "";
          display: inline-block;
          width: 100%;
          height: 1px;
          background-color: #ddd;
        }
      }

      .room__item__shop-list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 0.4rem;

        > li {
          display: flex;
          align-items: center;
          gap: 0.4rem;
          font-size: 1rem;
          &::after {
            content: "";
            display: inline-block;
            margin-left: -0.4rem;
            width: 1.6rem;
            height: 1px;
            background-color: #ddd;
            transform: rotate(-60deg);
          }
          &:last-of-type::after {
            display: none;
          }
        }
      }
    }

    .room__item__btn {
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2.4rem;
      font-size: 1.4rem;
      margin-top: auto;

      span {
        position: relative;
        display: inline-block;
        width: 4.8rem;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        border: solid 1px #ddd;

        &::before {
          content: "";
          display: inline-block;
          position: absolute;
          top: calc(50% - 0.1rem);
          left: calc(50% + 0.1rem);
          width: 1.6rem;
          height: 1.2rem;
          transform: translate(-50%, -50%) rotate(-45deg);
          background-image: url(../img/icon-arrow-blue.svg);
          background-repeat: no-repeat;
          background-size: contain;
          z-index: 2;
        }
      }
    }
  }
}

.note__list {
  width: fit-content;
  margin-left: auto;
  > li {
    font-size: 1.2rem;
    p {
      margin: 0;
    }
  }
}

@media (any-hover: hover) {
  .room__item:hover {
    transform: translateY(-0.8rem);
  }

  .room__list:has(.room__item:hover) .room__item:not(:hover) {
    opacity: 0.4;
  }
}

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

@media screen and (max-width: 768px) {
  .room__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;

    .room__item {
      width: calc((100% / 2) - (0.8rem * 1 / 2));
      padding: 1.6rem 0.8rem;

      .room__item__number {
        font-size: 1.4rem;
      }

      h2 {
        font-size: 1.2rem;
        span {
          font-size: 1.6rem;
        }
      }

      .room__item__btn {
        gap: 1.6rem;
        font-size: 1.4rem;

        span {
          width: 3.6rem;

          &::before {
            width: 1.2rem;
            height: 0.8rem;
          }
        }
      }
    }
  }
}

.modal__list {
  visibility: hidden;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  background: rgba(51, 51, 51, 0.88);
  opacity: 0;
  transition: 0.4s;
  padding: 16rem 12rem;
  overflow-y: scroll;
  z-index: 99;

  &.active {
    opacity: 1;
    visibility: visible;
  }
}

.modal__item {
  display: none;
  width: 100%;
  color: #fff;

  &.active {
    display: block;
  }

  .modal__item__number {
    display: block;
    text-align: center;
    font-weight: 200;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    margin-bottom: 0.4rem;
  }

  h2 {
    font-size: 2.4rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 8rem;
    span {
      display: block;
      font-size: 4rem;
    }
  }
}

.modal__item__content {
  display: flex;
  align-items: flex-start;
  gap: 8rem;
}

.modal__item__content__slide {
  position: relative;
  width: 50%;

  .modal__item__content__slide__inner {
    overflow: hidden;

    .modal__item__content__slide__list {
      display: flex;
      transition: transform 0.4s ease;
      margin-bottom: 1.6rem;

      > li {
        min-width: 100%; /* 1枚ずつ表示 */
        width: 100%;
        list-style: none;

        p {
          font-size: 1.2rem;
          text-align: center;
        }

        figure {
          aspect-ratio: 1.6 / 1;
          border-radius: 8px;
          overflow: hidden;

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

  .slide-prev,
  .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    border: solid 1px #fff;
    border-radius: 50%;
    cursor: pointer;
  }

  .slide-prev {
    left: -2.4rem;
    &::before {
      content: "";
      display: inline-block;
      aspect-ratio: 16 / 12;
      width: 1.6rem;
      background-image: url("../img/icon-arrow-white.svg");
      background-repeat: no-repeat;
      background-size: contain;
      transform: rotate(180deg);
    }
  }

  .slide-next {
    right: -2.4rem;
    &::before {
      content: "";
      display: inline-block;
      aspect-ratio: 16 / 12;
      width: 1.6rem;
      background-image: url("../img/icon-arrow-white.svg");
      background-repeat: no-repeat;
      background-size: contain;
    }
  }

  .slide-counter {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
  }
}

.modal__item__content__info {
  width: 50%;

  h3 {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.6rem;
    font-size: 1.6rem;

    &::before {
      content: "";
      display: inline-block;
      width: 0.8rem;
      height: 0.8rem;
      border-radius: 50%;
      background-color: #dfae27;
    }
  }

  .modal__item__content__info__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;

    > li a {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      padding: 0.8rem 1.6rem;
      border: solid 1px #fff;
      border-radius: 4rem;
      color: #fff;
      font-size: 1.2rem;
      transition: 0.4s ease;

      &::after {
        content: "";
        display: inline-block;
        aspect-ratio: 16 / 12;
        width: 1.2rem;
        transform: rotate(-45deg);
        background-image: url(../img/icon-arrow-white.svg);
        background-repeat: no-repeat;
        background-size: contain;
      }
    }
  }
}

.modal__close-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.6rem;
  height: 9.6rem;
  top: 2.4rem;
  right: 4rem;
  background-color: #fff;
  color: #00599c;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0.2rem 0.2rem 1.6rem 0 rgba(0, 0, 0, 0.12);
  border: solid 1px #eee;
}

@media (any-hover: hover) {
  .modal__item__content__info__list {
    > li a:hover {
      opacity: 0.4;
    }
  }
}

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

@media screen and (max-width: 768px) {
  .modal__item {
    h2 {
      margin-bottom: 1.6rem;
      font-size: 1.6rem;
      span {
        font-size: 3.2rem;
      }
    }
  }

  .modal__item__content {
    flex-direction: column;
    gap: 2.4rem;
  }

  .modal__item__content__slide {
    width: 100%;
    padding: 0 0.8rem;

    .slide-prev,
    .slide-next {
      width: 3.2rem;
      height: 3.2rem;
    }

    .slide-prev {
      left: -0.8rem;
    }

    .slide-next {
      right: -0.8rem;
    }
  }

  .modal__item__content__info {
    width: 100%;
  }

  .modal__close-btn {
    width: 6.4rem;
    height: 6.4rem;
    top: 2.4rem;
    right: 2.4rem;
    font-size: 1.2rem;
  }
}

#contanct {
  margin-bottom: 8rem;
}

a.contact__btn {
  position: relative;
  display: block;
  color: #fff;
  border-radius: 1.6rem;
  overflow: hidden;
  transition: 0.4s;

  &::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: 0.4s ease;
  }

  &::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    transition: 0.4s;
  }

  .contact__btn__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem;
    z-index: 4;

    .contact__btn__text {
      font-size: 1.4rem;

      > h2 {
        font-weight: 700;
        font-size: 1.4rem;
        font-family: "Montserrat", sans-serif;
      }

      > span {
        display: block;
        font-weight: 900;
        font-size: 7.2rem;
        line-height: 1.2;
        margin-bottom: 2.4rem;
        letter-spacing: 0.05em;
      }
    }

    .contact__btn__arrow {
      position: relative;
      display: block;
      width: 24rem;
      height: 24rem;
      border-radius: 50%;
      border: solid 1px #fff;
      transition: 0.4s;

      &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: inline-block;
        width: 3.2rem;
        height: 2.4rem;
        background-image: url(../img/icon-arrow-white.svg);
        background-repeat: no-repeat;
        background-size: contain;
        transition: 0.4s;
      }
    }
  }
}

@media (any-hover: hover) {
  a.contact__btn:hover {
    color: #333;

    &::before {
      width: 0;
    }

    &::after {
      width: 100%;
    }

    .contact__btn__arrow {
      border: solid 1px #eee;

      &::before {
        background-image: url(../img/icon-arrow-blue.svg);
      }
    }
  }
}

@media screen and (max-width: 768px) {
  a.contact__btn {
    .contact__btn__inner {
      padding: 8rem 4rem;
      flex-direction: column;

      .contact__btn__text {
        > span {
          font-size: 4rem;
        }
      }

      .contact__btn__arrow {
        width: 16rem;
        height: 16rem;
        margin-top: 1.6rem;
      }
    }
  }
}
