:root { --bg:#fbfaf7; --fg:#1c1b19; --sub:#6b665e; --line:#dedad2; --soft:#f2efe8; --card:#ffffff;
  --accent:#1f4d3a; --accent-fg:#fff; --warn:#a4491c; --ok:#1f6b45; --max:760px; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#151614; --fg:#ecebe6; --sub:#a09c93; --line:#34352f; --soft:#1e1f1c; --card:#1b1c19;
    --accent:#7fc7a4; --accent-fg:#10231a; --warn:#f0a070; --ok:#7fc7a4; }
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--fg); line-height:1.85; font-size:16px;
  font-family:"Hiragino Sans", "Noto Sans JP", "Yu Gothic", -apple-system, sans-serif; }
a { color:inherit; }
.wrap { max-width:var(--max); margin:0 auto; padding:0 16px; }
header.site { border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; background:var(--bg); }
html { scroll-padding-top:72px; }
header.site .wrap { display:flex; justify-content:space-between; align-items:center; min-height:56px; gap:4px 16px; flex-wrap:wrap; padding-top:8px; padding-bottom:8px; }
header.site a.brand { font-weight:700; text-decoration:none; letter-spacing:.04em; }
header.site nav a { font-size:14px; color:var(--sub); text-decoration:none; margin-left:16px; }
main { padding:48px 0 72px; }
h1 { font-family:"Hiragino Mincho ProN", "Yu Mincho", serif; font-size:32px; line-height:1.45; margin:0 0 16px; font-weight:600; letter-spacing:.02em; }
h2 { font-size:21px; line-height:1.5; margin:56px 0 16px; padding-top:20px; border-top:1px solid var(--line); }
h3 { font-size:16px; margin:24px 0 8px; }
p { margin:0 0 16px; }
.eyebrow { font-size:13px; letter-spacing:.14em; color:var(--accent); font-weight:700; margin:0 0 12px; }
.lead { font-size:17px; color:var(--sub); }
.sub { color:var(--sub); font-size:14px; }
.asof { font-size:13px; color:var(--sub); margin:32px 0 8px; }
.asof + .facts { margin-top:0; }
.facts { display:grid; grid-template-columns:repeat(4, 1fr); gap:0; border:1px solid var(--line); border-radius:12px; background:var(--card); margin:32px 0; overflow:hidden; }
.facts div { padding:16px 12px; text-align:center; border-right:1px solid var(--line); }
.facts div:last-child { border-right:0; }
.facts b { display:block; font-size:22px; line-height:1.3; font-variant-numeric:tabular-nums; }
.facts span { font-size:12px; color:var(--sub); }
.facts b span { font-size:inherit; color:inherit; }   /* 時刻の数字（管理ページの設定で埋める span）は大きいまま */
.btn { display:inline-block; background:var(--accent); color:var(--accent-fg); font-weight:700; text-decoration:none;
  border-radius:8px; padding:14px 28px; border:0; font:inherit; font-weight:700; cursor:pointer; }
.btn.ghost { background:transparent; color:var(--fg); border:1px solid var(--line); font-weight:600; }
.btn:disabled { opacity:.5; cursor:not-allowed; }
.card { border:1px solid var(--line); border-radius:12px; padding:20px; background:var(--card); margin:0 0 16px; }
ol.steps { padding-left:1.4em; } ol.steps li { margin-bottom:6px; }
ul.plain { padding-left:1.2em; } ul.plain li { margin-bottom:6px; }

.cal-head { display:flex; justify-content:space-between; align-items:center; margin:8px 0; }
.cal-head b { font-size:17px; }
.cal-head button { font:inherit; background:var(--card); color:var(--fg); border:1px solid var(--line); border-radius:8px; padding:6px 14px; cursor:pointer; }
.cal-head button:disabled { opacity:.35; cursor:default; }
.cal { display:grid; grid-template-columns:repeat(7, 1fr); gap:6px; }
.cal .dow { text-align:center; font-size:12px; color:var(--sub); padding:4px 0; }
.cal button, .cal .blank { aspect-ratio:1/1; min-height:44px; border-radius:8px; border:1px solid var(--line); background:var(--card); color:var(--fg);
  font:inherit; display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.2; padding:2px; }
