/* 会社・法人設立.com リニューアルのデザイン案 v2（洗練・プロフェッショナル）
   深い森の緑と落ち着いた金。見出しは Zen Old Mincho、数字と英字は DM Serif Display（数字の高さがそろう字形）、本文は Noto Sans JP。
   角は締め、線は細く、横に並ぶ枠は高さを完全にそろえる */
:root {
  --g: #0f3b2e; --g-2: #1d5c46; --g-3: #3c7d63; --g-soft: #eef3ef; --ivory: #f8f6f0; --ivory-2: #f1ede3;
  --gold: #b8964a; --gold-d: #8f7134; --gold-soft: #f6efdf;
  --line-g: #06c755;
  --ink: #1b2420; --ink-2: #4e5a54; --mute: #8a948f; --line: #e2e0d8;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --num: "DM Serif Display", "Zen Old Mincho", serif;
  --r: 4px; --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: .04em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-2); }
p { margin: 0 0 1em; text-align: justify; text-justify: inter-character; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; margin: 0; letter-spacing: .06em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mock-note { margin: 0; background: #0a2a20; color: #cfdcd5; font-size: 12px; text-align: center; padding: 5px 16px; }
.topline { margin: 0; background: var(--g); color: #d9e4de; font-size: 12px; text-align: center; padding: 6px 16px; line-height: 1.6; letter-spacing: .06em; }
.topline span:first-child { color: #e8d6a6; font-weight: 500; margin-right: 10px; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo .mark svg { width: 40px; height: 40px; display: block; }
.logo .mark rect { fill: var(--g); }
.logo small { display: block; font-size: 10px; color: var(--mute); letter-spacing: .04em; line-height: 1.4; }
.logo b { display: block; font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .08em; line-height: 1.3; }
.logo b i { font-style: normal; font-family: var(--num); font-weight: 400; color: var(--gold-d); font-size: .82em; margin-left: 2px; letter-spacing: .02em; }
.nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--gold); }
.hd-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.hd-line { display: inline-flex; align-items: center; gap: 6px; background: var(--line-g); color: #fff; text-decoration: none; font-weight: 700; font-size: 13.5px; padding: 9px 14px; border-radius: var(--r); white-space: nowrap; }
.hd-line svg, .btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.hd-tel { text-decoration: none; color: var(--g); text-align: right; line-height: 1.15; white-space: nowrap; }
.hd-tel small { display: block; font-size: 10px; color: var(--mute); letter-spacing: .06em; }
.hd-tel b { font-family: var(--num); font-weight: 400; font-size: 25px; letter-spacing: .03em; }
.menu-btn { display: none; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 8px 28px; border-radius: var(--r); text-decoration: none; font-weight: 700; line-height: 1.25; letter-spacing: .06em; transition: background .2s ease, transform .2s ease; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; letter-spacing: .08em; }
.btn-line { background: var(--line-g); color: #fff; font-size: 16.5px; }
.btn-line:hover { background: #05b04b; }
.btn-tel { background: var(--g); color: #fff; font-family: var(--num); font-weight: 400; font-size: 26px; letter-spacing: .03em; }
.btn-tel small { font-family: var(--sans); }
.btn-tel:hover { background: var(--g-2); }
.btn-ghost { background: transparent; color: var(--g); border: 1px solid var(--g); min-height: 54px; font-size: 14.5px; }
.btn-ghost:hover { background: var(--g); color: #fff; }
.btn-ghost.sm { min-height: 44px; font-size: 13px; padding: 6px 18px; }
.light.btn-tel { background: #fff; color: var(--g); }
.light.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.light.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* 最初の画面 */
.hero { position: relative; overflow: hidden; background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 42%; background: var(--g); }
.hero::after { content: ""; position: absolute; right: 42%; top: 0; bottom: 0; width: 1px; background: rgba(184,150,74,.5); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.eyebrow { margin: 0 0 22px; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; color: var(--gold-d); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.h1-pre { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.7vw, 20px); color: var(--g-2); letter-spacing: .1em; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.4; font-weight: 700; letter-spacing: .08em; color: var(--g); }
.hero h1 em { font-style: normal; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.hero .lead { margin: 26px 0 28px; max-width: 32em; color: var(--ink-2); font-size: 15.5px; line-height: 2; }
.hero-pts { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 470px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-pts li { text-align: center; padding: 12px 6px; border-left: 1px solid var(--line); line-height: 1.4; }
.hero-pts li:first-child { border-left: 0; }
.hero-pts b { display: block; font-family: var(--serif); font-size: 17px; color: var(--g); }
.hero-pts span { font-size: 12px; color: var(--gold-d); letter-spacing: .2em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pic { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hp-front { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.28); outline: 1px solid rgba(255,255,255,.25); outline-offset: 10px; }
.hp-front img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.seal { position: absolute; left: -64px; bottom: 54px; width: 150px; height: 150px; border-radius: 50%; background: var(--ivory); color: var(--g); display: grid; place-content: center; text-align: center; line-height: 1.3; box-shadow: 0 16px 36px rgba(0,0,0,.2); border: 1px solid var(--gold); outline: 4px solid var(--ivory); }
.seal small { font-size: 10px; color: var(--ink-2); letter-spacing: .06em; }
.seal b { font-family: var(--serif); font-weight: 700; font-size: 18px; margin: 6px 0 4px; letter-spacing: .06em; }
.seal span { font-size: 11px; font-weight: 700; color: #fff; background: var(--gold-d); padding: 1px 12px; margin: 0 auto; letter-spacing: .2em; }
.hp-card { position: absolute; right: -10px; top: 26px; background: rgba(255,255,255,.96); padding: 12px 16px; font-size: 12px; line-height: 1.8; box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.hp-card span { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--gold-d); border: 1px solid var(--gold); padding: 0 6px; margin-right: 8px; line-height: 1.6; }

/* 節 */
.sec { padding: 96px 0; }
.sec.soft { background: var(--ivory); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .en, .gr-txt .en, .band .en { margin: 0 0 10px; font-family: var(--num); font-size: 14px; letter-spacing: .32em; color: var(--gold-d); }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); text-align: center; color: var(--g); }
.sec-head h2::after { content: ""; display: block; width: 1px; height: 30px; background: var(--gold); margin: 18px auto 0; }
.sec-head p { text-align: center; color: var(--ink-2); max-width: 50em; margin: 18px auto 0; font-size: 15px; }

/* 法人から選ぶ（上2枚・下4枚。同じ段の枠は同じ高さ） */
.kinds { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.kd { grid-column: span 3; position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--g-3); padding: 24px 24px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.kd:hover { box-shadow: 0 18px 36px rgba(15,59,46,.1); border-color: var(--gold); }
.kd.main { grid-column: span 6; border-top-color: var(--gold); padding-right: 150px; }
.kd img { position: absolute; right: 18px; bottom: 18px; width: 66px; }
.kd.main img { width: 108px; right: 26px; bottom: 22px; }
.kd-tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--gold-d); border: 1px solid var(--gold); padding: 1px 10px; margin-bottom: 10px; letter-spacing: .1em; }
.kd b { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--g); letter-spacing: .06em; }
.kd.main b { font-size: 25px; }
.kd-p { margin: 10px 0 6px; font-family: var(--num); font-size: 32px; color: var(--g); line-height: 1; letter-spacing: .01em; }
.kd.main .kd-p { font-size: 46px; }
.kd-p small { font-family: var(--serif); font-size: .42em; margin: 0 3px; color: var(--ink-2); }
.kd-n { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.kd:not(.main) .kd-n { padding-right: 76px; }
.kd:not(.main) b { padding-right: 60px; }
.fee-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.fm-col { background: var(--ivory); border: 1px solid var(--line); padding: 24px 28px; }
.fm-h { margin: 0 0 8px; font-family: var(--serif); font-weight: 700; color: var(--g); font-size: 16.5px; }
.fm-col dl { display: grid; grid-template-columns: 1fr auto; margin: 0; font-size: 14.5px; }
.fm-col dt, .fm-col dd { padding: 10px 0; border-top: 1px solid var(--line); }
.fm-col dt:first-of-type, .fm-col dt:first-of-type + dd { border-top: 0; }
.fm-col dd { margin: 0; text-align: right; font-family: var(--num); font-size: 17px; color: var(--g); white-space: nowrap; padding-left: 16px; line-height: 1.7; }
.fm-col dd.free { font-family: var(--serif); font-weight: 700; color: var(--gold-d); font-size: 15px; }
.more { text-align: center; margin: 36px 0 0; }

/* 特典（3枚、同じ高さ） */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.pk { background: #fff; border: 1px solid var(--line); padding: 32px 28px 28px; display: flex; flex-direction: column; }
.pk-seal { border-color: var(--gold); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(184,150,74,.35); }
.pk-no { font-family: var(--num); font-size: 38px; color: var(--gold); line-height: 1; }
.pk h3 { font-size: 20px; margin: 14px 0 12px; color: var(--g); }
.pk p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.9; text-align: left; }
.pk p b { color: var(--g); }

/* 基礎知識（4枚、同じ高さ。案内のボタンは下にそろえる） */
.guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gd { background: #fff; border: 1px solid var(--line); padding: 24px 22px 22px; display: flex; flex-direction: column; }
.gd-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 700; font-size: 15.5px; line-height: 1.5; color: var(--g); min-height: 72px; }
.gd-h img { width: 42px; flex: none; }
.gd ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
.gd li a { display: block; padding: 7px 0 7px 16px; position: relative; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.6; }
.gd li a::before { content: ""; position: absolute; left: 2px; top: 15px; width: 5px; height: 5px; border-top: 1px solid var(--gold-d); border-right: 1px solid var(--gold-d); transform: rotate(45deg); }
.gd li a:hover { color: var(--g-2); }
.gd li.sv { margin-top: auto; padding-top: 12px; }
.gd li.sv a { font-weight: 700; color: #fff; background: var(--g); padding: 11px 14px; text-align: center; }
.gd li.sv a::before { display: none; }
.gd li.sv a:hover { background: var(--g-2); }
.topics { margin-top: 16px; display: grid; grid-template-columns: 220px repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; background: var(--g); padding: 26px 28px; color: #fff; }
.tp-en { margin: 0; font-family: var(--num); font-size: 14px; letter-spacing: .3em; color: var(--gold); }
.tp-h { margin: 6px 0 0; font-family: var(--serif); font-weight: 700; font-size: 21px; text-align: left; letter-spacing: .08em; }
.topics > p { grid-column: 1; }
.topics a { grid-row: 1 / 3; border: 1px solid rgba(255,255,255,.18); padding: 16px 20px; color: #fff; text-decoration: none; transition: background .2s ease; }
.topics a:hover { background: rgba(255,255,255,.06); }
.topics a:nth-of-type(1) { grid-column: 2; } .topics a:nth-of-type(2) { grid-column: 3; }
.topics a b { display: block; font-family: var(--serif); font-size: 16.5px; margin-bottom: 6px; }
.topics a span { font-size: 13px; opacity: .8; line-height: 1.75; }

/* お客様の声（キャッチアイコン・4枚同じ高さ） */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.vc { margin: 0; background: #fff; border: 1px solid var(--line); padding: 28px 30px 24px; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: 1fr auto; column-gap: 22px; }
.vc-ic { grid-row: 1 / 3; width: 72px; height: 72px; padding: 8px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 1px var(--line); }
.vc blockquote { margin: 0 0 16px; }
.vc b { display: block; font-family: var(--serif); font-weight: 700; font-size: 17.5px; color: var(--g); margin-bottom: 10px; line-height: 1.6; }
.vc b::before { content: "“"; font-family: var(--num); color: var(--gold); font-size: 1.4em; line-height: 0; margin-right: 4px; vertical-align: -.15em; }
.vc p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.9; }
.vc figcaption { grid-column: 2; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; letter-spacing: .06em; }
.voice-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin-top: 30px; }
.mm { width: 197px; }

/* ご挨拶 */
.greet { display: grid; grid-template-columns: 200px minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.gr-pic { margin: 0; position: relative; }
.gr-pic::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--gold); }
.gr-pic img { position: relative; width: 100%; }
.gr-txt h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 18px; color: var(--g); }
.gr-txt > p { font-size: 15px; color: #2e3a34; }
.sig { font-family: var(--serif); font-weight: 700; font-size: 23px; color: var(--ink) !important; margin: 16px 0 14px !important; letter-spacing: .12em; }
.sig small { display: block; font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }
.sig span { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--gold-d); letter-spacing: .04em; }
.roles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.roles li { font-size: 12.5px; color: var(--ink-2); padding: 7px 0 7px 16px; border-bottom: 1px solid var(--line); position: relative; }
.roles li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 6px; height: 1px; background: var(--gold); }
.gv-h { font-weight: 700; font-size: 13.5px; color: var(--g); margin: 0 0 10px; }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 事務所（2枚、同じ高さ） */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.of { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--g); padding: 28px 32px; }
.of-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--gold-d); border: 1px solid var(--gold); padding: 0 10px; letter-spacing: .14em; }
.of h3 { font-size: 23px; margin: 10px 0 2px; color: var(--g); }
.of-sub { margin: 0 0 16px; font-size: 13px; color: var(--ink-2); }
.of dl { display: grid; grid-template-columns: 6em 1fr; margin: 0; font-size: 14.5px; }
.of dt, .of dd { padding: 10px 0; border-top: 1px solid var(--line); }
.of dt { color: var(--mute); font-size: 13px; }
.of dd { margin: 0; }
.of dd small { color: var(--mute); font-size: 12px; }
.of dd a { font-family: var(--num); font-size: 18px; color: var(--g); text-decoration: none; }
.area { margin-top: 16px; background: #fff; border: 1px solid var(--line); padding: 4px 26px; }
.area summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--g); font-family: var(--serif); }
.area p { font-size: 13.5px; color: var(--ink-2); line-height: 2; }

/* メルマガ・ブログ（2枚、同じ高さ） */
.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inf { background: var(--ivory); border: 1px solid var(--line); padding: 28px 30px 26px; display: flex; flex-direction: column; }
.inf-en { margin: 0 0 6px; font-family: var(--num); font-size: 13px; letter-spacing: .3em; color: var(--gold-d); }
.inf h3 { font-size: 18px; margin: 0 0 12px; color: var(--g); }
.inf > p { font-size: 14px; color: var(--ink-2); }
.inf .btn { margin-top: auto; align-self: flex-start; }
.blog-d { font-size: 13px !important; }
.blog { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); }
.blog a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 13.5px; line-height: 1.6; }
.blog a:hover { color: var(--g-2); }
.more-s { margin-top: auto; font-size: 13.5px; font-weight: 700; }

/* 相談の帯・フッター */
.band { background: var(--g); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(184,150,74,.35); pointer-events: none; }
.band .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band .en { color: var(--gold); }
.band h2 { font-size: clamp(24px, 3vw, 33px); margin-bottom: 12px; }
.band p { margin: 0; color: #cfdcd5; }
.band-cta { display: grid; gap: 10px; min-width: 310px; }
.ft { background: #0a2a20; color: #b9c9c0; padding: 56px 0 0; font-size: 13px; }
.ft .wrap { display: grid; grid-template-columns: 330px 1fr; gap: 36px; }
.ft-logo { font-family: var(--serif); font-weight: 700; font-size: 21px; color: #fff; margin: 0 0 10px; letter-spacing: .08em; }
.ft-l p { text-align: left; line-height: 1.9; font-size: 12.5px; }
.ft-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ft-menu b { display: block; color: #fff; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(184,150,74,.35); font-family: var(--serif); letter-spacing: .08em; }
.ft-menu a { display: block; color: #b9c9c0; text-decoration: none; padding: 3px 0; }
.ft-menu a:hover { color: #fff; }
.copy { text-align: center; margin: 40px 0 0; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; }
.copy span { display: block; opacity: .7; }
.copy a { color: inherit; }
.dock { display: none; }

@media (max-width: 1240px) { .logo small { display: none; } .nav { gap: 14px; font-size: 13.5px; } .hd-tel b { font-size: 22px; } }
@media (max-width: 1180px) and (min-width: 1081px) { .nav { gap: 12px; font-size: 13px; } .hd-line { padding: 8px 10px; font-size: 12.5px; } .hd-tel small { display: none; } }
@media (max-width: 1080px) {
  .logo small { display: block; }
  .nav { display: none; }
  .nav.is-open { display: flex; position: fixed; inset: 100px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: 8px 24px 20px; box-shadow: 0 20px 30px rgba(0,0,0,.12); z-index: 40; }
  .nav.is-open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hd-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; appearance: none; font: inherit; font-weight: 700; font-size: 13px; color: var(--g); background: #fff; border: 1px solid var(--g); border-radius: var(--r); padding: 8px 14px; cursor: pointer; flex: none; }
  .kd { grid-column: span 6; }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .greet { grid-template-columns: 180px minmax(0, 1fr); }
  .gr-video { grid-column: 1 / -1; max-width: 640px; }
}
@media (max-width: 860px) {
  .hero::before { width: 100%; top: auto; height: 300px; }
  .hero::after { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 60px; }
  .hero-pic { max-width: 300px; margin: 16px auto 0; }
  .seal { left: -30px; width: 124px; height: 124px; bottom: 30px; }
  .seal b { font-size: 15px; }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kd { grid-column: span 1; }
  .kd.main { grid-column: 1 / -1; }
  .fee-more, .perks, .voices, .offices, .infos { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .topics { grid-template-columns: minmax(0, 1fr); }
  .topics a, .topics a:nth-of-type(1), .topics a:nth-of-type(2), .topics > p { grid-column: 1; grid-row: auto; }
  .band .wrap, .ft .wrap { grid-template-columns: minmax(0, 1fr); }
  .band-cta { min-width: 0; }
  .ft-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body { padding-bottom: 60px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; }
  .dock a { display: grid; place-content: center; text-align: center; min-height: 58px; text-decoration: none; font-weight: 700; font-size: 15px; color: #fff; line-height: 1.2; }
  .dock .d-line { background: var(--line-g); }
  .dock .d-tel { background: var(--g); }
  .dock small { font-size: 10.5px; font-weight: 500; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topline span:last-child { display: none; }
  .hd .wrap { gap: 10px; min-height: 64px; }
  .logo small { display: none; }
  .logo b { font-size: 17px; }
  .logo .mark svg { width: 32px; height: 32px; }
  .hd-line, .hd-tel { display: none; }
  .menu-btn { margin-left: auto; }
  .hd-cta { margin-left: 0; }
  .sec { padding: 68px 0; }
  .hero-pts { max-width: none; }
  .cta .btn { width: 100%; }
  .kinds { gap: 10px; grid-auto-rows: auto; }
  .kd { padding: 18px 14px 16px; }
  .kd.main { padding-right: 104px; }
  .kd.main img { width: 80px; right: 14px; }
  .kd.main .kd-p { font-size: 38px; }
  .kd:not(.main) img { display: none; }
  .kd:not(.main) b { padding-right: 0; font-size: 16px; }
  .kd:not(.main) .kd-p { font-size: 26px; }
  .kd:not(.main) .kd-n { padding-right: 0; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .gd-h { min-height: 0; }
  .vc { grid-template-columns: 56px 1fr; padding: 22px 18px 18px; column-gap: 14px; }
  .vc-ic { width: 56px; height: 56px; padding: 6px; }
  .greet { grid-template-columns: minmax(0, 1fr); }
  .gr-pic { max-width: 180px; }
  .ft-menu { grid-template-columns: minmax(0, 1fr); }
  .fm-col { padding: 20px 16px; }
  .of { padding: 24px 18px; }
}
@media (max-width: 360px) { .logo b { font-size: 15px; } .menu-btn { padding: 6px 10px; font-size: 12px; } }
.guide { grid-auto-rows: 1fr; }
@media (max-width: 560px) { .guide { grid-auto-rows: auto; } }
.hp-card { top: auto; bottom: -22px; right: -24px; }
@media (max-width: 860px) { .hp-card { right: -8px; bottom: -18px; } }
.eyebrow span, .h1-pre span { display: inline-block; }
.eyebrow span + span { margin-left: 1em; }
@media (max-width: 860px) { .hero::before { height: 46%; } }

/* 法人から選ぶ：画像なし・3列×2段のすっきりした札（同じ高さ） */
.kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; max-width: 980px; margin: 0 auto; }
.kd, .kd.main { grid-column: auto; padding: 22px 26px 20px; border-top-width: 1px; border-top-color: var(--line); }
.kd.main { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.kd b, .kd.main b { font-size: 19px; padding-right: 0; }
.kd-p, .kd.main .kd-p { font-size: 34px; margin: 8px 0 4px; }
.kd-n, .kd:not(.main) .kd-n { padding-right: 0; padding-top: 6px; font-size: 12px; }
.kd-tag { position: absolute; right: 18px; top: 18px; margin: 0; }
.fee-more { max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kd, .kd.main { grid-column: auto; } }
@media (max-width: 560px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; grid-auto-rows: 1fr; } .kd, .kd.main { padding: 16px 14px 14px; } .kd-tag { position: static; align-self: flex-start; margin-bottom: 8px; font-size: 10px; } .kd b, .kd.main b { font-size: 16px; } .kd-p, .kd.main .kd-p { font-size: 26px; } }
@media (max-width: 860px) { .kinds { grid-auto-rows: auto; } }

/* ══ 10-25 直し ══ */
/* 最初の画面：右の緑の帯をやめ、写真の後ろに緑の面と金の線を重ねた額のような見せ方に */
.hero { background: radial-gradient(900px 520px at 85% 50%, #efe9da 0%, transparent 70%), var(--ivory); }
.hero::before, .hero::after { display: none; }
.hero .wrap { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; padding-top: 80px; padding-bottom: 88px; min-height: 620px; }
.hero-pic { max-width: 440px; padding: 0 0 34px 34px; }
.hero-pic::before { content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 72%; background: var(--g); }
.hero-pic::after { content: ""; position: absolute; right: -18px; top: -18px; width: 62%; height: 46%; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.hp-front { position: relative; z-index: 1; outline: 0; box-shadow: 0 28px 54px rgba(15,59,46,.25); aspect-ratio: 5 / 6; }
.seal { z-index: 2; left: -30px; bottom: 76px; }
.hp-card { z-index: 2; right: -14px; bottom: 14px; top: auto; }
.hero-txt { align-self: center; }
@media (max-width: 1080px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; min-height: 0; } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-pic { max-width: 330px; margin: 24px auto 0; padding: 0 0 24px 24px; } .hero-pic::after { right: -10px; top: -10px; } .seal { left: -16px; bottom: 50px; } }

/* 基礎知識：「サービスのご案内」は1行 */
.gd li.sv a { white-space: nowrap; font-size: 13.5px; }
.gd li.sv a::after { content: " →"; }

/* お客様の声：人のアイコン */
.vc-ic { padding: 0; background: none; box-shadow: 0 0 0 1px var(--line); }
.voice-foot { margin-top: 26px; }

/* ご挨拶：動画の下にミツモアの口コミ。3つの列の高さをそろえる */
.greet { align-items: stretch; }
.gr-video { display: flex; flex-direction: column; gap: 22px; }
.gv-mm { display: flex; align-items: center; gap: 18px; background: var(--ivory); border: 1px solid var(--line); padding: 16px 18px; margin-top: auto; }
.gv-mm .gv-h { margin: 0; writing-mode: horizontal-tb; flex: 1; font-family: var(--serif); font-size: 15px; }
.gv-mm .mm { flex: none; }

/* メルマガ・ブログ：低く、詰めて */
#more { padding: 64px 0; }
.inf { padding: 24px 28px 22px; }
.inf h3 { margin-bottom: 8px; }
.inf > p { margin-bottom: 14px; }
.inf .btn { margin-top: auto; }
.blog { margin-bottom: 10px; }

/* フッター：会社の情報・拠点・サイト案内・掲載サイト */
.ft { padding-top: 60px; }
.ft .wrap { display: block; }
.ft-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(184,150,74,.3); }
.ft-logo { font-size: 23px; margin-bottom: 4px; }
.ft-sub { margin: 0 0 16px; font-size: 12px; color: #9fb4a9; text-align: left; }
.ft-tel { display: block; text-decoration: none; color: #fff; font-family: var(--num); font-size: 30px; line-height: 1.15; letter-spacing: .03em; }
.ft-tel small { display: block; font-family: var(--sans); font-size: 11px; color: #9fb4a9; letter-spacing: .08em; }
.ft-mail { margin: 12px 0 0; font-size: 12.5px; text-align: left; }
.ft-mail small { display: block; color: #8aa095; font-size: 11px; }
.ft-h { margin: 0 0 10px; font-family: var(--serif); font-weight: 700; color: #fff; font-size: 15px; letter-spacing: .1em; }
.ft-off p { text-align: left; font-size: 12.5px; line-height: 1.85; margin: 0 0 10px; }
.ft-rep { color: #8aa095; font-size: 11.5px !important; }
.ft-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-nav a { display: block; color: #b9c9c0; text-decoration: none; font-size: 13px; padding: 4px 0; }
.ft-nav a:hover { color: #fff; }
.ft-sites { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 22px 0 0; font-size: 11.5px; }
.ft-sites p { margin: 0; width: 100%; color: #8aa095; letter-spacing: .1em; text-align: left; }
.ft-sites a { color: #8aa095; text-decoration: none; }
.ft-sites a:hover { color: #fff; }
.copy { margin-top: 30px; }
@media (max-width: 860px) { .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ft-brand { grid-column: 1 / -1; } .ft-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .greet { align-items: start; } }
@media (max-width: 560px) { .ft-top, .ft-nav { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* ご挨拶：写真の枠は写真の大きさのまま */
.gr-pic { align-self: start; }
/* メルマガは横長の帯、ブログは3件を横に */
.infos { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.inf.mag { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 28px; }
.inf.mag .inf-en, .inf.mag h3 { grid-column: 1; }
.inf.mag .inf-en { align-self: end; margin: 0; }
.inf.mag h3 { align-self: start; margin: 0; }
.inf.mag > p { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.inf.mag .btn { grid-column: 3; grid-row: 1 / 3; margin: 0; align-self: center; }
.inf.blg { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 24px; padding: 22px 28px; }
.inf.blg .inf-en { grid-column: 1; margin: 0; }
.inf.blg h3 { grid-column: 1; margin: 0; font-size: 16px; }
.inf.blg .blog-d { grid-column: 1; margin: 6px 0 0; font-size: 12.5px !important; }
.inf.blg .blog { grid-column: 2; grid-row: 1 / 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; margin: 0; align-self: center; }
.inf.blg .blog a { height: 100%; border: 1px solid var(--line); background: #fff; padding: 14px 16px; font-size: 13.5px; }
.inf.blg .more-s { grid-column: 1; margin: 6px 0 0; }
@media (max-width: 860px) { .inf.mag, .inf.blg { grid-template-columns: minmax(0, 1fr); } .inf.mag > p, .inf.mag .btn, .inf.blg .blog { grid-column: 1; grid-row: auto; } .inf.mag .btn { justify-self: start; } .inf.blg .blog { grid-template-columns: minmax(0, 1fr); } }
.inf.mag { row-gap: 2px; column-gap: 28px; }
.inf.mag h3 { font-size: 17px; }

/* メルマガ：濃い緑の帯（ブログと分ける） */
.inf.mag { background: var(--g); border-color: var(--g); color: #fff; grid-template-columns: 260px minmax(0, 1fr) auto; padding: 24px 32px; }
.inf.mag .inf-en { color: var(--gold); }
.inf.mag h3 { color: #fff; }
.inf.mag > p { color: #cfdcd5; }
.inf.mag .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.inf.mag .btn-ghost:hover { background: rgba(255,255,255,.1); }
/* ブログ：左に紹介、右に最新3件を縦に */
.inf.blg { background: #fff; grid-template-columns: 340px minmax(0, 1fr); column-gap: 40px; padding: 28px 32px; align-items: center; }
.inf.blg .inf-en, .inf.blg h3, .inf.blg .blog-d, .inf.blg .more-s { grid-column: 1; }
.inf.blg h3 { font-size: 17px; }
.inf.blg .blog { grid-row: 1 / 5; grid-column: 2; display: block; border-top: 1px solid var(--line); align-self: center; }
.inf.blg .blog a { height: auto; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 14px 28px 14px 0; position: relative; font-size: 14.5px; }
.inf.blg .blog a::after { content: ""; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px; border-top: 1px solid var(--gold-d); border-right: 1px solid var(--gold-d); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 860px) { .inf.mag, .inf.blg { grid-template-columns: minmax(0, 1fr); } .inf.blg .blog { grid-row: auto; grid-column: 1; margin-top: 10px; } }

/* フッター：上下2段の列をそろえる */
.ft-nav { grid-template-columns: 1.2fr 1fr 1fr; }
@media (max-width: 860px) { .ft-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ft-nav { grid-template-columns: minmax(0, 1fr); } }

/* ══ 中のページ（10-25） ══ */
/* ロゴ：グループの印（名刺の右上） */
.logo .mark img { width: 44px; height: auto; display: block; }
/* ページの頭：パンくず・題名・ひとこと */
.ph { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 30px 0 44px; position: relative; overflow: hidden; }
.ph::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 1px solid rgba(184,150,74,.35); border-radius: 50%; pointer-events: none; }
.crumbs { margin: 0 0 22px; font-size: 12px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--gold); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--g-2); }
.ph-en { margin: 0 0 8px; font-family: var(--num); font-size: 13px; letter-spacing: .3em; color: var(--gold-d); }
.ph h1 { font-size: clamp(25px, 3.2vw, 36px); color: var(--g); letter-spacing: .08em; }
.ph-lead { margin: 16px 0 0; max-width: 46em; color: var(--ink-2); font-size: 15px; }
/* 本文と横の案内 */
.pg { padding: 56px 0 88px; }
.pg .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.pg.wide .wrap { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.side { position: sticky; top: 104px; display: grid; gap: 16px; }
.sd-cta { background: var(--g); color: #fff; padding: 24px 22px; }
.sd-cta p { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.6; text-align: left; }
.sd-cta p small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: #cfdcd5; margin-top: 4px; }
.sd-cta .btn { width: 100%; min-height: 54px; font-size: 15px; padding: 6px 14px; }
.sd-cta .btn + .btn { margin-top: 8px; }
.sd-cta .btn-tel { font-size: 22px; }
.sd-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.sd-nav { border: 1px solid var(--line); background: #fff; }
.sd-nav p { margin: 0; padding: 12px 18px; font-family: var(--serif); font-weight: 700; color: var(--g); border-bottom: 1px solid var(--line); background: var(--ivory); }
.sd-nav a { display: block; padding: 10px 18px 10px 30px; font-size: 13.5px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); position: relative; line-height: 1.6; }
.sd-nav a:last-child { border-bottom: 0; }
.sd-nav a::before { content: ""; position: absolute; left: 16px; top: 18px; width: 5px; height: 5px; border-top: 1px solid var(--gold-d); border-right: 1px solid var(--gold-d); transform: rotate(45deg); }
.sd-nav a[aria-current] { color: var(--g); font-weight: 700; background: var(--g-soft); }
/* 本文 */
.prose { font-size: 15.5px; line-height: 2.05; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(20px, 2.2vw, 25px); color: var(--g); margin: 56px 0 20px; padding: 0 0 12px; border-bottom: 1px solid var(--line); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--gold); }
.prose h3 { font-size: 18px; color: var(--g); margin: 34px 0 12px; padding-left: 14px; border-left: 3px solid var(--gold); line-height: 1.6; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--g); }
.prose a { text-underline-offset: 3px; }
.tbl { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14.5px; line-height: 1.8; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 12px 16px; vertical-align: top; text-align: left; }
.tbl th { background: var(--ivory); color: var(--g); font-weight: 700; }
.tbl thead th { background: var(--g); color: #fff; border-color: var(--g); }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-family: var(--num); font-size: 17px; color: var(--g); font-weight: 400; }
.tbl td.num small { font-family: var(--sans); font-size: 12px; color: var(--ink-2); }
.tbl tr.hl td, .tbl tr.hl th { background: var(--gold-soft); }
.tbl-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.tbl-wrap .tbl { margin: 0; min-width: 520px; }
.note { background: var(--ivory); border-left: 3px solid var(--gold); padding: 16px 20px; margin: 0 0 1.4em; font-size: 14px; line-height: 1.9; color: #2e3a34; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note b { color: var(--g); }
.small { font-size: 13px; color: var(--ink-2); }
/* 手続きの流れ（番号と担当） */
.flow { list-style: none; margin: 0 0 1.6em; padding: 0; counter-reset: st; }
.flow > li { counter-increment: st; position: relative; padding: 0 0 22px 64px; margin: 0; }
.flow > li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--num); font-size: 17px; color: var(--g); border: 1px solid var(--gold); background: #fff; }
.flow > li::after { content: ""; position: absolute; left: 22px; top: 48px; bottom: 4px; width: 1px; background: var(--line); }
.flow > li:last-child::after { display: none; }
.flow b { display: block; font-family: var(--serif); font-size: 16.5px; color: var(--g); line-height: 1.6; padding-top: 9px; }
.flow .who { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 700; padding: 0 8px; margin-left: 8px; vertical-align: 2px; border: 1px solid var(--g-3); color: var(--g-3); letter-spacing: .08em; }
.flow .who.c { border-color: var(--gold); color: var(--gold-d); }
.flow p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
/* よくあるご質問 */
.qa { border: 1px solid var(--line); background: #fff; margin: 0 0 10px; }
.qa summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 58px; position: relative; font-family: var(--serif); font-weight: 700; color: var(--g); line-height: 1.7; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; position: absolute; left: 18px; top: 13px; font-family: var(--num); font-size: 22px; color: var(--gold); font-weight: 400; }
.qa summary::after { content: "+"; position: absolute; right: 20px; top: 13px; font-size: 22px; color: var(--g-3); font-family: var(--sans); font-weight: 300; }
.qa[open] summary::after { content: "−"; }
.qa .a { padding: 0 24px 18px 58px; position: relative; font-size: 14.5px; line-height: 1.95; color: #2e3a34; }
.qa .a::before { content: "A"; position: absolute; left: 20px; top: -4px; font-family: var(--num); font-size: 22px; color: var(--g-3); }
.qa .a p:last-child, .qa .a ul:last-child, .qa .a .tbl:last-child { margin-bottom: 0; }
/* 料金の札（サービスのページ） */
.price-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; border: 1px solid var(--gold); background: #fff; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(184,150,74,.3); padding: 22px 28px; margin: 0 0 1.4em; }
.price-box p { margin: 0; text-align: left; }
.price-box .pb-h { font-family: var(--serif); font-weight: 700; color: var(--g); font-size: 17px; }
.price-box .pb-n { font-size: 12.5px; color: var(--ink-2); grid-column: 1; }
.price-box .pb-p { grid-row: 1 / 3; grid-column: 2; font-family: var(--num); font-size: 40px; color: var(--g); line-height: 1; white-space: nowrap; }
.price-box .pb-p small { font-family: var(--serif); font-size: .4em; color: var(--ink-2); margin-left: 2px; }
/* ページへの案内の札 */
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.6em; }
.links a { display: block; border: 1px solid var(--line); background: #fff; padding: 16px 20px; text-decoration: none; color: var(--ink); transition: border-color .2s ease; }
.links a:hover { border-color: var(--gold); }
.links b { display: block; font-family: var(--serif); color: var(--g); font-size: 16px; }
.links span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.75; margin-top: 4px; }
/* お客様の声（一覧） */
.vlist { display: grid; gap: 16px; }
.vlist .vc { grid-template-rows: auto auto; }
.vlist .vc p + p { margin-top: .8em; }
/* チェック表 */
.chk { list-style: none; padding: 0 !important; counter-reset: ck; }
.chk > li { counter-increment: ck; position: relative; padding: 12px 16px 12px 56px; border: 1px solid var(--line); margin: 0 0 -1px !important; background: #fff; }
.chk > li::before { content: counter(ck); position: absolute; left: 16px; top: 12px; width: 26px; height: 26px; border: 1px solid var(--g-3); display: grid; place-items: center; font-family: var(--num); font-size: 14px; color: var(--g); }
.chk ul { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
/* 事務所の地図 */
.maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 1.4em; }
.maps figure { margin: 0; }
.maps figcaption { font-family: var(--serif); font-weight: 700; color: var(--g); margin-bottom: 8px; }
.maps iframe { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); display: block; }
/* お問い合わせフォーム */
.fm { display: grid; gap: 22px; margin: 0 0 1.4em; }
.fm-row label, .fm-row .fm-l { display: block; font-weight: 700; color: var(--g); margin-bottom: 8px; font-size: 15px; }
.fm-row .req, .fm-row .opt { display: inline-block; font-size: 11px; padding: 0 8px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.fm-row .req { background: #b3261e; color: #fff; }
.fm-row .opt { border: 1px solid var(--line); color: var(--mute); }
.fm input[type=text], .fm input[type=email], .fm input[type=tel], .fm select, .fm textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfccc2; border-radius: var(--r); background: #fff; color: var(--ink); }
.fm textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.fm input:focus, .fm select:focus, .fm textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.fm-hint { font-size: 12.5px; color: var(--ink-2); margin: 6px 0 0; }
.fm-chk { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fm-chk label { font-weight: 400; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.fm-send { text-align: center; }
.fm-send .btn { min-width: 300px; border: 0; cursor: pointer; font-family: inherit; }
.fm-send .btn-main { background: var(--g); color: #fff; font-size: 17px; }
.fm-send .btn-main:hover { background: var(--g-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* サイトマップ */
.smap { columns: 2; column-gap: 40px; }
.smap > div { break-inside: avoid; margin: 0 0 24px; }
.smap p { margin: 0 0 6px; font-family: var(--serif); font-weight: 700; color: var(--g); }
.smap ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 1080px) {
  .pg .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .links, .maps { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: minmax(0, 1fr); }
  .price-box { grid-template-columns: minmax(0, 1fr); }
  .price-box .pb-p { grid-row: auto; grid-column: 1; font-size: 34px; }
  .smap { columns: 1; }
}
@media (max-width: 560px) {
  .ph { padding: 20px 0 30px; }
  .pg { padding: 36px 0 64px; }
  .prose { font-size: 15px; }
  .prose h2 { margin-top: 44px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .flow > li { padding-left: 54px; }
  .flow > li::before { width: 38px; height: 38px; font-size: 15px; }
  .flow > li::after { left: 19px; top: 42px; }
  .flow b { padding-top: 6px; }
  .qa summary { padding: 14px 40px 14px 48px; }
  .qa summary::before { left: 14px; }
  .qa .a { padding: 0 16px 16px 48px; }
  .qa .a::before { left: 16px; }
  .fm-send .btn { min-width: 0; width: 100%; }
}
/* 外国人の方への案内（トップの基礎知識の下） */
.topics { grid-template-columns: 190px repeat(3, minmax(0, 1fr)); }
.topics a:nth-of-type(3) { grid-column: 4; }
@media (max-width: 1080px) and (min-width: 861px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .topics > p { grid-column: 1 / -1; } .topics a, .topics a:nth-of-type(1), .topics a:nth-of-type(2), .topics a:nth-of-type(3) { grid-column: auto; grid-row: auto; } }
@media (max-width: 860px) { .topics { grid-template-columns: minmax(0, 1fr); } .topics a:nth-of-type(3) { grid-column: 1; grid-row: auto; } }
.pk-more { margin: auto 0 0 !important; padding-top: 14px; font-size: 13.5px !important; }
.pk-more a { font-weight: 700; }
.vlist.voices { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
@media (max-width: 860px) { .vlist.voices { grid-template-columns: minmax(0, 1fr); } }
/* 節の英字の小見出しを中央に（本文の左右そろえの設定が効いていたため） */
.sec-head .en, .sec-head p { text-align: center; text-align-last: center; }
/* トピックスの見出しは1行に */
.topics { grid-template-columns: 210px repeat(3, minmax(0, 1fr)); }
.tp-h { font-size: 19px; white-space: nowrap; }
.sec-head .en { margin-left: auto; margin-right: auto; }
@media (max-width: 560px) {
  .vc { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 22px 18px 18px; }
  .vc-ic { width: 48px; height: 48px; padding: 4px; }
  .vc b { font-size: 16px; }
}
/* 事務所紹介：プロフィールの写真（右に置き、本文を回り込ませる。スマホは上に） */
.prof-pic { float: right; width: 200px; margin: 6px 0 20px 32px; position: relative; }
.prof-pic::before { content: ""; position: absolute; inset: 10px -10px auto 10px; height: calc(100% - 52px); border: 1px solid var(--gold); }
.prof-pic img { position: relative; width: 100%; }
.prof-pic figcaption { margin-top: 12px; font-family: var(--serif); font-weight: 700; color: var(--g); font-size: 15px; line-height: 1.6; text-align: center; }
.prof-pic small { font-family: var(--sans); font-weight: 400; font-size: 11.5px; color: var(--ink-2); }
.prose h2:has(+ .prof-pic) ~ h3 { clear: none; }
.prose h2 { clear: both; }
@media (max-width: 560px) { .prof-pic { float: none; width: 180px; margin: 0 auto 24px; } }
/* メールマガジンの帯：左の英字と見出しのかたまり・説明文・ボタンの中心をそろえる（2段を同じ高さに） */
.inf.mag { grid-template-rows: 1fr 1fr; }
@media (max-width: 860px) { .inf.mag { grid-template-rows: none; } }
.inf.mag .inf-en { grid-row: 1; }
.inf.mag h3 { grid-row: 2; }
@media (max-width: 860px) { .inf.mag .inf-en, .inf.mag h3 { grid-row: auto; } }
/* プロフィールの写真：金の枠は写真だけに（名前に線がかからないように） */
.prof-pic::before { display: none; }
.prof-pic img { box-shadow: 10px 10px 0 -1px #fff, 10px 10px 0 0 var(--gold); margin-bottom: 10px; }
.prof-pic figcaption { margin-top: 14px; }
/* リンク集：2列の一覧（名前と説明） */
.lk { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.lk li { margin: 0 !important; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.lk a { font-weight: 700; font-size: 14.5px; }
.lk span { display: block; font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 860px) { .lk { grid-template-columns: minmax(0, 1fr); } }
/* 最初の画面の小見出し：スマホで「専／門」と折れないように、2つを行ごとに分ける */
@media (max-width: 560px) { .eyebrow { flex-wrap: wrap; gap: 2px 10px; } .eyebrow span { white-space: nowrap; } .eyebrow::before { display: none; } }
