/* ================================================================
   BASE ONE - Landing Page Stylesheet
   京都伏見久我石原町 新築分譲住宅 全4邸
   ================================================================ */

/* ----------------------------------------------------------------
   0. CSS Custom Properties (Design Tokens)
   ---------------------------------------------------------------- */
:root {
  /* Colors — Base */
  --graphite: #1e293b;
  --graphite-deep: #0f172a;
  --dark-navy: #1a1f3d;
  --off-white: #f8fafc;
  --off-white-warm: #f1f5f9;
  --mid-gray: #64748b;
  --light-gray: #cbd5e1;
  --border-gray: #e2e8f0;

  /* Colors — Accent */
  --saffron: #eab308;
  --saffron-light: #fef3c7;
  --saffron-dark: #ca8a04;
  --emerald: #10b981;
  --emerald-light: #d1fae5;

  /* Typography */
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 7rem);
  --container-pad: clamp(1rem, 4vw, 2rem);
  --container-max: 1200px;

  /* Misc */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,.06);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,.12);
  --shadow-float: 0 -4px 20px rgba(0,0,0,.15);
  --transition: .3s cubic-bezier(.4,0,.2,1);

  /* Header */
  --header-h: 72px;
}

/* ----------------------------------------------------------------
   1. Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-jp);
  font-size: clamp(.875rem, 1.6vw, 1rem);
  line-height: 1.8;
  color: var(--graphite);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

table {
  border-collapse: collapse;
  width: 100%;
}

/* ----------------------------------------------------------------
   2. Utility
   ---------------------------------------------------------------- */
.nobrk {
  display: inline-block;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.sp-only { display: none; }

@media (max-width: 767px) {
  .sp-only { display: inline; }
}

/* ----------------------------------------------------------------
   3. Section Base
   ---------------------------------------------------------------- */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--graphite-deep);
  color: var(--off-white);
}

.section--light {
  background: var(--off-white-warm);
}

.section--nopad {
  padding-bottom: 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(.7rem, 1.2vw, .8rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  background: var(--saffron-light);
  padding: .25em .8em;
  border-radius: 100px;
  margin-bottom: .8rem;
}

.section-label--accent {
  background: var(--saffron);
  color: var(--graphite-deep);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}

.section-title--light {
  color: var(--off-white);
}

.section-desc {
  margin-top: .8rem;
  color: var(--mid-gray);
  font-size: clamp(.85rem, 1.5vw, 1rem);
}

.section-desc--light {
  color: var(--light-gray);
}

/* ----------------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: clamp(.85rem, 1.4vw, .95rem);
  padding: .8em 1.8em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--accent {
  background: var(--saffron);
  color: var(--graphite-deep);
  border-color: var(--saffron);
}

.btn--accent:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234,179,8,.35);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.btn--lg {
  padding: 1em 2.2em;
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
}

.btn--xl {
  padding: 1.1em 3em;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  border-radius: var(--radius-md);
}

/* ----------------------------------------------------------------
   5. HEADER
   ---------------------------------------------------------------- */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96); /* 白色半透明 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gray);
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow var(--transition);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  filter: none; /* 白背景なので白黒反転を削除 */
}

.logo-tagline {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 700;
  color: var(--graphite);
  border-left: 1.5px solid var(--border-gray);
  padding-left: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-nav {
  display: flex;
  gap: .6rem;
  align-items: center;
}

.header-cta {
  display: none; /* デフォルト非表示、PCサイズで表示 */
  align-items: center;
  gap: .4em;
  font-size: .82rem;
  font-weight: 600;
  padding: .55em 1.1em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.header-cta--contact-reserve {
  background: var(--emerald);
  color: #ffffff;
  border: 1px solid var(--emerald);
}

.header-cta--contact-reserve:hover {
  background: #059669;
  border-color: #059669;
  transform: translateY(-1px);
}

.header-cta--phone {
  background: var(--saffron);
  color: var(--graphite-deep);
  border: 1px solid var(--saffron);
}

.header-cta--phone:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  transform: translateY(-1px);
}

/* --- ハンバーガーメニューボタン --- */
.menu-trigger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
  position: relative;
  padding: 0;
}

.menu-trigger span {
  width: 100%;
  height: 2px;
  background-color: var(--graphite);
  transition: all var(--transition);
  transform-origin: left center;
  border-radius: 2px;
}

/* アニメーション用クラス */
.menu-trigger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -2px);
}
.menu-trigger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.menu-trigger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 2px);
}

/* --- ドロワーメニュー --- */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態は隠す */
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 1005;
  box-shadow: -4px 0 30px rgba(0,0,0,0.08);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-menu.is-active {
  right: 0;
}

.drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.drawer-nav ul li a {
  display: block;
  padding: 0.7rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--graphite);
  border-bottom: 1px solid var(--border-gray);
  transition: all var(--transition);
}

.drawer-nav ul li a:hover {
  background: var(--off-white);
  color: var(--saffron-dark);
  padding-left: 1.1rem;
}

.drawer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  transition: all var(--transition);
}

.drawer-btn--phone {
  background: var(--off-white-warm);
  color: var(--graphite);
  border: 1px solid var(--border-gray);
}

.drawer-btn--reserve {
  background: var(--saffron);
  color: var(--graphite-deep);
}

.drawer-btn--contact {
  background: var(--graphite-deep);
  color: #fff;
}

/* オーバーレイ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 1004;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}

.drawer-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ----------------------------------------------------------------
   6. MAIN VISUAL
   ---------------------------------------------------------------- */
#main-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* どの画面サイズでも動画の全体がトリミングされず16:9の比率で表示されるようにする */
  overflow: hidden;
  background: var(--graphite-deep);
}

.mv-video-wrap {
  width: 100%;
  height: 100%;
}

.mv-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 枠内に完全に動画を収める */
  display: block;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(1.5); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   7. CONCEPT
   ---------------------------------------------------------------- */
#concept {
  background-color: #ffffff;
  background-image: radial-gradient(var(--light-gray) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  overflow: hidden; /* 横幅はみ出しによるスクロールを完全に防止 */
}

.concept-header {
  position: relative; /* 椅子配置の基準点 */
  text-align: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.concept-shelf-wrap {
  position: absolute;
  left: -90px;
  top: 90px;
  width: 220px;
  z-index: 1;
  /* アニメーション初期設定：下から、傾いて透明 */
  opacity: 0;
  transform: translateY(50px) rotate(15deg) scale(0.9);
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* 表示されたら、時間差でふわっと起き上がるように出現 */
.concept-header.is-visible .concept-shelf-wrap {
  opacity: 1;
  transform: translateY(0) rotate(5deg) scale(1);
  transition-delay: 1.1s;
}

.concept-shelf-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(15,23,42,0.14));
  display: block;
  mix-blend-mode: multiply; /* 白背景を透過 */
  animation: floating-shelf 4.5s ease-in-out infinite;
}

