/* NOTsha freee アプリ（連携ページ・ヘルプ・法的表記）共通スタイル
   色は NOTsha の設計図（ネイビー #1a2744／オレンジ #f97316）。notsha.co.jp/kenshin・/mimamori と同じ系統。
   8pt グリッド・タップ 44px・コントラスト 4.5:1 以上。 */
:root {
  --navy: #1a2744; --navy-2: #243458; --orange: #f97316; --orange-2: #ea580c;
  --ink: #111827; --ink-2: #4b5563; --muted: #6b7280; --line: #e5e7eb; --bg: #f8fafc; --panel: #ffffff;
  --ok: #166534; --ok-bg: #ecfdf5; --warn: #b45309; --warn-bg: #fffbeb; --ng: #b91c1c; --ng-bg: #fef2f2;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif; font-size: 16px; line-height: 1.8; }
a { color: var(--navy); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px 64px; }
header.top { background: var(--navy); color: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; min-height: 56px; }
header.top a { color: #fff; text-decoration: none; font-weight: 700; }
header.top nav a { font-weight: 500; font-size: 14px; margin-left: 16px; opacity: .9; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 28px; height: 28px; border-radius: 6px; background: var(--orange); display: inline-block; }
h1 { font-size: 28px; line-height: 1.35; margin: 32px 0 8px; letter-spacing: -.01em; }
h2 { font-size: 20px; margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
h3 { font-size: 17px; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
.lead { font-size: 17px; color: var(--ink-2); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.card.accent { border-top: 4px solid var(--orange); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn.primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn.primary:hover { background: var(--orange-2); border-color: var(--orange-2); }
.btn.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.note { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 12px 0; font-size: 15px; }
.note.ok { border-left-color: var(--ok); background: var(--ok-bg); }
.note.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.note.ng { border-left-color: var(--ng); background: var(--ng-bg); }
.price { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #e8f0fe; color: #1e40af; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; background: #fff; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: #eef2f7; font-weight: 700; }
ol, ul { padding-left: 1.4em; margin: 0 0 12px; }
li { margin: 6px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { position: relative; padding-left: 44px; margin: 12px 0; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.shot { border: 1px solid var(--line); border-radius: 8px; max-width: 100%; display: block; margin: 8px 0 4px; }
.cap { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
footer { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 16px; font-size: 13px; color: var(--muted); }
footer a { margin-right: 14px; }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select { min-height: 44px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0 12px; font-size: 16px; }
.radio { display: flex; gap: 12px; flex-wrap: wrap; }
.radio label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; cursor: pointer; }
.radio input { width: 18px; height: 18px; }
.kv { display: grid; grid-template-columns: 9em 1fr; gap: 6px 12px; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
@media (max-width: 600px) { h1 { font-size: 24px; } .kv { grid-template-columns: 1fr; } .price { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
