/* ============================================================
   株式会社モアズバド — Sky Blue Premium Family Site
   Color Palette: Sky Blue × White × Soft Navy
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Serif+JP:wght@300;400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&family=Lato:wght@300;400;700&display=swap');

/* ---------- リセット＆ベース ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ============================================================
     スカイブルー基調：清潔感・信頼感・開放感デザイントークン
     基本ページ: 白 + スカイブルーアクセント
     全ページ統一: 爽やか・清潔・洗練・読みやすく
     ============================================================ */

  /* ─── プライマリカラー（スカイブルー） ─── */
  --primary:       #3B9ED4;   /* スカイブルー（メインアクセント） */
  --primary-mid:   #2E8BBE;   /* ホバー時 */
  --primary-light: #6BBCE4;   /* ライトブルー */
  --primary-pale:  #F5F5F5;   /* 極薄ライトグレー背景（スカイブルー廃止） */
  --primary-dark:  #1F6E9C;   /* ディープブルー */

  /* ─── セカンダリ（ソフトネイビー） ─── */
  --teal:          #2A7BAD;   /* ソフトネイビーブルー（サブアクセント） */
  --teal-mid:      #1D6A97;
  --teal-light:    #5BA3CC;
  --teal-pale:     #F0F0F0;   /* 極薄グレー背景（ブルー廃止） */

  /* ─── アクセント補色（ライトグリーン系） ─── */
  --gold:          #4AADA8;   /* ソフトシアン（装飾用） */
  --gold-mid:      #3A9A95;
  --gold-light:    #72C4C0;
  --gold-pale:     #E5F5F4;
  --gold-dark:     #2A7B78;

  /* 後方互換エイリアス */
  --navy:          #3B9ED4;
  --navy-mid:      #2E8BBE;
  --navy-light:    #3B9ED4;
  --navy-hover:    #1F6E9C;
  --brown:         #2A7BAD;
  --brown-mid:     #4AADA8;
  --brown-light:   #72C4C0;

  /* ─── 背景色（純白・極薄グレーベース） ─── */
  --ivory:         #FAFAFA;   /* 極薄ライトグレー（section交互用） */
  --warm-white:    #F5F5F5;   /* 薄いグレー */
  --cream:         #F0F0F0;   /* ライトグレー */
  --cream-deep:    #E8E8E8;
  --sand:          #E0E0E0;
  --white:         #FFFFFF;

  /* ─── テキスト（濃いグレー・視認性確保） ─── */
  --text-dark:     #1A1A2E;   /* 濃いグレー（見出し） */
  --text-mid:      #444455;   /* ミッドグレー（本文） */
  --text-light:    #777788;   /* ライトグレー（サブ） */
  --text-pale:     #AAAABC;   /* 薄いグレー（補足） */

  /* ─── ボーダー ─── */
  --border:        #E2E8EE;   /* ライトグレーボーダー */
  --border-gold:   rgba(59,158,212,.25);
  --border-navy:   rgba(59,158,212,.20);
  --border-primary: rgba(59,158,212,.28);

  /* ─── エラー ─── */
  --error:         #C0392B;

  /* ─── タイポグラフィ ─── */
  --font-serif-ja: 'Noto Serif JP', 'Hiragino Mincho ProN', '游明朝体', '游明朝', 'YuMincho', serif;
  --font-sans-ja:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  /* 数字・英文は Lato で統一（日本語混在時のバランス改善） */
  --font-en:       'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-sub:      'Lato', 'Helvetica Neue', Arial, sans-serif;
  /* 見出し・ロゴ等デコラティブ英文には Cormorant を別変数で管理 */
  --font-display:  'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;

  /* ─── スペーシング ─── */
  --section-py:    8rem;
  --container:     1180px;
  --container-sm:  840px;

  /* ─── 角丸（清潔感・柔らかさ両立） ─── */
  --radius-xs:     6px;
  --radius-sm:     10px;
  --radius:        14px;
  --radius-lg:     18px;
  --radius-xl:     26px;

  /* ─── シャドウ（爽やか・軽やか） ─── */
  --shadow-xs:     0 2px 8px rgba(59,158,212,.07);
  --shadow-sm:     0 4px 16px rgba(59,158,212,.09), 0 2px 6px rgba(0,0,0,.04);
  --shadow-md:     0 10px 32px rgba(59,158,212,.11), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg:     0 20px 56px rgba(59,158,212,.14), 0 8px 24px rgba(0,0,0,.05);
  --shadow-gold:   0 8px 28px rgba(59,158,212,.22);
  --shadow-navy:   0 8px 28px rgba(59,158,212,.25);

  /* ─── トランジション ─── */
  --transition:    .38s cubic-bezier(.4,0,.2,1);
  --transition-fast: .22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans-ja);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dark);
  background: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- タイポグラフィ ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif-ja);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-dark);
}
.en-heading {
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: .07em;
}

/* ---------- コンテナ ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 3rem;
}
.container--sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 3rem;
}

/* ---------- セクション共通 ---------- */
.section { padding: var(--section-py) 0; }
.section--ivory  { background: #FAFAFA; }               /* 極薄ライトグレー */
.section--cream  { background: #F5F5F5; }               /* 薄いグレー */
.section--navy   { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-mid) 60%, var(--primary-dark) 100%); color: var(--white); }
.section--white  { background: #FFFFFF; }
.section--sand   { background: #FAFAFA; }               /* 極薄ライトグレー */
.section--flow-light {
  background: #FAFAFA;
  color: var(--text-dark);
}

/* ─── セクションヘッダー ─── */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}
.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  font-family: var(--font-sub);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.section-header .label::before,
.section-header .label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--primary);
}
.section-header h2 {
  font-family: var(--font-serif-ja);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
  line-height: 1.5;
}
.section-header p {
  font-size: .95rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 2.1;
}
.section--navy .section-header h2 { color: var(--white); }
.section--navy .section-header p  { color: rgba(255,255,255,.88); }
.section--flow-light .section-header h2 { color: var(--text-dark); }
.section--flow-light .section-header p  { color: var(--text-mid); }
.section--flow-light .label { color: var(--primary); }
.section--flow-light .ornament-diamond { background: var(--primary); }
.section--flow-light .step-item h3 { color: var(--text-dark); }
.section--flow-light .step-item p  { color: var(--text-mid); }

