

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-n { width: 100%; max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; }
img { width: 100%; }
.sp-br { display: none; }
@media (max-width: 860px) { .sp-br { display: inline; } }


.en-big { font-family: var(--font-en); font-size: var(--fs-h1); font-weight: 600; line-height: 1; letter-spacing: .02em; color: var(--color-main); }
.en-mid { font-family: var(--font-en); font-size: var(--fs-h3); font-weight: 600; line-height: 1; letter-spacing: .04em; color: var(--color-main); }
.en-label { font-family: var(--font-en); font-size: var(--fs-en-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--color-main); }
.sec-head { padding-bottom: var(--sp-5); }
.sec-head h2, .ttl-box h2 { margin-top: var(--sp-2); font-size: var(--fs-h2); color: var(--color-text); }
.sec-head--left { padding-bottom: var(--sp-4); }
h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-body); }
.note { margin-top: var(--sp-2); font-size: var(--fs-card); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.btn-row--c { justify-content: center; }
.btn small { font-size: var(--fs-small); font-weight: 500; }


.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-text); font-family: var(--font-heading); }
.logo-n { font-size: var(--fs-h3); font-weight: 700; letter-spacing: .08em; line-height: 1; color: var(--color-main); }
.logo-t { display: grid; line-height: 1.35; border-left: 2px solid var(--color-main-soft); padding-left: 10px; }
.logo-t small { font-size: var(--fs-en-label); font-weight: 500; letter-spacing: .06em; }
.logo-t small:first-child { font-size: 12px; color: var(--color-sub); }


.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s; }
.hd-in { height: 100%; max-width: 1720px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: var(--sp-4); }
.hd .logo { margin-right: auto; }
.hd.is-scrolled, .hd.is-solid { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.hd.is-menu { background: transparent; box-shadow: none; }
.hd-nav ul { display: flex; gap: var(--sp-4); }
.hd-nav a { position: relative; font-size: var(--fs-nav); font-weight: 700; text-decoration: none; padding: 6px 0; white-space: nowrap; }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--color-main);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.hd-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hd-tel { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--color-sub); }
.hd-tel .ico { width: 26px; height: 26px; fill: currentColor; flex: none; }
.hd-tel .tx { display: grid; line-height: 1.2; }
.hd-tel .num { font-family: var(--font-en); font-size: var(--fs-h4); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.hd-tel .hrs { font-size: 12px; color: var(--color-text); white-space: nowrap; }
.hd-cta { flex: none; }
.hd-menu { position: relative; z-index: 120; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--color-main); color: #fff; display: grid; place-content: center; justify-items: center; gap: 6px;
  transition: transform .4s var(--ease-out), background-color .3s; }
