/*
 * lp_garagehouse-style.css — ガレージハウスLPの各セクション・スライダー・モーダル
 * 記法: セレクターのネストなし・インデント2スペース。
 * レスポンシブ指定は関連ルールの近くに記載。上書き順と詳細度を維持する。
 */

/* ------------------------------------ */
/* main-kv */
/* ------------------------------------ */
.main-kv {
  background-color: #3b3a37;

  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  overflow: clip;
  display: grid;
  /* place-items: center; */
}

.kv-grid-wrap {
  width: 100%;
}

/* ------------------------------------ */
/* グリッドレイアウト */
/* ------------------------------------ */
.kv-grid-wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, auto);
  gap: 10px;

  /* @media (max-width: 768px) {
    margin-top: 60px;
  } */
}

.kv-item img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* 上画像 */
.item-top {
  grid-area: 1 / 1 / 4 / 10;
  z-index: 1;
}

/* 中央画像 */
.item-mid {
  grid-area: 3 / 2 / 7 / 13;
  z-index: 3;
  opacity: 0.7;
  transform: translate(30%, 11%);
}

@media (max-width: 768px) {
  .item-mid {
    transform: none;
  }
}

/* 上部ヘッダーへ切り替わる幅では、PC用の横移動を解除する */
@media (max-width: 1180px) {
  .item-mid {
    transform: none;
  }
}

.item-mid img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .item-mid img {
    height: 100%;
  }
}

/* テキスト */
.kv-text-area {
  /* grid-area: 行の開始 / 列の開始 / 行の終了 / 列の終了; */
  grid-area: 4 / 1 / 6 / 10;
  z-index: 4;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 4rem;
  min-width: 0;
}

@media (max-width: 768px) {
  .kv-text-area {
    grid-area: 4 / 2 / 6 / 12;
    padding: 0 10px;
  }
}

/* 下画像 */
.item-bottom {
  grid-area: 6 / 1 / 9 / 11;
  z-index: 2;
}

/* KV内の詳細ボタン */
.main-kv .kv-detail-button {
  grid-area: 5 / 8 / 6 / 11;
  align-self: end;
  justify-self: center;
  z-index: 5;
  width: min(180px, 100%);
  margin: 0;
  padding: 10px 28px;
  color: #222;
  background-color: #fff;
  border-color: #fff;
}

.main-kv .kv-detail-button:hover {
  color: #33312f;
  background-color: #ffea00;
  border-color: #ffea00;
}

@media (max-width: 768px) {
  .main-kv .kv-detail-button {
    grid-column: 8 / 12;
    width: 100%;
    padding: 8px 12px;
    font-size: 1.2rem;
  }
}

/* iPhone SE付近では説明文と同じ行を避け、下画像の上に配置 */
@media (max-width: 420px) {
  .main-kv .kv-detail-button {
    grid-area: 6 / 8 / 7 / 12;
    align-self: start;
    margin-top: 12px;
  }
}

/* ------------------------------------ */
/* テキスト装飾 */
/* ------------------------------------ */
.kv-catch {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: #fff;
  white-space: nowrap;
}

.kv-title-box {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.the-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: serif;
  font-size: 5.6rem;
  line-height: 1;
  letter-spacing: 0.1em;
  padding: 0;
}

@media (max-width: 768px) {
  .the-text {
    font-size: 2.6rem;
  }
}

.main-title {
  font-family: serif;
  font-size: 10rem;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: normal;
  color: #fff;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 5rem;
  }
}

.kv-line {
  width: 192px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 12px 0;
}

.kv-desc {
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: #fff;
}

/* ------------------------------------ */
/* 時間差ふわっとアニメーション */
/* ------------------------------------ */

/* 共通 */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s forwards cubic-bezier(0.25, 1, 0.5, 1);

  /* 【追加】iPhone（Safari）の描画エンジンを強制起動させ、バグを防ぐ */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: opacity, transform;
}

