@charset "utf-8";

/* common
---------------------------------------------- */
.kvBox {
  width: calc(800 / 1500 * 100%);
}

.gra-text {
  overflow: visible;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .kvBox {
    width: calc(250 / 380 * 100%);
  }

  .kvBox__title {
    text-align: left;
    line-height: 0.86;
  }

  .sp {
    display: block;
  }
}

/* intro
---------------------------------------------- */
.intro {
  padding-block: clamp(80px, 5.67rem + 6.22vw, 150px) 140px;
  overflow: hidden;
}

.intro__ttl {
  font-size: clamp(22px, calc(37/1200*100vw), 37px);
  color: var(--white);
  line-height: 1.62;
  letter-spacing: .075em;
  text-align: center;
}

.intro__txt {
  font-size: clamp(14px, calc(16/1200*100vw), 16px);
  line-height: 2.5;
  letter-spacing: .075em;
  text-align: center;
  margin: 40px 0 68px;
}

@media screen and (max-width: 768px) {
  .intro {
    padding-block: clamp(80px, 5.67rem + 6.22vw, 150px) 100px;
    overflow: hidden;
  }

  .intro__ttl{
    line-height: 1.54;
  }

  .intro__txt {
    text-align: left;
    line-height: 1.9;
    letter-spacing: .075em;
    margin: 25px 0 30px;
  }
}

/* merit
---------------------------------------------- */
.merit {
  position: relative;
  background: url(../img/bg_merit.jpg) no-repeat center / cover;
}

.merit::before {
  content: "";
  position: absolute;
  background: url(../img/bg_merit_deco.png) no-repeat center top / 100% auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
}

.merit__container {
  display: grid;
  grid-template-columns: calc(400 / 1200 * 100%) minmax(0, 603px);
  column-gap: calc(100 / 1200 * 100vw);
  padding-bottom: 150px;
}

#merit-02.merit__container,
#merit-04.merit__container {
  grid-template-columns: minmax(0, 603px) calc(400 / 1200 * 100%);
  justify-content: end;
}

#merit-01.merit__container {
  padding-top: 160px;
  padding-bottom: 106px;
}

#merit-02.merit__container {
  padding-bottom: 106px;
}

.merit__container__copy__num {
  font-size: 18px;
  color: #af9b75;
  line-height: 3;
  letter-spacing: .12em;
  margin-block: calc((1em - 1lh) / 2);
  margin-top: -25px;
}

.merit__container__copy__num .big {
  font-size: 150%;
}

.merit__container__copy__ttl {
  font-size: clamp(20px, calc(26/1200*100vw), 26px);
  color: var(--white);
  line-height: 1.7;
  letter-spacing: .075em;
  margin: 10px 0 45px;
}

#merit-03 .merit__container__copy__ttl {
  margin: 10px 0;
}

.merit__container__txt {
  position: relative;
  font-size: clamp(14px, calc(16/1200*100vw), 16px);
  color: #cccccc;
  line-height: 2.5;
  letter-spacing: .075em;
  height: fit-content;
  padding-left: 30px;
}

.merit__container__txt::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(213, 202, 182, 1) 0%, rgba(223, 186, 118, 1) 100%);
}

.merit__container__img {
  grid-area: 1/1/3/2;
  width: fit-content;
  height: fit-content;
}

#merit-02 .merit__container__img,
#merit-04 .merit__container__img {
  grid-area: 1 / 2 / 3 / 3;
}

.merit__info {
  background: rgba(30, 30, 30, .8);
  border: 1px solid #AF9B75;
  padding: 60px 97px;
  margin-bottom: 150px;
}

@media screen and (max-width: 960px) {
  .tourMeritList {
    margin-top: 18px;
  }

  .tourMeritList>li {
    padding: 14px 0;
  }
}

