/* =========================================================
   KANAME LAW OFFICE（架空サンプル）— style.css
   テイスト：重厚・誠実・フォーマル（士業）
   ウォームホワイト × 濃紺ネイビー ＋ 差し色ボルドー(ワインレッド)
   見出し＝明朝/Cormorant Garamond、本文＝Noto Sans JP
   ========================================================= */

:root {
  --paper:   #F7F4EE;   /* ウォームホワイト / 生成り */
  --paper-2: #F1ECE3;
  --paper-3: #E9E2D5;
  --navy:    #15233D;   /* 基調色：濃紺ネイビー */
  --navy-2:  #1E3052;
  --navy-3:  #0F1A2E;   /* より濃い */
  --ink:     #1B2230;   /* 本文近黒（やや青み） */
  --muted:   #5C6473;
  --muted-2: #8A8F99;
  --line:    #DCD5C7;
  --line-2:  #CBC2B0;
  --accent:  #7A2735;   /* 差し色：ボルドー / ワインレッド */
  --accent-d:#5E1C28;
  --gold:    #9A8B6A;   /* 細い罫線・控えめな装飾用の落ち着いたウォームグレージュ */

  --maxw: 1320px;
  --gutter: clamp(18px, 3.4vw, 56px);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-2: cubic-bezier(.65,0,.35,1);
  --header-h: 84px;

  --serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --mincho: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --jp: "Noto Sans JP", system-ui, sans-serif;
  --mono: "Space Mono", monospace;
}

* , *::before, *::after { box-sizing: border-box; }
figure, figcaption, blockquote, dl, dt, dd, fieldset, legend, menu { margin: 0; }
fieldset { padding: 0; border: 0; min-inline-size: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--jp); font-weight: 400; line-height: 1.95; letter-spacing: .015em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; line-height: 1.3; word-break: auto-phrase; text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.skip-link { position: absolute; left: 8px; top: -56px; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 2000; transition: top .2s; font-family: var(--mono); font-size: .8rem; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 6.5vw, 100px); }
.section--tight { padding-block: clamp(48px, 6.5vw, 96px); }
.bg-navy { background: var(--navy); color: var(--paper); }
.bg-paper2 { background: var(--paper-2); }

/* ---------- 共通タイポ部品 ---------- */
.eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); display: inline-block; }
.bg-navy .eyebrow { color: var(--gold); }
.bg-navy .eyebrow::before { background: var(--gold); }
.coord { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted-2); text-transform: uppercase; }
.fig { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--accent); }

