/* ============================================================
 * 本島総合病院 本日の診療科目ウィジェット  v1.0.0
 *   shortcode [sc_today_dept] / _js/today-dept.js が描画
 *   SSoTデータ = 固定ページ本文 <script type="application/json" id="motojima-schedule-data">
 * ========================================================== */
.mtd-widget{
  --mtd-main:#00a693; --mtd-dark:#005a4e; --mtd-light:#d1f4ec; --mtd-gray:#f0f7f5;
  --mtd-text:#060606; --mtd-sub:rgba(6,6,6,.55); --mtd-closed:#b23b3b;
  max-width:680px; margin:0 auto; background:#fff; border:1px solid #e3eae8;
  border-radius:10px; overflow:hidden; color:var(--mtd-text); line-height:1.7;
}
.mtd-widget *{ box-sizing:border-box; }
.mtd-head{ background:var(--mtd-dark); color:#fff; padding:14px 18px; display:flex; gap:12px; align-items:baseline; flex-wrap:wrap; }
.mtd-head .mtd-ttl{ font-size:18px; font-weight:bold; }
.mtd-head .mtd-date{ font-size:14px; opacity:.9; }
.mtd-slot{ padding:14px 18px; border-bottom:1px solid #eee; }
.mtd-slot:last-of-type{ border-bottom:0; }
.mtd-slot-label{ display:inline-block; font-weight:bold; color:var(--mtd-dark); font-size:15px; margin-bottom:10px; background:var(--mtd-light); padding:3px 12px; border-radius:4px; }
.mtd-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.mtd-chip{ background:var(--mtd-gray); border:1px solid #d7e8e3; border-radius:16px; padding:5px 13px; font-size:14px; font-weight:bold; color:var(--mtd-dark); }
.mtd-chip small{ font-weight:normal; color:var(--mtd-sub); font-size:11px; margin-left:4px; }
.mtd-none{ color:var(--mtd-sub); font-size:13px; }
.mtd-closed{ padding:26px 18px; text-align:center; }
.mtd-closed-big{ display:block; font-size:22px; font-weight:bold; color:var(--mtd-closed); }
.mtd-closed-reason{ display:block; font-size:14px; color:var(--mtd-sub); margin-top:6px; }
.mtd-foot{ padding:12px 18px 16px; font-size:11px; color:var(--mtd-sub); background:#fbfdfc; }
.mtd-foot a{ color:var(--mtd-main); }
@media (max-width:600px){
  .mtd-head .mtd-ttl{ font-size:16px; }
  .mtd-chip{ font-size:13px; padding:5px 11px; }
}
