/* 川添国際法務事務所 NPO・一般社団サイト：深緑×金茶×生成り。見出し Noto Serif JP 600、英字は Cormorant Garamond の斜体（GOAL 案の基準）。本文は端末の書体 */
:root {
  --main: #23463b; --main-d: #17322a; --main-l: #eef3ef; --gold: #b0852b; --gold-l: #d9b968;
  --ink: #1e2421; --ink2: #3d4541; --mute: #6b726e; --paper: #f6f3ec; --line: #e2ddd2; --line2: #cfc8b9;
  --serif: "Noto Serif JP", serif; --en: "Cormorant Garamond", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: .03em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, li, dd { text-align: justify; text-justify: inter-character; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; letter-spacing: .05em; margin: 0; color: var(--ink); font-feature-settings: "palt"; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sec { padding: 104px 0; }
.sec.paper { background: var(--paper); }
.sec.ink { background: var(--main-d); color: #fff; }
.sec.ink h2, .sec.ink h3 { color: #fff; }
.nw { white-space: nowrap; }
.num { font-family: var(--en); font-weight: 600; font-variant-numeric: lining-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 680px) { br.br-pc { display: none; } }

/* 見出し：細い罫＋斜体の英字＋明朝 */
.sh { margin: 0 0 52px; max-width: 880px; }
.sh-en { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 24px; color: var(--gold); letter-spacing: .02em; line-height: 1.2; }
.ink .sh-en { color: var(--gold-l); }
.sh h2 { font-size: clamp(25px, 3vw, 34px); margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--line2); }
.ink .sh h2 { border-top-color: rgba(255, 255, 255, .25); }
.sh p { margin: 18px 0 0; color: var(--mute); font-size: 15px; line-height: 2; }
.ink .sh p { color: #c6d1cb; }
.more { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ln { color: var(--main); font-weight: 700; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.ln::after { content: " →"; font-family: var(--en); }
.ln:hover { color: var(--gold); }

/* ボタン */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; border-radius: 2px; padding: 12px 22px; min-height: 72px; line-height: 1.4; font-weight: 700; letter-spacing: .06em; transition: background .2s, color .2s; }
.btn small { font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.btn-main { background: var(--main); color: #fff; }
.btn-main b { font-family: var(--serif); font-size: 21px; letter-spacing: .1em; }
.btn-main:hover { background: var(--main-d); }
.btn-sub { background: #fff; color: var(--ink); border: 1px solid var(--ink); font-family: var(--serif); font-size: 19px; letter-spacing: .1em; }
.btn-sub small { font-family: var(--sans); margin-top: 2px; }
.btn-line small { color: #06a648; }
.btn-sub:hover { background: var(--ink); color: #fff; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 28px; height: 76px; max-width: 1320px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1.35; }
.logo small { font-size: 11px; color: var(--mute); letter-spacing: .06em; }
.logo strong { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .06em; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; letter-spacing: .04em; padding: 6px 0; }
.nav a:hover { color: var(--main); box-shadow: inset 0 -1px var(--gold); }
.hd-cta { display: flex; flex-direction: column; text-decoration: none; background: var(--main); color: #fff; padding: 8px 18px; border-radius: 2px; line-height: 1.35; flex: none; }
.hd-cta small { font-size: 11px; color: #cfe0d6; }
.hd-cta b { font-family: var(--serif); font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.menu-btn { display: none; }

/* ヒーロー：生成りの地、四角い写真の枠と名刺の札、下に数字の帯 */
.hero { background: var(--paper); padding: 70px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: #fff; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; padding-bottom: 60px; }
.kicker { margin: 0 0 22px; display: flex; flex-direction: column; line-height: 1.6; text-align: left; }
.k-en { font-family: var(--en); font-style: italic; font-weight: 500; font-size: 19px; color: var(--gold); }
.k-ja { font-family: var(--serif); font-weight: 600; font-size: 14px; letter-spacing: .14em; color: var(--ink2); }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.38; letter-spacing: .1em; }
.hero h1 em { font-style: normal; color: var(--main); box-shadow: inset 0 -.16em rgba(217, 185, 104, .55); }
.lead { margin: 26px 0 32px; color: var(--ink2); max-width: 34em; line-height: 2.05; font-size: 15.5px; }
.cta { display: flex; gap: 14px; }
.cta .btn { flex: 1 1 0; min-width: 0; }
.hero-ph { margin: 0; position: relative; justify-self: end; width: min(100%, 420px); }
.frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px var(--line2); }
.frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.card { position: absolute; left: -48px; bottom: 36px; background: #fff; border-top: 3px solid var(--gold); padding: 16px 24px 14px; box-shadow: 0 10px 30px rgba(23, 50, 42, .14); line-height: 1.5; min-width: 220px; }
.card-en { display: block; font-family: var(--en); font-style: italic; color: var(--gold); font-size: 15px; }
.card b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: .26em; }
.card span:not(.card-en) { font-size: 12.5px; color: var(--ink2); }
.card small { display: block; font-size: 11px; color: var(--mute); letter-spacing: .08em; margin-top: 2px; }
.band-nums { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--main); color: #fff; }
.band-nums li { padding: 24px 22px 22px; display: flex; align-items: baseline; gap: 6px; text-align: left; }
.band-nums li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.band-nums b { font-family: var(--en); font-weight: 600; font-size: 54px; line-height: .9; color: var(--gold-l); font-variant-numeric: lining-nums; }
.band-nums span { font-family: var(--serif); font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.band-nums small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: #c6d1cb; line-height: 1.55; letter-spacing: .02em; }

/* こんなときに */
.worry { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.worry li { display: flex; flex-direction: column; padding: 22px 22px 20px; border-bottom: 1px solid var(--line2); }
.worry li:not(:nth-child(4n + 1)) { border-left: 1px solid var(--line); }
.w-n { font-family: var(--en); font-style: italic; font-size: 22px; color: var(--gold); line-height: 1; }
.worry b { font-family: var(--serif); font-weight: 600; font-size: 16.5px; line-height: 1.6; margin: 10px 0 14px; }
.worry a { margin-top: auto; font-size: 13px; color: var(--main); text-decoration: none; font-weight: 700; }
.worry a::after { content: " →"; font-family: var(--en); }
.worry a:hover { color: var(--gold); }
.caution { background: var(--paper); padding: 30px 36px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 10px 36px; }
.caution-t { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.6; text-align: left; grid-row: span 2; }
.caution ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 26px; }
.caution li { font-size: 13.5px; color: var(--mute); line-height: 1.75; }
.caution li b { display: block; font-family: var(--serif); color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.caution-f { margin: 6px 0 0; font-size: 13.5px; color: var(--ink2); border-top: 1px solid var(--line2); padding-top: 14px; }

/* 法人の形をくらべる */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; font-size: 14.5px; line-height: 1.75; table-layout: fixed; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp thead th { font-family: var(--serif); font-weight: 600; font-size: 19px; border-bottom: 2px solid var(--ink); padding-top: 22px; }
.cmp thead th:first-child { width: 170px; }
.cmp-en { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 14px; color: var(--gold); line-height: 1.3; }
.cmp thead small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--mute); }
.cmp .c-npo { background: var(--main-l); }
.cmp tbody td:nth-child(2) { background: #f7faf8; }
.cmp tbody th { font-family: var(--serif); font-weight: 600; font-size: 14.5px; color: var(--ink2); background: var(--paper); }
.cmp td small { display: block; font-size: 12px; color: var(--mute); line-height: 1.6; margin-top: 2px; }
.cmp td .num { font-size: 30px; line-height: 1; color: var(--main); margin-right: 2px; }
.cmp-for td { font-weight: 700; color: var(--main); }
.cmp-note { margin: 16px 0 0; font-size: 13px; color: var(--mute); }

/* 設立の流れ */
.flow2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.fw { border: 1px solid var(--line2); padding: 30px 32px 26px; }
.fw-gs { background: var(--paper); border-color: var(--paper); }
.fw-t { margin: 0 0 18px; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.4; text-align: left; }
.fw-t .sh-en { font-size: 17px; }
.fw-t small { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--mute); margin-top: 4px; }
.fw ol { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.fw li { counter-increment: f; position: relative; padding: 0 0 18px 52px; font-size: 13.5px; color: var(--mute); line-height: 1.75; }
.fw li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--en); font-style: italic; font-weight: 600; font-size: 22px; color: var(--gold); }
.fw li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 6px; width: 1px; background: var(--line2); }
.fw li b { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); }

/* 報酬額 */
.fee { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
.fee-main { display: grid; gap: 16px; position: sticky; top: 100px; }
.fm-inc { border: 1px solid rgba(255, 255, 255, .22); padding: 20px 26px 14px; }
.fm-inc-t { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 15.5px; color: var(--gold-l); text-align: left; }
.fm-inc ul { margin: 0; padding-left: 1.2em; font-size: 13.5px; color: #dbe4df; line-height: 1.9; }
.fm { background: #fff; color: var(--ink); padding: 26px 30px 22px; border-top: 3px solid var(--gold); }
.fm-t { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; text-align: left; }
.fm-t small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--mute); margin-left: 8px; }
.fm-p { margin: 6px 0 4px; text-align: left; }
.fm-p b { font-family: var(--en); font-weight: 600; font-size: 56px; line-height: 1; color: var(--main); font-variant-numeric: lining-nums; }
.fm-p i { font-style: normal; font-family: var(--serif); font-weight: 600; margin-left: 4px; }
.fm-s { margin: 0; font-size: 12.5px; color: var(--mute); }
.fee-t { width: 100%; border-collapse: collapse; }
.fee-t th, .fee-t td { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); vertical-align: baseline; }
.fee-t th { text-align: left; font-family: var(--serif); font-weight: 600; font-size: 15px; padding-right: 16px; }
.fee-t th small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: #b9c7c0; }
.fee-t td { text-align: right; font-family: var(--en); font-weight: 600; font-size: 24px; white-space: nowrap; color: var(--gold-l); font-variant-numeric: lining-nums; }
.fee-t td i { font-style: normal; font-family: var(--serif); font-size: 13px; color: #fff; margin-left: 2px; }
.fee-note { margin: 24px 0 0; font-size: 13px; color: #c6d1cb; }

/* 設立のあと */
.after { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line2); }
.after li { padding: 28px 26px 26px; border-bottom: 1px solid var(--line2); }
.after li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.af-ic { display: block; width: 42px; height: 42px; color: var(--main); margin-bottom: 12px; }
.af-ic svg { width: 100%; height: 100%; }
.after b { font-family: var(--serif); font-weight: 600; font-size: 17.5px; }
.after p { margin: 6px 0 0; font-size: 14px; color: var(--mute); }

/* 5つの特徴 */
.merit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.merit li { background: #fff; padding: 28px 24px 24px; border-top: 2px solid var(--main); }
.merit .mr-1 { grid-column: 1 / -1; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0 24px; padding: 34px 36px 30px; }
.mr-n { font-family: var(--en); font-style: italic; font-weight: 600; font-size: 34px; color: var(--gold); line-height: 1; }
.mr-1 .mr-n { font-size: 60px; }
.merit h3 { font-size: 17.5px; margin: 12px 0 10px; line-height: 1.6; }
.mr-1 h3 { font-size: 23px; margin: 0 0 10px; }
.merit p { margin: 0; font-size: 14px; color: var(--ink2); }
.mr-1 p { font-size: 15px; }

/* 代表紹介 */
.pro { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.pro-ph { margin: 0; position: sticky; top: 110px; }
.pro-ph figcaption { margin-top: 16px; display: flex; align-items: baseline; gap: 14px; }
.pro-ph figcaption b { font-family: var(--serif); font-size: 21px; letter-spacing: .24em; }
.pro-ph figcaption span { font-size: 13px; color: var(--mute); }
.pro-q { margin: 0 0 22px; font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: .14em; color: var(--main); text-align: left; }
.pro-txt > p:not(.pro-q):not(.more) { font-size: 15.5px; color: var(--ink2); margin: 0 0 1.2em; }
.tl { list-style: none; margin: 28px 0 22px; padding: 0; border-top: 1px solid var(--line2); }
.tl li { display: grid; grid-template-columns: 76px minmax(0, 1fr); padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.tl b { font-family: var(--en); font-weight: 600; font-size: 19px; color: var(--gold); line-height: 1.4; }
.pro-more { border-bottom: 1px solid var(--line2); }
.pro-more summary { cursor: pointer; padding: 12px 0; font-family: var(--serif); font-weight: 600; list-style: none; }
.pro-more summary::-webkit-details-marker { display: none; }
.pro-more summary::after { content: "＋"; float: right; color: var(--gold); }
.pro-more[open] summary::after { content: "－"; }
.pro-more ul { margin: 0 0 14px; padding-left: 1.2em; font-size: 14px; color: var(--ink2); }

/* 解説を探す（最初の画面の下） */
.find { background: var(--main-d); color: #fff; padding: 26px 0 24px; }
.fd-in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "t f" "g g"; gap: 14px 32px; align-items: center; }
.fd-t { grid-area: t; margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.3; text-align: left; }
.fd-t span { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 16px; color: var(--gold-l); }
.fd-f { grid-area: f; display: flex; }
.fd-f input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 13px 16px; border: 0; border-radius: 2px 0 0 2px; color: var(--ink); }
.fd-f button { font: inherit; font-family: var(--serif); font-weight: 600; letter-spacing: .1em; border: 0; background: var(--gold); color: #fff; padding: 0 26px; border-radius: 0 2px 2px 0; cursor: pointer; }
.fd-f button:hover { background: #8f6b20; }
.fd-tags { grid-area: g; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fd-tags a { display: inline-block; text-decoration: none; font-size: 13.5px; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; }
.fd-tags a:hover { background: #fff; color: var(--ink); }

/* 解説 */
.gd-lb { margin: 0 0 14px; font-family: var(--serif); font-weight: 600; font-size: 16px; text-align: left; }
.gfeat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.gf { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-top: 3px solid var(--main); padding: 24px 26px 20px; transition: box-shadow .2s; }
.gf:hover { box-shadow: 0 8px 24px rgba(23, 50, 42, .1); }
.gf-m { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--mute); }
.gf-m em { font-style: normal; color: var(--main); font-weight: 700; }
.gf b { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.5; margin: 10px 0 8px; }
.gf-x { font-size: 13.5px; color: var(--ink2); line-height: 1.85; text-align: justify; }
.gf-go { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--main); }
.gf-go::after { content: " →"; font-family: var(--en); }
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.gd { background: #fff; padding: 24px 24px 18px; display: flex; flex-direction: column; }
.gd-t { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 18px; text-align: left; display: flex; align-items: baseline; gap: 10px; }
.gd-t small { margin-left: auto; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--mute); }
.gd-n { font-family: var(--en); font-style: italic; color: var(--gold); font-size: 22px; }
.gd ul { list-style: none; margin: 0 0 12px; padding: 0; }
.gd li { border-top: 1px solid var(--line); }
.gd li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; text-decoration: none; }
.gd li b { font-weight: 600; font-size: 14.5px; line-height: 1.55; }
.gd li i { grid-row: 1; grid-column: 2; font-style: normal; font-size: 11.5px; color: var(--gold); white-space: nowrap; padding-top: 3px; }
.gd li span { grid-column: 1 / -1; font-size: 12.5px; color: var(--mute); line-height: 1.7; text-align: left; }
.gd li a:hover b { color: var(--main); }
.gd-all { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--main); text-decoration: none; border-bottom: 1px solid var(--gold); }
.gd-all::after { content: " →"; font-family: var(--en); }
.af-go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--main); text-decoration: none; }
.af-go::after { content: " →"; font-family: var(--en); }
.af-go:hover { color: var(--gold); }

/* よくある質問 */
.faq { border-top: 1px solid var(--ink); max-width: 940px; }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 34px; position: relative; font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.65; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 13px; font-family: var(--en); font-style: italic; font-size: 24px; color: var(--gold); }
.faq summary::after { content: "＋"; position: absolute; right: 6px; top: 18px; color: var(--mute); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 0 0 20px; padding-left: 34px; font-size: 14.5px; color: var(--ink2); }

/* グループのサイト */
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.st { display: block; text-decoration: none; padding: 30px 32px; }
.st + .st { border-left: 1px solid rgba(255, 255, 255, .2); }
.st b { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 6px 0 8px; }
.st p { margin: 0 0 12px; font-size: 14px; color: #c6d1cb; }
.st em { font-style: normal; font-family: var(--en); font-size: 17px; color: var(--gold-l); }
.st:hover { background: rgba(255, 255, 255, .05); }
.sec#sites { padding: 64px 0; }

/* お問い合わせ */
.ct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.ct-b { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; background: #fff; border: 1px solid var(--line2); border-radius: 2px; padding: 24px 14px; line-height: 1.5; text-align: center; }
a.ct-b:hover { border-color: var(--ink); }
.ct-b small { font-size: 12.5px; letter-spacing: .08em; }
.ct-b b { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .06em; padding: 6px 0; }
.ct-b span { font-size: 12.5px; opacity: .85; }
.ct-main { background: var(--main); border-color: var(--main); color: #fff; }
a.ct-main:hover { background: var(--main-d); }
.ct-line b { color: #06a648; }
.ct-tel { background: transparent; }
.ct-tel b.num { font-family: var(--en); font-size: 30px; font-weight: 600; letter-spacing: .04em; }
.office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.office dl { margin: 0; background: #fff; padding: 10px 26px; }
.office dl > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.office dl > div:last-child { border-bottom: 0; }
.office dt { font-family: var(--serif); font-weight: 600; }
.office dd { margin: 0; text-align: left; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* 足元 */
.ft { background: var(--ink); color: #c9cfcb; padding: 52px 0 40px; font-size: 13px; }
.ft-name { margin: 0 0 18px; font-size: 12.5px; text-align: left; }
.ft-name b { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; color: #fff; letter-spacing: .08em; margin-top: 4px; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-nav a { text-decoration: none; }
.ft-nav a:hover { color: #fff; }
.ft-c { margin: 0; font-family: var(--en); font-style: italic; font-size: 14px; text-align: left; }
.dock { display: none; }

@media (max-width: 1360px) {
  .nav { display: none; }
  .hd-cta { margin-left: auto; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 58px; height: 52px; border: 1px solid var(--ink); background: #fff; border-radius: 2px; font: inherit; font-size: 10.5px; font-weight: 700; cursor: pointer; flex: none; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; }
  .menu-btn span::before { position: absolute; top: -6px; }
  .menu-btn span::after { position: absolute; top: 6px; }
  .menu-btn span { margin: 6px 0 5px; }
  body.menu-open .nav { display: flex; flex-direction: column; gap: 0; position: fixed; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 32px 20px; max-height: calc(100vh - 76px); overflow: auto; }
  body.menu-open .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
}
@media (max-width: 1080px) {
  .worry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worry li:not(:nth-child(4n + 1)) { border-left: 0; }
  .worry li:nth-child(even) { border-left: 1px solid var(--line); }
  .caution { grid-template-columns: 1fr; }
  .caution-t { grid-row: auto; }
  .merit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee { grid-template-columns: 1fr; }
  .fee-main { grid-template-columns: 1fr 1fr; position: static; }
  .fm-inc { grid-column: 1 / -1; }
  .pro { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-ph { justify-self: center; width: min(86%, 380px); }
  .card { left: -24px; }
  .band-nums { grid-template-columns: 1fr 1fr; }
  .band-nums li:nth-child(3) { border-left: 0; }
  .band-nums li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .flow2 { grid-template-columns: 1fr; }
  .after { grid-template-columns: 1fr 1fr; }
  .after li:not(:nth-child(3n + 1)) { border-left: 0; }
  .after li:nth-child(even) { border-left: 1px solid var(--line); }
  .guide, .gfeat { grid-template-columns: 1fr; }
  .fd-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "f" "g"; }
  .pro { grid-template-columns: 1fr; }
  .pro-ph { position: static; max-width: 360px; }
  .office { grid-template-columns: 1fr; }
  .hd-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -2px 10px rgba(0, 0, 0, .12); }
  .dock a { text-decoration: none; text-align: center; padding: 9px 6px calc(9px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: center; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: .06em; line-height: 1.35; }
  .dock a:first-child { background: var(--main); }
  .dock a:last-child { background: #06c755; }
  .dock small { font-family: var(--sans); font-size: 11px; font-weight: 500; }
  body { padding-bottom: 62px; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .hd .wrap { height: 64px; gap: 12px; }
  body.menu-open .nav { top: 64px; padding: 8px 18px 20px; }
  .logo svg { width: 34px; height: 34px; }
  .logo strong { font-size: 15.5px; }
  .logo small { font-size: 10px; }
  .sec { padding: 72px 0; }
  .sh { margin-bottom: 36px; }
  .sh-en { font-size: 20px; }
  .hero { padding-top: 40px; }
  .hero-in { padding-bottom: 44px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 15px; }
  .cta { flex-direction: column; }
  .card { left: -12px; bottom: 20px; min-width: 0; padding: 12px 18px; }
  .card b { font-size: 19px; }
  .band-nums li { padding: 18px 14px; flex-direction: column; gap: 4px; }
  .band-nums b { font-size: 44px; }
  .worry { grid-template-columns: 1fr; }
  .worry li:nth-child(even) { border-left: 0; }
  .caution { padding: 24px 20px; }
  .caution ul { grid-template-columns: 1fr; }
  .fw { padding: 24px 20px 18px; }
  .fee-main { grid-template-columns: 1fr; }
  .fm-p b { font-size: 48px; }
  .fee-t th { font-size: 14px; }
  .fee-t td { font-size: 20px; }
  .after { grid-template-columns: 1fr; }
  .after li:nth-child(even) { border-left: 0; }
  .merit { grid-template-columns: 1fr; }
  .merit .mr-1 { grid-template-columns: 1fr; padding: 28px 24px 24px; }
  .mr-1 .mr-n { font-size: 44px; margin-bottom: 10px; }
  .mr-1 h3 { font-size: 20px; }
  .pro-q { font-size: 21px; }
  .sites { grid-template-columns: 1fr; }
  .st + .st { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .st { padding: 24px 6px; }
  .ct { grid-template-columns: 1fr; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr { margin: 0 0 14px; background: #fff; border-top: 2px solid var(--main); }
  .cmp tbody th { padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .cmp tbody td { display: grid; grid-template-columns: 8.6em minmax(0, 1fr); gap: 10px; padding: 10px 16px; background: #fff !important; }
  .cmp tbody td::before { content: attr(data-l); font-family: var(--serif); font-weight: 600; font-size: 13px; color: var(--main); line-height: 1.6; }
  .cmp tbody td:nth-child(2)::before { color: var(--gold); }
  .cmp td .num { font-size: 24px; }
  .office dl { padding: 6px 18px; }
  .office dl > div { grid-template-columns: 72px minmax(0, 1fr); }
}
/* 320px の幅でヘッダーがはみ出さないように（ロゴの文字を小さく・メニューのボタンを細く） */
@media (max-width: 360px) {
  .hd .wrap { gap: 8px; padding: 0 12px; }
  .logo { gap: 8px; min-width: 0; }
  .logo svg { width: 30px; height: 30px; }
  .logo strong { font-size: 13.5px; letter-spacing: .02em; }
  .logo small { font-size: 9px; letter-spacing: 0; }
  .menu-btn { width: 50px; }
}
/* 2026-11-04 整列の点検で直したもの */
.ink .ln { color: var(--gold-l); border-bottom-color: rgba(217, 185, 104, .5); }
.ink .ln:hover { color: #fff; }
@media (max-width: 1080px) and (min-width: 901px) {
  .cta { flex-direction: column; max-width: 400px; }
}
.gd-t small { white-space: nowrap; }

/* 仕上げ 2026-11-04 */
:root { --acc: var(--main); --acc-d: var(--main-d); --on-dark: var(--gold-l); --pp: var(--paper); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, .btn b, .ct-b b { font-feature-settings: "palt"; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* 欄の見出しに、斜体の番号と細い罫 */
body { counter-reset: sec; }
.sec > .wrap > .sh .sh-en { display: flex; align-items: center; gap: 0; }
.sec > .wrap > .sh .sh-en::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-style: italic; margin-right: 14px; padding-right: 14px; border-right: 1px solid currentColor; line-height: 1; opacity: .85; }

/* ヘッダー：スクロールしたら薄い影 */
.hd { transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 6px 24px rgba(20, 24, 22, .07); }

/* 押せる箱・ボタン：触れたときに少し浮く */
.btn, .ct-b, .gf, .pl, .st, a.pt-b, .sc, .em-mail, .hd-cta, .hd-tel { transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s; }
@media (hover: hover) {
  .btn:hover, .ct-b:hover, .gf:hover, .pl:hover, .sc:hover, a.pt-b:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 24, 22, .10); }
}

/* ページの先頭へ */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line2); color: var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.totop::before { content: ""; width: 9px; height: 9px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateY(2px) rotate(45deg); }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { border-color: var(--acc); color: var(--acc); }
@media (max-width: 900px) { .totop { bottom: 78px; right: 14px; width: 42px; height: 42px; } }

/* 足元：事務所の情報・理念・相談の入口 */
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-brand .ft-name { margin-bottom: 14px; }
.ft-msg { margin: 0 0 20px; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .14em; color: var(--on-dark); text-align: left; }
.ft-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-cta a { text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 14px; letter-spacing: .08em; padding: 10px 20px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; color: #fff; }
.ft-cta a:first-child { background: #fff; color: var(--ink); border-color: #fff; }
.ft-cta a:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.ft-info { margin: 0; font-size: 13px; }
.ft-info > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ft-info > div:last-child { border-bottom: 0; }
.ft-info dt { color: var(--on-dark); font-family: var(--serif); font-weight: 600; }
.ft-info dd { margin: 0; color: #e6e8e7; text-align: left; line-height: 1.75; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ft-bottom .ft-c { margin: 0; }
.ft-sites { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; text-align: left; }
.ft-sites span { color: rgba(255, 255, 255, .5); }
.ft-sites a { text-decoration: none; }
.ft-sites a:hover { color: #fff; }
@media (max-width: 900px) { .ft-top { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .ft-info > div { grid-template-columns: 5.6em minmax(0, 1fr); } .ft-cta a { flex: 1 1 0; text-align: center; padding: 10px 8px; } }

/* 最初の画面の信頼の一行 */
.trust { list-style: none; margin: 24px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line2); display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 12.5px; color: var(--ink2); letter-spacing: .04em; }
.trust li { text-align: left; }
.trust li + li::before { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--line2); margin: 0 14px; vertical-align: -1px; }
@media (max-width: 680px) { .trust { flex-direction: column; } .trust li + li::before { display: none; } }
/* 写真の枠：金茶の細い額縁を後ろに */
.hero-ph .frame { overflow: visible; }
.hero-ph .frame img { position: relative; z-index: 1; }
.hero-ph .frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; }
.hero-ph .frame::after { z-index: 2; }
@media (max-width: 680px) { .hero-ph .frame::before { inset: 12px -10px -10px 12px; } }
.ft-bottom { border-top: 0; margin-top: 0; padding-top: 0; }
.ft-info dd span { display: inline; padding: 0; margin: 0; border: 0; font-size: inherit; color: inherit; }
.hero-ph .card { z-index: 3; }

/* ボタンの主な文字は折らない（WebKit で LINE ボタンが「LIN／E」と折れた 2026-11-04） */
.btn b { white-space: nowrap; }
.cmp tbody th { white-space: nowrap; }

/* 2026-11-10 川添先生のご指摘 */
.hero-note { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--mute); text-align: left; }
.ft-note { margin: 18px 0 0; font-size: 12px; line-height: 1.7; color: #b9c0bd; }
.fee-t tr.fee-g th { padding-top: 26px; font-size: 13px; letter-spacing: .12em; color: var(--gold-l); border-bottom: 1px solid rgba(255, 255, 255, .32); }
.fee-t tr.fee-g:first-child th { padding-top: 0; }
.fee-t tr.fee-g th small { display: inline; margin-left: 10px; letter-spacing: 0; }
.fee-t td i.pre { margin: 0 4px 0 0; }
.fee-t td i.ask { font-size: 16px; }
.ct { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.ct-telx { margin: 0 0 40px; font-size: 13px; color: var(--mute); text-align: center; }
.ct-telx a { color: inherit; text-decoration: none; }
@media (max-width: 680px) { .ct { grid-template-columns: 1fr; } }
/* 先生のロゴ（2026-11-10）。文字が黒いので、暗い足元では白い台に載せる */
.ft-logo { margin: 0 0 16px; display: inline-block; background: #fff; padding: 12px 16px; border-radius: 2px; }
.ft-logo img { display: block; width: 260px; height: auto; }
.office-l { display: flex; flex-direction: column; gap: 0; background: #fff; }
.of-logo { margin: 0; padding: 22px 26px 6px; }
.of-logo img { display: block; width: min(100%, 300px); height: auto; }
.office-l dl { background: transparent; }
@media (max-width: 680px) { .ft-logo img { width: 220px; } .of-logo { padding: 18px 18px 4px; } }
