/* 4サービス共通の見た目。差し色は各ページの --accent で変える */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700;900&display=swap');
:root { --ink:#1a1a1a; --sub:#555b62; --line:#dcdfe3; --pale:#f5f4ef; --paper:#ffffff; --accent:#a3262a; --pop:#ffd23f; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"Zen Kaku Gothic New","Hiragino Sans",sans-serif; font-weight:500; font-size:16px; line-height:1.85; }
p, li, td, th, label, .hint { word-break:auto-phrase; }
a { color:var(--accent); }
header.top { background:var(--accent); color:#fff; border-bottom:1px solid rgba(255,255,255,.18); }
header.top .in { max-width:880px; margin:0 auto; padding:14px 20px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
header.top .in { max-width:1120px; }
header.top .brand { font-weight:900; font-size:20px; color:#fff; text-decoration:none; letter-spacing:.04em; }
header.top .beta { font-size:13px; font-weight:900; background:var(--pop); color:var(--ink); padding:4px 10px; white-space:nowrap; }
main { max-width:880px; margin:0 auto; padding:32px 20px 64px; }
.kicker { font-size:14px; font-weight:700; color:var(--accent); margin:0; }
h1 { font-size:34px; line-height:1.45; margin:6px 0 16px; font-weight:900; }
h2 { font-size:28px; font-weight:900; margin:60px 0 18px; padding-left:16px; border-left:8px solid var(--accent); line-height:1.4; }
h3 { font-size:18px; margin:28px 0 8px; }
.lead { font-size:17px; margin:0 0 24px; }
.box { background:#fff; border:3px solid var(--ink); padding:22px; margin:18px 0; }
.box.pale { background:var(--pale); border-color:transparent; }
.fact { background:var(--pale); border-left:8px solid var(--accent); padding:16px 18px; margin:22px 0; }
.fact b { font-size:20px; }
.note, .hint { font-size:13px; color:var(--sub); line-height:1.7; }
.hint { display:block; margin-top:4px; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:12px 16px; }
.field { margin-bottom:14px; }
.field label { display:block; font-weight:700; margin-bottom:6px; }
.field .opt { font-weight:400; font-size:13px; color:var(--sub); }
input[type=text], input[type=email], input[type=number], input[type=date], select, textarea {
  font:inherit; font-size:16px; width:100%; padding:10px 12px; border:1.5px solid #9aa2ab; background:#fff; border-radius:0; color:var(--ink); }
textarea { min-height:120px; resize:vertical; }
input:focus, select:focus, textarea:focus { outline:3px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.checks label { display:flex; gap:8px; align-items:flex-start; font-weight:400; margin:6px 0; }
.checks input { margin-top:6px; }
.btn { display:inline-block; font:inherit; font-weight:900; font-size:18px; background:var(--pop); color:var(--ink); border:0; padding:16px 30px; cursor:pointer; text-decoration:none; box-shadow:5px 5px 0 var(--ink); transition:transform .08s, box-shadow .08s; }
.btn:hover { transform:translate(2px,2px); box-shadow:3px 3px 0 var(--ink); }
.btn:active { transform:translate(5px,5px); box-shadow:0 0 0 var(--ink); }
.btn.block { display:block; width:100%; text-align:center; }
.btn.ghost { background:#fff; color:var(--ink); border:3px solid var(--ink); box-shadow:4px 4px 0 var(--ink); }
.btn[disabled] { opacity:.5; cursor:default; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
table { width:100%; border-collapse:collapse; margin:8px 0 16px; font-size:15px; }
th, td { text-align:left; padding:10px 8px; border-bottom:1px solid var(--line); vertical-align:top; }
th { background:var(--pale); font-weight:900; }
.ok { color:#1f6b3a; font-weight:700; } .warn { color:#9a6400; font-weight:700; } .ng { color:#b3261e; font-weight:700; }
.msg { padding:12px 14px; margin:12px 0; display:none; }
.msg.show { display:block; }
.msg.good { background:#e9f4ec; border-left:4px solid #1f6b3a; }
.msg.bad { background:#fbeceb; border-left:4px solid #b3261e; }
ol.steps { counter-reset:s; list-style:none; padding:0; }
ol.steps li { counter-increment:s; position:relative; padding:8px 0 8px 42px; border-bottom:1px solid var(--line); }
ol.steps li::before { content:counter(s); position:absolute; left:0; top:9px; width:30px; height:30px; background:var(--ink); color:var(--pop); font-weight:900; text-align:center; line-height:30px; }
footer.bottom { border-top:1px solid var(--line); background:#fff; }
footer.bottom .in { max-width:880px; margin:0 auto; padding:20px; font-size:13px; color:var(--sub); }
footer.bottom a { color:var(--sub); margin-right:14px; }
/* トップの色面（A）＋線画（C） */
.hero { background:var(--accent); color:#fff; }
.hero .in { max-width:1120px; margin:0 auto; padding:44px 20px 64px; display:grid; grid-template-columns:1.25fr 1fr; gap:36px; align-items:center; }
.hero .tag { display:inline-block; background:var(--pop); color:var(--ink); font-weight:900; font-size:15px; padding:6px 12px; }
.hero h1 { word-break:auto-phrase; font-size:52px; line-height:1.32; margin:18px 0 18px; color:#fff; letter-spacing:.02em; }
.hero h1 em { font-style:normal; color:var(--pop); }
.hero .lead { font-size:18px; color:rgba(255,255,255,.92); margin:0 0 30px; }
.hero svg { width:100%; height:auto; display:block; }
.hero .hnote { color:rgba(255,255,255,.8); font-size:13px; margin-top:18px; }
.strip { background:var(--ink); color:#fff; }
.strip .in { max-width:1120px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); }
.strip .in > div { padding:24px 20px; border-right:1px solid #444; }
.strip .in > div:last-child { border-right:0; }
.strip b { display:block; font-size:40px; line-height:1.05; color:var(--pop); font-weight:900; }
.strip b small { font-size:18px; margin-left:2px; }
.strip span { font-size:15px; line-height:1.6; display:block; margin-top:6px; }
.hero.sub .in { grid-template-columns:1fr; padding:32px 20px 40px; }
.hero.sub h1 { font-size:36px; margin:12px 0 10px; }
.hero.sub .lead { margin:0; }
@media (max-width:1100px) and (min-width:821px) { .hero h1 { font-size:42px; } }
@media (max-width:820px) {
  .hero .in { grid-template-columns:1fr; padding:28px 20px 44px; gap:20px; }
  .hero svg { max-width:300px; margin:0 auto; order:-1; }
  .hero h1 { font-size:29px; letter-spacing:0; }
  .hero.sub h1 { font-size:28px; }
  .strip .in { grid-template-columns:1fr 1fr; }
  .strip .in > div:nth-child(2) { border-right:0; }
  .strip .in > div:nth-child(-n+2) { border-bottom:1px solid #444; }
  .strip b { font-size:32px; }
}
@media (max-width:640px) { h1 { font-size:26px; } h2 { font-size:23px; } .grid2 { grid-template-columns:1fr; } main { padding-top:24px; } }
@media print { header.top, footer.bottom, .noprint { display:none !important; } body { background:#fff; } }
