/* ============================================
   つなぐ珈琲 — Premium Gift Brand Design
   Direction: 高級文具・贈り物ブランドの洗練
   日本の丁寧なギフト文化 × モダンミニマル
   ============================================ */

/* --- Custom Properties --- */
:root {
  --c-bg:        #FFF8F3;   /* クリームホワイト */
  --c-bg-2:      #F5EAE0;   /* ライトベージュ */
  --c-ink:       #2D1B0E;   /* メインテキスト */
  --c-ink-soft:  #6B4A38;   /* サブテキスト — コントラスト強化 (WCAG AA対応) */
  --c-accent:    #C85840;   /* ブランドカラー（テラコッタ） */
  --c-accent-lt: #E89070;   /* アクセントの明るめトーン */
  --c-accent-dk: #A8402A;   /* アクセントの深みトーン — ホバー用 */
  --c-warm-dark: #7A3828;   /* ダークセクション共通 */
  --c-line:      #EBD9C8;   /* ボーダー */
  --c-line-soft: #F2E6D8;   /* より薄いボーダー */
  --c-white:     #FFFFFF;

  /* === 統合補完（Case A 2026-05-14）=== */
  /* 子テーマ側で使われていた変数を統合し、テラコッタ系で一本化 */
  --c-caramel:   #7A3828;   /* = c-warm-dark エイリアス。茶寄りの差し色は使わず暖色側へ寄せる */
  --c-espresso:  #1A0D06;   /* ダークセクション最深部 — ナビ/フッター背景 */

  --font-serif: 'Playfair Display', 'Noto Serif JP', Georgia, serif;
  --font-sans:  'Inter', 'Noto Serif JP', -apple-system, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;   /* 7rem → 6rem：過剰な垂直余白を調整 */
  --space-3xl: 9rem;   /* 10rem → 9rem：セクション間のリズム調整 */

  /* Radius — プレミアムブランドらしい控えめなカーブ */
  --r-sm:   3px;
  --r-md:   6px;
  --r-lg:   10px;
  --r-full: 9999px;

  /* Shadows — 奥行き感を持たせた精緻なシャドウ */
  --shadow-sm: 0 1px 4px rgba(45,27,14,0.05), 0 0 0 1px rgba(45,27,14,0.03);
  --shadow-md: 0 4px 20px rgba(45,27,14,0.08), 0 1px 4px rgba(45,27,14,0.04);
  --shadow-lg: 0 12px 40px rgba(45,27,14,0.12), 0 4px 12px rgba(45,27,14,0.06);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background-color: var(--c-bg);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 日本語の自然な改行 */
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography Utilities --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 3rem;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.4;
}

.section-eyebrow--light {
  color: var(--c-accent-lt);
}

.section-eyebrow--light::before {
  background: var(--c-accent-lt);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.35;   /* 1.2 → 1.35：日本語混植の行間を適切に */
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.section-title--light {
  color: var(--c-bg);
}

.section-desc {
  color: var(--c-ink-soft);
  font-size: 1rem;
  max-width: 520px;
  line-height: 2.0;
  font-weight: 300;
  letter-spacing: 0.015em;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .section-eyebrow {
  justify-content: center;
}

.section-header .section-eyebrow::before {
  display: none;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9rem 2.5rem;
  border-radius: 0;                /* シャープなエッジ — 高級文具ブランド的 */
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;          /* 0.06em → 0.1em：より丁寧な間隔 */
  text-transform: uppercase;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* スライドイン下線エフェクト */
.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: width 0.4s var(--ease-out);
}

.btn:hover::after {
  width: 100%;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 2px 8px rgba(200, 88, 64, 0.25);
}

.btn--primary:hover {
  background: var(--c-accent-dk);  /* lighten → darken：より高品質な印象 */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 88, 64, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(200, 88, 64, 0.2);
}

.btn--ghost {
  border: 1px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.92);
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  color: var(--c-white);
}

.btn--large {
  padding: 1.15rem 3.25rem;
  font-size: 0.825rem;
  letter-spacing: 0.12em;
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.btn--full { width: 100%; }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.5s var(--ease);
}

.nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-line);
}

.nav.scrolled .nav__logo,
.nav.scrolled .nav__link {
  color: var(--c-ink);
}

.nav.scrolled .nav__link {
  color: var(--c-ink-soft);
}

.nav.scrolled .nav__link:hover {
  color: var(--c-ink);
}

.nav.scrolled .nav__cta {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

.nav.scrolled .nav__hamburger span {
  background: var(--c-ink);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--c-bg);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  transition: color 0.5s var(--ease);
}

/* ☕ 絵文字を非表示にする */
.nav__logo-symbol {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav__link {
  color: rgba(250, 250, 248, 0.8);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-weight: 300;
  transition: color 0.3s var(--ease);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--c-bg);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 0;              /* シャープなエッジに統一 */
  border: 1px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.95);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  flex-shrink: 0;
}

.nav__cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
  color: var(--c-white);
}

.nav.scrolled .nav__cta:hover {
  background: var(--c-accent-dk);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-bg);
  transition: all 0.3s;
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-accent);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: rgba(250,250,248,0.7);
  transition: all 0.3s;
}

