/* ゆいの木税理士事務所（税理士デモ）
   白 × 深い緑 × 木の色。見出し M PLUS 1p（太め）／本文 BIZ UDPGothic
   あしらい: 木の葉の印・年輪の同心円・帳簿の方眼と締め線（二重線）
   動き: 最初の画面の写真と帯／図解 Z-1 の輪が月ごとに色づく／Z-3 の丸が順に出る。ほかはふわっと出るだけ */

:root {
  --white: #ffffff;
  --green: #2F5D4A;
  --green-d: #1E3F31;
  --green-l: #E7EFEA;
  --green-m: #9DB8AA;
  --wood: #C9A27A;
  --wood-d: #8A6A45;
  --wood-l: #F4ECE2;
  --ink: #24302A;
  --sub: #5A6760;
  --rule: #D8E1DB;
  --head: "M PLUS 1p", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: clamp(15px, .3vw + 14px, 17px); line-height: 1.85; letter-spacing: .02em;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.45; letter-spacing: .02em; font-feature-settings: "palt"; margin: 0; color: var(--green-d); }
p { margin: 0 0 1em; }
h1, h2, h3, p, dt, dd, li, th, td, figcaption { word-break: auto-phrase; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.note { font-size: .84em; color: var(--sub); line-height: 1.7; }

/* 帳簿の方眼 */
.grid-paper {
  background-color: #FAFCFA;
  background-image:
    linear-gradient(rgba(47, 93, 74, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 93, 74, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 24px; border-radius: 4px;
  font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.3;
  text-decoration: none; border: 2px solid var(--green); transition: background-color .2s, color .2s;
}
.btn--g { background: var(--green); color: #fff; }
.btn--g:hover { background: var(--green-d); border-color: var(--green-d); }
.btn--line { background: #fff; color: var(--green); }
.btn--line:hover { background: var(--green-l); }
.btn--lg { min-height: 58px; padding: 14px 40px; font-size: 17px; }

.more { margin-top: 28px; font-family: var(--head); font-weight: 700; }
.more a { text-decoration: none; border-bottom: 1px solid var(--wood); padding-bottom: 3px; }
.more a:hover { color: var(--green-d); border-bottom-color: var(--green); }
.more--c { text-align: center; }

/* ---------- 見出し（左に木の葉、下に帳簿の締め線） ---------- */
.h2 { position: relative; display: flex; align-items: center; gap: 12px; font-size: clamp(23px, 1.4vw + 16px, 33px); margin-bottom: 34px; padding-bottom: 16px; }
.h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 5px;
  border-top: 1.5px solid var(--wood); border-bottom: 1.5px solid var(--wood); transform-origin: left;
}
.h2__leaf { width: .72em; height: .72em; color: var(--green); flex: none; }
.h2--c { justify-content: center; text-align: center; }
.h2--c::after { left: 50%; margin-left: -36px; transform-origin: center; }
.h2--s { font-size: clamp(19px, .8vw + 15px, 24px); margin-bottom: 22px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--rule); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.hd__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-d); }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__words { display: flex; flex-direction: column; line-height: 1.2; }
.logo__area { font-size: 11px; color: var(--sub); letter-spacing: .1em; margin-bottom: 3px; }
.logo__name { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: .04em; font-feature-settings: "palt"; white-space: nowrap; }
.logo__name span { font-size: .66em; margin-left: .2em; letter-spacing: .08em; }
.demo { font-size: 10px; letter-spacing: .12em; color: var(--green); border: 1px solid var(--green-m); background: var(--green-l); padding: 1px 6px; border-radius: 2px; line-height: 1.5; }
.hd__act { display: flex; align-items: center; gap: 22px; }
.hd__tel { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--green-d); line-height: 1.25; }
.hd__num { display: flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: .03em; }
.hd__num svg { width: 18px; height: 18px; color: var(--wood); }
.hd__tel small { font-size: 12px; color: var(--sub); }
.gnav { border-top: 1px solid var(--rule); }
.gnav ul { display: flex; justify-content: flex-end; gap: 4px; }
.gnav a { display: block; position: relative; padding: 12px 16px 13px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 15px; }
.gnav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .3s var(--ease); }
.gnav a:hover::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--green); }
.gnav a[aria-current="page"]::after { transform: scaleX(1); }
.menu { display: none; }

@media (max-width: 1080px) {
  .hd__tel { display: none; }
}
@media (max-width: 860px) {
  .gnav, .hd__act { display: none; }
  .hd__in { min-height: 64px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 20px; }
  .menu { display: block; }
  .menu__btn { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 10px; letter-spacing: .12em; color: var(--green-d); padding: 8px 4px; min-width: 52px; min-height: 48px; justify-content: center; }
  .menu__btn::-webkit-details-marker { display: none; }
  .menu__bars { display: grid; gap: 6px; width: 26px; }
  .menu__bars i { display: block; height: 2px; background: var(--green-d); transition: transform .25s var(--ease); }
  .menu[open] .menu__bars i:first-child { transform: translateY(4px) rotate(35deg); }
  .menu[open] .menu__bars i:last-child { transform: translateY(-4px) rotate(-35deg); }
  .menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--rule); border-bottom: 3px double var(--wood); padding: 8px 24px 26px; box-shadow: 0 18px 30px rgba(30, 63, 49, .12); }
  .menu__panel li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; }
  .menu__panel li a[aria-current="page"] { color: var(--green); }
  .menu__panel li a[aria-current="page"]::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--wood); border-radius: 50% 0; margin-right: 10px; vertical-align: middle; }
  .menu__panel .btn { width: 100%; margin-top: 20px; }
  .menu__tel { display: flex; flex-direction: column; align-items: center; margin-top: 14px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--green-d); line-height: 1.3; }
  .menu__tel small { font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--sub); }
}
@media (max-width: 400px) {
  .logo__area { font-size: 10px; }
  .logo__name { font-size: 18px; }
  .demo { font-size: 9px; padding: 0 4px; }
}

