@charset "UTF-8";

.interior-page-main {
  background-color: var(--c-bg-sand);
}

/* ===================================================
   キネティックアコーディオン ＆ アンビエントステージ
=================================================== */
.accordion-ambient-stage {
  position: relative;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(195, 154, 88, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

/* 背景アンビエント連動 */
.ambient-backdrop-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ambient-backdrop-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(55px) brightness(0.6);
  transform: scale(1.15);
  transition: background-image 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambient-backdrop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}

/* 操作ヒント（z-index: 20 で最前面表示） */
.stage-floating-guide {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 20;
  pointer-events: none;
}

.guide-txt {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: #ffffff;
  background: rgba(14, 15, 15, 0.75);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--c-gold);
  backdrop-filter: blur(8px);
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* アコーディオンコンテナ（PC表示：8枚均等） */
.accordion-strip-container {
  position: relative;
  z-index: 2;
  display: flex;
  height: 580px;
  gap: 12px;
}

.accordion-strip {
  position: relative;
  flex: 1;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, transform 0.4s ease;
  background-color: #111111;
}

.accordion-strip.is-active {
  flex: 4.8; /* 8枚構成に最適化した拡大幅 */
  border-color: var(--c-gold);
}

.strip-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-strip:hover .strip-media img {
  transform: scale(1.04);
}

/* 縮小時の縦書きラベル（PC表示） */
.strip-vertical-label {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.strip-vertical-label .num {
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.strip-vertical-label .txt {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.accordion-strip.is-active .strip-vertical-label {
  opacity: 0;
}

/* 拡大時のコンテンツ詳細 */
.strip-content-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 32px 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 4;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.accordion-strip.is-active .strip-content-wrap {
  opacity: 1;
  transform: translateY(0);
}

.strip-tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  display: block;
  margin-bottom: 4px;
}

.strip-title {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 600;
}

.strip-desc {
  font-size: 13px;
  line-height: 1.85;
  color: #cccccc;
  margin-bottom: 12px;
  max-width: 620px;
}

.strip-view-btn {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-orange);
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(223, 156, 77, 0.5);
  transition: all 0.25s ease;
}

.accordion-strip:hover .strip-view-btn {
  background: var(--c-orange);
  color: #111111;
}

/* ===================================================
   シネマティック・フルスクリーンモーダル
=================================================== */
.ambient-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ambient-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 11, 11, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox-dialog-window {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1040px;
  background-color: #161717;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(195, 154, 88, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambient-lightbox.is-open .lightbox-dialog-window {
  transform: translateY(0) scale(1);
}

.lightbox-close-circle {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s, transform 0.25s;
}

.lightbox-close-circle:hover {
  background-color: var(--c-orange);
  transform: rotate(90deg);
}

.lightbox-close-circle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
}
.lightbox-close-circle span:first-child { transform: rotate(45deg); }
.lightbox-close-circle span:last-child { transform: rotate(-45deg); }

.lightbox-display-area {
  position: relative;
  width: 100%;
  max-height: 560px;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-target-img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(195, 154, 88, 0.5);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
}

.modal-nav-arrow:hover {
  background-color: var(--c-gold);
  color: #111111;
  transform: translateY(-50%) scale(1.08);
}

.modal-nav-arrow.btn-prev { left: 18px; }
.modal-nav-arrow.btn-next { right: 18px; }

.lightbox-caption-area {
  padding: 24px 34px 28px;
  background: linear-gradient(180deg, #1d1f1e 0%, #131414 100%);
  color: #ffffff;
}

.lightbox-page-badge {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--c-gold);
  display: block;
  margin-bottom: 4px;
}

.lightbox-title-text {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 600;
}

.lightbox-desc-text {
  font-size: 13px;
  line-height: 1.85;
  color: #bbbbbb;
  margin-bottom: 0;
}

/* ===================================================
   スマホ表示の抜本強化（991.98px以下）
   左右が約23%〜24%ずつ大きく露出するパノラマ・スナップビュー
=================================================== */
@media (max-width: 991.98px) {
  .accordion-ambient-stage {
    padding: 16px 0 20px;
    border-radius: 26px;
  }

  /* 上部英字ガイドを前面に独立配置 */
  .stage-floating-guide {
    position: relative;
    top: auto;
    right: auto;
    z-index: 20;
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    pointer-events: none;
  }

  .guide-txt {
    font-size: 10px;
    letter-spacing: 0.2em;
    padding: 5px 16px;
    background: rgba(10, 11, 11, 0.82);
    border: 1px solid var(--c-gold);
    color: #ffffff;
  }

  /* 横スクロールスナップコンテナ（カード幅52vwに設定し左右を約24%ずつ大きく露出） */
  .accordion-strip-container {
    height: auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 8px calc((100vw - 52vw) / 2) 16px;
    scroll-padding: 0 calc((100vw - 52vw) / 2);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .accordion-strip-container::-webkit-scrollbar {
    display: none;
  }

  /* カード本体：幅52vwで左右前後の写真を大きく露出 */
  .accordion-strip {
    flex: 0 0 52vw !important;
    height: 400px;
    border-radius: 18px;
    scroll-snap-align: center;
    position: relative;
    border-width: 1.5px;
    border-color: rgba(255, 255, 255, 0.25);
    opacity: 0.72;
    transform: scale(0.92);
    transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  /* 中央に来た写真のみを鮮明に強調 */
  .accordion-strip.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--c-gold);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
  }

  .strip-vertical-label {
    display: none;
  }

  .strip-content-wrap {
    opacity: 1 !important;
    transform: translateY(0) !important;
    padding: 16px 12px 14px;
  }

  .strip-tag {
    font-size: 10.5px;
    margin-bottom: 2px;
  }

  .strip-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .strip-desc {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .strip-view-btn {
    font-size: 10px;
    padding: 2px 8px;
  }

  /* スマホ用インジケータードット */
  .sp-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
  }

  .sp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
  }

  .sp-dot.is-active {
    width: 18px;
    border-radius: 10px;
    background-color: var(--c-gold);
    box-shadow: 0 0 8px rgba(195, 154, 88, 0.6);
  }

  /* モーダルのスマホ最適化 */
  .lightbox-dialog-window {
    width: 95%;
    border-radius: 20px;
  }

  .lightbox-display-area,
  .lightbox-target-img {
    max-height: 320px;
  }

  .modal-nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .modal-nav-arrow.btn-prev { left: 10px; }
  .modal-nav-arrow.btn-next { right: 10px; }

  .lightbox-caption-area {
    padding: 16px 18px 20px;
  }
  .lightbox-title-text {
    font-size: 1.15rem;
  }
  .lightbox-desc-text {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .accordion-strip-container {
    padding: 6px calc((100vw - 54vw) / 2) 12px;
    scroll-padding: 0 calc((100vw - 54vw) / 2);
    gap: 10px;
  }

  .accordion-strip {
    flex: 0 0 54vw !important;
    height: 370px;
  }
}