/* ─── 区切りオーナメント ─── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .875rem;
  margin: 0 auto 2rem;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary));
}
.ornament::after {
  background: linear-gradient(to left, transparent, var(--primary));
}
.ornament-diamond {
  width: 6px; height: 6px;
  background: var(--primary);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .95rem 2.5rem;
  font-family: var(--font-sans-ja);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .1em;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  min-height: 44px; /* タップしやすい最小サイズ */
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.06);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn--navy {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 16px rgba(224,123,90,.32);
  border-radius: var(--radius-sm);
}
.btn--navy:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224,123,90,.42);
}
.btn--gold {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 16px rgba(224,123,90,.30);
  border-radius: var(--radius-sm);
}
.btn--gold:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224,123,90,.42);
}
.btn--brown {
  background: var(--teal);
  color: var(--white);
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
}
.btn--brown:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(77,160,154,.35);
}
.btn--outline-gold {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
}
.btn--outline-gold:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.65);
  border-radius: var(--radius-sm);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.90);
}
.btn--outline-navy {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
}
.btn--outline-navy:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--lg { padding: 1.2rem 3.25rem; font-size: .95rem; }
.btn--sm { padding: .625rem 1.625rem; font-size: .8rem; }
.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   ヘッダー・ナビゲーション
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(59,158,212,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* ─── ロゴ ─── */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 3px;
  flex-shrink: 0;
}
.logo__en {
  font-family: var(--font-sub);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.logo__ja {
  font-size: .6rem;
  color: var(--text-light);
  letter-spacing: .14em;
  font-weight: 300;
}
.logo__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
  margin: 2px 0 1px;
}

/* ─── グローバルナビ ─── */
.global-nav {
  display: flex;
  align-items: center;
  gap: .05rem;
}
.global-nav a {
  padding: .5rem 1.05rem;
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: .06em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 1.05rem; right: 1.05rem;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}
.global-nav a:hover,
.global-nav a.active {
  color: var(--primary);
}
.global-nav a:hover::after,
.global-nav a.active::after {
  transform: scaleX(1);
}
.nav-contact-btn {
  margin-left: 1rem;
  padding: .6rem 1.5rem !important;
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-size: .78rem !important;
  letter-spacing: .12em !important;
  box-shadow: 0 3px 10px rgba(224,123,90,.28) !important;
}
.nav-contact-btn::after { display: none !important; }
.nav-contact-btn:hover {
  background: var(--primary-mid) !important;
  box-shadow: 0 8px 20px rgba(224,123,90,.42) !important;
  transform: translateY(-1px);
}

/* ─── ハンバーガー ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px; height: 44px; /* 修正: 40px → 44px (タップ最小サイズ) */
  padding: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--primary);
  border-radius: 1px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── モバイルメニュー ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: #FFFFFF;
  z-index: 999;
  overflow-y: auto;
  padding: 2.5rem 2.5rem;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 1.15rem 0;
  font-size: 1rem; /* 修正: .95rem → 1rem (16px) */
  font-weight: 400;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  letter-spacing: .05em;
  transition: color var(--transition-fast);
  min-height: 48px; /* タップしやすいよう最小高さ */
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .mobile-contact {
  margin-top: 2.5rem;
  text-align: center;
}

/* ============================================================
   フッター
   ============================================================ */
#site-footer {
  background: linear-gradient(160deg, #0D3A5C 0%, #1A5580 100%);
  color: var(--white);
  padding: 6rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .logo__en { color: var(--white); font-size: 1.45rem; }
.footer-brand .logo__ja { color: rgba(255,255,255,.45); }
.footer-brand .logo__line { background: linear-gradient(to right, #A8D8F0, transparent); }
.footer-brand p {
  margin-top: 1.75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  line-height: 2.1;
}
.footer-col h4 {
  font-family: var(--font-sub);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #A8D8F0;
  margin-bottom: 1.5rem;
  padding-bottom: .625rem;
  border-bottom: 1px solid rgba(168,216,240,.2);
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  transition: color var(--transition-fast);
}
.footer-col ul a:hover { color: #A8D8F0; }
.footer-bottom {
  padding: 1.875rem 0;
  font-size: .74rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   ページヘッダー（内部ページ共通）
   ============================================================ */
.page-hero {
  padding: 11rem 0 5.5rem;
  background: #FFFFFF;
  color: var(--text-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(59,158,212,.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(59,158,212,.04) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(59,158,212,.30), transparent);
}
.page-hero .label {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-sub);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.page-hero .label::before,
.page-hero .label::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--primary);
  display: block;
}
.page-hero h1 {
  font-family: var(--font-serif-ja);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 400;
  margin-bottom: .875rem;
  letter-spacing: .07em;
  line-height: 1.5;
  color: var(--text-dark);
}
.page-hero p {
  font-size: .95rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 2;
}

/* ============================================================
   パンくずリスト
   ============================================================ */
.breadcrumb {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: .875rem 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  color: var(--text-light);
}
.breadcrumb-inner a {
  color: var(--primary);
  transition: color var(--transition-fast);
}
.breadcrumb-inner a:hover { color: var(--primary-mid); }
.breadcrumb-inner .sep { color: var(--text-pale); font-size: .62rem; }

/* ============================================================
   スクロールアニメーション
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ============================================================
   トップページ — ヒーローセクション
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0A1428; /* 写真読み込み前の暗めフォールバック */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/r2-images/hero-family.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform-origin: center;
  animation: heroKen 20s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* スマホ対応: テキスト可読性のためオーバーレイ強化 */
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.58) 0%,
    rgba(0,0,0,.40) 42%,
    rgba(0,0,0,.22) 65%,
    rgba(0,0,0,.10) 100%
  );
}
@keyframes heroKen {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 9.5rem 0 6.5rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  font-family: var(--font-sub);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #A8D8F0;
  margin-bottom: 2.25rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: #A8D8F0;
}
.hero-content h1 {
  font-family: var(--font-serif-ja);
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .05em;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.35); /* 文字影追加 */
}
.hero-content h1 .accent { color: #A8D8F0; }
.hero-content p {
  font-size: .95rem;
  color: rgba(255,255,255,.92); /* 修正: .7 → .92 (より明るく) */
  max-width: 520px;
  line-height: 2.2;
  margin-bottom: 3.25rem;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0,0,0,.5); /* 文字影追加 */
}
.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-sub);
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  cursor: pointer;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   トップページ — KV ストリップ
   ============================================================ */
.kv-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.kv-item {
  padding: 3.5rem 3rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.kv-item:last-child { border-right: none; }
.kv-item:hover { background: rgba(224,123,90,.04); }
.kv-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
.kv-item:hover::before { opacity: 1; }
.kv-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(224,123,90,.20);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}
.kv-item h3 {
  font-family: var(--font-serif-ja);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .75rem;
  letter-spacing: .04em;
}
.kv-item p {
  font-size: .9rem; /* 修正: .82rem → .9rem */
  color: var(--text-light);
  line-height: 1.9;
}

