/* HonTube Media：記事フロント用CSS（本家 hontube.jp のデザイン基準に統一） */

/* ── デザイントークン（本家 :root を踏襲） ── */
:root {
    --ht-main:        #E1262E; /* メインカラー（HonTube レッド） */
    --ht-main-light:  #fdeaea; /* 淡い赤背景 */
    --ht-text:        #4e4e4e; /* 文字色（本体 hontube.jp と同値） */
    --ht-muted:       #777777; /* 補助テキスト */
    --ht-border:      #e5e7eb; /* 枠線（本家 --color-border） */
    --ht-bg:          #ffffff; /* 背景（本家 --color-bg） */
    --ht-bg-thumb:    #efefef; /* サムネ背景（本家 --color-bg-thumb） */
    --ht-tint2:       #f9fafb; /* グレー寄りの淡い背景 */
    --ht-radius-sm:   8px;  /* 本家 --radius-sm */
    --ht-radius-md:   16px;    /* 本家 --radius-md */
    --ht-shadow-sm:   0 4px 10px rgba(15, 23, 42, 0.06);  /* 本家 --shadow-sm */
    --ht-shadow-md:   0 18px 45px rgba(15, 23, 42, 0.12); /* 本家 --shadow-md */
    /* 後方互換の別名（既存参照を壊さない） */
    --ht-navy: var(--ht-text);
    --ht-link: var(--ht-main);
    --ht-tint: var(--ht-main-light);
}

/* ── ベースタイポグラフィ（本家準拠） ── */
main {
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: var(--ht-text);
    font-family: 'Yu Gothic', "游ゴシック", 'YuGothic', "游ゴシック体", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

/* ── 記事コンテナ（読みやすい本文幅で中央寄せ） ── */
.ht-article {
    /* 親サイト（hontube.jp）が html{font-size:625%} を入れる関係で rem は使わない。
       配下の数値は全て px で記述。writing-mode は念のため横書き明示。 */
    writing-mode: horizontal-tb !important;
    max-width: 760px;
    margin: 24px auto 64px;
    padding: 0 20px;
    color: var(--ht-text);
    word-break: break-word;
}

/* タイトル（記事の唯一のh1）：本体 .title h1 を踏襲・H2より大きい青ダッシュ */
.ht-article .entry-title {
    display: flex;
    align-items: center;
    font-size: 30.4px;
    font-weight: normal;
    line-height: 1.45;
    color: var(--ht-main);
    margin: 8px 0 12px;
}
.ht-article .entry-title::before {
    content: "";
    flex: 0 0 auto;
    width: 44px;
    border-top: 2px solid currentColor;
    margin-right: 18px;
}

/* 更新日 */
.ht-article .entry-dates {
    font-size: 13.6px;
    color: var(--ht-muted);
    margin-bottom: 20px;
}
.ht-article .entry-dates span + span::before {
    content: "・";
    margin: 0 6px;
}

/* アイキャッチ */
.ht-article .post-thumbnail {
    margin: 0 auto 28px;
    text-align: center;
}
.ht-article .post-thumbnail img {
    display: block;
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--ht-radius-sm);
}

/* ── 見出しタグ（本家 main > article の作りに統一） ── */
/* h2：下に赤の罫線・チャコール文字・細字（パターン2） */
.ht-article h2 {
    font-size: 24px;
    font-weight: 500;
    color: #2b2e3a;
    border-bottom: 2px solid var(--ht-main);
    padding-bottom: 8px;
    margin: 2.4em 0 1em;
    line-height: 1.5;
}

/* h3：下に細いグレーの罫線・チャコール文字・細字（H2より小さく階層を区別） */
.ht-article h3 {
    font-size: 19.2px;
    font-weight: 500;
    color: #2b2e3a;
    border-bottom: 1px solid #e0e0e3;
    padding-bottom: 6px;
    margin: 2em 0 0.8em;
    line-height: 1.55;
}

/* h4：太字 */
.ht-article h4 {
    font-size: 17.6px;
    font-weight: 700;
    color: var(--ht-text);
    margin: 1.8em 0 0.6em;
    line-height: 1.6;
}

.ht-article h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ht-text);
    margin: 1.6em 0 0.5em;
}
.ht-article h6 {
    font-size: 15.2px;
    font-weight: 700;
    color: var(--ht-muted);
    margin: 1.4em 0 0.5em;
}

/* ── 本文 ── */
.ht-article p {
    margin: 0 0 1.4em;
    line-height: 1.9;
}