.hd-menu:hover { transform: scale(1.06); }
.hd-menu .bars { display: grid; gap: 6px; width: 24px; }
.hd-menu .bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out); }
.hd-menu .lbl { font-family: var(--font-en); font-size: 10px; letter-spacing: .14em; line-height: 1; }
.hd-menu[aria-expanded="true"] { background: var(--color-sub); }
.hd-menu[aria-expanded="true"] .bars i:first-child { transform: translateY(4px) rotate(20deg); }
.hd-menu[aria-expanded="true"] .bars i:last-child { transform: translateY(-4px) rotate(-20deg); }
@media (max-width: 1240px) { .hd-cta { display: none; } }
@media (max-width: 1040px) { .hd-nav ul { gap: var(--sp-3); } .hd-tel .hrs { display: none; } }
@media (max-width: 860px) {
  .hd-in { gap: var(--sp-2); }
  .hd-nav { display: none; }
  .hd-tel { width: 48px; height: 48px; border-radius: 50%; justify-content: center; background: #fff; border: 2px solid var(--color-sub); }
  .hd-tel .tx { display: none; }
  .hd-tel .ico { width: 22px; height: 22px; }
  .hd-menu { width: 52px; height: 52px; }
  .logo-n { font-size: 26px; }
  .logo-t small { font-size: 11px; letter-spacing: 0; }
  .logo-t small:first-child { font-size: 10px; }
}


.gm { position: fixed; inset: 0; z-index: 95; overflow: hidden; visibility: hidden; background: var(--color-bg);
  clip-path: circle(0px at var(--cx, 95%) var(--cy, 44px));
  transition: clip-path .8s cubic-bezier(.7,0,.2,1), visibility 0s .8s; }
.gm.is-open { visibility: visible; clip-path: circle(150% at var(--cx, 95%) var(--cy, 44px)); transition: clip-path .9s cubic-bezier(.7,0,.2,1), visibility 0s; }
.gm-deco { position: absolute; width: 70%; aspect-ratio: 1; right: -18%; bottom: -30%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: var(--color-main-soft); }
.gm-deco::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1; left: -40%; top: -10%; border-radius: 58% 42% 50% 50% / 46% 56% 44% 54%; background: var(--color-sub-soft); }
.gm-in { position: relative; height: 100%; overflow-y: auto; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto;
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) var(--sp-6); display: grid; align-content: center; gap: var(--sp-6); }
.gm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.gm-g, .gm-foot { opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; }
.gm.is-open .gm-g, .gm.is-open .gm-foot { opacity: 1; transform: none; transition: opacity .7s calc(.35s + var(--i) * .1s), transform .9s var(--ease-out) calc(.35s + var(--i) * .1s); }
.gm-en { font-family: var(--font-en); font-size: var(--fs-h2); font-weight: 600; color: var(--color-main); line-height: 1; }
.gm-en--2 { margin-top: var(--sp-5); }
.gm-ttl { font-size: var(--fs-small); font-weight: 700; margin: var(--sp-1) 0 var(--sp-2); }
.gm-g ul { border-top: 1px solid var(--color-line); }
.gm-g a { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-2) 4px; border-bottom: 1px solid var(--color-line);
  font-size: var(--fs-h4); font-weight: 700; text-decoration: none; transition: color .3s, padding .4s var(--ease-out); }
.gm-g a::after { content: "→"; color: var(--color-main); }
.gm-g a:hover { color: var(--color-main); padding-left: 12px; }
.gm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 2px solid var(--color-main-soft); }
.gm-tel { display: grid; text-decoration: none; color: var(--color-sub); line-height: 1.2; }
.gm-tel .num { font-family: var(--font-en); font-size: var(--fs-h2); font-weight: 700; }
.gm-tel .hrs { font-size: var(--fs-small); color: var(--color-text); }
.gm-btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (max-width: 860px) {
  .gm-in { align-content: start; padding-top: calc(var(--header-h) + var(--sp-4)); gap: var(--sp-4); }
  .gm-cols { grid-template-columns: 1fr; gap: var(--sp-4); }
  .gm-en { font-size: var(--fs-h3); }
  .gm-en--2 { margin-top: var(--sp-4); }
  .gm-g a { font-size: var(--fs-body); padding: 12px 4px; }
  .gm-btns, .gm-btns .btn { width: 100%; }
}


.fv { position: relative; isolation: isolate; overflow: hidden; height: 100vh; height: 100svh; min-height: 680px; background: var(--color-bg); }
.fv-deco { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 0; }
.fv-deco svg { position: absolute; width: 100%; height: 100%; overflow: visible; }
.fv-deco-a { left: -8%; bottom: -22%; width: 70% !important; }
.fv-deco-a path { fill: var(--color-main-soft); }
.fv-deco-b { right: -10%; left: auto; bottom: -30%; width: 60% !important; }
.fv-deco-b path { fill: var(--color-sub-soft); }
.fv-ph { position: absolute; inset: 0 0 var(--sp-6) 0; z-index: 1; overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 var(--sp-7) var(--sp-7); }
.fv-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; transform-origin: 70% 60%; }
.fv-copy { position: absolute; z-index: 2; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: 50%; transform: translateY(-46%);
  width: min(720px, 52%); padding: var(--sp-5) 0; }