/* ============================================================
   トップページ — サービス概要カード
   ============================================================ */
.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.sov-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.sov-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,123,90,.35);
}
.sov-card__img {
  overflow: hidden;
  height: 240px;
}
.sov-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.sov-card:hover .sov-card__img img {
  transform: scale(1.05);
}
.sov-card__body {
  padding: 2.25rem 2.5rem;
}
.tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(224,123,90,.30);
  padding: .3rem .875rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.1rem;
}
.sov-card__body h3 {
  font-family: var(--font-serif-ja);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: .04em;
  line-height: 1.6;
}
.sov-card__body p {
  font-size: .9375rem; /* 修正: .87rem → .9375rem(15px) */
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 1.5rem;
}
.link-arrow {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: .08em;
  transition: color var(--transition-fast);
}
.link-arrow:hover { color: var(--primary-mid); }

/* ============================================================
   トップページ — 数字・実績
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.stat-item {
  padding: 3.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--primary-pale); }
.stat-num {
  font-family: var(--font-sans-ja);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .625rem;
  letter-spacing: -.01em;
}
.stat-num .unit {
  font-family: var(--font-sans-ja);
  font-size: 1rem;
  font-weight: 400;
  vertical-align: baseline;
  letter-spacing: .05em;
  margin-left: .1em;
}
/* 「40年近い」のような混在テキスト用 */
.stat-num-ja {
  font-family: var(--font-sans-ja);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .02em;
  display: block;
  line-height: 1.2;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-mid);
  letter-spacing: .1em;
}

/* ============================================================
   トップページ — 取引先スクロール
   ============================================================ */
.clients-scroll {
  overflow: hidden;
  position: relative;
  padding: .5rem 0;
}
.clients-scroll::before,
.clients-scroll::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.clients-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.clients-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}
.clients-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: clientScroll 30s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clientScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .82rem;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: .6rem 1.5rem;
  background: var(--white);
  transition: all var(--transition-fast);
  letter-spacing: .05em;
}
.client-badge:hover {
  border-color: rgba(224,123,90,.35);
  color: var(--primary);
  background: var(--primary-pale);
}

/* ============================================================
   トップページ — ミッションブロック
   ============================================================ */
.mission-block {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   トップページ — CTAストリップ
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, #1A5A8A 0%, var(--primary) 50%, #2E8BBE 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a8813a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-strip h2 {
  font-family: var(--font-serif-ja);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.25rem;
  letter-spacing: .05em;
  position: relative;
}
.cta-strip p {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 3rem;
  position: relative;
}

/* ============================================================
   会社案内ページ — About
   ============================================================ */
.company-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}
.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.company-card:hover::before { transform: scaleX(1); }
.company-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224,123,90,.35);
}
.company-card .icon {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.company-card h3 {
  font-family: var(--font-serif-ja);
  font-size: .95rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: .75rem;
  letter-spacing: .04em;
}
.company-card p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 2;
}

/* ─── 会社情報テーブル ─── */
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table tr {
  border-bottom: 1px solid var(--border);
}
.info-table tr:first-child { border-top: 1px solid var(--border); }
.info-table th {
  width: 200px;
  padding: 1.375rem 2rem 1.375rem 0;
  font-family: var(--font-serif-ja);
  font-size: .9375rem; /* 修正: .88rem → .9375rem(15px) */
  font-weight: 500;
  color: var(--primary);
  letter-spacing: .04em;
  vertical-align: top;
  white-space: nowrap;
}
.info-table td {
  padding: 1.375rem 0;
  font-size: .9375rem; /* 修正: .88rem → .9375rem(15px) */
  color: var(--text-mid);
  line-height: 1.9;
}

/* ─── タイムライン ─── */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: .875rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), var(--border));
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.125rem;
  top: .375rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: .12em;
  margin-bottom: .3rem;
}
.timeline-text {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ─── 取引先バッジグリッド ─── */
.client-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}
.client-chip {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: .625rem 1.5rem;
  background: var(--white);
  transition: all var(--transition-fast);
  letter-spacing: .04em;
}
.client-chip:hover {
  border-color: rgba(224,123,90,.35);
  color: var(--primary);
  background: var(--primary-pale);
  transform: translateY(-2px);
}

/* ─── 事業所カード ─── */
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.office-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(180,100,60,.07);
}
.office-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(224,123,90,.15);
  transform: translateY(-2px);
}
.office-card__hq {
  grid-column: span 2;
  background: var(--primary-pale);
  border: 1px solid rgba(224,123,90,.25);
  color: var(--text-dark);
}
.office-card__hq:hover { border-color: rgba(224,123,90,.4); }
.office-label {
  font-family: var(--font-sub);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.office-card__hq .office-label { color: var(--primary-mid); }
.office-card h3 {
  font-family: var(--font-serif-ja);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}
.office-card__hq h3 { color: var(--text-dark); }
.office-card p {
  font-size: .9375rem; /* 修正: .85rem → .9375rem(15px) */
  color: var(--text-mid);
  line-height: 2;
}
.office-card__hq p { color: var(--text-mid); }
.office-card .tel {
  margin-top: 1rem;
  font-size: .88rem;
  color: var(--primary);
  font-weight: 500;
}
.office-card__hq .tel { color: var(--primary-mid); }

/* ============================================================
   事業内容ページ — Services
   ============================================================ */
.services-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 3.5rem;
  background: var(--ivory);
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-sans-ja);
  font-size: .82rem;
  font-weight: 400;
  color: var(--text-mid);
  border: none;
  background: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: .05em;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.tab-btn:last-child { border-right: none; }
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.tab-btn:hover:not(.active) {
  background: var(--primary-pale);
  color: var(--primary);
}
.service-detail {
  display: none;
  animation: fadeIn .4s ease;
}
.service-detail.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.service-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  background: var(--ivory);
  box-shadow: var(--shadow-md);
}
.service-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center center; /* 明示的に中心指定 */
  display: block;
}
.service-features {
  list-style: none;
  margin-top: 1.5rem;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 0;
  border-bottom: 1px solid #EDE9E1;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: .65rem;
}

/* ============================================================
   マザリングセンターページ — Luxury Dark Theme
   ============================================================ */
