/* =========================================================
   まつむら行政書士事務所  共通スタイル
   元サイトの紺（#1a3a5c）と余白の取り方を引き継ぎ、本文の読みやすさを優先して調整
   文字色と背景の組み合わせは WCAG 2.1 AA（4.5:1 以上）を満たすものだけを使う
   ========================================================= */
:root {
  --main: #1a3a5c;        /* 白地で 11.6:1 */
  --main-dark: #0f2440;
  --main-light: #2a5a8c;  /* 白地で 7.0:1 */
  --text: #222a33;        /* 白地で 14.9:1 */
  --text-2: #4a5561;      /* 白地で 7.6:1 / surface 上で 7.0:1 */
  --bg: #ffffff;
  --surface: #f4f6f9;
  --border: rgba(0, 0, 0, .09);
  --border-strong: #c9d0d8;
  --todo-bg: #fff1b8;
  --todo-ink: #5a3d00;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --w: 1100px;
  --w-text: 780px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) { body { font-size: 17.5px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main-light); text-underline-offset: .22em; }
a:hover { color: var(--main); }
:focus-visible { outline: 3px solid #2f6fb0; outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li + li { margin-top: .4em; }
strong { font-weight: 700; }
small { font-size: .88em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: #fff; padding: 8px 14px; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--w-text); }

h1, h2, h3, h4 { color: var(--text); line-height: 1.55; margin: 0 0 .7em; font-weight: 700; letter-spacing: .05em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1.03rem; }

/* ---------- 見出し（英字ラベル＋下線） ---------- */
.label {
  display: block; font-family: var(--font-en); font-size: .74rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--main-light); margin-bottom: 10px;
}
.title {
  position: relative; padding-bottom: 20px; margin-bottom: 44px;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
}
.title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--main); }
.center .title::after { left: 50%; transform: translateX(-50%); }
.title + .intro { margin-top: -20px; margin-bottom: 40px; color: var(--text-2); }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); transition: background-color .35s, border-color .35s; }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 72px; max-width: 1340px; }
.brand { margin-right: auto; text-decoration: none; color: var(--text); line-height: 1.3; flex: none; }
.brand-name { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; white-space: nowrap; }
.brand-en { display: block; font-family: var(--font-en); font-size: .6rem; letter-spacing: .24em; color: var(--text-2); white-space: nowrap; margin-top: 2px; }

