/* archive.css — 過去のニュースとクイズ（アーカイブ）の見た目
   news.css と同じ配色・角丸・フォント。カードの部分は news.css とそろえてある */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN",sans-serif; background:#FFF9F2; color:#2B2B33; line-height:1.8; }
.wrap { max-width:720px; margin:0 auto; padding:28px 18px 48px; }
header { text-align:center; margin-bottom:26px; }
header h1 { font-size:30px; font-weight:800; }
header p { color:#8A8496; font-size:14px; margin-top:4px; }
.hidden { display:none; }

/* 日付ボタン（目次） */
.day-btn { display:flex; justify-content:space-between; align-items:center; width:100%; text-align:left;
  font-family:inherit; font-size:16.5px; font-weight:700; color:#2B2B33;
  background:#fff; border:none; border-radius:16px; padding:16px 20px; margin-bottom:10px;
  box-shadow:0 2px 10px rgba(194,65,12,.08); cursor:pointer; }
.day-btn:active { transform:scale(0.99); }
.day-btn .badge { font-size:12px; font-weight:800; color:#fff; background:#E4572E; border-radius:999px; padding:2px 10px; }
.day-btn .arrow { color:#E4572E; font-weight:800; }

/* ニュースカード（news.css と同じ） */
.card { background:#fff; border-radius:20px; padding:22px; margin-bottom:16px; box-shadow:0 6px 20px rgba(80,60,20,.06); }
.meta { font-size:12.5px; color:#B0562F; font-weight:700; margin-bottom:6px; }
.card h2 { font-size:20px; line-height:1.5; margin-bottom:8px; }
.card p { font-size:15.5px; color:#4A4653; }
.card a { display:inline-block; margin-top:12px; color:#E4572E; font-weight:700; text-decoration:none; }
.card a:hover { text-decoration:underline; }
.thumb { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:12px; display:block; margin-bottom:12px; }

.back { margin-bottom:14px; }
.back a { color:#E4572E; font-weight:700; text-decoration:none; }
footer { text-align:center; color:#B9B3C2; font-size:12.5px; margin-top:28px; }

/* カレンダー */
.cal-card { background:#fff; border-radius:20px; padding:18px; margin-bottom:18px; box-shadow:0 6px 20px rgba(80,60,20,.06); }
.cal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.cal-head h2 { font-size:19px; font-weight:800; }
.cal-nav { font-family:inherit; font-size:16px; font-weight:800; color:#E4572E; background:#FFF3E8; border:none; border-radius:999px; width:38px; height:38px; cursor:pointer; }
.cal-nav:disabled { opacity:.3; cursor:default; }
.cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cal-dows { text-align:center; font-size:12px; font-weight:700; color:#8A8496; margin-bottom:2px; }
.cal-day { position:relative; font-family:inherit; font-size:14.5px; text-align:center; padding:8px 0; border:none; border-radius:10px; background:transparent; color:#B9B3C2; }
.cal-day.has { background:#FFF3E8; color:#2B2B33; font-weight:700; cursor:pointer; }
.cal-day.has:active { transform:scale(.96); }
.cal-day.today { outline:2px solid #E4572E; outline-offset:-2px; }
.cal-day .check { position:absolute; top:1px; right:5px; font-size:10px; color:#43A047; font-weight:800; }
.cal-note { text-align:center; font-size:12px; color:#8A8496; margin-top:10px; }