.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head__l { max-width: 760px; }
.sec-head__title { font-family: var(--mincho); font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: .02em; margin-top: 18px; line-height: 1.32; }
.sec-head__title em { font-style: normal; color: var(--accent); }
.sec-head__desc { color: var(--muted); margin-top: 18px; font-size: .98rem; max-width: 640px; }
.bg-navy .sec-head__title { color: var(--paper); }
.bg-navy .sec-head__desc { color: #C8CCD4; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; font-family: var(--jp); font-weight: 700; font-size: .9rem; letter-spacing: .04em; padding: 16px 32px; border: 1px solid var(--navy); color: var(--navy); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease); white-space: nowrap; border-radius: 2px; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:hover { background: var(--navy); color: var(--paper); }
.btn-fill { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-fill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.btn-ghost { border-color: rgba(247,244,238,.5); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-lg { padding: 18px 40px; font-size: .96rem; }

.link-u { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: color .3s, border-color .3s; display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.link-u:hover { color: var(--accent); border-color: var(--accent); }
.link-u .arrow { transition: transform .35s var(--ease); }
.link-u:hover .arrow { transform: translateX(4px); }
.bg-navy .link-u { color: var(--paper); border-color: rgba(247,244,238,.35); }
.bg-navy .link-u:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: rgba(247,244,238,.86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .4s; }
.site-header.is-scrolled { box-shadow: 0 6px 26px rgba(21,35,61,.08); }
.header-inner { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter); height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__mark { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: .14em; color: var(--navy); }
.brand__sub { font-family: var(--mincho); font-size: .68rem; letter-spacing: .22em; color: var(--muted); margin-top: 2px; }
.global-nav { justify-self: center; }
.nav-list { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav-link { font-size: .92rem; font-weight: 500; letter-spacing: .04em; color: var(--ink); position: relative; padding: 6px 0; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--accent); }
.header-tel { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; border-left: 1px solid var(--line); padding-left: 22px; }
.header-tel__label { font-size: .62rem; letter-spacing: .1em; color: var(--muted); }
.header-tel__num { font-family: var(--serif); font-weight: 600; font-size: 1.34rem; letter-spacing: .04em; color: var(--navy); }

.nav-toggle { display: none; flex-direction: column; gap: 7px; width: 40px; height: 40px; align-items: center; justify-content: center; justify-self: end; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--navy); transition: transform .4s var(--ease), opacity .3s; }

.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); background: var(--navy); color: var(--paper); z-index: 150; transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease), visibility .55s; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); overflow-y: auto; }
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu ul { width: 100%; }
.mobile-menu li { border-bottom: 1px solid rgba(247,244,238,.16); }
.mobile-menu a { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 0; }
.mobile-menu a span { font-family: var(--mincho); font-weight: 600; font-size: 1.5rem; letter-spacing: .02em; }
.mobile-menu a em { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--gold); }
.mobile-menu a.is-active span { color: var(--gold); }
.mobile-menu__coord { font-family: var(--mono); font-size: .72rem; color: #B6BCC8; margin-top: 34px; letter-spacing: .06em; }

/* ---------- ヒーロー（タイポ主導・ミニマル：ネイビー面） ---------- */
.hero { position: relative; background: var(--navy-3); color: var(--paper); overflow: hidden; isolation: isolate; }
/* 背景：細い罫線グリッド＋大きな漢字の透かし（写真は使わない） */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: clamp(64px, 8vw, 116px) clamp(64px, 8vw, 116px);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 18%, #000 38%, transparent 86%);
          mask-image: radial-gradient(120% 90% at 78% 18%, #000 38%, transparent 86%);
}
.hero__bgmark { position: absolute; right: clamp(-2vw, -1vw, 0px); top: clamp(2vw, 4vw, 60px);
  font-family: var(--mincho); font-weight: 700; font-size: clamp(20rem, 46vw, 56rem); line-height: .8;
  color: var(--navy-2); opacity: .42; user-select: none; }
.hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) var(--gutter) clamp(48px, 6.5vw, 96px);
  min-height: 92vh; display: flex; flex-direction: column; }
.hero__masthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 28px;
  padding-bottom: 20px; margin-bottom: clamp(28px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.14); }