/* 通常（上画像・テキスト・下画像） */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------ */
/* item-mid専用 */
/* ------------------------------------ */

.item-mid.fade-in {
  animation: fadeInUpMid 0.7s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 1180px) {
  .item-mid.fade-in {
    animation-name: fadeInUpMidResponsive;
  }
}

@keyframes fadeInUpMid {
  from {
    opacity: 0;
    transform: translate(30%, calc(11% + 20px));
  }

  to {
    opacity: 0.7;
    transform: translate(30%, 11%);
  }
}

@keyframes fadeInUpMidResponsive {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* ------------------------------------ */
/* ディレイ delayアニメーション*/
/* ------------------------------------ */
.main-kv .delay-1 {
  animation-delay: 0.1s;
}

.main-kv .delay-2 {
  animation-delay: 0.35s;
}

.main-kv .delay-3 {
  animation-delay: 0.6s;
}

.main-kv .delay-4 {
  animation-delay: 0.85s;
}

/* .main-kv .delay-5 {
  animation-delay: 1.1s;
} */

/* ============================================================
   SCENE共通レイアウト
============================================================ */
.scene-container {
  max-width: 792px;
  width: 100%;
  box-sizing: border-box;
}

.scene-header {
  max-width: 100%;
  width: 50%;
  /* margin-bottom: 50px; */
  padding: 40px 0 40px 40px;
}

@media (max-width: 768px) {
  .scene-header {
    width: 96%;
    padding: 20px;
    /* margin-bottom: 25px; */
  }
}

/* 番号と見出し */
.scene-number {
  display: flex;
  align-items: baseline;
  margin: 0 0 15px 0;
}

.scene-number .num {
  font-size: var(--fs-number);
  line-height: 1;
  letter-spacing: -2px;
}

.scene-number .text {
  font-size: var(--fs-text);
  margin-left: 5px;
}

.scene-title {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
}

.scene-description {
  font-size: var(--fs-desc);
  text-align: justify;
  line-height: 1.8;
  margin: 0;
  color: #333;
}

.right-layout .scene-header {
  margin-left: auto;
}

@media (max-width: 768px) {
  .right-layout .scene-header {
    width: 85%;
  }
}

/* メイン画像とサブ画像の重ねレイアウト */
.main-image {
  grid-area: 1 / 1;
  width: 84%;
  justify-self: end;
  z-index: 1;
}

.main-image img {
  width: 100%;
  display: block;
}

.description-wrap {
  margin-top: calc(var(--overlap) + 10%);
  padding: 20px 20px 36px;
}

@media (max-width: 768px) {
  .description-wrap {
    margin-top: calc(var(--overlap) + 5);
  }
}

.sub-image {
  grid-area: 1 / 1;
  width: 64%;
  justify-self: start;
  align-self: end;
  transform: translate(-12%, var(--overlap));
  z-index: 2;
}

@media (max-width: 768px) {
  .sub-image {
    width: 42%;
  }
}

.sub-image img {
  width: 100%;
  display: block;
}

/* --------------------------------------- */
/* LIMITED MOVIE バナー */
/* --------------------------------------- */

.limited-movie-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 792px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
  background-color: #292724;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 768px) {
  .limited-movie-banner {
    padding: 40px 15px;
  }
}

.limited-movie-banner .sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .limited-movie-banner .sp {
    display: block;
  }
}

.limited-movie-banner .lm-title {
  color: #cca86a;
  font-family: serif;
  font-size: 2.8rem;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin: 0;
}

/* 中央の短い区切り線 */

.limited-movie-banner .lm-line {
  width: 30px;
  height: 2px;
  background-color: #cca86a;
  margin: 20px auto;
}

.limited-movie-banner .lm-text {
  color: #ffffff;
  font-family: serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .limited-movie-banner .lm-text {
    font-size: 1.5rem;
  }
}

