/* ===== イベントカレンダー（/event/ 上部・ver201 2026-09-10）=====
   参考: cxo-meetup.com の月グリッド。イベント名クリックで詳細記事へ。
   データは #t-evcal-data (application/json)、描画は js/event-calendar.js */
.t-evcal-wrap{width:auto;margin:0;padding:50px 24px 0;box-sizing:border-box;text-align:left}
@media(max-width:900px){.t-evcal-wrap{padding:28px 16px 0}}
.t-evcal-wrap+.t-container{padding-top:34px}
.t-evcal{background:#fff;border:1px solid #cbcbcb;border-radius:6px;padding:26px 22px 22px;box-sizing:border-box;font-family:'Roboto',"游ゴシック体","Yu Gothic",YuGothic,YuGothicM,Helvetica,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Arial,"メイリオ",Meiryo,sans-serif}
.t-evcal__title{font-family:NSJ,sans-serif;font-size:22px;font-weight:700;color:#111922;text-align:center;line-height:1.4;margin:0 0 20px}
.t-evcal__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.t-evcal__views{display:flex;gap:6px;flex-wrap:wrap}
.t-evcal__btn{appearance:none;-webkit-appearance:none;border:1px solid #cbcbcb;background:#fff;color:#1a1a1a;font-size:12.5px;font-weight:700;letter-spacing:.04em;line-height:1;padding:9px 13px;border-radius:6px;cursor:pointer;transition:background .2s,color .2s,border-color .2s;font-family:inherit}
.t-evcal__btn:hover{background:#f4f4f5}
.t-evcal__btn.is-active{background:#1a1a1a;color:#fff;border-color:#1a1a1a}
.t-evcal__nav{display:flex;align-items:center;gap:8px}
.t-evcal__arrow{appearance:none;-webkit-appearance:none;width:32px;height:32px;border:1px solid #cbcbcb;background:#fff;border-radius:6px;cursor:pointer;font-size:16px;line-height:1;color:#1a1a1a;display:inline-flex;align-items:center;justify-content:center;font-family:inherit}
.t-evcal__arrow:hover{background:#f4f4f5}
.t-evcal__month{font-size:16px;font-weight:700;color:#111922;min-width:7.5em;text-align:center;letter-spacing:.04em}
.t-evcal__legend{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;font-size:12px;color:#555;margin:0 0 14px;padding:0 2px}
.t-evcal__lg{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:#333}
.t-evcal__lg::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--evc,#6b7280)}
/* 種別カラー（交流会=青／セミナー=橙／分科会=緑／マッチング会=紫／その他=灰） */
.t-evcal__ev--kouryu,.t-evcal__lg--kouryu{--evc:#1f6fb2;--evbg:#eaf3fb}
.t-evcal__ev--seminar,.t-evcal__lg--seminar{--evc:#e08a1e;--evbg:#fdf3e5}
.t-evcal__ev--bunkakai,.t-evcal__lg--bunkakai{--evc:#2e9e6b;--evbg:#e9f7f0}
.t-evcal__ev--matching,.t-evcal__lg--matching{--evc:#8a5bd6;--evbg:#f2ecfb}
.t-evcal__ev--other,.t-evcal__lg--other{--evc:#6b7280;--evbg:#f1f2f5}
/* 月グリッド */
.t-evcal__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #d9dbe0;border-radius:6px;overflow:hidden;background:#d9dbe0;gap:1px}
.t-evcal__dow{background:#f5f5f5;text-align:center;font-size:12.5px;font-weight:700;color:#333;padding:9px 0;letter-spacing:.06em}
.t-evcal__dow--sun{color:#c0392b}.t-evcal__dow--sat{color:#1f6fb2}
.t-evcal__cell{background:#fff;min-height:118px;padding:6px 6px 8px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;position:relative}
.t-evcal__cell--out{background:#fafafa}
.t-evcal__cell--out .t-evcal__day{color:#b5b5b5}
.t-evcal__cell--dim{opacity:.38}
.t-evcal__day{font-size:12.5px;font-weight:700;color:#333;line-height:1;margin:0 0 2px;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%}
.t-evcal__cell--sun .t-evcal__day{color:#c0392b}.t-evcal__cell--sat .t-evcal__day{color:#1f6fb2}
.t-evcal__cell--today .t-evcal__day{background:#1f6fb2;color:#fff}
.t-evcal__ev{display:block;font-size:11.5px;line-height:1.35;font-weight:600;color:var(--evc);background:var(--evbg);border:1px solid var(--evc);border-radius:4px;padding:3px 6px;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:filter .15s}
.t-evcal__ev:hover{filter:brightness(.92)}
.t-evcal__ev--hidden{display:none}
.t-evcal__cell.is-expanded .t-evcal__ev--hidden{display:block}
.t-evcal__more{appearance:none;-webkit-appearance:none;border:0;background:none;padding:2px 0 0;margin:auto 0 0;text-align:left;font-size:11px;font-weight:700;color:#1f6fb2;cursor:pointer;font-family:inherit}
.t-evcal__more:hover{text-decoration:underline}
.t-evcal__empty{margin:14px 0 0;text-align:center;font-size:13px;color:#777}
/* スマホ: 7列は潰れるので「日付ごとの一覧」に切り替える */
.t-evcal__list{display:none;border-top:1px solid #d9dbe0}
.t-evcal__li{display:flex;gap:12px;padding:10px 2px;border-bottom:1px solid #e4e4e4}
.t-evcal__li--today .t-evcal__ld{background:#1f6fb2;color:#fff;border-radius:6px}
.t-evcal__ld{flex:0 0 52px;text-align:center;font-weight:700;font-size:13px;line-height:1.2;padding:4px 0;color:#333}
.t-evcal__ld small{display:block;font-size:11px;font-weight:600;color:inherit;opacity:.8}
.t-evcal__li--sun .t-evcal__ld{color:#c0392b}.t-evcal__li--sat .t-evcal__ld{color:#1f6fb2}
.t-evcal__li--today.t-evcal__li--sun .t-evcal__ld,.t-evcal__li--today.t-evcal__li--sat .t-evcal__ld{color:#fff}
.t-evcal__lc{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.t-evcal__lc .t-evcal__ev{white-space:normal;font-size:12.5px;padding:6px 9px}
@media(max-width:760px){
  .t-evcal{padding:18px 14px 16px}
  .t-evcal__title{font-size:18px;margin-bottom:14px}
  .t-evcal__grid{display:none}
  .t-evcal__list{display:block}
  .t-evcal__month{min-width:6.5em;font-size:15px}
}
