@charset "UTF-8";

/* =================================================================
読み物ページ共通（読み物一覧・読み物詳細）
=================================================================*/
/* 色・フォント（Figma Variables未定義のため、Figmaの実測値から定義） */
:root {
    --color-main: #515748; /* タブ・カテゴリラベル・ページネーション */
    --color-text: #505748; /* パンくず・見出し */
    --color-white: #fff; /* タブ背景・選択中タブ文字・カテゴリラベル文字 */
    --color-black: #000; /* カードのタイトル・日付・記事本文 */
    --color-accent: #cbdbd3; /* 見出しの下線 */
    --color-line: #d9d9d9; /* 見出し下線の右側 */
    --color-border: #e5e5e5; /* サイドバー項目の区切り線 */
    --color-search-bg: #eee; /* 検索欄の背景 */
    --font-mincho: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "YuMincho", "MS P明朝", "MS PMincho", serif; /* カラーミー既存 index.css と同じ指定 */
}

/* rem基準（1rem = 10px）：PC 1440px / SP 375px
   PC（768px以上）は1rem = 10pxで固定し、幅だけを画面に合わせて伸縮させる
   SPの切替幅はカラーミー既存テンプレート（index.css）に合わせて767px */
html {font-size: 62.5%;}

@media screen and (max-width: 767px) {
    html {font-size: 2.6666667vw;} /* 10 ÷ 375 × 100 */
}

/* =================================================================
パンくず
=================================================================*/
.breadcrumbs {max-width: 144rem; margin: 0 auto; padding-left: min(8.1rem, 5.625vw); box-sizing: border-box; font-family: var(--font-mincho); font-size: 1.6rem; font-weight: 400; line-height: 1.8; color: var(--color-text);} /* 左余白: 1440px時81px（81 ÷ 1440 = 5.625%）で画面幅に比例。1440px超は1440px幅の枠ごと中央配置し、コンテンツとの位置関係を保つ */
.breadcrumbs ol {display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none;}
.breadcrumbs li + li::before {content: " > "; white-space: pre;} /* Figmaの文言「TOP > 読み物一覧」の区切り */
.breadcrumbs a {color: var(--color-text); text-decoration: none;}

@media screen and (max-width: 767px) {
    .breadcrumbs {padding: 0 2rem;}
}