/* --------------------------------------- */
/* --- タイトル周り --- */
/* --------------------------------------- */

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h3 {
  font-family: serif;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
}

.section-header .en-title {
  display: block;
  font-size: 3.2rem;
  font-weight: bold;
  color: #666;
  letter-spacing: 0.05em;
}

.section-header .stars {
  color: #a87b2d;
  /* 星の色 */
  font-size: 2rem;
  letter-spacing: 4px;
  margin-top: 5px;
}

/* ------------------------------------ */
/* scene-Type00 */
/* ------------------------------------ */

.scene-type0 {
  padding: 72px 0 72px 120px;
  background: #f3f3f3;
}

@media (max-width: 768px) {
  .scene-type0 {
    padding: 60px 0 60px 20px;
  }
}

.scene-type0 .scene-container {
  display: grid;
  grid-template-columns: 80px 1fr;
  /* 縦文字 + 本文*/
  grid-template-rows: auto auto;
  position: relative;
}

/* 縦文字 */

.scene-type0 .title-vertical {
  grid-column: 1;
  grid-row: 1;
  writing-mode: vertical-rl;
  font-size: 3.2rem;
  letter-spacing: 0.8em;
  z-index: 10;
  padding: 0 4rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .scene-type0 .title-vertical {
    font-size: 2.8rem;
    padding: 0 2rem;
  }
}

/* videoエリア */

.scene-type0 .scene-visuals {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-self: end;
  width: 100%;
}

/* メイン動画 */

.scene-type0 .main-video {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  z-index: 1;
}

.scene-type0 .main-video video {
  width: 100%;
  display: block;
}

/* ハンドル写真 */

.scene-type0 .sub-image {
  grid-column: 1;
  grid-row: 1;
  width: 37%;
  justify-self: end;
  align-self: end;
  transform: translate(64%, -32%);
  z-index: 2;
}

@media (max-width: 768px) {
  .scene-type0 .sub-image {
    transform: translate(0%, -136%);
  }
}

.scene-type0 .sub-image img {
  width: 100%;
  display: block;
}

/* テキスト */

.scene-type0 .text-area {
  grid-column: 1 / 3;
  grid-row: 2;
  margin-top: 80px;
  z-index: 3;
}

.scene-type0 .text-area .title-horizontal {
  font-size: 3.2rem;
  letter-spacing: 0.4em;
  margin-bottom: 20px;
}

/* ーーーーーーーーーーーーーーーーー */
/* scene-rain-day */
/* ーーーーーーーーーーーーーーーーー */

.scene-rain-day {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
    180deg,
    #6c7a92 0%,
    #475470 30%,
    #202838 70%,
    #0d121a 100%
  );
}

