
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { background: var(--color-bg); }
a { text-decoration: none; }
.en { font-family: var(--font-en); letter-spacing: .06em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); }
.sec { padding-block: var(--sec-pad); position: relative; overflow: hidden; }
.sec--tint { background: var(--color-surface); }


.en-label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 700; font-size: var(--fs-en-label);
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-main); }
.en-label::before { content: ""; width: 28px; height: 6px; border-radius: var(--radius-pill); background: var(--color-main); }
.sec-head { margin-bottom: var(--sp-6); }
.sec-head--c { text-align: center; }
.sec-head .en-label { margin-bottom: var(--sp-2); }
.h2 { font-size: var(--fs-h2); color: var(--color-text); letter-spacing: .06em; }
.h3 { font-size: var(--fs-h3); color: var(--color-text); font-weight: 700; position: relative; padding-left: 22px; }
.h3::before { content: ""; position: absolute; left: 0; top: .32em; bottom: .32em; width: 7px; border-radius: var(--radius-pill); background: var(--color-main); }
.h4 { font-size: var(--fs-h4); font-weight: 700; color: var(--color-sub); }
.sec-head .lead, .lead { margin-top: var(--sp-3); max-width: 46em; }
.sec-head--c .lead { margin-inline: auto; }
.note { font-size: var(--fs-small); color: var(--color-text); opacity: .85; }
.btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); }


.hd { position: fixed; inset: 0 0 auto 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.hd__in { height: var(--header-h); max-width: 1720px; margin-inline: auto; padding-inline: clamp(16px, 2vw, 36px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(12px, 1.6vw, 28px); }
.logo { display: inline-grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 6px; color: var(--color-text); line-height: 1.1; }
.logo__co { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--color-sub); white-space: nowrap; }
.logo__name { font-family: var(--font-heading); font-weight: 700; font-size: 34px; letter-spacing: .1em; color: var(--color-main); }
.logo__tag { grid-column: 1 / -1; font-size: 12px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; margin-top: 2px; }
.gnav > ul { display: flex; justify-content: center; gap: clamp(4px, .6vw, 12px); }
.gnav a, .gnav button { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 clamp(8px, .9vw, 16px); border-radius: var(--radius-pill);
  font-size: var(--fs-nav); font-weight: 700; color: var(--color-text); background: none; border: 0; cursor: pointer; white-space: nowrap; position: relative; transition: background-color .3s, color .3s; }
.gnav a:hover, .gnav button:hover, .gnav button[aria-expanded="true"], .gnav a[aria-current="page"] { background: var(--color-main-soft); color: var(--color-cta); }
.gnav button i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease-out); }
.gnav button[aria-expanded="true"] i { transform: translateY(2px) rotate(-135deg); }
.hd__cta { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); }
.hd__tel { display: grid; color: var(--color-sub); line-height: 1.15; text-align: right; }
.hd__tel b { font-family: var(--font-en); font-size: clamp(22px, 1.75vw, 28px); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.hd__tel b::before { content: ""; display: inline-block; width: .72em; height: .72em; margin-right: 6px; border-radius: 50%; background: var(--color-main); vertical-align: .02em; }
.hd__tel small { font-size: 13px; font-weight: 500; color: var(--color-text); }
.hd__cta .btn { border-radius: var(--radius-pill); }
.menu-btn { display: none; width: 52px; height: 52px; border-radius: var(--radius-m); border: 0; background: var(--color-main-soft); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 3px; border-radius: 3px; background: var(--color-cta); transition: transform .4s var(--ease-out), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; } .menu-btn span:nth-child(3) { top: 33px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--color-line);
  box-shadow: 0 24px 40px rgba(0,0,0,.08); border-radius: 0 0 var(--radius-l) var(--radius-l); visibility: hidden; clip-path: inset(0 0 100% 0); }
.mega.is-open { visibility: visible; clip-path: inset(0 0 -80px 0); }
.mega__in { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: var(--sp-5) var(--gutter) var(--sp-6);
  display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-5); }