/* ---------- 最初の画面 ---------- */
.hero { position: relative; padding-bottom: 56px; overflow: clip; }
.hero__ph { margin-left: 33%; aspect-ratio: 3 / 2; max-height: calc(100svh - 170px); min-height: 380px; overflow: hidden; background: var(--green-l); }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__rings { position: absolute; left: -120px; top: -150px; width: 560px; height: 560px; color: var(--wood); opacity: .35; pointer-events: none; }
.hero__band {
  position: absolute; left: max(24px, calc((100% - var(--wrap)) / 2)); bottom: 0;
  width: min(560px, 44%); background: #fff; padding: 40px 36px 40px 0;
}
.hero__band::before { content: ""; position: absolute; right: 100%; top: 0; bottom: 0; width: 100vw; background: #fff; }
.hero__h { font-size: min(30px, 2.1vw); line-height: 1.55; letter-spacing: .01em; margin-bottom: 20px; color: var(--green-d); }
.hero__h span { display: block; white-space: nowrap; }
.hero__h span:last-child { color: var(--green); }
.hero__h span:last-child::after { content: ""; display: block; width: 4.6em; height: 6px; margin-top: 10px; border-top: 1.5px solid var(--wood); border-bottom: 1.5px solid var(--wood); }
.hero__lead { font-size: 15.5px; color: var(--ink); line-height: 1.9; margin-bottom: 26px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.js .hero__ph img { animation: heroImg 1.4s var(--ease) both; }
.js .hero__band { animation: heroBand .9s var(--ease) .25s both; }
@keyframes heroImg { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes heroBand { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero__ph { margin-left: 28%; }
  .hero__band { width: 50%; }
  .hero__h { font-size: min(30px, 2.5vw); }
}
@media (max-width: 900px) {
  .hero { padding-bottom: 0; }
  .hero__ph { margin-left: 0; aspect-ratio: 16 / 10; max-height: none; min-height: 0; }
  .hero__ph img { object-position: 52% 18%; }
  .hero__band { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 24px 0; padding: 30px 28px 34px; box-shadow: 0 -1px 0 var(--rule); }
  .hero__band::before { display: none; }
  .hero__h { font-size: clamp(21px, 4.2vw, 32px); }
  .hero__rings { display: none; }
}
@media (max-width: 560px) {
  .hero__ph { aspect-ratio: 5 / 4; }
  .hero__band { margin: -40px 14px 0; padding: 22px 18px 28px; }
  .hero__h { font-size: clamp(17px, 5.1vw, 22px); line-height: 1.6; }
  .hero__h span { white-space: normal; }
  .hero__lead { font-size: 14.5px; }
  .hero__btns .btn { flex: 1 1 100%; }
}

/* ---------- お知らせ（帳簿の行） ---------- */
.news { padding: 30px 0 64px; }
.news__in { display: grid; grid-template-columns: 160px 1fr; gap: 24px; border-top: 4px double var(--green); padding-top: 22px; }
.news__h { font-size: 18px; color: var(--green-d); padding-top: 6px; }
.news__list li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.news__list time { font-family: var(--head); font-weight: 700; color: var(--wood-d); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.news__list p { margin: 0; }
@media (max-width: 700px) {
  .news__in { grid-template-columns: 1fr; gap: 6px; }
  .news__list li { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- こんな方 ---------- */
.who { padding: 84px 0 92px; }
.who__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--green-m); }
.who__list li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 6px; border-bottom: 1px solid var(--green-m); font-family: var(--head); font-weight: 700; font-size: clamp(16px, .5vw + 14px, 19px); line-height: 1.6; color: var(--green-d); background: rgba(255, 255, 255, .7); }
.who__list svg { width: 20px; height: 20px; color: var(--wood); flex: none; margin-top: .25em; }
.who__list li:nth-child(even) svg { color: var(--green); }
.who__voice { position: relative; margin: 46px 0 0 auto; max-width: 640px; padding: 26px 30px 24px 34px; background: #fff; border-left: 4px solid var(--wood); }
.who__voice p { font-size: 1.05em; }
.who__voice cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--sub); text-align: right; }
@media (max-width: 760px) {
  .who { padding: 60px 0 64px; }
  .who__list { grid-template-columns: 1fr; }
  .who__voice { margin-top: 32px; padding: 20px 20px 18px 22px; }
}

/* ---------- サービス（帳簿の列のように縦の罫で区切る） ---------- */
.svc { padding: 96px 0 92px; }
.svc__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 4px double var(--green); border-bottom: 1px solid var(--rule); }
.svc__list li { padding: 34px 26px 36px; border-left: 1px solid var(--rule); }
.svc__list li:first-child { border-left: 0; padding-left: 4px; }
.svc__ic { width: 46px; height: 46px; color: var(--green); margin-bottom: 18px; }
.svc__list li:nth-child(2n) .svc__ic { color: var(--wood-d); }
.svc__list h3 { font-size: 19px; margin-bottom: 10px; }
.svc__list p { font-size: .95em; color: var(--ink); }
@media (max-width: 960px) {
  .svc__list { grid-template-columns: 1fr 1fr; }
  .svc__list li:nth-child(3) { border-left: 0; padding-left: 4px; }
  .svc__list li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .svc { padding: 64px 0; }
  .svc__list { grid-template-columns: 1fr; }
  .svc__list li { border-left: 0; padding: 24px 4px 26px; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; }
  .svc__list li + li { border-top: 1px solid var(--rule); }
  .svc__ic { grid-row: span 2; margin: 2px 0 0; width: 42px; height: 42px; }
  .svc__list h3 { margin-bottom: 4px; }
}

/* ---------- 料金の目安（トップ） ---------- */
.fee { padding: 88px 0; background: var(--green-l); }
.fee__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .fee { padding: 60px 0; } .fee__in { grid-template-columns: 1fr; gap: 28px; } }