.rain-story__background,
.rain-story__background video,
.rain-story__rain-overlay,
.rain-story__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rain-story__background {
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.rain-story__background video {
  object-fit: cover;
  object-position: center;
}

.rain-story__rain-overlay {
  object-fit: cover;
  object-position: center;
  opacity: 0.24;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

.rain-story__shade {
  background: linear-gradient(
    180deg,
    rgba(18, 28, 44, 0.38) 0%,
    rgba(13, 20, 32, 0.5) 45%,
    rgba(7, 12, 19, 0.72) 100%
  );
}

.rain-story {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(80px, 13vw, 110px) clamp(24px, 6.3vw, 50px);
  font-family: "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.rain-story__lead {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(88px, 15vw, 120px);
}

.rain-story__lead p,
.rain-story__closing p {
  margin: 0;
  color: #fff;
  font-weight: normal;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.rain-story__lead p {
  font-size: clamp(2rem, 3.3vw, 2.6rem);
  line-height: 2.5;
  letter-spacing: 0.4em;
}

.rain-story__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(8px, 2.5vw, 20px);
  margin-bottom: clamp(96px, 15vw, 120px);
}

/* スクロールに合わせ、各シーンを一度だけ順番に表示 */
.rain-story__row,
.rain-story__closing {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(3px);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s ease;
  will-change: opacity, transform, filter;
}

.rain-story__row.is-visible,
.rain-story__closing.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.rain-story__image {
  margin: 0;
}

.rain-story__image img {
  display: block;
  width: 100%;
  height: auto;
}

.rain-story__text {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 1.9vw, 1.5rem);
  line-height: 2.2;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.rain-story__image-1 {
  grid-column: 1 / 7;
  grid-row: 1;
}

.rain-story__text-1 {
  grid-column: 7 / 13;
  grid-row: 1;
  align-self: end;
  padding: 0 0 10px 20px;
}

.rain-story__text-2 {
  grid-column: 2 / 6;
  grid-row: 1;
  align-self: center;
}

.rain-story__image-2 {
  grid-column: 6 / 10;
  grid-row: 1;
}

.rain-story__image-3 {
  grid-column: 9 / 12;
  grid-row: 1;
  align-self: end;
  z-index: 1;
  margin-bottom: -40px;
}

.rain-story__scene-3 {
  row-gap: 15px;
  margin-bottom: clamp(110px, 17.5vw, 140px);
}

.rain-story__image-4,
.rain-story__text-3 {
  grid-column: 8 / 13;
}

.rain-story__image-4 {
  grid-row: 1;
}

.rain-story__text-3 {
  grid-row: 2;
}

.rain-story__closing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rain-story__closing p {
  margin: 50px 0;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  line-height: 2.1;
  letter-spacing: 0.3em;
}

.rain-story__line {
  width: 1px;
  height: clamp(90px, 15vw, 120px);
  background-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 480px) {
  .rain-story {
    padding-right: 20px;
    padding-left: 20px;
  }

  .rain-story__text {
    font-size: 1.2rem;
    line-height: 2;
    letter-spacing: 0.05em;
  }

  .rain-story__text-1 {
    padding-left: 8px;
  }

  .rain-story__text-2 {
    grid-column: 1 / 6;
  }

  .rain-story__image-2 {
    grid-column: 6 / 11;
  }

  .rain-story__image-3 {
    grid-column: 9 / 13;
    margin-bottom: -24px;
  }

  .rain-story__image-4,
  .rain-story__text-3 {
    grid-column: 7 / 13;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rain-story__row,
  .rain-story__closing {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ------------------------------------ */
/* night-room-tour */
/* ------------------------------------ */
.night-room-tour {
  padding: 0;
}

.night-room-tour .main-img {
  width: 100%;
  max-width: 680px;
  margin-top: -2px;
  margin-left: auto;
}

.night-room-tour .main-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.night-room-tour__video-wrap {
  position: relative;
}

.night-room-tour__replay {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 104px;
  height: 104px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  background: rgba(16, 16, 16, 0.58);
  font: inherit;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.night-room-tour__replay[hidden] {
  display: none;
}

.night-room-tour__replay:hover,
.night-room-tour__replay:focus-visible {
  background: rgba(16, 16, 16, 0.78);
  transform: translate(-50%, -50%) scale(1.05);
}

.night-room-tour__replay:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.night-room-tour__replay-icon {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
}

@media (max-width: 480px) {
  .night-room-tour__replay {
    width: 88px;
    height: 88px;
    gap: 7px;
    font-size: 1.1rem;
  }

  .night-room-tour__replay-icon {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 13px;
  }
}

.mov-layout0 {
  margin: 0vw 0;
  background-color: rgb(224, 224, 224);
}

/* ボタンの上下を同じ余白にする */
section.CTA {
  padding: 72px 0;
}

.CTA > .column-button {
  margin: 0 auto;
}

/* 動画側の上余白をなくす */
.CTA + .mov-layout {
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 768px) {
  section.CTA {
    padding: 36px 0;
  }
}

/* ============================================================
   CONCEPTスライダー（01〜04）
============================================================ */
/* スライダー共通 */
.concept-slider-section {
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.conceptSwiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.conceptSwiper > .swiper-wrapper {
  flex-direction: row;
  align-items: stretch;
}

.conceptSwiper > .swiper-wrapper > .swiper-slide {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Concept 01〜04：03を基準にした静止画・背景・本文の共通レイアウト */
.conceptSwiper .gallery-section {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  max-width: 792px;
  margin-inline: auto;
  box-sizing: border-box;
  background-color: #f8f8fa;
  overflow: hidden;
}

.conceptSwiper .gallery-container-img {
  grid-column: 2 / 11;
  grid-row: 1;
  z-index: 2;
  min-width: 0;
}

.conceptSwiper .gallery-container-img img {
  display: block;
  width: 100%;
  aspect-ratio: 700 / 900;
  object-fit: cover;
}

.conceptSwiper .sub-image2 {
  grid-column: 5 / 13;
  grid-row: 2;
  z-index: 3;
  margin-top: 12%;
}

.conceptSwiper .sub-image2 img {
  display: block;
  width: 100%;
  height: auto;
}

.conceptSwiper .img-bg {
  grid-column: 1 / 12;
  grid-row: 1;
  align-self: end;
  height: 50%;
  background-color: #efeded;
  z-index: 1;
  transform: translateY(15%);
}

/* 本文の位置・余白も03と統一 */
.conceptSwiper .description-wrap {
  width: 100%;
  margin: 4% 0;
  padding: 20px 20px 36px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .conceptSwiper .gallery-container-img {
    width: 100%;
    justify-self: center;
  }

  .conceptSwiper .sub-image2 {
    grid-column: 5 / 12;
  }
}

.mov-layout {
  margin: 8vw 0 74px;
  background-color: #e0e0e0;
  padding-bottom: 0;

  /* @media (max-width: 768px) {
    margin: 16vw 0 74px;
  } */
}

/* ------------------------------------ */
/* scene-type05  scene-type-zirei*/
/* ------------------------------------ */

/* モーダル付きカードスライダー */
.cardSwiper > .swiper-wrapper {
  align-items: stretch;
}

.cardSwiper > .swiper-wrapper > .swiper-slide {
  height: auto;
}

/* padding-top: 144px;

  @media (max-width: 768px) {
    padding-top: 74px;
  } */

.scene-type-zirei .card-section {
  position: relative;
  max-width: 792px;
  margin: 0 auto; /* 0pxのpxを省略 */
  box-sizing: border-box;
}

.scene-type-zirei .thumbnail-container {
  width: 100%;
  margin: 0 auto;
  background-color: #e0e0e0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.scene-type-zirei .thumbnail-container:hover {
  opacity: 0.8;
}

.scene-type-zirei .thumbnail-container img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.scene-type-zirei .thumbnail-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 15px;
}

.scene-type-zirei .thumbnail-footer p {
  margin: 0;
  color: #555;
  font-size: 14px;
  font-weight: bold;
}

/* =========================================
  数字ナビゲーション（コンセプト・施工事例）
========================================= */

.concept-wrapper {
  padding: 20px 40px;
  text-align: center;
}

.concept-pagination-row,
.card-pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 34px 0 0;
  border-top: solid 0.5px;
}

.concept-prev,
.concept-next,
.card-prev,
.card-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.concept-prev:hover,
.concept-next:hover,
.card-prev:hover,
.card-next:hover {
  color: #111;
  transform: scale(1.08);
}

.concept-prev:focus-visible,
.concept-next:focus-visible,
.card-prev:focus-visible,
.card-next:focus-visible,
.concept-page-button:focus-visible,
.card-page-button:focus-visible {
  outline: 2px solid #1aa1b3;
  outline-offset: 4px;
}

.concept-pagination,
.card-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: auto !important;
}

.concept-page-button,
.card-page-button {
  width: auto;
  height: auto;
  margin: 0 !important;
  padding: 0;
  color: #777;
  font-family: "Times New Roman", "BIZ UDMincho", serif;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  opacity: 1;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.concept-page-button:hover,
.concept-page-button.is-active,
.card-page-button:hover,
.card-page-button.is-active {
  color: #111;
  transform: translateY(-2px);
}

.pagination-guide {
  padding: 0 20px 20px;
  text-align: center;
  font-size: 1.1rem;
  margin: 0 auto;
}

.pagination-guide-zirei {
  padding: 0 0 34px 0;
  text-align: center;
  font-size: 1.1rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .concept-pagination-row,
  .card-pagination-row {
    gap: 18px;
  }

  .concept-pagination,
  .card-pagination {
    gap: 16px;
  }

  .concept-page-button,
  .card-page-button {
    font-size: 1.7rem;
  }
}

/* ------------------------------------ */
/* 【モーダル】オーバーレイ*/
/* ------------------------------------ */

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 40px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
  }
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #333;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  z-index: 2;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #999;
}

/* モーダル内の情報レイアウト */
.property-info h2 {
  margin-top: 0;
  font-size: 24px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.property-details {
  font-size: 14px;
  margin-bottom: 30px;
  color: #555;
}

.property-details p {
  margin: 5px 0;
}

.property-section {
  margin-bottom: 40px;
}

.property-section img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.property-section h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
}

.property-section p {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .main-slider-wrapper {
    width: 85%;
  }

  .sub-image {
    width: 75%;
    bottom: -80px;
    right: 0;
  }

  .card-section {
    padding: 0 30px;
  }
}

/* =========================================
  カード下のテキスト・タグエリア
========================================= */
.card-info {
  position: relative;
  padding: 20px;
  text-align: left;
  background-color: #f7f7f7;
}

.card-info .card-title {
  margin: 0 0 10px;
  color: #111;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.4;
}

.card-info .card-subtitle {
  margin: 0 0 15px;
  color: #333;
  font-size: 1.4rem;
}
/* ハッシュタグのコンテナ */
.card-info .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;

  /* 個別のハッシュタグ */
}

.card-info .card-tags .tag-item {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .card-info .card-tags .tag-item {
    font-weight: normal;
  }
}
/* ハッシュタグの「#」の色 */
.card-info .card-tags .tag-item span {
  margin-right: 3px;
  color: #1aa1b3;
}

.thumbnail-footer .btn_more {
  display: inline-flex;
  align-items: center;
  padding: 8px 42px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #4f4b4b;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(203, 109, 109, 0.03);
}

/* --------------------------------------------------
  scene-type05  scene-type-zirei-mov
-------------------------------------------------- */
.scene-type-zirei-mov {
  background-color: rgb(239, 237, 237);
}

/* --------------------------------------------------
  車庫入れルームツアー 
-------------------------------------------------- */
.room-tour-section {
  max-width: 792px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 0;
  box-sizing: border-box;
  background-color: #f8f8fa;
  overflow: hidden;

  /* --- グリッドレイアウト --- */
}

.room-tour-section .tour-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  width: 100%;
}

.room-tour-section .img-bg {
  grid-column: 1 / 12;
  grid-row: 1;
  align-self: end;
  height: 50%;
  background-color: #efeded;
  z-index: 1;
  transform: translateY(15%);
}
/* 真ん中の動画エリア */
.room-tour-section .video-box {
  grid-column: 2 / 11;
  grid-row: 1;
  z-index: 2;
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 700 / 900;
  overflow: hidden;
  cursor: pointer;

  /* 背面の画像 */
}

.room-tour-section .video-box .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* 動画本体 */
.room-tour-section .video-box video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
/* 黒いレイヤーとホバー */
.room-tour-section .video-box .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  /* 初期状態の黒み */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;
  transition:
    opacity 0.4s ease,
    background-color 0.4s ease;
  z-index: 3;
}

.room-tour-section .video-box .video-overlay .border-frame {
  border: 1px solid rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.room-tour-section .video-box .video-overlay .border-frame p {
  font-family: serif;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.room-tour-section .video-box .video-overlay .border-frame .play-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  color: #333;
  font-size: 2rem;
  padding-left: 4px;
}
/* ホバー時の挙動 */
.room-tour-section .video-box:hover .video-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}
/* 再生中のクラスが付与された時のスタイル */
.room-tour-section .video-box.is-playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.room-tour-section .video-box.is-playing video {
  opacity: 1;
}

@media (max-width: 768px) {
  .room-tour-section .video-box {
    grid-column: 1 / 12;
    width: 100%;
    justify-self: center;
  }
}

/* -------------------------------------------------
    CheckPoint セクション
  /* ------------------------------------------------- */

.taiken-point {
  padding-bottom: 0;
}

.checkpoint-inner {
  margin: 0 auto;
  padding: 0 20px;
}

/* --- リスト部分 --- */
.checkpoint-list {
  list-style: none;
  padding: 0;
  margin: 0 0 80px 0;
}

.checkpoint-list li {
  display: flex;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #777777;
}

.checkpoint-list li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .checkpoint-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 0;
  }
}