.mega__head .en-label { margin-bottom: 8px; }
.mega__head p.ttl { font-family: var(--font-heading); font-size: 30px; font-weight: 700; }
.mega__head .mega__tel { margin-top: var(--sp-4); padding: var(--sp-3); border-radius: var(--radius-m); background: var(--color-bg); font-size: var(--fs-small); }
.mega__tel b { display: block; font-family: var(--font-en); font-size: 26px; color: var(--color-sub); }
.mega__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.mcard { display: block; border-radius: var(--radius-m); background: var(--color-bg); overflow: hidden; color: var(--color-text); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.mcard__ph { aspect-ratio: 16 / 9; overflow: hidden; }
.mcard__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mcard:hover .mcard__ph img { transform: scale(1.06); }
.mcard__t { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 18px 22px; font-size: 19px; font-weight: 700; }
.mcard__t .arw { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--color-main); color: #fff; font-size: 16px; transition: transform .4s var(--ease-out); }
.mcard:hover .arw { transform: translateX(4px); }


.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.drawer.is-open { visibility: visible; transition: visibility 0s 0s; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.25); opacity: 0; transition: opacity .45s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--color-bg); overflow-y: auto; padding: var(--sp-3) var(--sp-3) 120px;
  transform: translateX(100%); transition: transform .45s var(--ease-out); border-radius: var(--radius-l) 0 0 0; }
.drawer.is-open .drawer__panel { transform: none; }
.dnav > li { border-bottom: 1px solid var(--color-line); }
.dnav > li > a, .dnav__tg { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 6px; font-size: 19px; font-weight: 700; color: var(--color-text); background: none; border: 0; cursor: pointer; text-align: left; }
.dnav__tg i { width: 28px; height: 28px; border-radius: 50%; background: var(--color-main-soft); position: relative; }
.dnav__tg i::before, .dnav__tg i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--color-cta); transition: transform .35s var(--ease-out); }
.dnav__tg i::after { transform: rotate(90deg); }
.dnav__tg[aria-expanded="true"] i::after { transform: rotate(0); }
.dnav__sub { padding: 0 0 14px 10px; }
.dnav__sub a { display: flex; align-items: center; gap: 12px; padding: 8px 6px; font-size: 17px; font-weight: 500; color: var(--color-text); }
.dnav__sub img { width: 64px; height: 44px; object-fit: cover; border-radius: var(--radius-s); flex: none; }
.drawer__cta { display: grid; gap: 12px; margin-top: var(--sp-3); }
.drawer__cta small { display: block; font-size: 14px; font-weight: 500; }


.fv { position: relative; padding-top: var(--header-h); overflow: hidden; isolation: isolate; }
.fv::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -20%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--color-main-soft); opacity: .55; }
.fv__in { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(24px, 3.4vw, 56px);
  height: clamp(600px, calc(100svh - var(--header-h) - 74px), 820px); padding-block: var(--sp-4); }