@keyframes floating-shelf {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.concept-door-wrap {
  position: absolute;
  left: -125px; /* 文字に重なりすぎないよう少し左へ外す */
  bottom: -90px;
  width: 220px; /* 170pxから220pxに拡大 */
  z-index: 1;
  /* アニメーション初期設定：下から、傾いて透明 */
  opacity: 0;
  transform: translateY(50px) rotate(15deg) scale(0.9);
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* 表示されたら、時間差でふわっと起き上がるように出現 */
.concept-header.is-visible .concept-door-wrap {
  opacity: 1;
  transform: translateY(0) rotate(5deg) scale(1);
  transition-delay: 1.1s;
}

.concept-door-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(15,23,42,0.14));
  display: block;
  animation: floating-door 4.5s ease-in-out infinite;
}

@keyframes floating-door {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.concept-chair-wrap {
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 250px;
  z-index: 1;
  /* アニメーション初期設定：下から、傾いて透明 */
  opacity: 0;
  transform: translateY(50px) rotate(-15deg) scale(0.9);
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* 表示されたら、時間差でふわっと起き上がるように出現 */
.concept-header.is-visible .concept-chair-wrap {
  opacity: 1;
  transform: translateY(0) rotate(-5deg) scale(1);
  transition-delay: 1.1s;
}

.concept-chair-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(15,23,42,0.14));
  display: block;
  animation: floating 4.5s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* スクロール連動のアニメーション初期設定 */
.concept-lead-wrap,
.title-line1,
.title-line2,
.title-line3,
.concept-intro-text {
  opacity: 0;
  transform: translateY(35px); /* 下からふわっと浮き上がる初期値 */
  transition: opacity 1.1s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 1.1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* 表示時の時間差（ディレイ）フェードイン */
.concept-header.is-visible .concept-lead-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.concept-header.is-visible .title-line1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.concept-header.is-visible .title-line2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.concept-header.is-visible .title-line3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

.concept-header.is-visible .concept-intro-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.concept-lead-wrap {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
}

.concept-lead {
  font-family: 'M PLUS Rounded 1c', var(--font-jp); /* 遊び心のある丸ゴシック */
  font-size: clamp(1.2rem, 2.6vw, 1.65rem); /* さらに拡大 */
  font-weight: 800;
  color: var(--graphite-deep);
  /* 蛍光ペン風マーカー（左から引くアニメーション用） */
  background: linear-gradient(transparent 55%, rgba(234, 179, 8, 0.45) 55%) no-repeat;
  background-size: 0% 100%;
  background-position: left bottom;
  padding: 0.15em 0.8em;
  display: inline-block;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}

.concept-header.is-visible .concept-lead {
  background-size: 100% 100%;
}

.concept-title {
  position: relative;
  z-index: 2;
  font-family: 'Yusei Magic', 'M PLUS Rounded 1c', var(--font-jp);
  font-size: clamp(2.2rem, 7vw, 4.4rem); /* ベースサイズを大きく */
  font-weight: 900;
  line-height: 1.45;
  color: var(--graphite-deep);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  /* ぼやけを防ぐため、控えめで上品なソフトシャドウに調整 */
  text-shadow: 1px 1px 2px rgba(15, 23, 42, 0.1);
}

.title-line1,
.title-line2,
.title-line3 {
  display: block;
}

.title-line1 {
  font-size: 0.52em; /* 伏見久我石原町に */
  margin-bottom: 0.3em;
}

.title-line2 {
  font-size: 0.52em; /* BASE ONEを採用した */
  margin-bottom: 0.3em;
}

.brand-highlight {
  font-size: 1.75em; /* BASE ONEを巨大に */
  color: var(--graphite-deep); /* 画像に合わせて濃紺に */
  font-weight: 900;
  letter-spacing: 0.02em;
  display: inline-block;
  transform: scaleY(1.05); /* 縦に少し伸ばしてインパクトを出す */
}

.title-line3 {
  font-size: 0.72em; /* 限定４邸が誕生！ */
  letter-spacing: 0.06em;
}

.concept-intro {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.concept-intro-text {
  font-family: 'M PLUS Rounded 1c', var(--font-jp);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.95;
  color: var(--mid-gray);
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 960px;
  margin: 3.5rem auto 0;
  align-items: stretch;
}

.concept-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

/* 横長カードレイアウト */
.concept-card--horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.5rem;
  padding: 0 !important;
  overflow: hidden;
  height: 220px; /* 縦幅を220pxに固定し、2つのカードの高さを揃える */
}

.concept-card__left {
  flex: 1.3;
  padding: clamp(0.6rem, 1.2vw, 1rem) clamp(1.2rem, 2.5vw, 2.2rem); /* 上下パディングを詰めてコンパクト化 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.concept-card__right {
  flex: 1;
  position: relative;
  /* min-height は親要素の height に委ねるため削除 */
}

.concept-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-card--horizontal .concept-card__title {
  margin-bottom: 0.4rem; /* タイトルとラベルの隙間を詰める */
}

.concept-card__list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列配置 */
  gap: clamp(4px, 1.2vw, 10px) 1.2rem;   /* 縦の隙間は小さく、横はある程度とる */
  margin-top: 0.6rem;
}

.concept-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  padding: 0.35em 0.8em;
  border-radius: 6px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.label--green { background-color: #e8f5e9; color: #2e7d32; }
.label--orange { background-color: #fff3e0; color: #e65100; }
.label--red { background-color: #ffebee; color: #c62828; }
.label--blue { background-color: #e3f2fd; color: #1565c0; }
.label--gold { background-color: #fff8e1; color: #b88d00; }
.label--gray { background-color: #f5f5f5; color: #616161; }

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}



/* 高いカスタム性カード専用スタイル */

.concept-card--custom .concept-card__left {
  text-align: right;
  align-items: flex-end;
}

.concept-card--custom .concept-card__text {
  margin-bottom: 0;
  line-height: 1.75;
  font-size: clamp(0.78rem, 1.3vw, 0.9rem);
  color: var(--mid-gray);
}

.concept-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.concept-card__title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .8rem;
}

.concept-card__text {
  color: var(--mid-gray);
  font-size: clamp(.85rem, 1.4vw, .95rem);
  margin-bottom: 1.2rem;
}

.concept-card__list li {
  padding: .3em 0 .3em 1.2em;
  position: relative;
  font-size: clamp(.82rem, 1.3vw, .92rem);
  color: var(--mid-gray);
}

.concept-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--saffron-dark);
  font-weight: 700;
}

.concept-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-symbol {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--saffron);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--saffron);
  border-radius: 50%;
}

/* ----------------------------------------------------------------
   8. CAMPAIGN
   ---------------------------------------------------------------- */
.campaign-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.campaign-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.campaign-box:hover {
  border-color: var(--saffron);
  background: rgba(255,255,255,.08);
}

.campaign-box--main {
  background: linear-gradient(135deg, rgba(234,179,8,.1) 0%, rgba(255,255,255,.03) 100%);
  border-color: rgba(234,179,8,.3);
}



.campaign-box__title {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.campaign-box__title strong {
  font-weight: 900;
}

.highlight {
  color: var(--saffron);
  font-size: 1.2em;
}

.campaign-box__text {
  color: var(--light-gray);
  font-size: clamp(.85rem, 1.3vw, .92rem);
  margin-bottom: 1.2rem;
}

.campaign-box__period {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: clamp(.8rem, 1.2vw, .88rem);
  color: var(--saffron-light);
  background: rgba(234,179,8,.1);
  padding: .6em 1em;
  border-radius: var(--radius-sm);
}



/* ----------------------------------------------------------------
   10. PLAN GALLERY
   ---------------------------------------------------------------- */
#plan-gallery {
  background-color: #ffffff; /* 背景は白 */
}

.plan-hero-row {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.plan-hero-col--left {
  flex: 0 0 50%;
  max-width: 50%;
}

.plan-hero-col--right {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.plan-hero__image-wrap {
  width: 100%;
  aspect-ratio: 4 / 5; /* 縦長画像に最適な比率 */
  background: #f8fafc;
  overflow: hidden;
  border-radius: 24px; /* 四隅すべて丸める */
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8fafc;
}

.plan-hero__caption-text {
  font-size: 0.72rem;
  color: var(--mid-gray);
  margin-top: 0.6rem;
  text-align: left;
  line-height: 1.4;
}

/* タイトルとフローティングテキスト */
/* タイトルと出現する分割テキスト */
.plan-hero__title {
  position: relative;
  display: inline-block; /* 下線を文字幅に合わせるため */
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--graphite-deep);
  line-height: 1.3;
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem); /* テキストとの間隔を広げて上に配置 */
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  padding-bottom: 8px;
}

/* 緑の蛍光ペン下線 */
.plan-hero__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: clamp(8px, 1.5vw, 12px); /* 太めの蛍光ペン風の線 */
  background: rgba(16, 185, 129, 0.35); /* エメラルドグリーン */
  border-radius: 4px;
  z-index: -1; /* 文字の後ろに通す */
  transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* スクロール（.is-visible）で下線を引く */
.plan-hero-row.is-visible .plan-hero__title::after {
  width: 100%;
}

.plan-hero__text-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 0.9rem);
}

