/*
Theme Name: fm-kimotsuki
Theme URI: https://fm-kimotsuki.net/
Description: ＦＭきもつき 80.2MHz おおすみFMネットワーク 公式サイト
Author: k-Takenoshita
Version: 3.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/* ============================================================
   リセット
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 17px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #2D3748;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}
img, video {
    display: block;
    max-width: 100%;
    height: auto;
}
ul, ol { list-style: none; }
a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
a:hover { opacity: 0.75; }
input, button, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; }

/* ============================================================
   CSS変数
   ============================================================ */
:root {
    --fm-blue:        #0077CC;
    --fm-blue-dark:   #005599;
    --fm-blue-light:  #E6F3FB;
    --fm-orange:      #FF6B35;
    --fm-orange-light:#FFF0EB;
    --fm-text:        #2D3748;
    --fm-sub:         #718096;
    --fm-border:      #E2E8F0;
    --fm-bg:          #F7FAFC;
    --fm-white:       #ffffff;
    --fm-table-border:#615e61e3;
}

/* ============================================================
   コンテナ
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   共通ボタン
   ============================================================ */
.btn {
    display: inline-block;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}
.btn-primary {
    background: var(--fm-blue);
    color: #ffffff;
    border: 2px solid var(--fm-blue);
}
.btn-primary:hover {
    background: var(--fm-blue-dark);
    border-color: var(--fm-blue-dark);
    opacity: 1;
}
.btn-accent {
    background: var(--fm-orange);
    color: #ffffff;
    border: 2px solid var(--fm-orange);
}
.btn-accent:hover {
    filter: brightness(1.08);
    opacity: 1;
}
.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
    opacity: 1;
}

/* ============================================================
   見出し共通
   ============================================================ */
.section-title {
    font-size: 1.6rem;
    color: var(--fm-blue);
    text-align: center;
    margin-bottom: 0.8rem;
}
.section-subtitle {
    font-size: 0.95rem;
    color: var(--fm-sub);
    text-align: center;
    margin-bottom: 2rem;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
    background: var(--fm-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,119,204,0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; }
.site-name  { font-size: 1rem; font-weight: 700; color: #ffffff; line-height: 1.2; }
.site-freq  { font-size: 0.7rem; color: rgba(255,255,255,0.72); }

/* PCナビ */
.global-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
}
.global-nav ul li a {
    display: block;
    padding: 6px 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}
.global-nav ul li a:hover,
.global-nav ul li.current-menu-item a {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    opacity: 1;
}

/* 検索ボックス */
.search-box .search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 5px 14px;
    gap: 6px;
}
.search-box input[type="search"] {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.85rem;
    width: 130px;
}
.search-box input[type="search"]::placeholder { color: rgba(255,255,255,0.55); }
.search-box button[type="submit"] {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    font-size: 0.9rem;
}

/* ハンバーガー */
.sp-nav-trigger {
    display: none;
    width: 28px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}
.sp-nav-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.sp-nav-trigger span:nth-child(1) { top: 0; }
.sp-nav-trigger span:nth-child(2) { top: 10px; }
.sp-nav-trigger span:nth-child(3) { bottom: 0; }
.sp-nav-trigger.is-active span:nth-child(1) { transform: translateY(10px) rotate(-45deg); }
.sp-nav-trigger.is-active span:nth-child(2) { opacity: 0; }
.sp-nav-trigger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(45deg); }

/* スマホナビ */
.sp-nav-content {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: var(--fm-blue-dark);
    z-index: 999;
    padding-top: 80px;
    transition: right 0.35s ease;
    overflow-y: auto;
}
.sp-nav-content.is-active { right: 0; }
.sp-nav-list { list-style: none; padding: 0; margin: 0; }
.sp-nav-list li a {
    display: block;
    padding: 15px 24px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 0.5px solid rgba(255,255,255,0.1);
    text-decoration: none;
    min-height: 44px;
}

