/*
Theme Name:ojmc
Theme URI:https://from70.org/
Description:大隅の声を、未来に残すデジタルアーカイブ「FM×高齢者×観光でつくる自治型地域メディア」
Author: k-Takenoshita
Version: 2.0.0
License:GNU General Public License v3 or later
License URI:http://www.gnu.org/License/gpl.3.0.html
*/
/* ============================
   全体の共通設定
   ============================*/
/* 1. 全ての要素の余白をリセットし、サイズ計算を直感的にする */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. 本文のフォントサイズ、行間、背景色などを整える */
body {
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
    color: var(--osumi-text);
    font-family: var(--font-sans);
}

/* 3. 画像や動画が親要素からはみ出ないようにする */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 4. フォーム要素のフォントを継承させる */
input, button, textarea, select {
    font: inherit;
}

/* 5. リストの箇条書き記号を消す（必要に応じて） */
ul, ol {
    list-style: none;
}

/* 6. リンクの下線を消し、色を継承する */
a {
    text-decoration: none;
    color: inherit;
}

/* 7. スクリーンリーダー専用（アクセシビリティ対応） */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* 8. 画像の配置（Gutenbergエディタ対応） */
.aligncenter {
    display: block;
    margin: 20px auto;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

/* 9. CSS Variables & Reset */
:root {
    --color-main: #1A365D;    /* 濃紺 */
    --color-accent: #F6AD55;  /* 暖オレンジ */
    --color-sub: #4A5568;     /* グレー */
    --color-text: #333333;
    --color-white: #FFFFFF;
    --color-bg-light: #F7FAFC;    
    --color-bg: #FFFFFF;
    --osumi-navy: #1A365D;    /* メインカラー：濃紺 */
    --osumi-orange: #F6AD55;  /* アクセント：オレンジ */
    --osumi-text: #333333;    /* テキスト色 */
    --osumi-bg: #F9FAFB;      /* 背景色（薄いグレー） */
    --bg-light-gray: #f8f9fa; /* セクション区切り用の薄いグレー */
    --bg-paper: #fdfcf8;      /* アーカイブ・歴史用の温かい白 */
    --accent-red: #d63031;    /* 情熱の赤 */
    --history-brown: #8b4513; /* 歴史の茶色 */
    --tour-green: #2f855a;    /* 観光の緑 */
    --pdf-red: #E53E3E;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;    
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: opacity 0.3s; 
}
a:hover { 
        opacity: 0.8; 
    }
    
img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}
    
ul { 
    list-style: none; 
}
        
/* 10. 共通クラス */
/*コンテナ（中央寄せ・幅制限）*/
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}
/* 見出し共通 */
.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--osumi-navy);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .section-title { font-size: 1.7rem;}
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--osumi-text);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}
 .btn-primary { 
    background: var(--osumi-navy); 
    color: var(--osumi-bg);     
    border: none;   
    font-family: sans-serif; /* ボタンは読みやすさ優先でゴシック体のままが良い場合が多い */
    border-radius: 50px; /* 丸みをつけて優しく */
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
}
.btn-primary:hover {
    /* ホバー時は少し明るく */
    background-color: #397cbe;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
.btn-accent {
    background-color: var(--osumi-orange);
    color: var(--osumi-navy);
    border: 2px solid var(--osumi-orange);
}
.btn-accent:hover {
    filter: brightness(1.1);
}
/* トップへ戻るボタン調整 */
.btn-home {
    padding-left: 50px;
    padding-right: 50px;
}
/* アウトラインボタン（サブアクション用） */
.btn-outline {
    background: transparent;
    color: var(--osumi-navy);
    border: 2px solid var(--osumi-navy);
}
.btn-outline:hover {
    background-color: var(--osumi-navy);
    color: #fff;
    opacity: 1;
}
        
/* =========================================
   Header Styles
   ========================================= */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ロゴ全体のリンクエリア */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

/* ロゴ画像のサイズ調整 */
.logo-image {
    width: 75px; /* お好みのサイズに調整してください */
    height: auto;
    display: block;
}

/* サイト名のテキストスタイル */
.logo-text {
    display: flex;
    flex-direction: column;
}

.site-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--osumi-navy);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* スマホ対応：ロゴを少し小さくする */
@media (max-width: 768px) {
    .logo-image { width: 45px; }
    .site-name { font-size: 1rem; }
    .header { height: 60px; }
}

/* PCナビゲーション */
.global-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.global-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}
.global-nav ul li a:hover {
    color: var(--osumi-orange);
}

/* 検索ボックス */
.search-box .search-form {
    display: flex;
    background: #f4f4f4;
    padding: 5px 15px;
    border-radius: 20px;
}
.search-box input[type="search"] {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    outline: none;
    width: 180px;
}
.search-box button[type="submit"] {
    background: transparent;
    border: none;
    cursor: pointer;
}

/* PCではスマホ用メニューを隠す */
.sp-nav-content {
    position: fixed;
    top: 0;
    right: -100%; /* 右側に隠す */
    width: 100%;
    height: 100vh;
    background: var(--osumi-navy);
    z-index: 999;
    transition: all 0.4s ease;
    padding-top: 100px;
    color: #ffff;
}

/* メニューが開いた時 */
.sp-nav-content.is-active {
    right: 0;
}

/* ハンバーガーボタンの装飾（三本線） */
.sp-nav-trigger {
    display: none; /* 基本は隠す */
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

/* 三本線の線自体 */
.sp-nav-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--osumi-navy);
    transition: all 0.4s;
}
.sp-nav-trigger span:nth-child(1) { top: 0; }
.sp-nav-trigger span:nth-child(2) { top: 11px; }
.sp-nav-trigger span:nth-child(3) { bottom: 0; }

