/* =========================================================
   伊藤祐貴法律事務所 — 共通スタイル
   モダン・親しみやすいデザイン
   ========================================================= */

:root {
  --navy: #16243f;
  --navy-soft: #28395c;
  --teal: #b8902f;        /* brand gold (interactive/accent) */
  --teal-dark: #9c7825;
  --accent: #d4af52;      /* gold CTA */
  --accent-dark: #c0992f;
  --cream: #faf6ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #2d333f;
  --text-soft: #5b6472;
  --line: #e4e8ee;
  --shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 16px 48px rgba(27, 42, 74, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Meiryo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
img { max-width: 100%; display: block; }

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

.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); }
.section-cream { background: var(--cream); }

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-soft);
  max-width: 680px;
  font-size: 1.02rem;
}

.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: #2c2008; box-shadow: 0 8px 22px rgba(212,175,82,.45); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-teal { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(22,36,63,.32); }
.btn-teal:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: auto; display: block; }
.site-footer .brand-mark { width: 52px; }
.brand-name { font-weight: 700; color: var(--navy); font-size: 1.08rem; line-height: 1.25; }
.brand-name span { display: block; font-size: .68rem; color: var(--text-soft); font-weight: 500; letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: currentColor; margin: 5px auto;
  transition: .3s;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(184,144,47,.16), transparent 60%),
    linear-gradient(160deg, #f7fafc 0%, #eef3f8 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.32;
  color: var(--navy);
  letter-spacing: .01em;
  margin-bottom: 22px;
  font-weight: 800;
}
.hero h1 .hl { color: var(--teal); }
.hero p.lead { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; color: var(--text-soft); font-size: .9rem; }

.hero-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 34px;
  border: 1px solid var(--line);
}
.hero-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 18px; }
.hero-card ul { list-style: none; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: .96rem; }
.hero-card li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  background: rgba(184,144,47,.12);
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem;
}