@media screen and (max-width: 768px) {
  .merit__container {
    display: block;
    padding-top: 110px;
    padding-bottom: 0;
  }

  #merit-01.merit__container {
    padding-top: 125px;
    padding-bottom: 77px;
  }

  #merit-02.merit__container {
  padding-bottom: 70px;
  }

  #merit-05.merit__container {
  padding-bottom: 100px;
  }

  .merit__container__copy__ttl {
    line-height: 2;
    margin: 6px 0 19px;
  }

  .merit__container__txt {
    line-height: 1.9;
    margin-top: 25px;
  }

  .merit__container__img{
    width: 100%;
  }

  .merit__container__img img{
    width: 100%;
    aspect-ratio: 340 / 200;
    object-fit: cover;
  }

  .merit__info {
    padding: 45px 17px 69px;
    margin-bottom: 0;
  }

  .merit__info.merit-02 {
    padding: 60px 15px 20px;
    margin-bottom: 0;
  }

  .merit__info__ttl {
    font-size: 26px;
    line-height: 1.73;
    letter-spacing: .075em;
    text-align: center;
    color: #af9b75;
  }

  .merit__info__txt {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: .075em;
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
  }

  .merit__info__content {
    width: 100%;
    overflow: hidden;
  }

  .merit__info__content img {
    width: auto;
    max-width: 800px;
    transition: transform 0.1s ease-out;
  }

  .merit-02 .merit__info__content img {
    max-width: 886px;
  }

  .merit-02 .merit__info__bar {
    margin-top: 43px;
  }

  .merit__info__bar {
    position: relative;
    height: 30px;
    touch-action: none;
    margin-top: 23px;
  }

  .merit__info__bar img {
    position: absolute;
    width: 80px;
    height: 30px;
    top: 50%;
    left: 0;
    transform: translate(50%, -50%);
  }

  .merit__info__item {
    margin: 12px auto 0;
    width: calc(300 / 380 * 100vw);
  }

  .merit-02 .merit__info__item {
    margin: 37px auto 0;
  }

  .merit__info__cap {
    font-size: 11px;
    color: #fff;
    margin-top: 15px;
    line-height: 1.9;
    letter-spacing: .071em;
  }

  .merit__info__txt-2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-top: 15px;
    line-height: 1.6;
    letter-spacing: .030em;
    text-align: center;
    background-color: #af9b75;
    margin-top: 0;
    padding: 25px 10px;
  }

  .merit__info__bar input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: calc(200 / 340 * 100%);
    height: 2px;
    background: #666;
    cursor: pointer;
    display: block;
    margin: 0 auto;
  }

  .merit__info__bar input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 80px;
    height: 30px;
    background: url("../img/merit_info_btn.png") center / contain no-repeat;
    border: none;
    cursor: grab;
  }
}



/* gallery
---------------------------------------------- */
.gallery {
  padding-top: clamp(70px, 4.67rem + 6.22vw, 140px);
  padding-bottom: clamp(100px, 8rem + 5.33vw, 180px);
}

.gallery__intro {
  text-align: center;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(70px, 5.33rem + 4.44vw, 120px);
}

.gallery-card {
  min-width: 0;
}

/* 既存のinview判定を使い、左のカードから順番に少し上へフェードイン */
@keyframes galleryFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gallery-card.fi_u.inview {
  animation-name: galleryFadeInUp;
  animation-duration: .8s;
}

.gallery-card:nth-child(1) {
  animation-delay: 0s;
}

.gallery-card:nth-child(2) {
  animation-delay: .18s;
}

.gallery-card:nth-child(3) {
  animation-delay: .36s;
}

.gallery-card:nth-child(4) {
  animation-delay: .54s;
}

.gallery-card__button {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #111;
  color: var(--color-brown);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.gallery-card__image {
  display: block;
  height: clamp(500px, 43vw, 720px);
}

.gallery-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .02) 35%, rgba(0, 0, 0, .64) 100%);
  pointer-events: none;
}