/* 開いた時に ✕ にする */
.sp-nav-trigger.is-active span { background-color: #fff; }
.sp-nav-trigger.is-active span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
.sp-nav-trigger.is-active span:nth-child(2) { opacity: 0; }
.sp-nav-trigger.is-active span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

@media (max-width: 1024px) {
    .sp-nav-trigger { display: block; } /* スマホで表示 */
    .global-nav, .search-box { display: none; } /* ハンバーガーメニュー押下で表示する実装は省略 */
}

/* =========================================
   Footer Styles
   ========================================= */
.footer {
    background-color: var(--osumi-navy);
    color: var(--color-white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-nav {
    margin-bottom: 30px;
}

/* フッターメニューの横並び */
.footer-links {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
}

.footer-links li a {
    color:  var(--osumi-bg);    
    font-size: 1rem;    
}

.footer-links li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* コピーライト */
.copyright {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 0;
}

/* SP対応 */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* =========================================
   アーカイブ用基本設定 (Variables & Base)
   ========================================= */

/* ページヘッダー（アーカイブ共通） */
.page-header {
    padding: 40px 0;
    margin-bottom: 40px;
    background-color: var(--osumi-bg); /* デフォルト背景 */
    text-align: center;
}
.page-header p {    
    margin-top: 10px;
}

/* =========================================
   アーカイブ一覧用スタイル (Cards & Grid)
   ========================================= */
/* タグフィルター */
.filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-link {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--osumi-navy);
    border-radius: 20px;
    color: var(--osumi-navy);
    font-weight: bold;
    transition: 0.3s;
    background: var(--color-white);
}
.filter-link:hover, .filter-link.current {
    background: var(--color-sub);
    color: var(--color-white);
    border-color: var(--osumi-orange);
}

/* グリッドレイアウト */
.archive-section {
    padding-bottom: 80px;
}
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* レスポンシブなグリッド */
    gap: 30px;
}
@media (max-width: 768px) {
    .archive-grid { grid-template-columns: 1fr; }/* スマホは1カラム */
}

/* アイコン（右下の絵文字） */
.type-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 18px;
    border-radius: 18px;
    font-size: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ページネーション */
.pagination {
    margin-top: 50px;
    text-align: center;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--color-white);
    color: var(--osumi-navy);
    text-decoration: none;
    border-radius: 4px;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--osumi-navy);
    color: var(--color-white);
    border-color: var(--osumi-navy);
}

/* =========================================
   シングルページ共通用スタイル 
   ========================================= */

/* シングルヘッダー */
.single-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.single-meta {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--color-text);
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--osumi-navy);
    font-family: var(--font-serif);
    margin: 0;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .single-header { padding: 40px 0; }
    .entry-title { font-size: 1.6rem; }
}

/* 2カラムのラッパー */
.post-layout-wrapper {
    display: flex;          /* 横並びにする */
    justify-content: space-between; /* 両端に寄せる */
    gap: 40px;              /* メインとサイドバーの間隔 */
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: flex-start; /* サイドバーが短くても上に固定 */
}

/* メインカラム */
.post-main-content {
    flex: 1;
    min-width: 0; /* 折り返し対策 */
}

/* 画像 */
.post-thumbnail {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   サイドバー
   ========================================================================== */

.from70-sidebar-widget {
    background: #ffffff;
    border: 1px solid #d1fae5;
    border-top: 4px solid #2f855a;
    border-radius: 4px;
    padding: 22px 20px;
    margin-bottom: 24px;
}

.from70-sidebar-title {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #276749;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1fae5;
}

.from70-sidebar-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--osumi-text);
    margin-bottom: 12px;
}

.from70-sidebar-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2f855a;
    font-family: var(--font-sans);
    text-decoration: none;
    transition: color 0.2s;
}

.from70-sidebar-link:hover {
    color: #276749;
    opacity: 1;
}

/* 位置情報ウィジェット：地図埋め込み */
.from70-sidebar-map {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #d1fae5;
    margin-top: 4px;
}

.from70-sidebar-map iframe {
    display: block;
    width: 100%;   /* ACF埋め込みコードは固定px幅で来ることが多いため上書き */
    height: 180px;
}

.from70-sidebar-map-link {
    display: block;
    margin-top: 10px;
}

/* 年間活動リスト */
.from70-activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.from70-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f0fdf4;
    border-radius: 6px;
}

.activity-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.activity-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--osumi-navy);
    font-family: var(--font-sans);
}

.activity-freq {
    display: block;
    font-size: 0.75rem;
    color: #4a7c59;
    font-family: var(--font-sans);
    margin-top: 2px;
}

/* 最近の投稿リスト */
.from70-recent-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.from70-recent-item {
    border-bottom: 1px solid #f0fdf4;
}

.from70-recent-item:last-child {
    border-bottom: none;
}

.from70-recent-link {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 10px 0;
    text-decoration: none;
    color: var(--osumi-text);
    transition: color 0.2s;
}

.from70-recent-link:hover {
    color: #2f855a;
    opacity: 1;
}

.from70-recent-date {
    font-size: 0.75rem;
    color: #4a7c59;
    font-family: var(--font-sans);
    white-space: nowrap;
    flex-shrink: 0;
}

