/* ==========================================================================
   Patisserie Chez KOBE - 法人向けLP
   デザイン変数はここでまとめて管理。色・余白を変えたい場合は :root を編集。
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #faf6ef;
  --color-bg-alt: #f3ece0;
  --color-surface: #ffffff;
  --color-text: #362a22;
  --color-text-muted: #7c6f63;
  --color-primary: #7a2331;
  --color-primary-dark: #5c1a24;
  --color-accent: #ac8a3e;
  --color-accent-light: #e7d9b8;
  --color-border: #e8ded0;

  /* Elevation */
  --shadow-card: 0 4px 20px rgba(54, 42, 34, 0.07);
  --shadow-card-hover: 0 14px 32px rgba(54, 42, 34, 0.14);
  --shadow-header: 0 2px 12px rgba(54, 42, 34, 0.06);

  /* Radius */
  --radius-card: 20px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Layout */
  --container-w: 1160px;
  --section-py: clamp(56px, 8vw, 100px);
  --gap-card: 28px;

  /* Type */
  --font-serif: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-accent: "Playfair Display", serif;
  --font-english: "Dancing Script", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* PC/SP 改行切り替え
   <br class="brPc"> = PC表示時のみ改行 / <br class="brSp"> = SP表示時のみ改行 */
.brSp {
  display: none;
}