.luxury-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0A1428; /* 写真読み込み前の暗めフォールバック */
  overflow: hidden;
}
.luxury-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/r2-images/mothering-nursery.webp');
  background-size: cover;
  background-position: center 25%;
  opacity: 1;
  filter: none;
  animation: heroKen 22s ease-in-out infinite alternate;
}
.luxury-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* スマホ対応: テキスト可読性のためオーバーレイ強化 */
  background: linear-gradient(
    108deg,
    rgba(0,0,0,.60) 0%,
    rgba(0,0,0,.42) 42%,
    rgba(0,0,0,.24) 64%,
    rgba(0,0,0,.10) 100%
  );
}
.luxury-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(168,216,240,.45), transparent);
}
.luxury-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 10rem 0 7rem;
}
.luxury-tag {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  font-family: var(--font-sub);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: #A8D8F0;
  margin-bottom: 2.5rem;
}
.luxury-tag::before, .luxury-tag::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #A8D8F0;
}
.luxury-hero-content h1.en-heading {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,.45); /* 文字影追加 */
}
/* 日本語メインタイトル */
.luxury-hero-content h1.luxury-main-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: .12em;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.50), 0 1px 4px rgba(0,0,0,.40); /* 文字影追加 */
}
.luxury-hero-content .gold { color: #A8D8F0; }
.luxury-hero-content .subtitle {
  font-family: var(--font-serif-ja);
  font-size: 1rem;
  color: rgba(255,255,255,.90); /* 修正: .72 → .90 */
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.luxury-hero-content p {
  font-size: .9rem;
  color: rgba(255,255,255,.88); /* 修正: .55 → .88 (大幅改善) */
  line-height: 2.2;
  max-width: 520px;
  margin-bottom: 3rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

/* ─── ラグジュアリーセクション（温かみデザイン） ─── */
.luxury-section {
  background: #FFFFFF;
  padding: var(--section-py) 0;
  position: relative;
}
.luxury-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(224,123,90,.15), transparent);
}
.luxury-section-alt {
  background: var(--ivory);
}
.luxury-section-header {
  text-align: center;
  margin-bottom: 5rem;
}
.luxury-section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  font-family: var(--font-sub);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.luxury-section-header .eyebrow::before,
.luxury-section-header .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--primary);
  display: block;
}
.luxury-section-header h2.en-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.luxury-section-header p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 2.1;
}

/* ─── サービス一覧グリッド ─── */
.luxury-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.luxury-service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.luxury-service-item:hover {
  border-color: rgba(224,123,90,.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.luxury-service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.luxury-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
  filter: brightness(1) saturate(1);
}
.luxury-service-item:hover .luxury-service-img img {
  transform: scale(1.04);
  filter: brightness(1.03) saturate(1.05);
}
.luxury-service-body {
  padding: 2rem 2rem 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.luxury-service-item .num {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(224,123,90,.28);
  line-height: 1;
  margin-bottom: .875rem;
  letter-spacing: .02em;
}
.luxury-service-item h3 {
  font-family: var(--font-serif-ja);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .875rem;
  letter-spacing: .05em;
  line-height: 1.6;
}
.luxury-service-item p {
  font-size: .9rem; /* 修正: .84rem → .9rem */
  color: var(--text-mid);
  line-height: 2;
  flex: 1;
}

/* ─── 3世代カード ─── */
.luxury-gen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.luxury-gen-card {
  padding: 3.5rem 3rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.luxury-gen-card:last-child { border-right: none; }
.luxury-gen-card--center {
  background: var(--primary-pale);
}
.luxury-gen-card:hover { background: var(--ivory); }
.luxury-gen-label {
  font-family: var(--font-serif-ja);
  font-size: clamp(1.75rem, 2.8vw, 2.2rem);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: .12em;
  margin-bottom: .7rem;
  line-height: 1.45;
}
.luxury-gen-ruby {
  font-family: var(--font-sub);
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.75rem;
}
.luxury-gen-desc {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 2.1;
  text-align: left;
}

/* ─── ビジネスカード ─── */
.luxury-biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.luxury-biz-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.luxury-biz-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.luxury-biz-card:hover::after { transform: scaleX(1); }
.luxury-biz-card:hover {
  border-color: rgba(224,123,90,.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.luxury-biz-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.luxury-biz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
  filter: brightness(1) saturate(1);
}
.luxury-biz-card:hover .luxury-biz-img img {
  transform: scale(1.04);
  filter: brightness(1.03) saturate(1.05);
}
.luxury-biz-body {
  padding: 2.25rem 2.5rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.luxury-biz-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(224,123,90,.28);
  line-height: 1;
  margin-bottom: .875rem;
  letter-spacing: .02em;
}
.luxury-biz-card h3 {
  font-family: var(--font-serif-ja);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: .08em;
  line-height: 1.5;
}
.luxury-biz-card p {
  font-size: .9375rem; /* 修正: .88rem → .9375rem(15px) */
  color: var(--text-mid);
  line-height: 2.1;
  flex: 1;
}

/* ============================================================
   フランチャイズページ
   ============================================================ */
.franchise-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-gold);
}
.franchise-hero-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.625rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, var(--primary), rgba(224,123,90,.35), var(--primary));
}
.step-item {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--primary-light);
  letter-spacing: .05em;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(224,123,90,.28);
}
.step-item h3 {
  font-family: var(--font-serif-ja);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .625rem;
  letter-spacing: .04em;
}
.step-item p {
  font-size: .9rem; /* 修正: .82rem → .9rem */
  color: var(--text-mid);
  line-height: 1.9;
}

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.625rem 0;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: .03em;
  user-select: none;
  transition: color var(--transition-fast);
}
.faq-q:hover { color: var(--primary); }
.faq-q-icon {
  width: 28px; height: 28px;
  border: 1.5px solid rgba(224,123,90,.40);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: .8rem;
  color: var(--primary);
}
.faq-q.open .faq-q-icon { transform: rotate(45deg); background: var(--primary); color: var(--white); border-color: var(--primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,0,.2,1), padding .4s ease;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 2.1;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 1.625rem;
}

/* ============================================================
   お問い合わせページ
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.contact-sidebar .info-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-sidebar .info-card h3 {
  font-family: var(--font-serif-ja);
  font-size: .9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.contact-sidebar .info-card p {
  font-size: .84rem;
  color: var(--text-mid);
  line-height: 2;
}
.contact-sidebar .info-card a {
  color: var(--primary);
  transition: color var(--transition-fast);
}
.contact-sidebar .info-card a:hover { color: var(--primary-mid); }

/* ─── フォーム ─── */
.form-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.form-type-btn {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--white);
}
.form-type-btn input { display: none; }
.form-type-btn .type-icon { font-size: 1.5rem; }
.form-type-btn .type-label {
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: .04em;
}
.form-type-btn .type-sub {
  font-size: .74rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}