.mobile-menu__link:hover {
  color: var(--c-bg);
}

.mobile-menu__link--cta {
  color: var(--c-accent-lt);
}

/* ============================================
   Hero Section — Split Layout
   ============================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 44% 1fr;
  position: relative;
  overflow: hidden;
}

/* 左パネル — ダークテキスト */
.hero__panel--text {
  background: #130A04;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 4rem 5rem 5rem;
  position: relative;
  z-index: 2;
}

/* 右パネル — 写真 */
.hero__panel--image {
  position: relative;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* 写真 → テキストパネルへのグラデーション */
.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #130A04 0%, transparent 25%);
  pointer-events: none;
}

/* 湯気エフェクト */
.hero__steam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.steam-wisp {
  position: absolute;
  bottom: 34%;         /* 犬の鼻付近（カップ上部）から立ち上る */
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 235, 230, 0.6)  45%,
    transparent 72%);
  filter: blur(8px);
  opacity: 0;
  animation: steamRise var(--duration, 8s) ease-in var(--delay, 0s) infinite;
}

@keyframes steamRise {
  0%   { transform: translateY(0)      translateX(0)         scaleX(1);    opacity: 0;    }
  10%  {                                                                    opacity: 0.28; }
  35%  { transform: translateY(-100px) translateX(var(--d1)) scaleX(1.8);  opacity: 0.18; }
  65%  { transform: translateY(-240px) translateX(var(--d2)) scaleX(2.8);  opacity: 0.07; }
  100% { transform: translateY(-460px) translateX(var(--d3)) scaleX(4.2);  opacity: 0;    }
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(200, 160, 110, 0.65);
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.2vw, 4rem);
  font-weight: 400;
  color: #FDF6EE;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.hero__title em {
  font-style: italic;
  color: #E8A060;
  display: block;
}

.hero__desc {
  color: rgba(253, 246, 238, 0.58);
  font-size: 0.92rem;
  line-height: 2.1;
  margin-bottom: var(--space-xl);
  font-weight: 300;
  letter-spacing: 0.03em;
  max-width: 24em;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200, 160, 110, 0.4);
  writing-mode: vertical-rl;
  font-weight: 300;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(200, 160, 110, 0.5), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 60vw 1fr;
    min-height: unset;
  }
  .hero__panel--image { order: 1; min-height: 60vw; }
  .hero__panel--text  {
    order: 2;
    padding: 3rem 2rem 5rem;
    justify-content: flex-start;
  }
  .hero__image-overlay {
    background: linear-gradient(to bottom, transparent 55%, #130A04 100%);
  }
  .hero__scroll-indicator { left: 2rem; bottom: 2rem; }
}

/* ============================================
   Story Section
   ============================================ */
.story {
  padding: var(--space-3xl) 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}

.story__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-3xl);
  align-items: start;
}

.story__question {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.story__text {
  font-size: 1rem;
  color: var(--c-ink-soft);
  line-height: 2;
  font-weight: 300;
}

.story__text--accent {
  color: var(--c-ink);
  font-weight: 400;
  font-size: 1.05rem;
}

.story__tagline {
  margin-top: var(--space-lg);
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  line-height: 2;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-line);
}

@media (max-width: 768px) {
  .story__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .story__question {
    position: static;
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
}

/* ============================================
   Concept Section
   ============================================ */
.concept {
  padding: var(--space-3xl) 0 var(--space-2xl);  /* 下padding調整：次セクションへのリズム */
  background: var(--c-bg);
}

.concept__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);          /* --space-md → --space-lg：カード間の余裕 */
}

.concept-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line-soft);
  border-radius: 0;
  border-top: 2px solid transparent;
  transition: all 0.45s var(--ease-out);
  animation-delay: var(--delay, 0s);
  position: relative;
}

.concept-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: var(--space-xl);
  right: var(--space-xl);
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}

.concept-card:hover::before {
  transform: scaleX(1);
}

.concept-card:hover {
  background: var(--c-bg);
  border-color: var(--c-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* プレースホルダーアイコン — SVGアイコンに置き換え */
.placeholder-icon {
  display: none;                 /* 灰色の四角を非表示にしてSVGに置き換え */
}

.placeholder-icon--sm {
  display: none;
}

/* コンセプトカード用のインラインSVGアイコンエリア */
.concept-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--c-bg-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  transition: background 0.35s var(--ease);
}

.concept-card:hover .concept-card__icon-wrap {
  background: rgba(200, 88, 64, 0.1);
}

.concept-card__icon-wrap svg {
  color: var(--c-accent);
}

.concept-card__icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  opacity: 0.7;
}

.concept-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: 0.875rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.concept-card__desc {
  font-size: 0.93rem;
  color: var(--c-ink-soft);
  line-height: 2.0;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ============================================
   Products Section
   ============================================ */
.products {
  padding: var(--space-3xl) 0;
  background: var(--c-bg-2);
  position: relative;
}

.products::before {
  display: none;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);           /* --space-md → --space-lg：カード間の余裕 */
}

