/*
Theme Name: 江崎さなえ 公式テーマ
Description: 江崎さなえ公式サイトのオリジナルテーマです。
Author: Your Name
Version: 1.0.0
*/

@charset "UTF-8";

/* =========================================
   1. 全体の基本設定（変数・ベース）
========================================= */
:root {
    --primary-color: #F08200; 
    --primary-light: #FFB74D; 
    --bg-color: #FFF9F2; 
    --text-color: #4a4a4a;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
body {
    font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    line-height: 1.7;
}
a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. 共通パーツ（ボタン・見出し・装飾）
========================================= */
.btn-rich {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white !important;
    padding: 12px 35px;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 6px 15px rgba(240, 130, 0, 0.4);
    transition: var(--transition);
    border: 2px solid white;
    text-align: center;
}
.btn-rich:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(240, 130, 0, 0.5);
}
.btn-muted {
    background-color: #f1f1f1;
    color: #666;
    border: 1px solid #ccc;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-muted:hover {
    background-color: #e2e2e2;
    color: #333;
    transform: translateY(-2px);
}
.section-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px dotted #ffe0b2;
    padding-bottom: 10px;
}
.page-intro {
    background: white; padding: 25px; border-radius: 20px; box-shadow: 0 8px 25px rgba(240, 130, 0, 0.06); 
    margin-bottom: 40px; text-align: center; border: 2px dashed #ffe0b2;
}
.alert-box { background: #fdf5f5; border-left: 5px solid #ff7675; border-radius: 5px 10px 10px 5px; padding: 20px; margin-bottom: 20px; }

/* =========================================
   3. ヘッダー ＆ ナビゲーション（PC版）
========================================= */
body > .container:first-of-type {
    max-width: 100%;
    padding: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 249, 242, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(240, 130, 0, 0.08);
}
body > .container:first-of-type header {
    display: flex; justify-content: space-between; align-items: center; 
    max-width: 1100px; margin: 0 auto; padding: 12px 20px;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-top { display: flex; justify-content: space-between; font-size: 11px; color: #777; margin-bottom: 2px; }
.logo-orange { color: var(--primary-color); }
.logo-bottom { font-size: 34px; font-weight: 700; letter-spacing: 2px; }

.hamburger { display: none; }

.global-nav ul {
    display: flex; list-style: none; gap: 25px; margin: 0; padding: 0; font-size: 15px; font-weight: bold;
}
.global-nav ul li { position: relative; }
.global-nav ul li a {
    display: flex; flex-direction: column; align-items: center; gap: 5px; color: #666; position: relative;
}
.global-nav ul li a i.main-icon, .global-nav ul li a i:not(.dropdown-mark) {
    font-size: 20px; color: var(--primary-light); transition: var(--transition);
}
.dropdown-mark { font-size: 10px; color: #aaa; margin-left: 5px; transition: var(--transition); }
.global-nav ul li a:hover, .global-nav ul li a.active { color: var(--primary-color); }
.global-nav ul li a:hover i, .global-nav ul li a.active i { transform: translateY(-3px); color: var(--primary-color); }

.global-nav > ul > li > a::after {
    content: ''; position: absolute; width: 100%; height: 2px; bottom: -5px; left: 0;
    background-color: var(--primary-color); transform: scaleX(0); transition: var(--transition);
}
.global-nav > ul > li > a:hover::after { transform: scaleX(1); }

.submenu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
    background: white; min-width: 180px; box-shadow: 0 10px 30px rgba(240, 130, 0, 0.15);
    border-radius: 15px; padding: 10px 0 !important; display: flex; flex-direction: column !important;
    gap: 0 !important; border: 2px solid #ffe0b2; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 100;
}
.global-nav ul li:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(5px); }
.global-nav ul li:hover .dropdown-mark { transform: rotate(180deg); color: var(--primary-color); }
.submenu li { width: 100%; }
.submenu li a {
    flex-direction: row; justify-content: flex-start; padding: 10px 20px !important;
    font-size: 14px !important; color: #555 !important; transition: all 0.2s !important;
}
.submenu li a::after { display: none; }
.submenu li a:hover { background-color: #fff8f0; color: var(--primary-color) !important; padding-left: 25px !important; }

/* =========================================
   4. ヒーローエリア
========================================= */
.hero {
    background-image: url('hero_image_pc.png'); background-size: cover; background-position: center top;
    height: 500px; position: relative; display: flex; align-items: center; justify-content: center;
    text-align: center; border-radius: 0 0 30px 30px; overflow: hidden;
}
.hero-text { position: relative; z-index: 1; padding: 0 20px; }
.hero-text h1 { font-size: 52px; color: white; margin: 0; text-shadow: 2px 2px 8px rgba(0,0,0,0.3); line-height: 1.1; }
.hero-text p { font-size: 18px; font-weight: bold; color: white; text-shadow: 1px 1px 4px rgba(0,0,0,0.4); margin-top: 15px; }

.hero-graphic {
    height: 180px; position: relative; display: flex; align-items: center; justify-content: center;
    border-radius: 0 0 30px 30px; overflow: hidden; margin-bottom: 30px;
    background: linear-gradient(135deg, #FF9800 0%, #F08200 50%, #E65100 100%);
}
.hero-graphic-content { position: relative; z-index: 1; padding: 0 20px; display: flex; align-items: center; gap: 25px; text-align: left; }
.hero-graphic-icon {
    font-size: 60px; color: white; opacity: 0.9; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.2); width: 100px; height: 100px; border-radius: 50%;
}
.hero-graphic-text h1 { font-size: 32px; color: white; margin: 0; font-weight: 700; letter-spacing: 2px; }
.hero-graphic-text p { font-size: 14px; font-weight: bold; color: white; opacity: 0.9; margin-top: 5px; margin-bottom: 0; }

.custom-shape-divider-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 10; }
.custom-shape-divider-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 30px; }
.custom-shape-divider-bottom .shape-fill { fill: var(--bg-color); }

/* =========================================
   5. メインレイアウト（2カラム）
========================================= */
.main-wrapper { display: flex; gap: 40px; margin-top: 50px; margin-bottom: 60px; }
.main-content { flex: 1; }
.sidebar { width: 320px; }

/* =========================================
   6. 各種コンテンツモジュール
========================================= */

/* --- 記事カード（アーカイブ・トップ） --- */
.article-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; gap: 20px; margin-bottom: 25px; transition: var(--transition); padding: 15px; border: 1px solid transparent; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(240, 130, 0, 0.1); border-color: #ffe0b2; }
.article-thumb { width: 220px; height: 150px; border-radius: 15px; flex-shrink: 0; overflow: hidden; position: relative; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-thumb img { transform: scale(1.08); }
.article-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #888; margin-bottom: 8px; }
.category-badge { background-color: #fff0e0; color: var(--primary-color); padding: 4px 12px; border-radius: 20px; font-weight: bold; font-size: 12px; }
.article-title { font-size: 18px; font-weight: bold; margin: 0 0 8px 0; line-height: 1.5; color: #333; }
.article-card:hover .article-title { color: var(--primary-color); }

/* --- 記事詳細ページ（single.php）全体枠 --- */
.article-wrap { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 8px 25px rgba(240, 130, 0, 0.06); border: 2px solid transparent; }
.article-header { margin-bottom: 25px; border-bottom: 2px solid #f0f0f0; padding-bottom: 20px; }
.article-header h1 { font-size: 28px; color: #222; margin: 0; line-height: 1.5; }
.article-eyecatch { width: 100%; height: 400px; border-radius: 15px; overflow: hidden; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.article-eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.share-area { margin-top: 50px; padding-top: 20px; border-top: 1px solid #eee; text-align: center; }

/* --- 記事詳細ページ（本文）エディター装飾 --- */
.article-body { font-size: 16px; color: #444; line-height: 1.9; }
.article-body p { line-height: 1.8; margin-bottom: 1.5em; font-size: 16px; color: #333; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 1.5em; }
.article-body ul { background: #fafafa; padding: 20px 20px 20px 40px; border-radius: 10px; border: 1px solid #eee; margin-bottom: 1.5em; line-height: 1.8; }
.article-body li { margin-bottom: 0.5em; }

.article-body h2 { font-size: 24px; color: var(--primary-color); background: #fff3e6; border-left: 6px solid var(--primary-color); padding: 15px 20px; margin-top: 2.5em; margin-bottom: 1em; font-weight: bold; border-radius: 0 8px 8px 0; }
.article-body h3 { font-size: 20px; color: #333; border-bottom: 2px dashed var(--primary-color); padding-bottom: 10px; margin-top: 2em; margin-bottom: 1em; font-weight: bold; }

.article-body a:not(.wp-block-button__link):not(.social-banner) { color: #1a73e8; text-decoration: underline; text-decoration-style: solid; text-decoration-color: #bbd4f7; text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: bold; transition: var(--transition); }
.article-body a:not(.wp-block-button__link):not(.social-banner):hover { color: #0d47a1; text-decoration-color: #0d47a1; background-color: #f0f7ff; border-radius: 4px; }

.article-body blockquote, .article-body .wp-block-quote { position: relative; margin: 2.5em 0; padding: 25px 25px 25px 55px; background-color: #f8f9fa; border: 1px solid #eeeeee; border-radius: 10px; color: #555; font-style: normal; }
.article-body blockquote::before, .article-body .wp-block-quote::before { content: "“"; position: absolute; top: 5px; left: 15px; font-family: 'Times New Roman', serif; font-size: 70px; line-height: 1; color: rgba(240, 130, 0, 0.2); }
.article-body blockquote p { margin-bottom: 0; position: relative; z-index: 2; }

.article-body .wp-block-button__link { background: linear-gradient(45deg, var(--primary-color), var(--primary-light)); color: white !important; border-radius: 50px !important; padding: 12px 35px; font-weight: bold; box-shadow: 0 6px 15px rgba(240, 130, 0, 0.3); transition: var(--transition); text-decoration: none; }
.article-body .wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(240, 130, 0, 0.4); }

.article-body mark, .article-body .has-inline-color { background: linear-gradient(transparent 60%, rgba(255, 183, 77, 0.6) 60%); color: inherit; font-weight: bold; padding: 0 4px; }

.article-body .custom-point-box { background-color: white; border: 2px solid var(--primary-light); border-radius: 15px; padding: 25px; margin: 2em 0; box-shadow: 0 8px 20px rgba(240, 130, 0, 0.08); position: relative; }
.article-body .custom-point-box::before { content: "POINT"; position: absolute; top: -15px; left: 20px; background-color: var(--primary-color); color: white; font-size: 14px; font-weight: bold; padding: 4px 15px; border-radius: 20px; letter-spacing: 1px; }

.back-to-list-btn { display: inline-block; padding: 15px 40px; background-color: #ffffff; color: var(--primary-color); border: 2px solid var(--primary-color); border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 16px; transition: var(--transition); }
.back-to-list-btn:hover { background-color: var(--primary-color); color: #ffffff; }

/* --- かわら版・発行物 --- */
.year-heading { font-size: 24px; color: var(--primary-color); border-bottom: 2px solid var(--primary-color); padding-bottom: 5px; margin-bottom: 20px; margin-top: 40px; display: inline-block; }
.kawaraban-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.kawaraban-card { background: white; border-radius: 15px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 20px; transition: var(--transition); border: 2px solid transparent; position: relative; z-index: 1;}
.kawaraban-card:hover { transform: translateY(-5px); border-color: var(--primary-light); box-shadow: 0 10px 25px rgba(240, 130, 0, 0.15); z-index: 2;}
.kawaraban-thumb { width: 90px; height: 128px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 3px 3px 10px rgba(0,0,0,0.1); border: 1px solid #eee; }
.kawaraban-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.kawaraban-card:hover .kawaraban-thumb img { transform: scale(1.05); }
.badge-new { position: absolute; top: -1px; left: -1px; background: #e53935; color: white; font-size: 11px; font-weight: bold; padding: 5px 15px; border-radius: 15px 0 10px 0; box-shadow: 2px 2px 5px rgba(0,0,0,0.15); z-index: 10; }
.kawaraban-info h3 { font-size: 16px; margin: 0 0 8px 0; color: #333; line-height: 1.4; transition: var(--transition); }
.kawaraban-card:hover .kawaraban-info h3 { color: var(--primary-color); }
.kawaraban-info p { font-size: 13px; color: #666; margin: 0 0 15px 0; line-height: 1.5; }
.btn-pdf { display: inline-flex; align-items: center; gap: 6px; background: #fff0e0; color: var(--primary-color); padding: 6px 15px; border-radius: 20px; font-size: 12px; font-weight: bold; transition: var(--transition); }
.kawaraban-card:hover .btn-pdf { background: var(--primary-color); color: white; }

.btn-year { display: inline-block; padding: 8px 22px; background-color: #ffffff; color: var(--primary-color); border: 2px solid var(--primary-color); border-radius: 30px; font-weight: bold; font-size: 14px; transition: var(--transition); text-decoration: none; }
.btn-year:hover, .btn-year.active { background-color: var(--primary-color); color: #ffffff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(240, 130, 0, 0.2); }

/* --- プロフィール --- */
.profile-card { background: white; padding: 30px; border-radius: 20px; box-shadow: 0 8px 25px rgba(240, 130, 0, 0.06); margin-bottom: 40px; display: flex; gap: 30px; align-items: center; border: 2px dashed #ffe0b2; }
.profile-intro h2 { color: var(--primary-color); font-size: 24px; margin: 0 0 10px 0; }
.timeline { position: relative; padding-left: 30px; margin-bottom: 40px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 3px; background: #ffe0b2; border-radius: 3px; }
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item::before { content: '\f111'; font-family: 'FontAwesome'; font-weight: 900; position: absolute; left: -34.5px; top: 2px; color: var(--primary-color); font-size: 14px; background: var(--bg-color); border-radius: 50%; }
.timeline-year { font-weight: bold; color: var(--primary-color); margin-bottom: 5px; display: inline-block; background: #fff0e0; padding: 2px 10px; border-radius: 15px; font-size: 14px; }
.timeline-body { display: flex; gap: 20px; align-items: flex-start; margin-top: 5px; }
.timeline-content { flex: 1; line-height: 1.8; }
.timeline-gallery { width: 280px; flex-shrink: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; transform: rotate(2deg); transition: var(--transition); }
.timeline-item:nth-child(even) .timeline-gallery { transform: rotate(-2deg); }
.timeline-item:hover .timeline-gallery { transform: rotate(0) scale(1.02); }
.timeline-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 2px solid white; aspect-ratio: 4 / 3; }
.timeline-gallery img:only-child { grid-column: 1 / 3; }
.timeline-gallery img:first-child:nth-last-child(3) { grid-column: 1 / 3; }
.profile-signature { display: block; width: 200px; margin-top: 30px; margin-left: auto; margin-right: 20px; opacity: 0.85; mix-blend-mode: multiply; }

/* --- 政策・ビジョン --- */
.vision-intro { background: white; padding: 25px; border-radius: 20px; box-shadow: 0 8px 25px rgba(240, 130, 0, 0.06); margin-bottom: 40px; text-align: center; }
.vision-intro h2 { color: var(--primary-color); font-size: 22px; margin-top: 0; }
.vision-card { background: white; border-radius: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); margin-bottom: 40px; overflow: hidden; border: 2px solid transparent; transition: var(--transition); }
.vision-card:hover { transform: translateY(-5px); border-color: #ffe0b2; box-shadow: 0 12px 30px rgba(240,130,0,0.1); }
.vision-header { background: linear-gradient(135deg, #fff0e0, white); padding: 20px 30px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #f0f0f0; }
.vision-icon { width: 60px; height: 60px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; box-shadow: 0 4px 10px rgba(240,130,0,0.3); }
.vision-header h3 { margin: 0; font-size: 22px; color: #333; }
.vision-body { padding: 30px; }
.vision-points { background: var(--bg-color); padding: 20px; border-radius: 15px; margin-top: 20px; }
.vision-points h4 { margin: 0 0 10px 0; color: var(--primary-color); display: flex; align-items: center; gap: 8px; }
.vision-editor-content h4 { background-color: var(--bg-color); padding: 15px 15px 5px 15px; margin: 20px 0 0 0; border-radius: 15px 15px 0 0; color: var(--primary-color); font-size: 16px; font-weight: bold; }
.vision-editor-content ul { background-color: var(--bg-color); padding: 15px 15px 15px 35px; margin: 0 0 20px 0; border-radius: 0 0 15px 15px; }
.vision-editor-content li { margin-bottom: 4px; color: #444; }

/* --- フォーム全般（お問い合わせ・寄付） --- */
.support-section { background: white; border-radius: 20px; padding: 35px; box-shadow: 0 8px 25px rgba(240, 130, 0, 0.06); border: 2px solid transparent; margin-bottom: 30px; }
.support-section h2 { font-size: 22px; color: var(--primary-color); border-bottom: 2px solid #ffe0b2; padding-bottom: 10px; margin-top: 0; margin-bottom: 20px; }
.form-wrapper { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 8px 25px rgba(240, 130, 0, 0.06); border: 2px solid transparent; transition: var(--transition); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; color: #333; font-size: 14px; }
.badge-req { background: #ff7675; color: white; font-size: 11px; padding: 3px 8px; border-radius: 10px; margin-left: 10px; font-weight: normal; }
.badge-opt { background: #b2bec3; color: white; font-size: 11px; padding: 3px 8px; border-radius: 10px; margin-left: 10px; font-weight: normal; }
.form-control { width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 12px; background: #fafafa; font-family: inherit; font-size: 15px; box-sizing: border-box; transition: var(--transition); }
.form-control:focus { border-color: var(--primary-light); background: white; outline: none; box-shadow: 0 0 10px rgba(240,130,0,0.1); }
textarea.form-control { min-height: 150px; resize: vertical; }
.btn-submit { background: linear-gradient(45deg, var(--primary-color), var(--primary-light)); color: white; border: none; padding: 15px 40px; font-size: 18px; font-weight: bold; border-radius: 50px; cursor: pointer; display: block; width: 100%; max-width: 300px; margin: 30px auto 0; box-shadow: 0 6px 15px rgba(240, 130, 0, 0.3); transition: var(--transition); box-sizing: border-box; text-align: center; }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(240, 130, 0, 0.4); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 5px; font-size: 15px; color: #333; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary-color); cursor: pointer; }
.note-text { font-size: 13px; color: #666; margin-top: 5px; line-height: 1.6; }
.bank-info-box { background: #fff8f0; border: 2px solid #ffe0b2; border-radius: 12px; padding: 20px; margin-top: 20px; text-align: center; }

/* --- その他小物（タグ・ページネーション・パンくず・ボランティア） --- */
.tag-badge { display: inline-block; background-color: #f0f0f0; color: #666666; font-size: 13px; padding: 6px 14px; border-radius: 20px; text-decoration: none; margin-right: 8px; margin-bottom: 10px; transition: var(--transition); }
.tag-badge:hover { background-color: var(--primary-color); color: #ffffff; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; }
.pagination a, .pagination span.current, .pagination span.dots { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; font-weight: bold; font-size: 15px; transition: var(--transition); }
.pagination a { background-color: #ffffff; color: var(--primary-color); border: 1px solid var(--primary-color); }
.pagination a:hover { background-color: var(--primary-color); color: #ffffff; }
.pagination span.current { background-color: var(--primary-color); color: #ffffff; border: 1px solid var(--primary-color); }
.pagination span.dots { color: #666; }

.breadcrumb { font-size: 13px; color: #666; margin-bottom: 25px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: #666; text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 4px; }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb .separator { color: #ccc; font-size: 11px; }
.breadcrumb span { color: #999; }

.volunteer-list { list-style: none; padding-left: 0; margin-top: 20px; }
.volunteer-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 16px; line-height: 1.6; }
.volunteer-list li i { color: var(--primary-color); font-size: 20px; width: 24px; text-align: center; margin-top: 3px; flex-shrink: 0; }

.sp-br-span { display: inline; }


/* =========================================
   7. サイドバー ＆ ウィジェット
========================================= */
.sidebar-widget { background: white; padding: 25px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 30px; }
.widget-title { font-size: 18px; color: var(--primary-color); margin: 0 0 15px 0; display: flex; align-items: center; gap: 8px; border-bottom: 2px dotted #ffe0b2; padding-bottom: 10px; }

.profile-img-wrap { width: 130px; height: 130px; margin: 0 auto 15px; border-radius: 50%; padding: 5px; background: linear-gradient(45deg, var(--primary-color), #f7b76d); flex-shrink: 0; }
.profile-card .profile-img-wrap { width: 180px; height: 180px; margin: 0; }
.profile-img { width: 100%; height: 100%; border-radius: 50%; background-image: url('profile_img_sidebar.jpg'); background-size: cover; background-position: center; border: 3px solid white; box-sizing: border-box; display: block; object-fit: cover; }
.profile-text { text-align: center; }
.profile-text h3 { margin: 0 0 5px 0; color: #333; }
.profile-text p { font-size: 13px; color: #666; line-height: 1.5; }

.social-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 15px; color: white; font-weight: bold; margin-bottom: 10px; transition: var(--transition); }
.social-banner.line { background-color: #06C755; }
.social-banner.x { background-color: #000000; }
.social-banner.insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-banner:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.youtube-thumb { display: block; position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.1); transition: var(--transition); }
.youtube-thumb:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.youtube-thumb img { width: 100%; transition: var(--transition); }
.youtube-thumb:hover img { transform: scale(1.05); }
.youtube-thumb .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 0, 0, 0.8); color: white; width: 50px; height: 35px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); z-index: 2; }
.youtube-thumb:hover .play-btn { background: rgba(255, 0, 0, 1); transform: translate(-50%, -50%) scale(1.1); }

.sidebar-banners { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.sidebar-banner { display: block; border-radius: 15px; overflow: hidden; transition: var(--transition); border: 2px solid transparent; position: relative; }
.sidebar-banner img { width: 70%; margin: 0 auto; transition: transform 0.4s ease; }
.sidebar-banner:hover { transform: translateY(-3px); }
.sidebar-banner:hover img { transform: scale(1.05); }
.sidebar-party-logo { width: 80%; max-width: 220px; margin: 0 auto; display: block; transition: var(--transition); }
.sidebar-party-logo:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.05); }

.search-box { display: flex; border-radius: 50px; overflow: hidden; border: 2px solid #eee; }
.search-box input { flex: 1; padding: 10px 15px; border: none; outline: none; background: #fafafa; }
.search-box button { background-color: var(--primary-color); color: white; border: none; padding: 0 20px; cursor: pointer; transition: var(--transition); }
.search-box button:hover { background-color: var(--primary-light); }

.sidebar-motto { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.motto-label { font-size: 13px; font-weight: bold; color: #4a4a4a; white-space: nowrap; }
.motto-img { width: 120px; border-radius: 5px; max-width: 100%; height: auto; }


/* =========================================
   8. フッター ＆ トップへ戻るボタン
========================================= */
footer {
    background: linear-gradient(135deg, var(--primary-color), #ff9c2a);
    color: white; padding: 40px 0 15px; position: relative; margin-top: 60px; text-align: center;
}
.custom-shape-divider-top { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.custom-shape-divider-top svg { position: relative; display: block; width: calc(100% + 1.3px); height: 35px; }
.custom-shape-divider-top .shape-fill { fill: var(--bg-color); }
.footer-copyright { font-size: 13px; font-weight: bold; letter-spacing: 1px; position: relative; z-index: 1; opacity: 0.9; }

.page-top-btn {
    position: fixed; bottom: 30px; right: 20px; width: 45px; height: 45px;
    background-color: rgba(130, 130, 130, 0.4); color: white; border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 890; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.page-top-btn:hover { background-color: rgba(130, 130, 130, 0.8); transform: translateY(-3px); }
.page-top-btn.is-show { opacity: 1; visibility: visible; }


/* =========================================
   9. スマホ・タブレット用レスポンシブ (992px以下で完全に統一！)
========================================= */
@media screen and (max-width: 992px) {
    
    /* --- 全体設定・タイポグラフィ --- */
    body { font-size: 14px; }
    .section-title { font-size: 20px; margin-bottom: 15px; }
    .widget-title { font-size: 16px; margin-bottom: 10px; }
    .btn-rich { font-size: 14px; padding: 10px 25px; }
    .page-top-btn { width: 40px; height: 40px; bottom: 20px; right: 15px; font-size: 18px; }
    .sp-br-span { display: block !important; margin-top: 5px; }

    /* --- ヘッダー ＆ ハンバーガーメニュー --- */
    header { flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 0; }
    
    .hamburger { display: block; position: relative; width: 45px; height: 45px; background: var(--primary-color); border: none; border-radius: 10px; cursor: pointer; z-index: 999; box-shadow: 0 4px 10px rgba(240, 130, 0, 0.3); }
    .hamburger span { position: absolute; left: 12px; width: 21px; height: 2px; background-color: white; border-radius: 2px; transition: var(--transition); }
    .hamburger span:nth-child(1) { top: 14px; }
    .hamburger span:nth-child(2) { top: 21px; }
    .hamburger span:nth-child(3) { top: 28px; }
    .hamburger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
    .hamburger.is-active { position: fixed !important; top: 12px !important; right: 20px !important; }

    .global-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; height: 100dvh; background: rgba(255, 249, 242, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 998; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); overflow-y: auto; -webkit-overflow-scrolling: touch; padding-top: 70px; padding-bottom: 120px; box-sizing: border-box; }
    .global-nav.is-active { right: 0; }
    .global-nav ul { flex-direction: column; gap: 0; }
    .global-nav > ul > li { width: 100%; border-bottom: 1px solid #ffe0b2; }
    .global-nav > ul > li > a { flex-direction: row; justify-content: flex-start; align-items: center; padding: 20px 30px; font-size: 18px; color: #333; gap: 15px; }
    .global-nav > ul > li > a > i:first-child { width: 30px; text-align: center; font-size: 20px; margin: 0; }
    .global-nav ul li:hover .dropdown-mark { transform: none; }

    .submenu { position: static; transform: none !important; box-shadow: none; border: none; background: transparent; min-width: 100%; display: block !important; padding: 0 !important; opacity: 1; visibility: visible; }
    .submenu li { width: 100% !important; }
    .submenu li a { display: block !important; text-align: left !important; width: 100% !important; box-sizing: border-box !important; padding: 15px 20px 15px 100px !important; font-size: 14px !important; color: #666 !important; background: rgba(255, 255, 255, 0.4); border-bottom: 1px dashed #ffe0b2; }
    .submenu li a:hover { background-color: rgba(240, 130, 0, 0.1) !important; padding-left: 75px !important; }

    /* --- ヒーローエリア --- */
    .hero { height: auto; aspect-ratio: 4 / 5; border-radius: 0 0 20px 20px; background-image: url('hero_image_mobile.png'); background-position: center 10%; }
    .hero-text h1 { font-size: 38px; }
    .hero-graphic { height: 140px; border-radius: 0 0 20px 20px; }
    .hero-graphic-content { gap: 15px; }
    .hero-graphic-icon { width: 60px; height: 60px; font-size: 30px; }
    .hero-graphic-text h1 { font-size: 22px; letter-spacing: 1px; }

    /* --- レイアウト・各種カード --- */
    .main-wrapper { flex-direction: column; margin-top: 30px; }
    .sidebar { width: 100%; }
    .sidebar-banner img { width: 50%; max-width: 180px; }
    
    .article-card { flex-direction: column; }
    .article-thumb { width: 100%; height: 180px; }
    .kawaraban-grid { grid-template-columns: 1fr; }
    .kawaraban-info h3 { font-size: 14px; }
    
    /* プロフィール */
    .profile-card { flex-direction: column; text-align: center; }
    .profile-signature { width: 150px; margin-right: 0; }
    .timeline-body { flex-direction: column; gap: 15px; }
    .timeline-gallery { width: 100%; max-width: 300px; transform: none !important; }
    .profile-intro h2 { font-size: 18px; margin-bottom: 5px; }
    .profile-intro p:nth-of-type(2), .profile-intro p:nth-of-type(3) { text-align: left; padding: 0 15px; }

    /* ビジョン・政策 */
    .vision-header { flex-direction: column; text-align: center; }
    .vision-header h3 { font-size: 18px; }
    .vision-intro h2 { font-size: 18px; margin-bottom: 5px; }
    .vision-header, .vision-body { padding-left: 15px !important; padding-right: 15px !important; }
    .vision-points { padding: 15px 12px !important; }
    .vision-editor-content h4 { padding: 15px 12px 5px 12px !important; margin-top: 25px !important; }
    .vision-editor-content ul { padding: 10px 12px 15px 30px !important; }

    /* 記事詳細ページ */
    .article-header h1 { font-size: 20px !important; line-height: 1.4; }
    .article-eyecatch { height: 200px !important; margin-bottom: 20px !important; }
    .article-title { font-size: 16px; }
    .article-body p { font-size: 14px; line-height: 1.7; }
    .article-body h2 { font-size: 20px; padding: 12px 15px; margin-top: 2em; }
    .article-body h3 { font-size: 18px; margin-top: 1.5em; }

    /* --- ボックスの余白調整（共通の白い箱の限界拡張） --- */
    .article-wrap, .sidebar-widget, .profile-card, .vision-intro, .vision-card, .page-intro, .article-card {
        margin-left: -10px !important; margin-right: -10px !important; border-radius: 12px !important;
    }
    .article-wrap, .sidebar-widget, .profile-card, .vision-intro, .page-intro {
        padding-left: 15px !important; padding-right: 15px !important;
    }
    .alert-box { padding: 15px 12px !important; margin-left: 0 !important; }
    .alert-box ul { padding-left: 20px !important; }

    /* --- フォーム・確認画面の完全最適化（テーブル縦並び ＆ 100vwハック） --- */
    .form-wrapper, .support-section { padding: 20px; }
    .form-control { padding: 12px 10px !important; }
    .bank-info-box { padding: 15px 12px !important; }

    /* 確認画面：100vwハック（画面端まで広げる） */
    .support-section, .form-wrapper {
        width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important;
        border-radius: 0 !important; border-left: none !important; border-right: none !important;
        padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box !important;
    }

    /* 確認画面：文字折り返しとテーブルの縦並び化 */
    .support-section *, .form-wrapper *, .wpcf7 * { word-wrap: break-word !important; overflow-wrap: break-word !important; word-break: break-all !important; }
    .support-section table, .form-wrapper table { width: 100% !important; table-layout: fixed !important; border-collapse: collapse; margin-bottom: 30px; }
    .support-section th, .support-section td, .form-wrapper th, .form-wrapper td { display: block !important; width: 100% !important; box-sizing: border-box !important; line-height: 1.6; text-align: left; }
    .support-section th, .form-wrapper th { border-bottom: none !important; padding-bottom: 5px !important; background-color: transparent !important; color: var(--primary-color) !important; font-size: 14px; font-weight: bold; }
    .support-section td, .form-wrapper td { padding-top: 0 !important; padding-bottom: 20px !important; border-bottom: 1px solid #eee; font-size: 16px; }
    .form-group, .wpcf7-confirm { display: block !important; width: 100% !important; }
}

/* =========================================
   10. 状態管理（JavaScript用・スクロール制御など）
========================================= */
body.no-scroll { overflow: hidden; }
@media screen and (min-width: 993px) {
    body.no-scroll { overflow: auto !important; }
}

/* reCAPTCHAマークを非表示にする */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Contact Form 7 の空のメッセージ枠（青い線）を非表示にする */
.wpcf7-response-output:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}