.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.gnav li + li { margin: 0; }
.gnav a { position: relative; display: block; padding: 6px 0; font-size: .86rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; letter-spacing: .05em; }
.gnav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .3s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { width: 100%; }
.gnav .nav-cta a { padding: 9px 22px; border: 1px solid var(--main); border-radius: 6px; color: var(--main); font-weight: 700; }
.gnav .nav-cta a::after { display: none; }
.gnav .nav-cta a:hover { background: var(--main); color: #fff; }

/* トップページ：写真の上では透明、スクロールで白に */
.is-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.is-home .site-header:not(.scrolled) .brand, .is-home .site-header:not(.scrolled) .brand-en,
.is-home .site-header:not(.scrolled) .gnav a { color: #fff; }
.is-home .site-header:not(.scrolled) .gnav .nav-cta a { border-color: rgba(255,255,255,.8); }
.is-home .site-header:not(.scrolled) .gnav .nav-cta a:hover { background: #fff; color: var(--main); }
.is-home .site-header:not(.scrolled) .menu-btn { color: #fff; border-color: rgba(255,255,255,.7); }
.is-home .site-header.scrolled { background: #fff; border-color: var(--border); }

.menu-btn { display: none; flex: none; white-space: nowrap; background: none; border: 1px solid var(--border-strong); border-radius: 6px; padding: 8px 12px; font: inherit; font-size: .85rem; color: var(--text); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn .bars { width: 18px; height: 12px; position: relative; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1.5px solid currentColor; }

@media (max-width: 1320px) {
  .menu-btn { display: inline-flex; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(15,36,64,.08); }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .gnav a, .is-home .site-header:not(.scrolled) .gnav a { color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .gnav a::after { display: none; }
  .gnav .nav-cta a, .is-home .site-header:not(.scrolled) .gnav .nav-cta a { margin-top: 18px; text-align: center; border: 1px solid var(--main); color: #fff; background: var(--main); }
  .is-home .site-header.menu-open { background: #fff; }
  .is-home .site-header.menu-open .brand, .is-home .site-header.menu-open .brand-en { color: var(--text); }
  .is-home .site-header.menu-open .menu-btn { color: var(--text); border-color: var(--border-strong); }
}
@media (max-width: 480px) {
  .brand-en { display: none; }
  .brand-name { font-size: .98rem; }
  .site-header .container { min-height: 62px; gap: 12px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 40px;
  border-radius: 6px; font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .1em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .3s, color .3s, transform .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--main); color: #fff; }
.btn-primary:hover { background: var(--main-light); color: #fff; box-shadow: 0 10px 24px rgba(26,58,92,.25); }
.btn-outline { background: #fff; color: var(--main); border-color: var(--main); }
.btn-outline:hover { background: var(--main); color: #fff; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.75); }
.btn-glass:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-solid-light { background: var(--main); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-solid-light:hover { background: var(--main-light); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- セクション ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.bg-surface { background: var(--surface); }
@media (max-width: 640px) { .section { padding: 72px 0; } .section-sm { padding: 52px 0; } }

/* ---------- トップの写真ヒーロー ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: #fff; background: #0f2440 url("../img/osaka-castle.webp") 72% 38% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,36,64,.8) 0%, rgba(15,36,64,.64) 40%, rgba(15,36,64,.22) 70%, rgba(15,36,64,.06) 100%),
    linear-gradient(0deg, rgba(15,36,64,.35) 0%, rgba(15,36,64,0) 30%);
}
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 90px; }
.hero-inner { max-width: 640px; }
.hero-en { font-family: var(--font-en); font-size: .72rem; letter-spacing: .35em; color: rgba(255,255,255,.92); margin: 0 0 26px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem); line-height: 1.55; letter-spacing: .08em; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-tagline { font-size: clamp(.95rem, .9rem + .3vw, 1.08rem); letter-spacing: .1em; color: #fff; margin-bottom: 0; }
.hero-tagline span { display: inline-block; }
.hero-name { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem); font-weight: 700; letter-spacing: .2em; margin: 30px 0 40px; }
.hero .btn { min-width: 250px; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-family: var(--font-en); font-size: .64rem; letter-spacing: .3em; color: rgba(255,255,255,.85); z-index: 1; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 36px; background: rgba(255,255,255,.7); margin: 10px auto 0; }
@media (max-width: 760px) {
  .hero { background-position: 70% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(15,36,64,.74) 0%, rgba(15,36,64,.62) 55%, rgba(15,36,64,.74) 100%); }
  .hero .btn { width: 100%; }
  .hero-scroll { display: none; }
  .hero h1 { font-size: clamp(1.55rem, 7.2vw, 2rem); letter-spacing: .04em; }
  .hero-en { font-size: .64rem; letter-spacing: .26em; }
}

/* ---------- 下層ページのタイトル帯（写真） ---------- */
.page-head {
  position: relative; color: #fff; padding: 64px 0 60px;
  background: #0f2440 url("../img/osaka-castle.webp") 70% 32% / cover no-repeat;
}
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,36,64,.88) 0%, rgba(15,36,64,.72) 55%, rgba(15,36,64,.48) 100%); }
.page-head .container { position: relative; z-index: 1; }
.page-head .label { color: rgba(255,255,255,.92); }
.page-head h1 { color: #fff; margin: 0 0 .45em; }
.page-head .lead { color: #fff; max-width: 44em; margin: 0; font-size: 1.02rem; }
.page-head .meta { color: rgba(255,255,255,.92); }
.crumbs { font-size: .8rem; margin-bottom: 26px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .8; }
.crumbs a { color: #fff; }

/* ---------- 読み手別の入口 ---------- */
.entry-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-strong); }
.entry-list a { display: block; padding: 28px 28px 30px 0; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--border-strong); }
.entry-list a + a { padding-left: 28px; border-left: 1px solid var(--border); }
.entry-list .who { display: block; font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.entry-list .what { display: block; font-size: .94rem; color: var(--text-2); line-height: 1.8; }
.entry-list .go { display: block; margin-top: 14px; font-family: var(--font-en); font-size: .74rem; letter-spacing: .2em; color: var(--main-light); }
.entry-list a:hover .who { color: var(--main-light); }
@media (max-width: 860px) {
  .entry-list { grid-template-columns: 1fr; }
  .entry-list a, .entry-list a + a { padding: 22px 0; border-left: 0; }
}

/* ---------- カード ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 32px; }
.card h3 { margin-bottom: .5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,36,64,.1); border-color: transparent; color: var(--text); }
.card-link .more { margin-top: auto; padding-top: 20px; font-family: var(--font-en); font-size: .76rem; letter-spacing: .22em; color: var(--main-light); font-weight: 600; }
.card-top { border-top: 3px solid var(--main); }

.service-card { padding: 40px 36px; }
.service-card .num { font-family: var(--font-en); font-size: .74rem; letter-spacing: .3em; color: var(--main-light); font-weight: 600; }
.service-card h3 { font-size: 1.35rem; margin: 10px 0 14px; }
.service-card p { color: var(--text-2); }
.service-card ul { color: var(--text); padding-left: 1.2em; }

/* ---------- 代表挨拶 ---------- */
.greeting { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.greeting-photo { margin: 0; }
.greeting-photo img { border-radius: var(--r); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; width: 100%; }
.greeting-photo figcaption { margin-top: 16px; text-align: center; line-height: 1.7; }
.greeting-photo .role { display: block; font-size: .8rem; color: var(--text-2); letter-spacing: .1em; }
.greeting-photo .name { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: .2em; }
.greeting-photo .reg { display: block; font-size: .8rem; color: var(--text-2); margin-top: 4px; }
.greeting-text p { line-height: 2.1; }
.signature { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-weight: 700; color: var(--main); letter-spacing: .12em; }
@media (max-width: 760px) {
  .greeting { grid-template-columns: 1fr; gap: 28px; }
  .greeting-photo { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }
  .greeting-photo figcaption { margin: 0; text-align: left; }
}

/* 大切にしていること（番号付き） */
.values { list-style: none; padding: 0; margin: 0; counter-reset: v; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-strong); }
.values li { counter-increment: v; margin: 0; padding: 30px 28px 6px 0; }
.values li + li { padding-left: 28px; border-left: 1px solid var(--border); }
.values li::before { content: counter(v, decimal-leading-zero); display: block; font-family: var(--font-en); font-size: 1.9rem; font-weight: 300; color: var(--main-light); line-height: 1; margin-bottom: 16px; }
.values h3 { font-size: 1.1rem; margin-bottom: .5em; }
.values p { color: var(--text-2); font-size: .96rem; margin: 0; }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 26px 0 22px; border-left: 0; border-bottom: 1px solid var(--border); }
}

/* ---------- ご依頼の流れ（元サイトのカード） ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { counter-increment: f; position: relative; margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 34px 26px 28px; overflow: hidden; }
.flow li::before { content: counter(f, decimal-leading-zero); position: absolute; top: 14px; right: 18px; font-family: var(--font-en); font-size: 3.2rem; font-weight: 700; color: var(--main); opacity: .12; line-height: 1; letter-spacing: -.03em; }
.flow .step { font-family: var(--font-en); font-size: .68rem; letter-spacing: .3em; color: var(--main-light); font-weight: 600; margin-bottom: 10px; display: block; }
.flow h3 { font-size: 1.02rem; margin-bottom: .6em; }
.flow p { font-size: .93rem; color: var(--text-2); margin: 0; line-height: 1.9; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } }

/* ---------- 本文ブロック（下層ページ） ---------- */
.prose h2 { margin-top: 2.6em; padding-bottom: 14px; position: relative; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--main); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; font-size: 1.12rem; color: var(--main); }
.prose > h2 + h3 { margin-top: 1.2em; }
.prose .note { color: var(--text-2); font-size: .94rem; }

.twocol { display: grid; grid-template-columns: 210px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .88rem; }
.toc p { font-family: var(--font-en); font-weight: 600; color: var(--text-2); margin-bottom: 1em; font-size: .7rem; letter-spacing: .3em; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--border-strong); }
.toc li + li { margin-top: 0; }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--text-2); text-decoration: none; line-height: 1.55; }
.toc a:hover { color: var(--main); }
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }

/* 項目リスト（控えめな線） */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 26px; }
.checklist li + li { margin-top: .8em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .95em; width: 12px; height: 1.5px; background: var(--main); }

/* 手順 */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 58px; margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--font-en); font-weight: 600; font-size: 1.05rem; color: var(--main-light); }
.steps li::after { content: ""; position: absolute; left: 11px; top: 34px; bottom: 6px; width: 1px; background: var(--border-strong); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3, .steps h4 { margin: 0 0 .3em; font-size: 1.05rem; color: var(--text); }
.steps p { color: var(--text-2); margin: 0; }

/* 表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5em; border: 1px solid var(--border); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: .95rem; line-height: 1.75; }
th, td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
thead th { background: var(--main); color: #fff; font-weight: 700; white-space: nowrap; letter-spacing: .06em; }
tbody th { background: var(--surface); font-weight: 700; width: 30%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-plain table { min-width: 0; }
.table-plain tbody th { width: 32%; }

/* 補足の枠 */
.notice, .info { border-left: 3px solid var(--main); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; margin: 0 0 1.5em; font-size: .97rem; }
.notice p:last-child, .info p:last-child, .info ul:last-child { margin-bottom: 0; }

/* 出典・更新日 */
.meta { font-size: .86rem; color: var(--text-2); }
.sources { font-size: .9rem; color: var(--text-2); border-top: 1px solid var(--border); padding-top: 1.4em; margin-top: 3em; }
.sources h2 { font-size: .95rem; margin: 0 0 .7em; padding: 0; }
.sources h2::after { display: none; }
.sources ul { padding-left: 1.2em; }

/* 公開前に埋める箇所 */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 .3em; border-radius: 3px; font-weight: 700; outline: 1px dashed #b98a00; }

/* FAQ（元サイトの形） */
.faq details { border: 1px solid var(--border); border-radius: 8px; background: #fff; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 20px 56px 20px 22px; position: relative; font-weight: 700; line-height: 1.65; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--main); color: #fff; font-family: var(--font-en); font-size: .82rem; display: grid; place-items: center; margin-top: 1px; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 16px; font-size: 1.5rem; font-weight: 300; color: var(--main); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 24px 22px 64px; color: var(--text-2); }
.faq .answer p:last-child { margin: 0; }

/* プロフィール（事務所概要ページ） */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.profile img { border-radius: var(--r); }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; gap: 24px; } .profile img { max-width: 220px; } }

/* やさしい日本語 */
.easy { border: 1px solid var(--border-strong); border-radius: var(--r); padding: 30px 32px; background: #fff; }
.easy p, .easy li { font-size: 1.08rem; line-height: 2.2; }
.easy ruby rt { font-size: .55em; color: var(--text-2); }

/* ---------- お問い合わせへの誘導（各ページ末尾） ---------- */
.cta { background: var(--surface); padding: 96px 0; }
.cta .head { text-align: center; }
.cta .title::after { left: 50%; transform: translateX(-50%); }
.cta .head p { color: var(--text-2); }
.cta-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.cta-options > div { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 30px 32px; display: flex; flex-direction: column; }
.cta-options .for { font-size: .82rem; color: var(--text-2); letter-spacing: .08em; margin-bottom: 6px; }
.cta-options h3 { font-size: 1.15rem; margin-bottom: .4em; }
.cta-options p { font-size: .95rem; }
.cta-options .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .cta-options { grid-template-columns: 1fr; } .cta-options .btn { align-self: stretch; } }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 24px; }
.field label, .field .flabel { display: block; font-weight: 700; margin-bottom: 8px; }
.req, .opt { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 3px; margin-left: 10px; vertical-align: 2px; letter-spacing: .05em; }
.req { background: var(--main); color: #fff; }
.opt { background: #e6eaef; color: var(--text-2); }
.field .hint { display: block; font-size: .87rem; color: var(--text-2); margin-top: 4px; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #8a94a0; border-radius: 6px; padding: 12px 14px; min-height: 52px; line-height: 1.6;
}
textarea { min-height: 190px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,111,176,.3); border-color: #2f6fb0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: .4em; flex: none; accent-color: var(--main); }
.radios { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.radios label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--border-strong); border-radius: 6px; padding: 11px 14px; font-weight: 500; cursor: pointer; margin: 0; }
.radios label:has(input:checked) { border-color: var(--main); background: #eef2f7; }
.radios input { accent-color: var(--main); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }

/* ---------- フッター（元サイトと同じ中央揃え） ---------- */
.site-footer { background: var(--main-dark); color: #d7dee6; padding: 72px 0 36px; text-align: center; font-size: .9rem; }  /* 12.3:1 */
.site-footer a { color: #d7dee6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-name { font-size: 1.25rem; font-weight: 700; letter-spacing: .14em; color: #fff; margin-bottom: 6px; }
.footer-en { font-family: var(--font-en); font-size: .66rem; letter-spacing: .28em; color: #b9c4d0; margin-bottom: 18px; }  /* 8.6:1 */
.footer-info p { margin: 0 0 .2em; line-height: 1.9; }
.footer-nav { list-style: none; padding: 0; margin: 36px 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.footer-nav li + li { margin: 0; }
.footer-divider { width: 60px; height: 1px; background: rgba(255,255,255,.3); margin: 0 auto 24px; }
.copyright { font-family: var(--font-en); font-size: .74rem; letter-spacing: .12em; color: #b9c4d0; margin: 0; }

/* ---------- 小物 ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.lead { font-size: 1.06rem; }
.twocol > *, .grid > *, .profile > *, .greeting > * { min-width: 0; }

/* ---------- 料金：報酬＋実費＝総額 ---------- */
.fee-formula { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; margin: 0 0 1.5em; }
.fee-box { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r); padding: 20px 20px 18px; }
.fee-box p { font-size: .9rem; color: var(--text-2); line-height: 1.8; margin: 0; }
.fee-name { display: block; font-weight: 700; font-size: 1.02rem; margin-bottom: 8px; }
.fee-total { background: var(--main); border-color: var(--main); }
.fee-total .fee-name, .fee-total p { color: #fff; }
.fee-op { align-self: center; font-size: 1.6rem; font-weight: 300; color: var(--main); }
@media (max-width: 720px) {
  .fee-formula { grid-template-columns: 1fr; gap: 6px; }
  .fee-op { justify-self: center; line-height: 1; }
}

.fee-example { border: 1px solid var(--border); border-radius: var(--r); padding: 24px 26px; margin: 0 0 16px; background: #fff; }
.fee-example h3 { margin: 0 0 .2em; color: var(--text); font-size: 1.06rem; }
.fee-cond { font-size: .9rem; color: var(--text-2); margin: 0 0 12px; }
.fee-calc { margin: 0 0 8px; }
.fee-calc > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--border-strong); }
.fee-calc dt { font-weight: 400; }
.fee-calc dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-calc > div.sum { border-bottom: 0; border-top: 2px solid var(--main); margin-top: 4px; padding-top: 12px; font-weight: 700; font-size: 1.1rem; color: var(--main); }
.fee-calc > div.sum dt { font-weight: 700; }