.product-card {
  background: var(--c-white);
  border-radius: 0;              /* シャープなエッジに統一 */
  overflow: hidden;
  transition: all 0.45s var(--ease-out);
  border: 1px solid var(--c-line-soft);
  animation-delay: var(--delay, 0s);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card__visual {
  height: 240px;                 /* 200px → 240px：ビジュアルエリアの強化 */
  display: flex;
  align-items: flex-end;         /* center → flex-end：コンテンツを下寄せ */
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: var(--space-md);
}

/* 各豆の個性をグラデーションで表現 — 洗練されたプレースホルダー */
.product-card__visual--brazil {
  background: linear-gradient(135deg, #C8A882 0%, #A07850 40%, #8B6040 100%);
}

.product-card__visual--ethiopia {
  background: linear-gradient(135deg, #B8956A 0%, #C8A060 40%, #A88048 100%);
}

.product-card__visual--ice {
  background: linear-gradient(135deg, #8090A8 0%, #607890 40%, #486070 100%);
}

/* テクスチャオーバーレイ */
.product-card__visual--brazil::before,
.product-card__visual--ethiopia::before,
.product-card__visual--ice::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 20% 20%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}

/* 産地ラベル — ブランド感のある素材表示 */
.product-card__visual--brazil::after {
  content: 'Brazil Santos';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-weight: 300;
}

.product-card__visual--ethiopia::after {
  content: 'Ethiopia Yirgacheffe';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-weight: 300;
}

.product-card__visual--ice::after {
  content: 'Ice Coffee Blend';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-weight: 300;
}

/* ビジュアルエリアの豆番号ラベル */
.product-card__visual-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  position: absolute;
  bottom: -0.2em;
  left: var(--space-md);
  pointer-events: none;
  user-select: none;
}

.product-card__icon {
  display: none;
}

.product-card__body {
  padding: var(--space-lg) var(--space-lg);  /* --space-md → --space-lg：余裕のあるボディ */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: 0.625rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.product-card__roast {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 0;              /* シャープなタグデザイン */
  border: 1px solid var(--c-line);
  color: var(--c-ink-soft);
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  line-height: 1.95;
  margin-bottom: var(--space-lg);
  font-weight: 300;
  letter-spacing: 0.01em;
  flex: 1;                       /* フッターを常に下端に揃える */
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-line-soft);
}

.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-accent);
  line-height: 1;
}

.product-card__price small {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--c-ink-soft);
  font-family: var(--font-sans);
  letter-spacing: 0;
  display: block;
  margin-top: 3px;
}

.products__note {
  text-align: center;
  margin-top: var(--space-xl);
  color: var(--c-ink-soft);
  font-size: 0.88rem;
  line-height: 2;
  font-weight: 300;
  letter-spacing: 0.03em;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}

/* ============================================
   How To Order Section
   ============================================ */
.howto {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.howto__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #B86A20 0%, #CF8438 50%, #E0A050 100%);
}

.howto__pattern {
  position: absolute;
  inset: 0;
  background: none;
}

.howto .container {
  position: relative;
  z-index: 1;
}

.howto__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-sm);
  max-width: 960px;
  margin: 0 auto;
}

.howto__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,220,170,0.12);
  border-radius: 0;
  transition: all 0.45s var(--ease-out);
  animation-delay: var(--delay, 0s);
  position: relative;
}

.howto__step:hover {
  border-color: rgba(255,220,170,0.28);
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}

.howto__step-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,220,170,0.28);
  line-height: 1;
  margin-bottom: var(--space-lg);
  display: block;
  letter-spacing: -0.02em;
}

.howto__step-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.howto__step-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.03em;
}

.howto__step-desc {
  font-size: 0.92rem;
  color: rgba(255,248,235,0.95);
  line-height: 1.9;
  font-weight: 400;
}

.howto__step-arrow {
  color: rgba(255,220,180,0.25);
  font-size: 0;
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;                 /* 垂直中央揃えはflexboxに委ねる */
  gap: 0;
  position: relative;
  top: -1rem;                    /* ステップ番号を考慮した位置調整 */
}

/* シンプルな矢印ライン */
.howto__step-arrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(255,220,180,0.28);
}

.howto__step-arrow::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 5px solid rgba(255,220,180,0.28);
  margin-left: 0;
}

.howto__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ============================================
   BtoB Section
   ============================================ */
.btob {
  padding: var(--space-3xl) 0;
  background: var(--c-bg);
}

.btob__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.btob__body {
  color: var(--c-ink-soft);
  line-height: 2;
  margin-bottom: var(--space-xl);
  font-size: 1rem;
  font-weight: 300;
}

.btob__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.btob__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--c-ink);
  font-weight: 300;
}

/* 細いダッシュ記号 — ラグジュアリーブランドのチェックリストスタイル */
.btob__feature-icon {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--c-accent);
  flex-shrink: 0;
  font-size: 0;
  overflow: hidden;
  border-radius: 0;
  margin-top: 0.65em;            /* テキストの中央に揃える */
  opacity: 0.8;
}

.btob__img-frame {
  border-radius: 0;              /* シャープなエッジに統一 */
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: linear-gradient(150deg, #C8A882 0%, #A07850 35%, #8B6040 70%, #6A4028 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  box-shadow: var(--shadow-lg);
}

/* テクスチャオーバーレイ */
.btob__img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 30% 0%, rgba(255,255,255,0.1), transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(0,0,0,0.2), transparent 60%);
  pointer-events: none;
}