/* ---------- 2方向の導線カード ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.duo-card {
  position: relative;
  border-radius: var(--radius);
  padding: 40px 36px;
  color: #fff;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .25s, box-shadow .25s;
}
.duo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.duo-personal { background: linear-gradient(155deg, #f7aecc, #ec85ad); }
.duo-corporate { background: linear-gradient(155deg, #1a615a, #0b2e29); }
.duo-corporate .tag { color: #f1d98a; }
.duo-corporate .more { color: #f1d98a; }
.duo-personal .tag { color: #fff; background: rgba(255,255,255,.24); }
.duo-personal .more { color: #fff; }
/* 大きな選択カード（トップの導線分岐） */
.duo.big { gap: 30px; }
.duo.big .duo-card { min-height: 340px; border-radius: 22px; padding: 44px 40px; }
.duo.big .duo-card h3 { font-size: 1.65rem; }
.duo.big .duo-card .more { font-size: 1.02rem; }
.duo-card .tag {
  align-self: flex-start;
  background: rgba(255,255,255,.18);
  padding: 6px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  margin-bottom: auto;
}
.duo-card h3 { font-size: 1.5rem; margin: 18px 0 10px; }
.duo-card p { color: rgba(255,255,255,.85); font-size: .96rem; margin-bottom: 18px; }
.duo-card .more { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.duo-card .more::after { content: "→"; transition: transform .2s; }
.duo-card:hover .more::after { transform: translateX(4px); }

/* ---------- 特徴グリッド ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 52px; height: 52px;
  border-radius: 0;
  background: none;
  color: var(--teal);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 10px; }
.feature p { color: var(--text-soft); font-size: .95rem; }

/* ---------- 分野詳細リスト ---------- */
.area-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.area-block:last-child { border-bottom: none; }
.area-block .label { }
.area-block .label .num { color: var(--accent); font-weight: 800; font-size: 1rem; letter-spacing: .1em; }
.area-block .label h3 { color: var(--navy); font-size: 1.5rem; margin-top: 8px; }
.area-block .body p { color: var(--text-soft); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 600;
}

/* ---------- ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  color: var(--accent);
  font-weight: 800; font-size: 1.4rem;
  display: block; margin-bottom: 10px;
}
.step h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .9rem; }

/* ---------- 料金テーブル ---------- */
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fee-table th, .fee-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fee-table th { background: var(--navy); color: #fff; font-weight: 600; }
.fee-table td:last-child { color: var(--navy); font-weight: 700; }
.fee-table tr:last-child td { border-bottom: none; }

/* ---------- CTA バンド ---------- */
.cta-band {
  background: linear-gradient(135deg, #16243f, #2f4978);
  color: #fff;
  border-radius: 24px;
  padding: 42px 40px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.88); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- ページヘッダー ---------- */
.page-hero {
  background:
    radial-gradient(800px 320px at 90% -20%, rgba(184,144,47,.18), transparent 60%),
    linear-gradient(160deg, #f7fafc, #eef3f8);
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); font-weight: 800; }
.page-hero p { color: var(--text-soft); margin-top: 14px; max-width: 640px; }
.breadcrumb { font-size: .82rem; color: var(--text-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- プロフィール ---------- */
.profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-photo {
  background: linear-gradient(135deg, #e8eef5, #d4e0ec);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: grid; place-items: center;
  color: var(--navy-soft);
  border: 1px solid var(--line);
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.profile-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.profile-photo .avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff; display: grid; place-items: center;
  font-size: 2rem; font-weight: 700; margin-bottom: 16px;
}
.profile h2 { color: var(--navy); font-size: 1.6rem; }
.profile .role { color: var(--teal); font-weight: 700; margin: 4px 0 20px; }
.profile p { color: var(--text-soft); margin-bottom: 16px; }
.profile-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.profile-tags span {
  display: inline-block; padding: 5px 14px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 20px;
  font-size: .82rem; color: var(--text-soft); letter-spacing: .02em; white-space: nowrap;
}

.timeline { list-style: none; margin-top: 10px; }
.timeline li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.timeline .yr { color: var(--accent-dark); font-weight: 700; flex: none; width: 90px; }
.timeline:last-child li:last-child { border-bottom: none; }

/* ---------- フォーム ---------- */
.form-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 8px; }
.field label .req { color: #e76f51; font-size: .8rem; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .96rem; background: var(--bg-alt);
  transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(184,144,47,.15); background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .82rem; color: var(--text-soft); margin-top: 14px; }

.contact-side { display: grid; gap: 18px; }
.contact-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-box h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 14px; }
.contact-box .row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: .94rem; color: var(--text-soft); }
.contact-box .row .k { color: var(--teal); font-weight: 700; flex: none; }
.contact-box .tel { font-size: 1.5rem; font-weight: 800; color: var(--navy); }

/* ---------- 顔写真バイライン / トップの顔 ---------- */
.gw-brand .gw-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; }
.hero-byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.hero-byline img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid #fff; box-shadow: var(--shadow); flex: none; }
.hero-byline .hb-name { font-weight: 800; color: var(--navy); font-size: 1.02rem; line-height: 1.35; }
.hero-byline .hb-sub { color: var(--text-soft); font-size: .82rem; }
a.hero-byline { text-decoration: none; transition: opacity .2s; }
a.hero-byline:hover { opacity: .85; }
a.hero-byline:hover .hb-name { text-decoration: underline; }
a.hero-byline .hb-name::after { content: " →"; color: var(--teal); font-size: .9em; }

/* ---------- 無料バッジ ---------- */
.badge-free { display: inline-block; margin-left: 10px; background: #06c755; color: #fff; font-size: .66rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; vertical-align: middle; white-space: nowrap; }
.badge-accent { display: inline-block; margin-left: 10px; background: var(--teal); color: #fff; font-size: .66rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; vertical-align: middle; white-space: nowrap; }

/* ---------- 代表弁護士カード ---------- */
.lawyer-card {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto;
}
.lawyer-card img {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: center top;
  flex: none; border: 3px solid var(--bg-alt);
}
.lawyer-card .lc-body { flex: 1; }
.lawyer-card .lc-label { color: var(--teal); font-weight: 700; font-size: .78rem; letter-spacing: .14em; }
.lawyer-card h3 { color: var(--navy); font-size: 1.3rem; margin: 5px 0 8px; }
.lawyer-card p { color: var(--text-soft); font-size: .93rem; margin-bottom: 12px; }
.lawyer-card .lc-link { font-weight: 700; color: var(--teal); }
.lawyer-card .lc-link:hover { color: var(--teal-dark); }
@media (max-width: 600px) { .lawyer-card { flex-direction: column; text-align: center; padding: 30px 24px; } }

/* ---------- LINE 相談 ---------- */
.line-box { border-top: 3px solid #06c755; }
.line-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 10px; }
.line-btn-img { display: inline-block; transition: transform .15s; }
.line-btn-img:hover { transform: translateY(-2px); }
.line-qr { width: 168px; height: 168px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: block; }
.line-qr-note { font-size: .8rem; color: var(--text-soft); }
.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; border-radius: 999px; font-weight: 800; font-size: 1rem; background: var(--accent); color: #2c2008; box-shadow: 0 8px 22px rgba(212,175,82,.45); transition: transform .2s, filter .2s; }
.btn-line:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* LINE 予約 CTA */
.line-cta { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
  background: linear-gradient(120deg, #effaf2, #e6f7ee); border: 1px solid #cbecd8; border-left: 5px solid #06c755;
  border-radius: var(--radius); padding: 32px 36px; }
.line-cta .eyebrow { color: #06893f; }
.line-cta h2 { margin-bottom: 10px; }
.line-cta p { color: var(--text-soft); max-width: 560px; }
.line-steps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px; }
.lstep { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid #cbecd8; padding: 10px 16px; border-radius: 999px; font-size: .92rem; }
.lstep .ln { width: 24px; height: 24px; border-radius: 50%; background: #06c755; color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.line-arrow { color: #06c755; font-weight: 800; font-size: 1.1rem; }
.line-cta-qr { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (max-width: 820px) { .line-cta { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; } .line-cta-qr { align-self: flex-start; } }

/* ---------- 予約方法の2択カード ---------- */
.choose-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.choose-card { position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.choose-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.1); }
.choose-line { border-top: 4px solid #06c755; }
.choose-form { border-top: 4px solid var(--teal); }
.choose-num { font-size: .82rem; font-weight: 800; letter-spacing: .04em; color: var(--text-soft); }
.choose-line .choose-num { color: #06893f; }
.choose-form .choose-num { color: var(--teal); }
.choose-badge { position: absolute; top: 22px; right: 22px; background: #06c755; color: #fff;
  font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.choose-card h3 { font-size: 1.3rem; color: var(--navy); font-weight: 800; }
.choose-card p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.choose-go { font-weight: 800; font-size: .92rem; margin-top: 6px; }
.choose-line .choose-go { color: #06893f; }
.choose-form .choose-go { color: var(--teal); }
@media (max-width: 720px) { .choose-2 { grid-template-columns: 1fr; } }

/* ---------- 地図 ---------- */
.map-wrap { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; }
.map-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 14px 20px; font-size: .9rem; color: var(--text-soft); border-top: 1px solid var(--line); }
.map-foot a { font-weight: 700; color: var(--teal); white-space: nowrap; }

/* ---------- フォーム埋め込み ---------- */
.form-embed { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.form-embed iframe { display: block; width: 100%; height: 1600px; border: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 14px; padding: 0 24px;
}
.faq summary {
  cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--text-soft); }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #cfd6e2; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: #9fb0c8; }
.site-footer p { color: #9fb0c8; font-size: .9rem; margin-top: 16px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #cfd6e2; font-size: .9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 32px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: #9fb0c8;
}

/* ---------- トップ：導線分岐ヒーロー ---------- */
.hero-choice { padding: 56px 0 68px; }
.hero-choice h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); font-weight: 800; line-height: 1.4; margin-bottom: 18px; }
.hero-choice .lead { font-size: 1.08rem; color: var(--text-soft); }

/* ---------- 個人向け：親しみやすい暖色テーマ ---------- */
.theme-personal {
  --teal: #e072a2;        /* やわらかいローズピンク（eyebrow / リンク / アイコン） */
  --teal-dark: #d2588c;
  --accent: #f6a3c4;      /* 明るいピンクCTA */
  --accent-dark: #ef8bb3;
  --bg-alt: #fdf2f7;
  --cream: #fff8fb;
  --radius: 22px;
  --radius-sm: 14px;
}
.theme-personal .page-hero {
  background:
    radial-gradient(820px 340px at 88% -20%, rgba(240,140,180,.18), transparent 60%),
    linear-gradient(160deg, #fff8fb, #fde8f1);
}
.theme-personal .btn-primary { color: #7a2348; box-shadow: 0 8px 22px rgba(246,163,196,.55); }
.theme-personal .feature .ico { background: none; color: #e072a2; }
.theme-personal .feature { border-radius: 22px; }
.theme-personal .chip { background: #fdf2f7; border-color: #f7dde8; }
.theme-personal .cta-band { background: linear-gradient(135deg, #f9b6d1, #ef88b1); }
.theme-personal .cta-band h2, .theme-personal .cta-band p { color: #6e1f42; }
.theme-personal .fee-table th { background: #e072a2; }
.theme-personal .fee-table td:last-child { color: #d2588c; }
.theme-personal .area-block .label h3 { color: var(--navy); }
.theme-personal .cta-band .btn-ghost { color: #6e1f42; border-color: rgba(110,31,66,.4); }
.theme-personal .cta-band .btn-ghost:hover { background: rgba(110,31,66,.08); }

/* ---------- 法人向け：ディープティールテーマ ---------- */
.theme-corporate {
  --navy: #15514a;        /* 濃色をティールに置き換え */
  --navy-soft: #1d6359;
}
.theme-corporate .page-hero {
  background:
    radial-gradient(820px 340px at 88% -20%, rgba(21,81,74,.20), transparent 60%),
    linear-gradient(160deg, #f1f8f5, #e1efea);
}
.theme-corporate .cta-band { background: linear-gradient(135deg, #1a615a, #0c302b); }

/* ---------- トップ：分割スクリーン（入口専用） ---------- */
.gateway-body { min-height: 100vh; }
.gateway { display: flex; height: 100vh; width: 100%; position: relative; }
.gw-panel {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; overflow: hidden;
  transition: flex .45s cubic-bezier(.4,0,.2,1), opacity .35s ease, filter .35s ease, transform .25s ease;
}
/* 淡いピンク背景に合わせて文字色を濃いローズに（高い優先度で確実に適用） */
/* .gw-personal background は index.html のアニメーション付きスタイルで定義 */
.gw-personal::after { background: linear-gradient(160deg, #c95f93, #8a2c57); }
.gw-panel.gw-personal .gw-inner,
.gw-panel.gw-personal h2,
.gw-panel.gw-personal .areas { color: #8a2350; }
.gw-panel.gw-personal p { color: rgba(138,35,80,.92); }
.gw-panel.gw-personal .gw-tag { background: rgba(138,35,80,.16); color: #7a1f47; }
.gw-panel.gw-personal .gw-more { border-color: rgba(138,35,80,.55); color: #8a2350; }
.gw-panel.gw-personal:hover::after { opacity: 1; }
.gw-panel.gw-personal:hover .gw-inner,
.gw-panel.gw-personal:hover h2,
.gw-panel.gw-personal:hover .areas,
.gw-panel.gw-personal:hover p { color: #ffd9e8; }
.gw-panel.gw-personal:hover .gw-tag { background: rgba(255,217,232,.18); color: #ffd9e8; }
.gw-panel.gw-personal:hover .gw-more { background: transparent; border-color: #ffd9e8; color: #ffd9e8; }

/* 淡いティール背景に合わせて文字色を濃いティールに（高い優先度で確実に適用） */
/* .gw-corporate background は index.html のアニメーション付きスタイルで定義 */
.gw-corporate::after { background: linear-gradient(160deg, #0c211b, #05100d); }
.gw-panel.gw-corporate .gw-inner,
.gw-panel.gw-corporate h2,
.gw-panel.gw-corporate .areas { color: #134b44; }
.gw-panel.gw-corporate p { color: rgba(19,75,68,.92); }
.gw-panel.gw-corporate .gw-tag { background: rgba(19,75,68,.16); color: #0f3d37; }
.gw-panel.gw-corporate .gw-more { border-color: rgba(19,75,68,.55); color: #134b44; }
.gw-panel.gw-corporate:hover::after { opacity: 1; }
.gw-panel.gw-corporate:hover .gw-inner,
.gw-panel.gw-corporate:hover h2,
.gw-panel.gw-corporate:hover .areas,
.gw-panel.gw-corporate:hover p { color: #c8f5e7; }
.gw-panel.gw-corporate:hover .areas { color: #35e3ac; }
.gw-panel.gw-corporate:hover .gw-tag { background: rgba(53,227,172,.18); color: #35e3ac; }
.gw-panel.gw-corporate:hover .gw-more { background: transparent; border-color: #35e3ac; color: #35e3ac; }
/* ホバー時の色変化をなめらかに */
.gw-inner, .gw-inner h2, .gw-inner .areas, .gw-inner p, .gw-inner .gw-tag, .gw-inner .gw-more {
  transition: color .35s ease, background .35s ease, border-color .35s ease;
}
/* 選択（クリック/タップ）＝ビビッド。明るい面なので文字は濃色で読みやすく */
.gw-panel.gw-personal:active::after, .gw-panel.gw-personal.selected::after { opacity: 1; background: linear-gradient(160deg, #ff77b0, #e23e85); }
.gw-panel.gw-corporate:active::after, .gw-panel.gw-corporate.selected::after { opacity: 1; background: linear-gradient(160deg, #0ad6a2, #03a075); }
.gw-panel.gw-personal:active .gw-inner, .gw-panel.gw-personal:active .gw-inner *,
.gw-panel.gw-personal.selected .gw-inner, .gw-panel.gw-personal.selected .gw-inner * { color: #6d1640; }
.gw-panel.gw-corporate:active .gw-inner, .gw-panel.gw-corporate:active .gw-inner *,
.gw-panel.gw-corporate.selected .gw-inner, .gw-panel.gw-corporate.selected .gw-inner * { color: #043d2c; }
.gw-panel.gw-personal.selected .gw-tag { background: rgba(109,22,64,.16); }
.gw-panel.gw-corporate.selected .gw-tag { background: rgba(4,61,44,.16); }
.gw-panel.gw-personal.selected .gw-more { border-color: rgba(109,22,64,.6); background: transparent; }
.gw-panel.gw-corporate.selected .gw-more { border-color: rgba(4,61,44,.6); background: transparent; }
.gw-panel:active { transform: scale(.992); }
.gateway.choosing .gw-panel:not(.selected) { opacity: .5; filter: saturate(.55); }
.gw-panel::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.06); opacity: 0; transition: opacity .4s;
}
.gw-panel:hover { flex: 1.3; }
.gw-inner { position: relative; z-index: 2; padding: 40px 36px; max-width: 460px; }
.gw-tag {
  display: inline-block; font-size: .82rem; font-weight: 700;
  letter-spacing: .16em; padding: 7px 18px; border-radius: 999px;
  background: rgba(255,255,255,.2); margin-bottom: 22px;
}
.gw-panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.35; margin-bottom: 14px; }
.gw-panel .areas { font-size: 1.02rem; font-weight: 600; color: rgba(255,255,255,.95); margin-bottom: 10px; letter-spacing: .04em; }
.gw-panel p { color: rgba(255,255,255,.85); font-size: .98rem; margin-bottom: 28px; }
.gw-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.7); font-weight: 700; font-size: .98rem;
  transition: background .25s, color .25s, transform .25s;
}
.gw-more::after { content: "→"; transition: transform .25s; }
.gw-panel:hover .gw-more { transform: translateY(-2px); }
.gw-panel:hover .gw-more::after { transform: translateX(4px); }

.gw-brand {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.95); padding: 10px 24px 10px 16px;
  border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.gw-brand img { width: 38px; height: auto; }
.gw-brand .nm { font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.2; }
.gw-brand .nm span { display: block; font-size: .6rem; color: var(--text-soft); letter-spacing: .12em; font-weight: 500; }

.gw-foot {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 10; background: rgba(255,255,255,.95);
  padding: 9px 22px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.16);
  font-size: .86rem; color: var(--navy); font-weight: 600; white-space: nowrap;
}
.gw-foot a { color: var(--teal); }

/* ---------- note（コラム）カード ---------- */
.note-cta {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 32px;
}
.note-ic {
  width: 66px; height: 66px; border-radius: 18px; flex: none;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem; letter-spacing: .02em;
}
.note-cta h3 { color: var(--navy); font-size: 1.25rem; margin: 6px 0; }
.note-cta p { color: var(--text-soft); font-size: .95rem; }
.note-cta .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .note-cta { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .note-ic { margin: 0 auto; }
  .note-cta .btn { width: 100%; justify-content: center; }
}
.nav-links a.ext::after { content: " ↗"; font-size: .8em; opacity: .7; }

/* ---------- トップ SEO フッター ---------- */
.gw-seo-footer {
  background: var(--navy); color: #c0c8d4; padding: 40px 24px 24px;
  font-size: .88rem; line-height: 1.8;
}
.gw-seo-inner { max-width: var(--maxw); margin: 0 auto; }
.gw-seo-footer p { margin-bottom: 12px; }
.gw-seo-footer strong { color: #e8ecf0; font-weight: 700; }
.gw-seo-footer a { color: var(--accent); }
.gw-seo-meta { color: #8a96a6; font-size: .82rem; }
.gw-seo-copy { color: #6b7888; font-size: .78rem; margin-top: 16px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 760px) {
  .gateway-body { height: auto; overflow: auto; }
  .gateway { flex-direction: column; height: auto; min-height: 100vh; }
  .gw-panel { min-height: 44vh; flex: none; }
  .gw-panel:hover { flex: none; }
  .gw-inner { padding: 110px 24px 60px; }
  .gw-panel:first-of-type .gw-inner { padding-top: 110px; }
  .gw-panel:last-of-type .gw-inner { padding-top: 60px; }
  .gw-panel h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .gw-foot { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 20; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .hero-inner, .duo, .grid-3, .grid-4, .profile, .form-wrap, .footer-grid, .steps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .area-block { grid-template-columns: 1fr; gap: 16px; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 12px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 36px 0; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* 料金テーブル：カード型に変換 */
  .fee-table, .fee-table thead, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td {
    display: block; width: 100%;
  }
  .fee-table { border-radius: var(--radius-sm); }
  /* ヘッダ行（th+th）のみ非表示。th+td型（事務所概要）は残す */
  .fee-table tr:has(> th + th) { display: none; }
  .fee-table tr { margin-bottom: 10px; border-bottom: 2px solid var(--line); }
  .fee-table tr:last-child { margin-bottom: 0; }
  .fee-table td { padding: 10px 16px; border-bottom: none; }
  .fee-table td:first-child { background: var(--bg-alt); font-weight: 700; font-size: .9rem; padding: 10px 16px 6px; }
  .fee-table td:last-child { font-size: .88rem; padding: 6px 16px 14px; }
  /* 事務所概要テーブル（th+td型）：thをラベルとして表示 */
  .fee-table th { padding: 10px 16px 4px; font-size: .85rem; text-align: left; }

  /* ページヒーロー余白 */
  .page-hero { padding: 32px 0; }

  /* バッジ：改行して表示 */
  .badge-free, .badge-accent { display: block; margin: 6px 0 0; margin-left: 0; width: fit-content; }

  /* タイムライン：年ラベルを上に */
  .timeline li { flex-direction: column; gap: 2px; }
  .timeline .yr { width: auto; }

  /* プロフィールタグ：長文折り返し許可 */
  .profile-tags span { white-space: normal; }
}

/* 狭い端末（〜420px） */
@media (max-width: 420px) {
  .gw-foot { white-space: normal; text-align: center; max-width: calc(100vw - 32px); font-size: .8rem; line-height: 1.6; }
  .gw-brand { gap: 8px; padding: 8px 14px 8px 10px; }
  .gw-brand img { width: 30px; }
  .gw-brand .gw-face { width: 32px; height: 32px; }
  .gw-brand .nm { font-size: .88rem; }
  .gw-brand .nm span { font-size: .55rem; }
}

/* ---------- スクロールアニメーション ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* スタガー（子要素を順に表示） */
.fade-up.visible:nth-child(2) { transition-delay: .08s; }
.fade-up.visible:nth-child(3) { transition-delay: .16s; }
.fade-up.visible:nth-child(4) { transition-delay: .24s; }

/* ---------- ページヒーロー 入場アニメーション ---------- */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-text-reveal {
  from { clip-path: inset(0 0 100% 0); opacity: 0; transform: translateY(16px); }
  to   { clip-path: inset(0); opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero .breadcrumb {
  opacity: 0;
  animation: hero-fade-in .5s cubic-bezier(.22,1,.36,1) .1s forwards;
}
.page-hero .eyebrow {
  opacity: 0;
  animation: hero-fade-in .5s cubic-bezier(.22,1,.36,1) .2s forwards;
}
.page-hero h1 {
  opacity: 0;
  animation: hero-text-reveal .8s cubic-bezier(.22,1,.36,1) .3s forwards;
}
.page-hero p {
  opacity: 0;
  animation: hero-fade-in .6s cubic-bezier(.22,1,.36,1) .55s forwards;
}
.page-hero .hero-byline {
  opacity: 0;
  animation: hero-fade-in .6s cubic-bezier(.22,1,.36,1) .7s forwards;
}
.page-hero .hero-actions {
  opacity: 0;
  animation: hero-fade-in .6s cubic-bezier(.22,1,.36,1) .65s forwards;
}

/* ---------- セクションタイトル スクロールリビール ---------- */
.section .section-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1), clip-path .7s cubic-bezier(.22,1,.36,1);
  clip-path: inset(0 0 100% 0);
}
.section .section-title.revealed {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0);
}
.section .eyebrow:not(.page-hero .eyebrow) {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
}
.section .eyebrow.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ナビゲーション 入場 ---------- */
@keyframes nav-slide-down {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-header {
  animation: nav-slide-down .6s cubic-bezier(.22,1,.36,1) .05s both;
}

/* ---------- CTA バンド パルス ---------- */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,144,47,0); }
  50%      { box-shadow: 0 0 40px 4px rgba(184,144,47,.12); }
}
.cta-band.visible {
  animation: cta-glow 4s ease-in-out 1s infinite;
}

/* ---------- フッター 入場 ---------- */
@keyframes footer-rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-footer {
  opacity: 0;
  animation: footer-rise .7s cubic-bezier(.22,1,.36,1) .2s forwards;
}

/* ---------- A. スクロールプログレスバー ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%; height: 2px;
  z-index: 9999;
  background: var(--teal);
  transition: width .1s linear;
  pointer-events: none;
}
.theme-personal .scroll-progress { background: linear-gradient(90deg, #e072a2, #c0446f); }
.theme-corporate .scroll-progress { background: linear-gradient(90deg, #0fb, #0a8); }

/* ---------- B. ページ遷移 ---------- */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
body:not(.gateway-body) {
  animation: page-fade-in .4s cubic-bezier(.22,1,.36,1) both;
}
body.page-leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .page-hero .breadcrumb,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p,
  .page-hero .hero-byline,
  .page-hero .hero-actions,
  .section .section-title,
  .section .eyebrow,
  .site-header,
  .site-footer {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }
  .cta-band.visible { animation: none !important; box-shadow: none !important; }
  body:not(.gateway-body) { animation: none !important; }
  .scroll-progress { display: none !important; }
}

/* ---------- プライバシーポリシー ---------- */
.policy h3 { color: var(--navy); font-size: 1.15rem; margin: 36px 0 12px; }
.policy h3:first-child { margin-top: 0; }
.policy p { color: var(--text-soft); margin-bottom: 14px; }
.policy ul { list-style: disc; padding-left: 1.6em; color: var(--text-soft); margin-bottom: 14px; }
.policy li { margin-bottom: 6px; font-size: .95rem; }
.policy a { color: var(--teal); }
.policy a:hover { text-decoration: underline; }
