@charset "UTF-8";
/* ==========================================================
   topics.css
   記事ページ（topics/YYYYMM/*.html）および記事一覧（TOPのWhat's New、kanafan/events/）用の追加スタイル
   style.css の後に読み込む
   ========================================================== */

/* ----------------------------------------------------------
   詳細欄（.-details）の見出し
   使用例：<h2 class="-details-title">イベント概要</h2>
   （使用：topics/202611/03.html ほか）
   ---------------------------------------------------------- */
.p-topic-detail .-details-title{margin-bottom:-0.8rem;padding-left:1.2rem;border-left:4px solid #176a9f;color:#24282d;font-size:2.4rem;font-weight:700;line-height:1.5}
@media(max-width: 920px){.p-topic-detail .-details-title{margin-bottom:-0.4rem;font-size:2rem}}

/* ----------------------------------------------------------
   TOP What's New：サムネイル上のカテゴリーラベルを1行で表示
   カード幅に合わせて文字サイズを可変（最大1.4rem＝元のサイズ）
   20文字（例：イベント・留学生向け・社会人向け・その他）が1行に収まる計算
   コンテナクエリ非対応ブラウザでは1.2rem固定
   （初出：index.html／2026年11月更新）
   ---------------------------------------------------------- */
.p-top_new .p-top_new_item .-thumb{container-type:inline-size}
.p-top_new .p-top_new_item .-thumb span{box-sizing:border-box;max-width:calc(100% - 2rem);left:1rem;padding:.5rem 1rem;font-size:1.2rem;font-size:clamp(1rem, calc((100cqi - 4rem) / 21), 1.4rem);white-space:nowrap}

/* ----------------------------------------------------------
   お知らせ・イベント一覧（kanafan/events/）：日付の代わりに文字を入れる日付枠
   使用例：<div class="-day -label"><strong>通年</strong></div>
   （初出：kanafan/events/index.html／2026年11月更新）
   ---------------------------------------------------------- */
.p-community_item_detail .-day.-label strong{font-size:2rem;white-space:nowrap}