.btob__img-frame::before {
  content: 'PHOTO';
  position: absolute;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #ADA49A;
  font-family: var(--font-sans);
  font-weight: 400;
  z-index: 1;
}

.btob__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--space-lg);
  position: relative;
  z-index: 1;
  visibility: visible;           /* hidden → visible：コンテンツを表示 */
}

.btob__img-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* BtoBビジュアルキャプション */
.btob__img-caption {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,240,220,0.55);
  letter-spacing: 0.12em;
  font-weight: 400;
}

/* Gift box illustration — hide, replaced by abstract gradient */
.gift-box,
.gift-box__lid,
.gift-box__body,
.gift-box__ribbon-v,
.gift-box__ribbon-h,
.gift-box__bow {
  display: none;
}

/* ============================================
   Quote Section
   ============================================ */
.quote-section {
  padding: var(--space-2xl) 0;   /* --space-3xl → --space-2xl：セクション圧縮 */
  background: var(--c-bg);       /* ダークから反転 — ライトセクションとして差別化 */
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}

.quote-section::before,
.quote-section::after {
  content: none;
}

.quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.quote__text {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 3.8vw, 2.25rem);
  font-style: italic;
  color: var(--c-ink);           /* white → ink：ライトセクションに合わせる */
  line-height: 1.65;
  margin-bottom: var(--space-md);
  font-weight: 400;
  position: relative;
  padding: 0 2.5em;
  white-space: nowrap;
}

/* 引用符の装飾 */
.quote__text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -0.15em;
  font-size: 3em;
  color: var(--c-accent);
  opacity: 0.2;
  font-style: normal;
  line-height: 1;
}

.quote__author {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);        /* rgba(white) → accent：アクセントカラーで締める */
  font-weight: 400;
}

/* ============================================
   Access Section
   ============================================ */
.access {
  padding: var(--space-3xl) 0;
  background: var(--c-bg-2);
}

.access__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.access__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.access__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--c-line);
}

.access__icon {
  display: none;
}

.access__item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.access__item strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 400;
}

.access__item span {
  color: var(--c-ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 300;
}

.access__map-placeholder {
  height: 420px;
  background: var(--c-white);
  border-radius: 0;              /* シャープなエッジに統一 */
  border: 1px solid var(--c-line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

/* Map Art */
.map-art {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-art__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

.map-art__pin {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-art__pin-dot {
  width: 14px;
  height: 14px;
  background: var(--c-accent);
  border-radius: 50%;
  border: 2px solid var(--c-white);
  box-shadow: 0 2px 8px rgba(180,83,9,0.3);
  z-index: 2;
  position: relative;
}

.map-art__pin-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(180,83,9,0.1);
  animation: pulse 2.5s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.map-art__label {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--c-ink-soft);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #7A3828 0%, #9A5038 50%, #B06848 100%);
}

.contact__pattern {
  position: absolute;
  inset: 0;
  background: none;
}

.contact__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact__desc {
  color: rgba(255,235,210,0.88);
  font-size: 1rem;
  margin-bottom: var(--space-2xl);
  line-height: 2;
  font-weight: 300;
}

.contact__form {
  text-align: left;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: 0;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-lg);
}

.form__label {
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255,235,210,0.75);
  text-transform: uppercase;
  margin-bottom: 0.625rem;      /* --space-xs → 固定値：より精密な間隔 */
}

/* アンダーライン型フォームフィールド */
.form__input {
  width: 100%;
  padding: 1rem 0;              /* 0.875rem → 1rem：タップしやすい高さ */
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,210,160,0.25);
  border-radius: 0;
  color: #FFF0E0;
  font-size: 0.9375rem;         /* 1rem → 0.9375rem：細部の精度 */
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.01em;
  transition: border-color 0.4s var(--ease);
  outline: none;
}

.form__input::placeholder {
  color: rgba(255,235,210,0.35);
  letter-spacing: 0;
}

.form__input:focus {
  border-bottom-color: rgba(255,160,120,0.7);  /* 単純なアクセントより馴染むトーン */
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
  border-bottom: 1px solid rgba(255,210,160,0.18);
  line-height: 1.8;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(250,250,248,0.3)' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form__select option {
  background: var(--c-warm-dark);
  color: var(--c-bg);
}

.contact__form .btn--primary {
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #3A2018;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-lg);
}

.footer .nav__logo {
  font-size: 1.1rem;
}

.footer .nav__logo-symbol {
  display: none;
}

.footer__tagline {
  color: rgba(250,230,210,0.55);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  line-height: 1.8;
  font-weight: 300;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,250,248,0.3);
  transition: all 0.3s;
}

.footer__social-link:hover {
  border-color: rgba(255,255,255,0.2);
  color: rgba(250,250,248,0.6);
}

.footer__nav {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.footer__nav-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,230,210,0.55);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

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

.footer__nav-col a {
  color: rgba(250,230,210,0.55);
  font-size: 0.9rem;
  font-weight: 300;
  transition: color 0.3s;
}

.footer__nav-col a:hover {
  color: rgba(250,230,210,0.85);
}