.fv__txt { position: relative; z-index: 2; }
.fv__txt .en-label { margin-bottom: var(--sp-2); }
.fv__ttl { font-size: var(--fs-h1); line-height: 1.36; letter-spacing: .06em; }
.fv__ttl .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.fv__ttl .ln > span { display: inline-block; }
.fv__ttl em { font-style: normal; color: var(--color-main); position: relative; }
.fv__ttl em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; border-radius: var(--radius-pill); background: var(--color-accent); opacity: .45; z-index: -1; }
.fv__lead { margin-top: var(--sp-3); max-width: 31em; }
.fv__btns { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 14px; }
.fv__btns .btn { border-radius: var(--radius-m); padding-inline: 28px; }
.fv__note { margin-top: 12px; font-size: var(--fs-small); }
.fv__vis { position: relative; height: min(clamp(420px, 44vw, 620px), 92%); }
.plate { position: absolute; will-change: transform; }
.plate__s { width: 100%; height: 100%; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.12); background: var(--color-surface); }
.plate__s img { width: 100%; height: 100%; object-fit: cover; }
.plate--main { right: 0; top: 4%; width: 86%; height: 78%; }
.plate--main .plate__s { border: 8px solid #fff; }
.plate--s1 { left: 0; bottom: 0; width: 38%; height: 36%; z-index: 2; }
.plate--s2 { right: 6%; bottom: -2%; width: 30%; height: 28%; z-index: 2; }
.plate--s1 .plate__s, .plate--s2 .plate__s { border: 6px solid #fff; }
.board { position: absolute; border-radius: var(--radius-l); }
.board--1 { right: -3%; top: 0; width: 70%; height: 70%; background: var(--color-sub-soft); }
.board--2 { left: 8%; top: 16%; width: 40%; height: 56%; background: var(--color-accent); opacity: .28; }
.scroll-ind { position: absolute; left: clamp(8px, 1.2vw, 24px); bottom: 96px; z-index: 3; display: grid; justify-items: center; gap: 10px; }
.scroll-ind span { writing-mode: vertical-rl; font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--color-sub); }
.scroll-ind i { display: block; width: 2px; height: 72px; background: var(--color-line); position: relative; overflow: hidden; border-radius: 2px; }
.scroll-ind i b { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--color-main); }


.area-band { position: relative; overflow: hidden; display: flex; align-items: center; background: #fff; border-block: 1px solid var(--color-line); height: 74px; }
.area-band__label { position: relative; z-index: 2; flex: none; height: 100%; display: flex; align-items: center; gap: 10px; padding-inline: var(--gutter) 28px; background: #fff;
  font-weight: 700; color: var(--color-sub); box-shadow: 16px 0 16px -8px rgba(255,255,255,1); }
.area-band__label .en { font-size: 13px; color: var(--color-main); font-weight: 700; }
.area-band__view { overflow: hidden; flex: 1; min-width: 0; }
.area-band__track { display: flex; width: max-content; }
.area-band__track ul { display: flex; flex: none; }
.area-band__track li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 24px; font-weight: 700; white-space: nowrap; color: var(--color-text); }
.area-band__track li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-main); }
.area-band__track li small { font-family: var(--font-en); font-size: 14px; color: var(--color-main); margin-left: 8px; letter-spacing: .1em; }


.pill-line { padding-top: var(--sp-5); text-align: center; }
.pill-link { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 16px 16px 16px 32px; border-radius: var(--radius-pill);
  background: #fff; box-shadow: var(--shadow-card); color: var(--color-text); font-weight: 700; transition: transform .4s var(--ease-out), box-shadow .4s; }
.pill-link b { color: var(--color-cta); }
.pill-link .go { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: var(--radius-pill); background: var(--color-main-soft); color: var(--color-cta); }
.pill-link:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.pill-link .arw { transition: transform .35s var(--ease-out); display: inline-block; }
.pill-link:hover .arw { transform: translateX(5px); }


.eds { display: grid; gap: clamp(48px, 7vw, 120px); }
.ed { display: grid; grid-template-columns: 11fr 10fr; align-items: center; color: var(--color-text); position: relative; }
.ed__txt { position: relative; z-index: 2; background: var(--color-surface); border-radius: var(--radius-l); box-shadow: var(--shadow-card);
  padding: clamp(32px, 4vw, 64px); margin-right: -64px; }
.ed__ph { position: relative; z-index: 1; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; transform: translateY(40px); }
.ed--rev { grid-template-columns: 10fr 11fr; }
.ed--rev .ed__txt { order: 2; margin-right: 0; margin-left: -64px; }
.ed--rev .ed__ph { order: 1; }
.ed__no { font-family: var(--font-en); font-weight: 700; font-size: 56px; line-height: 1; color: var(--color-main); opacity: .9; margin-bottom: var(--sp-2); }
.ed__no small { font-size: 14px; letter-spacing: .2em; margin-left: 10px; color: var(--color-sub); }
.ed__txt p:not(.ed__no) { margin-top: var(--sp-3); }
.ed__more { margin-top: var(--sp-4); display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--color-cta); }
.ed__more .arw { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-cta); color: #fff; transition: transform .4s var(--ease-out); }
.ph img { width: 100%; height: 112%; object-fit: cover; position: relative; top: -6%; }
a.ed { transition: transform .5s var(--ease-out); }
a.ed .ed__txt { transition: box-shadow .5s var(--ease-out); }
a.ed:hover .ed__txt { box-shadow: 0 22px 50px rgba(0,0,0,.12); }
a.ed:hover .ed__more .arw { transform: translateX(6px); }
a.ed .ph img { transition: scale .9s var(--ease-out); }
a.ed:hover .ph img { scale: 1.05; }


