/* ==========================================================
   イーグル法律事務所 明石オフィス｜相続・遺産分割・後見 特化サイト
   ========================================================== */
:root {
  --navy: #1c2b45;
  --navy-2: #2b3d5e;
  --navy-dark: #16223a;
  --ivory: #faf8f3;
  --beige: #efe8dc;
  --beige-2: #e3d8c6;
  --sage: #4a6656;
  --sage-bg: #e7eee6;
  --sage-l: #c9d6c8;
  --ink: #1e2430;
  --muted: #545b68;
  --line: #d9d2c5;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Cormorant Garamond", Georgia, serif;
  --body-font: "Shippori Mincho Numbers", var(--gothic), sans-serif;
  --wrap: 1120px;
}

@font-face {
  font-family: "Shippori Mincho Numbers";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local("Shippori Mincho"), local("ShipporiMincho-Regular"), local("ShipporiMincho-Medium"), local("ShipporiMincho-SemiBold"), local("ShipporiMincho-Bold");
  unicode-range: U+0030-0039, U+002B, U+002D, U+002E, U+003A, U+002F, U+0025, U+002C, U+FF10-FF19, U+FF0D, U+FF0F, U+FF0C, U+FFE0, U+FFE5, U+FF5E, U+301C;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  line-break: strict;
  overflow-wrap: break-word;
}
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body-font); line-height: 1.9; letter-spacing: .03em; -webkit-text-size-adjust: 100%; word-break: normal; }