.form-type-btn.active {
  border-color: var(--primary);
  background: var(--primary-pale);
}
.form-type-btn.active .type-label { color: var(--primary); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .5rem;
  letter-spacing: .04em;
}
.form-label .required {
  color: var(--error);
  margin-left: .3rem;
  font-size: .74rem;
}
.form-control {
  width: 100%;
  padding: .875rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans-ja);
  font-size: 1rem; /* 修正: .88rem → 1rem (16px) iOS自動ズーム防止 */
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224,123,90,.12);
}
textarea.form-control {
  resize: vertical;
  min-height: 160px;
  line-height: 1.9;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238A847C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  cursor: pointer;
  font-size: .86rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.form-check input[type=checkbox] {
  width: 18px; height: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  margin-top: .1rem;
  cursor: pointer;
  accent-color: var(--primary);
}

/* ============================================================
   スマートフォン対応 — レスポンシブ
   ============================================================ */
@media (max-width: 1100px) {
  :root { --section-py: 6rem; }
  .container { padding: 0 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { display: none; }
}

@media (max-width: 900px) {
  .global-nav { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-overview-grid { grid-template-columns: 1fr; }
  .company-overview-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-image-wrap { position: static; height: 240px; overflow: hidden; }
  .service-image-wrap img { height: 240px; object-fit: cover; object-position: center center; width: 100%; } /* 法人向け写真ずれ修正 */
  .luxury-biz-grid { grid-template-columns: 1fr 1fr; }
  .luxury-gen-grid { grid-template-columns: 1fr; }
  .luxury-gen-card { border-right: none; border-bottom: 1px solid var(--border); }
  .luxury-gen-card:last-child { border-bottom: none; }
  .luxury-gen-desc { text-align: center; }
  .office-grid { grid-template-columns: 1fr; }
  .office-card__hq { grid-column: span 1; }
  .kv-grid { grid-template-columns: 1fr; }
  .kv-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
}

@media (max-width: 768px) {
  /* ─── ベース ─── */
  :root { --section-py: 4.5rem; }
  .container { padding: 0 1.25rem; }

  /* ─── 横スクロール防止（グローバル） ─── */
  html, body { overflow-x: hidden; max-width: 100vw; }
  * { max-width: 100%; }
  img, video, iframe { max-width: 100%; }

  /* ─── ヘッダー ─── */
  .header-inner { height: 64px; }
  .mobile-menu { top: 64px; }
  .logo__en { font-size: 1.05rem; letter-spacing: .12em; }
  .logo__ja { font-size: .55rem; }

  /* ─── ヒーロー（スマホ：オーバーレイ追加強化） ─── */
  #hero { min-height: 92vh; }
  .hero-content { padding: 6.5rem 0 4.5rem; max-width: 100%; }
  .hero-content h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.45; text-shadow: 0 2px 10px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.45); }
  .hero-eyebrow { font-size: .58rem; letter-spacing: .28em; }
  .hero-sub { font-size: 1rem; line-height: 1.9; margin-bottom: 2rem; } /* 修正: .85rem → 1rem */
  .hero-buttons { gap: .875rem; }
  .hero-buttons .btn { padding: .875rem 1.75rem; font-size: .9375rem; min-height: 44px; } /* 修正: .88rem → .9375rem(15px)、min-height 44px */
  /* スマホ：ヒーロー背景オーバーレイ強化 */
  .hero-bg::after {
    background: linear-gradient(
      110deg,
      rgba(0,0,0,.68) 0%,
      rgba(0,0,0,.50) 40%,
      rgba(0,0,0,.30) 65%,
      rgba(0,0,0,.15) 100%
    );
  }
  /* スマホ：luxury-hero（マザリング）オーバーレイ強化 */
  .luxury-hero::before {
    background: linear-gradient(
      108deg,
      rgba(0,0,0,.70) 0%,
      rgba(0,0,0,.52) 42%,
      rgba(0,0,0,.30) 65%,
      rgba(0,0,0,.15) 100%
    );
  }
  .luxury-hero-content h1 { text-shadow: 0 2px 12px rgba(0,0,0,.60), 0 1px 4px rgba(0,0,0,.50); }
  .luxury-hero-content p { color: rgba(255,255,255,.95); text-shadow: 0 1px 8px rgba(0,0,0,.55); }

  /* ─── ページヒーロー（各内ページ） ─── */
  .page-hero { padding: 7rem 0 3.5rem; }
  .page-hero h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); }
  .page-hero p { font-size: 1rem; line-height: 1.9; } /* 追加: サブテキスト可読性 */

  /* ─── セクション見出し ─── */
  .section-header { margin-bottom: 3rem; }
  .section-header h2 { font-size: clamp(1.45rem, 5.5vw, 2rem); line-height: 1.5; }
  .section-header p { font-size: 1rem; line-height: 1.9; } /* 修正: .88rem → 1rem(16px) */

  /* ─── 実績数字 ─── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 2rem 1rem; }
  .stat-num { font-size: 2.2rem; }
  .stat-num-ja { font-size: 1.2rem; }
  .stat-label { font-size: .8rem; letter-spacing: .06em; } /* 修正: .72rem → .8rem */

  /* ─── KVストリップ ─── */
  .kv-item { padding: 2rem 1.5rem; }
  .kv-item .icon { font-size: 2rem; }

  /* ─── サービス ─── */
  .luxury-service-grid { grid-template-columns: 1fr; }
  .luxury-service-img { height: 220px; }
  .luxury-biz-grid { grid-template-columns: 1fr; }
  .luxury-biz-img { height: 200px; }
  .service-overview-grid { grid-template-columns: 1fr; }
  .service-content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-image-wrap { position: static; height: 220px; overflow: hidden; }
  .service-image-wrap img { height: 220px; object-fit: cover; object-position: center center; width: 100%; max-width: 100%; } /* 法人向け写真ずれ修正（768px） */
  .sov-card__img { height: 200px; }
  .services-tabs { gap: .5rem; padding: 0 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-btn { font-size: .875rem; padding: .75rem 1rem; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; } /* 修正: .78rem → .875rem、min-height 44px */

  /* ─── マザリング luxury ─── */
  .luxury-gen-grid { grid-template-columns: 1fr; }
  .luxury-gen-card { border-right: none; border-bottom: 1px solid var(--border); }
  .luxury-gen-card:last-child { border-bottom: none; }
  .luxury-section-header { margin-bottom: 3rem; }
  .luxury-section-header h2.en-heading { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  .luxury-hero-content { padding: 7rem 0 5rem; }
  .luxury-tag { font-size: .58rem; }
  .luxury-hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .luxury-hero-content p { font-size: 1rem; line-height: 1.9; } /* 修正: .83rem → 1rem */

  /* ─── ミッション ─── */
  .mission-block { padding: 2rem 1.5rem; }

  /* ─── フランチャイズ ─── */
  .franchise-hero-img img { height: 240px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .step-num { width: 48px; height: 48px; font-size: 1.1rem; } /* 修正: 44px → 48px */
  .fc-foryou-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* ─── 会社概要 ─── */
  .company-overview-grid { grid-template-columns: 1fr; }
  .company-profile { grid-template-columns: 1fr; gap: 2rem; }
  .info-table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .info-table th { width: 7rem; font-size: .875rem; padding: .875rem .75rem; } /* 修正: .8rem → .875rem(14px) */
  .info-table td { font-size: .9375rem; padding: .875rem .75rem; } /* 修正: .88rem → .9375rem(15px) */
  .office-grid { grid-template-columns: 1fr; }
  .office-card__hq { grid-column: span 1; }

  /* ─── お問い合わせ ─── */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-type-selector { grid-template-columns: 1fr 1fr; }
  input, textarea, select { font-size: 16px !important; } /* iOS拡大防止（!important強制） */
  .contact-email-link { word-break: break-all; overflow-wrap: anywhere; } /* メールアドレス折り返し */
  .form-label { font-size: 1rem; } /* ラベルも読みやすく */
  .btn { min-height: 44px; } /* 全ボタン最低44px */
  .form-submit { min-height: 52px; font-size: 1rem; } /* 送信ボタン大きめ */

  /* ─── フッター ─── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .footer-grid .footer-col:nth-child(3),
  .footer-grid .footer-col:last-child { display: none; }
  #site-footer { padding: 4rem 0 0; }
}

@media (max-width: 520px) {
  /* ─── ベース ─── */
  :root { --section-py: 3.5rem; }
  .container { padding: 0 1rem; }

  /* ─── 横スクロール防止（390px想定） ─── */
  html, body { overflow-x: hidden; max-width: 100vw; }
  .container, .container--sm { padding: 0 1rem; overflow-x: hidden; }

  /* ─── ボタン（44px以上・縦並び） ─── */
  .hero-buttons { flex-direction: column; gap: .75rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; min-height: 48px; font-size: 1rem; } /* 修正: min-height 48px, 1rem */
  .btn-group { flex-direction: column; gap: .75rem; }
  .btn-group .btn { width: 100%; justify-content: center; min-height: 48px; }
  .btn { min-height: 44px; font-size: .9375rem; } /* 全ボタン最低44px */

  /* ─── ヒーロー ─── */
  .hero-content h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-sub { font-size: 1rem; line-height: 1.9; } /* 修正: .82rem → 1rem */

  /* ─── 実績数字 ─── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 1.75rem .875rem; }
  .stat-num { font-size: 2rem; }
  .stat-num-ja { font-size: 1.1rem; }
  .stat-label { font-size: .8125rem; } /* 13px → 13px（最低ライン） */

  /* ─── セクション見出し ─── */
  .section-header p { font-size: 1rem; } /* 最小幅でも1rem維持 */

  /* ─── サービス ─── */
  .luxury-service-grid { grid-template-columns: 1fr; }
  .luxury-service-img { height: 200px; }
  .luxury-biz-img { height: 200px; }
  .sov-card__img { height: 200px; }
  .services-tabs { flex-wrap: wrap; gap: .375rem; }
  .tab-btn { font-size: .875rem; padding: .625rem .875rem; min-height: 44px; } /* 修正: .75rem → .875rem */

  /* ─── テーブル（会社概要） ─── */
  .info-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  .info-table th { width: auto; min-width: 5.5rem; font-size: .875rem; padding: .875rem .625rem; } /* 修正: .78rem → .875rem */
  .info-table td { font-size: .9375rem; padding: .875rem .625rem; overflow-wrap: anywhere; } /* 修正: .84rem → .9375rem */
  .info-table table { min-width: 320px; } /* テーブル最小幅確保 */

  /* ─── フランチャイズ ─── */
  .fc-foryou-grid { grid-template-columns: 1fr; gap: 1rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-type-selector { grid-template-columns: 1fr; }

  /* ─── フォーム ─── */
  input, textarea, select { font-size: 16px !important; } /* iOS拡大防止 */
  .form-group input, .form-group textarea, .form-group select { font-size: 16px !important; }
  .contact-email-link { word-break: break-all; overflow-wrap: anywhere; font-size: .9rem; }
  .form-submit { min-height: 52px; font-size: 1rem; width: 100%; }

  /* ─── フッター ─── */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid .footer-col { display: none; }
  .footer-grid .footer-brand { display: block; }
  .footer-brand p { font-size: .875rem; } /* 修正: .78rem → .875rem */

  /* ─── スクロールフェード ─── */
  .clients-scroll::before,
  .clients-scroll::after { width: 24px; }

  /* ─── マザリング ─── */
  .luxury-hero-content { padding: 6rem 0 4rem; }
  .luxury-hero-content h1 { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .luxury-hero-content p { font-size: 1rem; line-height: 1.9; } /* 最小幅でも1rem維持 */
  .luxury-section-header h2.en-heading { font-size: clamp(1.3rem, 6vw, 1.8rem); }

  /* ─── 長い文字列の折り返し ─── */
  a[href^="mailto:"], a[href^="tel:"] { word-break: break-all; overflow-wrap: anywhere; }
  .contact-freedial-num { font-size: 1.5rem; } /* 電話番号縮小 */
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.text-center { text-align: center; }
.text-gold   { color: var(--primary); }
.text-navy   { color: var(--primary); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.py-1 { padding: 1rem 0; }
.py-2 { padding: 2rem 0; }

/* ============================================================
   フッター — footer-info / footer-bottom-inner (補完)
   ============================================================ */
.footer-info {
  padding: 1.875rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-info-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .74rem;
  color: rgba(255,255,255,.28);
}

/* ============================================================
   会社案内 — company-profile グリッド (補完)
   ============================================================ */
.company-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .company-profile { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   フランチャイズ — steps responsive (補完)
   ============================================================ */
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-item { padding: 1.5rem 1rem; }
}

/* ============================================================
   スクロールアニメーション — .reveal 既定
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1),
              transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ============================================================
   フランチャイズ — フッターオフセット修正用
   ============================================================ */
.franchise-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-gold);
}
.franchise-hero-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
@media (max-width: 900px) {
  .franchise-hero-img img { height: 320px; }
}
@media (max-width: 768px) {
  .franchise-hero-img { margin-bottom: 0; }
  .franchise-hero-img img { height: 260px; }
}
/* フランチャイズページ 2カラム → 1カラム */
@media (max-width: 900px) {
  .franchise-main-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   section--sand (補完)
   ============================================================ */
.section--sand { background: var(--ivory); } /* 柔らかいペールブルー（補完） */

/* ============================================================
   スクロールバー非表示（タブ等）
   ============================================================ */
.services-tabs::-webkit-scrollbar { display: none; }
.services-tabs { scrollbar-width: none; }

/* ============================================================
   FC募集ページ — For You カードグリッド
   ============================================================ */
.fc-foryou-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.fc-foryou-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.fc-foryou-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(224,123,90,.35);
}
.fc-foryou-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}
.fc-foryou-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.fc-foryou-card:hover .fc-foryou-img img {
  transform: scale(1.04);
}
.fc-foryou-body {
  padding: 1.75rem 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fc-foryou-body h3 {
  font-family: var(--font-serif-ja);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .875rem;
  letter-spacing: .04em;
  line-height: 1.55;
}
.fc-foryou-body p {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 2;
  flex: 1;
}
@media (max-width: 900px) {
  .fc-foryou-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .fc-foryou-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .fc-foryou-img {
    height: 200px;
  }
  .fc-foryou-body h3 {
    font-size: 1.08rem;
  }
}

/* ============================================================
   FC募集ページ — メリットカード（SVGアイコン）
   ============================================================ */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.merit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.merit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(224,123,90,.35);
}
.merit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-pale);
  border: 1px solid rgba(224,123,90,.28);
  border-radius: 50%;
  flex-shrink: 0;
}
.merit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.merit-card h4 {
  font-family: var(--font-serif-ja);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: .04em;
  line-height: 1.55;
}
.merit-card p {
  font-size: .87rem;
  color: var(--text-mid);
  line-height: 1.95;
}
@media (max-width: 900px) {
  .merit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 520px) {
  .merit-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   お問い合わせページ — フリーダイヤルボックス
   ============================================================ */
.contact-freedial-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(59,158,212,.28);
}
.contact-freedial-label {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .875rem;
  font-family: var(--font-sub);
}
.contact-freedial-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--white);
  transition: opacity var(--transition-fast);
}
.contact-freedial-link:hover { opacity: .82; }
.contact-freedial-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--white);
}
.contact-freedial-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .05em;
  color: var(--white);
  line-height: 1;
}
.contact-freedial-badge {
  margin-top: .875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 100px;
  padding: .35rem 1.1rem;
  font-size: .78rem;
  color: rgba(255,255,255,.92);
  letter-spacing: .06em;
}