/* 初期状態：下からふわっと出現するため透明にして少し下げる */
.plan-hero__text-list.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

/* 親要素が画面に入ったらスタッガーフェードイン */
.plan-hero-row.is-visible .plan-hero__text-list.stagger-children > * {
  opacity: 1;
  transform: translateY(0);
}

.plan-hero-row.is-visible .plan-hero__text-list.stagger-children > *:nth-child(1) { transition-delay: 0.15s; }
.plan-hero-row.is-visible .plan-hero__text-list.stagger-children > *:nth-child(2) { transition-delay: 0.3s; }
.plan-hero-row.is-visible .plan-hero__text-list.stagger-children > *:nth-child(3) { transition-delay: 0.45s; }
.plan-hero-row.is-visible .plan-hero__text-list.stagger-children > *:nth-child(4) { transition-delay: 0.6s; }
.plan-hero-row.is-visible .plan-hero__text-list.stagger-children > *:nth-child(5) { transition-delay: 0.75s; }

.plan-desc-line {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--graphite-deep);
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.12); /* 文字の薄い影 */
}

/* 3LDKを一番大きく強調 */
.plan-desc-line--large {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  margin: 0.1rem 0;
  letter-spacing: 0.02em;
}

/* スマホ表示での調整（横並びを完全にキープ） */
@media (max-width: 767px) {
  .plan-hero-row {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .plan-hero-col--left {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .plan-hero-col--right {
    flex: 0 0 55%;
    max-width: 55%;
  }
  .plan-hero__image-wrap {
    border-radius: 12px;
  }
  .plan-hero__title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    padding-bottom: 4px;
  }
  .plan-hero__title::after {
    height: 6px;
    bottom: 0px;
  }
  .plan-hero__text-list {
    gap: 0.3rem;
  }
  .plan-desc-line {
    font-size: 0.82rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
  }
  .plan-desc-line--large {
    font-size: 1.5rem;
    margin: 0.1rem 0;
  }
  .plan-hero__caption-text {
    font-size: 0.55rem;
    margin-top: 0.3rem;
  }
}

/* Plan Tabs - 送付画像に基づくカプセル型デザイン */
.plan-tabs-title {
  text-align: center;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  font-weight: 700;
  color: var(--mid-gray);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.plan-tabs {
  display: flex;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 100px;
  padding: 6px;
  gap: 4px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  max-width: 360px; /* テキスト削除に伴い、コンパクトに */
}

.plan-tab {
  flex: 1;
  font-family: var(--font-jp);
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  font-weight: 700;
  padding: 0.8rem 1rem;
  border: none;
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--mid-gray);
  text-align: center;
  white-space: nowrap;
}

.plan-tab:hover {
  color: var(--graphite-deep);
}

.plan-tab--active {
  background: var(--graphite-deep);
  color: #ffffff;
}

/* Plan Panels */
.plan-panel {
  display: none;
}

.plan-panel--active {
  display: block;
  animation: fadeIn .35s ease-out;
}

/* 間取り図を綺麗に飾る額縁コンテナ */
.plan-panel__image {
  width: 100%;
  position: relative;
  background: #f9fafb; /* ごく薄いグレー背景 */
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-blueprint-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
}

/* ----------------------------------------------------------------
   11. PLAN POINTS (RECOMMENDED POINTS ACCORDION DRAWER STYLES)
   ---------------------------------------------------------------- */
.btn--green {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.btn--green:hover {
  background: #15803d;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

.plan-points-btn-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.plan-points-drawer {
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto 0;
  opacity: 1;
}

.drawer-points-content {
  padding: 4px 4px 1.5rem;
}

.drawer-points-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-points-list[hidden] {
  display: none !important;
}

.drawer-point-card {
  background: #fdfaf7;
  border: 1.5px solid rgba(232, 124, 62, 0.12);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, box-shadow 0.3s;
}

.drawer-point-card:hover {
  transform: translateY(-2px);
  border-color: #e87c3e;
  box-shadow: 0 10px 20px rgba(232, 124, 62, 0.08);
  background: #fff;
}

.drawer-point-number {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 850;
  color: #e87c3e;
  line-height: 1;
  opacity: 0.9;
}

.drawer-point-body {
  flex: 1;
  min-width: 0;
}

.drawer-point-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 6px;
  line-height: 1.4;
}

.drawer-point-text {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   12. ENVIRONMENT
   ---------------------------------------------------------------- */
.btn--outline-green {
  background: transparent;
  color: #16a34a;
  border: 1.5px solid #16a34a;
  border-radius: var(--radius-sm);
  padding: 0.5em 1.2em;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.btn--outline-green:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.15);
}

.btn--outline-gray {
  background: transparent;
  color: #64748b;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.5em 1.2em;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.btn--outline-gray:hover {
  background: #64748b;
  color: #fff;
  border-color: #64748b;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(100, 116, 139, 0.15);
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.env-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.env-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.env-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.env-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn--env-map {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  line-height: 1.2;
  white-space: nowrap;
  width: auto;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all var(--transition);
}

.btn--env-map:hover {
  background-color: #cbd5e1;
  color: #1e293b;
}

.env-card__tag {
  background: #f1f5f9;
  color: var(--mid-gray);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.env-card__dist {
  color: #e87c3e;
  font-weight: 700;
}

.env-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}

.env-card__img-wrap {
  order: -1; /* 縦並び時に上に配置 */
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.env-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.env-card:hover .env-card__image {
  transform: scale(1.04);
}

@media (max-width: 1023px) {
  .env-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ----------------------------------------------------------------
   13. ACCESS
   ---------------------------------------------------------------- */
.access-content {
  max-width: 800px;
  margin: 0 auto;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.access-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.04);
  text-align: center;
}

.access-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 12px;
}

.access-card__walk {
  font-size: 1.4rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 12px;
}

.access-card__desc {
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .access-card {
    padding: 1.5rem;
  }
}

/* ----------------------------------------------------------------
   14. GOOGLE MAPS
   ---------------------------------------------------------------- */
.map-wrap {
  position: relative;
  width: 100%;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.01);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition: background var(--transition);
}

.map-overlay p {
  background: rgba(15,23,42,.8);
  color: #fff;
  padding: .6em 1.5em;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.map-overlay:hover p {
  opacity: 1;
}

.map-overlay.map-overlay--active {
  display: none;
}

/* ----------------------------------------------------------------
   15. OUTLINE & SPEC
   ---------------------------------------------------------------- */
.spec-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.spec-block--full {
  width: 100%;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.spec-table th, 
.spec-table td {
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.spec-table th {
  background-color: #f8fafc;
  color: var(--graphite);
  font-weight: 700;
  width: 20%;
  white-space: nowrap;
}

.spec-table td {
  color: var(--mid-gray);
  width: 30%;
}

.spec-table--lots th {
  width: auto;
  text-align: center;
  background-color: #f8fafc;
}

.spec-table--lots td {
  width: auto;
  text-align: center;
}

.spec-grid--outline-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.spec-bullets {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1rem;
}

.spec-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

.spec-bullets li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
}

.spec-companies {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 1rem;
}

.company-info {
  background: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid #16a34a;
}

.company-info__role {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 700;
  margin-bottom: 4px;
}

.company-info__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 6px;
}

.company-info__details {
  font-size: 0.82rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .spec-grid--outline-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .spec-table th, 
  .spec-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .spec-table th {
    width: 30%;
  }
  .spec-table td {
    width: 70%;
  }
}

@media (max-width: 640px) {
  /* 分譲概要テーブルの縦並び化（横スクロール排除） */
  .spec-table:not(.spec-table--lots) tbody,
  .spec-table:not(.spec-table--lots) tr,
  .spec-table:not(.spec-table--lots) th,
  .spec-table:not(.spec-table--lots) td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  
  .spec-table:not(.spec-table--lots) tr {
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
  }
  
  .spec-table:not(.spec-table--lots) tr:last-child {
    border-bottom: none;
  }
  
  .spec-table:not(.spec-table--lots) th {
    background-color: transparent;
    padding: 6px 0 2px 0;
    border: none;
    font-size: 0.82rem;
    color: #16a34a;
    font-weight: 700;
  }
  
  .spec-table:not(.spec-table--lots) td {
    padding: 2px 0 6px 0;
    border: none;
    font-size: 0.9rem;
    color: var(--graphite);
  }

  /* 区画詳細テーブル（.spec-table--lots）のカード化 */
  .spec-table--lots thead {
    display: none;
  }
  
  .spec-table--lots tbody {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列2段 */
    gap: 10px;
    width: 100%;
  }
  
  .spec-table--lots tr {
    display: block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  }
  
  .spec-table--lots td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: none;
    padding: 4px 0;
    width: 100% !important;
    font-size: 0.78rem;
    border-bottom: 1px dashed #e2e8f0;
    text-align: left;
    gap: 2px;
  }
  
  .spec-table--lots td:last-child {
    border-bottom: none;
  }
  
  .spec-table--lots td:nth-child(1) {
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 2px;
    margin-bottom: 4px;
  }
  .spec-table--lots td:nth-child(1)::before {
    display: none;
  }
  
  .spec-table--lots td:nth-child(2)::before { content: "宅地面積"; font-weight: 700; color: #64748b; font-size: 0.7rem; }
  .spec-table--lots td:nth-child(3)::before { content: "延床面積"; font-weight: 700; color: #64748b; font-size: 0.7rem; }
  .spec-table--lots td:nth-child(4)::before { content: "販売状況"; font-weight: 700; color: #64748b; font-size: 0.7rem; }
  
  .spec-table--lots td strong {
    font-size: 0.9rem;
    color: #16a34a;
  }
}

/* ----------------------------------------------------------------
   16. CONTACT FORM
   ---------------------------------------------------------------- */
#contact-form {
  background: var(--off-white-warm);
}

.contact-form {
  max-width: 680px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: clamp(.85rem, 1.3vw, .92rem);
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--graphite);
}

.required {
  color: var(--saffron);
  font-size: .75rem;
  font-weight: 700;
  margin-left: .3em;
}

.optional {
  color: var(--mid-gray);
  font-size: .75rem;
  font-weight: 700;
  margin-left: .3em;
}

.form-input-with-btn {
  display: flex;
  gap: 10px;
  width: 100%;
}

.form-input-with-btn .form-input {
  flex: 1;
}

.btn--zipsearch {
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #0ea5e9;
  border: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--zipsearch:hover {
  background-color: #0284c7;
}


.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: clamp(.65rem, 1.2vw, .8rem) clamp(.8rem, 1.5vw, 1rem);
  font-family: var(--font-jp);
  font-size: clamp(.88rem, 1.3vw, .95rem);
  color: var(--graphite);
  background: #fff;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(234,179,8,.2);
}

.form-input.is-invalid,
.form-select.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}

.form-error {
  display: none;
  color: #ef4444;
  font-size: .78rem;
  margin-top: .3rem;
}

.form-error.is-visible {
  display: block;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Checkbox */
.form-group--checkbox {
  margin-top: .5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .6em;
  cursor: pointer;
  font-size: clamp(.82rem, 1.2vw, .9rem);
  color: var(--graphite);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--border-gray);
  border-radius: 4px;
  transition: all var(--transition);
  position: relative;
  margin-top: 2px;
  background: #ffffff;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--saffron);
  border-color: var(--saffron);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: .75rem;
  color: var(--graphite-deep);
  font-weight: 900;
}

.checkbox-text a {
  color: var(--saffron-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.checkbox-text a:hover {
  color: var(--graphite);
}

/* Submit */
.form-submit {
  text-align: center;
  margin-top: 2rem;
}

#submit-btn {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
}

#submit-btn:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

/* Phone Block */
.contact-phone-block {
  text-align: center;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border-gray);
}

.phone-block__label {
  font-size: .8rem;
  color: var(--mid-gray);
  margin-bottom: .4rem;
}

.phone-block__number {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--graphite);
  transition: color var(--transition);
}

.phone-block__number:hover {
  color: var(--saffron-dark);
}

.phone-block__hours {
  font-size: .78rem;
  color: var(--mid-gray);
  margin-top: .3rem;
}

/* ----------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------- */
#footer {
  background: #ffffff;
  color: var(--mid-gray);
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--border-gray);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: none;
  opacity: 1;
  margin-bottom: .6rem;
}