@media (max-width: 767px) {
  .brPc {
    display: none;
  }
  .brSp {
    display: inline;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  margin: 0;
  color: var(--color-text);
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */

.section {
  padding: var(--section-py) 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section--alt {
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
}

/* FLOW・WHY・CTAだけ、全セクション共通の100vhを打ち消して中身の高さに合わせる */
.flow-section,
.why-section,
.cta-section {
  min-height: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-accent);
  font-family: var(--font-english);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
}

.section-text {
  font-weight: 300;
  padding-bottom: 50px;
}



.section-desc {
  margin-top: 14px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   カードグリッド（共通コンポーネント）
   auto-fit のおかげでカードの増減・並べ替えで崩れない
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.card-grid[data-cols="4"] {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-grid[data-cols="3"] {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid[data-cols="5"] {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.card--pad-0 {
  padding: 0;
  overflow: hidden;
}

/* アイコン付きカード（相談内容 / 選ばれる理由） */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-text {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* 画像つきカード（活用シーン / おすすめ商品） */
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.card-body {
  padding: 24px 22px 28px;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: #f7e9ea;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* 画像プレースホルダー（実写真差し替え用） */
.ph-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, var(--color-bg-alt), #ecdfc9);
  color: var(--color-accent);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   相談内容カード（こんなご相談に対応しています）
   画像つきの2カラム大判カード
   ========================================================================== */

.support-section {
  background: var(--color-surface);
  min-height: 100vh;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.support-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  min-height: 280px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.support-card-body {
  flex: 1 1 55%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-card-media {
  flex: 1 1 45%;
}

.support-badge {
  display: inline-block;
  color: rgb(61,23,21);
  font-family: var(--font-english);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 8px;
}

.support-title {
  margin-top: 16px;
  font-size: 1.3rem;
  font-weight: 600;
}

.support-text {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   おすすめの活用シーン
   カード枠なし。色ブロック背景＋画像＋英語アクセントのシンプル構成
   ========================================================================== */

.scene-section {
  background: rgb(61,23,21);
  min-height: 100vh;
  display: flex;         /* 追加 */
  align-items: center;   /* 追加：縦方向を中央に */
}

.scene-label--head {
  color: var(--color-accent-light);
}

.scene-label--head::before,
.scene-label--head::after {
  background: var(--color-accent-light);
}

.scene-section-title {
  color: #fff;
}

.scene-section-text {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
}    
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}

.scene-visual {
  display: flex;
  align-items: flex-end;
  gap: 0px;
  margin-bottom: 24px;
}

.scene-media {
  flex: 1;
  aspect-ratio: 3 / 4;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
}

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

.scene-word {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 2.2rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  padding-bottom: 0px;
  line-height: 1;
  margin-left: -3px;
}

.scene-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.scene-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: none;
  margin: 0;

  padding: 16px clamp(24px, 4vw, 64px);
  gap: clamp(16px, 2vw, 28px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-img--footer {
  height: 36px;
  margin-bottom: 16px;
}

.nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
  padding: 0;
  background: var(--color-surface);
}

.hero-media {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: clamp(420px, 80vh, 900px);
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 13, 9, 0.68) 0%, rgba(20, 13, 9, 0.22) 42%, rgba(20, 13, 9, 0) 68%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--color-bg-alt), #ecdfc9);
}

.hero-slide.is-active {
  display: flex;
}

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

/* SPのみ：画像内の見える位置をゆっくりパン */
@keyframes heroPan {
  0% {
    object-position: 30% 25%;
  }
  100% {
    object-position: 80% 25%;
  }
}

.hero-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: 760px;
  padding: 28px clamp(24px, 6vw, 100px);  /* 1160pxのコンテナ枠に縛られず、画面幅に応じて伸び縮み */
  color: #fff;
}

.hero-overlay .hero-eyebrow {
  color: var(--color-accent-light);
  font-family: var(--font-english);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.hero-overlay .hero-title {
  color: #fff;
}

.hero-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-desc {
  margin-top: 18px;
  margin-bottom: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - var(--container-w)) / 2 + 24px));
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0;
}

.hero-dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: var(--radius-pill);
  transition: width 0.2s ease;
}

.hero-intro {
  position: relative;      /* 中の画像を絶対配置するための基準 */
  overflow: hidden;        /* 画像がはみ出さないように */
  width: 100vw;             /* 画面幅いっぱい（フルブリード） */
  margin-left: calc(50% - 50vw); /* 中央寄せを解除して端まで広げる */
  min-height: 80vh;        /* 画像を敷く高さ。数値はお好みで */
  background: none;
  display: flex;           /* 中のテキストブロックをこの高さいっぱいで縦中央に */
  align-items: center;
}

.hero-intro-logo {
  height: 50px;        /* さりげないサイズ感。数値はお好みで */
  width: auto;
  margin-bottom: 50px; /* テキストとの間隔 */
}

.hero-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  /* テキストが右側にあるので、右側を暗く・左側は薄くして読みやすくする */
  background: linear-gradient(to right, rgba(20,13,9,0) 59.9%, rgba(61,23,21,1) 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-intro-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;  /* テキストを右寄せ */
  max-width: none;         /* .containerの1160px上限を解除し、下の60vwパディングで幅を決める */
  width: 100%;
  /* 左パディング60vw = 上のグラデーションの区切り位置(60%)と正確に一致させて、被らないようにする */
  /* 右パディングはヘッダー/フッターの1160px枠には合わせず、画面幅に応じて伸び縮み（最小24px・最大100px） */
  padding: 72px clamp(24px, 6vw, 100px) 72px 63vw;
}

.hero-intro-text {
  max-width: 480px;
}

.hero-intro-text .hero-sub {
  font-family: var(--font-serif); /* 見出しは明朝体 */
  color: rgb(255,255,255);  /* ブランドのゴールド系カラー（クリーム背景でも読める濃さ） */
  font-size: 30px;
  line-height: 1.5;
}

.hero-intro-text .hero-text {
  color: var(--color-text-muted); 
  color: rgb(255,255,255); /* 右側が無地クリームになったので、読める濃い色に変更 */
  padding-top: 30px;
}

.hero-intro-media {
  position: absolute;
  inset: 0;              /* 上下左右0 = .hero-intro（親）いっぱいに広がる */
  border-radius: 0;       /* 全面に敷くなら角丸は不要 */
  box-shadow: none;
  aspect-ratio: auto;     /* 高さは親（.hero-introの高さ）に合わせる */
}

.hero-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* 写真全体がハマるように縮小してくれる仕組み。外すと原寸表示になって破綻するので必須 */
  object-position: center center;
  transform: scale(1) translateX(-15%); /* scaleでズームして余白を作り、translateXで左にぐっと押し出す */
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 600;
}

.hero-text {
  margin-top: 30px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   ご相談から納品までの流れ
   カードなし。丸アイコンを横線でつなぐタイムライン形式
   ========================================================================== */

.flow-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.flow-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 34px;
  right: 34px;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.flow-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.flow-icon svg {
  width: 28px;
  height: 28px;
}

.flow-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.flow-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.process-foot {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 48px;
  font-size: 0.92rem;
}

/* ==========================================================================
   シェ・コーベが選ばれる理由（ブランドストーリー）
   額縁風の写真＋ストーリー文＋CTAボタンの2カラム
   ========================================================================== */

.why-inner {
  display: flex;
  align-items: center;
  gap: 72px;
}

.why-media {
  flex: 1 1 45%;
  background: var(--color-bg-alt);
  padding: 16px;
  border-radius: 8px;
}

.why-frame {
  position: relative;
}

.why-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.why-content {
  flex: 1 1 55%;
  text-align: center
}

.why-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-accent);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.why-label::before,
.why-label::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.why-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.why-body {
  color: var(--color-text-muted);
  line-height: 2;
}

.why-quote {
  text-align: center;
  color: var(--color-accent);
  font-size: 0.9rem;
  margin: 32px 0;
}

.why-quote::before {
  content: "— ";
}

.why-quote::after {
  content: " —";
}

.why-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
  padding: 16px 32px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-weight: 600;
}

.why-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 24px;
}

.why-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.why-divider span {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.why-divider i {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ==========================================================================
   CTA バナー
   ========================================================================== */

.cta {
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-accent);
  border-radius: 32px;
  padding: 64px 48px;
}

.cta-eyebrow {
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.cta-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 360px;
  margin: 16px auto 32px;
}

.cta-divider span {
  flex: 1;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
}

.cta-divider i {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.cta-title {
  color: rgb(61,23,21);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-desc {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-accent-light);
  background: var(--color-surface);
  color: var(--color-text);
}

.cta-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 320px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: #99762f;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-bg-alt);
}

/* ==========================================================================
   フッター
   ========================================================================== */

.footer {
  background: var(--color-bg-alt);
  padding: 64px 0 24px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.footer-about {
  max-width: 340px;
}

.footer-about p {
  margin-top: 16px;
  line-height: 1.9;
}

.footer-col-title {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.footer-bottom {
  padding-top: 20px;
  font-size: 0.78rem;
}

/* ==========================================================================
   スクロールフェードイン
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    box-shadow: var(--shadow-header);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav.is-open {
    max-height: 480px;
  }

  .nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-border);
    display: block;
  }

  .nav-toggle {
    display: block;
  }

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

  .support-card {
    flex-direction: column;
  }

  .scene-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .flow-steps {
    flex-direction: column;
    gap: 32px;
  }

  .flow-steps::before {
    display: none;
  }

  .why-inner {
    flex-direction: column;
    gap: 32px;
  }

  .why-media img {
    aspect-ratio: 16 / 10;
  }

  .scene-word {
    font-size: 1.2rem;
  }

  .support-card-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .header-inner {
    position: relative;
  }

  .cta {
    padding: 44px 24px;
  }
}

@media (max-width: 600px) {
  .hero-media {
    height: clamp(320px, 80vh, 800px);
  }
  
  .hero-slide img {
    object-position: 100% 25%;
    animation: heroPan 10s ease-in-out infinite alternate;
  }


  .hero-overlay {
    padding: 20px;
    max-width: 100%;
  }

  .hero-dots {
    right: 20px;
    bottom: 20px;
  }

  /* hero-introはPC専用の「写真60%+濃い色40%」の横分割構成なので、
     スマホでは写真を上・テキストを下に積み重ねるシンプルな構成に切り替える */
  /* hero-intro：スマホ */
  .hero-intro {
    display: block;
    width: 100%;
    min-height: auto;
    margin-left: 0;
    background: rgb(61,23,21);
  }

  /* スマホではイントロ画像を非表示 */
  .hero-intro-media {
    display: none;
  }

  .hero-intro::after {
    display: none;
  }

  .hero-intro-inner {
    display: block;
    width: 100%;
    padding: 64px 24px 68px;
    background: rgb(61,23,21);
  }

  .hero-intro-text {
    max-width: none;
  }

  .hero-intro-logo {
    height: 32px;
    width: auto;
    margin-bottom: 28px;
  }

  .hero-intro-text .hero-sub {
    color: #fff;
    font-size: clamp(1.4rem, 6vw, 1.7rem);
    line-height: 1.65;
    letter-spacing: 0.03em;
    font-weight: 600;
  }

  .hero-intro-text .hero-text {
    color: #fff;
    margin-top: 24px;
    padding-top: 0;
    font-size: 0.88rem;
    line-height: 2.05;
    font-weight: 300;
  }
  
   .support-section .section-head {
    margin-bottom: 28px;
  }

  .support-section .section-text {
    padding-bottom: 10px;
  }
  
  .support-card-media {
    width: 100%;
    height: 400px;
    aspect-ratio: auto;
    flex: none;
    overflow: hidden;
  }

  .support-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .scene-visual {
    position: relative;
    display: block;
    margin-bottom: 18px;
  }

  
  .scene-word {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;

    writing-mode: horizontal-tb;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 3rem;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-left: 0;
    padding-bottom: 0;

    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  }
  
   .product-section .section-head {
    margin-bottom: 28px;
  }

  .product-section .section-text {
    padding-bottom: 0;
  }
  
   .product-section .card-grid {
    gap: 28px;
  }
  
    /* セクション全体の余白 */
  .flow-section {
    padding: 72px 0 80px;
  }

  .flow-section .section-head {
    margin-bottom: 52px;
  }

  /* 縦型タイムライン */
  .flow-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* 左側の縦ライン */
  .flow-steps::before {
    display: block;
    top: 26px;
    bottom: 26px;
    left: 25px;
    right: auto;
    width: 1px;
    height: auto;
    background: var(--color-accent-light);
  }

  /* 1ステップ */
  .flow-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 20px;
    align-items: start;

    text-align: left;
    padding-bottom: 58px;
  }

  .flow-step:last-child {
    padding-bottom: 0;
  }

  /* アイコン */
  .flow-icon {
    grid-column: 1;
    grid-row: 1 / span 3;

    width: 52px;
    height: 52px;
    margin: 0;

    position: relative;
    z-index: 2;

    background: var(--color-surface);
    border: 1px solid var(--color-border);

    /* 縦線との間に余白をつくる */
    box-shadow: 0 0 0 8px var(--color-bg-alt);
  }

  .flow-icon svg {
    width: 22px;
    height: 22px;
  }

  /* 番号 */
  .flow-num {
    grid-column: 2;
    margin: 1px 0 5px;

    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }

  /* 見出し */
  .flow-title {
    grid-column: 2;
    margin-bottom: 9px;

    font-size: 1.08rem;
    line-height: 1.6;
  }

  /* 説明文 */
  .flow-text {
    grid-column: 2;

    font-size: 0.84rem;
    line-height: 1.9;
  }

  /* 最後の補足文 */
  .process-foot {
    margin-top: 52px;
    padding-top: 24px;
    padding-left: 72px;

    border-top: 1px solid var(--color-border);
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.9;
  }
  
  .process-foot {
    margin-top: 52px;
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--color-border);

    text-align: center;
    font-size: 0.82rem;
    line-height: 1.9;
  }
  
  .why-body {
     text-align: left;
  }
  
   /* CTAカード上部の余白を狭く */
  .cta-section {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  /* 3つの特徴を2カラムに */
  .cta-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 30px;
  }

  .cta-badge {
    width: 100%;
    justify-content: center;
    gap: 5px;

    padding: 8px 6px;
    font-size: 0.7rem;
    line-height: 1.4;
    white-space: nowrap;
  }

  .cta-badge svg {
    width: 13px;
    height: 13px;
  }
  
   .section-head .section-text {
    margin-top: 14px;
  }
  
  .section-text {
    width: 100%;
    text-align: left;
    line-height: 1.9;
  }
  
   .header-inner {
    padding: 12px 16px;
    gap: 12px;
  }

  .logo-img {
    width: min(42vw, 160px);
    height: auto;
  }

  .nav-toggle {
    flex-shrink: 0;
  }
}

@media (max-width: 900px) {
  .header-inner {
    justify-content: flex-start;
  }

  /* ロゴは左 */
  .logo {
    order: 1;
  }

  /* ハンバーガーを右側へ */
  .nav-toggle {
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 600px) {
  .nav-toggle {
    padding: 6px;
  }
}

.scene-section-text {
    text-align: left;
}

/* ==========================================================================
   トップへ戻るボタン
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-card);
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
}

@media (max-width: 600px) {
  .back-to-top {
    width: 42px;
    height: 42px;
  }
}