.fv-copy::before { content: ""; position: absolute; z-index: -1; inset: -12% -18% -12% -30%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.92), rgba(255,255,255,.78) 55%, rgba(255,255,255,0)); filter: blur(18px); }
.fv-h { font-size: var(--fs-h1); line-height: 1.3; letter-spacing: .04em; color: var(--color-text); }
.fv-h .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.fv-h .ln > span { display: inline-block; }
@media (min-width: 861px) { .fv-h .ln { white-space: nowrap; } }
.fv-h .ln:last-child > span { color: var(--color-main); }
.fv-sub { margin-top: var(--sp-3); font-size: var(--fs-body); font-weight: 500; max-width: 36em; }
.fv-btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.fv-note { margin-top: var(--sp-1); font-size: var(--fs-small); }
.fv-scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: calc(var(--sp-6) + var(--sp-3)); display: grid; justify-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.fv-scroll span { writing-mode: vertical-rl; }
.fv-scroll i { display: block; width: 1px; height: 56px; background: rgba(255,255,255,.5); overflow: hidden; position: relative; }
.fv-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: fvline 2.4s var(--ease-out) infinite; }
@keyframes fvline { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 860px) {
  .fv { height: auto; min-height: 0; padding-bottom: var(--sp-4); }
  .fv-ph { position: relative; inset: auto; height: 54vh; height: 54svh; min-height: 340px; border-radius: 0 0 50% 50% / 0 0 var(--sp-5) var(--sp-5); }
  .fv-ph img { object-position: 74% 50%; }
  .fv-deco { height: 60%; }
  .fv-copy { position: relative; left: auto; top: auto; width: auto; transform: none; margin-top: calc(var(--sp-6) * -1); padding: var(--sp-3) var(--gutter) 0; }
  .fv-copy::before { inset: 0 0 auto; height: var(--sp-7); border-radius: 0; filter: blur(14px); background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.75)); }
  .fv-h { font-size: 32px; }
  .fv-sub { font-size: var(--fs-card); margin-top: var(--sp-2); }
  .fv-btns { margin-top: var(--sp-3); }
  .fv-btns .btn { width: 100%; }
  .fv-scroll { display: none; }
}


.pill-line { padding-top: var(--sp-5); display: flex; justify-content: center; }
.pill-link { gap: var(--sp-3); padding: 12px var(--sp-4); white-space: normal; text-align: left; }
.pl-more { display: inline-flex; align-items: center; gap: .5em; padding-left: var(--sp-3); border-left: 1px solid var(--color-line); color: var(--color-main); }
@media (max-width: 860px) { .pill-link { flex-direction: column; gap: 4px; text-align: center; border-radius: var(--radius-m); } .pl-more { border: 0; padding: 0; } }


.band { position: relative; overflow: hidden; margin-top: var(--sp-6); padding: calc(var(--sec-pad) * 1.1) 0; text-align: center; }
.band-bg { position: absolute; z-index: 0; inset: 0 var(--sp-3); width: calc(100% - var(--sp-3) * 2); height: 100%; }
.band-bg path { fill: var(--color-main-soft); }
.band-in { position: relative; z-index: 1; }
.band-h { margin-top: var(--sp-3); font-family: var(--font-heading); font-weight: 700; font-size: calc(var(--fs-h1) * 1.15); line-height: 1.4; letter-spacing: .06em; color: var(--color-text); }
@media (max-width: 860px) { .band-bg { inset: 0 8px; width: calc(100% - 16px); } .band-h { font-size: 34px; } }


.svc { position: relative; overflow: hidden; padding-top: var(--sec-pad); }
.svc .sec-head { text-align: left; }
.svc-pin { position: relative; overflow: hidden; }
.svc-track { display: grid; gap: var(--sp-2); }
.svc-panel { position: relative; overflow: hidden; height: 86vh; min-height: 620px; }
.svc-ph { position: absolute; inset: 0; overflow: hidden; }
.svc-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-panel:hover .svc-ph img { transform: scale(1.04); }
.svc-box { position: absolute; z-index: 1; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: var(--sp-6); width: min(560px, 46%);
  padding: var(--sp-5); border-radius: var(--radius-l); background: rgba(255,255,255,.92); box-shadow: var(--shadow-card); }