.footer-company {
  font-weight: 600;
  font-size: .88rem;
  color: var(--graphite);
  margin-bottom: .2rem;
}

.footer-address {
  font-size: .78rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .8rem;
  color: var(--mid-gray);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--saffron-dark);
}

.footer-copyright {
  text-align: center;
  font-family: var(--font-en);
  font-size: .72rem;
  color: var(--mid-gray);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gray);
}

/* ----------------------------------------------------------------
   18. FLOAT CTA (SP Only)
   ---------------------------------------------------------------- */
.float-cta {
  display: none; /* Hidden by default (PC) */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: var(--shadow-float);
}

.float-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  flex: 1;
  padding: clamp(.8rem, 2vw, 1rem);
  font-weight: 700;
  font-size: clamp(.85rem, 2vw, .95rem);
  text-align: center;
  transition: all var(--transition);
}

.float-cta__btn--phone {
  background: var(--saffron);
  color: var(--graphite-deep);
}

.float-cta__btn--phone:hover {
  background: var(--saffron-dark);
}

.float-cta__btn--contact-reserve {
  background: var(--emerald);
  color: #ffffff;
}

.float-cta__btn--contact-reserve:hover {
  background: #059669;
}

.float-cta__icon {
  font-size: 1.1em;
}

/* ================================================================
   19. RESPONSIVE BREAKPOINTS
   ================================================================ */