.from70-recent-title {
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* サイドバー */
.post-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.widget-title {
    font-size: 1rem;
    color: var(--osumi-navy);
    border-bottom: 2px solid var(--osumi-orange);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* 広告バナー用のスタイル */
.widget img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .post-layout-wrapper {
        flex-direction: column;
        display: block;/* フレックス解除 */
    }
    .post-sidebar {
        width: 100%;
        margin-top: 40px;
    }
}

/* サイドバー内のバナー（画像ウィジェット）の調整 */
.post-sidebar .widget_media_image {
    padding: 0; /* 画像ウィジェットの場合は余白をリセット */
    border: none;
    background: none;
}

.post-sidebar .widget_media_image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.post-sidebar .widget_media_image img:hover {
    transform: scale(1.02); /* マウスを置いた時に少し大きくする */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 広告ラベルを上に表示したい場合 */
.post-sidebar .widget_media_image::before {
    content: "SPONSOR";
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

/* ========================================
 * 以下のCSSをstyle.cssに追記してください
 * ========================================*/
 
.sidebar-interview-widget {
    background: linear-gradient(135deg, var(--osumi-navy) 0%, #2a4a7f 100%);
    border-radius: 10px;
    padding: 24px 20px;
    color: #fff;
    border: none;
}
 
.sidebar-interview-header {
    margin-bottom: 14px;
}
 
.sidebar-interview-badge {
    display: inline-block;
    background: var(--osumi-orange);
    color: var(--osumi-navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
 
.sidebar-interview-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin: 0;
}
 
.sidebar-interview-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 18px;
}
 
.sidebar-interview-flow {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 16px 14px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
 
.sidebar-flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
 
.sidebar-flow-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}
 
.sidebar-flow-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
 
.sidebar-flow-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--osumi-orange);
    letter-spacing: 0.12em;
}
 
.sidebar-flow-text {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}
 
.sidebar-flow-arrow {
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
    line-height: 1;
    padding: 0 0 0 16px;
}
 
.sidebar-interview-btn {
    display: block;
    text-align: center;
    background: var(--osumi-orange);
    color: var(--osumi-navy);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 50px;
    transition: filter 0.2s, transform 0.15s;
    margin-bottom: 12px;
    text-decoration: none;
}
 
.sidebar-interview-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    opacity: 1;
}
 
.sidebar-interview-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    text-align: center;
}
 
.sidebar-town-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--osumi-orange);
    border-radius: 4px;
    padding: 20px;
}
 
.sidebar-town-desc {
    font-size: 0.88rem;
    color: var(--osumi-text);
    line-height: 1.7;
    margin-bottom: 12px;
}
 
.sidebar-town-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--osumi-navy);
    border-bottom: 1px solid var(--osumi-navy);
    padding-bottom: 1px;
    transition: opacity 0.2s;
}
 
.sidebar-town-link:hover {
    opacity: 0.7;
}
 
.sidebar-fp-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--osumi-navy);
    border-radius: 4px;
    padding: 20px;
}
 
.sidebar-fp-thumb {
    display: block;
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
}
 
.sidebar-fp-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
 
.sidebar-fp-thumb:hover img {
    transform: scale(1.03);
}
 
.sidebar-fp-vol {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--osumi-orange);
    margin-bottom: 4px;
}
 
.sidebar-fp-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}
 
.sidebar-fp-title a {
    color: var(--osumi-navy);
}
 
.sidebar-fp-archive-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--osumi-navy);
    border-bottom: 1px solid var(--osumi-navy);
    padding-bottom: 1px;
    transition: opacity 0.2s;
}
 
.sidebar-fp-archive-link:hover {
    opacity: 0.7;
}


/* =========================================
   シングルページ（FROM70）
   ========================================= */