.list-num {
  display: flex;
  align-items: center;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 4.6rem;
  line-height: 1;
  font-weight: normal;
  padding-right: 25px;
  margin-right: 25px;
  border-right: 1px solid #1a1a1a;
}

@media (max-width: 768px) {
  .list-num {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 15px;
    font-size: 38px;
  }

  .list-num::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 20px;
    background-color: #1a1a1a;
    margin-left: 15px;
    transform: rotate(20deg);
  }
}

.list-text {
  flex: 1;
}

.list-text h3 {
  font-size: 1.8rem;
  margin: 0 0 8px 0;
  font-weight: normal;
}

@media (max-width: 768px) {
  .list-text h3 {
    font-size: 16px;
    font-weight: bold;
  }
}

.list-text p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #333333;
}

/* ------------------------------------ */
/* --- 下部 体験案内（CTA）エリア --- */
/* ------------------------------------ */

.checkpoint-cta {
  background-color: #33312f;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.checkpoint-cta .sp {
  display: none;
}

@media (max-width: 768px) {
  .checkpoint-cta .sp {
    display: block;
  }
}

.cta-inner {
  margin: 0 auto;
}

.cta-title {
  font-family: "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 2.4rem;
  font-weight: normal;
  margin: 0 0 30px 0;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .cta-title .cta-title {
    font-size: 2rem;
  }
}

