/* トップページ専用の部品（index.html だけが読む） */
#sheet{padding-top:36px}
.sheet-grid{display:grid;grid-template-columns:minmax(0,640px) minmax(0,1fr);gap:56px;align-items:start}
.paper{background:var(--paper);border:1px solid var(--navy);padding:28px 28px 24px}
.paper-label{font-size:13px;font-weight:700;color:var(--navy);line-height:1.5;margin-bottom:4px}
.paper-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.paper-title{font-size:23px;font-weight:700;color:var(--navy);line-height:1.4;font-feature-settings:"palt";letter-spacing:0}
.paper-unit{font-size:12px;color:var(--sub);white-space:nowrap}
.paper-fic{font-size:13px;margin:2px 0 16px;color:var(--ink)}
.sheet{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;letter-spacing:0;line-height:1.35}
.sheet th,.sheet td{padding:9px 0;text-align:right;font-weight:400;vertical-align:top}
.sheet th:first-child{text-align:left;width:37%}
.sheet thead th{background:var(--navy);color:#fff;font-weight:700;font-size:14px;padding:6px 8px}
.sheet thead th:first-child{padding-left:10px}
.sheet thead tr.gap th{background:none;padding:0;height:14px}
.sheet tbody tr{border-bottom:1px solid var(--navy)}
.sheet tbody tr.nobd{border-bottom:0}
.sheet tbody th{color:var(--navy);font-weight:700;font-size:15px}
.sheet tbody th small{display:block;font-size:12px;font-weight:400;color:var(--ink)}
.sheet td{font-size:15px;padding-left:4px;padding-right:8px}
.sheet td small{display:block;font-size:12px}
.sheet td.now{font-weight:700;color:var(--navy);font-size:16px}
.sheet tr.sub th,.sheet tr.sub td{font-size:12.5px;padding-top:0;color:var(--ink);font-weight:400}
.sheet tr.sub th{padding-left:1em}
.sheet tr.plain th{font-weight:400;color:var(--ink)}
.sheet tr.end{border-top:3px solid var(--navy);border-bottom:0}
.sheet tr.end th{font-size:18px}
.sheet tr.end td{font-size:16px}
.sheet tr.end td.now{font-size:20px}
.sheet tr.end td.gap-shu{color:var(--shu);font-weight:700}
.memo{border-left:3px solid var(--navy);padding-left:14px;margin-top:10px;font-size:14px;line-height:1.7}
.memo b{color:var(--navy)}
.memo p+p{margin-top:6px}
.qa h3{margin-bottom:6px}
.qa>p.q-lead{font-size:15px;margin-bottom:20px}
.qa ol li{padding:0 0 18px}
.qa ol li b{display:block;color:var(--navy);line-height:1.6}
.qa ol li span{display:block;font-size:15px;line-height:1.8}
.sheet-check{border-top:1px solid var(--navy);padding-top:18px;margin-top:4px}
.sheet-check h3{margin-bottom:8px}
.sheet-check p{font-size:15px}
.next{margin:14px 0 18px;font-size:15px}
.four{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.four dt{font-size:13px;color:var(--sub);font-weight:500}
.four dd{color:var(--navy);font-weight:700;font-size:18px;line-height:1.55;font-feature-settings:"palt";letter-spacing:0}
.month{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:56px;align-items:center}
.steps{counter-reset:s}
.steps li{counter-increment:s;display:grid;grid-template-columns:44px 96px 1fr;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--navy)}
.steps li:first-child{border-top:1px solid var(--navy)}
.steps li::before{content:counter(s);font-size:24px;font-weight:700;color:var(--navy);line-height:1.2}
.steps b{color:var(--navy)}
.steps span{line-height:1.7}
.gets{margin-top:28px}
.gets h3{font-size:16px;margin-bottom:4px}
.gets li::before{content:"・"}
.forms{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(7,auto);column-gap:48px}
.form{display:grid;grid-row:span 7;grid-template-rows:subgrid}
.form h3{background:var(--navy);color:#fff;padding:10px 16px;font-size:18px}
.row{padding:0;margin-top:20px}
.row.fee{border-top:1px solid var(--navy);padding-top:20px}
.row .k{font-size:13px;color:var(--sub);font-weight:500;line-height:1.6}
.row .v{line-height:1.8;font-size:15px}
.row .v b{color:var(--navy)}
.row .v.price{font-size:15px}
.row .v.price b{font-size:22px;letter-spacing:0;white-space:nowrap}
.row li+li{margin-top:2px}
.tanto{max-width:44em;margin-top:40px}
.tanto h3{font-size:18px;margin-bottom:4px}
.close{background:var(--sky);padding:80px 0 0;overflow:hidden}
.close-grid{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:48px;align-items:end}
.close-text{padding-bottom:72px}
.close h2{margin-bottom:12px}
.close ul{margin:12px 0 18px}
.close ul li::before{content:"・"}
.close ol{counter-reset:c;margin:0 0 26px}
.close ol li{counter-increment:c;display:grid;grid-template-columns:1.6em 1fr;line-height:1.75;padding:3px 0}
.close ol li::before{content:counter(c) ".";font-weight:700;color:var(--navy)}
.close .note{color:var(--navy);margin-top:14px}
.close-pic{padding-bottom:20px}
@media(max-width:1040px){
  .sheet-grid,.month,.close-grid{grid-template-columns:minmax(0,1fr)}
  .paper{max-width:640px}
  .month-pic{max-width:min(100%,340px)}
  .close-pic{max-width:min(100%,380px);padding-bottom:12px}
  .close-text{padding-bottom:24px}
}
@media(max-width:820px){
  .four{grid-template-columns:1fr 1fr}
  .forms{grid-template-columns:minmax(0,1fr)}
  .forms{grid-template-rows:none;row-gap:40px}
  .form{grid-row:auto;display:block}
}
@media(max-width:640px){
  #sheet{padding-top:32px}
  .close{padding:56px 0 0}
  .paper{padding:18px 14px 16px;margin:0 -6px}
  .paper-title{font-size:19px}
  .sheet thead tr,.sheet tbody tr{display:grid;grid-template-columns:repeat(3,1fr);align-items:baseline}
  .sheet thead th:first-child,.sheet tbody th,.sheet th:first-child{grid-column:1 / -1;width:auto}
  .sheet thead th{padding:3px 6px}
  .sheet thead th:first-child{padding:5px 8px 0}
  .sheet tbody th{padding:8px 0 0}
  .sheet tbody th small{display:inline;margin-left:.3em}
  .sheet td{padding:1px 2px 7px 0;font-size:14px}
  .sheet td.now{font-size:14.5px}
  .sheet tr.sub th{padding-top:0;padding-left:0}
  .sheet tr.sub td{padding-top:0}
  .sheet thead tr.gap{display:block;height:12px}
  .sheet thead tr.gap th{display:block;height:12px}
  .sheet tr.end th{font-size:16px}
  .sheet tr.end td.now{font-size:17px}
  .sheet tr.end td{font-size:14.5px}
  .memo{font-size:13px}
  .sheet-grid{gap:36px}
  .four{gap:22px 16px}
  .four dd{font-size:16px}
  .steps li{grid-template-columns:32px 1fr}
  .steps span{grid-column:2}
  .close-grid{gap:0}
}