/* ============================================================
   お問い合わせページ — メールアドレスボックス
   ============================================================ */
.contact-email-box {
  background: var(--primary-pale);
  border: 1px solid rgba(224,123,90,.28);
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.625rem;
  margin-bottom: 1.5rem;
}
.contact-email-label {
  font-size: .82rem;
  color: var(--text-mid);
  font-family: var(--font-sub);
  letter-spacing: .06em;
  margin-bottom: .625rem;
}
.contact-email-link {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color var(--transition-fast);
  word-break: break-all;
}
.contact-email-link:hover { color: var(--primary-mid); }
.contact-email-note {
  margin-top: .5rem;
  font-size: .8rem;
  color: var(--primary);
}

/* ============================================================
   お問い合わせフォーム — フォントサイズ拡大（高齢者・初心者向け）
   ============================================================ */
.contact-grid .form-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .6rem;
  letter-spacing: .04em;
}
.contact-grid .form-control {
  font-size: 1rem;
  padding: .875rem 1.1rem;
  line-height: 1.7;
}
.contact-grid select.form-control {
  font-size: 1rem;
  padding: .875rem 1.1rem;
}
.contact-grid textarea.form-control {
  font-size: 1rem;
  min-height: 160px;
  padding: 1rem 1.1rem;
}
.contact-grid .form-check {
  font-size: .97rem;
  line-height: 2;
}
.contact-grid .type-label {
  font-size: 1rem;
  font-weight: 500;
}
.contact-grid .type-sub {
  font-size: .87rem;
}
.contact-grid .required {
  font-size: .8rem;
  background: var(--error);
  color: var(--white);
  padding: .15rem .5rem;
  border-radius: 3px;
  margin-left: .4rem;
  font-weight: 400;
  vertical-align: middle;
}

