.page-hero { padding: clamp(16px, 3vw, 32px) 0 clamp(56px, 7vw, 88px); }
.mobile-nav + main > .page-hero:first-child { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + clamp(32px, 5vw, 64px)); }
.page-hero .hero-photo { opacity: .5; object-position: 100% 55%; -webkit-mask-image: linear-gradient(90deg, transparent 30%, rgba(0, 0, 0, .45) 60%, #000 92%); mask-image: linear-gradient(90deg, transparent 30%, rgba(0, 0, 0, .45) 60%, #000 92%); }
.page-hero h1 { font-size: var(--fs-hero); line-height: 1.35; letter-spacing: .05em; max-width: 20em; }
.page-hero h1 em { font-style: normal; }
.lead { margin-top: 20px; max-width: 40em; color: var(--ink-2); font-size: 1.0625rem; }
.page-hero .btn-row { margin-top: 28px; }
.fine { margin-top: 16px; font-size: .875rem; color: var(--ink-2); }
.fine a { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.page-faq { max-width: 820px; }
@media (max-width: 768px) {
.page-hero .hero-photo { opacity: .3; object-position: 80% 50%; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 85%); }
}
.table-scroll { overflow-x: auto; }
.rate-table { width: 100%; max-width: 760px; border-collapse: collapse; background: var(--paper); font-variant-numeric: tabular-nums; }
.rate-table th, .rate-table td { padding: 14px clamp(8px, 3vw, 16px); text-align: left; border-bottom: 1px solid var(--rule); font-size: .95rem; line-height: var(--lh-s); white-space: nowrap; }
.rate-table thead th { border-bottom: 2px solid var(--ink); font-size: .875rem; color: var(--ink-2); }
.rate-table tbody th { font-weight: 700; }
.point p a { color: var(--land); text-decoration: underline; text-underline-offset: 3px; }
.lead a { color: var(--land); text-decoration: underline; text-underline-offset: 3px; }
.creed-word span { display: inline-block; }
.creed-word { margin-top: 8px; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); font-weight: 700; line-height: 1.45; letter-spacing: .04em; text-wrap: balance; }
.creed-lead { max-width: 40em; margin-top: 20px; color: var(--ink-2); line-height: var(--lh); }
.creed-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 48px; max-width: 1120px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
.creed-list dt { font-size: var(--fs-sub); font-weight: 700; }
.creed-list dd { margin: 8px 0 0; color: var(--ink-2); line-height: var(--lh); }
@media (max-width: 768px) { .creed-list { grid-template-columns: 1fr; gap: 24px; } }
.auto-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin-top: 32px; }
.auto-case { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper); }
.auto-case h3 { font-size: var(--fs-sub); padding: 20px clamp(20px, 2.4vw, 28px) 0; }
.auto-case dl { display: grid; gap: 0; margin: 14px 0 12px; padding: 0 clamp(20px, 2.4vw, 28px) 8px; }
.auto-case dl > div { padding: 12px 0; }
.auto-case dl > div + div { border-top: 1px solid var(--rule); }
.auto-case dt { font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.auto-case dd { margin: 2px 0 0; line-height: 1.85; }
.auto-case div:nth-child(2) dt { color: var(--land); }
@media (max-width: 768px) { .auto-cases { grid-template-columns: 1fr; gap: 20px; } }
.auto-case .point-i { margin: 0 0 10px; }
.auto-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.auto-scope { display: block; margin-top: 2px; font-size: .875rem; font-weight: 400; color: var(--ink-3); }
.auto-act { display: flex; flex-wrap: wrap; gap: 10px; margin: auto clamp(20px, 2.4vw, 28px) 24px; }
.modal { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--r); background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(30, 33, 29, .6); }
.modal[open] { animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html:has(.modal[open]) { overflow: hidden; }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px clamp(20px, 4vw, 36px) 16px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.modal-head h3 { font-size: var(--fs-sub); line-height: 1.5; }
.modal-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; margin: -6px -8px 0 0; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--paper); color: var(--ink); cursor: pointer; }
.modal-x .i { transform: rotate(45deg); }
.modal-body { padding: 8px clamp(20px, 4vw, 36px) 28px; line-height: 1.85; }
.modal-act { margin-top: 32px; }
.modal-more { position: sticky; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: -56px; padding: 32px 0 12px; background: linear-gradient(rgba(255, 255, 255, 0), var(--paper) 60%); color: var(--ink-2); font-size: .8125rem; font-weight: 700; pointer-events: none; opacity: 0; transition: opacity .2s; }
.modal-more .i { width: 18px; height: 18px; }
.modal.has-more .modal-more { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .modal-more { transition: none; } }
@media (hover: hover) { .modal-x:hover { border-color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }
.price-note { margin-bottom: 20px; font-size: .9rem; line-height: var(--lh-s); color: var(--ink-2); }
.sec-title + .table-scroll { margin-top: 12px; }
.table-scroll + .sec-title { margin-top: 48px; }
.case-modal .i{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.modal.case-modal{width:min(1120px,calc(100% - 24px))}
.case-modal .modal-body{padding:24px clamp(18px,3vw,36px) 32px;line-break:strict;word-break:auto-phrase;text-wrap:pretty}
.case-modal .case-now{padding:14px 18px;background:var(--band);border:1px solid var(--rule);border-radius:var(--r)}
.case-modal .case-now h4,.case-modal .case-system h4,.case-modal .human-note strong{display:flex;align-items:center;gap:8px;font-size:1rem;line-height:1.5}
.case-modal .case-now h4 .i,.case-modal .human-note .i{color:var(--ink-2)}
.case-modal .case-now p{margin-top:5px;color:var(--ink-2);font-size:.875rem}
.case-modal .case-system{margin-top:20px}
.case-modal .case-system h4{margin-bottom:12px}
.case-modal .case-system h4 .i{color:var(--land)}
.case-modal .flow-head,.case-modal .io-step{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1.5fr) 28px minmax(0,1fr);column-gap:8px}
.case-modal .flow-head{margin:0 0 8px;padding:0 12px;color:var(--ink-2);font-size:.8125rem;font-weight:700}
.case-modal .flow-head span:nth-child(2){grid-column:3}.case-modal .flow-head span:nth-child(3){grid-column:5}
.case-modal .flow-rows{display:grid;gap:14px}
.case-modal .io-step{position:relative;align-items:stretch;padding:12px;border:1px solid var(--rule);border-radius:var(--r);background:var(--paper)}
.case-modal .io-step--linked:before{content:"";position:absolute;left:50%;bottom:100%;height:15px;border-left:2px solid var(--land)}
.case-modal .io-in,.case-modal .io-out{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.case-modal .io-tag{display:block;width:100%;padding:10px 11px;border:1px solid var(--rule-2);border-radius:var(--r);background:var(--band);font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere}
.case-modal .io-out .io-tag{border-color:var(--land);background:var(--land-tint)}
.case-modal .io-work{min-width:0;padding:11px 14px;border:1px solid var(--land);border-radius:var(--r)}
.case-modal .io-work h5{margin:0 0 4px;font-size:.9375rem;line-height:1.5}
.case-modal .io-work p{font-size:.8125rem;line-height:1.65;color:var(--ink-2)}
.case-modal .io-arrow{display:flex;align-items:center;justify-content:center;color:var(--land)}
.case-modal .io-arrow .i{width:20px;height:20px}
.case-modal .judgment{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:7px;font-size:.75rem;line-height:1.5;color:var(--land-dark)}
.case-modal .judgment .i{width:16px;height:16px}
.case-modal .judgment span:nth-child(2){padding:2px 5px;border:1px solid var(--land);border-radius:var(--r);background:var(--paper);font-weight:700}
.case-modal .human-note{display:flex;gap:16px;align-items:baseline;margin-top:18px;padding:12px 0;border-top:1px solid var(--rule);font-size:.875rem}
.case-modal .human-note strong{flex:none}
.case-modal .detour{display:grid;grid-template-columns:70px minmax(0,1fr) 70px;align-items:center;gap:8px;margin:0 8px 4px 22%;color:var(--ink-2);font-size:.75rem}
.case-modal .detour-out,.case-modal .detour-back{position:relative;text-align:center}
.case-modal .detour-out:before,.case-modal .detour-back:before{content:"";position:absolute;top:-17px;left:50%;height:18px;border-left:2px dashed var(--land)}
.case-modal .detour-back .i{display:inline-block;width:14px;height:14px;vertical-align:middle;color:var(--land);transform:rotate(-90deg)}
.case-modal .detour-body{padding:10px 14px;border:2px dashed var(--land);border-radius:var(--r);background:var(--band)}
.case-modal .detour-body h5{display:flex;align-items:center;gap:7px;margin:0 0 3px;font-size:.875rem}
.case-modal .detour-body h5 .i{color:var(--land);width:17px;height:17px}
.case-modal .detour-body p{font-size:.8125rem;line-height:1.6}
.case-modal .week{margin-top:26px;padding-top:20px;border-top:1px solid var(--rule)}
.case-modal .week h4{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:1rem}.case-modal .week h4 .i{color:var(--land)}
.case-modal .week-track{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin:0;padding:0;list-style:none}
.case-modal .week-track li{position:relative;padding:12px 2px 0;border-top:2px solid var(--land);text-align:center;font-size:.75rem;white-space:nowrap}
.case-modal .week-track li:before{content:"";position:absolute;top:-5px;left:calc(50% - 4px);width:8px;height:8px;border-radius:50%;background:var(--land)}
.case-modal .week-track li:last-child:before{background:var(--paper);border:2px solid var(--land);width:11px;height:11px;top:-6px}
.case-modal .week-mark{display:block;margin-top:4px;white-space:nowrap;color:var(--land-dark);font-weight:700;line-height:1.35}
.case-modal .week-track li:last-child .week-mark{position:relative;right:0;text-align:right;margin-left:-6em}
.case-modal .week-track li:last-child{text-align:right}
.case-modal .week-output{margin-top:14px;padding:12px 16px;border:1px solid var(--rule);border-radius:var(--r);background:var(--band)}
.case-modal .modal-act{margin-top:26px}
.case-modal .mobile-col{display:none}
@media(max-width:759px){
.case-modal .flow-head{display:none}
.case-modal .flow-rows{gap:22px}
.case-modal .io-step{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:14px}
.case-modal .io-step--linked:before{height:23px}
.case-modal .io-in,.case-modal .io-out{display:block}
.case-modal .mobile-col{display:block;margin-bottom:3px;color:var(--ink-2);font-size:.75rem;font-weight:700}
.case-modal .io-arrow{height:20px}.case-modal .io-arrow .i{transform:rotate(90deg)}
.case-modal .human-note{display:block}.case-modal .human-note span{display:block;margin-top:5px}
.case-modal .detour{grid-template-columns:28px minmax(0,1fr) 28px;margin:0 2px;gap:4px}.case-modal .detour-out,.case-modal .detour-back{font-size:.75rem;writing-mode:vertical-rl;white-space:nowrap;justify-self:center}
.case-modal .detour-body{padding:9px}.case-modal .week-track li{font-size:.75rem}.case-modal .week-mark{font-size:.75rem}
.case-modal .modal-act .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.modal.case-modal[open]{animation:none}.case-modal *{scroll-behavior:auto;transition:none!important;animation:none!important}}
.case-intro { margin: 2px 0 18px; color: var(--ink-2); }
.web-prices th[scope="row"] { white-space: normal; }
.web-sub { display: block; font-size: .8125rem; font-weight: 400; color: var(--ink-3); }
.web-prices td { font-weight: 700; }
.web-terms { display: grid; gap: 10px; max-width: 46em; margin-top: 20px; padding-left: 1.25em; list-style: disc; line-height: var(--lh); }
.web-terms li::marker { color: var(--ink-3); }
.web-h3 { margin-top: 48px; font-size: var(--fs-sub); line-height: var(--lh-h); }