.worry__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.worry__ph { position: sticky; top: calc(var(--header-h) + 32px); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; }
.worry__list { display: grid; gap: var(--sp-3); }
.voice { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: center; padding: var(--sp-4) clamp(24px, 3vw, 44px); background: var(--color-surface);
  border-radius: var(--radius-l); box-shadow: var(--shadow-card); transition: transform .45s var(--ease-out); }
.voice:nth-child(even) { margin-left: clamp(0px, 4vw, 64px); }
.voice:nth-child(odd) { margin-right: clamp(0px, 4vw, 64px); }
.voice:hover { transform: translateY(-4px); }
.voice__no { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--color-main-soft); color: var(--color-cta); font-family: var(--font-en); font-weight: 700; font-size: 20px; }
.voice p { font-size: var(--fs-h4); font-weight: 700; line-height: 1.6; }
.worry__after { margin-top: var(--sp-5); padding: var(--sp-4) clamp(24px, 3vw, 44px); border-radius: var(--radius-l); background: var(--color-sub-soft); }


.price { background: var(--color-surface); }
.price__box { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-card); background: #fff; }
.ptable th, .ptable td { padding: 24px clamp(16px, 2.4vw, 40px); text-align: left; border-bottom: 1px solid var(--color-line); vertical-align: middle; }
.ptable thead th { background: var(--color-cta); color: var(--color-on-cta); font-size: var(--fs-h4); }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable .dist { font-family: var(--font-en); font-weight: 700; font-size: 28px; color: var(--color-sub); white-space: nowrap; }
.ptable .dist small { font-family: var(--font-body); font-size: 16px; margin-right: 2px; }
.ptable .sum { text-align: right; white-space: nowrap; }
.ptable .sum b { font-family: var(--font-en); font-size: clamp(36px, 3.6vw, 56px); color: var(--color-cta); font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ptable .sum span.u { font-weight: 700; margin-left: 4px; }
.ptable tbody tr { transition: background-color .3s; }
.ptable tbody tr:hover { background: var(--color-bg); }
.price__after { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.price__after p { max-width: 40em; }


.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); counter-reset: f; }
.flow li { position: relative; padding: var(--sp-5) var(--sp-4) var(--sp-4); background: var(--color-surface); border-radius: var(--radius-l); box-shadow: var(--shadow-card); transition: transform .45s var(--ease-out); }
.flow li:hover { transform: translateY(-6px); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -26px; top: 50%; width: 20px; height: 20px; border-top: 4px solid var(--color-main); border-right: 4px solid var(--color-main); transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.flow__no { font-family: var(--font-en); font-size: 15px; font-weight: 700; color: var(--color-main); letter-spacing: .2em; }
.flow__no b { display: block; font-size: 56px; line-height: 1.1; letter-spacing: 0; }
.flow h3 { margin-top: var(--sp-2); font-size: var(--fs-h4); color: var(--color-sub); }
.flow p { margin-top: 8px; font-size: var(--fs-card); }


.qa-list { display: grid; gap: var(--sp-2); }
details.qa { background: var(--color-surface); border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
details.qa > summary { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 24px clamp(20px, 3vw, 36px); font-size: var(--fs-h4); font-weight: 700; }
details.qa > summary::before { content: "Q"; font-family: var(--font-en); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-main); color: #fff; font-size: 20px; }
details.qa > summary::after { content: ""; width: 14px; height: 14px; border-right: 3px solid var(--color-main); border-bottom: 3px solid var(--color-main); transform: translateY(-4px) rotate(45deg); transition: transform .5s var(--ease-out); margin-right: 6px; }
details.qa.is-open > summary::after { transform: translateY(2px) rotate(-135deg); }
details.qa .a { padding: 0 clamp(20px, 3vw, 36px) 28px calc(clamp(20px, 3vw, 36px) + 62px); }
.qa-more { margin-top: var(--sp-4); text-align: center; }


.cta-band { padding-block: var(--sec-pad); }
.cta-band__in { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--color-sub); color: #fff; padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 96px);
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-5); align-items: center; }
.cta-band__in::after { content: ""; position: absolute; right: -6%; top: -40%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--color-main); opacity: .22; }
.cta-band__in > * { position: relative; z-index: 1; }
.cta-band .en-label { color: var(--color-accent); }
.cta-band .en-label::before { background: var(--color-accent); }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); margin-top: var(--sp-2); }
.cta-band p { margin-top: var(--sp-3); font-size: 19px; max-width: 34em; }
.cta-band .btns { flex-direction: column; }
.cta-band .btn { min-width: 360px; justify-content: space-between; }
.cta-band .btn small { font-size: 14px; font-weight: 500; }
.btn--white { background: #fff; color: var(--color-sub); border-color: #fff; }


.ft { background: var(--color-surface); border-radius: var(--radius-l) var(--radius-l) 0 0; padding: var(--sp-6) 0 var(--sp-4); }
.ft__grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: var(--sp-6); }
.ft__info p { margin-top: var(--sp-2); font-size: var(--fs-card); }
.ft__tel { display: inline-block; margin-top: var(--sp-2); font-family: var(--font-en); font-size: 32px; font-weight: 700; color: var(--color-sub); }
.ft__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.ft__nav h3 { font-size: 17px; color: var(--color-main); margin-bottom: 10px; }
.ft__nav a { display: inline-block; padding: 4px 0; font-size: var(--fs-card); color: var(--color-text); transition: color .3s, transform .3s var(--ease-out); }
.ft__nav a:hover { color: var(--color-cta); transform: translateX(4px); }
.ft__copy { margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--color-line); font-size: 14px; font-family: var(--font-en); text-align: center; }