/* ============================================================
   FM＋＋ リスニングバー
   ============================================================ */
.fmpp-listening-bar {
    background: var(--fm-orange);
    padding: 7px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fmpp-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.fmpp-onair-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    animation: fmpp-blink 1.4s ease-in-out infinite;
}
@keyframes fmpp-blink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.25; }
}
.fmpp-bar-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fmpp-bar-btn {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--fm-orange);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: filter 0.2s;
}
.fmpp-bar-btn:hover { filter: brightness(0.96); opacity: 1; }

/* ============================================================
   記事カード（news-card）
   ============================================================ */
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--fm-white);
    border: 0.5px solid var(--fm-border);
    border-radius: 10px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,119,204,0.12);
    border-color: var(--fm-orange);
    opacity: 1;
}
.news-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--fm-blue-light);
    overflow: hidden;
}
.news-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    background: var(--fm-blue-light);
}
.news-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.news-tag {
    display: inline-block;
    background: var(--fm-blue);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 4px;
}
.news-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fm-text);
    margin-bottom: 8px;
    line-height: 1.5;
}
.news-excerpt {
    font-size: 0.82rem;
    color: var(--fm-sub);
    line-height: 1.7;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    flex: 1;
}
.news-date {
    font-size: 0.75rem;
    color: var(--fm-sub);
    margin-top: auto;
    text-align: right;
}

/* ============================================================
   ページヘッダー（局についてなど共通）
   ============================================================ */
.page-header,
.station-page-header {
    background: var(--fm-blue);
    padding: 28px 0 30px;
    border-bottom: 3px solid var(--fm-orange);
    text-align: center;
}
.page-header h1,
.station-page-header h1 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.page-header p,
.station-page-header p {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    margin: 0;
}

/* ============================================================
   ウィジェット・サイドバー
   ============================================================ */
.widget {
    background: var(--fm-white);
    border: 0.5px solid var(--fm-border);
    border-radius: 8px;
    padding: 18px 16px;
    margin-bottom: 20px;
}
.widget-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fm-blue);
    border-bottom: 2px solid var(--fm-orange);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

/* ============================================================
   ページネーション
   ============================================================ */
.pagination, .index-pagination {
    margin-top: 36px;
    text-align: center;
}
.pagination .page-numbers,
.index-pagination .page-numbers {
    display: inline-block;
    padding: 7px 14px;
    margin: 0 3px;
    border: 0.5px solid var(--fm-border);
    border-radius: 6px;
    color: var(--fm-blue);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.index-pagination .page-numbers.current,
.index-pagination .page-numbers:hover {
    background: var(--fm-blue);
    color: #ffffff;
    border-color: var(--fm-blue);
    opacity: 1;
}

/* ============================================================
   本文エリア（固定ページ・投稿）
   ============================================================ */
.entry-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--fm-text);
}
.entry-content p { margin-bottom: 1.4rem; }
.entry-content h2 {
    font-size: 1.2rem;
    color: var(--fm-blue);
    border-left: 4px solid var(--fm-blue);
    padding-left: 12px;
    margin: 28px 0 14px;
}
.entry-content h3 {
    font-size: 1rem;
    color: var(--fm-blue);
    border-bottom: 0.5px solid var(--fm-border);
    padding-bottom: 6px;
    margin: 20px 0 12px;
}
.entry-content ul, .entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    margin-bottom: 1.4rem;
    /* 外枠を設定することで最終行の下線も確実に表示する */
    border: 1px solid var(--fm-table-border);
}
.entry-content th {
    background: var(--fm-blue);
    color: #ffffff;
    padding: 9px 12px;
    text-align: left;
    font-weight: 700;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.entry-content th:last-child {
    border-right: none;
}
.entry-content td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--fm-table-border);
    border-right: 1px solid var(--fm-table-border);
    background: var(--fm-white);
    vertical-align: top;
}
.entry-content td:last-child {
    border-right: none;
}
/* 最終行の border-bottom は table の外枠で表示されるため削除しない */
.entry-content tr:last-child td {
    border-bottom: none;
}
.entry-content tr:nth-child(even) td { background: var(--fm-bg); }
.entry-content img { margin: 1rem auto; border-radius: 6px; }
.entry-content a { color: var(--fm-blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
    border-left: 4px solid var(--fm-orange);
    padding: 12px 16px;
    background: var(--fm-orange-light);
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.4rem;
}

/* WordPress ファイルブロック */
.entry-content .wp-block-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--fm-white);
    border: 0.5px solid var(--fm-border);
    border-radius: 8px;
    margin-bottom: 8px;
}
.entry-content .wp-block-file a { color: var(--fm-blue); font-weight: 700; }
.entry-content .wp-block-file__button {
    background: var(--fm-blue) !important;
    color: #fff !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    padding: 5px 14px !important;
    white-space: nowrap;
}