.post-hero {
    background-color: var(--osumi-bg);
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.post-label {
    display: inline-block;
    background: var(--osumi-orange);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 2px;
}

/* タグ */
.post-tags a {
    display: inline-block;
    background: #eee;
    color: #666;
    padding: 5px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    margin-right: 5px;
    border-radius: 20px;
}
.post-tags a:hover {
    background: var(--osumi-navy);
    color: #fff;
}

/* SP調整 */
@media (max-width: 768px) {
    .entry-title { font-size: 1.6rem; }
    .post-hero { padding: 40px 0; }
}

.author-box {
    background: #fdfaf5; /* 暖かみのある背景色 */
    border: 1px solid #eee;
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.author-inner {
    display: flex;
    gap: 25px;
    align-items: center;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.author-label {
    display: block;
    font-size: 0.75rem;
    color: var(--osumi-orange);
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.author-name {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: var(--osumi-navy);
}

.author-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.author-link {
    font-size: 0.85rem;
    color: var(--osumi-navy);
    text-decoration: underline;
}

/* SP対応 */
@media (max-width: 768px) {
    .author-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   各カスタム投稿タイプ固有のスタイル
   ========================================= */
/* --- ラジオ・アーカイブ --- */
.radio-header {
    background-color: #e7e7e5;
}
/* --- 歴史・史跡　DB --- */
.history-header {
    background-color: #f4f1ea; /* 古い和紙のような色 */
}

/* --- 観光・まち歩き ---*/
.tour-header {
    background-color: #e6fffa; 
}

/* ラベル（セルフガイド用情報）を大きく、読みやすく */
.status-label {
    display: inline-block;
    background: var(--osumi-navy); 
    color: var(--color-white);
    padding: 8px 16px; 
    font-size: 1rem;    
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* タグ（エリア名など）の調整 */
.tour-header .news-tag {
    display: inline-block;
    background: var(--tour-green); 
    color: var(--color-white);
    padding: 8px 16px; 
    font-size: 1rem;    
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 12px;
    margin-bottom: 20px;
}

/*==========================
  ACFフィールド
  ==========================*/
/* 放送日or掲載日 */
.radio-header .date {
    font-size: 1rem;
    color: var(--osumi-navy);
}
 /* 放送日と出演者の装飾 */
.performer-names {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--sub-color);
    font-style: italic;
}
/*   media-player-box */
.media-player-box {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
/*   動画コンテナ（YouTube等 iframe） */
.media-player-box .video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.media-player-box .video-container iframe,
.media-player-box .video-container embed,
.media-player-box .video-container object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/*   オーディオプレーヤー */
.media-player-box audio {
  display: block;
  width: 100%;
  border-radius: 8px;
}
/*  サムネイル画像 */
.media-player-box .post-thumbnail {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.media-player-box .post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* タブレット */
@media (max-width: 768px) {
  .media-player-box {
    border-radius: 4px;
  }
  .media-player-box .video-container {
    border-radius: 4px;
  }
  .media-player-box .post-thumbnail {
    border-radius: 4px;
  }
}
/* スマートフォン */
@media (max-width: 480px) {
  .media-player-box .video-container {
    border-radius: 0;
  }
  .media-player-box .post-thumbnail {
    border-radius: 0;
  }
}

/* 文字起こしエリア：少し古風な紙の質感を出す */
.transcript-section {
    width: 100%;
    margin: 2rem 0;
    padding: 30px 10px;
    background-color: #fdfaf2; /* 紙のような色 */
    border: 1px solid #e0d0b0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.02);
}
.transcript-content,
.entry-content {
  font-size: 1.1rem;
  width: 100%;
  line-height: 1.9;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 段落 */
.transcript-content p,
.entry-content p {
  margin: 0 0 1.25rem;
}

/* 見出し */
.transcript-content h1,
.transcript-content h2,
.transcript-content h3,
.transcript-content h4,
.transcript-content h5,
.transcript-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-weight: 500;
  line-height: 1.4;
  margin: 2rem 0 0.75rem;
}

/* リスト */
.transcript-content ul,
.transcript-content ol,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  list-style: revert;
}

.transcript-content li,
.entry-content li {
  margin-bottom: 0.4rem;
  list-style: revert;
}

/*  WordPress キャプション付き画像 両対応 */
/* --- wp-caption（クラシックエディタ） --- */
.transcript-content .wp-caption,
.entry-content .wp-caption {
  display: block;
  max-width: 100% !important; /* WordPressがインラインwidthを付与するため上書き */
  width: auto !important;
  height: auto;
  margin: 1.5rem auto;
}
.transcript-content .wp-caption img,
.entry-content .wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.transcript-content .wp-caption-text,
.entry-content .wp-caption-text {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem; /* 13px */
  color: #666;
  text-align: center;
  line-height: 1.5;
}
/*    レスポンシブ：キャプション付き画像 */
@media (max-width: 600px) {
  /* float を解除してブロック表示に切り替え */
  .transcript-content figure.alignleft,
  .entry-content figure.alignleft,
  .transcript-content figure.alignright,
  .entry-content figure.alignright,
  .transcript-content .wp-caption.alignleft,
  .entry-content .wp-caption.alignleft,
  .transcript-content .wp-caption.alignright,
  .entry-content .wp-caption.alignright {
    float: none;
    max-width: 100%;
    margin: 1.25rem auto;
  }
  .transcript-content figcaption,
  .entry-content figcaption,
  .transcript-content .wp-caption-text,
  .entry-content .wp-caption-text {
    font-size: 0.75rem; /* 12px */
  }
}
/* --- figure + figcaption（ブロックエディタ / Gutenberg） --- */
.transcript-content figure,
.entry-content figure {
  display: block;
  max-width: 100%;
  margin: 1.5rem auto;
}
.transcript-content figure img,
.entry-content figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.transcript-content figcaption,
.entry-content figcaption {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

/* --- Gutenberg アライメント --- */
/* 中央揃え */
.transcript-content figure.aligncenter,
.entry-content figure.aligncenter,
.transcript-content .wp-caption.aligncenter,
.entry-content .wp-caption.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

/* 左揃え（回り込み） */
.transcript-content figure.alignleft,
.entry-content figure.alignleft,
.transcript-content .wp-caption.alignleft,
.entry-content .wp-caption.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
  max-width: 50%;
}

/* 右揃え（回り込み） */
.transcript-content figure.alignright,
.entry-content figure.alignright,
.transcript-content .wp-caption.alignright,
.entry-content .wp-caption.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
  max-width: 50%;
}

/* float 解除 */
.transcript-content::after,
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

/* 歴史アーカイブ特有の装飾 */
.history-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 1rem;
    border-radius: 10px;
    margin-right: 10px;
}
.era-tag { 
    background: var(--history-brown); 
    color: var(--color-white); 
}
.supervised-tag { 
    background: var(--osumi-navy); 
    color: var(--color-white); 
}
.catchphrase {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--history-brown);
    margin-top: 20px;
    font-style: italic;
    letter-spacing: 0.1em;
}
/* 監修コメント（古風な枠線） */
.supervisor-box {
    margin-top: 60px;
    padding: 30px;
    background-color: #f1f8e9;
    border: 1px dashed #2e7d32;
    position: relative;
}
.supervisor-box h3 {
    font-size: 1rem;
    color: #1b5e20;
    margin-bottom: 15px;
}
.sub-title {
    font-size: 1.4rem;
    border-left: 15px solid var(--osumi-text);
    padding-left: 15px;
    margin-bottom: 25px;
}

/* ツアー概要カード */
.tour-summary-card {
    background: #fff;
    border: 2px solid #c6f6d5;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.summary-title {
    margin-top: 0;
    color: #2f855a;
    font-size: 1.2rem;
    border-bottom: 1px solid #c6f6d5;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.summary-list dt {
    font-weight: bold;
    color: #2f855a;
    margin-top: 15px;
}

.summary-list dd {
    margin-left: 0;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.no-tour-info {
    color: var(--osumi-text);
    font-size: 1em;
    padding: 5px 0;
    text-align: center;
}

/* スポット紹介カード */
.spot-card {
    display: flex;
    gap: 25px;
    background: #fdfcf6;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--osumi-navy);
    margin-bottom: 40px;
}

.spot-img { flex: 0 0 40%; }
.spot-img img { 
    border-radius: 4px;
     width: 100%; 
     height: auto;    
}
.spot-body {
    font-size: 1rem;
}
.spot-body h4 {
    font-size: 1.2rem;
}

/* .tour-cta は Contact Form セクションで定義 */

.btn-large {
    font-size: 1.2rem;
    padding: 18px 50px;
    margin-top: 10px;
    display: inline-block;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .spot-card { flex-direction: column; }
    .spot-img { flex: 0 0 100%; }
}

/* 地図ウィジェットの調整 */
.location-widget .location-content iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}
.widget-title {
    font-size: 1.2rem;
}

/* 編集メモ：付箋のようなデザイン */
.editor-note {
    margin: 40px 0;
    padding: 25px;
    background-color: #fff9c4; /* 薄い黄色 */
    border-left: 8px solid #fbc02d;
    font-family: var(--font-sans);
    color: #5d4037;
    position: relative;
}

.editor-note h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #f57f17;
}

/*==================================================
 * Template Name: フリーペーパーアーカイブ
 * Description: 発行されたフリーペーパーのPDF一覧を表示
 ===================================================*/

.fp-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--font-sans);
}