.svc-box h3 { margin-top: var(--sp-2); font-size: var(--fs-h3); }
.svc-box > p:not(.en-mid):not(.svc-no) { margin-top: var(--sp-2); font-size: var(--fs-body); }
.svc-box .btn { margin-top: var(--sp-3); }
.svc-no { font-family: var(--font-en); font-size: var(--fs-small); letter-spacing: .12em; color: var(--color-sub); margin-bottom: var(--sp-2); }
.svc-no span { font-size: var(--fs-h4); font-weight: 700; }
.svc-bar { display: none; }
.svc.is-h .svc-pin { height: 100vh; height: 100svh; }
.svc.is-h .svc-track { display: flex; gap: 0; height: 100%; width: 100%; }
.svc.is-h .svc-panel { flex: 0 0 100%; height: 100%; min-height: 0; }
.svc.is-h .svc-box { bottom: var(--sp-7); }
.svc.is-h .svc-bar { display: block; position: absolute; z-index: 2; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); right: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  bottom: var(--sp-5); height: 4px; border-radius: 4px; background: rgba(255,255,255,.6); overflow: hidden; }
.svc.is-h .svc-bar i { display: block; height: 100%; background: var(--color-main); transform: scaleX(0); transform-origin: left; }
@media (max-width: 860px) {
  .svc-track { gap: var(--sp-6); }
  .svc-panel { height: auto; min-height: 0; overflow: visible; }
  .svc-ph { position: relative; aspect-ratio: 4 / 3; }
  .svc-box { position: relative; left: auto; bottom: auto; width: auto; margin: calc(var(--sp-6) * -1) var(--gutter) 0; padding: var(--sp-4) var(--sp-3); }
  .svc-box .btn { width: 100%; }
}


.ps { position: relative; overflow: hidden; padding-top: var(--sec-pad); padding-bottom: var(--sp-4); }
.ps-ph, .about-ph, .close-ph { position: relative; overflow: hidden; height: 72vh; min-height: 480px; max-height: 820px; }
.ph-i { position: absolute; inset: -9% 0; }
.ph-i img { width: 100%; height: 100%; object-fit: cover; }
.about-ph .ph-i img { object-position: 50% 24%; }
.ps-ttl { position: relative; z-index: 1; margin-top: calc(var(--sp-8) * -1); }
.ttl-box { display: inline-block; max-width: 100%; padding: var(--sp-5) var(--sp-6) var(--sp-4) var(--sp-5); background: var(--color-bg); border-radius: var(--radius-l) var(--radius-l) 0 0; }
.ps-body { padding-top: var(--sp-3); }
.ps-lead { margin-top: var(--sp-5); max-width: 46em; }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-4); }
.voices li { position: relative; padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-6); border-bottom: 1px solid var(--color-line); font-size: var(--fs-h4); font-weight: 700; line-height: 1.6; }
.voices li::before { content: ""; position: absolute; left: var(--sp-2); top: calc(var(--sp-3) + .55em); width: 20px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--color-main); }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.reason { padding-top: var(--sp-3); border-top: 2px solid var(--color-main); }
.r-no { font-family: var(--font-en); font-size: var(--fs-h2); font-weight: 600; color: var(--color-main); line-height: 1; }
.reason h3 { margin-top: var(--sp-2); font-size: var(--fs-h4); }
.reason p:last-child { margin-top: var(--sp-2); font-size: var(--fs-card); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); counter-reset: f; }
.flow li { position: relative; padding: var(--sp-4); border-radius: var(--radius-m); background: var(--color-surface); box-shadow: var(--shadow-card); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: calc(var(--sp-4) * -0.75); top: 50%; transform: translate(50%, -50%); color: var(--color-main); font-weight: 700; }
.f-no { display: inline-block; font-family: var(--font-en); font-weight: 700; letter-spacing: .1em; color: var(--color-on-cta); background: var(--color-main); border-radius: var(--radius-pill); padding: 4px 14px; font-size: var(--fs-small); }
.flow p { margin-top: var(--sp-2); font-size: var(--fs-body); font-weight: 500; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.card { padding: var(--sp-5); border-radius: var(--radius-m); background: var(--color-surface); box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.case-tag { display: inline-block; font-size: var(--fs-small); font-weight: 700; color: var(--color-sub); background: var(--color-sub-soft); padding: 2px 14px; border-radius: var(--radius-pill); }
.case h3 { margin-top: var(--sp-2); font-size: var(--fs-h4); }
.case p:last-child { margin-top: var(--sp-2); font-size: var(--fs-card); }
@media (max-width: 860px) {
  .ps-ph, .about-ph, .close-ph { height: 56vh; min-height: 300px; }
  .ps-ttl { margin-top: calc(var(--sp-6) * -1); }
  .ttl-box { padding: var(--sp-3) var(--sp-4) var(--sp-2) var(--sp-3); }
  .voices, .reasons, .flow, .cases { grid-template-columns: 1fr; }
  .voices li { font-size: var(--fs-body); padding-left: var(--sp-5); }
  .flow li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: calc(var(--sp-4) * -0.5); transform: translate(50%, 50%); }
  .card { padding: var(--sp-4) var(--sp-3); }
}


.price-sec { position: relative; overflow: hidden; margin-top: var(--sec-pad); padding: var(--sec-pad) 0; background: var(--color-surface); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-7); align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + var(--sp-4)); }
.side-ttl { font-size: var(--fs-h4); font-weight: 700; padding-bottom: var(--sp-2); border-bottom: 2px solid var(--color-main); }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: var(--sp-2) 4px; border-bottom: 1px solid var(--color-line);
  font-size: var(--fs-card); font-weight: 500; text-decoration: none; line-height: 1.5; transition: color .3s, background-color .3s, padding .4s var(--ease-out); }
