:root { --red: #b71d16; --ink: #16242f; --muted: #53616b; --line: #d7dfe1; }
* { box-sizing: border-box; letter-spacing: 0; }
html, body { margin: 0; padding: 0; }
body { background: #eff2f3; color: var(--ink); font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.wrap { width: min(100%, 620px); margin: 0 auto; background: #fff; min-height: 100dvh; }
.statusbar { background: #f6d991; color: #382c13; font-size: 12px; font-weight: 700; padding: 10px 20px; text-align: center; }
.application { padding: 24px 24px 36px; }
.eyebrow { margin: 0 0 6px; color: var(--red); font-size: 12px; font-weight: 800; }
h1 { font-size: 22px; line-height: 1.5; margin: 0 0 12px; }
.sub, .plan-note, .quantity-note { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.selection { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.selection legend, .quantity-field label { font-size: 14px; font-weight: 800; margin: 0 0 10px; }
.plan-option { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.65; }
.plan-option input { width: 18px; height: 18px; margin: 4px 0 0; flex-shrink: 0; accent-color: var(--red); }
.plan-option small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.quantity-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 12px; }
.quantity-field { min-width: 0; }
.quantity-field label { display: block; }
.quantity-field__input { display: flex; align-items: center; gap: 9px; }
.quantity-field input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #aab7bc; border-radius: 6px; font: inherit; font-size: 18px; color: var(--ink); background: white; }
.quantity-field input[aria-invalid="true"] { border-color: #b71d16; }
.quantity-field__input span { flex-shrink: 0; font-size: 14px; }
.quantity-note { margin-bottom: 8px; font-size: 12px; }
.input-error { font-size: 13px; color: #a31910; margin: 0 0 14px; }
.plan-note { margin: 14px 0; }
.price-caption { font-size: 13px; font-weight: 700; margin: 18px 0 10px; }
.price { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.price__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
.price__row:first-child { border-top: 0; }
.price__row dt { min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 700; }
.price__row dt small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.price__row dd { max-width: 100%; margin: 0 0 0 auto; font-size: 21px; font-weight: 800; overflow-wrap: anywhere; }
.price__row dd small { font-size: 11px; font-weight: 600; }
.price__total { background: #173c3f; color: white; }
.price__total dt small { color: #e4eae6; }
.container-example { margin: 0 0 24px; background: #f1f6f5; padding: 16px; border-left: 3px solid #126b70; }
.container-example h2 { font-size: 16px; margin: 0 0 10px; }
.container-example img { display: block; width: 100%; height: auto; aspect-ratio: 1477 / 1108; object-fit: contain; }
.container-example p { font-size: 12px; margin: 10px 0 0; }
.terms { border-top: 1px solid var(--line); padding-top: 20px; margin: 0 0 20px; }
.terms h2 { font-size: 16px; color: var(--red); margin: 0 0 10px; }
.terms ul { margin: 0; padding-left: 20px; }
.terms li { font-size: 12px; margin: 8px 0; }
.terms-link { display: block; color: #8e281d; font-size: 14px; font-weight: 700; margin-top: 14px; text-underline-offset: 3px; }
.agree { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--red); }
.agree span { font-size: 13px; font-weight: 700; }
.submit { display: block; width: 100%; min-height: 52px; border: 0; border-radius: 6px; padding: 14px; background: var(--red); color: white; font-size: 15px; font-weight: 800; line-height: 1.6; cursor: pointer; }
.submit:disabled { background: #d9dfe1; color: #53616b; cursor: not-allowed; }
.error { background: #fff0ee; border-left: 3px solid #b71d16; color: #8b1c14; padding: 12px; font-size: 13px; margin: 16px 0; }
.legal-note { font-size: 11px; color: var(--muted); text-align: center; margin: 16px 0 0; overflow-wrap: anywhere; }
.legal-note a { color: #37545b; }
.back { display: block; width: 100%; margin-top: 22px; padding: 10px; border: 0; background: transparent; color: #37545b; font: inherit; font-size: 13px; cursor: pointer; }
:focus-visible { outline: 3px solid #b47b15; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 359px) {
  .application { padding: 22px 16px 30px; }
  .quantity-fields { gap: 12px; }
  .quantity-field label { font-size: 13px; }
  .price__row { padding: 12px; }
  .price__row dd { font-size: 20px; }
}