/* 導入文 */
.fp-intro {
    text-align: center;
    margin-bottom: 60px;
    background: #fdf6ec;
    padding: 40px 20px;
    border-radius: 15px;
}
.fp-intro h1 {
    font-family: 'Noto Serif JP', serif;
    color: var(--osumi-navy);
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.fp-intro p {
    font-size: 1.2rem;
}

/* グリッドレイアウト */
.fp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* フリーペーパーカード */
.fp-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.fp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.fp-cover {
    aspect-ratio: 1 / 1.414; /* A4比率 */
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #eee;
}
.fp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 最新号バッジ */
.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--osumi-orange);
    color: var(--osumi-navy);
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.fp-body {
    padding: 20px;
    flex-grow: 1;
}
.fp-vol {
    font-size: 0.9rem;
    color: var(--osumi-navy);
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.fp-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 10px;
    line-height: 1.4;
}
.fp-features {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    min-height: 3em;
}

/* ダウンロードボタン */
.fp-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.fp-btn {
    display: block;
    text-align: center;
    padding: 10px 5px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}
.btn-view {
    background: var(--osumi-navy);
    color: #fff;
}
.btn-pdf {
    background: #fff;
    color: var(--pdf-red);
    border: 1px solid var(--pdf-red);
}
.btn-view:hover { 
    opacity: 0.8; 
}
.btn-pdf:hover { 
    background: var(--pdf-red); 
    color: #fff; 
}

/* SP対応 */
@media (max-width: 600px) {
    .fp-grid { grid-template-columns: 1fr; }
}