/* 帳簿の表 */
.ledger { width: 100%; border-collapse: collapse; background: #fff; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger thead th { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--green-d); background: #F7FAF8; border-bottom: 1.5px solid var(--green); }
.ledger tbody th { font-weight: 700; color: var(--ink); }
.ledger tbody tr:last-child th, .ledger tbody tr:last-child td { border-bottom: 4px double var(--green); }
.ledger td small, .ledger th small { display: block; font-weight: 400; font-size: 13px; color: var(--sub); }
.fee__tbl td { text-align: right; font-size: 18px; white-space: nowrap; }
.fee__tbl thead th:last-child { text-align: right; }
.fee__tbl td b { font-family: var(--head); font-weight: 800; font-size: 30px; color: var(--green); margin-right: 2px; letter-spacing: .02em; }
@media (max-width: 480px) {
  .ledger th, .ledger td { padding: 13px 12px; }
  .fee__tbl td b { font-size: 24px; }
  .fee__tbl td { font-size: 15px; }
}

/* ---------- 事務所について（トップ） ---------- */
.office { position: relative; padding: 100px 0; overflow: clip; }
.office__rings { position: absolute; right: -200px; top: 40px; width: 620px; height: 620px; color: var(--wood); opacity: .3; pointer-events: none; }
.office__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-right: max(24px, calc((100% - var(--wrap)) / 2)); }
.office__ph { aspect-ratio: 3 / 2; overflow: hidden; }
.office__ph img { width: 100%; height: 100%; object-fit: cover; }
.office__txt { max-width: 520px; }
@media (max-width: 860px) {
  .office { padding: 64px 0; }
  .office__in { grid-template-columns: 1fr; gap: 30px; padding-right: 0; }
  .office__ph { margin-right: 24px; }
  .office__txt { width: calc(100% - 48px); margin-inline: auto; max-width: none; }
}

/* ---------- よく聞かれること（トップ） ---------- */
.ask { padding: 92px 0; background: var(--wood-l); }
.ask__list { border-top: 1px solid rgba(138, 106, 69, .35); }
.ask__list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; padding: 26px 0; border-bottom: 1px solid rgba(138, 106, 69, .35); }
.ask__list dt { font-family: var(--head); font-weight: 800; font-size: clamp(16px, .5vw + 14px, 19px); color: var(--green-d); line-height: 1.6; }
.ask__list dd { margin: 0; }
@media (max-width: 760px) {
  .ask { padding: 60px 0; }
  .ask__list > div { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}

/* ---------- ご相談の流れ（トップ） ---------- */
.steps { padding: 92px 0 100px; }
.steps__txt { text-align: center; margin-top: 30px; }
.steps__cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.steps__tel { font-size: 14px; color: var(--sub); }
.steps__tel a { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--green-d); text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .steps { padding: 60px 0 68px; } .steps__cta .btn { width: 100%; } }