/* ============================================================
   フォーム送信ローディングスピナー
   ============================================================ */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   スマホ表示 追加修正 — 横スクロール防止・可読性向上
   ============================================================ */

/* ─── グローバル横スクロール防止 ─── */
html {
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ─── 全要素ボックスサイズ防止 ─── */
@media (max-width: 768px) {
  /* コンテナ内の要素がはみ出さないよう */
  .section, .container, .container--sm {
    overflow-x: hidden;
  }

  /* テーブル横スクロール */
  .info-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  /* 本文テキスト — 15px以上確保 */
  p, li, dd, dt, .body-text {
    font-size: max(1rem, 15px);
  }

  /* カード内テキスト */
  .luxury-service-card p,
  .luxury-biz-card p,
  .sov-card p,
  .kv-item p,
  .mission-block p,
  .fc-foryou-body p,
  .merit-card p,
  .step-item p,
  .office-card p,
  .info-card p {
    font-size: .9375rem; /* 15px */
    line-height: 1.9;
  }

  /* 見出しh3・h4 — スマホでの折り返し自然に */
  h3 { font-size: clamp(1.1rem, 4vw, 1.35rem); }
  h4 { font-size: clamp(1rem, 3.5vw, 1.15rem); }

  /* メールアドレス・長い文字列の折り返し */
  a[href^="mailto:"] {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  /* 画像のはみ出し防止 */
  img {
    max-width: 100%;
    height: auto;
  }

  /* ヒーロー画像スマホ対応 */
  #hero {
    overflow: hidden;
  }

  /* ハンバーガーメニュー — タップしやすく */
  .hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* モバイルメニュー項目 */
  .mobile-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: .875rem 1.5rem;
    font-size: 1rem;
  }

  /* ナビゲーションボタンの最小サイズ */
  .nav-btn {
    min-height: 44px;
    padding: .625rem 1.25rem;
  }

  /* セクションの本文 */
  .section-header p {
    font-size: 1rem !important;
    line-height: 1.9;
  }

  /* フランチャイズページ — 本文 */
  .franchise-content p,
  .franchise-desc p {
    font-size: .9375rem;
    line-height: 1.9;
  }

  /* 会社概要 — テーブルラッパー */
  .about-table-section {
    overflow-x: hidden;
  }

  /* お問い合わせ — フォームfont-size強制16px */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
    -webkit-appearance: none;
  }

  /* ボタングループ — 縦積み対応 */
  .cta-buttons,
  .action-buttons {
    flex-direction: column;
    gap: .875rem;
  }
  .cta-buttons .btn,
  .action-buttons .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* ─── 390px特化 ─── */
