:root{--red:#d71923;--ink:#202023;--line:#e4e4e7;--sub:#6c6c73;--soft:#f5f5f6;accent-color:var(--red)}
body{background:#f7f7f8;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;letter-spacing:.015em;border-top:5px solid var(--red)}
header{display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fff;min-height:92px;border-bottom:1px solid var(--line)}
.brand{display:block;width:264px;height:88px;object-fit:contain}.header-label{font-size:12px;color:#68686e;letter-spacing:.05em;font-weight:600}
#demo{background:#fff;color:#75757d;border-bottom:1px solid #ececee;padding:10px 24px;text-align:center;font-size:12px;line-height:1.6}
#demo::before{content:'PREVIEW';font-size:10px;font-weight:800;letter-spacing:.1em;background:#f0f0f2;border-radius:4px;padding:3px 7px;margin-right:8px;color:#5c5c63}
main{max-width:664px;padding:38px 22px 64px}.step{font-size:11px;color:var(--red);font-weight:800;letter-spacing:.14em;margin-bottom:12px}
h1{font-size:28px;line-height:1.5;letter-spacing:.02em;margin:12px 0 10px;font-weight:800}h2{font-size:21px;line-height:1.5;font-weight:750}.muted,small{color:var(--sub)}#choose>p{font-size:14px;margin:0 0 26px;line-height:1.9}
.plans{gap:12px}.plan{position:relative;padding:20px 20px 18px 50px;border:1px solid #dedee3;border-radius:12px;transition:background .15s,border-color .15s,box-shadow .15s;background:#fff;box-shadow:0 2px 4px #1b1b2403}
.plan:hover{border-color:#b6b6bd}.plan:has(input:checked){border:2px solid var(--red);padding:19px 19px 17px 49px;background:#fff7f7;box-shadow:0 0 0 3px #d7192309}
.plan input{position:absolute;left:18px;top:26px;accent-color:var(--red);width:19px;height:19px;margin:0}.plan strong{display:inline-block;font-size:18px;font-weight:750;letter-spacing:0;line-height:1.5;padding-top:2px}.plan .price{font-size:25px;letter-spacing:-.03em;line-height:1.4;color:#262629;font-variant-numeric:tabular-nums}.price small{font-size:11px;font-weight:500;letter-spacing:0;margin-left:2px}.plan>small{font-size:12px;display:inline-block;padding-top:6px;letter-spacing:0}
button{background:var(--red);border-radius:10px;padding:17px 16px;margin-top:22px;font-size:15px;letter-spacing:.025em;box-shadow:0 4px 9px #d7192314;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#bc111c}button:active:not(:disabled){transform:translateY(1px)}button:disabled{background:#d6d6db;color:#fff;box-shadow:none}.back{background:transparent;color:#616169;border-color:#d4d4da;box-shadow:none;margin-top:12px;font-weight:500}.back:hover:not(:disabled){background:#eeeef0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d7192360;outline-offset:3px}
.card{border:1px solid var(--line);border-radius:14px;padding:24px;background:#fff;box-shadow:0 3px 12px #24242c03;margin-top:22px}#terms h2{border-bottom:2px solid var(--red);padding-bottom:18px;margin-top:0}dl{grid-template-columns:100px 1fr;gap:12px 18px;font-size:14px;margin:22px 0}dt{color:#73737a}dd{font-weight:600}.money{border-color:#ededf0;font-size:14px;padding:13px 0;align-items:center;gap:14px}.money strong{font-size:24px;color:var(--red);font-variant-numeric:tabular-nums}.money b{font-size:17px;font-variant-numeric:tabular-nums}.notice{font-size:12px;line-height:1.9;background:#f6f6f8;color:#66666f;padding:16px;border-radius:8px;margin-bottom:0}
#detail>p{font-size:13px;color:#6c6c73;line-height:1.9;margin:20px 0 0}#selected{background:#f0f0f3;border-left:3px solid var(--red);padding:10px 14px;font-size:13px;color:#505059;border-radius:0 6px 6px 0;margin-top:18px}
label.field{margin:0 0 23px}label.field:last-child{margin-bottom:0}label.field span{font-size:14px;font-weight:650;margin-bottom:9px}.req{font-size:10px;border-radius:3px;background:#fff0f1;color:var(--red);padding:3px 5px;margin-left:8px;font-weight:600;vertical-align:middle}input:not([type=radio]):not([type=checkbox]),select{font-size:16px;padding:12px;border:1px solid #d8d8de;border-radius:7px;color:#26262b;min-height:48px}input:not([type=radio]):not([type=checkbox]):focus,select:focus{border-color:var(--red);outline:2px solid #d7192318}label.field small{font-size:11px;display:block;margin-top:7px;line-height:1.6}.check{font-size:13px;line-height:1.9;gap:12px;border-top:1px solid #ededf0;padding-top:18px;margin-top:20px}.check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--red);margin-top:4px}.card>h2{font-size:18px;margin:0 0 14px}.card>p{font-size:13px;color:#686870}.card>a{font-size:13px;font-weight:650}a{color:#bc111c;text-underline-offset:4px}.error{font-size:13px;color:#b2131d}
pre{font-size:13px;color:#51515b;line-height:1.9}.page-foot{text-align:center;font-size:10px;letter-spacing:.06em;color:#95959c;padding:0 16px 28px}
@media(max-width:480px){header{padding:0 18px;min-height:78px}.brand{width:223px;height:74px}.header-label{font-size:10px;max-width:60px;text-align:right;line-height:1.5}#demo{font-size:10px;text-align:left;padding:9px 18px}#demo::before{font-size:9px}main{padding:26px 18px 44px}h1{font-size:24px}.step{font-size:10px}.plan{padding:18px 14px 16px 43px}.plan:has(input:checked){padding:17px 13px 15px 42px}.plan input{left:14px;top:23px;width:17px;height:17px}.plan strong{font-size:16px}.plan .price{font-size:23px}.plan>small{font-size:10px}.price small{font-size:10px}.card{padding:20px 18px}dl{font-size:13px;grid-template-columns:82px 1fr;gap:12px}.money{font-size:12px}.money strong{font-size:20px}.money b{font-size:16px}#terms h2{font-size:19px}button{font-size:14px}#choose>p{font-size:12px;margin-bottom:22px}}
@media(max-width:360px){.plan strong{font-size:14px}.plan .price{font-size:21px}.price small{font-size:9px}.plan>small{font-size:9px}}
/* お客様情報フォーム：ご指定の参考レイアウト */
body:has(#application:not([hidden])) main{max-width:1000px}#fields.card{padding:38px 36px;border-radius:24px;box-shadow:0 6px 24px #22222b06}.section-title{display:flex;align-items:center;gap:14px;margin:0 0 34px!important;font-size:24px!important}.required-dark{display:inline-block;background:#303033;color:#fff;border-radius:5px;font-size:13px;padding:4px 9px;line-height:1.6;font-weight:700}.input-group{border:0;padding:0;margin:30px 0;min-width:0}.input-group:last-child{margin-bottom:0}.input-group legend{display:block;width:100%;padding:0;margin-bottom:16px;font-weight:750;font-size:16px;line-height:1.7}.input-group legend small,.address-panel h3 small{font-size:12px;font-weight:500;color:#66666d;margin-left:10px;display:inline-block}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px}.input-unit{display:block;min-width:0}.input-unit>span{display:block;color:#606068;font-size:14px;font-weight:550;margin-bottom:8px}.input-unit input,.input-unit select,.input-group>input{min-height:56px!important;border-radius:9px!important;background:#fcfcfd!important;border-color:#cfcfd4!important;padding:14px 16px!important}.input-unit input::placeholder,.input-group input::placeholder{color:#9b9ba2;font-size:15px;opacity:1}.birth-row{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:20px;max-width:650px}.birth-row label{display:flex;align-items:center;gap:9px;min-width:0}.birth-row select{min-width:0;min-height:54px;border-radius:9px;background:#fcfcfd;padding:12px;color:#66666d}.birth-row span{flex-shrink:0;font-size:16px}.radio-row{display:flex;gap:30px;flex-wrap:wrap}.radio-row label{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:15px}.radio-row input,.contract-options input{appearance:auto;width:22px;height:22px;accent-color:var(--red);margin:0;flex-shrink:0}.address-panel{background:#f5f5f7;padding:24px;border-radius:12px;margin:34px 0}.address-panel h3{font-size:16px;margin:0 0 27px;line-height:1.7}.postal-row{display:flex;align-items:end;gap:20px}.postal-row .input-unit{max-width:270px;flex:1}.lookup-button{width:auto;background:#202023;border-radius:40px;min-height:56px;padding:12px 28px;margin:0;box-shadow:none;font-size:15px;flex-shrink:0}.lookup-button:hover:not(:disabled){background:#414149}.lookup-message{font-size:12px;line-height:1.7;color:#64646d;margin:8px 0 0;min-height:0}.lookup-credit{display:block;font-size:10px;margin:5px 0 20px;color:#85858d}.address-grid{display:grid;grid-template-columns:1fr 2fr;gap:24px}.address-panel>.input-unit,.address-grid,#addressChoices{margin-top:24px}.start-note{font-size:12px;line-height:1.8;color:#606069;margin:12px 0 0}.contract-options{display:grid;gap:12px}.contract-options label{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #d7d7de;border-radius:9px;cursor:pointer;font-size:15px}.contract-options label:has(input:checked){background:#fff7f7;border-color:var(--red)}.contract-options small{display:inline;color:inherit;font-size:inherit}.contact-group{margin-top:32px}
@media(max-width:600px){#fields.card{padding:24px 18px;border-radius:18px}.section-title{font-size:19px!important;gap:10px;margin-bottom:26px!important}.required-dark{font-size:11px;padding:4px 7px}.input-group{margin:26px 0}.input-group legend{font-size:14px;margin-bottom:12px}.input-group legend small,.address-panel h3 small{font-size:10px;margin-left:0;display:block;margin-top:4px}.two-cols{gap:12px}.input-unit>span{font-size:12px}.input-unit input,.input-unit select,.input-group>input{min-height:50px!important;padding:12px!important}.input-unit input::placeholder,.input-group input::placeholder{font-size:13px}.birth-row{gap:10px;grid-template-columns:1.4fr 1fr 1fr}.birth-row label{gap:5px}.birth-row select{font-size:14px;padding:10px 7px;min-height:50px}.birth-row span{font-size:13px}.radio-row{gap:18px}.radio-row label{font-size:13px;gap:7px}.radio-row input{width:19px;height:19px}.address-panel{padding:18px 14px;margin:28px -4px}.address-panel h3{font-size:14px;margin-bottom:22px}.postal-row{gap:12px}.lookup-button{padding:10px 18px;font-size:13px;min-height:50px}.address-grid{grid-template-columns:1fr;gap:20px}.address-panel>.input-unit,.address-grid,#addressChoices{margin-top:20px}.lookup-credit{font-size:9px;margin-bottom:12px}.start-note{font-size:11px}.contract-options label{padding:14px 12px;font-size:13px;gap:10px}.contract-options small{display:block;margin-top:2px}.contract-options input{width:20px;height:20px}}

#initialFields{margin:24px 0 28px;padding:24px}#initialFields .input-group{margin:0 0 26px}#initialFields .input-group:last-child{margin-bottom:0}.plan-section-title{font-size:18px;margin:0 0 16px}.optional-badge{display:inline-block;margin-left:6px;font-size:10px;font-weight:500;color:#73737b;background:#e9e9ed;border-radius:3px;padding:1px 6px;vertical-align:middle}@media(max-width:600px){#initialFields{padding:20px 18px}.plan-section-title{font-size:16px}}

.payment-important{border:2px solid #d71923;border-left-width:6px;border-radius:10px;background:#fff4f4;padding:18px 18px 18px 16px;margin-top:22px;color:#9f1721}.payment-important h3{font-size:15px;margin:0 0 12px;font-weight:800}.payment-important ul{margin:0;padding-left:20px}.payment-important li{font-size:14px;line-height:1.9;font-weight:750;margin:7px 0}.payment-important li::marker{color:#d71923}@media(max-width:480px){.payment-important{padding:16px 13px;border-left-width:5px}.payment-important h3{font-size:14px}.payment-important li{font-size:13px;line-height:1.9}}

.postal-format-note,.field-hint{display:block;font-size:11px;line-height:1.8;color:#73737c;margin:9px 0 0}.postal-format-note{margin-top:9px}.field-hint{margin-bottom:0}body:has(#confirmation:not([hidden])) main{max-width:850px}.review-rows{display:grid;grid-template-columns:180px minmax(0,1fr);gap:0;margin:0;font-size:14px}.review-rows dt,.review-rows dd{padding:14px 0;border-bottom:1px solid #ededf1;overflow-wrap:anywhere;white-space:pre-wrap}.review-rows dt{padding-right:18px;color:#6c6c75}.review-rows dd{font-weight:600}.confirmation-consent{font-size:12px;color:#74747d;margin-top:22px}#sendApplication{font-size:17px;padding:19px 20px}@media(max-width:540px){.review-rows{grid-template-columns:1fr}.review-rows dt{padding:12px 0 4px;border-bottom:0;font-size:11px}.review-rows dd{padding:0 0 12px;font-size:14px}#confirmation>p{font-size:12px}.field-hint,.postal-format-note{font-size:10px}}
