/* 従業員守る君 の Web (契約・支払い・案内だけ)。見た目はアプリと同じ「店の記録簿」(docs/デザイン方針.md v0.2) */
:root {
  --paper: #F0F0EA; --sheet: #FFFFFF; --sumi: #1D1D1B; --edge: #7A7A73; --rule: #D5D5CE;
  --usuzumi: #55554F; --red: #C62D1F; --blue: #1F5FBF; --link: #0B5CC4; --wash: #E4EEFB; --shu: #C73A1D;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--sumi);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  font-size: 16px; line-height: 1.8;
}
a { color: var(--link); text-underline-offset: 3px; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
header.site { background: var(--sheet); border-bottom: 1.5px solid var(--sumi); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
header.site .brand { font-weight: 700; font-size: 18px; color: var(--sumi); text-decoration: none; }
header.site nav a { margin-left: 16px; font-size: 15px; }
h1 { font-size: 28px; line-height: 1.45; margin: 36px 0 12px; }
h2 { font-size: 20px; margin: 40px 0 12px; padding-bottom: 6px; border-bottom: 1.5px solid var(--sumi); }
h3 { font-size: 17px; margin: 22px 0 6px; }
p { margin: 10px 0; }
.lead { font-size: 18px; }
.note { color: var(--usuzumi); font-size: 14px; }
.panel { background: var(--sheet); border: 1px solid var(--edge); border-radius: 2px; padding: 16px; margin: 16px 0; }
.panel > h3:first-child { margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 0; }
.price { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.btn {
  display: inline-block; min-height: 52px; padding: 13px 22px; border-radius: 2px; font: inherit; font-weight: 700;
  font-size: 17px; text-decoration: none; cursor: pointer; text-align: center;
  background: var(--sumi); color: #fff; border: 0; border-bottom: 4px solid #000;
}
.btn:active { transform: translateY(2px); border-bottom-width: 2px; }
.btn.sub { background: var(--sheet); color: var(--sumi); border: 1.5px solid var(--sumi); }
.btn[disabled] { background: var(--usuzumi); border-bottom-color: var(--usuzumi); cursor: default; }
.btn.block { display: block; width: 100%; }
label.field { display: block; font-weight: 700; margin: 18px 0 6px; }
label.field .req { background: var(--red); color: #fff; font-size: 12px; padding: 1px 6px; border-radius: 2px; margin-left: 6px; }
input[type=text], input[type=email], input[type=number], select {
  width: 100%; min-height: 50px; padding: 10px 12px; font: inherit; background: var(--sheet); color: var(--sumi);
  border: 1px solid var(--edge); border-radius: 2px;
}
input:focus, select:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { display: flex; gap: 10px; align-items: center; min-height: 56px; padding: 8px 12px; background: var(--sheet);
  border: 1px solid var(--edge); border-radius: 2px; cursor: pointer; font-weight: 700; }
.choice input { width: 22px; height: 22px; accent-color: var(--blue); }
.choice label:has(input:checked) { background: var(--wash); border: 2px solid var(--blue); }
.error { color: var(--red); font-weight: 700; margin: 10px 0; min-height: 1em; }
.callout { border: 2px solid var(--blue); background: var(--sheet); padding: 12px 14px; border-radius: 2px; margin: 16px 0; }
.callout.alert { border-color: var(--red); }
table.spec { width: 100%; border-collapse: collapse; background: var(--sheet); font-size: 15px; }
table.spec th, table.spec td { border: 1px solid var(--edge); padding: 10px 12px; text-align: left; vertical-align: top; }
table.spec th { width: 32%; background: var(--paper); }
footer.site { margin-top: 56px; padding: 22px 0 40px; border-top: 1.5px solid var(--sumi); font-size: 14px; color: var(--usuzumi); }
footer.site a { margin-right: 14px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--rule); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 12px; width: 30px; height: 30px;
  border: 2px solid var(--sumi); border-radius: 50%; text-align: center; line-height: 26px; font-weight: 700; }
code.link { display: block; word-break: break-all; background: var(--sheet); border: 1px solid var(--edge); padding: 10px 12px; font-size: 14px; }
.rows.panel { padding: 0 16px; }

/* ---------- ロゴ (筆のハート・a 案) ---------- */
header.site .brand { display: flex; align-items: center; gap: 9px; }
header.site .brandmark { width: 30px; height: auto; display: block; }
@media (min-width: 720px) { header.site .brandmark { width: 34px; } }

/* 人数のプランの料金表 (申し込み・トップ・社労士向け) */
table.plans { width: 100%; border-collapse: collapse; margin: 1.2rem 0 .6rem; font-size: 1rem; }
table.plans caption { text-align: left; font-size: .9rem; color: var(--usuzumi, #55554F); padding-bottom: .5rem; }
table.plans th, table.plans td { border: 1px solid #D5D5CE; padding: .5rem .8rem; text-align: left; }
table.plans th { background: #F0F0EA; font-weight: 700; }
table.plans td:last-child { font-variant-numeric: tabular-nums; }
table.plans tr.on td { background: #E4EEFB; font-weight: 700; border-color: #1F5FBF; }