@media (max-width: 430px) {
  /* ロゴサイズ調整 */
  .logo__en { font-size: 1rem; letter-spacing: .1em; }

  /* ページヒーロー縮小 */
  .page-hero h1 { font-size: clamp(1.4rem, 7vw, 1.8rem); }

  /* フリーダイヤル番号 */
  .contact-freedial-num { font-size: 1.65rem; }

  /* テーブルth幅縮小 */
  .info-table th { min-width: 5rem; font-size: .8125rem; }
  .info-table td { font-size: .875rem; }

  /* カード本文 */
  .fc-foryou-body p,
  .merit-card p,
  .step-item p {
    font-size: .875rem;
    line-height: 1.85;
  }

  /* ハンバーガーメニュー — 確実に44px */
  .hamburger, [aria-label="メニューを開く"] {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* ============================================================
   スマホ追加修正 2026-07-13 — 390px/430px/768px 全体バランス
   ============================================================ */

/* ─── office-gridの埼玉削除後レイアウト調整 ─── */
@media (max-width: 768px) {
  /* 5カード → 4カード（埼玉削除後） 縦並び1カラムで均等 */
  .office-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .office-card {
    padding: 1.5rem 1.25rem;
  }
  .office-card h3 {
    font-size: 1rem;
    margin-bottom: .625rem;
  }
  .office-card p {
    font-size: .9375rem;
    line-height: 1.85;
  }

  /* contact info-cardの間隔調整（埼玉削除後2カード分スッキリ） */
  .info-card {
    padding: 1.5rem 1.25rem;
  }
  .info-card h3 {
    font-size: 1rem;
    margin-bottom: .75rem;
  }
  .info-card p {
    font-size: .9375rem;
    line-height: 1.9;
  }

  /* kv-grid（トップページ3カード）スマホ縦並び */
  .kv-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .kv-item {
    padding: 1.75rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .kv-item:last-child {
    border-bottom: none;
  }
  .kv-item h3 {
    font-size: 1rem;
  }
  .kv-item p {
    font-size: .9375rem;
    line-height: 1.85;
  }

  /* company-overview-grid 1カラム確実化 */
  .company-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  /* sov-card（サービス概要カード） */
  .sov-card {
    padding: 1.75rem 1.25rem;
  }
  .sov-card h3 {
    font-size: 1.05rem;
  }
  .sov-card p {
    font-size: .9375rem;
    line-height: 1.9;
  }

  /* timeline（沿革） */
  .timeline-item {
    padding-left: 1.25rem;
  }
  .timeline-text {
    font-size: .9375rem;
    line-height: 1.9;
  }

  /* luxury-gen-card（マザリング：三世代サポートカード） */
  .luxury-gen-card {
    padding: 1.75rem 1.25rem;
  }

  /* franchise merit-card 390px対応 */
  .merit-card {
    padding: 1.5rem 1rem;
  }
}

/* ─── 390px: 最小幅での特化調整 ─── */
@media (max-width: 390px) {
  /* コンテナ最小パディング */
  .container { padding: 0 .875rem; }

  /* ヒーローh1さらに縮小 */
  .hero-content h1 {
    font-size: clamp(1.4rem, 8.5vw, 1.9rem);
    line-height: 1.5;
  }

  /* tab-btn 390px：2行 */
  .services-tabs {
    flex-wrap: wrap;
    gap: .375rem;
    padding: 0 .875rem;
  }
  .tab-btn {
    font-size: .8125rem;
    padding: .625rem .75rem;
    min-height: 44px;
  }

  /* フォームselect 390px */
  .form-control {
    font-size: 16px;
    padding: .75rem .875rem;
  }

  /* ボタン幅100% */
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    font-size: .9375rem;
    min-height: 48px;
  }

  /* footer-info 縦積み */
  .footer-info-inner {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }

  /* section余白削減 */
  :root { --section-py: 3rem; }
}

/* ============================================================
   スマホ追加強化 2026-07-13 追記 — 全ページ品質向上
   ============================================================ */

/* ─── service-features li フォントサイズ（768px以下） ─── */
@media (max-width: 768px) {
  .service-features li {
    font-size: .9375rem; /* 15px — スマホで読みやすく */
    line-height: 1.95;
    padding: .75rem 0;
    gap: .75rem;
  }

  /* service-content-grid内のh2サイズ */
  .service-content-grid h2[style] {
    font-size: 1.35rem !important;
    line-height: 1.55;
  }

  /* service-content-grid内のp */
  .service-content-grid p[style] {
    font-size: .9375rem !important;
    line-height: 2;
  }

  /* about.ts — office-card labelsとh3 */
  .office-label {
    font-size: .6rem;
    letter-spacing: .2em;
    margin-bottom: .5rem;
  }
  .office-card .tel {
    font-size: .875rem;
    margin-top: .625rem;
  }

  /* contact.ts — info-card h3サイズ */
  .info-card h3 {
    font-size: 1rem;
    letter-spacing: .04em;
  }

  /* breadcrumb スマホ */
  .breadcrumb-inner {
    font-size: .8125rem;
    flex-wrap: wrap;
    gap: .25rem;
  }

  /* stats-grid ラベル */
  .stat-label {
    font-size: .75rem;
    letter-spacing: .05em;
    line-height: 1.5;
  }

  /* about.ts — timeline-year */
  .timeline-year {
    font-size: 1.25rem;
    min-width: 3.5rem;
  }

  /* franchise — step-item */
  .step-item {
    padding: 1.5rem 1.25rem;
  }
  .step-num {
    font-size: 1rem;
    width: 44px;
    height: 44px;
  }

  /* contact — form-type-btn */
  .form-type-btn {
    padding: .875rem .75rem;
    min-height: 52px;
  }
  .type-label { font-size: .9375rem; }
  .type-sub   { font-size: .8125rem; }

  /* contact — form-check */
  .form-check {
    font-size: .9375rem;
    line-height: 1.85;
  }
}

/* ─── 430px: iPhone Plus / Android標準幅 ─── */
@media (max-width: 430px) {
  /* service-features li 430px */
  .service-features li {
    font-size: .9375rem;
    gap: .625rem;
  }

  /* franchise foryou-grid カード高さ均等 */
  .fc-foryou-img { height: 180px; }

  /* mothering luxury-service-img */
  .luxury-service-img { height: 190px; }

  /* contact freedial num */
  .contact-freedial-num { font-size: 1.6rem; }

  /* about timeline */
  .timeline-item { gap: 1rem; }
}