.cal .blank { border:0; background:transparent; }
.cal button small { font-size:10px; color:var(--sub); margin-top:2px; }
.cal button.open { cursor:pointer; border-color:var(--accent); }
.cal button.open small { color:var(--accent); font-weight:700; }
.cal button.open:hover { background:var(--soft); }
.cal button.sel { background:var(--accent); color:var(--accent-fg); }
.cal button.sel small { color:var(--accent-fg); }
.cal button.closed, .cal button.out { color:var(--sub); background:var(--soft); border-color:transparent; cursor:default; }
/* 埋まっている日は、ひと目で分かるように濃く出す */
.cal button.taken { background:#b8321f; border-color:#b8321f; color:#fff; cursor:default; }
.cal button.taken small { color:#fff; font-weight:900; font-size:17px; line-height:1.2; margin-top:0; }
.cal button.taken span { font-size:12px; opacity:.85; }
.cal button.taken:before { content:""; }
.legend { font-size:13px; color:var(--sub); margin-top:10px; }

form label, .field { display:block; font-weight:600; margin:0 0 18px; }
form input[type=text], form input[type=email], form textarea, .field input { width:100%; font:inherit; font-weight:400; padding:12px; margin-top:6px;
  border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--fg); }
form textarea { min-height:260px; line-height:1.7; font-family:ui-monospace, "SF Mono", Menlo, "Hiragino Sans", monospace; font-size:14px; }
.hint { display:block; font-weight:400; font-size:13px; color:var(--sub); margin-top:4px; }
.hp { position:absolute; left:-9999px; }
.agree { display:flex; gap:10px; align-items:flex-start; font-weight:400; }
.agree input { margin-top:7px; }
.msg { color:var(--warn); font-weight:600; min-height:1.5em; }
.verdict { border-left:4px solid var(--ok); padding:4px 0 4px 16px; margin:0 0 20px; }
.verdict.needs_info { border-color:var(--accent); }
.issue.ask { border-left:3px solid var(--accent); font-weight:600; }
.verdict.revise, .verdict.reject { border-color:var(--warn); }
.verdict b { display:block; font-size:18px; }
.issue { background:var(--soft); border-radius:8px; padding:12px 14px; margin:0 0 10px; font-size:14px; }
.issue q { display:block; font-weight:600; quotes:"「" "」"; }
pre.mailview { white-space:pre-wrap; word-break:break-word; background:var(--card); border:1px solid var(--line); border-radius:8px;
  padding:16px; font:14px/1.75 ui-monospace, "SF Mono", Menlo, "Hiragino Sans", monospace; margin:0 0 16px; max-height:480px; overflow:auto; }
mark { background:#ffe45c; color:#1c1b19; border-radius:2px; padding:1px 0; }
del { color:var(--sub); text-decoration:line-through; text-decoration-thickness:1px; }
.about { display:flex; gap:20px; align-items:flex-start; margin:0 0 16px; }
.about img { width:96px; height:96px; border-radius:50%; object-fit:cover; flex:none; border:1px solid var(--line); }
@media (max-width:560px) { .about { flex-direction:column; gap:12px; } }
.row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
table { width:100%; border-collapse:collapse; font-size:15px; }
th, td { border-bottom:1px solid var(--line); padding:12px 8px; text-align:left; vertical-align:top; }
table.legal th { width:30%; background:var(--soft); font-weight:600; }
footer.site { border-top:1px solid var(--line); padding:24px 0 40px; font-size:13px; color:var(--sub); }
footer.site a { margin-right:16px; }
.legal-doc h2 { font-size:17px; margin:32px 0 8px; border:0; padding:0; }
.legal-doc ol, .legal-doc ul { padding-left:1.4em; }
[hidden] { display:none !important; }
@media (max-width:560px) {
  h1 { font-size:25px; }
  .facts { grid-template-columns:repeat(2, 1fr); }
  .facts div:nth-child(2) { border-right:0; }
  .facts div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  table.legal th, table.legal td { display:block; width:100%; }
  table.legal th { border-bottom:0; padding-bottom:4px; }
  header.site nav a { margin-left:10px; font-size:13px; }
}

.pack { display:block; margin:64px 0 0; padding:44px 40px; border-radius:18px; background:var(--accent); color:var(--accent-fg); box-shadow:0 18px 44px rgba(31,77,58,.28); position:relative; overflow:hidden; }
.pack:before { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%; background:rgba(255,255,255,.08); }
.pack .pack-tag { display:inline-block; font-size:13px; font-weight:700; color:#1c1b19; background:#ffe45c; border-radius:999px; padding:4px 14px; margin-bottom:16px; letter-spacing:.04em; }
.pack b { display:block; font-family:"Hiragino Mincho ProN", "Yu Mincho", serif; font-weight:600; font-size:28px; line-height:1.45; margin-bottom:14px; letter-spacing:.02em; }
.pack > span { display:block; font-size:16px; line-height:1.9; color:rgba(255,255,255,.88); max-width:760px; }
.pack ul { list-style:none; padding:0; margin:20px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; max-width:860px; }
.pack li { position:relative; padding-left:28px; font-size:15px; line-height:1.7; font-weight:600; }
.pack li:before { content:""; position:absolute; left:4px; top:.6em; width:11px; height:6px; border-left:3px solid #ffe45c; border-bottom:3px solid #ffe45c; transform:rotate(-45deg); }
.pack a { display:inline-block; text-decoration:none; font-weight:700; background:#ffe45c; color:#1c1b19; border-radius:10px; padding:18px 32px; margin-top:26px; font-size:18px; box-shadow:0 8px 20px rgba(0,0,0,.18); transition:transform .15s; }
.pack a:hover { transform:translateY(-2px); }
@media (max-width:640px) { .pack { padding:28px 20px; } .pack b { font-size:24px; } .pack ul { grid-template-columns:1fr; } .pack a { display:block; text-align:center; } }