.ht-article a {
    color: var(--ht-main);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ht-article a:hover {
    text-decoration: none;
}

.ht-article strong {
    font-weight: 700;
    color: var(--ht-text);
}

.ht-article em {
    font-style: italic;
}

/* ── リスト（本家準拠でプレーン。旧テーマのボックス装飾は廃止） ── */
.ht-article ul,
.ht-article ol {
    margin: 0 0 1.4em;
    padding-left: 1.6em;
}
.ht-article li {
    margin: 0.4em 0;
    line-height: 1.8;
}
.ht-article ul > li {
    list-style: disc;
}
.ht-article ol > li {
    list-style: decimal;
}
.ht-article li > ul,
.ht-article li > ol {
    margin: 0.4em 0 0.4em;
}

/* ── 画像 ── */
.ht-article img {
    max-width: 100%;
    height: auto;
}
.ht-article .wp-block-image {
    margin: 1.6em auto;
    text-align: center;
}
.ht-article .wp-block-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--ht-radius-sm);
}
.ht-article .wp-block-image.alignleft {
    float: left;
    margin: 0.3em 1.4em 1em 0;
    max-width: 50%;
}
.ht-article .wp-block-image.alignright {
    float: right;
    margin: 0.3em 0 1em 1.4em;
    max-width: 50%;
}
/* 左右寄せ時は img の中央寄せ・block を解除（回り込みを保つ） */
.ht-article .wp-block-image.alignleft img,
.ht-article .wp-block-image.alignright img {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}
.ht-article .wp-block-image figcaption,
.ht-article .wp-element-caption,
.ht-article figcaption {
    font-size: 12.8px;
    color: var(--ht-muted);
    text-align: center;
    margin-top: 0.5em;
    line-height: 1.6;
}

/* ── 引用 ── */
.ht-article blockquote {
    margin: 1.6em 0;
    padding: 1em 1.2em;
    background: var(--ht-main-light);
    border-left: 4px solid var(--ht-main);
    border-radius: 0 var(--ht-radius-sm) var(--ht-radius-sm) 0;
    color: var(--ht-text);
}
.ht-article blockquote p:last-child {
    margin-bottom: 0;
}

/* ── テーブル（本家：セル padding 10px ／枠線 #e5e7eb） ── */
.ht-article .wp-block-table {
    margin: 1.6em 0;
    overflow-x: auto;
}
.ht-article .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 15.2px;
}
.ht-article .wp-block-table th,
.ht-article .wp-block-table td {
    padding: 10px 12px;
    border: 1px solid #ccc;
    text-align: left;
    line-height: 1.6;
}
.ht-article .wp-block-table thead th {
    font-weight: 700;
}

/* ── その他要素 ── */
.ht-article dd {
    margin: 0 0 0.6em 1.4em;
}
.ht-article pre {
    background: var(--ht-tint2);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-sm);
    padding: 1em;
    overflow-x: auto;
    font-size: 14.4px;
    line-height: 1.6;
}
.ht-article address {
    font-style: normal;
    color: var(--ht-muted);
}
.ht-article hr {
    border: 0;
    border-top: 1px solid var(--ht-border);
    margin: 2.4em 0;
}

/* ============================================================
   一覧（トップ／アーカイブ）カードグリッド ― 本家のカード感に統一
   ============================================================ */
.ht-card-grid {
    /* 親サイトの html{font-size:625%} の影響を避けるため、テーマ側は rem を使わず px。
       writing-mode は念のため横書き明示。 */
    writing-mode: horizontal-tb !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 20px;
}
/* ──────────────────────────────────────────────
   本体（hontube.jp）のCSSは h2 等の見出しに大きなサイズや色を当てているため、
   カード内のタグはピンポイントで打ち消し、テーマのクラス指定を効かせる。
   本体CSSが詳細度で競合するため !important で確実に上書きする。
   ────────────────────────────────────────────── */
.ht-card-grid .ht-card,
.ht-card-grid .ht-card * {
    box-sizing: border-box;
}
.ht-card-grid .ht-card h2,
.ht-card-grid .ht-card h3,
.ht-card-grid .ht-card p,
.ht-card-grid .ht-card figure,
.ht-card-grid .ht-card time {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
}
/* 本体の h2::before（青ダッシュ）など擬似要素も無効化 */
.ht-card-grid .ht-card h2::before,
.ht-card-grid .ht-card h2::after,
.ht-card-grid .ht-card h3::before,
.ht-card-grid .ht-card h3::after {
    content: none !important;
    display: none !important;
}
.archive-hero + .ht-card-grid {
    margin-top: 16px;
}
/* 3列 → タブレット2列 → スマホ1列 */
@media (max-width: 960px) {
    .ht-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ht-card-grid { grid-template-columns: 1fr; }
}