.side-nav a::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--color-line); transition: background-color .3s, border-color .3s; }
.side-nav a:hover { color: var(--color-main); padding-left: 10px; }
.side-nav a.is-current { color: var(--color-main); font-weight: 700; background: var(--color-main-soft); padding-left: 12px; }
.side-nav a.is-current::after { background: var(--color-main); border-color: var(--color-main); }
.side-sub { margin-top: var(--sp-4); }
.side-cta { display: grid; gap: 2px; margin-top: var(--sp-4); padding: var(--sp-3); border-radius: var(--radius-m); text-decoration: none;
  background: var(--color-cta); color: var(--color-on-cta); font-weight: 700; font-size: var(--fs-h4); position: relative; transition: transform .4s var(--ease-out), box-shadow .4s; }
.side-cta .en { font-family: var(--font-en); font-size: var(--fs-en-label); letter-spacing: .16em; font-weight: 600; }
.side-cta .arw { position: absolute; right: var(--sp-3); bottom: var(--sp-3); transition: transform .4s var(--ease-out); }
.side-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,.14); }
.side-cta:hover .arw { transform: translateX(5px); }
.tbl { min-width: 560px; background: var(--color-surface); font-size: var(--fs-card); }
.tbl th, .tbl td { padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: middle; }
.tbl thead th { background: var(--color-main-soft); font-weight: 700; border-bottom: 2px solid var(--color-main); }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.tbl .yen { font-family: var(--font-en); font-weight: 700; font-size: var(--fs-h4); color: var(--color-sub); white-space: nowrap; }
.tbl-hint { display: none; font-size: var(--fs-small); color: var(--color-sub); margin-bottom: 6px; }
@media (max-width: 1100px) { .doc { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--sp-5); } }
@media (max-width: 860px) {
  .doc { grid-template-columns: 1fr; gap: var(--sp-5); }
  .is-top .side { position: static; }
  .tbl-hint { display: block; }
}


.faq-sec { position: relative; overflow: hidden; padding-top: var(--sec-pad); }
.faq-sec .sec-head, .about .sec-head { text-align: center; }
.qa-list { border-top: 1px solid var(--color-line); }
details.qa { border-bottom: 1px solid var(--color-line); }
details.qa > summary { position: relative; padding: var(--sp-3) var(--sp-7) var(--sp-3) var(--sp-6); font-size: var(--fs-h4); font-weight: 700; line-height: 1.6; transition: color .3s; }
details.qa > summary::before { content: "Q"; position: absolute; left: var(--sp-1); top: var(--sp-3); font-family: var(--font-en); font-size: var(--fs-h3); line-height: 1.2; color: var(--color-main); }
details.qa > summary:hover { color: var(--color-main); }
details.qa .a { position: relative; padding: 0 var(--sp-7) var(--sp-3) var(--sp-6); font-size: var(--fs-body); }
details.qa .a::before { content: "A"; position: absolute; left: var(--sp-1); top: -.2em; font-family: var(--font-en); font-size: var(--fs-h3); color: var(--color-accent); }
@media (max-width: 860px) {
  details.qa > summary { padding: var(--sp-2) var(--sp-6) var(--sp-2) var(--sp-5); font-size: var(--fs-body); }
  details.qa > summary::before { top: var(--sp-2); font-size: var(--fs-h4); }
  details.qa .a { padding: 0 var(--sp-2) var(--sp-3) var(--sp-5); }
  details.qa .a::before { font-size: var(--fs-h4); }
}