.flip-layer { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 200; overflow: hidden; pointer-events: none; background: var(--color-main-soft); border-radius: var(--radius-l); }
.flip-layer img { width: 100%; height: 100%; object-fit: cover; }
.flip-layer__t { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 20px 40px; border-radius: var(--radius-pill); background: #fff; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h3); color: var(--color-text); white-space: nowrap; }


.page-hero { position: relative; overflow: hidden; padding-top: var(--header-h); background: var(--color-main-soft); border-radius: 0 0 clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px); }
.page-hero__in { position: relative; z-index: 1; padding-block: var(--sp-4) clamp(64px, 8vw, 120px); }
.bc ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; font-weight: 500; }
.bc li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--color-main); margin-right: 10px; vertical-align: .15em; }
.bc a { color: var(--color-sub); }
.bc li[aria-current] span { background: var(--color-cta); color: var(--color-on-cta); padding: 2px 10px; border-radius: var(--radius-s); }
.page-hero__bg { position: absolute; left: 0; bottom: -.12em; z-index: 0; font-family: var(--font-en); font-weight: 700; font-size: clamp(90px, 15vw, 260px); line-height: 1; white-space: nowrap;
  color: #fff; opacity: .75; letter-spacing: .02em; pointer-events: none; }
.page-hero .en-label { margin-top: clamp(40px, 6vw, 88px); }
.page-hero h1 .ln { display: block; overflow: hidden; }
.page-hero h1 .ln > span { display: inline-block; }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 8px; letter-spacing: .08em; }
.subnav { margin-top: calc(-1 * clamp(32px, 4vw, 56px)); position: relative; z-index: 2; }
.subnav__box { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-card); padding: var(--sp-3) clamp(20px, 3vw, 40px); }
.subnav__ttl { font-weight: 700; color: var(--color-text); padding-left: 14px; border-left: 5px solid var(--color-main); line-height: 1.3; margin-bottom: 14px; font-size: 17px; }
.subnav ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.subnav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 8px 18px; border-radius: var(--radius-m); background: var(--color-bg);
  font-size: 16px; font-weight: 700; color: var(--color-text); transition: background-color .3s, color .3s, transform .35s var(--ease-out); }