.cta-text {
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.8;
  margin: 0 0 40px 0;
  letter-spacing: 0.05em;
}

.cta-button {
  display: inline-block;
  border: 1px solid #ffffff;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  padding: 16px 60px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #ffffff;
  color: #33312f;
}

/* ------------------------------------ */
/* オーナーの声 */
/* ------------------------------------ */

.scene-type-voice {
  background-color: #333;
}

.scene-type-voice .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.scene-type-voice .section-header h3 {
  color: #fff;
}

.scene-type-voice .section-header .en-title {
  color: #fff;
}

.voice-slider-wrapper {
  position: relative;
  padding: 0 20px;
  box-sizing: border-box;
}

.voiceSwiper {
  width: 100%;
  overflow: hidden;
}

.voiceSwiper .swiper-slide {
  height: auto;
}

.voiceSwiper .card-wrap {
  height: 100%;
}

.card-wrap {
  background-color: #fff;
  padding: 20px;
}

.card-wrap h3 {
  margin: 10px 0;
}

.card-wrap p {
  font-size: 1.4rem;
  text-align: justify;
}

@media (max-width: 768px) {
  .voice-slider-wrapper {
    padding: 0 25px;
  }
}

.voiceSwiper .swiper-wrapper {
  transition-timing-function: linear;
}