details.qa > summary .ic { position: absolute; right: var(--sp-2); top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--color-main-soft); }
details.qa > summary .ic::before, details.qa > summary .ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--color-main); transition: transform .5s var(--ease-out); }
details.qa > summary .ic::after { transform: rotate(90deg); }
details.qa.is-open > summary .ic::after { transform: rotate(0deg); }


.about { position: relative; overflow: hidden; padding-top: var(--sec-pad); }
.about-ph { height: 64vh; }
.about-body { margin-top: var(--sp-5); display: grid; justify-items: center; gap: var(--sp-4); text-align: center; }
.about-body p { max-width: 40em; text-align: left; }


.close { position: relative; overflow: hidden; margin-top: var(--sec-pad); }
.close-ph { position: absolute; inset: 0; height: auto; max-height: none; min-height: 0; }
.close-ph img { object-position: 60% 60%; }
.close-in { position: relative; z-index: 1; padding-block: var(--sp-8); }
.close-copy { position: relative; width: min(760px, 100%); padding: var(--sp-6); border-radius: var(--radius-l); background: rgba(255,255,255,.9); box-shadow: var(--shadow-card); }
.close-copy h2 { margin-top: var(--sp-2); font-size: var(--fs-h2); }
.close-copy > p:not(.en-big) { margin-top: var(--sp-3); }
.close-btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.close-btns .btn { flex-direction: column; gap: 0; padding-block: 8px; }
@media (max-width: 860px) {
  .close-in { padding-block: var(--sp-7); }
  .close-copy { padding: var(--sp-4) var(--sp-3); }
  .close-btns .btn { width: 100%; }
}