/* 発行準備中・該当なし表示 */
.fp-empty-box {
    text-align: center;
    padding: 70px 40px;
    background: #fff;
    border: 1px dashed #e8ddc8;
    border-radius: 12px;
}
.fp-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 18px;
    opacity: 0.5;
    line-height: 1;
}
.fp-empty-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--osumi-navy);
    margin-bottom: 18px;
}
.fp-empty-text {
    font-size: 0.95rem;
    color: var(--color-sub);
    line-height: 1.9;
    margin-bottom: 30px;
}
.fp-empty-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 600px) {
    .fp-empty-box {
        padding: 50px 20px;
    }
    .fp-empty-title {
        font-size: 1.2rem;
    }
    .fp-empty-br {
        display: none;
    }
    .fp-empty-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================
フリーペーパー詳細ページ 
=========================*/
.fp-single-container { 
    padding: 50px 0; 
    background: var(--osumi-bg); 
}
.fp-single-header { 
    text-align: center; 
    margin-bottom: 50px; 
}
.fp-vol-large { 
    font-size: 1.5rem; 
    font-weight: bold; 
    color: var(--accent-color); 
}

.fp-single-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    background-color: var(--osumi-bg);
}
.fp-sticky-box { 
    position: sticky; 
    top: 20px; 
}
.fp-main-visual img { 
    width: 100%; border: 1px solid #ddd; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    margin-bottom: 20px; 
}
.btn-full { 
    display: block; 
    text-align: center; 
    padding: 15px; 
    font-weight: bold; 
    text-decoration: none; 
}
.fp-single-main {
    font-size: 1rem;
}
.fp-single-main h3 {
    font-size: 1.2rem;
}
.fp-content-section {
    margin-bottom: 1.2rem;
}
@media (max-width: 768px) {
    .fp-single-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   FROM70紹介ページ スタイル
   ============================================================ */

/* ヘッダー */
.from70-header { text-align: center; padding: 60px 20px 40px; }
.from70-header h1 { font-family: 'Noto Serif JP', serif; font-size: 2.5rem; }
.from70-header .from70-subtitle { font-size: 1.2rem; color: var(--osumi-navy); font-weight: bold; }

/* コンテナ */
.from70-container { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.from70-container h2 { text-align: center; }
.section-title { margin-top: 3rem; }

/* ミッション */
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 40px; }
.mission-card { text-align: center; padding: 30px 20px; }
.mission-icon { font-size: 3rem; display: block; margin-bottom: 12px; }

/* テーブル */
.activity-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 1rem; }
.activity-table th { padding: 12px 16px; text-align: left; background: var(--osumi-navy); color: #fff; }
.activity-table td { padding: 12px 16px; border-bottom: 1px solid #eee; }
.activity-table .text-center { text-align: center; }
.activity-table .alt-row { background: #f9f9f9; }

/* コラボレーションボックス */
.collaboration-box { margin-top: 2.5rem; padding: 24px; background: #fdf8f0; border-left: 5px solid var(--osumi-orange); border-radius: 4px; }
.collaboration-box h3 { margin-top: 0; color: var(--osumi-navy); }

/* .cta-box / .cta-button は Contact Form セクションで定義 */

/*===========================================================
固定ページ（事業概要、FROM70とは、など）の標準テンプレート
============================================================*/
.page-container {
    max-width: 800px;
    margin: 0 auto 80px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.6rem;
}

.entry-content h2 {
    border-left: 5px solid var(--osumi-navy);
    padding: 10px 0 10px 20px;
    margin: 40px 0 20px;
    background: #f8f9fa;
}

.entry-content h3 {
    color: var(--osumi-navy);
    border-bottom: 2px solid var(--osumi-bg);
    padding-bottom: 5px;
    margin: 30px 0 15px;
}

/* =========================================
   404ページ用スタイル (Error 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: 800px;
    width: 100%;
}

/* 404の巨大文字 */
.error-visual {
    margin-bottom: 30px;
    opacity: 0.15; /* 背景っぽく薄く表示 */
    line-height: 1;
    user-select: none;
}

.error-code {
    font-family: 'Noto Serif JP', serif;
    font-size: 8rem;
    font-weight: 700;
    color: var(--osumi-navy);
    display: block;
}

.error-sub {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--osumi-navy);
    margin: 0;
    letter-spacing: 0.1em;
}

/* テキストメッセージ */
.error-text {
    margin-bottom: 40px;
    color: #666;
    font-size: 1.05rem;
}

/* 検索ボックスの調整 */
.error-search-box {
    max-width: 500px;
    margin: 0 auto 60px;
    background: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
}
/* WP標準検索フォームのスタイル上書き（必要に応じて） */
.error-search-box .search-form {
    display: flex;
    gap: 10px;
}
.error-search-box .search-field {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.error-search-box .search-submit {
    background-color: var(--osumi-orange);
    color: var(--osumi-navy);
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.error-search-box .search-submit:hover {
    filter: brightness(0.95);
}

/* リカバリーリンク（誘導エリア） */
.recovery-section {
    margin-bottom: 60px;
}
.recovery-title {
    font-size: 1.2rem;
    color: var(--osumi-navy);
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    display: inline-block;
    padding-bottom: 5px;
}

.recovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.recovery-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--osumi-navy);
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.recovery-card:hover {
    transform: translateY(-3px);
    background-color: var(--osumi-navy);
    color: #fff;
    border-color: var(--osumi-navy);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
}

.recovery-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.recovery-arrow {
    font-size: 1.2rem;
    opacity: 0.5;
}

.recovery-card:hover .recovery-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* SP対応 */
@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }
    .error-search-box .search-form {
        flex-direction: column;
    }
    .error-search-box .search-submit {
        width: 100%;
        padding: 12px;
    }
    .recovery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   タクソノミー（タグ別まとめ）ページ用スタイル
   ========================================= */

/* ヘッダーの背景色変更（区別しやすくするため） */
.tax-header-bg {
    background-color: #fdf6ec; /* 薄いオレンジ */
    border-bottom: 5px solid var(--osumi-orange);
}

.tax-label {
    display: inline-block;
    background-color: var(--osumi-navy);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.tax-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* 各セクション（ラジオ・史跡・ツアーの塊） */
.tax-section {
    margin-bottom: 80px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 60px;
}
.tax-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* セクション見出し */
.tax-section-title {
    font-size: 1.8rem;
    color: var(--osumi-navy);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Noto Serif JP', serif;
}

.tax-section-title .icon {
    font-size: 2rem;
}

/* 記事がない場合のメッセージ */
.no-posts-msg {
    color: #999;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* 「〇〇一覧へ」のリンクボタン */
.more-link-wrap {
    text-align: right;
    margin-top: 20px;
}

.btn-more {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--osumi-navy);
    text-decoration: none;
    border: 1px solid var(--osumi-navy);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 700;
}

.btn-more:hover {
    background-color: var(--osumi-navy);
    color: #fff;
}

/* SP対応 */
@media (max-width: 768px) {
    .tax-section-title {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .more-link-wrap {
        text-align: center;
    }
}

/**
 * Template Name: FROM70紹介ページ
 */

.from70-header {
    background: #fdf6ec;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 5px solid var(--osumi-orange);
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
}
.mission-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
}
.member-section {
    background: var(--osumi-navy);
    color: white;
    padding: 60px 20px;
}
.cta-box {
    background: var(--osumi-orange);
    color: var(--osumi-navy);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}


/* =========================================
   Contact Form Styles (Contact Form 7用)
   CF7実際のHTML出力に完全対応 v3
   ① ページタイトルとの二重表示防止（h2削除対応）
   ② ヘッダー内テキスト白色を強制
   ③ 説明文を明確な色とサイズに
   ④ 全体フォントを1rem基準に引き上げ
   ⑤ 記入欄ボーダー・背景を明確化
   ========================================= */

/* ══════════════════════════════════════════
   フォームカード外枠
   ══════════════════════════════════════════ */
.cf7-card {
    max-width: 720px;
    margin: 0 auto 60px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26, 54, 93, 0.07);
}

/* ══════════════════════════════════════════
   カラーヘッダー
   ══════════════════════════════════════════ */
.cf7-header {
    padding: 2rem 2.5rem 1.8rem;
    position: relative;
    overflow: hidden;
    background: var(--osumi-navy);
}
.cf7-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(246, 173, 85, 0.12);
    pointer-events: none;
}
.cf7-header::after {
    content: '';
    position: absolute;
    bottom: -20px; left: 60px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
/* ラボ用 */
.cf7-card--lab .cf7-header    { background: #0F4C81; }
/* FROM70用 */
.cf7-card--from70 .cf7-header { background: #1B4332; }

/* ① バッジ */
.cf7-header-badge {
    display: inline-block;
    background: rgba(246, 173, 85, 0.2);
    color: var(--osumi-orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 0.9rem;
}
.cf7-card--from70 .cf7-header-badge {
    background: rgba(104, 211, 145, 0.2);
    color: #68D391;
}

/* ① h2はページタイトルと二重になるため使わない
      代わりに .cf7-header-title を使用 */
.cf7-header-title {
    color: #ffffff !important;  /* ② 白色を強制 */
    font-family: var(--font-serif) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 0.5rem 0 !important;
    text-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

/* ③ 説明文：透明度廃止・明確な白で表示・フォントサイズ引き上げ */
.cf7-header-desc {
    color: #cfe0f5;   /* ② 白に近い明るいブルーで視認性確保 */
    font-size: 1rem;  /* ④ 0.88rem → 1rem に引き上げ */
    line-height: 1.7;
    margin: 0;
    font-family: var(--font-sans);
}

/* ══════════════════════════════════════════
   フォーム本体ラッパー
   ══════════════════════════════════════════ */
.cf7-body {
    padding: 2rem 2.5rem;
}

/* ══════════════════════════════════════════
   CF7フォームタグ出力への対応
   CF7は <span class="wpcf7-form-control-wrap"> で各入力を囲む。
   これをblockにしてwidthを正しく継承させる。
   ══════════════════════════════════════════ */
.cf7-body .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* ══════════════════════════════════════════
   フォームグループ（ラベル＋入力のセット）
   ══════════════════════════════════════════ */
.cf7-group {
    margin-bottom: 1.6rem;
}

/* ラベル行 */
.cf7-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--osumi-navy);
    margin-bottom: 0.55rem;
    font-family: var(--font-sans);
}

/* 必須バッジ */
.cf7-badge-req {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--osumi-orange);
    color: var(--osumi-navy);
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
/* 任意バッジ */
.cf7-badge-opt {
    font-size: 0.75rem;
    font-weight: 600;
    background: #EEF2FF;
    color: #4338CA;
    padding: 3px 9px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   アイコン付き入力ラッパー
   CF7の <span.wpcf7-form-control-wrap> も
   position対象にする必要があるため両方指定
   ══════════════════════════════════════════ */
.cf7-input-wrap {
    position: relative;
}
.cf7-input-wrap .cf7-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    opacity: 0.45;
    z-index: 1;
}
/* CF7のwrapをpositionの基準にする */
.cf7-input-wrap .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
/* アイコン付き入力はleft paddingを追加 */
.cf7-input-wrap .wpcf7-form-control-wrap input[type="text"],
.cf7-input-wrap .wpcf7-form-control-wrap input[type="email"],
.cf7-input-wrap .wpcf7-form-control-wrap input[type="tel"] {
    padding-left: 42px;
}

/* ══════════════════════════════════════════
   入力・テキストエリア・セレクト 共通スタイル
   CF7の実際の出力クラスに合わせて指定
   ══════════════════════════════════════════ */
.cf7-body .wpcf7-form-control.wpcf7-text,
.cf7-body .wpcf7-form-control.wpcf7-email,
.cf7-body .wpcf7-form-control.wpcf7-tel,
.cf7-body .wpcf7-form-control.wpcf7-textarea,
.cf7-body .wpcf7-form-control.wpcf7-select {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #C8D6E5;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--osumi-text);
    background: #F8FAFB;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

/* フォーカス */
.cf7-body .wpcf7-form-control.wpcf7-text:focus,
.cf7-body .wpcf7-form-control.wpcf7-email:focus,
.cf7-body .wpcf7-form-control.wpcf7-tel:focus,
.cf7-body .wpcf7-form-control.wpcf7-textarea:focus,
.cf7-body .wpcf7-form-control.wpcf7-select:focus {
    border-color: var(--osumi-navy);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.12);
}

/* プレースホルダー */
.cf7-body .wpcf7-form-control::placeholder {
    color: #B0BAC7;
    font-size: 0.95rem;
}

/* テキストエリア */
.cf7-body .wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.75;
}

/* セレクトボックス */
.cf7-body .wpcf7-form-control.wpcf7-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A365D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* バリデーションエラー時 */
.cf7-body .wpcf7-not-valid {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
}

/* ══════════════════════════════════════════
   エラーメッセージ（CF7出力）
   ══════════════════════════════════════════ */
.cf7-body .wpcf7-not-valid-tip {
    display: block;
    font-size: 0.88rem;
    color: #DC2626;
    margin-top: 5px;
    font-family: var(--font-sans);
}

/* ══════════════════════════════════════════
   区切り線
   ══════════════════════════════════════════ */
.cf7-divider {
    border: none;
    border-top: 1px dashed #E2E8F0;
    margin: 1.8rem 0;
}

/* ══════════════════════════════════════════
   フッター（注意書き＋送信ボタン）
   ══════════════════════════════════════════ */
.cf7-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.cf7-note {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.7;
    font-family: var(--font-sans);
}
.cf7-note a {
    color: var(--osumi-navy);
    text-decoration: underline;
}

/* ══════════════════════════════════════════
   送信ボタン（CF7出力: input[type=submit]）
   ══════════════════════════════════════════ */
.cf7-body input.wpcf7-submit {
    display: inline-block;
    background: var(--osumi-navy);
    color: #fff;
    border: none;
    padding: 13px 40px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.25);
    letter-spacing: 0.04em;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}
.cf7-body input.wpcf7-submit:hover {
    background: #16325a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.35);
}
.cf7-body input.wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: none;
}
/* ラボ用ボタン色 */
.cf7-card--lab .cf7-body input.wpcf7-submit         { background: #0F4C81; }
.cf7-card--lab .cf7-body input.wpcf7-submit:hover   { background: #0a3a63; }
/* FROM70用ボタン色 */
.cf7-card--from70 .cf7-body input.wpcf7-submit       { background: #276749; }
.cf7-card--from70 .cf7-body input.wpcf7-submit:hover { background: #1d5237; }

/* ══════════════════════════════════════════
   送信完了・失敗メッセージ（CF7出力）
   ══════════════════════════════════════════ */
.cf7-body .wpcf7-response-output {
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    text-align: center;
    border-width: 1.5px;
    border-style: solid;
}
/* 送信成功 */
.cf7-body .wpcf7-mail-sent-ok {
    background: #F0FDF4;
    border-color: #86EFAC;
    color: #166534;
}
/* 送信失敗 */
.cf7-body .wpcf7-mail-sent-ng,
.cf7-body .wpcf7-aborted {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #991B1B;
}
/* スパム判定 */
.cf7-body .wpcf7-spam-blocked {
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
}

/* ══════════════════════════════════════════
   サイドバー：協賛ウィジェットカード
   ══════════════════════════════════════════ */
.contact-widget-card {
    background: linear-gradient(135deg, var(--osumi-navy) 0%, #2a4a7f 100%);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #fff;
}
.contact-widget-card h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.contact-widget-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    margin-bottom: 14px;
}
.contact-widget-card .btn-contact-widget {
    display: inline-block;
    background: var(--osumi-orange);
    color: var(--osumi-navy);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.15s;
}
.contact-widget-card .btn-contact-widget:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    opacity: 1;
}

/* ══════════════════════════════════════════
   ツアーページ お問い合わせCTA
   ══════════════════════════════════════════ */
.tour-cta {
    text-align: center;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    border: 1px solid #A7F3D0;
    padding: 40px;
    border-radius: 14px;
    margin-top: 50px;
}
.tour-cta p {
    font-size: 1rem;
    color: var(--osumi-text);
    margin-bottom: 20px;
}
.tour-cta .btn-tour-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--osumi-navy);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 50px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.2);
    text-decoration: none;
}
.tour-cta .btn-tour-contact:hover {
    background: #16325a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.32);
    opacity: 1;
}

/* ══════════════════════════════════════════
   FROM70紹介ページ CTAボックス
   ══════════════════════════════════════════ */
.cta-box {
    background: var(--bg-light-gray);
    color: var(--osumi-navy);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}
.cta-box h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.cta-box p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    opacity: 0.85;
}
.cta-box .cta-btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--osumi-navy);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.25);
}
.cta-button:hover {
    background: #16325a;
    transform: translateY(-2px);
    opacity: 1;
}
.cta-button--outline {
    background: transparent;
    border: 2px solid var(--osumi-navy);
    color: var(--osumi-navy);
    box-shadow: none;
}
.cta-button--outline:hover {
    background: var(--osumi-navy);
    color: #fff;
}

/* ══════════════════════════════════════════
   レスポンシブ
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .cf7-header  { padding: 1.5rem 1.2rem 1.2rem; }
    .cf7-body    { padding: 1.5rem 1.2rem; }
    .cf7-footer  { flex-direction: column; align-items: stretch; }
    .cf7-body input.wpcf7-submit {
        width: 100%;
        text-align: center;
    }
    .tour-cta  { padding: 28px 20px; }
    .cta-box   { padding: 28px 20px; }
    .cta-box .cta-btn-group { flex-direction: column; align-items: center; }
}

/* ==========================================================================
   news-tag（フロント、アーカイブ・カード共通のタグ表示）
   対象: front-page.php　/　archive-*.php / index.php / search.php / taxonomy.php /
         town-pickup-section.php など .news-tag を使う全テンプレート
   ========================================================================== */

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: 10px;
}

.news-tag {
    background: #076bf6;
    color: #ffffff;
    font-size: 1rem;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: bold;
}