.footer__company {
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__company p {
  color: rgba(250,230,210,0.45);
  font-size: 0.82rem;
  line-height: 1.8;
  font-weight: 300;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__bottom p {
  color: rgba(250,230,210,0.4);
  font-size: 0.8rem;
  font-weight: 300;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  color: rgba(250,230,210,0.4);
  font-size: 0.8rem;
  font-weight: 300;
  transition: color 0.3s;
}

.footer__bottom-links a:hover {
  color: rgba(250,230,210,0.65);
}

/* ============================================
   Scroll Animations — refined
   ============================================ */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal     { transform: translateY(20px); }
.reveal-up  { transform: translateY(28px); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   Responsive
   ============================================ */
.br-pc { display: block; }

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

@media (max-width: 768px) {
  :root {
    --space-3xl: 6rem;
    --space-2xl: 4rem;
    --space-xl:  3rem;
  }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .br-pc { display: none; }

  /* モバイルではSCROLLインジケーター非表示 */
  .hero__scroll-indicator { display: none; }

  /* モバイルではタイトルのnowrapを解除し、適切なサイズで自然折り返し */
  .hero__title-line { white-space: normal; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }

  .btob__layout,
  .access__layout { grid-template-columns: 1fr; }

  .products__grid { grid-template-columns: 1fr 1fr; }
  .concept__grid  { grid-template-columns: 1fr; }

  .howto__steps { flex-direction: column; align-items: center; }
  .howto__step  { width: 100%; max-width: 400px; }
  .howto__step-arrow {
    transform: rotate(90deg);
    margin: 0;
    top: 0;
    width: 32px;
  }

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

  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { gap: var(--space-lg); }
}

@media (max-width: 480px) {
  .products__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}

/* =====================================================
   AI DESIGN SECTION
   ===================================================== */

.ai-design {
  padding: var(--space-3xl) 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}

.ai-design .section-desc {
  margin-top: var(--space-sm);
  font-size: 1rem;
  color: var(--c-ink-soft);
  line-height: 1.75;
  text-align: center;
}

/* Form */
.ai-design__form {
  max-width: 680px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.ai-design__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}

.ai-design__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  text-transform: uppercase;
}

/* Chips */
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ai-chip {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--c-line);
  background: var(--c-white);
  color: var(--c-ink-soft);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  border-radius: 0; /* 2026-05-14 Case A: 999px -> 0, シャープエッジに統一 */
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.ai-chip:hover {
  border-color: var(--c-accent-lt);
  color: var(--c-accent);
}
.ai-chip.is-selected {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: var(--c-white);
}

/* Text input */
.ai-design__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-line);
  background: var(--c-white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--c-ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.18s;
}
.ai-design__input:focus {
  border-color: var(--c-accent);
}
.ai-design__input::placeholder { color: #BBA898; }

.ai-design__char-count {
  font-size: 0.78rem;
  color: var(--c-ink-soft);
  text-align: right;
  margin-top: -0.25rem;
}

/* Generate button */
.ai-design__generate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: var(--space-sm);
}

.ai-design__generate-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* Loading */
.ai-design__loading {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.ai-loading-dots {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}
.ai-loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: loadingPulse 1.2s ease-in-out infinite;
}
.ai-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadingPulse {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%            { transform: scale(1.1); opacity: 1; }
}

.ai-loading-text {
  color: var(--c-ink-soft);
  font-size: 0.95rem;
}

/* Results */
.ai-design__results {
  margin-top: var(--space-2xl);
}

.ai-design__results-label {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
}

.ai-design__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Individual card */
.ai-design-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: var(--space-lg);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ai-design-card:hover {
  box-shadow: 0 8px 32px rgba(45,27,14,0.1);
  transform: translateY(-3px);
}

.ai-design-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-ink);
}

.ai-design-card__desc {
  font-size: 0.82rem;
  color: var(--c-ink-soft);
  line-height: 1.65;
  flex: 1;
}

.ai-design-card__select-btn {
  width: 100%;
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
}

/* Label previews */
.ai-label-preview {
  aspect-ratio: 7 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ai-label__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem;
  text-align: center;
  width: 100%;
}