.ht-card-grid .ht-card {
    display: flex !important;
    flex-direction: column !important;
    background: var(--ht-bg) !important;
    border: none !important;
    border-bottom: 2px solid #f0f2f4 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    padding-bottom: 14px !important;
    color: var(--ht-text) !important;
}

/* サムネ（カテゴリ帯なし・角丸最小） */
.ht-card-grid .ht-card__thumb {
    position: relative !important;
    margin: 0 !important;
    height: 150px !important;
    background: var(--ht-bg-thumb) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    line-height: 0 !important;
}
.ht-card-grid .ht-card__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.ht-card-grid .ht-card__nothumb {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ht-muted) !important;
    font-size: 12px !important;
    background: var(--ht-bg-thumb) !important;
}
/* カテゴリ帯は非表示（PHP側でも出力停止） */
.ht-card-grid .ht-card__cat {
    display: none !important;
}

/* 本文側 */
.ht-card-grid .ht-card__body {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 13px 0 0 !important;
}
.ht-card-grid .ht-card__date {
    font-size: 11px !important;
    color: var(--ht-main) !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.4 !important;
}
.ht-card-grid .ht-card__title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    color: #2c2c2a !important;
}
.ht-card-grid .ht-card__title a {
    color: #2c2c2a !important;
    text-decoration: none !important;
}
.ht-card-grid .ht-card:hover .ht-card__title,
.ht-card-grid .ht-card:hover .ht-card__title a {
    color: var(--ht-main) !important;
}

/* B2はミニマル構成（日付＋タイトルのみ）。抜粋・情報ボックス・ボタンは非表示 */
.ht-card-grid .ht-card__box,
.ht-card-grid .ht-card__excerpt,
.ht-card-grid .ht-card__btn {
    display: none !important;
}

/* ── アーカイブ見出し ── */
.archive-hero {
    text-align: center;
    padding: 32px 20px 0;
}
.archive-title {
    display: inline-block;
    font-size: 28.8px;
    font-weight: 700;
    color: var(--ht-text);
    position: relative;
    padding-bottom: 14px;
}
.archive-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background: var(--ht-main);
}
.archive-desc {
    color: var(--ht-muted);
    font-size: 14.4px;
    margin-top: 14px;
}

/* ── 404 の戻るボタン（本家ボタン＝丸ピル） ── */
.ht-article .ht-back-home {
    display: inline-block;
    background: var(--ht-main);
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 150ms ease-out;
}
.ht-article .ht-back-home:hover {
    opacity: 0.88;
}

/* ── ページネーション ── */
.nav-links {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 20px;
    font-size: 14.4px;
}
.nav-links a {
    color: var(--ht-main);
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
    main { font-size: 15px; }

    .ht-article {
        margin: 16px auto 40px;
        padding: 0 16px;
    }
    .ht-article .entry-title { font-size: 24px; }
    .ht-article h2 { font-size: 20.8px; margin: 2em 0 0.8em; }
    .ht-article h3 { font-size: 18.4px; }
    .ht-article h4 { font-size: 16.8px; }

    .ht-card-grid {
        gap: 18px;
        margin-top: 20px;
    }
    .archive-title { font-size: 24px; }
}

/* ============================================================
   パンくず（.ht-article の外に出力。本家にCSSが無いためテーマ側で用意）
   控えめなグレー＋「>」区切り、リンクはメインカラー
   ============================================================ */
.p-breadcrumb {
    max-width: 760px;
    margin: 16px auto 0;
    padding: 0 20px;
    overflow-x: auto;
}
.p-breadcrumb__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ht-muted);
}
.p-breadcrumb__item {
    display: inline-flex;
    align-items: center;
}
/* 区切り記号「>」（先頭以外の前に表示） */
.p-breadcrumb__item:not(:first-child)::before {
    content: ">";
    color: #cbd0d6;
    margin: 0 8px;
}
/* リンク項目＝メインカラー */
a.p-breadcrumb__text {
    color: var(--ht-main);
    text-decoration: none;
}
a.p-breadcrumb__text:hover {
    text-decoration: underline;
}
/* 現在ページ（リンクなし）＝グレー */
span.p-breadcrumb__text {
    color: var(--ht-muted);
}