.gallery-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.gallery-card:nth-child(1) .gallery-card__image img {
  object-position: center;
}

.gallery-card:nth-child(2) .gallery-card__image img {
  object-position: 48% center;
}

.gallery-card:nth-child(3) .gallery-card__image img {
  object-position: center;
}

.gallery-card:nth-child(4) .gallery-card__image img {
  object-position: center;
}

/* 指定3カードのみ、写真の明度を80%にする */
.gallery-card:nth-child(1) .gallery-card__image img,
.gallery-card:nth-child(2) .gallery-card__image img,
.gallery-card:nth-child(4) .gallery-card__image img {
  filter: brightness(80%);
}

.gallery-card__title {
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 100%;
  transform: translateX(-50%);
  color: #c7ae7b;
  font-size: clamp(25px, 1.8rem + .7vw, 36px);
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
  z-index: 1;
}

.gallery-card__more {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 3%;
  width: auto;
  min-height: 52px;
  border: 1px solid var(--color-brown);
  background: rgba(0, 0, 0, .54);
  color: var(--color-brown);
  font-family: "Cormorant Infant", serif;
  font-size: 14px;
  padding: .8em;
  z-index: 1;
}

.gallery-card__icon {
  display: grid;
  grid-template-columns: repeat(3, 2px);
  gap: 2px;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 10px;
  aspect-ratio: 1;
  transition: .4s ease;
}

.gallery-card__icon i {
  width: 2px;
  aspect-ratio: 1;
  background-color: var(--color-brown);
  transition: .4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-card__button:hover .gallery-card__image img {
    transform: scale(1.025);
    filter: brightness(50%);
  }

  .gallery-card:nth-child(1) .gallery-card__button:hover .gallery-card__image img,
  .gallery-card:nth-child(2) .gallery-card__button:hover .gallery-card__image img,
  .gallery-card:nth-child(4) .gallery-card__button:hover .gallery-card__image img {
    filter: brightness(80%);
  }

  .gallery-card__button:hover .gallery-card__more {
    background-color: var(--color-brown);
    color: #fff;
  }

  .gallery-card__button:hover .gallery-card__icon {
    transform: translateY(-50%) rotate(135deg);
  }

  .gallery-card__button:hover .gallery-card__icon i {
    background-color: #fff;
  }
}

/* entrance approach modal
---------------------------------------------- */
.gallery-modal__overlay {
  overflow: hidden;
  background: rgba(15, 13, 10, .55);
}

.gallery-modal__container {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: #211d18;
  color: #c7ae7b;
}

/* 表示写真を拡大してぼかし、FIGMAどおりの全面背景を作る */
.gallery-modal__backdrop {
  position: absolute;
  inset: -8%;
  overflow: hidden;
  z-index: 0;
}

.gallery-modal__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 19, 15, .42);
}

.gallery-modal__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(45%);
  transform: scale(1.12);
  opacity: 1;
  transition: opacity .5s ease;
}

.gallery-modal__title {
  position: fixed;
  top: 50%;
  left: 3.8vw;
  width: 14vw;
  margin: 0;
  transform: translateY(-50%);
  font-size: clamp(28px, 1.9vw, 38px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .02em;
  z-index: 2;
}

.gallery-modal__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 63.2vw;
  max-width: 1215px;
  aspect-ratio: 1920 / 1281;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 1;
}

.gallery-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .5s ease;
}

/* PREV／NEXT操作時は前景とぼかし背景を同時にフェードアウトする */
.gallery-modal.is-image-changing .gallery-modal__image,
.gallery-modal.is-image-changing .gallery-modal__backdrop img {
  opacity: 0;
}

.gallery-modal__nav {
  display: flex;
  align-items: center;
  gap: 1.2em;
  position: fixed;
  right: 2.7vw;
  bottom: 47%;
  font-size: clamp(25px, 1.65vw, 33px);
  letter-spacing: .02em;
  white-space: nowrap;
  z-index: 2;
}