/* --- Tablet (768px ~ 1023px) --- */
@media (max-width: 1023px) {
  .concept-shelf-wrap {
    position: absolute;
    left: -25px;
    top: 75px;
    width: 125px;
    margin: 0;
    transform: translateY(30px) rotate(15deg) scale(0.85);
  }

  .concept-header.is-visible .concept-shelf-wrap {
    transform: translateY(0) rotate(5deg) scale(1);
    transition-delay: 0.8s;
  }

  .concept-door-wrap {
    position: absolute;
    left: -45px; /* 文字に重なりすぎないよう少し左へ外す */
    top: 240px; /* 「強固で安心な〜」の左横に合わせる */
    width: 125px; /* 95pxから125pxに拡大 */
    margin: 0;
    transform: translateY(30px) rotate(15deg) scale(0.85);
  }

  .concept-header.is-visible .concept-door-wrap {
    transform: translateY(0) rotate(6deg) scale(1);
    transition-delay: 0.8s;
  }

  .concept-chair-wrap {
    position: absolute;
    right: -35px; /* 文字に重なりすぎないよう右側へ少し逃がす */
    top: 245px; /* テキストとの被りを避けるためにさらに下に下げる */
    width: 135px; /* 95pxから135pxに拡大 */
    margin: 0;
    transform: translateY(30px) rotate(-15deg) scale(0.85);
  }

  .concept-header.is-visible .concept-chair-wrap {
    transform: translateY(0) rotate(-6deg) scale(1);
    transition-delay: 0.8s;
  }

  .concept-grid {
    grid-template-columns: 1fr;
  }

  .concept-connector {
    justify-content: center;
  }

  .connector-symbol {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .env-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}

/* --- PC (1024px+): Show header CTA --- */
@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

/* --- Mobile (767px-) --- */
@media (max-width: 767px) {
  /* Prevent concept-lead typography wrapping on small phones */
  .concept-lead {
    font-size: clamp(0.92rem, 3.8vw, 1.1rem) !important;
    padding: 0.15em 0.5em !important;
    letter-spacing: 0.04em !important;
  }

  /* Prevent float footer CTA text wrapping on small phones */
  .float-cta__btn {
    padding: 0.8rem 0.3rem !important;
    font-size: 0.76rem !important;
  }

  /* Prevent drawer point layout and text bugs on mobile */
  .drawer-point-card {
    padding: 14px 16px !important;
    gap: 12px !important;
  }
  .drawer-point-number {
    font-size: 1.35rem !important;
  }
  .drawer-point-title {
    font-size: clamp(0.92rem, 4vw, 1.02rem) !important;
    margin-bottom: 4px !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  .drawer-point-text {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  /* Prevent cafe consultation section typography wrapping issues */
  .cafe-info__title {
    font-size: clamp(1.15rem, 5vw, 1.35rem) !important;
    line-height: 1.4 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  .cafe-info__text {
    font-size: 0.85rem !important;
    line-height: 1.7 !important;
  }
  .cafe-access h4 {
    font-size: 0.88rem !important;
  }
  .cafe-access p {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  /* Prevent environment metadata wrapping for walk duration */
  .env-card__dist {
    white-space: nowrap !important;
  }
  :root {
    --header-h: 60px;
  }

  .brand-logo {
    height: 38px;
  }
  .logo-link {
    gap: 0.5rem;
  }
  .logo-tagline {
    font-size: 0.72rem;
    padding-left: 0.5rem;
  }
  .concept-title {
    font-size: clamp(1.6rem, 7.5vw, 2.3rem); /* スマホ画面で改行が綺麗に収まるサイズ */
    line-height: 1.4;
    margin-bottom: 1.8rem;
    /* スマホ画面での文字ボヤケを防ぐため、シャドウ効果を極めて控えめ（ほぼフラット）に調整 */
    text-shadow: 1px 1px 1px rgba(15, 23, 42, 0.08) !important;
  }

  .title-line1 {
    margin-bottom: 0.15em;
  }

  .title-line2 {
    margin-bottom: 0.15em;
  }

  .brand-highlight {
    font-size: 1.60em; /* BASE ONEの拡大比率をスマホに最適化 */
  }

  .concept-intro-text {
    font-size: clamp(0.82rem, 3.8vw, 0.94rem);
    line-height: 1.85;
    padding: 0 10px;
    text-align: center;
  }


  .concept-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .concept-card--horizontal {
    flex-direction: row; /* 横並びを強制 */
    gap: 0.8rem;
    height: 200px; /* スマホ版でもカードサイズ（高さ）を揃える */
  }

  .concept-card__left {
    flex: 1;
    padding: 0.8rem !important;
  }

  .concept-card__right {
    flex: 1;
    min-height: auto;
    height: auto;
  }

  .concept-card__list--grid {
    grid-template-columns: repeat(2, 1fr); /* スマホ版でも2列を維持 */
    gap: 4px 0.5rem;
  }
  .concept-card__list--grid li {
    padding: 0.25em 0 0.25em 0.85em; /* 余白を詰める */
    font-size: 0.72rem; /* 文字サイズを小さくして収まりを良くする */
    letter-spacing: -0.04em; /* 文字間を詰めてはみ出しを防ぐ */
    white-space: nowrap; /* 途中で改行させない */
  }

  .concept-card--custom .concept-card__text {
    font-size: 0.7rem !important; /* スマホではフォントを少し小さくして縦幅を抑える */
    line-height: 1.45 !important;  /* 行間も少し詰める */
    margin-top: 0.2rem;            /* タイトルとの隙間も微調整 */
  }

  .pc-only {
    display: none !important;      /* スマホ版では改行（br.pc-only）を無効化 */
  }

  .concept-label {
    padding: 0.25em 0.4em; /* ラベルをスマホサイズに縮小 */
    font-size: 0.68rem; /* 幅に収まるように極小フォントを指定 */
    letter-spacing: -0.02em; /* 文字間を少し詰めてはみ出しを防ぐ */
    border-radius: 4px;
  }

  .connector-symbol {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .env-grid {
    grid-template-columns: repeat(2, 1fr); /* 縦2列表示を維持 */
    gap: 8px; /* カードの幅を稼ぐために隙間を最小限に */
  }
  .env-card {
    flex-direction: column !important;
    align-items: stretch;
    gap: 6px;
    padding: 8px; /* 内側余白をタイトにしてコンパクトに */
  }
  .env-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    height: auto;
  }
  .env-card__meta {
    font-size: 0.72rem;
    display: flex;
    flex-direction: row; /* 横並びに戻す */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2px; /* 隙間を極限まで詰めて横並びをキープ */
  }
  .env-card__dist {
    font-size: 0.74rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    font-weight: 700 !important;
  }
  .dist-meters {
    display: block !important; /* スマホでは距離を下に改行して横並び幅の圧迫を防ぐ */
    font-size: 0.62rem !important;
    color: var(--mid-gray) !important;
    font-weight: normal !important;
    margin-top: 1px !important;
  }
  .btn--env-map {
    width: auto !important;
    flex-shrink: 0 !important;
    padding: 3px 5px !important; /* 極限までコンパクトなパディング */
    font-size: 0.65rem !important; /* 極小のボタンフォント */
    box-sizing: border-box;
  }
  .env-card__title {
    font-size: 0.76rem;
    line-height: 1.3;
    margin-bottom: 2px;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .env-card__img-wrap {
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin-bottom: 2px;
    flex-shrink: 0;
  }
  .btn--env-map {
    font-size: 0.65rem !important;
    padding: 3px 6px !important;
    width: auto !important;
    flex-shrink: 0;
  }

  .plan-tabs {
    flex-wrap: wrap;
  }

  .plan-tab {
    flex: 1;
    min-width: calc(50% - .5rem);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Float CTA: visible on mobile */
  .float-cta {
    display: flex;
  }

  /* Add bottom padding to body so content isn't hidden behind float CTA */
  body {
    padding-bottom: 60px;
  }

  #footer {
    padding-bottom: clamp(4rem, 10vw, 5rem);
  }

  .map-wrap iframe {
    height: 300px;
  }
}

/* ----------------------------------------------------------------
   20. SCROLL ANIMATIONS (Intersection Observer targets)
   ---------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* コンセプトカード用のより滑らかな「ふわっと現れる」アニメーション */
.concept-card.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px); /* 少し深い位置から */
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.concept-card.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: .05s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: .15s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: .25s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: .35s; }

.stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   21. FORM SUCCESS STATE
   ---------------------------------------------------------------- */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeInUp .5s ease-out;
}

.form-success__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.form-success__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: .8rem;
}

.form-success__text {
  color: var(--light-gray);
  font-size: clamp(.88rem, 1.3vw, .95rem);
}

/* ----------------------------------------------------------------
   22. OPTIONS DETAIL MODAL (オプション一覧ポップアップ)
   ---------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  width: 90%;
  max-width: 800px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--mid-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--graphite);
  transform: rotate(90deg);
}

.modal-content {
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
}

/* スクロールバーのカスタマイズ（モーダル用） */
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.modal-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f1f5f9;
}

/* スライドショー */
.modal-slider {
  position: relative;
  width: 100%;
}

.modal-slide {
  display: none;
  opacity: 0;
  animation: modalFadeIn 0.4s ease-out forwards;
}

.modal-slide.active {
  display: block;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.slide-title {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--graphite);
}

/* スライドアトリビュートリスト */
.slide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .slide-list {
    grid-template-columns: 1fr;
    gap: 0.8rem 0;
  }
}