.ai-label__brand {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ai-label__message {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.ai-label__bean {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.ai-label__divider {
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

/* ── Style A: シンプル ── */
.ai-label-preview--simple {
  background: #FDFAF7;
  border: 1.5px solid #C8B9AA;
  position: relative;
  overflow: hidden;
}
.ai-label-preview--simple::before,
.ai-label-preview--simple::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid #C8B9AA;
}
.ai-label-preview--simple::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.ai-label-preview--simple::after  { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.ai-label-preview--simple .ai-label__inner { color: #2C1810; }
.ai-label-preview--simple .ai-label__brand { letter-spacing: 0.22em; font-size: 0.58rem; opacity: 0.45; }
.ai-label-preview--simple .ai-label__message { font-size: 1.2rem; font-weight: 400; font-family: 'Noto Serif JP', serif; letter-spacing: 0.08em; }
.ai-label-preview--simple .ai-label__bean { opacity: 0.4; font-size: 0.55rem; }

/* ── Style B: ナチュラル ── */
.ai-label-preview--natural {
  background: #F4EDE3;
  border: 1px solid #C9A882;
}
.ai-label-preview--natural .ai-label__inner { color: #4A3728; }
.ai-label__wreath {
  width: 56px;
  height: 56px;
  border: 1.5px solid #9DB88A;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-label__wreath::before, .ai-label__wreath::after {
  content: '🌿';
  position: absolute;
  font-size: 14px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}
.ai-label__wreath::before { left: -14px; transform: translateY(-50%) rotate(-30deg); }
.ai-label__wreath::after  { right: -14px; transform: translateY(-50%) rotate(30deg) scaleX(-1); }
.ai-label-preview--natural .ai-label__message {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #3A5C38;
  letter-spacing: 0.05em;
}
.ai-label-preview--natural .ai-label__brand { color: #7A9C78; font-size: 0.58rem; letter-spacing: 0.18em; }
.ai-label-preview--natural .ai-label__bean  { color: #8A7060; font-size: 0.55rem; }

/* ── Style C: モダン ── */
.ai-label-preview--modern {
  background: #0E0805;
  border: 1px solid #2A1A10;
  position: relative;
  overflow: hidden;
}
.ai-label-preview--modern::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-caramel) 100%);
}
.ai-label-preview--modern .ai-label__inner {
  color: #EAD9C4;
  padding-left: 1rem;
}
.ai-label-preview--modern .ai-label__brand {
  letter-spacing: 0.28em;
  font-size: 0.52rem;
  text-transform: uppercase;
  color: var(--c-caramel);
  opacity: 0.7;
}
.ai-label-preview--modern .ai-label__message {
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #F5E6D0;
  letter-spacing: 0.03em;
}
.ai-label-preview--modern .ai-label__bean {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-caramel);
  opacity: 0.6;
}
.ai-label__accent-bar {
  width: 28px;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.6;
  margin: 0.1rem auto;
}

/* Extra generation */
.ai-design__extra {
  margin-top: var(--space-2xl);
  text-align: center;
  padding: var(--space-xl);
  background: var(--c-bg-2);
  border: 1px dashed var(--c-line);
}

.ai-design__extra-note {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  margin-bottom: var(--space-md);
}

.ai-design__extra-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.ai-design__price-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 860px) {
  .ai-design__cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .ai-design .section-desc { font-size: 0.9rem; }
  .ai-design__label { font-size: 0.8rem; }
}

/* =====================================================
   OCCASIONS SECTION
   ===================================================== */

.occasions {
  padding: var(--space-3xl) 0;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-line);
}

.occasions__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  justify-content: center;
  align-items: stretch;
}

.occasions__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}

.occasions__card:hover {
  box-shadow: 0 6px 24px rgba(45,27,14,0.09);
  transform: translateY(-3px);
}

.occasions__icon-placeholder { display: none; }

.occasions__icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--c-bg-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  flex-shrink: 0;
}
.occasions__card:hover .occasions__icon-wrap {
  background: rgba(200,88,64,0.08);
}
.occasions__icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--c-accent);
}

/* ── Radar chart ────────────────────────────────── */
.radar-chart-wrap {
  margin: var(--space-lg) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.radar-chart {
  width: 100%;
  max-width: 200px;
}
.radar-grid {
  fill: none;
  stroke: var(--c-line);
  stroke-width: 0.8;
}
.radar-axis {
  stroke: var(--c-line);
  stroke-width: 0.6;
}
.radar-data {
  fill: rgba(193,122,74,0.18);
  stroke: var(--c-accent);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.radar-label {
  font-size: 9px;
  fill: var(--c-ink-soft);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.occasions__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.4;
  margin-top: var(--space-md);
  word-break: keep-all;
}

.occasions__desc {
  font-size: 0.8rem;
  color: var(--c-ink-soft);
  line-height: 1.8;
  margin-top: var(--space-sm);
  flex-grow: 1;
  word-break: keep-all;
}

@media (max-width: 960px) {
  .occasions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* 5枚目：3列の中央に配置 */
  .occasions__grid .occasions__card:nth-child(5) {
    grid-column: 2 / 3;
    max-width: 100%;
    margin: 0;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .occasions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 5枚目：中央に独立して配置 */
  .occasions__grid .occasions__card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-md) / 2);
    justify-self: center;
  }
}

/* =====================================================
   Floating CTA
   ===================================================== */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}

.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-cta__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  background: var(--c-accent);
  color: var(--c-white) !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 20px rgba(200, 88, 64, 0.4);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  white-space: nowrap;
}

.float-cta__link:hover {
  background: var(--c-accent-dk);
  box-shadow: 0 6px 28px rgba(200, 88, 64, 0.5);
  transform: translateY(-1px);
}