.subnav a::after { content: "→"; font-family: var(--font-en); color: var(--color-main); transition: transform .35s var(--ease-out); }
.subnav a:hover { transform: translateY(-3px); background: var(--color-main-soft); }
.subnav a:hover::after { transform: translateX(4px); }
.subnav a[aria-current="page"] { background: var(--color-cta); color: var(--color-on-cta); }
.subnav a[aria-current="page"]::after { color: var(--color-on-cta); }
.toc-wrap { padding-top: var(--sp-6); }
details.toc { max-width: 900px; margin-inline: auto; border: 2px solid var(--color-line); box-shadow: none; position: relative; overflow: visible; }
details.toc > summary { grid-template-columns: auto 1fr auto; font-size: 19px; }
details.toc > summary::before { content: "INDEX"; width: auto; height: auto; padding: 4px 14px; border-radius: var(--radius-s); background: var(--color-cta); color: var(--color-on-cta); font-size: 15px; letter-spacing: .12em; }
details.toc .a { padding: 0 clamp(20px, 3vw, 36px) 20px; }
details.toc ol li { border-top: 1px solid var(--color-line); }
details.toc ol a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; font-weight: 500; color: var(--color-text); transition: color .3s, transform .3s var(--ease-out); }
details.toc ol a::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--color-main-soft);
  box-shadow: inset 0 0 0 7px var(--color-main-soft), inset 0 0 0 12px var(--color-main); }
