/* ============================================================
   トラストコンサルティング行政書士事務所 - 新デザイン（v2）
   名刺・チラシと揃えたブランド：クリーム地 × 紺 × 金の罫線 × 明朝体
   ============================================================ */
:root {
  --cream: #f7f4ec;
  --cream-2: #efe9db;
  --paper: #ffffff;
  --navy: #1a2d5a;
  --navy-2: #24407a;
  --navy-deep: #12203f;
  --gold: #b8964a;
  --gold-soft: #d9c188;
  --ink: #2a2f3b;
  --muted: #6b7280;
  --line: #e3dcc9;
  --line-green: #06c755;
  --radius: 10px;
  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.85; font-size: 16px; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.serif { font-family: var(--serif); }
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,45,90,.18); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-gold { background: var(--gold); color: #fff; }

/* ---------- ヘッダー ---------- */
#header { position: sticky; top: 0; z-index: 100; background: rgba(247,244,236,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand .jp { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--navy); white-space: nowrap; line-height: 1.25; }
.brand .sub { font-size: .68rem; color: var(--muted); white-space: nowrap; letter-spacing: .05em; }
#nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
#nav a { font-size: .86rem; font-weight: 500; color: var(--ink); white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
#nav a:hover { border-bottom-color: var(--gold); color: var(--navy); }
.header-tel { text-align: right; flex-shrink: 0; white-space: nowrap; line-height: 1.25; }
.header-tel .lbl { font-size: .66rem; color: var(--muted); display: block; }
.header-tel a { font-family: var(--serif); font-size: 1.28rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.hamburger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .2s; }
#mobile-menu { display: none; background: var(--cream); border-bottom: 1px solid var(--line); }
#mobile-menu.open { display: block; }
#mobile-menu a { display: block; padding: 14px 20px; border-top: 1px solid var(--line); font-weight: 500; }
#mobile-menu .mm-cta { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
#mobile-menu .mm-cta .btn { flex: 1; padding: 12px 8px; font-size: .92rem; border-top: none; }
@media (max-width: 1160px) { #nav { display: none; } .hamburger { display: flex; } .header-tel { display: none; } }

/* ---------- ヒーロー ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--gold-soft); opacity: .55; }
.hero::before { content: ""; position: absolute; right: -90px; top: -90px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid var(--gold-soft); opacity: .4; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr); gap: 44px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .12em; color: var(--gold); font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--gold); margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-size: clamp(1.6rem, 3.3vw, 2.5rem); line-height: 1.5; color: var(--navy); font-weight: 700; letter-spacing: .02em; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { margin-top: 22px; font-size: 1.04rem; color: var(--ink); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.contracts-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: 0 10px 30px rgba(26,45,90,.08); position: relative; }
.contracts-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--gold-soft); border-radius: 6px; pointer-events: none; }
.contracts-card h2 { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); margin-bottom: 14px; text-align: center; }
.contracts-card li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.contracts-card li:first-of-type { border-top: none; }
.contracts-card .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); display: grid; place-items: center; flex-shrink: 0; }
.contracts-card .t { font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.4; }
.contracts-card .t small { font-weight: 400; color: var(--muted); font-size: .72rem; margin-left: 6px; }
.contracts-card .d { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.contracts-card .stage { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 4px; }

/* ---------- 信頼の帯 ---------- */
.trust { background: var(--navy); color: #fff; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 18px 16px; text-align: center; border-left: 1px solid rgba(255,255,255,.14); font-size: .86rem; line-height: 1.5; }
.trust li:first-child { border-left: none; }
.trust li b { display: block; color: var(--gold-soft); font-family: var(--serif); font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 860px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li:nth-child(3) { border-left: none; } .trust li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); } }

/* ---------- セクション共通 ---------- */
section { padding: 84px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .en { font-size: .74rem; letter-spacing: .3em; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.05rem); color: var(--navy); line-height: 1.5; margin-top: 8px; }
.sec-head h2::after { content: ""; display: block; width: 64px; height: 5px; margin: 16px auto 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: .98rem; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy-deep); color: #fff; }
.bg-navy .sec-head h2 { color: #fff; }
.bg-navy .sec-head p { color: rgba(255,255,255,.75); }

/* ---------- お悩み ---------- */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.worry { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; padding: 18px 20px; font-size: .95rem; }
.worry .n { display: block; font-size: .68rem; letter-spacing: .2em; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.answer { margin-top: 34px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 30px; text-align: center; }
.answer h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.answer p { font-size: .94rem; color: rgba(255,255,255,.85); }

/* ---------- 4つの契約（時間軸） ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 1px; background: var(--gold); }
.tl-item { text-align: center; padding: 0 14px; position: relative; }
.tl-item .dot { width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); display: grid; place-items: center; margin: 0 auto 16px; border: 4px solid var(--cream); box-shadow: 0 0 0 1px var(--gold); position: relative; z-index: 1; }
.tl-item .dot .icon { width: 28px; height: 28px; }
.tl-item h3 { font-family: var(--serif); color: var(--navy); font-size: 1.08rem; }
.tl-item h3 small { display: block; font-family: var(--sans); font-size: .7rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.tl-item p { font-size: .88rem; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.tl-axis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 22px; padding: 0 4%; }
.tl-note { text-align: center; margin-top: 26px; font-size: .92rem; color: var(--ink); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 34px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; }
  .tl-item { display: grid; grid-template-columns: 68px 1fr; gap: 16px; text-align: left; padding: 0; align-items: center; }
  .tl-item .dot { margin: 0; }
  .tl-axis { display: none; }
}

/* ---------- サービス ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; display: flex; flex-direction: column; position: relative; }
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); border-radius: var(--radius) var(--radius) 0 0; }
.svc .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--cream-2); color: var(--navy); display: grid; place-items: center; margin-bottom: 14px; }
.svc .ic .icon { width: 26px; height: 26px; }
.svc h3 { font-family: var(--serif); font-size: 1.28rem; color: var(--navy); }
.svc p { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.svc ul { margin: 14px 0 16px; font-size: .9rem; }
.svc li { padding: 6px 0 6px 22px; position: relative; border-top: 1px dashed var(--line); }
.svc li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 5px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }
.svc .price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.svc .price b { color: var(--navy); font-family: var(--serif); font-size: .95rem; }
.svc .more { margin-top: 14px; color: var(--navy); font-weight: 700; font-size: .92rem; }
.svc .more::after { content: " →"; }
.svc:hover { box-shadow: 0 10px 28px rgba(26,45,90,.1); }

/* ---------- 選ばれる理由 ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.reason { display: flex; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.reason .no { font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; flex-shrink: 0; width: 46px; }
.reason h3 { font-family: var(--serif); color: var(--navy); font-size: 1.08rem; margin-bottom: 6px; }
.reason p { font-size: .9rem; color: var(--muted); }

/* ---------- 流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px 18px; text-align: center; position: relative; }
.flow li::before { counter-increment: s; content: "STEP " counter(s); display: block; font-size: .68rem; letter-spacing: .2em; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.flow h3 { font-family: var(--serif); font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.flow p { font-size: .82rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } .flow li { text-align: left; } }

/* ---------- プロフィール ---------- */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.prof-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; position: relative; }
.prof-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--gold-soft); border-radius: 6px; pointer-events: none; }
.prof-card img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold); }
.prof-card .role { margin-top: 20px; font-size: .84rem; color: var(--muted); letter-spacing: .1em; }
.prof-card .name { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); font-weight: 700; letter-spacing: .1em; }
.prof-card .reg { margin-top: 6px; font-size: .78rem; color: var(--muted); line-height: 1.6; }
.prof-card ul { margin-top: 16px; text-align: left; font-size: .85rem; border-top: 1px solid var(--line); padding-top: 12px; }
.prof-card li { padding: 3px 0 3px 16px; position: relative; }
.prof-card li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .6rem; top: 8px; }
.prof-body h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); line-height: 1.6; margin-bottom: 14px; }
.prof-body p { color: var(--ink); margin-bottom: 14px; font-size: .96rem; }
.prof-body .msg { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; font-family: var(--serif); color: var(--navy); margin-top: 20px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }

/* ---------- 料金 ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th { background: var(--navy); color: #fff; font-weight: 500; font-size: .88rem; padding: 12px 16px; text-align: left; }
.price-table td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.price-table td.amt { font-family: var(--serif); font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-table .free { display: inline-block; background: var(--gold); color: #fff; font-size: .78rem; padding: 2px 12px; border-radius: 999px; font-family: var(--sans); }
.price-table small { color: var(--muted); }
.price-note { margin-top: 16px; font-size: .84rem; color: var(--muted); line-height: 1.9; }
@media (max-width: 640px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 12px 16px; border-top: 1px solid var(--line); }
  .price-table tr:first-child { border-top: none; }
  .price-table td { border: none; padding: 2px 0; }
  .price-table td:first-child { font-weight: 700; color: var(--navy); }
}

/* ---------- 記事 ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.article .meta { font-size: .76rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.article .cat { background: var(--cream-2); color: var(--navy); padding: 1px 10px; border-radius: 999px; font-weight: 700; }
.article h3 { font-family: var(--serif); font-size: 1.02rem; color: var(--navy); margin: 10px 0 8px; line-height: 1.6; }
.article p { font-size: .86rem; color: var(--muted); flex: 1; }
.article .go { margin-top: 12px; font-weight: 700; color: var(--navy); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--serif); color: var(--gold); margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 22px 18px 44px; color: var(--ink); font-size: .93rem; }

/* ---------- アクセス・お問い合わせ ---------- */
.access { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
.access iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); background: var(--cream-2); }
.access-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.access-box h3 { font-family: var(--serif); color: var(--navy); font-size: 1.1rem; margin-bottom: 12px; }
.access-box dl { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px 10px; font-size: .92rem; }
.access-box dt { color: var(--muted); font-size: .84rem; padding-top: 2px; }
.access-box a { color: var(--navy); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 22px; align-items: stretch; }
.c-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 26px 22px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.c-box h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-soft); }
.c-box .small { font-size: .82rem; color: rgba(255,255,255,.75); line-height: 1.8; }
.c-box .big-tel { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.c-box.form { text-align: left; }
.c-box.form h3 { text-align: center; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: .82rem; color: rgba(255,255,255,.85); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.95); color: var(--ink); width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: .88rem; padding: 10px 12px; border-radius: 6px; display: none; }
.form-msg.ok { display: block; background: #e6f6ec; color: #145c2f; }
.form-msg.ng { display: block; background: #fdeaea; color: #8a1c1c; }

/* ---------- フッター ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 48px 0 24px; font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .fname { font-family: var(--serif); color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
footer h4 { color: var(--gold-soft); font-size: .84rem; letter-spacing: .1em; margin-bottom: 8px; }
footer li { padding: 3px 0; }
footer a:hover { color: var(--gold-soft); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.6); }

/* ---------- スマホ固定ボタン ---------- */
.float-cta { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 90; transition: opacity .4s, transform .4s; }
.float-cta a { box-shadow: 0 6px 18px rgba(0,0,0,.22); }
@media (max-width: 720px) {
  .float-cta { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; padding: 0; }
  .float-cta a { flex: 1; border-radius: 0; padding: 15px 8px; box-shadow: 0 -3px 12px rgba(0,0,0,.15); }
  body { padding-bottom: 54px; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  section { padding: 60px 0; }
  .hero { padding: 48px 0 44px; }
  .hero-grid, .services, .articles, .access, .contact-grid { grid-template-columns: 1fr; }
  .worries { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .worries { grid-template-columns: 1fr; }
  .brand .sub { display: none; }
  .btn { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- フェードイン ---------- */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   サブページ用パーツ
   ============================================================ */
.page-hero { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); padding: 52px 0 46px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -140px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid var(--gold-soft); opacity: .5; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--navy); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.5; color: var(--navy); }
.page-hero .lead { margin-top: 14px; max-width: 40em; color: var(--ink); font-size: 1.02rem; }
.page-hero .hero-cta { margin-top: 24px; }

.prose { max-width: 800px; margin: 0 auto; }
.prose p { margin-bottom: 1em; }
.prose h3 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; margin: 1.6em 0 .6em; }

.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 6px; padding: 20px 24px; margin: 26px 0; font-size: .95rem; }
.callout b { color: var(--navy); }
.callout.warn { background: #fbf6e8; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); border-radius: var(--radius) var(--radius) 0 0; }
.card .tag { font-size: .7rem; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 1.28rem; color: var(--navy); margin: 4px 0 8px; }
.card p { font-size: .93rem; color: var(--muted); }
.card ul { margin: 14px 0 6px; font-size: .9rem; }
.card li { padding: 6px 0 6px 22px; position: relative; border-top: 1px dashed var(--line); }
.card li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 5px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }
.card .price { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.card .price b { color: var(--navy); font-family: var(--serif); font-size: .98rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.mini h3 { font-family: var(--serif); color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.mini p { font-size: .88rem; color: var(--muted); }

.deadlines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deadline { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.deadline .t { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); font-weight: 700; }
.deadline .d { font-size: .84rem; margin-top: 4px; color: rgba(255,255,255,.88); line-height: 1.7; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.checks li { padding: 7px 0 7px 24px; position: relative; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 5px; border-left: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold); transform: rotate(-45deg); }
.note-small { font-size: .8rem; color: var(--muted); margin-top: 12px; }

.type-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.type-table th { background: var(--navy); color: #fff; font-weight: 500; font-size: .86rem; padding: 12px 14px; text-align: left; }
.type-table td { padding: 13px 14px; border-top: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
.type-table td:first-child { font-family: var(--serif); font-weight: 700; color: var(--navy); white-space: nowrap; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-x .type-table { min-width: 620px; }

.cta-band { background: var(--navy-deep); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 22px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-family: var(--serif); color: var(--navy); font-size: 1.3rem; margin-bottom: 14px; padding-left: 14px; border-left: 3px solid var(--gold); }

.note-banner { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.note-banner h3 { font-family: var(--serif); color: var(--gold-soft); font-size: 1.1rem; }
.note-banner p { font-size: .9rem; color: rgba(255,255,255,.85); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.filters button { font: inherit; font-size: .88rem; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.count { text-align: center; color: var(--muted); font-size: .86rem; margin-bottom: 20px; }
.articles.list { grid-template-columns: repeat(3, 1fr); }
.article .cat.paid { background: var(--gold); color: #fff; }

@media (max-width: 960px) {
  .two-col, .cards-3, .deadlines, .checks, .articles.list { grid-template-columns: 1fr; }
  .page-hero { padding: 38px 0 34px; }
}

/* トップ：お困りごとから探すカード */
.contracts-card.finder li { padding: 0; }
.contracts-card.finder li a { display: flex; gap: 14px; align-items: flex-start; padding: 13px 22px 13px 4px; width: 100%; position: relative; border-radius: 6px; transition: background .15s; }
.contracts-card.finder li a:hover { background: var(--cream); }
.contracts-card.finder li a::after { content: "›"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; }

@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