.slide-list li {
  background: #f8fafc;
  border: 1px solid var(--border-color); /* シンプルな極細枠線に変更 */
  padding: 0.6rem 0.8rem; /* パディングをコンパクトに */
  border-radius: 8px; /* 全体をきれいな角丸に */
  transition: all 0.2s ease;
}

.slide-list li:hover {
  transform: translateY(-2px); /* 少し上に浮く挙動でクリック可能であることを表現 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.item-name {
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  font-weight: 700;
  color: var(--graphite);
  vertical-align: middle;
}

.badge-free {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.item-desc {
  font-size: clamp(0.76rem, 1.2vw, 0.84rem);
  color: var(--mid-gray);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* ナビゲーション */
.modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #f1f5f9;
}

.slide-btn {
  background: none;
  border: 1px solid #cbd5e1;
  color: var(--graphite);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.slide-btn:hover:not(:disabled) {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
}

.slide-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slide-dots {
  display: flex;
  gap: 0.5rem;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slide-dot:hover {
  background: var(--mid-gray);
}

.slide-dot.active {
  background: var(--saffron);
  transform: scale(1.2);
}

/* 小オプションスライド時はアクティブドットの色も変えてアクセントに */
.slide-dot.active[data-index="2"],
.slide-dot.active[data-index="3"] {
  background: var(--graphite);
}

/* コンセプトセクション下部のオプション一覧ボタン用 */
.concept-options-btn-wrap {
  text-align: center;
  margin-top: 2.2rem;
  width: 100%;
}

.btn--options {
  background: transparent;
  color: var(--saffron-dark);
  border: 2px solid var(--saffron);
  font-weight: 700;
  padding: 0.8rem 2.5rem;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn--options:hover {
  background: var(--saffron);
  color: var(--graphite-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.25);
}

/* ----------------------------------------------------------------
   23. DESIGN STYLE SLIDER (デザインスタイル例無限ループスライダー)
   ---------------------------------------------------------------- */
.style-slider-wrap {
  margin-top: 3.5rem;
  width: 100%;
}

.style-slider-title {
  font-family: 'M PLUS Rounded 1c', var(--font-jp);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--mid-gray);
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 2rem;
}

/* スライダー中間プロモブロック (動画 ＆ テキスト横並び) */
.style-mid-promo-wrap {
  width: 100%;
  margin: 4.5rem 0;
  padding: 0 1.5rem;
}

.style-mid-promo-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

/* スマホモックアップ風動画コンテナ */
.style-promo-video-container {
  flex-shrink: 0;
  transform: translateX(18px); /* モックアップの位置を少し右側にシフト */
}

.phone-mockup {
  position: relative;
  width: 260px; /* 210pxから260pxへ拡大 */
  height: 520px; /* 420pxから520pxへ拡大 */
  background: #0f172a; /* 筐体枠（ダークスレート） */
  border: 10px solid #0f172a;
  border-radius: 40px; /* 少し角丸を大きく */
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.35),
              0 0 0 2px #475569; /* 金属質の外枠フチ */
  overflow: hidden;
}

.phone-speaker {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #334155;
  border-radius: 2px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-iframe {
  width: 360px; /* 仮想解像度に固定 */
  height: 664px; /* 仮想解像度に固定 */
  border: none;
  display: block;
  pointer-events: none; /* タップ・操作を無効化して動画風にする */
  user-select: none;
  transform: scale(0.667); /* 液晶サイズ(240px/360px)に合わせて縮小 */
  transform-origin: center center;
  flex-shrink: 0;
}

/* スライダー中間テキスト (動画の右側配置) */
.style-slider-mid-text {
  text-align: left; /* 左寄せに変更して動画とのバランスを整える */
  margin: 0;
  padding: 0;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左揃え */
}

.slider-mid-text-line1 {
  font-family: 'M PLUS Rounded 1c', var(--font-jp);
  font-size: clamp(1.5rem, 3.6vw, 1.95rem); /* サイズ拡大 */
  font-weight: 800;
  color: var(--graphite-deep);
  margin-bottom: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.slider-mid-text-line2 {
  font-family: 'M PLUS Rounded 1c', var(--font-jp);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem); /* サイズ拡大 */
  font-weight: 500;
  color: var(--mid-gray);
  margin-bottom: 1.1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.slider-mid-text-line3 {
  font-family: 'Yusei Magic', 'M PLUS Rounded 1c', var(--font-jp);
  font-size: clamp(2.0rem, 5vw, 2.9rem); /* サイズ拡大 */
  font-weight: 900;
  color: #e87c3e;
  letter-spacing: 0.06em;
  background: linear-gradient(transparent 60%, rgba(232, 124, 62, 0.15) 60%) no-repeat;
  background-size: 100% 100%;
  padding: 0 0.6em;
  line-height: 1.3;
  display: inline-block;
}

@media (max-width: 767px) {
  .style-mid-promo-wrap {
    margin: 2.5rem 0; /* スライドショーとの余白は維持 */
    padding: 0 0.8rem;
  }
  .style-mid-promo-inner {
    flex-direction: row !important; /* スマホサイズでも横並びを維持 */
    align-items: center;
    justify-content: center;
    gap: 16px; /* サイズアップに伴い少し間隔を広げる */
  }
  .style-promo-video-container {
    flex-shrink: 0;
    transform: translateX(8px); /* 位置ズレを右側にシフト */
  }
  .phone-mockup {
    width: 140px !important; /* 105pxから140pxへ拡大 */
    height: 280px !important; /* 210pxから280pxへ拡大 */
    border: 5px solid #0f172a !important; /* ベゼルを適度な太さに */
    border-radius: 22px !important;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25),
                0 0 0 1px #475569 !important;
  }
  .phone-speaker {
    top: 4px !important;
    width: 30px !important;
    height: 2px !important;
    border-radius: 1px !important;
  }
  .phone-screen {
    border-radius: 16px !important;
  }
  .phone-iframe {
    transform: scale(0.367) !important; /* 液晶サイズ(132px/360px)に合わせて縮小 */
  }
  .style-slider-mid-text {
    flex: 1;
    min-width: 0;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .slider-mid-text-line1 {
    font-size: 0.92rem !important; /* スマホ向けに調和する視認サイズ */
    margin-bottom: 3px !important;
    line-height: 1.25 !important;
  }
  .slider-mid-text-line2 {
    font-size: 0.68rem !important; /* 各行が絶対に勝手に折り返されないサイズに調整 */
    margin-bottom: 5px !important;
    line-height: 1.45 !important;
  }
  .slider-mid-text-line3 {
    font-size: 1.1rem !important; /* 「に！」だけが改行されるのを防ぐため極小調整 */
    padding: 0 0.4em !important;
    line-height: 1.25 !important;
  }
}

.style-ticker {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
}

/* 左右フェードアウト効果 */
.style-ticker::before,
.style-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  width: clamp(50px, 10vw, 120px);
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.style-ticker::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.style-ticker::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.style-ticker__track {
  display: flex;
  width: max-content;
  gap: 1.8rem;
  animation: styleTicker 35s linear infinite;
}

/* ホバー時にアニメーションを一時停止 */
.style-ticker:hover .style-ticker__track {
  animation-play-state: paused;
}

.style-ticker__item {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.style-ticker__img-container {
  width: 100%;
  height: 168px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.style-ticker__item:hover .style-ticker__img-container {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
}

.style-ticker__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 特定のウォーターマークあり画像の拡大 */
.style-ticker__img--zoom {
  transform: scale(1.1); /* 10%拡大して端のウォーターマークを隠す */
  transform-origin: center;
}

.style-ticker__name {
  font-size: clamp(0.78rem, 1.3vw, 0.86rem);
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.04);
  padding: 0.35em 0.9em;
  border-radius: 20px;
  transition: background 0.2s ease, color 0.2s ease;
}

.style-ticker__item:hover .style-ticker__name {
  background: var(--saffron);
  color: var(--graphite-deep);
}

@keyframes styleTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 2列目の追加調整 (上との余白、および左から右へのアニメーション設定) */
.style-ticker--reverse {
  margin-top: 1rem;
}

.style-ticker__track--reverse {
  animation: styleTickerLTR 35s linear infinite;
}

@keyframes styleTickerLTR {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ----------------------------------------------------------------
   24. CAMPAIGN UPDATE (キャンペーンセクション背景グレー化と配色調整)
   ---------------------------------------------------------------- */
#campaign {
  background-color: var(--off-white-warm); /* 上品なライトグレー背景 */
  color: var(--graphite);
}

#campaign .section-title {
  color: var(--graphite);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1.55;
  margin-bottom: 2rem;
  text-align: center;
  text-wrap: balance;
}

/* 新規マネープラン（メリットリスト）用スタイル */
.money-plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 3.5rem;
}

.money-plan-item {
  position: relative;
  padding-top: 1rem;
}

/* PC時のカラム間の細い縦線で仕切ることでプレミアム感を演出 */
.money-plan-item:not(:first-child) {
  border-left: 1px solid rgba(30, 41, 59, 0.1);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.money-plan-item__num {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--saffron-dark);
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.money-plan-item__title {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--graphite-deep);
  margin-bottom: 1rem;
}

.money-plan-item__text {
  font-size: clamp(0.85rem, 1.3vw, 0.92rem);
  line-height: 1.8;
  color: var(--mid-gray);
}

/* マネープラン専用の大きめなふわっと出現アニメーション */
.money-plan-list.stagger-children > * {
  opacity: 0;
  transform: translateY(40px); /* 大きめの移動量 */
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.money-plan-list.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.money-plan-list.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.25s; }
.money-plan-list.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.4s; }

.money-plan-list.stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* モバイル用のレスポンシブ調整 */
@media (max-width: 991px) {
  .money-plan-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
  }
  
  .money-plan-item {
    padding-top: 0;
    padding-bottom: 2rem;
  }
  
  .money-plan-item:not(:last-child) {
    border-bottom: 1px solid rgba(30, 41, 59, 0.1);
  }
  
  .money-plan-item:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }
}