.gallery-modal__nav button {
  padding: .35em 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.gallery-modal__divider {
  display: block;
  width: 1px;
  height: .75em;
  background: currentColor;
  opacity: .45;
}

.gallery-modal .gallery-modal__close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: auto;
  right: 2.4vw;
  bottom: 6vh;
  width: 13.6vw;
  min-width: 210px;
  padding: .75em .85em;
  border: 1px solid currentColor;
  background: rgba(36, 28, 21, .35);
  color: inherit;
  font-size: clamp(24px, 1.5vw, 30px);
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.gallery-modal .gallery-modal__close::before {
  content: none;
}

.gallery-modal__close i {
  position: relative;
  width: 1em;
  height: 1em;
  pointer-events: none;
}

.gallery-modal__close i::before,
.gallery-modal__close i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.gallery-modal__close i::before {
  transform: rotate(45deg);
}

.gallery-modal__close i::after {
  transform: rotate(-45deg);
}

@media screen and (max-width: 1400px) {
  .gallery-modal__nav{
    gap: .5em;
  }
}
@media screen and (max-width: 1200px) {
  .gallery-modal__title{
    font-size: 25px;
    left: 2vw;
  }
  .gallery-modal__nav{
    font-size: 23px;
    right: 1vw;
  }
}
@media screen and (max-width: 980px) {
  .gallery-modal__title{
    font-size: 23px;
  }
  .gallery-modal__stage{
    width: 55vw;
  }
  .gallery-modal__nav{
    font-size: 21px;
  }
}

@media screen and (max-width: 768px) {
  .gallery-kv__img {
    /* ACCESSページと同じ、SP用KV画像の比率（760:1200）で全幅表示 */
    height: calc(1200 / 760 * 100vw);
  }
  .gallery-kv__img img {
    object-position: 51% center;
  }

  .gallery {
    padding-top: 70px;
    padding-bottom: 100px;
  }
  .gallery__intro {
    width: calc(335 / 375 * 100%);
    margin-inline: auto;
    font-size: 16px;
  }
  .gallery__intro br {
    display: none;
  }

  .gallery-list {
    display: block;
    margin-top: 60px;
  }
  .gallery-card__image {
    height: calc(560 / 375 * 100vw);
    max-height: 760px;
  }
  .gallery-card__title {
    bottom: 19%;
    font-size: min(36px, calc(28 / 375 * 100vw));
  }
  .gallery-card__more {
    min-height: 50px;
    font-size: 13px;
  }

  /* SPはタイトル上部、写真中央、操作ボタン下部を固定配置 */
  .gallery-modal__backdrop {
    inset: -12%;
  }
  .gallery-modal__backdrop::after {
    background: rgba(23, 23, 23, .68);
  }
  .gallery-modal__backdrop img {
    filter: blur(24px) brightness(38%);
  }
  .gallery-modal__title {
    top: max(42px, 5vh);
    left: 30%;
    width: auto;
    transform: none;
    font-size: min(28px, 7.1vw);
    line-height: 1.35;
  }
  .gallery-modal__stage {
    top: 49%;
    width: 100%;
    max-width: none;
  }
  .gallery-modal__nav {
    right: auto;
    left: 6vw;
    bottom: max(24px, 3.1vh);
    gap: .75em;
    font-size: min(27px, 6.85vw);
  }
  .gallery-modal .gallery-modal__close {
    right: 4.6vw;
    bottom: max(14px, 1.7vh);
    width: 66px;
    min-width: 0;
    height: 66px;
    padding: 18px;
    background: rgba(36, 28, 21, .35);
  }
  .gallery-modal__close span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .gallery-modal__close i {
    width: 100%;
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card {
    animation-delay: 0s !important;
  }

  .gallery-card__image img,
  .gallery-card__icon,
  .gallery-modal__image,
  .gallery-modal__backdrop img {
    transition: none;
  }
}