/* ------------------------------------ */
/* モデルハウス */
/* ------------------------------------ */
.modelhouse {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding: 80px 40px;
}

.modelhouse .modelhouse-card {
  background-color: #fff;
  max-width: 100%;
  margin: 0 auto;
}

.modelhouse .modelhouse-card .card-wrap {
  background-color: #fff;
}

.modelhouse .modelhouse-card .card-wrap .card-img {
  display: flex;
  justify-content: center;
}

.modelhouse .modelhouse-card .card-wrap .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modelhouse .modelhouse-card .card-model-info {
  padding: 20px 0;
}

.modelhouse .modelhouse-card .card-model-info .model-name {
  font-size: 2rem;
  font-weight: bold;
}

.modelhouse .modelhouse-card .card-model-info .address {
  font-size: 1.6rem;
  margin: 0 0 5px;
}

.modelhouse .modelhouse-card .card-model-info .description {
  font-size: 1.4rem;
  margin: 0;
}

.modelhouse .modelhouse-card .model-cta-button {
  display: inline-block;
  border: 1px solid #ffffff;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 60px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #33312f;
}

.modelhouse .modelhouse-card .model-cta-button:hover {
  background-color: #ffea00;
  color: #33312f;
}

.modelhouse-slider-section,
.modelhouseSwiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.modelhouseSwiper > .swiper-wrapper {
  align-items: stretch;
}