@media (max-width: 768px) {
    .p-breadcrumb {
        margin-top: 12px;
        padding: 0 16px;
        white-space: nowrap;
    }
    .p-breadcrumb__list {
        flex-wrap: nowrap;
        font-size: 12px;
    }
}

/* ──────────────────────────────────────────────
   サイトヘッダー／フッター（手動編集用の最小スタイル）
   header.php / footer.php の枠組み用。自由に上書きしてください。
   ────────────────────────────────────────────── */
.ht-site-header {
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}
.ht-site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ht-site-header__logo {
    margin: 0;
    line-height: 0;
}
.ht-site-header__logo a {
    display: inline-block;
    text-decoration: none;
}
.ht-site-header__logo img {
    display: block;
    width: 150px;
    height: auto;
}
.ht-site-header__nav .ht-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.ht-site-header__nav .ht-nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
}
.ht-site-header__nav .ht-nav-menu a:hover {
    text-decoration: underline;
}

.ht-site-main {
    display: block;
    min-height: 50vh;
}

.ht-site-footer {
    margin-top: 64px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}
.ht-site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
    text-align: center;
}
.ht-site-footer__nav .ht-footer-menu {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.ht-site-footer__nav .ht-footer-menu a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}
.ht-site-footer__copy {
    margin: 0;
    color: #888;
    font-size: 13px;
}