.ft { background: var(--color-main-soft); padding-top: var(--sp-7); }
.ft-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--sp-6); }
.ft-addr { margin-top: var(--sp-3); font-size: var(--fs-card); }
.ft-tel { display: inline-block; margin-top: var(--sp-2); font-family: var(--font-en); font-size: var(--fs-h3); font-weight: 700; color: var(--color-sub); text-decoration: none; }
.ft-hrs { font-size: var(--fs-small); }
.ft-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.ft-g { font-weight: 700; padding-bottom: var(--sp-1); margin-bottom: var(--sp-1); border-bottom: 2px solid var(--color-main); }
.ft-nav a { display: inline-block; padding: 6px 0; font-size: var(--fs-card); text-decoration: none; transition: color .3s; }
.ft-nav a:hover { color: var(--color-main); }
.ft-copy { margin-top: var(--sp-6); padding: var(--sp-3) var(--gutter); text-align: center; font-size: var(--fs-small); border-top: 1px solid var(--color-line); }
@media (max-width: 860px) {
  .ft-in { grid-template-columns: 1fr; gap: var(--sp-5); }
  .ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.is-sub main { padding-top: var(--header-h); }
.crumb { padding-block: var(--sp-3); font-size: var(--fs-small); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumb li + li::before { content: "›"; margin-right: 10px; color: var(--color-main); }
.crumb a { text-decoration: none; color: var(--color-sub); }
.crumb a:hover { text-decoration: underline; }
.ph-head { position: relative; overflow: hidden; }
.ph-head .ps-ph { height: 52vh; min-height: 380px; max-height: 560px; }
.ph-head .ps-ttl { margin-top: calc(var(--sp-7) * -1); }
.ph-head h1 { margin-top: var(--sp-2); font-size: var(--fs-h1); }
.page { padding-block: var(--sp-6) var(--sec-pad); }
.page .doc-main { min-width: 0; }
.dsec { padding-block: var(--sp-6); border-bottom: 1px solid var(--color-line); scroll-margin-top: calc(var(--header-h) + var(--sp-3)); }
.dsec:first-child { padding-top: 0; }
.dsec:last-child { border-bottom: 0; }
.dsec > h2 { position: relative; font-size: var(--fs-h2); padding-bottom: var(--sp-3); margin-bottom: var(--sp-4); }
.dsec > h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: var(--color-main); }
.dsec h3 { position: relative; margin: var(--sp-5) 0 var(--sp-2); padding-left: var(--sp-3); font-size: var(--fs-h3); }
.dsec h3::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 6px; border-radius: 6px; background: var(--color-main); }
.dsec p + p { margin-top: var(--sp-2); }
.dsec .table-scroll { margin-top: var(--sp-3); }
.dsec .fig { margin-top: var(--sp-4); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 8; position: relative; }
.dsec .fig .ph-i { inset: -8% 0; }
.dots { display: grid; gap: var(--sp-1); margin-top: var(--sp-2); }
.dots li { position: relative; padding-left: var(--sp-3); }
.dots li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 9px; height: 9px; border-radius: 50%; background: var(--color-main); }
.nums { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); counter-reset: n; }
.nums li { counter-increment: n; position: relative; padding: var(--sp-2) var(--sp-3) var(--sp-2) calc(var(--sp-6) + var(--sp-1)); border-radius: var(--radius-m); background: var(--color-surface); }
.nums li::before { content: counter(n); position: absolute; left: var(--sp-2); top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center;
  font-family: var(--font-en); font-weight: 700; color: #fff; background: var(--color-main); line-height: 1; padding-top: 3px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin-top: var(--sp-3); }
.pcard { overflow: hidden; border-radius: var(--radius-m); background: var(--color-surface); box-shadow: var(--shadow-card); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.pcard .pc-ph { aspect-ratio: 16 / 10; overflow: hidden; }
.pcard .pc-ph img { height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pcard:hover .pc-ph img { transform: scale(1.06); }
.pcard .pc-tx { padding: var(--sp-3); }
.pcard h3 { margin: 0 0 var(--sp-1); padding: 0; font-size: var(--fs-h4); }
.pcard h3::before { display: none; }
.pcard p { font-size: var(--fs-card); }
.cases .case h3, .dsec .case h3 { padding-left: 0; margin: var(--sp-2) 0 0; font-size: var(--fs-h4); }
.dsec .case h3::before { display: none; }
.dsec .cases { margin-top: var(--sp-3); }
.staff-row { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: var(--sp-4); align-items: start; }
.staff-row .st-ph { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 2 / 3; position: relative; margin-top: var(--sp-3); }
.staff-row .st-ph img { height: 100%; object-fit: cover; }
.dsec details.qa > summary { font-size: var(--fs-body); }
@media (max-width: 860px) {
  .ph-head .ps-ph { height: 36vh; min-height: 240px; }
  .ph-head .ps-ttl { margin-top: calc(var(--sp-6) * -1); }
  .ph-head h1 { font-size: 30px; }
  .page { padding-top: 0; }
  .dsec { padding-block: var(--sp-5); }
  .cards2, .staff-row { grid-template-columns: 1fr; }
  .staff-row .st-ph { max-width: 260px; }
}


.is-sub .side-nav a { font-size: var(--fs-card); }
@media (max-width: 860px) {
  .is-sub .doc { display: grid; grid-template-columns: minmax(0, 1fr); }
  .is-sub .side, .is-sub .side-nav { min-width: 0; max-width: none; }
  .is-sub .side { order: -1; position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter);
    background: var(--color-bg); box-shadow: 0 6px 12px rgba(0,0,0,.05); overflow: hidden; }
  .is-sub .side-ttl, .is-sub .side-sub, .is-sub .side-cta { display: none; }
  .is-sub .side-nav { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .is-sub .side-nav::-webkit-scrollbar { display: none; }
  .is-sub .side-nav li { flex: none; }
  .is-sub .side-nav a { border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: 6px 16px; background: var(--color-surface); white-space: nowrap; font-size: var(--fs-small); }
  .is-sub .side-nav a::after { display: none; }
  .is-sub .side-nav a:hover { padding-left: 16px; }
  .is-sub .side-nav a.is-current { background: var(--color-main); color: var(--color-on-cta); border-color: var(--color-main); padding-left: 16px; }
}


.sim { margin-top: var(--sp-3); padding: var(--sp-5); border-radius: var(--radius-l); background: var(--color-surface); box-shadow: var(--shadow-card); border-top: 6px solid var(--color-main); }
.sim-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--sp-3); padding-block: var(--sp-3); border-bottom: 1px solid var(--color-line); align-items: center; }
.sim-row:first-of-type { padding-top: 0; }
.sim-lbl { font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.req { font-size: 13px; font-weight: 700; color: var(--color-on-cta); background: var(--color-cta); padding: 1px 10px; border-radius: var(--radius-pill); }
.sim input[type="text"] { width: 100%; min-height: 56px; padding: 0 var(--sp-2); border: 2px solid var(--color-line); border-radius: var(--radius-s); font: inherit; background: var(--color-bg); color: var(--color-text); transition: border-color .3s; }
.sim input[type="text"]:focus { outline: none; border-color: var(--color-main); background: var(--color-surface); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.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: var(--fs-card); font-weight: 500;
  transition: background-color .3s, border-color .3s, color .3s; }
.chips label:hover span { border-color: var(--color-main); }
.chips input:checked + span { background: var(--color-main); border-color: var(--color-main); color: var(--color-on-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); display: flex; justify-content: center; }
.sim-go .btn { min-width: 320px; cursor: pointer; }
.sim-cap { margin-top: var(--sp-2); font-size: var(--fs-small); text-align: center; }
.sim-res { display: none; margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius-m); background: var(--color-main-soft); }
.sim-res.is-on { display: block; }
.sim-res dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-2); padding: 12px 4px; border-bottom: 1px dashed var(--color-line); }
.sim-res dt { font-weight: 500; }
.sim-res dd { font-family: var(--font-en); font-weight: 700; font-size: var(--fs-h4); }
.sim-res dd small { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500; margin-left: 4px; }
.sim-res .tot { border-bottom: 0; border-top: 2px solid var(--color-main); margin-top: 8px; padding-top: var(--sp-2); }
.sim-res .tot dt { font-size: var(--fs-h4); font-weight: 700; }
.sim-res .tot dd { font-size: var(--fs-h1); color: var(--color-sub); line-height: 1; }
.sim-res .sim-dist { margin-top: var(--sp-2); font-size: var(--fs-small); }
@media (max-width: 860px) {
  .sim { padding: var(--sp-3) var(--sp-2); }
  .sim-row { grid-template-columns: 1fr; gap: 10px; }
  .chips span { padding: 6px 14px; }
  .sim-go .btn { min-width: 0; width: 100%; }
  .sim-res { padding: var(--sp-3) var(--sp-2); }
  .sim-res .tot dd { font-size: 40px; }
}