details.toc ol a:hover { color: var(--color-cta); transform: translateX(4px); }
.doc { padding-block: var(--sp-6) var(--sp-7); }
.doc-sec { margin-top: var(--sp-7); }
.doc-sec:first-child { margin-top: 0; }
.band-h { position: relative; background: var(--color-main-soft); color: var(--color-text); font-size: var(--fs-h2); padding: 20px clamp(20px, 3vw, 40px) 20px calc(clamp(20px, 3vw, 40px) + 18px); border-radius: var(--radius-m); letter-spacing: .06em; }
.band-h::before { content: ""; position: absolute; left: clamp(20px, 3vw, 40px); top: 22%; bottom: 22%; width: 8px; border-radius: var(--radius-pill); background: var(--color-main); }
.doc-body { padding-inline: clamp(0px, 2vw, 32px); margin-top: var(--sp-5); }
.doc-body > * + * { margin-top: var(--sp-3); }
.doc-body > .h3 { margin-top: var(--sp-6); }
.doc-body > .h3:first-child { margin-top: 0; }
.doc-body .btns { margin-top: var(--sp-4); }
.doc-ul li { position: relative; padding-left: 1.4em; }
.doc-ul li + li { margin-top: 6px; }
.doc-ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--color-main); }
.doc-ol { counter-reset: s; display: grid; gap: 12px; }
.doc-ol li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 16px 20px; background: var(--color-surface); border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
.doc-ol li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-en); font-weight: 700; font-size: 24px; color: var(--color-main); }
.tbl { background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); }
.tbl th, .tbl td { padding: 16px 22px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--color-sub-soft); color: var(--color-sub); font-weight: 700; }
.tbl tbody th { font-weight: 700; background: var(--color-bg); width: 34%; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl td.num { white-space: nowrap; font-weight: 700; }
.tbl .hl { color: var(--color-cta); font-weight: 700; }
.tables-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.tables-2 > div > .h4 { margin-bottom: 12px; }
.sc-hint { display: none; font-size: 14px; }
.box { padding: var(--sp-4); border-radius: var(--radius-l); background: var(--color-surface); box-shadow: var(--shadow-card); }
.box--soft { background: var(--color-sub-soft); box-shadow: none; }
.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.doc-card { background: var(--color-surface); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .45s var(--ease-out); }
.doc-card:hover { transform: translateY(-6px); }
.doc-card .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.doc-card__b { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.doc-card__b p { margin-top: 10px; font-size: var(--fs-card); }
.doc-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: center; }
.doc-split .ph { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; }


.sim { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-4); align-items: start; }
.sim__form { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-card); padding: clamp(24px, 3vw, 44px); }
.fld { display: grid; grid-template-columns: 170px 1fr; gap: 12px 24px; padding-block: 18px; border-bottom: 1px solid var(--color-line); }
.fld:first-child { padding-top: 0; }
.fld__l { font-weight: 700; padding-top: 10px; }
.fld__l .req { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: var(--radius-s); background: var(--color-cta); color: var(--color-on-cta); font-size: 13px; line-height: 1.8; vertical-align: .1em; }
.fld input[type="text"] { width: 100%; height: 56px; padding: 0 18px; border-radius: var(--radius-m); border: 2px solid var(--color-line); background: var(--color-bg); font: inherit; color: var(--color-text); transition: border-color .3s; }
.fld input[type="text"]:focus { outline: none; border-color: var(--color-main); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 18px; border-radius: var(--radius-pill); border: 2px solid var(--color-line); background: var(--color-bg); font-size: 16px; font-weight: 500; transition: background-color .3s, border-color .3s, color .3s; }
.chips input:checked + span { background: var(--color-main-soft); border-color: var(--color-main); color: var(--color-cta); font-weight: 700; }
.chips input:focus-visible + span { outline: 3px solid var(--color-sub); outline-offset: 2px; }
.sim__go { margin-top: var(--sp-4); text-align: center; }
.sim__go .btn { min-width: 300px; }
.sim__go p { margin-top: 12px; font-size: var(--fs-small); text-align: left; }
.sim__res { position: sticky; top: calc(var(--header-h) + 24px); background: var(--color-surface); border-radius: var(--radius-l); box-shadow: var(--shadow-card); padding: clamp(24px, 3vw, 40px); border-top: 10px solid var(--color-main); }
.sim__res h3 { font-size: var(--fs-h4); color: var(--color-sub); }
.sim__empty { margin-top: var(--sp-2); font-size: var(--fs-card); }
.sim__rows { margin-top: var(--sp-2); }
.sim__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--color-line); font-size: 17px; }
.sim__rows dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.sim__rows .total { border-bottom: 0; padding-top: var(--sp-2); align-items: baseline; }
.sim__rows .total dt { font-weight: 700; font-size: 20px; }
.sim__rows .total dd { font-family: var(--font-en); font-size: 48px; color: var(--color-cta); line-height: 1.1; }
.sim__rows .total dd small { font-family: var(--font-body); font-size: 20px; margin-left: 4px; }
.sim__memo { margin-top: 8px; font-size: 14px; }
.sim__res .btn { width: 100%; margin-top: var(--sp-3); }
.sim__res[data-state="empty"] .sim__rows, .sim__res[data-state="empty"] .sim__memo, .sim__res[data-state="empty"] .btn { display: none; }
.sim__res[data-state="done"] .sim__empty { display: none; }
.sim__route { margin-top: 6px; font-size: 15px; color: var(--color-sub); }