@media ( max-width: 768px ) {
    .ht-site-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ──────────────────────────────────────────────
   カテゴリページ（地方＝県リンク / 県＝本文＋エリアリンク）
   ────────────────────────────────────────────── */
.hontube-region,
.hontube-pref {
    max-width: 1000px;
    margin: 24px auto 48px;
    padding: 0 20px;
}
.hontube-region__title,
.hontube-pref__title {
    font-size: 26px;
    font-weight: 700;
    color: #2B2E3A;
    border-left: 6px solid #E1262E;
    padding-left: 12px;
    margin: 0 0 24px;
}
.hontube-area-body {
    margin-bottom: 32px;
}
.hontube-area-links__title {
    font-size: 20px;
    font-weight: 700;
    color: #2B2E3A;
    margin: 32px 0 16px;
}
.hontube-pref-grid,
.hontube-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hontube-pref-link,
.hontube-area-link {
    display: block;
    padding: 14px 12px;
    text-align: center;
    border: 1px solid #e7e7ea;
    border-radius: 8px;
    color: #2B2E3A;
    text-decoration: none;
    font-size: 15px;
    background: #fff;
    transition: border-color .15s, color .15s;
}
.hontube-pref-link:hover,
.hontube-area-link:hover {
    border-color: #E1262E;
    color: #E1262E;
}
@media ( max-width: 768px ) {
    .hontube-pref-grid,
    .hontube-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ──────────────────────────────────────────────
   トップページ（front-page.php）
   ────────────────────────────────────────────── */
.hontube-hero {
    background: #faf7f7;
    border-bottom: 1px solid #e7e7ea;
    padding: 40px 20px;
    text-align: center;
}
.hontube-hero__inner { max-width: 640px; margin: 0 auto; }
.hontube-hero__title {
    font-size: 28px;
    font-weight: 700;
    color: #2B2E3A;
    margin: 0 0 6px;
}
.hontube-hero__lead {
    font-size: 14px;
    color: #6b6b72;
    margin: 0 0 22px;
}
.hontube-hero__search {
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin: 0 auto;
}
.hontube-hero__search input[type="search"] {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #d8d8dd;
    border-radius: 8px;
    font-size: 15px;
}
.hontube-hero__search button {
    height: 46px;
    padding: 0 24px;
    background: #E1262E;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}
.hontube-hero__search button:hover { background: #b81c23; }

.hontube-front {
    max-width: 1000px;
    margin: 36px auto 56px;
    padding: 0 20px;
}
.hontube-front__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #2B2E3A;
    margin: 0 0 16px;
}
.hontube-front__mark {
    width: 6px;
    height: 24px;
    background: #E1262E;
    border-radius: 2px;
    display: inline-block;
}
.hontube-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hontube-chip {
    display: inline-block;
    background: #FDEAEA;
    color: #B81C23;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
    transition: background .15s;
}
.hontube-chip:hover { background: #f7d3d3; color: #B81C23; }
.hontube-front__empty {
    color: #888;
    font-size: 14px;
}

/* ── トップ：都道府県から探す ── */
.hontube-front__section { margin-bottom: 36px; }
.hontube-region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.hontube-region-card {
    border: 1px solid #e7e7ea;
    border-radius: 10px;
    padding: 14px 16px;
}
.hontube-region-card__name {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #E1262E;
    text-decoration: none;
    margin-bottom: 8px;
}
.hontube-region-card__name:hover { text-decoration: underline; }
.hontube-region-card__prefs {
    font-size: 14px;
    color: #5c5c63;
    line-height: 2;
}
.hontube-region-card__prefs a {
    color: #5c5c63;
    text-decoration: none;
}
.hontube-region-card__prefs a:hover { color: #E1262E; text-decoration: underline; }

/* ── トップ：注目ランキング ── */
.hontube-rank-list { display: flex; flex-direction: column; gap: 10px; }
.hontube-rank-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e7e7ea;
    border-radius: 10px;
    padding: 12px 14px;
    text-decoration: none;
    background: #fff;
}
.hontube-rank-row:hover { border-color: #E1262E; }
.hontube-rank-row__no {
    flex: 0 0 30px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #9a9aa2;
    color: #fff;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
}
.hontube-rank-row__no.is-1 { background: #E1262E; }
.hontube-rank-row__no.is-2 { background: #c79a3a; }
.hontube-rank-row__no.is-3 { background: #b3753a; }
.hontube-rank-row__thumb {
    flex: 0 0 64px;
    width: 64px; height: 46px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f2;
    display: flex; align-items: center; justify-content: center;
}
.hontube-rank-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hontube-rank-row__noimg { color: #b3b3ba; font-size: 10px; }
.hontube-rank-row__name {
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 700;
    color: #2B2E3A;
}
.hontube-rank-row__name small {
    font-weight: 400;
    font-size: 12px;
    color: #9a9aa2;
    margin-left: 8px;
}
@media ( max-width: 768px ) {
    .hontube-region-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────
   メディアトップ（front-page.php / HonTube Media）
   ────────────────────────────────────────────── */
.hontube-media {
    max-width: 1040px;
    margin: 28px auto 56px;
    padding: 0 20px;
}
.hontube-media__block { margin-bottom: 32px; }
.hontube-media__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 5px solid #E1262E;
    padding-left: 10px;
    margin-bottom: 14px;
}
.hontube-media__cat {
    font-size: 18px;
    font-weight: 700;
    color: #2B2E3A;
    text-decoration: none;
}
.hontube-media__cat:hover { color: #E1262E; }
.hontube-media__more {
    font-size: 13px;
    color: #E1262E;
    text-decoration: none;
    white-space: nowrap;
}
.hontube-media__more:hover { text-decoration: underline; }
.hontube-media__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.hontube-media__card { text-decoration: none; display: block; }
.hontube-media__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #f0f0f2;
    border-radius: 8px;
    overflow: hidden;
}
.hontube-media__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hontube-media__noimg {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: #b3b3ba; font-size: 12px;
}
.hontube-media__title {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #2B2E3A;
}
.hontube-media__card:hover .hontube-media__title { color: #E1262E; }

.hontube-media__news {
    border-top: 1px solid #eee;
    padding-top: 22px;
    margin-top: 8px;
}
.hontube-media__newshead {
    font-size: 18px;
    font-weight: 700;
    color: #2B2E3A;
    border-left: 5px solid #2B2E3A;
    padding-left: 10px;
    margin-bottom: 14px;
}
.hontube-media__newsitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
}
.hontube-media__newsthumb {
    flex: 0 0 72px;
    width: 72px; height: 50px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f2;
    display: block;
}
.hontube-media__newsthumb img { width: 100%; height: 100%; object-fit: cover; }
.hontube-media__newstitle {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.5;
    color: #2B2E3A;
}
.hontube-media__newsitem:hover .hontube-media__newstitle { color: #E1262E; }
.hontube-media__empty { color: #888; font-size: 14px; }

@media ( max-width: 768px ) {
    .hontube-media__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────────────────────
   アイキャッチ画像＋タイトル重ね（記事ページ）
   中央配置・暗幕35%・やわらかい影
   ────────────────────────────────────────────── */
.ht-article .ht-eyecatch {
    position: relative;
    margin: 0 0 20px;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}
.ht-article .ht-eyecatch__img,
.ht-article .ht-eyecatch img {
    display: block;
    width: 100%;
    height: auto;
}
.ht-article .ht-eyecatch__veil {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.ht-article .ht-eyecatch__title {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 6%;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}
@media ( max-width: 768px ) {
    .ht-article .ht-eyecatch__title { font-size: 20px; }
}
@media ( max-width: 480px ) {
    .ht-article .ht-eyecatch__title { font-size: 17px; padding: 0 5%; }
}