/* ---------- Japanese typography / line breaks ---------- */
h1, h2, h3, h4, h5, h6,
.lead, .sec-head h2, .page-hero h1, .cta h2,
.card h3, .pcard h3, .case h3, .ps h2, .prose h3,
.linkrow, .btn span, .hb, .btn-head, .cta-b span,
.tag, .chip, .worry-title, .hero-badge, .hero-points li,
.who span, .nb, .prev-item strong, .prev-item p,
.sit-text strong, .sit-text small,
.checks li span, .merits h3, .merits h3 + p, .values strong,
.flow strong, .gsteps strong, .fee-table th,
.mini strong, .two-i h4, .col-i strong, .tl strong,
summary, .toc a, .side-t, .callout-t, .whom h3,
.linkrow, .case-body, .prev-item, .card, .pcard {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

p, li, dd, dt, .small, .note, .callout p, .prose p,
.f-row label, .form-table th, summary, .foot-brand p {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.tel a,
.cta-tel strong,
.side-tel,
.tel-big a,
.foot-link[href^="tel:"],
.zip-row,
.free strong,
.side-cta small, .side-cta span {
  line-break: strict;
  word-break: keep-all;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .tel a,
  .cta-tel strong,
  .side-tel,
  .tel-big a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--sage); }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.center { display: flex; justify-content: center; }
.mt { margin-top: 32px; }
.small { font-size: 15px; color: var(--muted); line-height: 1.8; }
.ic { flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 96px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--ivory); border-bottom: 1px solid var(--line); white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; width: auto; height: 52px; max-width: min(260px, 34vw); object-fit: contain; }
.brand-mark { width: 48px; height: 48px; border: 1px solid var(--navy); display: grid; place-items: center; font: 15px var(--en); color: var(--navy); }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-text small { font-size: 12px; letter-spacing: .08em; color: var(--sage); line-height: 1.3; }
.brand-text strong { font: 600 18px/1.3 var(--mincho); letter-spacing: .06em; color: var(--navy); }
.gnav ul { display: flex; flex-wrap: nowrap; gap: 22px; }
.gnav a { display: block; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 8px 0; border-bottom: 1px solid transparent; }
.gnav a:hover { color: var(--sage); border-color: var(--sage); }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.tel a { display: flex; align-items: center; gap: 6px; font: 500 24px var(--mincho); letter-spacing: .04em; color: var(--navy); text-decoration: none; }
.tel small { font-size: 12px; color: var(--muted); }
.btn-head { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .06em; transition: background .2s; }
.btn-head:hover { background: var(--sage); color: #fff; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-shrink: 0; }
.menu-toggle-bar { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--navy); transition: transform .2s, opacity .2s; }
body.nav-open .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(250, 248, 243, .72); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { z-index: 60; }
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero { background: var(--ivory); }
.hero-stage { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 2000 / 950; overflow: hidden; color: #3a3f4a; }
.hero-pic, .hero-pic img { display: block; width: 100%; height: 100%; }
.hero-pic img { object-fit: cover; }
.hero-stage > :not(.hero-pic) { position: absolute; margin: 0; }
.hero-badge { left: 5.5%; top: 4.95%; width: 16.75%; height: 5.6%; display: flex; align-items: center; justify-content: center; gap: .5cqw; border-radius: 999px; background: #efe7d6; color: #7a6540; font-size: 1.15cqw; font-weight: 500; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.hero-badge .ic { width: 1.15cqw; height: 1.15cqw; }
.hero h1 { left: 5.4%; top: 13.1%; font: 600 4.3cqw/1.34 var(--mincho); letter-spacing: .01em; color: var(--navy); white-space: nowrap; }
.hero-lead { left: 5.6%; top: 38.4%; font-size: 1.55cqw; line-height: 1.52; letter-spacing: .05em; color: #3a3f4a; white-space: nowrap; }
.hb { top: 57.15%; height: 9.47%; display: flex; align-items: center; justify-content: center; gap: 1.6cqw; border-radius: 999px; font-size: 1.36cqw; font-weight: 700; letter-spacing: .08em; text-decoration: none; white-space: nowrap; transition: filter .2s, transform .2s; }
.hb:hover { filter: brightness(1.06); transform: translateY(-1px); }
.hb-navy { left: 5.25%; width: 22.4%; background: linear-gradient(180deg, #27446f, #1c2f52); color: #fff; box-shadow: 0 .5cqw 1.2cqw rgba(28,43,69,.28); }
.hb-navy:hover { color: #fff; }
.hb-line { left: 28.25%; width: 22.05%; background: #fff; color: #55683a; border: .1cqw solid #6f7f52; box-shadow: 0 .4cqw 1cqw rgba(60,60,40,.12); }
.hb-line:hover { color: #55683a; }
.chev { width: .8cqw; height: .8cqw; border-top: .2cqw solid currentColor; border-right: .2cqw solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.hero-points { left: 0; top: 69.4%; width: 55%; height: 6.3%; }
.hero-points li { position: absolute; top: 0; height: 100%; display: flex; align-items: center; gap: .9cqw; font-size: 1.15cqw; letter-spacing: .05em; color: #4a4f57; white-space: nowrap; }
.hero-points .ic { width: 2.2cqw; height: 2.2cqw; color: #55683a; }
.hero-points li:nth-child(1) { left: 10.5%; }
.hero-points li:nth-child(2) { left: 39.7%; }
.hero-points li:nth-child(3) { left: 68.2%; }
.hero-points li:nth-child(1)::after, .hero-points li:nth-child(2)::after { content: ""; position: absolute; top: 10%; right: -1.4cqw; height: 80%; border-right: 1px solid #d8cfbd; }
.hero-points li:nth-child(1)::after { right: -1.5cqw; }
.hc { top: 73.5%; font-size: 1.15cqw; line-height: 1.52; letter-spacing: .04em; color: #3d4048; white-space: nowrap; }
.hc1 { left: 54.5%; } .hc2 { left: 69.65%; } .hc3 { left: 84.75%; }
.hb:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

@media (max-width: 1000px) {
  .hero-stage { aspect-ratio: auto; container-type: normal; display: flex; flex-direction: column; gap: 0; padding: 0 20px 40px; overflow: visible; background: linear-gradient(180deg, #f3f6f7, var(--ivory) 40%); }
  .hero-pic { order: 0; margin: 0 -20px 28px; width: calc(100% + 40px); height: auto; aspect-ratio: 1253 / 950; }
  .hero-stage > :not(.hero-pic) { position: static; }
  .hero-badge { order: 1; align-self: flex-start; width: auto; height: auto; padding: 8px 16px; font-size: 15px; gap: 6px; margin-bottom: 16px; }
  .hero-badge .ic { width: 16px; height: 16px; }
  .hero h1 { order: 2; font-size: clamp(30px, 8vw, 46px); line-height: 1.4; white-space: normal; margin-bottom: 16px; }
  .hero-lead { order: 3; font-size: 17px; line-height: 1.9; white-space: normal; margin-bottom: 24px; }
  .hb { height: auto; min-height: 56px; width: 100%; font-size: 16px; gap: 16px; margin-bottom: 12px; }
  .hb-navy { order: 4; } .hb-line { order: 5; }
  .chev { width: 9px; height: 9px; border-width: 2px; }
  .hero-points { order: 6; width: auto; height: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
  .hero-points li { position: static; font-size: 15px; gap: 6px; }
  .hero-points li::after { display: none; }
  .hero-points .ic { width: 20px; height: 20px; }
  .hc { display: none; }
}

/* ---------- Common ---------- */
.sec { padding: 120px 0; }
.bg-beige { background: var(--beige); }
.bg-sage { background: var(--sage-bg); }
.bg-navy { background: var(--navy); color: #fff; }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sec-head.center { align-items: center; text-align: center; margin-bottom: 64px; }
.sec-head:not(.center) { margin-bottom: 56px; }
.en { display: flex; align-items: center; gap: 14px; font: italic 500 22px var(--en); letter-spacing: .12em; color: var(--sage); line-height: 1.2; }
.sec-head .en::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.sec-head h2 { font: 600 40px/1.5 var(--mincho); letter-spacing: .06em; color: var(--navy); }
.sec-head .lead, .lead { max-width: 760px; font-size: 18px; line-height: 2; color: var(--muted); }
.sec-head.sage h2 { color: var(--sage); }
.sec-head.on-dark h2 { color: #fff; }
.sec-head.on-dark .en { color: var(--sage-l); }
.sec-head.on-dark .lead { color: #d5dae3; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.split-head .sec-head { margin-bottom: 56px; }
.split-head > .btn { margin-bottom: 56px; }
.bigword { font: italic 500 120px/1 var(--en); letter-spacing: .02em; color: var(--beige); margin-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; position: relative; gap: 20px; min-height: 52px; padding: 16px 52px 16px 28px; border: 1px solid transparent; font-weight: 700; font-size: 17px; letter-spacing: .08em; text-decoration: none; line-height: 1.5; transition: background .2s, color .2s, border-color .2s; cursor: pointer; font-family: inherit; }
.btn span { text-align: center; }
.btn > .ic:last-child { position: absolute; right: 28px; flex-shrink: 0; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: #3b5345; color: #fff; }
.btn-line { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 22px 56px 22px 36px; font-size: 17px; }
.btn-lg > .ic:last-child { right: 36px; }

.ph { display: grid; place-items: center; width: 100%; min-height: 200px; background-color: var(--beige-2); background-image: repeating-linear-gradient(135deg, rgba(28,43,69,.05) 0 1px, transparent 1px 14px); }
.ph span { font-size: 15px; letter-spacing: .08em; color: var(--muted); background: rgba(250,248,243,.85); padding: 6px 12px; }
.ph.grow { flex: 1; }
.ph.tall { min-height: 320px; background-color: #d3ddd2; }
.ph.tall2 { min-height: 560px; background-color: #d6cdbd; }
.ph.h200 { min-height: 200px; height: 200px; }
.ph.map { min-height: 420px; background-color: #dce3e8; }
.map-embed { position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 320px; border: 1px solid var(--line); background: #dce3e8; overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.office-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--beige-2); }
.office-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mood-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--beige-2); }
.mood-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mood-photo.tall img { aspect-ratio: 3 / 4; object-position: center top; }
.prep-left .mood-photo.tall { min-height: 320px; }

.round { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--ivory); color: var(--navy); }
.round.lg { width: 72px; height: 72px; }
.tag { display: inline-block; font-size: 14px; letter-spacing: .06em; color: var(--navy); background: var(--ivory); border: 1px solid var(--line); padding: 4px 10px; line-height: 1.6; }
.tag.solid { color: #fff; background: var(--navy); border-color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.more { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; font-size: 16px; letter-spacing: .06em; color: var(--navy); text-decoration: none; }
.more:hover { color: var(--sage); }
.more.sage { border: 0; padding: 0; justify-content: flex-start; gap: 8px; color: var(--sage); }

/* ---------- Worries ---------- */
.worries { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: stretch; }
.worry-box { padding: 44px 48px; background: #fff; }
.worry-box.sage { background: var(--sage-bg); }
.worry-side { display: flex; flex-direction: column; gap: 32px; }
.worry-title { display: flex; align-items: baseline; gap: 14px; font: 600 22px var(--mincho); color: var(--navy); margin-bottom: 12px; }
.worry-box.sage .worry-title { color: var(--sage); }
.worry-title .en { font-size: 18px; letter-spacing: .1em; }
.worry-box.sage .en { color: var(--sage); }
.worry-title .en { color: var(--navy); }
.worry-box.sage .worry-title .en { color: var(--sage); }
.checks li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--line); font-size: 18px; font-weight: 500; line-height: 1.6; }
.checks li span { min-width: 0; flex: 1; }
.checks .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; }
.checks.navy .ic { background: var(--navy); }
.checks.sage .ic { background: var(--sage); }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; gap: 18px; padding: 40px 36px 32px; background: #fff; border: 1px solid var(--line); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.num { font: 40px var(--mincho); color: var(--beige-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.grid-3 > *, .grid-2 > *, .grid-2c > *, .prep-grid > *, .mini-grid > *, .col-list > * { min-width: 0; }
.card { min-width: 0; }
.card h3 { font: 600 26px/1.45 var(--mincho); letter-spacing: .06em; color: var(--navy); }
.card p { font-size: 18px; color: var(--muted); }
.note { display: flex !important; align-items: center; gap: 10px; padding: 10px 14px; background: var(--beige); font-size: 16px !important; color: var(--navy) !important; }
.note b { font-size: 18px; }

/* ---------- Prepare ---------- */
.prep { display: flex; gap: 72px; align-items: stretch; }
.prep-left { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 40px; }
.prep-left .sec-head { margin-bottom: 0; }
.prep-grid { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.prep-main { flex: 1; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.pcard { display: flex; flex-direction: column; gap: 16px; padding: 36px; background: #fff; }
.pcard-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-width: 0; }
.pcard h3 { font: 600 26px/1.45 var(--mincho); letter-spacing: .06em; color: var(--sage); }
.pcard .en { font-size: clamp(12px, 2.2vw, 16px); letter-spacing: .08em; flex-shrink: 1; min-width: 0; }
.pcard .en::before { display: none; }
.pcard p { font-size: 18px; color: var(--muted); }
.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who span { white-space: nowrap; padding: 12px 16px; text-align: center; background: var(--sage-bg); font: 600 18px var(--mincho); color: var(--sage); }
.prep-note { margin-top: 0; font-size: 16px; line-height: 1.9; color: var(--muted); }
.prep-note a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.prep-note a:hover { color: var(--navy); }
.nb { white-space: nowrap; display: inline-block; }

/* ---------- Situation ---------- */
.sit { display: flex; align-items: center; gap: 16px; min-height: 160px; padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.sit:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(28,43,69,.1); color: var(--ink); }
.sit.s { border-top-color: var(--sage); }
.sit .round.lg { width: 56px; height: 56px; }
.sit.n .round { color: var(--navy); }
.sit.s .round { color: var(--sage); }
.sit-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sit-text strong { font: 600 21px/1.45 var(--mincho); letter-spacing: .04em; }
.sit-text small { font-size: 15px; color: var(--muted); line-height: 1.65; }
.dot { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--navy); }
.sit.s .dot { background: var(--sage); }
.legend { display: flex; justify-content: center; gap: 32px; margin-top: 40px; font-size: 15px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 4px; }
.b-navy { background: var(--navy); }
.b-sage { background: var(--sage); }

/* ---------- Why lawyer ---------- */
.why { display: flex; gap: 80px; align-items: flex-start; }
.why-left { flex: 1; }
.why-left .sec-head { margin-bottom: 48px; }
.merits li { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.18); }
.mnum { font: 44px/1 var(--mincho); color: var(--sage-l); }
.merits h3 { font: 600 23px/1.5 var(--mincho); letter-spacing: .05em; margin-bottom: 10px; }
.merits p { font-size: 18px; color: #d5dae3; }
.whom { width: 480px; flex-shrink: 0; margin-top: 40px; padding: 40px; background: var(--navy-2); display: flex; flex-direction: column; gap: 20px; }
.whom h3 { font: 600 20px var(--mincho); letter-spacing: .06em; }
.whom table { width: 100%; font-size: 16px; }
.whom td { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); line-height: 1.6; }
.whom td + td { padding-left: 16px; text-align: right; white-space: nowrap; font-weight: 700; color: #aeb7c6; }
.whom td.lw { color: #fff; }
.whom .small { color: #aeb7c6; font-size: 14px; }

/* ---------- Guardianship ---------- */
.gflow { display: flex; gap: 48px; align-items: center; margin-bottom: 64px; }
.voices { width: 440px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.vlabel { font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.voice { padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 4px 20px 20px 20px; font-size: 18px; font-weight: 500; line-height: 1.7; }
.bigarrow { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: #fff; }
.gsteps { flex: 1; padding: 40px; background: var(--sage-bg); }
.gsteps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--sage-l); }
.gsteps li:last-child { border: 0; }
.gn { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; font: 20px var(--mincho); color: var(--sage); }
.gsteps strong { display: block; font: 600 20px/1.5 var(--mincho); color: var(--sage); margin-bottom: 6px; }
.gsteps p { font-size: 16px; color: var(--muted); }

/* ---------- Prevention ---------- */
.prev { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); background: #fff; border: 1px solid var(--line); }
.prev-item { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 24px; text-align: center; text-decoration: none; color: var(--navy); border-left: 1px solid var(--line); transition: background .2s; min-width: 0; }
.prev-item:first-child { border-left: 0; }
.prev-item:hover { background: var(--ivory); color: var(--navy); }
.prev-item strong { font: 600 22px/1.45 var(--mincho); letter-spacing: .04em; }
.prev-item p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.more-s { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }

/* ---------- Cases ---------- */
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.case-photo { margin: 0; overflow: hidden; background: var(--beige-2); }
.case-photo img { display: block; width: 100%; height: 200px; object-fit: cover; }
.case-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.case.s .tag.solid { background: var(--sage); border-color: var(--sage); }
.case h3 { font: 600 22px/1.45 var(--mincho); color: var(--navy); }
.case dl { width: 100%; display: flex; flex-direction: column; gap: 22px; }
.case dl > div { position: relative; padding: 18px 20px; background: var(--ivory); }
.case dl > div + div::before { content: ""; position: absolute; top: -18px; left: 50%; width: 10px; height: 10px; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: translateX(-50%) rotate(45deg); }
.case dt { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.case dd { font-size: 16px; line-height: 1.8; }
.case dl > .res { background: var(--beige); }
.case dl > .res dt { color: var(--navy); }
.linkrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 24px 28px; background: #fff; border: 1px solid var(--line); font: 600 18px/1.45 var(--mincho); color: var(--navy); text-decoration: none; }
.linkrow:hover { border-color: var(--navy); }

/* ---------- Lawyer ---------- */
.lawyer { display: flex; gap: 88px; align-items: flex-start; }
.lawyer-photo { width: 440px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.lawyer-portrait { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--beige-2); }
.lawyer-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lname { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lname small { display: block; font-size: 15px; color: var(--muted); }
.lname strong { font: 600 32px/1.4 var(--mincho); letter-spacing: .14em; color: var(--navy); }
.lname .en { font-size: 18px; letter-spacing: 0; }
.lname .en::before { display: none; }
.lawyer-body { flex: 1; display: flex; flex-direction: column; gap: 32px; padding-top: 24px; align-items: flex-start; }
.lawyer-body .sec-head { margin-bottom: 0; }
blockquote { padding: 32px 36px; background: #fff; border: 1px solid var(--line); font: 500 21px/2 var(--mincho); letter-spacing: .04em; color: var(--navy); }
.values { width: 100%; }
.values li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--sage); }
.values strong { display: block; font: 600 19px/1.5 var(--mincho); color: var(--navy); margin-bottom: 6px; }
.values p { font-size: 16px; color: var(--muted); }

/* ---------- Fee ---------- */
.fee { display: flex; gap: 80px; align-items: flex-start; }
.fee-left { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.fee-left .sec-head { margin-bottom: 0; }
.free { width: 100%; padding: 32px; background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 8px; }
.free small { font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--sage-l); }
.free strong { font: 700 38px/1.3 var(--mincho); letter-spacing: .04em; }
.free span { font-size: 15px; color: #d5dae3; }
.fee-table { flex: 1; width: 100%; background: #fff; }
.fee-table tr { border-bottom: 1px solid var(--line); }
.fee-table th { width: 240px; padding: 26px 28px; text-align: left; background: var(--ivory); font: 600 17px/1.5 var(--mincho); color: var(--navy); }
.fee-table td { padding: 26px 28px; }
.fee-table td strong { display: block; font-size: 19px; }
.fee-table td small { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 20px 32px; background: #fff; border: 1px solid var(--line); text-align: center; min-width: 0; }
.step { font: italic 16px var(--en); letter-spacing: .14em; color: var(--sage); }
.flow strong { font: 600 22px/1.45 var(--mincho); letter-spacing: .04em; color: var(--navy); }
.flow p { font-size: 16px; color: var(--muted); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq { display: flex; gap: 80px; align-items: flex-start; }
.faq > div:first-child { width: 360px; flex-shrink: 0; }
.faq .sec-head { margin-bottom: 0; }
.faq-list { flex: 1; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; gap: 16px; align-items: baseline; padding: 28px 48px 28px 0; position: relative; cursor: pointer; font: 600 20px/1.5 var(--mincho); color: var(--navy); list-style: none; min-width: 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 24px; font: 300 28px/1 var(--gothic); color: var(--sage); }
details[open] summary::after { content: "−"; }
.q, .a { font: 28px/1 var(--en); flex-shrink: 0; }
.q { color: var(--navy); }
.a { color: var(--sage); }
details p { display: flex; gap: 16px; align-items: baseline; padding: 0 0 28px; font-size: 18px; }

/* ---------- Access ---------- */
.access { display: flex; gap: 80px; align-items: stretch; }
.access > div:first-child { flex: 1; }
.access .sec-head { margin-bottom: 40px; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.areas a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; background: #fff; border: 1px solid var(--line); font-size: 17px; font-weight: 500; text-decoration: none; }
.areas a .ic { color: var(--sage); }
.info { display: grid; grid-template-columns: 120px 1fr; font-size: 17px; }
.info dt, .info dd { padding: 16px 0; border-top: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--navy); }
.access-media { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }

/* ---------- CTA ---------- */
.cta { padding: 110px 24px; background: var(--navy); color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.cta .en { color: var(--sage-l); }
.cta h2 { font: 600 40px/1.6 var(--mincho); letter-spacing: .06em; }
.cta-lead { font-size: 18px; color: #d5dae3; }
.cta-row { display: flex; gap: 24px; align-items: stretch; }
.cta-tel { width: 420px; padding: 28px 32px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.cta-tel small { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.cta-tel strong { display: flex; align-items: center; gap: 10px; font: 500 44px/1.1 var(--mincho); color: var(--navy); }
.cta-tel span { font-size: 15px; color: var(--muted); }
.cta-btns { width: 380px; display: flex; flex-direction: column; gap: 16px; }
.cta-b { flex: 1; min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 0 28px; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; text-align: left; }
.cta-b span { flex: 1; }
.cta-b.beige { background: var(--beige); color: var(--navy); }
.cta-b.sage { background: var(--sage-bg); color: var(--sage); }
.cta-b:hover { filter: brightness(.96); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #d5dae3; padding: 80px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 64px; }
.foot-brand { width: 360px; }
.foot-logo-link { display: inline-block; margin-bottom: 20px; padding: 12px 16px; background: #fff; border-radius: 4px; }
.foot-logo { display: block; width: auto; height: 44px; max-width: 210px; object-fit: contain; }
.foot-brand strong { display: block; font: 600 22px var(--mincho); letter-spacing: .08em; color: #fff; margin-bottom: 16px; }
.foot-brand p { font-size: 16px; color: #aeb7c6; line-height: 1.9; }
.foot-brand .foot-link { color: #aeb7c6; text-decoration: none; transition: color .2s; }
.foot-brand .foot-link:hover { color: #fff; text-decoration: underline; }
.foot nav { display: flex; flex-direction: column; gap: 14px; }
.foot nav p { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--sage-l); }
.foot nav a { font-size: 16px; color: #d5dae3; text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-sites { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.foot-sites-label { margin: 0 0 16px; font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--sage-l); }
.foot-sites ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.foot-sites a { display: flex; flex-direction: column; gap: 2px; min-height: 72px; padding: 14px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: background .2s, border-color .2s; }
.foot-sites a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.foot-sites a span { font-size: 13px; letter-spacing: .08em; color: var(--sage-l); font-weight: 700; }
.foot-sites a strong { font-size: 16px; font-weight: 500; color: #fff; letter-spacing: .02em; overflow-wrap: anywhere; }
.foot-sites a strong::after { content: " ↗"; font-size: 13px; font-weight: 500; color: #d5dae3; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #b3bccb; }
.foot-bottom a { color: #b3bccb; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1400px) {
  .menu-toggle { display: inline-flex; }
  .gnav { display: block; position: fixed; top: 0; right: 0; z-index: 61; width: min(320px, 88vw); height: 100dvh; padding: 88px 28px 32px; background: #fff; border-left: 1px solid var(--line); box-shadow: -8px 0 32px rgba(28, 43, 69, .08); overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--line); }
  .gnav a { padding: 18px 0; font-size: 17px; white-space: normal; border-bottom: none; }
  body.nav-open .menu-toggle { position: fixed; z-index: 70; top: 26px; right: 32px; background: #fff; box-shadow: 0 2px 8px rgba(28, 43, 69, .1); }
  body.nav-open .gnav { transform: translateX(0); }
}
@media (max-width: 1024px) {
  .sec { padding: 88px 0; }
  .worries, .prep, .why, .lawyer, .fee, .faq, .access, .gflow { flex-direction: column; display: flex; }
  .prep-left, .whom, .voices, .lawyer-photo, .fee-left, .faq > div:first-child, .access-media { width: 100%; }
  .whom { margin-top: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prev { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prev-item { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bigarrow { transform: rotate(90deg); }
  .gsteps { width: 100%; }
  .foot { flex-wrap: wrap; }
  .cta-row { flex-direction: column; align-items: center; }
}
@media (max-width: 720px) {
  .site-header { height: 64px; padding: 0 16px; }
  body.nav-open .menu-toggle { top: 10px; right: 16px; }
  .gnav { padding-top: 72px; }
  .brand-mark, .brand-text small, .tel small, .btn-head { display: none; }
  .brand-text strong { font-size: 17px; }
  .tel a { font-size: 0; gap: 0; width: 44px; height: 44px; justify-content: center; background: var(--navy); color: #fff; border-radius: 50%; }
  .tel a:hover { color: #fff; background: var(--sage); }
  .tel a .ic { width: 20px; height: 20px; }
  .brand-text strong { white-space: normal; }
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 64px 0; }
  .sec-head h2, .cta h2 { font-size: 26px; }
  .sec-head.center { margin-bottom: 40px; }
  .grid-3, .grid-2, .prep-grid, .flow, .prev { grid-template-columns: 1fr; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .bigword { display: none; }
  .worry-box { padding: 28px 20px; }
  .checks li { font-size: 17px; }
  .card, .pcard { padding: 28px 22px; }
  .pcard h3 { font-size: 22px; }
  .who span { font-size: 16px; padding: 10px 14px; }
  .sit { min-height: 0; padding: 22px; gap: 16px; }
  .sit-text strong { font-size: 19px; }
  .round.lg { width: 56px; height: 56px; }
  .whom { padding: 28px 20px; }
  .gsteps { padding: 24px 20px; }
  .lname { flex-direction: column; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: 100%; }
  .fee-table th, .fee-table td { padding: 16px 20px; }
  .info { grid-template-columns: 96px 1fr; }
  .cta-tel, .cta-btns { width: 100%; }
  .cta-tel strong { font-size: 34px; }
  .foot { flex-direction: column; gap: 32px; }
  .foot-brand { width: 100%; }
  .foot-sites ul { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .ph.tall2 { min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   Sub pages
   ========================================================== */
.page-hero { position: relative; padding: 56px 0 64px; border-bottom: 1px solid var(--line); background-color: var(--beige); background-repeat: no-repeat; background-size: cover; background-position: right center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(239,232,220,.62) 0%, rgba(239,232,220,.34) 34%, rgba(239,232,220,.12) 52%, rgba(239,232,220,0) 72%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumb,
.page-hero .en,
.page-hero h1,
.page-hero .lead { max-width: 720px; }
.page-hero--inheritance { background-image: url("assets/hero-sub-inheritance.jpg"); }
.page-hero--guardianship { background-image: url("assets/hero-sub-guardianship.jpg"); }
.page-hero--office { background-image: url("assets/hero-sub-office.jpg"); }
.page-hero--cases { background-image: url("assets/hero-sub-cases.jpg"); }
.page-hero--column { background-image: url("assets/hero-sub-column.jpg"); }
.page-hero .en { margin-bottom: 14px; color: var(--muted); }
.page-hero .en::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.page-hero h1 { font: 600 44px/1.5 var(--mincho); letter-spacing: .06em; color: var(--navy); margin-bottom: 20px; }
.page-hero .lead { max-width: 720px; font-size: 18px; line-height: 2; color: var(--ink); }
.crumb { margin-bottom: 32px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--muted); }
.crumb li + li::before { content: "／"; margin: 0 8px; color: var(--beige-2); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--navy); text-decoration: underline; }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; padding: 80px 0 120px; align-items: start; }
.page-body.single { grid-template-columns: minmax(0, 1fr); }
.prose { font-size: 18px; line-height: 2; min-width: 0; }
.prose p { margin-bottom: 1.2em; color: var(--ink); }
.prose a { color: var(--sage); }
.ps { margin-bottom: 72px; scroll-margin-top: 112px; }
.ps h2 { font: 600 28px/1.5 var(--mincho); letter-spacing: .05em; color: var(--navy); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); position: relative; }
.ps h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; background: var(--sage); }
.prose h3 { font: 600 21px/1.6 var(--mincho); color: var(--navy); margin: 32px 0 12px; }
.prose blockquote { margin-bottom: 28px; }

.list { margin: 0 0 1.4em; }
.list.plain { list-style: disc; padding-left: 1.4em; }
.list.plain li { display: list-item; padding: 6px 0; border-bottom: none; font-size: 18px; line-height: 1.8; }
.list.plain li::marker { color: var(--sage); }
.list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 18px; line-height: 1.8; }
.list .ic { margin-top: 5px; color: #fff; background: var(--sage); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

.callout { margin: 28px 0; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.callout.warn { border-left-color: #b4562f; background: #fdf7f3; }
.callout-t { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); margin-bottom: 8px !important; }
.callout.warn .callout-t { color: #8f3f1f; }
.callout p:last-child { margin-bottom: 0; font-size: 18px; }
.callout .list { margin: 0; }

.tl { counter-reset: t; margin: 24px 0; }
.tl li { position: relative; display: flex; gap: 20px; padding: 0 0 28px; }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--sage-l); }
.tl-n { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: #fff; font: 500 20px var(--mincho); }
.tl strong { display: block; font: 600 19px/1.6 var(--mincho); color: var(--navy); margin-bottom: 4px; }
.tl p { margin: 0 !important; font-size: 18px; color: var(--muted) !important; line-height: 1.9; }

.tbl-wrap { overflow-x: auto; margin: 24px 0; }
.tbl { width: 100%; min-width: 520px; background: #fff; border: 1px solid var(--line); font-size: 18px; }
.tbl th { padding: 14px 18px; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; text-align: left; letter-spacing: .06em; }
.tbl td { padding: 16px 18px; border-top: 1px solid var(--line); line-height: 1.7; vertical-align: top; }
.tbl td:first-child { background: var(--ivory); font-weight: 700; color: var(--navy); }

.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mini { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 20px 24px; background: #fff; border: 1px solid var(--line); text-decoration: none !important; color: var(--navy) !important; }
.mini:hover { border-color: var(--navy); }
.mini strong { font: 600 18px/1.45 var(--mincho); }
.mini span { grid-column: 1; font-size: 15px; color: var(--muted); line-height: 1.65; min-width: 0; }
.mini .ic { grid-column: 2; grid-row: 1 / 3; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.two-i { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--sage); min-width: 0; }
.two-i h4 { margin: 0 0 8px; font: 600 18px/1.45 var(--mincho); color: var(--navy); }
.two-i p { margin: 0 !important; font-size: 16px; color: var(--muted) !important; line-height: 1.85; }

.side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 20px; }
.side-box { padding: 24px; background: #fff; border: 1px solid var(--line); }
.side-t { font: 600 16px var(--mincho); color: var(--navy); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.toc { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a, .side-links a { display: block; padding: 8px 0 8px 26px; position: relative; font-size: 16px; line-height: 1.6; color: var(--ink); text-decoration: none; }
.toc a::before { content: counter(toc); position: absolute; left: 0; font: 500 16px var(--mincho); color: var(--sage); }
.side-links a { padding-left: 0; }
.side-links a::after { content: "→"; margin-left: 8px; color: var(--sage); }
.toc a:hover, .side-links a:hover { color: var(--sage); }
.side-cta { padding: 28px 24px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.side-cta small { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--sage-l); }
.side-cta strong { font: 700 28px/1.35 var(--mincho); line-break: strict; word-break: keep-all; white-space: normal; }
.side-cta span { font-size: 14px; color: #d5dae3; margin-bottom: 8px; }
.side-tel { display: flex; align-items: center; gap: 8px; font: 500 30px var(--mincho); color: #fff; text-decoration: none; }
.side-tel:hover { color: var(--sage-l); }
.side-cta .btn { width: 100%; }

.grid-2c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 20px; }
.prof { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.prof .lawyer-portrait { width: 100%; }
.prof .ph { min-height: 400px; }
.prof-n { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px !important; }
.prof-n small { font-size: 15px; color: var(--muted); }
.prof-n strong { font: 600 32px/1.4 var(--mincho); letter-spacing: .14em; color: var(--navy); }
.prof-n .en { font-size: 18px; letter-spacing: 0; }
.prof-n .en::before { display: none; }
.col-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.col-i { display: flex; gap: 20px; padding: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; }
.col-i:hover { border-color: var(--navy); }
.col-thumb { display: block; width: 140px; height: 100px; flex-shrink: 0; overflow: hidden; background: var(--beige-2); border: 1px solid var(--line); }
.col-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.col-i div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; flex: 1; }
.col-i strong { font: 600 17px/1.45 var(--mincho); color: var(--navy); }
.col-i small { font-size: 14px; color: var(--muted); }
.info.wide { grid-template-columns: 180px 1fr; }
.info.wide dd { line-height: 1.8; }
.info.wide dt:last-of-type, .info.wide dd:last-of-type { border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; background: #fff; border: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.chip .ic { color: var(--sage); }
.prose .map-embed { margin: 24px 0; }
.prose .office-photo { margin: 24px 0 0; }

.tel-big { display: flex; flex-direction: column; gap: 6px; padding: 32px; background: var(--navy); align-items: center; }
.tel-big a { display: flex; align-items: center; gap: 12px; font: 500 48px/1.2 var(--mincho); color: #fff; text-decoration: none; }
.tel-big span { font-size: 16px; color: #d5dae3; }
.prose .tel-big a { color: #fff; }
.form-intro { margin-bottom: 24px; font-size: 18px; line-height: 2; color: var(--muted); }
.form-notice { margin-bottom: 20px; padding: 16px 20px; border: 1px solid var(--line); font-size: 17px; line-height: 1.8; }
.form-notice.success { background: var(--sage-bg); border-color: var(--sage-l); color: var(--sage); }
.form-notice.error { background: #fdf3ef; border-color: #e8c4b4; color: #8a3f24; }
.form { display: flex; flex-direction: column; gap: 24px; padding: 40px; background: #fff; border: 1px solid var(--line); }
.form-table-wrap { padding: 0; gap: 0; overflow: hidden; }
.form-table { width: 100%; border-collapse: collapse; }
.form-table th, .form-table td { border: 1px solid var(--line); vertical-align: middle; }
.form-table th { width: 28%; min-width: 180px; padding: 18px 20px; background: #f3f0ea; font-weight: 700; font-size: 18px; color: var(--navy); text-align: left; }
.form-table th label { font: inherit; color: inherit; }
.form-table td { padding: 14px 18px; background: #fff; }
.form-table input[type=text], .form-table input[type=tel], .form-table input[type=email], .form-table textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 17px var(--body-font); color: var(--ink); background: var(--ivory); border: 1px solid var(--line); border-radius: 2px; }
.form-table textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
.form-table input:focus, .form-table textarea:focus { outline: 3px solid var(--sage-l); border-color: var(--sage); }
.zip-row { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.zip-mark { font-size: 16px; color: var(--navy); font-weight: 700; flex-shrink: 0; }
.form-table .zip-row input[type=text] { width: 88px; max-width: 88px; min-width: 88px; flex: 0 0 88px; text-align: center; }
.form-table .zip-row input#zip2 { width: 112px; max-width: 112px; min-width: 112px; flex: 0 0 112px; }
.zip-sep { color: var(--muted); flex-shrink: 0; }
.form-consent { padding: 24px; background: #fff; border-top: 1px solid var(--line); }
.form-consent-label { display: flex; align-items: flex-start; gap: 14px; max-width: 640px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: var(--ink); cursor: pointer; }
.form-consent-label input[type=checkbox] { width: 24px; height: 24px; margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); cursor: pointer; }
.form-consent-label a { color: var(--navy); }
.form-actions { display: flex; justify-content: center; padding: 32px 24px 40px; background: #fff; border-top: 1px solid var(--line); }
.form-actions .btn { min-width: 320px; }
.f-row { display: flex; flex-direction: column; gap: 8px; }
.f-row label { font-weight: 700; font-size: 17px; color: var(--navy); }
.req { display: inline-block; margin-left: 8px; padding: 0 8px; font-size: 13px; font-weight: 700; line-height: 20px; color: #fff; background: #b4562f; letter-spacing: .06em; vertical-align: middle; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: 16px var(--body-font); color: var(--ink); background: var(--ivory); border: 1px solid var(--line); border-radius: 2px; }
.form textarea { resize: vertical; line-height: 1.8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--sage-l); border-color: var(--sage); }
.f-check { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.f-check input { width: 22px; height: 22px; accent-color: var(--sage); }
.form .btn { align-self: center; min-width: 360px; }

@media (max-width: 1024px) {
  .page-body { grid-template-columns: 1fr; gap: 56px; padding: 56px 0 88px; }
  .side { position: static; }
  .col-list, .grid-2c { grid-template-columns: 1fr; }
  .prof { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 36px 0 44px; }
  .page-hero h1 { font-size: 30px; }
  .ps h2 { font-size: 23px; }
  .mini-grid, .two { grid-template-columns: 1fr; }
  .brand-logo { height: 40px; max-width: 180px; }
  .form { padding: 24px 18px; }
  .form-table-wrap { padding: 0; }
  .form-table, .form-table tbody, .form-table tr, .form-table th, .form-table td { display: block; width: 100%; }
  .form-table th { border-bottom: 0; padding-bottom: 8px; }
  .form-table td { border-top: 0; padding-top: 0; padding-bottom: 18px; }
  .form-consent { padding: 20px 18px; }
  .form-consent-label { max-width: none; }
  .form-actions { padding: 24px 18px 28px; }
  .form-actions .btn, .form .btn { min-width: 0; width: 100%; }
  .tel-big a { font-size: 34px; }
  .info.wide { grid-template-columns: 96px 1fr; }
  .col-i { flex-direction: column; }
  .col-i .col-thumb { width: 100%; height: auto; aspect-ratio: 7 / 5; }
}