.modelhouseSwiper > .swiper-wrapper > .swiper-slide {
  height: auto;
}

.modelhouseSwiper .modelhouse-card,
.modelhouseSwiper .card-wrap,
.modelhouseSwiper .card-wrap > a {
  height: 100%;
}

.modelhouseSwiper .card-wrap > a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.modelhouseSwiper .model-cta-button {
  align-self: flex-start;
  margin-top: auto;
}

.modelhouse-pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 34px;
  padding: 34px 0 0;
  border-top: solid 0.5px;
}

.modelhouse-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: auto !important;
}

.modelhouse-prev,
.modelhouse-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.modelhouse-page-button {
  width: auto;
  height: auto;
  margin: 0 !important;
  padding: 0;
  color: #777;
  font-family: "Times New Roman", "BIZ UDMincho", serif;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.modelhouse-prev:hover,
.modelhouse-next:hover {
  color: #111;
  transform: scale(1.08);
}

.modelhouse-page-button:hover,
.modelhouse-page-button.is-active {
  color: #111;
  transform: translateY(-2px);
}

.modelhouse-prev:focus-visible,
.modelhouse-next:focus-visible,
.modelhouse-page-button:focus-visible {
  outline: 2px solid #1aa1b3;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .modelhouse {
    padding: 40px 0;
  }

  .modelhouse-pagination-row {
    gap: 12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .modelhouse-pagination {
    gap: 14px;
  }

  .modelhouse-prev,
  .modelhouse-next {
    width: 32px;
  }

  .modelhouse-page-button {
    font-size: 1.7rem;
  }
}

/* ------------------------------------ */
/* モデルハウスmov */
/* ------------------------------------ */

.scene-type-day {
  background-color: rgb(239, 237, 237);
  max-width: 100%;
  width: 100%;
}

/* タブレット幅でPC用の装飾が画面外へ飛び出さないように調整 */
@media (min-width: 769px) and (max-width: 1180px) {
  .scene-type0 {
    padding: 60px 20px;
  }

  .scene-type0 .title-vertical {
    font-size: 2.8rem;
    padding-inline: 2rem;
  }

  .scene-type0 .sub-image {
    transform: translate(0, -64%);
  }
}

/* その他のボタン */
.column-button {
  /* display: inline-block; */
  display: flex;
  justify-content: center;
  border: 1px solid #ffffff;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  padding: 16px 50px;
  font-size: 15px;
  transition: all 0.3s ease;
  margin: 0 auto;
  background-color: #33312f;
  margin: 20px auto;
  width: 240px;
}

.column-button:hover {
  background-color: #ffea00;
  color: #33312f;
}

.column-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