/* YouTube埋め込みレスポンシブ */
.wp-block-embed__wrapper {
    position: relative;
    padding-top: 56.25%;
}
.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* ============================================================
   フッター
   ============================================================ */
.footer { background: var(--fm-blue-dark); margin-top: 0; }
.footer-inner { display: flex; flex-direction: column; }
.footer-top {
    padding: 36px 0 28px;
    border-bottom: 0.5px solid rgba(255,255,255,0.1);
}
.footer-top-inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.footer-brand { flex-shrink: 0; width: 200px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo-mark {
    width: 34px; height: 34px;
    border-radius: 6px;
    background: var(--fm-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #ffffff;
    flex-shrink: 0;
}
.footer-logo-text { display: flex; flex-direction: column; }
.footer-site-name { font-size: 0.95rem; font-weight: 700; color: #ffffff; line-height: 1.2; }
.footer-site-freq { font-size: 0.7rem; color: rgba(255,255,255,0.6); }
.footer-brand-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0 0 14px;
}
.footer-fmpp-btn {
    display: block;
    background: var(--fm-orange);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: filter 0.2s;
}
.footer-fmpp-btn:hover { filter: brightness(1.1); opacity: 1; }
.footer-nav-area { display: flex; gap: 32px; flex: 1; flex-wrap: wrap; }
.footer-nav-col { min-width: 110px; }
.footer-nav-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fm-orange);
    margin: 0 0 10px;
}
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 6px; }
.footer-nav-list li a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-nav-list li a:hover { color: #ffffff; opacity: 1; }
.footer-bottom {
    background: rgba(0,0,0,0.18);
    padding: 12px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0; margin: 0;
}
.footer-links li a {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links li a:hover { color: #ffffff; opacity: 1; }
.copyright {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

/* ============================================================
   404ページ
   ============================================================ */
.error-page-wrapper {
    padding: 80px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-content { max-width: 600px; width: 100%; }
.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--fm-blue);
    opacity: 0.15;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.error-text { font-size: 0.95rem; color: var(--fm-sub); margin-bottom: 28px; }

/* ============================================================
   検索フォーム
   ============================================================ */
.search-form {
    display: flex;
    background: var(--fm-bg);
    border: 0.5px solid var(--fm-border);
    border-radius: 24px;
    padding: 6px 14px;
    gap: 8px;
}
.search-field {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    outline: none;
    color: var(--fm-text);
}
.search-submit {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--fm-blue);
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
    .footer-top-inner { flex-direction: column; gap: 24px; }
    .footer-brand { width: 100%; }
}

@media (max-width: 768px) {
    html { font-size: 16px; }
    .global-nav, .search-box { display: none; }
    .sp-nav-trigger { display: block; }

    .fmpp-listening-bar { padding: 7px 14px; }
    .fmpp-bar-text { font-size: 0.72rem; }

    .footer-nav-area { gap: 20px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .copyright { text-align: left; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .container { padding: 0 14px; }
    .btn { padding: 10px 22px; }
    .footer-top { padding: 24px 0 20px; }
    .footer-nav-area { flex-direction: column; gap: 16px; }
}

/* ============================================================
   汎用2カラムレイアウト（メイン＋右サイドバー）
   index.php / page.php / single.php 共通
   ============================================================ */

/* ---- 記事一覧（index.php） ---- */
.index-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 32px 0 80px;
}
.index-main {
    flex: 1;
    min-width: 0;
}
.index-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

/* ---- 投稿・固定ページ（single / page） ---- */
.post-layout-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 32px 0 80px;
}
.post-main-content {
    flex: 1;
    min-width: 0;
}
.post-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

/* レスポンシブ：1024px以下で縦積み */
@media (max-width: 1024px) {
    .index-layout,
    .post-layout-wrapper {
        flex-direction: column;
    }
    .index-sidebar,
    .post-sidebar {
        width: 100%;
        position: static;
    }
}

/* ---- index.php 各パーツ ---- */
.index-archive-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--fm-blue-light);
    color: var(--fm-blue);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.index-page-header {
    text-align: center;
    padding: 28px 0 32px;
    background: var(--fm-bg);
    border-bottom: 0.5px solid var(--fm-border);
    margin-bottom: 0;
}
.index-page-desc {
    font-size: 0.88rem;
    color: var(--fm-sub);
    margin-top: 6px;
}
.index-result-count {
    font-size: 0.82rem;
    color: var(--fm-sub);
    margin-bottom: 16px;
}
.index-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 12px;
}
@media (max-width: 640px) {
    .index-card-grid { grid-template-columns: 1fr; }
}

/* 記事なし */
.index-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--fm-bg);
    border-radius: 10px;
}
.index-empty-icon { font-size: 3rem; margin-bottom: 14px; opacity: 0.4; }
.index-empty-text {
    font-size: 0.92rem;
    color: var(--fm-sub);
    margin-bottom: 20px;
    line-height: 1.75;
}
.index-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* サイドバーウィジェット */
.index-widget {
    background: var(--fm-white);
    border: 0.5px solid var(--fm-border);
    border-radius: 10px;
    padding: 18px 16px;
    margin-bottom: 18px;
}
.index-widget-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fm-blue);
    border-bottom: 2px solid var(--fm-orange);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