/* ============================================================
   20. PRIVACY POLICY PAGE
   ============================================================ */
.privacy-main {
  padding: 140px 0 80px;
  background-color: #f8fafc;
}
.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.privacy-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 20px;
}
.privacy-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  line-height: 1.8;
  color: #334155;
}
.privacy-content p {
  margin-bottom: 24px;
}
.privacy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 16px;
  border-left: 4px solid #1e293b;
  padding-left: 12px;
}
.privacy-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}
.privacy-content ol li {
  margin-bottom: 8px;
}
.privacy-contact-block {
  margin-top: 48px;
  padding: 24px;
  background-color: #f1f5f9;
  border-radius: 8px;
  border-left: 4px solid #64748b;
}
.privacy-contact-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}
.privacy-contact-block p {
  margin-bottom: 8px;
}
.privacy-contact-block p:last-child {
  margin-bottom: 0;
}
.privacy-contact-block .company-name {
  font-weight: 700;
}
.back-to-home {
  text-align: center;
  margin-top: 40px;
}
.back-to-home a {
  background-color: #e2e8f0;
  color: #334155;
  transition: all 0.3s ease;
}
.back-to-home a:hover {
  background-color: #cbd5e1;
  color: #0f172a;
}

/* ============================================================
   21. MONEY PLAN CUSTOMIZATIONS
   ============================================================ */