.float-cta__link svg {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .float-cta {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .float-cta__link {
    padding: 0.7rem 1.2rem;
    font-size: 0.78rem;
  }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */

.faq {
  padding: var(--space-3xl) 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}

.faq__list {
  max-width: 720px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--c-line);
}

.faq__item:first-child {
  border-top: 1px solid var(--c-line);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
  transition: color 0.18s;
}

.faq__question:hover {
  color: var(--c-accent);
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--c-accent);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.faq__icon::before {
  width: 12px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1.5px; height: 12px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__answer.is-open {
  max-height: 200px;
  padding-bottom: var(--space-lg);
}

.faq__answer p {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  line-height: 1.8;
  padding-left: 0;
}

/* =====================================================
   BACK TO TOP BUTTON — coffee cup silhouette
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  box-shadow: none;
  transition: opacity 0.4s var(--ease-out);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: coffeeSway 2.4s ease-in-out infinite;
}
.back-to-top:hover {
  background: transparent;
  animation: coffeeSway 0.6s ease-in-out infinite;
}
.back-to-top svg {
  width: 44px;
  height: 44px;
  color: #7B4F2E;
  fill: #7B4F2E;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(80, 40, 10, 0.35));
}
@keyframes coffeeSway {
  0%   { transform: rotate(-10deg); }
  50%  { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}

/* ============================================================
   商品バナー（productsセクション末尾のCTA）
   ============================================================ */
.product-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--c-espresso) 0%, #3a1a0a 100%);
  border-radius: 2px;
  overflow: hidden;
}

.product-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
}

.product-banner__text {
  flex: 1;
}

.product-banner__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 220, 170, 0.5);
  margin: 0 0 0.4rem;
}

.product-banner__title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: #FFF0E0;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  font-family: 'Noto Serif JP', serif;
}

.product-banner__desc {
  font-size: 0.82rem;
  color: rgba(255, 220, 170, 0.6);
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
}

.product-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: var(--c-caramel);
  color: #FFF0E0;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.25s;
  border-radius: 1px;
}

.product-banner__btn:hover {
  background: #a06030;
  color: #fff;
  transform: translateX(3px);
}

.product-banner__btn svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.product-banner__btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .product-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .product-banner__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   右サイド 常時フロートボタン
   ============================================================ */
.side-float-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--c-espresso);
  color: #FFF0E0;
  text-decoration: none;
  padding: 1.25rem 0.65rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  border-radius: 4px 0 0 4px;
  border-left: 3px solid var(--c-caramel);
  box-shadow: -3px 0 16px rgba(0, 0, 0, 0.18);
  transition: background 0.25s, padding 0.25s, border-color 0.25s;
  cursor: pointer;
  user-select: none;
}

.side-float-btn:hover {
  background: var(--c-caramel);
  padding-right: 0.85rem;
  color: #fff;
  border-left-color: #FFF0E0;
}

.side-float-btn__text {
  display: block;
}

@media (max-width: 768px) {
  /* モバイルでは横書きボタンに変換 */
  .side-float-btn {
    writing-mode: horizontal-tb;
    right: 0;
    top: auto;
    bottom: 80px;
    transform: none;
    border-radius: 4px 0 0 4px;
    padding: 0.7rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    border-left: 3px solid var(--c-caramel);
  }
}

/* ============================================
   Contact Form 7 integration (added 2026-05-14)
   CF7が挿入する<p>と.wpcf7-form-control-wrapを既存LPデザインに合わせる
   ============================================ */
.contact__form .wpcf7 p {
  margin: 0;
}
.contact__form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.contact__form .wpcf7-form .form__row,
.contact__form .wpcf7-form .form__group {
  /* CF7のwrapping divでもレイアウトが破綻しないよう保険 */
}
.contact__form .wpcf7 input[type='text'].form__input,
.contact__form .wpcf7 input[type='email'].form__input,
.contact__form .wpcf7 input[type='tel'].form__input,
.contact__form .wpcf7 select.form__select,
.contact__form .wpcf7 textarea.form__textarea {
  /* クラス指定済みだが、CF7の独自スタイルに対する優先度補強 */
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,210,160,0.25) !important;
  border-radius: 0 !important;
  color: #FFF0E0 !important;
}
.contact__form .wpcf7-not-valid-tip {
  color: #ffb39a;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}
.contact__form .wpcf7-response-output {
  border: 1px solid rgba(255,210,160,0.35) !important;
  color: #FFF0E0;
  padding: 0.9rem 1rem !important;
  margin: 1.5rem 0 0 !important;
  font-size: 0.9rem;
  border-radius: 4px;
}
.contact__form .wpcf7-spinner {
  background-color: rgba(255,235,210,0.4);
}
.form__req {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.1em 0.45em;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--c-warm-dark);
  background: var(--c-caramel, #d4a574);
  border-radius: 2px;
  vertical-align: middle;
}


/* ============================================================
   2026-05-14 Case A: フローティングCTA削減
   - .side-float-btn （右辺縦書き）: 全画面サイズで非表示
   - .float-cta （下部フロート）: PCでは非表示、モバイルのみ残存
   - .nav__cta はナビ常駐で残置（最強CTA）
   - .back-to-top は機能ボタン（UX）として残置
   戻す場合はこのブロックを削除すれば旧挙動に復帰。
   ============================================================ */
.side-float-btn,
#sideFloatBtn {
  display: none !important;
}

/* PCでは下部フロートCTAも非表示（ナビCTAで十分） */
@media (min-width: 769px) {
  .float-cta,
  #floatCta {
    display: none !important;
  }
}

/* モバイルで back-to-top と float-cta が右下で衝突するため、back-to-top を左下へ */
@media (max-width: 768px) {
  .back-to-top {
    right: auto !important;
    left: 1.25rem !important;
  }
}