@media (max-width: 1360px) {
  .gnav a, .gnav button { padding: 0 10px; font-size: 16px; }
}
@media (max-width: 1180px) {
  .hd__cta .btn { display: none; }
  .fv__in { grid-template-columns: 1fr 1fr; }
  .mega__in { grid-template-columns: 1fr; }
  .mega__head .mega__tel { display: none; }
}
@media (max-width: 1040px) {
  .gnav { display: none; }
  .menu-btn { display: block; }
  .hd__in { grid-template-columns: auto 1fr auto; }
  .hd__cta { justify-content: flex-end; grid-column: 2 / 3; }
  .ed, .ed--rev { grid-template-columns: 1fr; }
  .ed__txt, .ed--rev .ed__txt { order: 2; margin: -48px 16px 0; }
  .ed__ph, .ed--rev .ed__ph { order: 1; transform: none; }
  .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%) rotate(135deg); }
  .sim { grid-template-columns: 1fr; }
  .sim__res { position: relative; top: 0; }
  .subnav ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .logo__name { font-size: 28px; }
  .logo__co { font-size: 11px; }
  .hd__tel { display: none; }
  .menu-btn { width: 48px; height: 48px; }
  .menu-btn span { left: 13px; right: 13px; } .menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 31px; }
  .fv__in { grid-template-columns: 1fr; height: auto; min-height: 0; padding-block: var(--sp-4) var(--sp-5); gap: var(--sp-5); }
  .fv__ttl { font-size: clamp(32px, 9vw, 44px); }
  .fv__btns .btn { width: 100%; }
  .fv__vis { height: 92vw; max-height: 480px; }
  .plate--main { width: 92%; height: 72%; }
  .plate--s1 { width: 46%; height: 34%; }
  .plate--s2 { width: 40%; height: 28%; right: 2%; }
  .scroll-ind { display: none; }
  .area-band { height: 60px; }
  .area-band__label { padding-inline: 16px 14px; font-size: 15px; }
  .area-band__label .en { display: none; }
  .area-band__track li { font-size: 19px; gap: 18px; padding-right: 18px; }
  .pill-link { padding: 16px 20px; border-radius: var(--radius-l); }
  .worry__grid { grid-template-columns: 1fr; }
  .worry__ph { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .voice, .voice:nth-child(even), .voice:nth-child(odd) { margin: 0; grid-template-columns: 1fr; gap: 10px; padding: var(--sp-3); }
  .voice__no { width: 48px; height: 48px; font-size: 17px; }
  .ed__txt, .ed--rev .ed__txt { margin: -32px 8px 0; padding: 28px 22px; }
  .ed__no { font-size: 44px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { padding: 18px 20px; border-bottom: 1px solid var(--color-line); display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
  .ptable td { padding: 0; border: 0; }
  .ptable .ex { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
  .ptable .sum { text-align: right; }
  .price__after .btn { width: 100%; }
  details.qa > summary { gap: 12px; font-size: 19px; }
  details.qa > summary::before { width: 36px; height: 36px; font-size: 17px; }
  details.qa .a { padding-left: clamp(20px, 3vw, 36px); }
  .cta-band__in { grid-template-columns: 1fr; }
  .cta-band .btn { min-width: 0; width: 100%; }
  .ft__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .ft__nav { grid-template-columns: 1fr; gap: var(--sp-3); }
  .cta-band .btn { padding: 12px 18px; font-size: 17px; }
  .cta-band .btn .nb { display: inline; }
  .subnav ul { grid-template-columns: 1fr; }
  .tables-2, .doc-cards, .doc-split { grid-template-columns: 1fr; }
  .fld { grid-template-columns: 1fr; gap: 8px; }
  .fld__l { padding-top: 0; }
  .sim__go .btn { min-width: 0; width: 100%; }
  .sc-hint { display: block; }
  .tbl--wide thead { display: none; }
  .tbl--wide, .tbl--wide tbody, .tbl--wide tr, .tbl--wide td, .tbl--wide th { display: block; width: 100%; }
  .tbl--wide tr { padding: 14px 18px; border-bottom: 1px solid var(--color-line); }
  .tbl--wide tr > * { border: 0; padding: 4px 0; background: none; }
  .tbl.tbl--wide tbody th { width: 100%; background: none; font-size: 19px; color: var(--color-sub); }
  .tbl--wide td[data-label] { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; }
  .tbl--wide td[data-label]::before { content: attr(data-label); padding-top: 3px; font-size: 14px; font-weight: 700; color: var(--color-main); }
  .tbl--wide td[data-label=""]::before { display: none; }
  .band-h { font-size: 24px; }
  .flip-layer__t { white-space: normal; text-align: center; width: 80%; }
}

.ed__ph img.is-portrait { object-position: center 12%; }
