/*
Theme Name: 暮らしの再生テーマ
Description: 政治家向けWordPressテーマ（小泉進次郎風）
Version: 1.0
Author: Your Name
*/

/* リセット・ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

body.front-page,
body.home {
    height: 100vh;
    overflow: hidden;
    /* 下地は真っ白に揃える（タワー背景との差を無くす） */
    background-color: #fff;
    /* masuda_back.jpg（1080x1080想定）を“背景として”表示 */
    background-image: var(--site-bg-image);
    background-repeat: no-repeat;
    background-position: left center;
    /*
      riso.jpg のように「全体を見せる」ため、cover（トリミング）ではなく
      高さ基準で等倍表示（正方形なら右側に自然な余白が出る）
    */
    background-size: auto 100vh;
    background-attachment: fixed;
}

body.page-template-page-policy {
    background-color: #eef5ef;
    /* 公園写真＋白い透過レイヤーで可読性を担保 */
    background-image:
        linear-gradient(rgba(245, 248, 246, 0.90), rgba(245, 248, 246, 0.90)),
        url('koen1.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* ヘッダー（スマホエリア内） */
.site-header {
    background: #4C076C;
    color: #fff;
    padding: 1rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

/* フロント以外のページ用ヘッダー */
.site-header--global .header-container {
    width: min(92%, 1100px);
    margin: 0 auto;
}

.main-navigation ul {
    display: none;
}

/* スマホエリアコンテナ */
.home .mobile-container,
.front-page .mobile-container {
    position: fixed;
    left: 50%;
    top: 0;
    /* タワー幅はスマホモードになるまでは固定（見た目がブレないように） */
    width: 520px;
    height: 100vh;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    position: absolute;
    top: 72px;
    right: 1rem;
    width: calc(100% - 2rem);
    max-width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 250;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mobile-nav li {
    width: 100%;
}

.mobile-nav button,
.mobile-nav a {
    width: 100%;
    background: none;
    border: none;
    font: inherit;
    text-align: left;
    padding: 0.7rem 1.2rem;
    display: block;
    color: #4C076C;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.mobile-nav button:hover,
.mobile-nav a:hover {
    background: rgba(76, 7, 108, 0.08);
}

/* スマホエリア内のスクロールコンテンツ */
.home .mobile-content,
.front-page .mobile-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ヒーローセクション（スマホエリア内） */
.home .hero-section,
.front-page .hero-section {
    background: linear-gradient(135deg, #4C076C, #8B4A9C);
    color: #fff;
    /* 下向き矢印（scroll-indicator）用の余白を確保してSNSと被らないようにする */
    padding: 3rem 2rem 4.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home .hero-background-image,
.front-page .hero-background-image {
    display: none;
}

.home .hero-top-image,
.front-page .hero-top-image {
    display: none;
}

.home .hero-content,
.front-page .hero-content {
    position: relative;
    z-index: 2;
}

.home .hero-content h1,
.front-page .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.home .hero-content .tagline,
.front-page .hero-content .tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.home .hero-description,
.front-page .hero-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0 2rem 0;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: background 0.3s;
    text-decoration: none;
}

.social-links .icon-x {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 固定縦スクロールナビゲーション（左側に配置） */
.scroll-navigation {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.scroll-nav-item {
    width: 12px;
    height: 12px;
    border: 2px solid #4C076C;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.scroll-nav-item.active,
.scroll-nav-item:hover {
    background: #4C076C;
    transform: scale(1.2);
}

.scroll-nav-item::after {
    content: attr(data-section);
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #4C076C;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-nav-item:hover::after {
    opacity: 1;
}

/* スクロール用の矢印（下部） */
.scroll-indicator {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* メインコンテンツ（スマホエリア内） */
.main-content {
    background: #fff;
}

.content-section {
    background: #fff;
    margin: 0;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.section-inner {
    width: 100%;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4C076C;
    text-align: center;
    font-weight: 300;
}

/* ビデオセクション */
.video-section {
    text-align: center;
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

/* 政策ハイライト */
.policy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.policy-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4C076C;
    transition: transform 0.3s, box-shadow 0.3s;
}

.policy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.policy-item h3 {
    color: #4C076C;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-item i {
    color: #8B4A9C;
}

.policy-summary {
    background: #f2e8f8;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 24px rgba(76, 7, 108, 0.08);
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.policy-list li {
    position: relative;
    padding-left: 1.2rem;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8B4A9C;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    background: #8B4A9C;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: 1rem 0.5rem;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #6B2B7C;
    color: #fff;
}

.btn-primary {
    background: #4C076C;
}

.btn-primary:hover {
    background: #36054E;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #8B4A9C;
    color: #8B4A9C;
}

.btn-outline:hover {
    background: #8B4A9C;
    color: #fff;
}

.meeting-invite {
    background: #f5edfa;
}

.profile-summary {
    background: #f7f0fb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(76, 7, 108, 0.08);
}

.profile-summary h3 {
    color: #4C076C;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ede3f5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.detail-row .label {
    font-weight: 600;
    color: #4C076C;
}

.detail-row .value {
    color: #444;
    line-height: 1.7;
}

.supporter-section {
    background: linear-gradient(135deg, rgba(76, 7, 108, 0.05), rgba(139, 74, 156, 0.08));
}

.disabled-link {
    pointer-events: none;
    opacity: 0.6;
}

/* ダウンロードグリッド */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.download-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4C076C, #8B4A9C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
    font-size: 1.5rem;
}

.download-content h3 {
    margin: 0 0 0.5rem 0;
    color: #4C076C;
    font-size: 1.1rem;
}

.file-size {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* 写真ギャラリー */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 150px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: transform 0.3s;
}

.photo-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item span {
    position: relative;
    z-index: 1;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.95rem;
}

.photo-item:hover {
    transform: scale(1.05);
}

/* 意見グリッド */
.opinions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.opinion-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #8B4A9C;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.opinion-item:hover {
    transform: translateY(-2px);
}

.opinion-content p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.7;
}

.opinion-author {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #4C076C, #8B4A9C);
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 12px;
}

.cta-content h2 {
    color: #fff;
    border: none;
    padding: 0;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-section .btn-outline:hover {
    background: #fff;
    color: #4C076C;
}

/* フッター */
.site-footer {
    background: #4C076C;
    color: #fff;
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    margin: 2rem 0;
}

.footer-info {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* サポーターページ */
.page-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(32px, 6vh, 56px) 1.5rem 4rem;
}

.page-hero {
    background: linear-gradient(135deg, #4C076C, #8B4A9C);
    color: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-weight: 300;
    margin-bottom: 1rem;
}

.supporter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.supporter-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid #8B4A9C;
}

.supporter-card h2 {
    color: #4C076C;
    margin-bottom: 1rem;
}

.supporter-card p {
    margin-bottom: 1.5rem;
    color: #555;
}

.policy-page {
    /* 背景を透かして「切り抜き（ガラス調）」に */
    background: rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #ede3f5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.policy-prose {
    max-width: 66ch;
}

.policy-prose p + p,
.policy-prose ul + p,
.policy-prose p + ul {
    margin-top: 1rem;
}

.policy-prose p {
    margin: 0;
}

.policy-prose ul {
    margin: 0.6rem 0 0;
}

.policy-intro {
    display: grid;
    gap: 2rem;
}

.policy-intro .policy-video-embed {
    margin-top: 0;
}

/* 動画は「右カラム」ではなく本文の下に配置するため、常に1カラム */

.policy-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #ede3f5;
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.policy-page h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4C076C;
}

.policy-page section {
    margin-top: 1.8rem;
}

.policy-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.policy-header__text h1 {
    color: #4C076C;
    margin-bottom: 1rem;
}

.policy-video-embed {
    margin-top: 1.5rem;
}

.policy-video-embed__frame {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.policy-video-embed__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.policy-video-embed__caption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #6a5a75;
}

.policy-page h2 {
    font-size: 1.25rem;
    color: #4C076C;
    margin-bottom: 0.6rem;
}

.policy-page p {
    line-height: 1.8;
    color: #444;
}

.proposal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.proposal-group {
    margin-top: 2rem;
    display: grid;
    gap: 1.2rem;
}

.proposal-card {
    background: #fdfbff;
    border: 1px solid #ede3f5;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(76, 7, 108, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.proposal-accordion {
    padding: 0;
}

.proposal-accordion__summary {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    cursor: pointer;
    user-select: none;
}

.proposal-accordion__summary::-webkit-details-marker {
    display: none;
}

.proposal-accordion__title {
    /* タイトルの見た目を全カードで統一（長文でも崩れにくく） */
    font-size: 1.05rem;
    font-weight: 600;
    color: #2f1144;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
    display: block;
}

.proposal-accordion .proposal-card__number {
    flex: 0 0 auto;
    margin-top: 0.05rem;
}

.proposal-accordion__summary::after {
    content: '▾';
    color: #4C076C;
    font-size: 1rem;
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.proposal-accordion[open] .proposal-accordion__summary::after {
    transform: rotate(180deg);
}

.proposal-accordion__content {
    padding: 0 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.proposal-accordion__content p {
    margin: 0;
}

.proposal-accordion__content .proposal-card__list {
    margin: 0;
}

.proposal-card__heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.proposal-card__heading h3 {
    margin: 0;
    color: #2f1144;
}

.proposal-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proposal-card h3 {
    font-size: 1.1rem;
    color: #2f1144;
}

.proposal-card__list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.proposal-card__list li {
    position: relative;
    padding-left: 1.4rem;
    line-height: 1.7;
}

.proposal-card__list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #8B4A9C;
    position: absolute;
    left: 0;
    top: 0.6rem;
}

.video-cta {
    margin-top: 1rem;
}

.proposal-group__title {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.proposal-group__title h3 {
    color: #4C076C;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.proposal-group__title p {
    margin: 0;
    color: #555;
}

.proposal-group__title > div {
    flex: 1;
}

.proposal-group__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4C076C;
    background: rgba(76, 7, 108, 0.1);
}

.proposal-group--living .proposal-group__icon {
    background: rgba(76, 7, 108, 0.12);
    color: #4C076C;
}

.proposal-group--commerce .proposal-group__icon {
    background: rgba(255, 153, 51, 0.18);
    color: #C45A14;
}

.proposal-group--road .proposal-group__icon {
    background: rgba(30, 162, 181, 0.18);
    color: #1B6F82;
}

.proposal-group--living .proposal-card__number {
    background: rgba(76, 7, 108, 0.12);
    color: #4C076C;
}

.proposal-group--commerce .proposal-card__number {
    background: rgba(255, 153, 51, 0.14);
    color: #C45A14;
}

.proposal-group--road .proposal-card__number {
    background: rgba(30, 162, 181, 0.14);
    color: #1B6F82;
}

.video-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #8B4A9C;
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.video-button::before {
    content: '▶';
    font-size: 0.8rem;
}

.video-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 74, 156, 0.3);
    color: #fff;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
    padding: 1.5rem;
}

.video-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.video-modal__dialog {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.video-modal__body {
    padding: 1.5rem;
}

.video-modal__title {
    font-size: 1rem;
    color: #4C076C;
    font-weight: 600;
    margin-bottom: 1rem;
}

.video-modal__iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-modal__iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #4C076C;
}

.video-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.modal-open {
    overflow: hidden;
}

/* ユーティリティクラス */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.section-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
}

/* 政策ページ：冒頭リード文も本文と同じ読みやすさに揃える */
body.page-template-page-policy .lead-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.greeting-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    margin-bottom: 1.3rem;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* タブレット・デスクトップ用の最小幅設定 */
@media (min-width: 1200px) {
    body.front-page,
    body.home {
        background-position: left center;
        background-size: auto 100vh;
    }
    .home .mobile-container,
    .front-page .mobile-container {
        /* 固定幅運用（スマホになるまで変えない） */
        left: 55%;
        right: auto;
    }
}

/* タブレット用（中間サイズ） */
@media (min-width: 769px) and (max-width: 1199px) {
    body.front-page,
    body.home {
        background-position: left center;
        background-size: auto 100vh;
    }
    .home .mobile-container,
    .front-page .mobile-container {
        /* 固定幅運用（スマホになるまで変えない） */
        left: auto;
        right: 0;
    }
}

/* スマホ用レスポンシブ対応 */
@media (max-width: 768px) {
    body.front-page,
    body.home {
        background: #fff;
        background-attachment: scroll;
        background-position: center top;
    }

    body.page-template-page-policy {
        background-attachment: scroll;
        background-size: cover;
    }
    
    .home .mobile-container,
    .front-page .mobile-container {
        left: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        min-width: unset;
        max-width: unset;
        background: #fff;
    }

    /* スマホではタワー内（hero-top-image）を主役にする（body背景は控えめに） */
    
    .home .hero-section,
    .front-page .hero-section {
        position: relative;
        min-height: auto;
        display: block;
        background: transparent;
        /* 矢印とSNSが被らないように下余白を確保 */
        padding: 0 0 3.2rem;
        overflow: visible;
    }

    .scroll-indicator {
        bottom: 0.8rem;
        font-size: 1.8rem;
    }
    
    .home .hero-top-image,
    .front-page .hero-top-image {
        display: block;
        width: 100%;
        /* タワー内で左右いっぱいに見せる（左寄りに見える問題の解消） */
        height: 56vh;
        max-height: 62vh;
        object-fit: cover;
        /* 上部は維持して、下部だけが切れるようにする */
        object-position: center top;
        margin: 0 auto 1rem;
    }
    
    .home .hero-content,
    .front-page .hero-content {
        background: rgba(76, 7, 108, 0.85);
        border-radius: 14px;
        padding: 1rem 1.2rem;
        width: min(88%, 520px);
        margin: 0 auto;
        opacity: 1;
    }
    
    .home .hero-content h1,
    .front-page .hero-content h1 { font-size: 1.6rem; }
    .home .hero-content .tagline,
    .front-page .hero-content .tagline { font-size: 0.95rem; }
    .home .hero-description,
    .front-page .hero-description { font-size: 0.9rem; }
    
    .scroll-navigation {
         left: 0.5rem;
         gap: 0.6rem;
    }
    
    .scroll-nav-item {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
    
    .scroll-nav-item::after {
        display: none;
    }
    
    .home .content-section,
    .front-page .content-section {
        padding: 1.5rem 1rem;
    }
    
    .home .content-section h2,
    .front-page .content-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        flex-direction: column;
        text-align: center;
    }
    
    .download-icon {
        margin: 0 0 1rem 0;
    }
    
    .opinions-grid {
        grid-template-columns: 1fr;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }

    .policy-header {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .policy-page {
        padding: 1.5rem;
    }

    /* スマホでは提言カードを折りたたみ前提で、見た目を締める */
    .proposal-accordion__summary {
        padding: 1.1rem 1.1rem;
    }

    .proposal-accordion__content {
        padding: 0 1.1rem 1.2rem;
    }

    .proposal-accordion__title {
        font-size: 1.0rem;
        line-height: 1.5;
    }
}

/* ハンバーガーメニュー */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* スクロール時のスムースな動作 */
html {
    scroll-behavior: smooth;
}