/* 確認用のカレンダー（test-course.html・test-shigen.html）。共通の部品は css/base.css
   カレンダーを組むのは js/calendar.js */

body{padding:20px 16px 60px;background:#fff;line-height:1.7}
.wrap{max-width:640px}
h1{font-size:20px;margin-bottom:4px}
.lead{font-size:14px;margin-bottom:20px}

/* ---- 月を送るボタンと、条件を選ぶ欄 ---- */
.ctrl{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.ctrl button,.ctrl select{
  font:inherit;font-size:15px;padding:8px 14px;flex:none;
  border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;
}
.ctrl button:hover{background:#F5F5F5}
.ym{font-size:18px;font-weight:700;min-width:9em;text-align:center}

/* ---- カレンダー ---- */
table{width:100%;border-collapse:collapse;table-layout:fixed}
th{font-size:12px;font-weight:700;color:var(--soft);padding:6px 0;border-bottom:1px solid var(--line)}
th.sun{color:#C0392B}
th.sat{color:#2471A3}
td{height:78px;vertical-align:top;padding:4px;border:1px solid var(--line)}
td.pad{background:#FAFAFA;border-color:#EEE}    /* 前の月・次の月のマス */
td.today{outline:2px solid #C0392B;outline-offset:-2px}
.d{font-size:13px;font-weight:700}

/* その日の判定の札。色だけで伝えないよう、札には必ず文字を入れる（js/calendar.js） */
.tag{
  display:inline-block;margin-top:4px;font-size:11px;line-height:1.35;
  padding:2px 5px;border-radius:4px;font-weight:700;word-break:break-all;
}
.t1{background:var(--accent-bg);color:var(--accent)}   /* 可燃：月木　資源：第1・3週 */
.t2{background:var(--warn-bg);color:var(--warn)}       /* 可燃：火金　資源：第2・4週 */
.t0{background:#F2F2F2;color:#999}                     /* 収集なし */
.nth{display:block;font-size:10px;color:var(--soft);margin-top:3px;font-weight:400}

/* 札の色の見本 */
.legend{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0 24px;font-size:13px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend .sw{width:14px;height:14px;border-radius:3px;display:inline-block;border:1px solid currentColor}

/* ---- 1日だけ調べる ---- */
.check{border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin-top:20px}
.check h2{font-size:15px;margin:0 0 8px}
.check p{margin:0 0 6px;font-size:14px}
.check input{font:inherit;font-size:15px;padding:7px 10px;border:1px solid var(--line);border-radius:8px}
.result{margin-top:10px;font-size:15px}
.result b{font-size:17px}

.note{font-size:13px;color:var(--soft);margin-top:14px}