/* ============================================================
   2026-05-14 Case A: 軽微リファイン
   ============================================================ */

/* 課題10: モバイル時の hero__desc 行間を調整（PC: 2.1 → モバイル: 1.85） */
@media (max-width: 600px) {
  .hero__desc {
    line-height: 1.85;
    letter-spacing: 0.01em;
  }
}

/* 課題: コンタクトセクションの導入文の親しみやすさ向上 */
.contact__desc {
  /* （コピー側で対応するため、ここは余白だけ調整） */
  margin-bottom: var(--space-lg);
}

/* ============================================
   Legal Pages — 特商法 / プライバシーポリシー
   Case A 補完 (2026-05-14 caseA17)
   LP テラコッタトーンへの統合スタイル
   ============================================ */

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-2xl, 4rem) clamp(1.25rem, 4vw, 2.5rem) var(--space-2xl, 4rem);
  font-family: var(--font-sans, 'Inter', 'Noto Serif JP', sans-serif);
  color: var(--c-ink, #2D1B0E);
  background: var(--c-bg, #FFF8F3);
  line-height: 1.85;
  font-size: 15.5px;
  letter-spacing: 0.02em;
}

.legal-page__header {
  text-align: center;
  padding-bottom: var(--space-lg, 2.5rem);
  margin-bottom: var(--space-xl, 4rem);
  border-bottom: 1px solid var(--c-line, #EBD9C8);
}

.legal-page__title {
  font-family: var(--font-serif, 'Playfair Display', 'Noto Serif JP', serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  color: var(--c-ink, #2D1B0E);
  margin: 0 0 var(--space-md, 1.5rem);
  line-height: 1.35;
}

.legal-page__lead {
  font-size: 0.95rem;
  color: var(--c-ink-soft, #6B4A38);
  margin: 0 auto var(--space-md, 1.5rem);
  max-width: 640px;
  line-height: 1.85;
}

.legal-page__meta {
  font-size: 0.82rem;
  color: var(--c-ink-soft, #6B4A38);
  letter-spacing: 0.06em;
  margin: 0;
}

.legal-page__meta--footer {
  text-align: right;
  margin-top: var(--space-md, 1.5rem);
  padding-top: var(--space-sm, 1rem);
  border-top: 1px dashed var(--c-line, #EBD9C8);
}

.legal-page__section {
  margin-bottom: var(--space-xl, 4rem);
}

.legal-page__section:last-child {
  margin-bottom: 0;
}

.legal-page__h2 {
  font-family: var(--font-serif, 'Playfair Display', 'Noto Serif JP', serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--c-ink, #2D1B0E);
  margin: 0 0 var(--space-md, 1.5rem);
  padding: 0 0 0.6rem;
  border-bottom: 2px solid var(--c-accent, #C85840);
  letter-spacing: 0.03em;
  display: inline-block;
}

.legal-page__dl {
  margin: 0;
  padding: 0;
}

.legal-page__dl dt {
  font-weight: 600;
  color: var(--c-accent-dk, #A8402A);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
  padding-top: var(--space-md, 1.5rem);
}

.legal-page__dl dt:first-child {
  padding-top: 0;
}

.legal-page__dl dd {
  margin: 0 0 0 0;
  padding: 0 0 var(--space-md, 1.5rem);
  border-bottom: 1px solid var(--c-line-soft, #F2E6D8);
  color: var(--c-ink, #2D1B0E);
  line-height: 1.95;
}

.legal-page__dl dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-page__ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-page__ul li {
  margin-bottom: 0.35rem;
  line-height: 1.85;
}

.legal-page small {
  display: inline-block;
  font-size: 0.83rem;
  color: var(--c-ink-soft, #6B4A38);
  margin-top: 0.3rem;
  line-height: 1.75;
}

.legal-page p {
  margin: 0 0 var(--space-md, 1.5rem);
  line-height: 1.95;
}

.legal-page p:last-child {
  margin-bottom: 0;
}

.legal-page a {
  color: var(--c-accent-dk, #A8402A);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease, ease);
}

.legal-page a:hover {
  color: var(--c-accent, #C85840);
}

.legal-page strong {
  color: var(--c-accent-dk, #A8402A);
  font-weight: 600;
}

.legal-page__contact-box {
  background: var(--c-bg-2, #F5EAE0);
  border-left: 3px solid var(--c-accent, #C85840);
  padding: var(--space-md, 1.5rem) var(--space-lg, 2rem);
  margin: var(--space-md, 1.5rem) 0;
}

.legal-page__contact-box p {
  margin: 0;
  line-height: 2;
}

/* --- モバイル調整 --- */
@media (max-width: 600px) {
  .legal-page {
    padding: var(--space-xl, 3rem) 1.1rem var(--space-xl, 3rem);
    font-size: 15px;
    line-height: 1.8;
  }

  .legal-page__title {
    font-size: 1.55rem;
  }

  .legal-page__h2 {
    font-size: 1.1rem;
    display: block;
  }

  .legal-page__dl dt {
    font-size: 0.88rem;
  }

  .legal-page__contact-box {
    padding: var(--space-md, 1.25rem) var(--space-md, 1.25rem);
  }
}
/* === /Legal Pages === */