.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-5); }
.cols2 h3 { margin-top: var(--sp-4); }
.tbl--2 { min-width: 0; }
.tbl--2 tbody th { white-space: normal; font-weight: 500; }
.tbl--2 td { width: 8em; text-align: right; }
.tbl--wide { min-width: 760px; }
.tbl tr.is-us th, .tbl tr.is-us td { background: var(--color-main-soft); }
.tbl tr.is-us th { color: var(--color-main); }
@media (max-width: 860px) {
  .cols2 { grid-template-columns: 1fr; }
  .tbl th, .tbl td { padding: 12px 14px; }
}
@media (max-width: 860px) {
  .tbl, .tbl--wide { min-width: 0; }
  .tbl--stack thead { display: none; }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack th, .tbl--stack td { display: block; width: 100%; }
  .tbl--stack tr { border-bottom: 1px solid var(--color-line); padding: 8px 0; }
  .tbl--stack tbody th { background: var(--color-main-soft); border-radius: var(--radius-s); border: 0; white-space: normal; }
  .tbl--stack td { display: flex; justify-content: space-between; gap: var(--sp-2); border: 0; padding: 8px 14px; text-align: right; }
  .tbl--stack td::before { content: attr(data-l); flex: none; font-weight: 700; font-size: var(--fs-small); color: var(--color-sub); text-align: left; }
}