/* ---------- 図解 Z-3（丸を左から右へ） ---------- */
.z3 { position: relative; max-width: 1000px; margin: 0 auto; padding-top: 44px; }
.z3__list { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; counter-reset: s; }
.z3__list::before { content: ""; position: absolute; top: 38px; left: 10%; right: 10%; height: 2px; background: var(--green-m); transform-origin: left; }
.z3--small .z3__list::before { left: 12.5%; right: 12.5%; }
.z3__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.z3__dot { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: #fff; border: 2px solid var(--green); margin-bottom: 14px; position: relative; }
.z3__n { font-family: var(--head); font-weight: 800; font-size: 28px; color: var(--green); line-height: 1; }
.z3__t { font-family: var(--head); font-weight: 800; font-size: 16px; color: var(--green-d); line-height: 1.5; }
.z3__s { font-size: 13.5px; color: var(--sub); line-height: 1.6; margin-top: 4px; }
.z3--full .z3__t { font-size: 15px; }
.z3__step:nth-child(-n+2) .z3__dot { background: var(--green); }
.z3__step:nth-child(-n+2) .z3__n { color: #fff; }
.z3__free { position: absolute; top: 0; left: 0; margin: 0; display: flex; justify-content: center; }
.z3--full .z3__free { width: calc((100% - 48px) / 5 * 2 + 12px); }
.z3--small .z3__free { width: calc((100% - 36px) / 4 * 2 + 12px); }
.z3__free span { position: relative; display: block; width: 100%; text-align: center; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--wood-d); padding-bottom: 6px; border-bottom: 2px solid var(--wood); }
.z3__free span::before, .z3__free span::after { content: ""; position: absolute; bottom: -8px; width: 2px; height: 8px; background: var(--wood); }
.z3__free span::before { left: 18%; } .z3__free span::after { right: 18%; }
.z3--full .z3__free span::before { left: 20%; } .z3--full .z3__free span::after { right: 20%; }
.anim .z3.rv .z3__list::before { transition: transform 1s var(--ease) .2s; }
.anim .z3.rv:not(.in) .z3__list::before { transform: scaleX(0); }
.anim .z3.rv .z3__step { transition: opacity .5s ease, transform .5s var(--ease); transition-delay: calc(var(--i) * .16s + .1s); }
.anim .z3.rv:not(.in) .z3__step { opacity: 0; transform: translateY(12px); }
.anim .z3.rv .z3__free { transition: opacity .5s ease .9s; }
.anim .z3.rv:not(.in) .z3__free { opacity: 0; }
@media (max-width: 760px) {
  .z3 { padding-top: 0; max-width: 420px; }
  .z3__list { grid-auto-flow: row; gap: 0; }
  .z3__list::before { top: 30px; bottom: 30px; left: 30px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .anim .z3.rv:not(.in) .z3__list::before { transform: scaleY(0); }
  .z3__step { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 8px 0; }
  .z3__dot { width: 60px; height: 60px; margin: 0; grid-row: span 2; }
  .z3__n { font-size: 22px; }
  .z3__s { margin-top: 0; }
  .z3__free { position: absolute; top: 4px; bottom: auto; left: auto; right: 0; width: auto !important; height: calc(var(--fh, 152px)); }
  .z3--small .z3__free, .z3--full .z3__free { --fh: 152px; }
  .z3__free span { writing-mode: vertical-rl; border-bottom: 0; border-left: 2px solid var(--wood); padding: 0 0 0 6px; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .15em; }
  .z3__free span::before, .z3__free span::after { left: -8px; right: auto; width: 8px; height: 2px; bottom: auto; }
  .z3__free span::before { top: 22%; } .z3__free span::after { bottom: 22%; top: auto; }
  .z3--full .z3__free span::before { left: -8px; top: 22%; } .z3--full .z3__free span::after { right: auto; left: -8px; bottom: 22%; }
  .z3__step { padding-right: 34px; }
}

/* ---------- 下層ページの頭 ---------- */
.crumb { padding: 14px 0 0; font-size: 13px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px; color: var(--sub); }
.crumb li + li::before { content: "›"; margin: 0 8px; color: var(--wood); }
.crumb a { color: var(--sub); }
.phead { position: relative; overflow: clip; }
.phead__h { font-size: clamp(28px, 2.4vw + 16px, 46px); margin-bottom: 20px; }
.phead__lead { font-size: 1.03em; max-width: 46em; }
.phead--grid { padding: 54px 0 64px; margin-top: 14px; border-top: 1px solid var(--rule); border-bottom: 4px double var(--green); }
.phead--grid { background-color: #FAFCFA; background-image: linear-gradient(rgba(47, 93, 74, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 93, 74, .07) 1px, transparent 1px); background-size: 22px 22px; }
.phead__rings { position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; color: var(--wood); opacity: .45; pointer-events: none; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; position: relative; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px 8px 12px; background: #fff; border: 1px solid var(--green-m); border-radius: 4px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 14.5px; color: var(--green-d); }
.jump a:hover { border-color: var(--green); background: var(--green-l); }
.jump svg { width: 26px; height: 26px; color: var(--green); }

.phead--split { padding: 40px 0 70px; }
.phead__split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: end; }
.phead__split > div { padding-bottom: 8px; border-bottom: 4px double var(--green); padding-bottom: 30px; }
.phead__ph { aspect-ratio: 16 / 10; overflow: hidden; }
.phead__ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .phead__split { grid-template-columns: 1fr; gap: 28px; }
  .phead__ph { order: -1; }
}

.phead--photo { margin-top: 14px; }
.phead__wide { aspect-ratio: 1440 / 520; overflow: hidden; background: var(--green-l); }
.phead__wide img { width: 100%; height: 100%; object-fit: cover; }
.phead__h--tab { display: inline-block; position: relative; margin: -46px 0 0; padding: 22px 40px 14px 0; background: #fff; }
.phead__h--tab::before { content: ""; position: absolute; right: 100%; top: 0; bottom: 0; width: 100vw; background: #fff; }
@media (max-width: 760px) { .phead__wide { aspect-ratio: 4 / 3; } .phead__h--tab { margin-top: -34px; padding: 16px 24px 4px 0; } }

.phead--room { margin-top: 14px; }
.phead__bg { aspect-ratio: 1440 / 460; overflow: hidden; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.phead__card { position: relative; margin-top: -90px; background: #fff; padding: 34px 40px 30px; max-width: 640px; margin-left: max(24px, calc((100% - var(--wrap)) / 2)); border-top: 4px double var(--green); }
@media (max-width: 760px) { .phead__bg { aspect-ratio: 16 / 10; } .phead__card { margin: -40px 14px 0; padding: 24px 20px 20px; width: auto; } }

.phead--contact { padding-bottom: 54px; }

/* ---------- サービス ---------- */
.sv { padding: 88px 0; }
.sv__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.sv__in--ph { align-items: center; }
.sv__in--rev { align-items: center; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.sv__ph { overflow: hidden; }
.sv__ph--sq { aspect-ratio: 5 / 4; }
.sv__ph img { width: 100%; height: 100%; object-fit: cover; }
.sv__narrow { max-width: 760px; }
.sv--komon { padding-top: 80px; }
.incl { background: var(--green-l); padding: 30px 32px; border-top: 4px double var(--green); }
.incl__h { font-family: var(--head); font-weight: 800; color: var(--green-d); font-size: 17px; margin-bottom: 12px; }
.incl li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px dashed var(--green-m); }
.incl li:last-child { border-bottom: 0; }
.incl li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.sv--talk { background: var(--wood-l); }
.sv--kessan { padding-bottom: 96px; }
.sv--kakutei { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) {
  .sv { padding: 60px 0; }
  .sv__in, .sv__in--rev { grid-template-columns: 1fr; gap: 28px; }
  .sv__in--rev .sv__ph { order: 2; }
  .incl { padding: 22px 20px; }
}

/* ---------- 図解 Z-1（12か月の輪） ---------- */
.year { padding: 92px 0 100px; border-top: 1px solid var(--rule); }
.year__lead { text-align: center; max-width: 44em; margin: 0 auto 44px; }
.z1__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px) minmax(0, 1fr); grid-template-rows: repeat(6, auto); column-gap: 28px; row-gap: 10px; align-items: center; }
.z1__ring { grid-column: 2; grid-row: 1 / 7; width: 100%; height: auto; overflow: visible; }
.z1__tags { display: contents; }
.z1__tag { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--green); border-radius: 3px; font-size: 14px; line-height: 1.6; }
.z1__tag.is-meet { border-left-color: var(--wood); background: var(--wood-l); }
.z1__tag.is-close { border-left-color: var(--green-d); background: var(--green-l); }
.z1__tm { flex: none; min-width: 3.2em; font-family: var(--head); font-weight: 800; color: var(--green); font-size: 15px; }
.z1__tag.is-meet .z1__tm { color: var(--wood-d); }
.z1__tt { flex: 1; }
.z1__dl { display: block; font-weight: 700; color: var(--green-d); }
.z1__tag--t1 { grid-column: 3; grid-row: 1; } .z1__tag--t2 { grid-column: 3; grid-row: 2; }
.z1__tag--t3 { grid-column: 3; grid-row: 3; } .z1__tag--t4 { grid-column: 3; grid-row: 4; }
.z1__tag--t5 { grid-column: 3; grid-row: 5; } .z1__tag--t6 { grid-column: 3; grid-row: 6; }
.z1__tag--t9 { grid-column: 1; grid-row: 1 / 3; } .z1__tag--t8 { grid-column: 1; grid-row: 3; }
.z1__tag--t7 { grid-column: 1; grid-row: 5 / 7; }
.z1__tag--t7, .z1__tag--t8, .z1__tag--t9 { flex-direction: row-reverse; text-align: right; border-left: 1px solid var(--rule); border-right: 4px solid var(--green); }
.z1__base { fill: #EEF2EF; }
.z1__seg { fill: #CFDCD4; }
.z1__seg--task { fill: var(--green); }
.z1__seg--meet { fill: var(--wood); }
.z1__seg--close { fill: var(--green-d); }
.z1__m { font-family: var(--head); font-weight: 800; font-size: 19px; text-anchor: middle; fill: var(--green-d); }
.z1__m tspan { font-size: 11px; }
.z1__m--on { fill: #fff; }
.z1__inner { fill: none; stroke: var(--green-m); stroke-width: 1.2; stroke-dasharray: 3 5; }
.z1__dot { fill: var(--wood); }
.z1__c1 { font-family: var(--body); font-size: 12.5px; text-anchor: middle; fill: var(--sub); }
.z1__c2 { font-family: var(--head); font-weight: 800; font-size: 24px; text-anchor: middle; fill: var(--green); }
.z1__c3 { font-family: var(--head); font-weight: 800; font-size: 16.5px; text-anchor: middle; fill: var(--green-d); }
.z1 .note { text-align: center; margin-top: 30px; }
.anim .z1.rv .z1__seg, .anim .z1.rv .z1__m--on, .anim .z1.rv .z1__dot { transition: opacity .45s ease; transition-delay: calc(var(--i, 0) * .17s + .2s); }
.anim .z1.rv:not(.in) .z1__seg, .anim .z1.rv:not(.in) .z1__dot { opacity: 0; }
.anim .z1.rv .z1__tag { transition: opacity .5s ease .4s, transform .5s var(--ease) .4s; }
.anim .z1.rv:not(.in) .z1__tag { opacity: 0; transform: translateY(8px); }
@media (max-width: 1000px) {
  .z1__grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 10px; }
  .z1__ring { grid-column: 1; grid-row: auto; max-width: 400px; margin: 0 auto 18px; }
  .z1__tags { display: grid; gap: 10px; max-width: 620px; margin: 0 auto; width: 100%; }
  .z1__tag { grid-column: auto !important; grid-row: auto !important; }
  .z1__tag--t7, .z1__tag--t8, .z1__tag--t9 { flex-direction: row; text-align: left; border-right: 1px solid var(--rule); border-left: 4px solid var(--green); }
}
@media (max-width: 560px) { .year { padding: 60px 0 68px; } .z1__ring { max-width: 320px; } }

/* ---------- 図解 Z-4（開業したときの届け出） ---------- */
.z4 { margin-top: 48px; }
.z4__title { font-family: var(--head); font-weight: 800; color: var(--green-d); font-size: 17px; margin-bottom: 18px; }
.z4__board { background: #fff; border: 1px solid var(--rule); border-top: 4px double var(--green); padding: 26px 24px 22px; }
.z4__row { display: grid; grid-template-columns: 180px repeat(3, minmax(0, 1fr)); column-gap: 14px; }
.z4__lab { margin: 0; font-family: var(--head); font-weight: 800; color: #fff; background: var(--green); border-radius: 3px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 15px; }
.z4__row--dn .z4__lab { background: var(--wood-d); }
.z4__row ul { display: contents; }
.z4__tag { grid-column: var(--c); grid-row: auto; display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--green-m); border-radius: 3px; background: #FAFCFA; font-size: 14px; line-height: 1.55; margin-bottom: 8px; position: relative; }
.z4__row--dn .z4__tag { border-color: rgba(138, 106, 69, .45); background: #FCFAF6; }
.z4__tag b { color: var(--green-d); }
.z4__tag em { font-style: normal; font-size: 12.5px; color: var(--sub); }
.z4__tag span { margin-top: 4px; font-weight: 700; color: var(--wood-d); font-size: 13.5px; }
.z4__row--up { grid-template-rows: auto auto; align-items: end; }
.z4__row--up .z4__lab { grid-row: 1 / 3; align-self: stretch; margin-bottom: 8px; }
.z4__row--up .z4__tag:nth-child(1) { grid-row: 1; } .z4__row--up .z4__tag:nth-child(2) { grid-row: 2; } .z4__row--up .z4__tag:nth-child(3) { grid-row: 2; }
.z4__row--dn { margin-top: 0; align-items: start; }
.z4__row--dn .z4__lab { align-self: stretch; margin-top: 8px; }
.z4__row--dn .z4__tag { margin: 8px 0 0; }
.z4__axis { position: relative; display: grid; grid-template-columns: 180px repeat(3, minmax(0, 1fr)); column-gap: 14px; height: 44px; margin: 6px 0; }
.z4__axis::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: var(--green); transform-origin: left; }
.z4__axis::after { content: ""; position: absolute; right: -2px; top: calc(50% - 6px); border: 7.5px solid transparent; border-left: 10px solid var(--green); border-right: 0; }
.z4__start { grid-column: 1; position: relative; align-self: center; justify-self: start; background: var(--green-d); color: #fff; font-family: var(--head); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 3px; line-height: 1.4; z-index: 1; }
.z4__start small { display: block; font-size: 10.5px; font-weight: 700; }
.z4__tick { grid-column: var(--c); position: relative; justify-self: end; align-self: center; font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--green-d); background: #fff; border: 2px solid var(--green); border-radius: 99px; padding: 1px 10px; z-index: 1; }
.z4 .note { margin-top: 14px; }
.anim .z4.rv .z4__axis::before { transition: transform 1.1s var(--ease) .2s; }
.anim .z4.rv:not(.in) .z4__axis::before { transform: scaleX(0); }
.anim .z4.rv .z4__tag { transition: opacity .5s ease .6s, transform .5s var(--ease) .6s; }
.anim .z4.rv:not(.in) .z4__tag { opacity: 0; transform: translateY(8px); }
@media (max-width: 900px) {
  .z4__board { padding: 20px 16px; }
  .z4__axis { display: none; }
  .z4__row, .z4__row--up, .z4__row--dn { display: block; }
  .z4__row + .z4__row { margin-top: 22px; }
  .z4__row ul { display: block; border-left: 3px solid var(--green); margin-left: 10px; padding: 4px 0 0 16px; }
  .z4__row--dn ul { border-left-color: var(--wood-d); }
  .z4__lab { display: inline-flex; padding: 6px 14px; margin: 0 !important; }
  .z4__tag { margin: 10px 0 0 !important; }
  .z4__tag::before { content: ""; position: absolute; left: -23px; top: 18px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
  .z4__row--dn .z4__tag::before { border-color: var(--wood-d); }
}

/* ---------- 料金 ---------- */
.pr { padding: 88px 0; }
.pr--hayami { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pr__in > .ledger { margin-bottom: 64px; }
.pr__two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 18px; }
.ledger--wide td { text-align: right; font-size: 18px; font-family: var(--head); font-weight: 700; color: var(--green-d); }
.ledger--wide thead th { text-align: right; }
.ledger--wide thead th:first-child { text-align: left; }
.ledger--kv td { text-align: right; font-weight: 700; color: var(--green-d); white-space: nowrap; }
.ledger--kv thead th:last-child { text-align: right; }
.ledger--kv td small { font-weight: 400; }
.pr--ex { padding-top: 0; }
.exbox { border: 1px solid var(--rule); border-left: 4px solid var(--wood); padding: 32px 36px; background: #fff; max-width: 820px; }
.exbox .h2 { font-size: 22px; margin-bottom: 18px; padding-bottom: 12px; }
@media (max-width: 860px) {
  .pr { padding: 60px 0; }
  .pr__two { grid-template-columns: 1fr; gap: 44px; }
  .ledger--wide thead { display: none; }
  .ledger--wide, .ledger--wide tbody, .ledger--wide tr { display: block; }
  .ledger--wide tr { border-bottom: 4px double var(--green); margin-bottom: 18px; }
  .ledger--wide tbody th { display: block; background: var(--green); color: #fff; font-family: var(--head); border: 0 !important; }
  .ledger--wide td { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule) !important; }
  .ledger--wide td::before { content: attr(data-th); font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--sub); text-align: left; }
  .ledger--wide tr td:last-child { border-bottom: 0 !important; }
  .exbox { padding: 24px 20px; }
}
@media (max-width: 480px) { .ledger--kv th, .ledger--kv td { display: block; text-align: left; border-bottom: 0; } .ledger--kv td { padding-top: 0; border-bottom: 1px solid var(--rule); } .ledger--kv thead { display: none; } .ledger--kv tbody tr:last-child th { border-bottom: 0; } }

/* 図解 Z-2（料金の早見の木） */
.z2 { max-width: 1040px; margin: 0 auto; }
.z2__head { text-align: center; font-family: var(--head); font-weight: 800; font-size: 15px; color: var(--wood-d); margin-bottom: 18px; }
.z2__tree { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.z2__branch { position: relative; }
.z2__root { position: relative; margin: 0 auto 36px; display: flex; justify-content: center; }
.z2__root span { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 18px; color: #fff; background: var(--green); padding: 12px 28px; border-radius: 4px; position: relative; z-index: 1; }
.z2__branch[data-kind="hojin"] .z2__root span { background: var(--wood-d); }
.z2__root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 18px; background: var(--green-m); }
.z2__leaves { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.z2__leaves::before { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: -18px; height: 2px; background: var(--green-m); }
.z2__leaves li { position: relative; }
.z2__leaves li::before { content: ""; position: absolute; left: 50%; top: -18px; width: 2px; height: 18px; background: var(--green-m); }
.z2__leaf { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 8px 16px; background: #fff; border: 1.5px solid var(--green-m); border-radius: 4px; font: inherit; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s; }
.z2__leaf:hover { border-color: var(--green); }
.z2__sale { font-size: 13px; line-height: 1.5; color: var(--sub); }
.z2__amt { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--green-d); line-height: 1.2; letter-spacing: .02em; }
.z2__leaf[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.z2__leaf[aria-pressed="true"] .z2__sale, .z2__leaf[aria-pressed="true"] .z2__amt { color: #fff; }
.z2__branch[data-kind="hojin"] .z2__leaf[aria-pressed="true"] { background: var(--wood-d); border-color: var(--wood-d); }
.z2__plus { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; margin: 34px auto 0; padding: 14px 22px; max-width: 560px; background: var(--wood-l); border: 1px dashed var(--wood); border-radius: 4px; }
.z2__plus b { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--wood-d); }
.z2 .note { text-align: center; margin-top: 16px; }
.anim .z2.rv .z2__leaves li { transition: opacity .5s ease, transform .5s var(--ease); }
.anim .z2.rv .z2__leaves li:nth-child(2) { transition-delay: .1s; }
.anim .z2.rv .z2__leaves li:nth-child(3) { transition-delay: .2s; }
.anim .z2.rv:not(.in) .z2__leaves li { opacity: 0; transform: translateY(-10px); }
@media (max-width: 860px) {
  .z2__tree { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 520px) {
  .z2__root { justify-content: flex-start; margin-bottom: 0; }
  .z2__root::after { display: none; }
  .z2__leaves { grid-template-columns: 1fr; gap: 8px; margin-left: 16px; padding: 14px 0 0 18px; border-left: 2px solid var(--green-m); }
  .z2__leaves::before { display: none; }
  .z2__leaves li::before { left: -18px; top: 50%; width: 18px; height: 2px; }
  .z2__leaf { flex-direction: row; padding: 12px 16px; }
  .z2__amt { font-size: 19px; }
}

/* ---------- 事務所について ---------- */
.person { padding: 92px 0; }
.person__in { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.person__in--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; }
.person__ph { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person__ph::after { content: ""; position: absolute; left: 14px; right: -14px; bottom: -14px; height: 14px; }
.person__role { font-size: 14px; color: var(--wood-d); font-weight: 700; margin-bottom: 4px; }
.person__name { font-size: clamp(28px, 1.6vw + 18px, 38px); margin-bottom: 26px; padding-bottom: 16px; border-bottom: 4px double var(--wood); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.person__name small { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--sub); letter-spacing: .1em; }
.person__last { font-weight: 700; color: var(--green-d); background: var(--green-l); padding: 16px 20px; border-radius: 3px; }
.person--staff { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) {
  .person { padding: 60px 0; }
  .person__in, .person__in--rev { grid-template-columns: 1fr; gap: 30px; }
  .person__ph { max-width: 420px; }
  .person__in--rev .person__ph { order: -1; max-width: 300px; }
}

.value { padding: 92px 0; }
.value__list { border-top: 1px solid var(--green); counter-reset: v; }
.value__list li { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.value__n { font-family: var(--head); font-weight: 800; font-size: 46px; line-height: 1; color: var(--wood); }
.value__list h3 { font-size: clamp(18px, .6vw + 15px, 22px); margin-bottom: 8px; }
@media (max-width: 560px) { .value { padding: 60px 0; } .value__list li { grid-template-columns: 44px 1fr; gap: 14px; } .value__n { font-size: 32px; } }

.career { padding: 0 0 96px; }
.career__list { max-width: 820px; }
.career__list { position: relative; padding-left: 26px; }
.career__list::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: var(--green-m); }
.career__list li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 12px 0; }
.career__list li::before { content: ""; position: absolute; left: -26px; top: 21px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--wood); }
.career__list li:last-child::before { background: var(--green); border-color: var(--green); }
.career__list span { font-family: var(--head); font-weight: 800; color: var(--green); }
.career__list p { margin: 0; }
@media (max-width: 560px) { .career { padding-bottom: 64px; } .career__list li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- ご相談の流れ・よくある質問 ---------- */
.flow { padding: 84px 0 92px; }
.flow__list { max-width: 860px; margin: 64px auto 0; }
.flow__step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--rule); }
.flow__step:last-child { border-bottom: 4px double var(--green); }
.flow__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--green); font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--green); }
.flow__step:nth-child(-n+2) .flow__n { background: var(--green); color: #fff; }
.flow__body h3 { font-size: 20px; margin: 8px 0 8px; }
.flow__ph { margin-top: 20px; max-width: 400px; aspect-ratio: 3 / 2; overflow: hidden; }
.flow__ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .flow { padding: 56px 0 64px; } .flow__step { grid-template-columns: 44px 1fr; gap: 14px; } .flow__n { width: 42px; height: 42px; font-size: 18px; } .flow__body h3 { font-size: 18px; margin-top: 6px; } }

.faq { padding: 88px 0 96px; border-top: 1px solid var(--rule); }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq__item { padding: 24px 0; border-top: 1px solid var(--green-m); }
.faq__item dt { display: flex; gap: 12px; font-family: var(--head); font-weight: 800; color: var(--green-d); font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.faq__item dd { display: flex; gap: 12px; margin: 0; background: rgba(255, 255, 255, .85); padding: 14px 16px; border-radius: 3px; }
.faq__q, .faq__a { flex: none; font-family: var(--head); font-weight: 800; font-size: 18px; line-height: 1.5; }
.faq__q { color: var(--green); }
.faq__a { color: var(--wood-d); }
@media (max-width: 860px) { .faq { padding: 60px 0 64px; } .faq__list { grid-template-columns: 1fr; } }

/* ---------- お問い合わせ ---------- */
.ct { padding: 72px 0 92px; }
.ct__in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.form__row { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.form__row > label, .form__row legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--green-d); }
.req { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--wood-d); padding: 1px 7px; border-radius: 2px; line-height: 1.6; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #BFCDC4; border-radius: 3px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--green); }
.form__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.form__choices label, .form__agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.form__choices label { border: 1px solid #BFCDC4; padding: 10px 16px; border-radius: 3px; background: #FAFCFA; min-height: 46px; }
.form__choices label:has(input:checked) { border-color: var(--green); background: var(--green-l); }
.form__choices input, .form__agree input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.form__agree { margin: 30px 0 22px; }
.form__send { width: 100%; cursor: pointer; }
.form__msg { margin-top: 14px; font-weight: 700; color: var(--green-d); }
.form__msg:empty { display: none; }
.call { position: sticky; top: 140px; padding: 30px 28px; border: 1px solid var(--rule); border-top: 4px double var(--green); background: #FAFCFA; }
.call .h2 { font-size: 22px; margin-bottom: 18px; padding-bottom: 12px; }
.call__num { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 28px; color: var(--green-d); text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.call__num svg { width: 22px; height: 22px; color: var(--wood); }
.call__h { font-weight: 700; margin: 4px 0 12px; }
.call__note { font-size: 14px; color: var(--sub); }
@media (max-width: 900px) { .ct { padding: 52px 0 64px; } .ct__in { grid-template-columns: 1fr; gap: 40px; } .call { position: static; } }

.place { padding: 88px 0 96px; border-top: 1px solid var(--rule); }
.place__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ledger--info th { width: 7.5em; white-space: nowrap; color: var(--green-d); font-family: var(--head); }
.place__side { display: grid; gap: 20px; }
.map { background: #fff; border: 1px solid var(--rule); padding: 10px; }
.map__svg { width: 100%; height: auto; display: block; }
.map__roads path { stroke: #E3E9E5; }
.map__rail path { stroke: #9AA59F; }
.map__rail .map__tie { stroke: #fff; }
.map__walk { stroke: var(--green); }
.map__sta rect { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.map__sta text, .map__office text, .map__p text, .map__note { font-family: var(--head); font-weight: 800; font-size: 15px; text-anchor: middle; }
.map__sta text { fill: var(--ink); }
.map__office rect { fill: #fff; stroke: var(--green); stroke-width: 2.5; }
.map__office text { fill: var(--green-d); }
.map__p rect { fill: var(--wood); }
.map__p text { fill: #fff; font-size: 17px; }
.map__note { fill: var(--green); font-size: 14px; }
.place__ph { aspect-ratio: 3 / 2; overflow: hidden; }
.place__ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .place { padding: 60px 0 64px; } .place__in { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .ledger--info th, .ledger--info td { display: block; width: auto; } .ledger--info th { border-bottom: 0; padding-bottom: 0; } .ledger--info td { padding-top: 4px; } .ledger--info tbody tr:last-child th { border-bottom: 0; } }

/* ---------- ページの下 ---------- */
.endcta { padding: 80px 0; background: var(--green); color: #fff; position: relative; overflow: clip; }
.endcta__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.endcta__txt { font-family: var(--head); font-weight: 700; font-size: clamp(17px, .6vw + 14px, 21px); margin: 0; }
.endcta .btn--g { background: #fff; color: var(--green-d); border-color: #fff; }
.endcta .btn--g:hover { background: var(--wood-l); border-color: var(--wood-l); }
@media (max-width: 560px) { .endcta { padding: 56px 0; } .endcta .btn { width: 100%; } }

/* ---------- フッター ---------- */
.ft { position: relative; background: var(--green-d); color: #E5EDE8; padding: 64px 0 36px; overflow: clip; font-size: 14px; }
.ft__rings { position: absolute; right: -140px; bottom: -220px; width: 560px; height: 560px; color: #fff; opacity: .07; pointer-events: none; }
.ft__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px 56px; }
.ft__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--head); font-weight: 800; font-size: 22px; margin-bottom: 14px; }
.ft__logo svg { width: 42px; height: 42px; background: #fff; border-radius: 6px; padding: 3px; }
.ft__co p { margin: 0 0 4px; }
.ft__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; align-content: start; }
.ft__nav a { display: block; color: #E5EDE8; text-decoration: none; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft__nav a:hover { color: #fff; border-bottom-color: var(--wood); }
.ft__copy { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 20px; border-top: 4px double rgba(201, 162, 122, .6); color: #B9C9BF; }
@media (max-width: 760px) { .ft { padding: 48px 0 92px; } .ft__in { grid-template-columns: 1fr; } }

/* ---------- スクロールでふわっと（JS が html に anim を付けたときだけ） ---------- */
.anim .rv { transition: opacity .7s ease, transform .7s var(--ease); }
.anim .rv:not(.in) { opacity: 0; transform: translateY(14px); }
.anim .z1.rv, .anim .z2.rv, .anim .z3.rv, .anim .z4.rv { transform: none !important; }
.anim .z1.rv:not(.in), .anim .z2.rv:not(.in), .anim .z3.rv:not(.in), .anim .z4.rv:not(.in) { opacity: 1; }
.anim .h2.rv::after { transition: transform .6s var(--ease) .3s; }
.anim .h2.rv:not(.in)::after { transform: scaleX(0); }
.anim .who__list li.rv:nth-child(2), .anim .svc__list li.rv:nth-child(2) { transition-delay: .08s; }
.anim .who__list li.rv:nth-child(3), .anim .svc__list li.rv:nth-child(3) { transition-delay: .16s; }
.anim .who__list li.rv:nth-child(4), .anim .svc__list li.rv:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