.money-plan-note {
  font-size: 0.6em;
  font-weight: normal;
  color: #64748b;
  margin-left: 8px;
  vertical-align: middle;
  display: inline-block;
}

.money-plan-item__action {
  margin-top: 1.2rem;
}

.money-plan-detail-link {
  font-size: clamp(0.85rem, 1.3vw, 0.92rem);
  font-weight: 700;
  color: var(--emerald);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.money-plan-detail-link:hover {
  color: #059669;
  border-bottom-color: #059669;
  transform: translateX(3px);
}

.form-note {
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 500;
  color: #ef4444;
  margin-top: 0.8rem;
  padding: 12px 16px;
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  border-radius: 4px;
}





/* ============================================================
   10.5. CAFE CONSULTATION (併設カフェで相談)
   ============================================================ */
#cafe-consultation {
  background-image: url('cafe-bg.png');
  background-repeat: repeat;
  background-size: auto;
  position: relative;
}

#cafe-consultation .container {
  position: relative;
  z-index: 1;
}

.cafe-consultation-content {
  margin-top: 3rem;
}

.cafe-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.cafe-images-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.cafe-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition);
}

.cafe-photo:hover {
  transform: translateY(-2px);
}

.cafe-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cafe-info__title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.4;
}

.cafe-info__text {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.8;
  color: var(--mid-gray);
}



@media (max-width: 1023px) {
  .cafe-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}



/* ============================================================
   22. MAIN VISUAL NEW JAGGED BADGE (モデルハウス見学会受付開始バッジ)
   ============================================================ */
.new-jagged-badge-wrap {
  position: absolute;
  right: -275px; /* さらに右側へ移動 */
  top: -100px;
  width: 310px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translateY(30px) rotate(-10deg) scale(0.85);
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 1s;
}

.concept-header.is-visible .new-jagged-badge-wrap {
  opacity: 1;
  transform: translateY(0) rotate(-10deg) scale(1);
}

.new-jagged-badge-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(239, 68, 68, 0.25));
}

@media (max-width: 1200px) {
  .new-jagged-badge-wrap {
    right: -230px; /* さらに右側へ移動 */
    width: 260px;
    top: -85px;
    transform: translateY(30px) rotate(-10deg) scale(0.85);
  }
  .concept-header.is-visible .new-jagged-badge-wrap {
    transform: translateY(0) rotate(-10deg) scale(1);
  }
}

@media (max-width: 1023px) {
  .new-jagged-badge-wrap {
    right: -185px; /* さらに右側へ移動 */
    width: 210px;
    top: -70px;
    transform: translateY(30px) rotate(-10deg) scale(0.85);
  }
  .concept-header.is-visible .new-jagged-badge-wrap {
    transform: translateY(0) rotate(-10deg) scale(1);
  }
}

@media (max-width: 767px) {
  .new-jagged-badge-wrap {
    position: absolute;
    right: -150px; /* さらに右側へ移動 */
    top: -55px;
    width: 175px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transform: translateY(30px) rotate(-10deg) scale(0.85);
    transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.5s;
  }
  
  .concept-header.is-visible .new-jagged-badge-wrap {
    opacity: 1;
    transform: translateY(0) rotate(-10deg) scale(1);
  }
}

@media (max-width: 480px) {
  .new-jagged-badge-wrap {
    right: -125px; /* さらに右側へ移動 */
    top: -50px;
    width: 150px;
    transform: translateY(30px) rotate(-10deg) scale(0.85);
    transition-delay: 0.5s;
  }
  .concept-header.is-visible .new-jagged-badge-wrap {
    transform: translateY(0) rotate(-10deg) scale(1);
  }
}