.hero__eyebrow { font-family: var(--mincho); font-weight: 600; font-size: clamp(.86rem, 1.4vw, 1.04rem); letter-spacing: .12em; color: #EDE6D8; }
.hero__est { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hero__title { font-family: var(--mincho); font-weight: 700; font-size: clamp(2.7rem, 9vw, 7rem); line-height: 1.18; letter-spacing: .03em; color: #FBF8F1; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: inline-block; }
.hero__title em { font-style: normal; color: #C98A95; } /* ボルドーは暗背景で可読性のため明度を上げた近似色 */
.hero__en { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.7rem); color: var(--gold); letter-spacing: .06em; margin-top: clamp(14px, 1.8vw, 22px); }
.hero__foot { margin-top: auto; padding-top: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero__lead-col { max-width: 540px; }
.hero__lead { color: #C7CDD8; font-size: clamp(.94rem, 1.1vw, 1.02rem); line-height: 1.95; }
.hero__actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-light { color: var(--paper); border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.hero__meta { border-top: 1px solid rgba(255,255,255,.14); }
.hero__meta-row { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero__meta dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.hero__meta dd { margin: 0; font-size: .9rem; line-height: 1.7; color: #DEE2EA; }

/* ---------- ステートメント ---------- */
.statement-sec { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.statement-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.statement { font-family: var(--mincho); font-weight: 500; font-size: clamp(1.3rem, 2.7vw, 2.05rem); line-height: 1.9; letter-spacing: .02em; color: var(--navy); }
.statement em { font-style: normal; color: var(--accent); }
.statement-grid__aside { color: var(--muted); font-size: .98rem; padding-top: 8px; }
.statement-grid__aside .coord { display: block; margin-top: 20px; }

/* ---------- 取扱分野（カードグリッド） ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.practice-card { background: var(--paper); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; transition: background .35s; min-height: 240px; }
.practice-card:hover { background: var(--paper-2); }
.practice-card__no { font-family: var(--mono); font-size: .72rem; color: var(--accent); letter-spacing: .1em; }
.practice-card__title { font-family: var(--mincho); font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.practice-card__en { font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--muted-2); margin-top: -6px; }
.practice-card__lead { color: var(--muted); font-size: .9rem; line-height: 1.85; flex: 1; }
.practice-card__go { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.practice-card:hover .practice-card__go { color: var(--accent); }
.practice-card .arrow { transition: transform .4s var(--ease); }
.practice-card:hover .arrow { transform: translateX(5px); }

/* ---------- 強み ---------- */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.strength { border-top: 2px solid var(--accent); padding-top: 22px; }
.strength__no { font-family: var(--mono); font-size: .72rem; color: var(--accent); letter-spacing: .1em; }
.strength__title { font-family: var(--mincho); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-top: 8px; }
.strength__en { font-family: var(--serif); font-style: italic; font-size: .82rem; color: var(--muted-2); }
.strength__desc { color: var(--muted); font-size: .9rem; line-height: 1.85; margin-top: 10px; }

/* ---------- 弁護士（抜粋カード） ---------- */
.lawyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.lawyer-card { display: flex; flex-direction: column; }
.lawyer-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-3); }
.lawyer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); filter: saturate(.92); }
.lawyer-card:hover .lawyer-card__media img { transform: scale(1.04); }
.lawyer-card__role { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 14px; }
.lawyer-card__name { font-family: var(--mincho); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-top: 4px; }
.lawyer-card__name span { font-family: var(--serif); font-style: italic; font-size: .82rem; font-weight: 500; color: var(--muted-2); margin-left: 10px; }
.lawyer-card__focus { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.tag { font-size: .72rem; color: var(--navy); border: 1px solid var(--line-2); border-radius: 2px; padding: 3px 10px; background: var(--paper-2); }
.lawyer-card__comment { color: var(--muted); font-size: .9rem; line-height: 1.8; margin-top: 10px; }

/* ---------- 流れ（縦タイムライン） ---------- */
.flow { display: grid; gap: 0; max-width: 880px; }
.flow-step { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.flow-step:last-child { border-bottom: 0; }
.flow-step__no { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--accent); line-height: 1; min-width: 56px; }
.flow-step__title { font-family: var(--mincho); font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.flow-step__desc { color: var(--muted); font-size: .94rem; margin-top: 7px; line-height: 1.85; }

/* ---------- 費用テーブル ---------- */
.fee-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.fee-table th, .fee-table td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table thead th { font-size: .78rem; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.fee-table tbody th { font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: 1rem; white-space: nowrap; }
.fee-table .fee-price { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--accent); white-space: nowrap; }
.fee-table .fee-note { color: var(--muted); font-size: .84rem; line-height: 1.7; }
.fee-disclaimer { margin-top: 22px; color: var(--muted); font-size: .82rem; line-height: 1.8; background: var(--paper-2); border-left: 3px solid var(--gold); padding: 16px 20px; }

/* ---------- 声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.voice { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 30px 28px; }
.voice__cat { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.voice__text { font-family: var(--mincho); font-size: 1rem; line-height: 1.95; color: var(--ink); margin-top: 14px; }
.voice__who { color: var(--muted-2); font-size: .82rem; margin-top: 16px; }

/* ---------- お知らせ ---------- */
.news-list { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.news-item__date { font-family: var(--mono); font-size: .76rem; color: var(--muted-2); }
.news-item__cat { font-size: .72rem; color: var(--accent); border: 1px solid var(--line-2); padding: 2px 9px; border-radius: 2px; }
.news-item__title { color: var(--ink); font-size: .94rem; }

/* ---------- アクセス ---------- */
.access { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.access__img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.access__img img { width: 100%; height: 100%; object-fit: cover; }
.access__body h2 { font-family: var(--mincho); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; color: var(--navy); line-height: 1.45; margin-bottom: 8px; }
.access__body dl { margin-top: 24px; }
.access__body .row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.access__body dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.access__body dd { margin: 0; color: var(--ink); font-size: .94rem; }

/* ---------- 画像フィーチャー ---------- */
.feature-img { position: relative; }
.feature-img__clip { overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-2); aspect-ratio: 14/9; }
.feature-img.is-in .feature-img__clip { clip-path: inset(0 0 0 0); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img__cap { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--muted); }
.reveal-all .feature-img__clip { clip-path: inset(0 0 0 0) !important; }

/* ---------- ページヒーロー（下層共通） ---------- */
.page-hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(34px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.breadcrumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); display: flex; gap: 10px; align-items: center; margin-bottom: 24px; }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-family: var(--mincho); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 600; color: var(--navy); letter-spacing: .02em; line-height: 1.3; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .en { font-family: var(--serif); font-style: italic; color: var(--muted-2); font-size: 1.1rem; margin-bottom: 12px; display: block; }
.page-hero .lead { color: var(--muted); margin-top: 20px; max-width: 720px; font-size: 1rem; }

/* ---------- 取扱分野 詳細（practice.php） ---------- */
.practice-detail { padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.practice-detail:last-child { border-bottom: 0; }
.practice-detail__grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.practice-detail__head .no { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: var(--accent); line-height: 1; }
.practice-detail__head h2 { font-family: var(--mincho); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: var(--navy); margin-top: 10px; }
.practice-detail__head .en { font-family: var(--serif); font-style: italic; color: var(--muted-2); margin-top: 4px; }
.practice-detail__head .lead { color: var(--muted); font-size: .94rem; margin-top: 18px; line-height: 1.9; }
.pd-block { margin-bottom: 28px; }
.pd-block:last-child { margin-bottom: 0; }
.pd-block__label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.pd-worries { display: grid; gap: 10px; }
.pd-worries li { position: relative; padding: 14px 18px 14px 44px; background: var(--paper-2); border-radius: 2px; color: var(--ink); font-size: .94rem; line-height: 1.8; }
.pd-worries li::before { content: "“"; position: absolute; left: 16px; top: 12px; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); line-height: 1; }
.pd-approach { color: var(--ink); font-size: .98rem; line-height: 2; padding-left: 18px; border-left: 2px solid var(--gold); }

/* ---------- 弁護士 詳細（lawyers.php） ---------- */
.lawyer-row { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 4vw, 64px); padding: clamp(40px, 5vw, 70px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.lawyer-row:last-child { border-bottom: 0; }
.lawyer-row__media { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-3); }
.lawyer-row__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.lawyer-row__role { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lawyer-row__name { font-family: var(--mincho); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; color: var(--navy); margin-top: 8px; }
.lawyer-row__name span { font-family: var(--serif); font-style: italic; font-size: .9rem; font-weight: 500; color: var(--muted-2); margin-left: 12px; }
.lawyer-row__reg { color: var(--muted-2); font-size: .82rem; margin-top: 4px; }
.lawyer-row__focus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lawyer-row__bio { color: var(--ink); font-size: .96rem; line-height: 1.95; margin-top: 16px; }
.lawyer-row__quote { font-family: var(--mincho); font-size: 1.05rem; line-height: 1.95; color: var(--navy); margin-top: 16px; padding-left: 20px; border-left: 2px solid var(--accent); }

/* ---------- about：理念ブロック ---------- */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.philosophy__lead { font-family: var(--mincho); font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.9; color: var(--navy); letter-spacing: .02em; }
.philosophy__lead em { font-style: normal; color: var(--accent); }
.philosophy__body { color: var(--muted); font-size: .98rem; line-height: 2; }
.philosophy__body p + p { margin-top: 18px; }
.philosophy__img { aspect-ratio: 3/4; overflow: hidden; background: var(--paper-3); }
.philosophy__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- フォーム ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.alert { background: #FBEFEF; border: 1px solid #E2B5B5; color: var(--accent-d); padding: 16px 20px; border-radius: 2px; margin-bottom: 28px; font-size: .92rem; }
.form-field { margin-bottom: 24px; }
.form-field label { display: block; font-size: .86rem; font-weight: 700; color: var(--navy); margin-bottom: 9px; letter-spacing: .03em; }
.form-field .req { color: var(--accent); font-size: .8rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--jp); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 2px; padding: 14px 16px;
  transition: border-color .3s, box-shadow .3s;
}
.form-field textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21,35,61,.1); }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122,39,53,.1); }
.field-error { color: var(--accent); font-size: .82rem; margin-top: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 4px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: .94rem; color: var(--ink); margin: 0; cursor: pointer; }
.radio-row input { width: auto; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .84rem; line-height: 1.8; margin-top: 6px; }
.form-aside { background: var(--navy); color: var(--paper); padding: clamp(28px, 3vw, 40px); border-radius: 2px; }
.form-aside__big { font-family: var(--mincho); font-size: 1.4rem; line-height: 1.7; color: #fff; margin-bottom: 24px; }
.form-aside dl { display: grid; gap: 4px; }
.form-aside dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: 16px; }
.form-aside dd { margin: 0; font-size: .94rem; color: #E6E2D9; }
.form-aside dd a { color: #E6E2D9; }

/* ---------- thanks ---------- */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks h1 { font-family: var(--mincho); font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 600; color: var(--navy); }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--muted); margin-top: 20px; line-height: 2; }

/* ---------- フッターCTA ---------- */
.foot-cta { background: var(--navy); color: var(--paper); text-align: center; padding-block: clamp(64px, 9vw, 120px); }
.foot-cta__eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 18px; }
.foot-cta__title { font-family: var(--mincho); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; color: #fff; line-height: 1.5; }
.foot-cta__lead { color: #C8CCD4; margin-top: 22px; line-height: 1.95; }
.foot-cta__actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* 濃紺の帯の上では塗りボタンをボルドーに（濃紺×濃紺で見えなくなるため） */
.foot-cta .btn-fill { background: var(--accent); border-color: var(--accent); color: #fff; }
.foot-cta .btn-fill:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-3); color: #C8CCD4; padding-top: clamp(56px, 7vw, 90px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-logo { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; letter-spacing: .14em; color: #fff; }
.footer-tag { font-family: var(--mincho); color: #E6E2D9; margin-top: 8px; font-size: .92rem; }
.footer-tag2 { color: var(--gold); font-size: .82rem; margin-top: 6px; }
.footer-h { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-static { display: block; color: #B6BCC8; font-size: .9rem; line-height: 1.6; padding: 4px 0; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(247,244,238,.1); padding-block: 26px; }
.sample-note { font-size: .78rem; color: #8A90A0; line-height: 1.7; }
.copyright { font-family: var(--mono); font-size: .72rem; color: #6E7587; margin-top: 8px; letter-spacing: .03em; }

/* ---------- to-top / toast ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .4s, transform .4s, background .3s; z-index: 120; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 28px; background: var(--navy); color: #fff; padding: 13px 24px; border-radius: 2px; font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; z-index: 300; transform: translateX(-50%) translateY(20px); }
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- reveal + フェイルセーフ ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.09s; } .reveal[data-delay="2"]{ transition-delay:.18s; } .reveal[data-delay="3"]{ transition-delay:.27s; } .reveal[data-delay="4"]{ transition-delay:.36s; }
.reveal-all .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__title .ln > span { opacity: 1 !important; transform: none !important; }
  .feature-img__clip { clip-path: inset(0 0 0 0) !important; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .voices { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .global-nav, .header-tel { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ transform: translateY(-4px) rotate(-45deg); }
  .hero__inner { min-height: 0; }
  .hero__foot { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); align-items: stretch; }
  .hero__bgmark { font-size: clamp(18rem, 60vw, 34rem); opacity: .3; }
  .statement-grid { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; }
  .philosophy { grid-template-columns: 1fr; }
  .practice-detail__grid { grid-template-columns: 1fr; }
  .lawyer-row { grid-template-columns: 1fr; }
  .lawyer-row__media { max-width: 360px; }
}
@media (max-width: 640px) {
  .practice-grid { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: 1fr; }
  .lawyer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { gap: 6px 12px; }
  .news-item__title { grid-column: 1 / -1; }
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: 100%; }
  .fee-table tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .fee-table th, .fee-table td { border: 0; padding: 4px 0; }
  .access__body .row { grid-template-columns: 1fr; gap: 4px; }
  .hero__meta-row { grid-template-columns: 1fr; gap: 4px; }
  .hero__meta dt { padding-top: 0; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .foot-cta__actions .btn { width: 100%; }
}