/* カテゴリリスト */
.index-cat-list { list-style: none; padding: 0; margin: 0; }
.index-cat-item {
    border-bottom: 0.5px solid var(--fm-border);
}
.index-cat-item:last-child { border-bottom: none; }
.index-cat-link {
    display: flex;
    align-items: center;
    padding: 9px 4px;
    font-size: 0.88rem;
    color: var(--fm-text);
    text-decoration: none;
    transition: color 0.2s;
}
.index-cat-link:hover { color: var(--fm-blue); opacity: 1; }

/* 最近の投稿 */
.index-recent-list { list-style: none; padding: 0; margin: 0; }
.index-recent-item { border-bottom: 0.5px solid var(--fm-border); }
.index-recent-item:last-child { border-bottom: none; }
.index-recent-link {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 9px 4px;
    font-size: 0.82rem;
    color: var(--fm-text);
    text-decoration: none;
    transition: color 0.2s;
}
.index-recent-link:hover { color: var(--fm-blue); opacity: 1; }
.index-recent-date {
    font-size: 0.72rem;
    color: var(--fm-sub);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}
.index-recent-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.5;
}

/* 協賛ウィジェットカード */
.contact-widget-card {
    background: linear-gradient(135deg, var(--fm-blue) 0%, var(--fm-blue-dark) 100%);
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    color: #fff;
}
.contact-widget-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.contact-widget-card p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    margin-bottom: 12px;
}
.btn-contact-widget {
    display: inline-block;
    background: var(--fm-orange);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: filter 0.2s;
}
.btn-contact-widget:hover { filter: brightness(1.1); opacity: 1; }