/*
Theme Name: 与謝野町移住定住サイト
Theme URI: https://yosano-iju.jp
Author: 与謝野町
Author URI: https://www.town.yosano.lg.jp
Description: 与謝野町移住定住促進サイト用WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yosano-ijuteiju
*/

/* リセット・ベース */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* テキスト折り返し最適化 */
h1, h2, h3, h4, h5, h6,
.page-title,
.section-title,
.cta-title {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* ユーティリティクラス */
.show-sp {
    display: none;
}

/* コンテナ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0 15px 0 25px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* スクロール時のコンパクト表示 */
.site-header.scrolled .header-inner {
    min-height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.site-logo-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.site-logo-text-br {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    background: linear-gradient(135deg, rgba(123, 174, 127, 0.15) 0%, rgba(90, 143, 94, 0.15) 100%);
    color: #5A8F5E;
    transform: translateY(-2px);
}

.main-nav a.active,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    background: linear-gradient(135deg, rgba(123, 174, 127, 0.15) 0%, rgba(90, 143, 94, 0.15) 100%);
    color: #5A8F5E;
}

.main-nav a.active:hover,
.main-nav .current-menu-item a:hover,
.main-nav .current_page_item a:hover {
    transform: translateY(-2px);
}

/* ナビ装飾ドット */
.main-nav li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #7BAE7F;
    border-radius: 50%;
    opacity: 0.5;
}

/* ナビアイコン（トップ表示時のみ） */
.main-nav .nav-icon {
    display: block;
    font-size: 28px;
    line-height: 1;
    text-align: center;
    margin-bottom: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    max-height: 40px;
}

.main-nav .nav-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.main-nav .nav-text {
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* トップ表示時のナビスタイル */
.main-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* スクロール時はアイコンをテキスト横に表示 */
.site-header.scrolled .main-nav .nav-icon {
    font-size: 18px;
    margin-bottom: 0;
    margin-right: 6px;
    max-height: none;
}

.site-header.scrolled .main-nav .nav-icon img {
    width: 18px;
    height: 18px;
}

.site-header.scrolled .main-nav a {
    flex-direction: row;
    gap: 4px;
}

/* スクロール時のドット位置調整 */
.site-header.scrolled .main-nav li:not(:last-child)::after {
    top: 50%;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7BAE7F 0%, #5A8F5E 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 174, 127, 0.3);
}

.hamburger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(123, 174, 127, 0.4);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 12px;
}

.hamburger span:nth-child(2) {
    top: 19px;
}

.hamburger span:nth-child(3) {
    top: 26px;
}

.hamburger.active span:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* モバイルナビゲーション */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 100px 40px;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-nav.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.active li:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav.active li:nth-child(7) { transition-delay: 0.4s; }

.mobile-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.mobile-nav .nav-icon {
    font-size: 24px;
    line-height: 1;
}

.mobile-nav .nav-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mobile-nav a:hover,
.mobile-nav a.active,
.mobile-nav .current-menu-item a,
.mobile-nav .current_page_item a {
    background: linear-gradient(135deg, rgba(123, 174, 127, 0.15) 0%, rgba(90, 143, 94, 0.15) 100%);
    color: #5A8F5E;
}

/* モバイルナビの装飾 */
.mobile-nav-decoration {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.mobile-nav-decoration span {
    width: 8px;
    height: 8px;
    background: #7BAE7F;
    border-radius: 50%;
    opacity: 0.3;
}

.mobile-nav-decoration span:nth-child(2) {
    opacity: 0.5;
}

.mobile-nav-decoration span:nth-child(3) {
    opacity: 0.7;
}

@media (max-width: 1230px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }
}

/* ヒーロー */
.hero {
    position: relative;
    height: 100vh;
    min-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg video,
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 80px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title-yosano,
.hero-title-yosasou {
    display: inline;
}

/* タイトル画像 */
.hero-title-image {
    font-size: 0;
}

.hero-title-img-pc {
    max-width: 1000px;
    width: 100%;
    height: auto;
}

.hero-title-img-sp {
    display: none;
    max-width: 420px;
    width: 100%;
    height: auto;
}

.hero-description {
    font-size: 20px;
    line-height: 2;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-mark {
    position: absolute;
    left: 18%;
    bottom: 0;
    opacity: 0.4;
    transform: translateY(100%);
    animation: heroMarkSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

.hero-mark img {
    height: 420px;
    width: auto;
}

@keyframes heroMarkSlideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }
}

/* ヒーローマーク レスポンシブ対応 - 画面が狭くなるにつれて左に移動 */
@media (max-width: 1400px) {
    .hero-mark {
        left: 14%;
    }
}

@media (max-width: 1200px) {
    .hero-mark {
        left: 10%;
    }
}

@media (max-width: 1024px) {
    .hero-mark {
        left: 5%;
    }

    .hero-mark img {
        height: 350px;
    }
}

@media (max-width: 900px) {
    .hero-mark {
        left: 2%;
    }

    .hero-mark img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-mark {
        left: 3%;
        bottom: 0;
        animation: heroMarkSlideUpMobile 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
    }

    .hero-mark img {
        height: 240px;
    }

    @keyframes heroMarkSlideUpMobile {
        0% {
            transform: translateY(100%);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 0.35;
        }
    }
}

@media (max-width: 480px) {
    .hero-mark {
        left: 2%;
    }

    .hero-mark img {
        height: 200px;
    }
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ウェーブアニメーション */
.wave-path {
    animation: waveAnimation 8s ease-in-out infinite;
}

.wave-path-2 {
    animation: waveAnimation2 10s ease-in-out infinite;
    opacity: 0.5;
}

.wave-path-3 {
    animation: waveAnimation3 12s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes waveAnimation {
    0%, 100% {
        d: path("M0,120 L0,80 Q360,20 720,60 T1440,40 L1440,120 Z");
    }
    25% {
        d: path("M0,120 L0,60 Q360,40 720,80 T1440,50 L1440,120 Z");
    }
    50% {
        d: path("M0,120 L0,70 Q360,60 720,40 T1440,70 L1440,120 Z");
    }
    75% {
        d: path("M0,120 L0,50 Q360,30 720,70 T1440,30 L1440,120 Z");
    }
}

@keyframes waveAnimation2 {
    0%, 100% {
        d: path("M0,120 L0,90 Q300,40 600,70 Q900,100 1200,50 T1440,60 L1440,120 Z");
    }
    33% {
        d: path("M0,120 L0,70 Q300,60 600,40 Q900,20 1200,70 T1440,80 L1440,120 Z");
    }
    66% {
        d: path("M0,120 L0,60 Q300,80 600,50 Q900,70 1200,40 T1440,50 L1440,120 Z");
    }
}

@keyframes waveAnimation3 {
    0%, 100% {
        d: path("M0,120 L0,100 Q240,50 480,80 Q720,110 960,60 Q1200,30 1440,70 L1440,120 Z");
    }
    50% {
        d: path("M0,120 L0,80 Q240,70 480,50 Q720,30 960,80 Q1200,100 1440,50 L1440,120 Z");
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: #fff;
    margin: 10px auto 0;
}

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

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #7BAE7F;
    color: #fff;
}

.btn-primary:hover {
    background: #5A8F5E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(123, 174, 127, 0.3);
}

.btn-white {
    background: #fff;
    color: #7BAE7F;
}

.btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-outline:hover {
    background: #7BAE7F;
    color: #fff;
}

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

.btn-outline-white:hover {
    background: #fff;
    color: #333;
}

.btn-arrow::after {
    content: '→';
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
    transform: translateX(5px);
}

/* セクション共通 */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-en {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #7BAE7F;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-top: 20px;
}

.bg-cream {
    background: #FDF8F3;
}

.bg-green {
    background: #7BAE7F;
    color: #fff;
}

.bg-green .section-en {
    color: rgba(255, 255, 255, 0.7);
}

.bg-green .section-title {
    color: #fff;
}

/* 魅力セクション */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.feature-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* コンテンツカード */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.content-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.content-card-image {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
}

.content-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .content-card-image img {
    transform: scale(1.05);
}

.content-card-body {
    padding: 25px;
}

.content-card-tag {
    display: inline-block;
    background: #E8F5E9;
    color: #7BAE7F;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.content-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.content-card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 2カラムレイアウト */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

.two-col-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.two-col-image img {
    display: block;
    width: 100%;
}

.two-col-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.two-col-content p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 30px;
}

/* NEWS */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    transition: opacity 0.3s ease;
}

.news-item:hover {
    opacity: 0.7;
}

.news-date {
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
    width: 120px;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* ニュースアーカイブ用 */
.news-article {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-article:last-child {
    margin-bottom: 0;
}

.news-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-article-date {
    display: inline-block;
    font-size: 13px;
    color: #7BAE7F;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-article-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* CTA */
.cta {
    text-align: center;
    padding: 120px 20px;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* フッターウェーブ */
.footer-wave {
    position: relative;
    background: #2D3E2D;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

.footer-wave .wave-path {
    animation: footerWaveAnimation 8s ease-in-out infinite;
}

.footer-wave .wave-path-2 {
    animation: footerWaveAnimation2 10s ease-in-out infinite;
    opacity: 0.5;
}

.footer-wave .wave-path-3 {
    animation: footerWaveAnimation3 12s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes footerWaveAnimation {
    0%, 100% {
        d: path("M0,0 L0,80 Q360,100 720,60 T1440,80 L1440,0 Z");
    }
    25% {
        d: path("M0,0 L0,60 Q360,80 720,40 T1440,70 L1440,0 Z");
    }
    50% {
        d: path("M0,0 L0,50 Q360,60 720,80 T1440,50 L1440,0 Z");
    }
    75% {
        d: path("M0,0 L0,70 Q360,50 720,70 T1440,90 L1440,0 Z");
    }
}

@keyframes footerWaveAnimation2 {
    0%, 100% {
        d: path("M0,0 L0,70 Q300,80 600,50 Q900,20 1200,70 T1440,60 L1440,0 Z");
    }
    33% {
        d: path("M0,0 L0,50 Q300,60 600,80 Q900,100 1200,50 T1440,40 L1440,0 Z");
    }
    66% {
        d: path("M0,0 L0,60 Q300,40 600,70 Q900,50 1200,80 T1440,70 L1440,0 Z");
    }
}

@keyframes footerWaveAnimation3 {
    0%, 100% {
        d: path("M0,0 L0,60 Q240,70 480,40 Q720,10 960,60 Q1200,90 1440,50 L1440,0 Z");
    }
    50% {
        d: path("M0,0 L0,40 Q240,50 480,70 Q720,90 960,40 Q1200,20 1440,70 L1440,0 Z");
    }
}

/* フッター */
.site-footer {
    background: #2D3E2D;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ページヘッダー */
.page-header {
    position: relative;
    padding: 200px 0 140px;
    background: linear-gradient(135deg, rgba(123, 174, 127, 0.6) 0%, rgba(90, 143, 94, 0.6) 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.page-header-en {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3em;
    opacity: 0.9;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.page-description {
    font-size: 17px;
    opacity: 0.95;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.page-header-mark {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.page-header-mark-left {
    left: -80px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
}

.page-header-mark-right {
    right: -80px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
}

.page-header-mark img {
    height: 280px;
    width: auto;
}

/* ページヘッダー下部の波 */
.page-header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.page-header-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

.page-header-wave .wave-path {
    animation: waveAnimation 8s ease-in-out infinite;
}

.page-header-wave .wave-path-2 {
    animation: waveAnimation2 10s ease-in-out infinite;
    opacity: 0.5;
}

.page-header-wave .wave-path-3 {
    animation: waveAnimation3 12s ease-in-out infinite;
    opacity: 0.3;
}

/* 下層ページヒーローマーク（左下からひょこっと出てくる） */
.page-hero-mark {
    position: absolute;
    left: 18%;
    bottom: 0;
    opacity: 0.4;
    transform: translateY(100%);
    animation: pageHeroMarkSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
    z-index: 2;
    pointer-events: none;
}

.page-hero-mark img {
    height: 280px;
    width: auto;
}

@keyframes pageHeroMarkSlideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }
}

@media (max-width: 1400px) {
    .page-hero-mark {
        left: 14%;
    }
}

@media (max-width: 1200px) {
    .page-hero-mark {
        left: 10%;
    }
}

@media (max-width: 1024px) {
    .page-hero-mark {
        left: 5%;
    }

    .page-hero-mark img {
        height: 240px;
    }
}

@media (max-width: 900px) {
    .page-hero-mark {
        left: 2%;
    }

    .page-hero-mark img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-hero-mark {
        left: 3%;
        animation: pageHeroMarkSlideUpMobile 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
    }

    .page-hero-mark img {
        height: 180px;
    }

    @keyframes pageHeroMarkSlideUpMobile {
        0% {
            transform: translateY(100%);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 0.35;
        }
    }
}

@media (max-width: 480px) {
    .page-hero-mark {
        left: 2%;
    }

    .page-hero-mark img {
        height: 150px;
    }
}

/* 与謝野のひとカード */
.interview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.interview-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.interview-image {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
}

.interview-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.interview-card:hover .interview-image img {
    transform: scale(1.05);
}

.interview-body {
    padding: 25px;
}

.interview-category {
    display: inline-block;
    background: #E8F5E9;
    color: #7BAE7F;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.interview-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.interview-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* アンバサダーカード */
.ambassador-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.ambassador-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.ambassador-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.ambassador-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ambassador-content {
    padding: 25px;
}

.ambassador-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.ambassador-description {
    font-size: 14px;
    color: #666;
}

/* アンバサダー詳細カード */
.ambassador-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.ambassador-card-detail {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 300px 1fr;
}

.ambassador-card-image {
    position: relative;
    min-height: 300px;
}

.ambassador-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ambassador-card-body {
    padding: 35px 40px;
}

.ambassador-business {
    font-size: 13px;
    color: #7BAE7F;
    font-weight: 600;
    margin-bottom: 8px;
}

.ambassador-card-body .ambassador-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.ambassador-introduction {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.ambassador-message {
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f9f0 100%);
    border-left: 4px solid #7BAE7F;
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 25px;
}

.ambassador-message p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

.ambassador-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ambassador-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f5f5f5;
    border-radius: 30px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ambassador-link:hover {
    background: #7BAE7F;
    color: #fff;
}

@media (max-width: 768px) {
    .ambassador-card-detail {
        grid-template-columns: 1fr;
    }

    .ambassador-card-image {
        min-height: 250px;
    }

    .ambassador-card-body {
        padding: 25px;
    }

    .ambassador-card-body .ambassador-name {
        font-size: 20px;
    }

    .ambassador-links {
        flex-direction: column;
    }

    .ambassador-link {
        justify-content: center;
    }
}

/* アンバサダー募集 */
.ambassador-recruit {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ambassador-recruit-intro {
    text-align: center;
    margin-bottom: 40px;
}

.ambassador-recruit-intro h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.ambassador-recruit-intro p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.ambassador-recruit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.ambassador-recruit-card {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
}

.ambassador-recruit-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ambassador-recruit-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.ambassador-recruit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ambassador-recruit-card ul li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.ambassador-recruit-card ul li:last-child {
    margin-bottom: 0;
}

.ambassador-recruit-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7BAE7F;
    font-weight: 700;
}

.ambassador-recruit-files {
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f9f0 100%);
    border-radius: 15px;
    padding: 25px 30px;
}

.ambassador-recruit-files h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.ambassador-recruit-files .file-list {
    margin: 0;
}

@media (max-width: 768px) {
    .ambassador-recruit {
        padding: 25px;
    }

    .ambassador-recruit-grid {
        grid-template-columns: 1fr;
    }

    .ambassador-recruit-intro h3 {
        font-size: 18px;
    }
}

/* 支援制度カード */
.support-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.support-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.support-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.support-card-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.support-card-icon .support-icon-image {
    width: 144px;
    height: 144px;
    object-fit: contain;
}

.support-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.support-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.support-card-amount {
    display: inline-block;
    background: #E8F5E9;
    color: #7BAE7F;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 25px;
}

.support-card-period {
    display: inline-block;
    background: #FFF3E0;
    color: #F57C00;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 25px;
}

.support-card-link {
    display: block;
    margin-top: 15px;
    color: #7BAE7F;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-card-linked:hover .support-card-link {
    color: #5A8F5E;
}

.support-card-visual {
    border-radius: 16px;
    overflow: hidden;
}

.support-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 支援制度リソース */
.support-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.support-resource-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.support-resource-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.support-resource-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.support-resource-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 子育て支援誘導リンク */
.support-childcare-link {
    margin-top: 50px;
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid #7BAE7F;
}

.support-childcare-link-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.support-childcare-link-icon {
    font-size: 72px;
    flex-shrink: 0;
}

.support-childcare-link-text {
    flex: 1;
}

.support-childcare-link-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.support-childcare-link-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.support-childcare-link .btn {
    flex-shrink: 0;
}

/* お問い合わせボックス */
.support-contact-box {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

.support-contact-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.support-contact-info {
    font-size: 16px;
    color: #666;
    line-height: 2;
}

/* 子育てページ */
.childcare-intro {
    font-size: 16px;
    color: #666;
    line-height: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 子育てイントロ（2カラム） */
.childcare-intro-layout.has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.childcare-intro-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.childcare-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.childcare-intro-content {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

.childcare-intro-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .childcare-intro-layout.has-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.childcare-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.childcare-feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.childcare-feature-image img {
    width: 100%;
    display: block;
}

.childcare-feature-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.childcare-feature-content p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 15px;
}

/* 子育て支援制度 */
.childcare-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.childcare-support-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

/* 画像なしの場合 */
.childcare-support-card:not(.has-images) {
    padding: 40px;
}

/* 画像ありの場合 */
.childcare-support-card.has-images .childcare-support-card-body {
    padding: 30px;
}

/* カード内の画像エリア - 高さ統一 */
.childcare-support-card-images {
    display: grid;
    gap: 0;
    height: 200px;
}

/* 1枚の場合 */
.childcare-support-card.has-images-1 .childcare-support-card-images {
    grid-template-columns: 1fr;
}

/* 2枚の場合 */
.childcare-support-card.has-images-2 .childcare-support-card-images {
    grid-template-columns: repeat(2, 1fr);
}

.childcare-support-card-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.childcare-support-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.childcare-support-card-image:hover img {
    transform: scale(1.05);
}

.childcare-support-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.childcare-support-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.childcare-support-text p {
    margin-bottom: 10px;
}

/* その他の支援 - 新レイアウト */
.childcare-other-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* 共通アイテムカード */
.childcare-other-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.childcare-other-item:not(.has-image) {
    justify-content: center;
}

.childcare-other-item-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.childcare-other-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.childcare-other-item:hover .childcare-other-item-image img {
    transform: scale(1.05);
}

.childcare-other-item-body {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.childcare-other-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.childcare-other-item-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 待機児童カード */
.childcare-other-highlight-number {
    font-size: 72px;
    font-weight: 700;
    color: #7BAE7F;
    line-height: 1;
    margin: 0;
}

.childcare-other-highlight-number span {
    font-size: 24px;
    font-weight: 500;
    margin-left: 4px;
    color: #333;
}

.childcare-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.childcare-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
}

.childcare-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 四季を感じる毎日の暮らし - 季節ギャラリー（全幅） */
.childcare-season-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 50px;
    width: 100%;
}

.childcare-season-item {
    position: relative;
    overflow: hidden;
}

.childcare-season-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.2));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.childcare-season-item:hover::after {
    opacity: 1;
}

.childcare-season-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.childcare-season-item:hover img {
    transform: scale(1.08);
}

/* 2枚の場合 */
.childcare-season-gallery:has(.childcare-season-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 1枚の場合 */
.childcare-season-gallery:has(.childcare-season-item:only-child) {
    grid-template-columns: 1fr;
}

.childcare-season-gallery:has(.childcare-season-item:only-child) .childcare-season-item img {
    aspect-ratio: 21 / 9;
}

/* 仕事ページ */
.work-intro {
    font-size: 18px;
    color: #666;
    line-height: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.work-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.work-feature.reverse {
    direction: rtl;
}

.work-feature.reverse > * {
    direction: ltr;
}

.work-feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.work-feature-image img {
    width: 100%;
    display: block;
}

.work-feature-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.work-feature-content p {
    font-size: 16px;
    color: #666;
    line-height: 2;
}

.work-link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.work-link-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.work-link-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.work-link-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.work-link-text {
    font-size: 14px;
    color: #666;
}

/* 仕事ページ - 挑戦セクション */
.work-challenge-layout {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.work-challenge-layout.has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    max-width: none;
}

.work-challenge-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.work-challenge-image img {
    width: 100%;
    display: block;
}

.work-challenge-text {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 30px;
}

.work-challenge-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.work-challenge-layout:not(.has-image) .work-challenge-buttons {
    justify-content: center;
}

/* aboutページ */
.about-intro {
    font-size: 16px;
    color: #666;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro p {
    margin-bottom: 20px;
}

.about-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-data-item {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-data-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.about-data-icon .about-data-icon-image {
    width: 144px;
    height: 144px;
    object-fit: contain;
}

.about-data-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.about-data-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.about-data-note {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* アクセスセクション */
.about-access-list {
    max-width: 800px;
    margin: 0 auto;
}

.about-access-item {
    margin-bottom: 50px;
}

.about-access-item:last-child {
    margin-bottom: 0;
}

.about-access-item-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #7BAE7F;
    display: inline-block;
    width: 100%;
}

.about-access-item-image {
    text-align: center;
}

.about-access-item-image img {
    max-width: 100%;
    height: auto;
}

.about-spot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-spot:last-child {
    margin-bottom: 0;
}

.about-spot.reverse {
    direction: rtl;
}

.about-spot.reverse > * {
    direction: ltr;
}

.about-spot-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-spot-image img {
    width: 100%;
    display: block;
}

.about-spot-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.about-spot-content p {
    font-size: 15px;
    color: #666;
    line-height: 2;
}

/* 観光協会リンク */
.about-tourism-buttons {
    text-align: center;
    margin-top: 50px;
}

.about-event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-event-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-event-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.about-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-event-body {
    padding: 30px;
}

.about-event-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.about-event-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 記事ページ */
.single-article {
    background: #fff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.single-article-thumbnail {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.single-article-thumbnail img {
    width: 100%;
    display: block;
}

.single-article-content {
    font-size: 16px;
    color: #333;
    line-height: 2;
}

.single-article-content p {
    margin-bottom: 20px;
}

.single-article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #333;
}

.single-article-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #333;
}

.single-article-content img {
    border-radius: 16px;
    margin: 20px 0;
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.article-nav-link {
    display: block;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.article-nav-link:hover {
    background: #eee;
}

.article-nav-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    display: block;
}

.article-nav-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.back-to-list {
    text-align: center;
    margin-top: 60px;
}

/* ページネーション */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
    background: #7BAE7F;
    color: #fff;
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background: #7BAE7F;
    color: #fff;
}

/* アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col.reverse {
        direction: ltr;
    }

    .interview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-card-grid {
        grid-template-columns: 1fr;
    }

    .support-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .support-card {
        text-align: center;
        padding: 25px 20px;
        border-radius: 16px;
    }

    .support-card-title {
        font-size: 17px;
        letter-spacing: 0;
        margin-bottom: 12px;
    }

    .support-card-description {
        font-size: 13px;
        margin-bottom: 15px;
        text-align: left;
    }

    .support-card-icon {
        font-size: 56px;
        display: flex;
        justify-content: center;
    }

    .support-card-icon .support-icon-image {
        width: 100px;
        height: 100px;
    }

    .support-card-amount {
        font-size: 14px;
        padding: 6px 16px;
    }

    .support-card-period {
        font-size: 13px;
        padding: 6px 16px;
    }

    .childcare-feature {
        grid-template-columns: 1fr;
    }

    .childcare-support-grid {
        grid-template-columns: 1fr;
    }

    /* 2枚画像の場合、スマホでは縦並びに */
    .childcare-support-card.has-images-2 .childcare-support-card-images {
        grid-template-columns: 1fr;
        height: auto;
    }

    .childcare-support-card.has-images-2 .childcare-support-card-image {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .childcare-other-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .childcare-support-card:not(.has-images) {
        padding: 25px 20px;
    }

    .childcare-support-card.has-images .childcare-support-card-body {
        padding: 20px;
    }

    .childcare-support-title {
        font-size: 16px;
        letter-spacing: 0;
        margin-bottom: 12px;
    }

    .childcare-support-text {
        font-size: 13px;
    }

    .childcare-other-item-title {
        font-size: 16px;
        letter-spacing: 0;
    }

    .childcare-other-item-body {
        padding: 20px;
    }

    .childcare-other-highlight-number {
        font-size: 56px;
    }

    .childcare-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .childcare-season-gallery {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-top: 30px;
    }

    .childcare-season-item img {
        aspect-ratio: 16 / 9;
    }

    .work-feature {
        grid-template-columns: 1fr;
    }

    .work-feature.reverse {
        direction: ltr;
    }

    .work-challenge-layout.has-image {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .work-challenge-layout.has-image .work-challenge-buttons {
        justify-content: center;
    }

    .about-data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-spot {
        grid-template-columns: 1fr;
    }

    .about-spot.reverse {
        direction: ltr;
    }

    .about-event-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* 全ページ共通：左右余白を縮小 */
    .container,
    .container-narrow {
        padding: 0 20px;
    }

    .site-header {
        padding: 8px 0;
    }

    .header-inner {
        min-height: 54px;
        border-radius: 30px;
        padding: 0 12px 0 18px;
    }

    .site-header.scrolled .header-inner {
        min-height: 54px;
    }

    .site-logo img {
        height: 42px;
    }

    .main-nav li:not(:last-child)::after {
        display: none;
    }

    /* モバイルではアイコン常に非表示 */
    .main-nav .nav-icon {
        display: none;
    }

    .main-nav a {
        flex-direction: row;
    }

    /* スマホではリード文のbrを非表示 */
    .section-subtitle br,
    .page-description br {
        display: none;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 52px;
        line-height: 1.3;
    }

    .hero-title-yosano,
    .hero-title-yosasou {
        display: block;
    }

    .hero-title-img-pc {
        display: none;
    }

    .hero-title-img-sp {
        display: block;
        margin: 0 auto;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .two-col-content h2 {
        font-size: 24px;
    }

    .cta-title {
        font-size: 26px;
        letter-spacing: 0.02em;
    }

    .cta-text {
        font-size: 14px;
    }

    .cta-text br {
        display: none;
    }

    .work-challenge-text br {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-item {
        flex-direction: column;
        gap: 10px;
    }

    .news-date {
        width: auto;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header-mark {
        display: none;
    }

    .page-title {
        font-size: 28px;
        letter-spacing: 0.05em;
    }

    .page-header .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .interview-grid {
        grid-template-columns: 1fr;
    }

    .interview-body {
        padding: 20px;
    }

    .interview-title {
        font-size: 16px;
        letter-spacing: 0;
    }

    .interview-excerpt {
        font-size: 13px;
    }

    .ambassador-grid {
        grid-template-columns: 1fr;
    }

    .about-data-grid {
        grid-template-columns: 1fr;
    }

    .about-data-item {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .about-data-label {
        font-size: 13px;
        letter-spacing: 0;
    }

    .about-data-value {
        font-size: 20px;
        letter-spacing: 0;
    }

    .about-data-note {
        font-size: 12px;
    }

    .about-data-icon {
        font-size: 56px;
    }

    .about-data-icon .about-data-icon-image {
        width: 100px;
        height: 100px;
    }

    .about-access-item {
        margin-bottom: 40px;
    }

    .about-access-item-title {
        font-size: 18px;
    }

    .about-tourism-buttons {
        margin-top: 40px;
    }

    .support-resource-grid {
        grid-template-columns: 1fr;
    }

    .support-resource-card {
        padding: 25px 20px;
    }

    .support-resource-title {
        font-size: 16px;
        letter-spacing: 0;
    }

    .support-childcare-link {
        padding: 30px;
    }

    .support-childcare-link-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .support-childcare-link-icon {
        font-size: 56px;
    }

    .support-childcare-link-text h3 {
        font-size: 17px;
        letter-spacing: 0;
    }

    .support-childcare-link-text p {
        font-size: 13px;
    }

    .hide-sp {
        display: none;
    }

    .show-sp {
        display: inline;
    }

    .work-link-grid {
        grid-template-columns: 1fr;
    }

    .work-link-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .work-link-title {
        font-size: 16px;
        letter-spacing: 0;
    }

    .work-link-text {
        font-size: 13px;
    }

    .work-feature-content h3 {
        font-size: 20px;
        letter-spacing: 0;
    }

    .work-feature-content p {
        font-size: 14px;
    }

    .single-article {
        padding: 30px 20px;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   支援制度詳細ページ
   ======================================== */

/* パンくずリスト */
.breadcrumb-section {
    padding: 20px 0;
    background: #f8f8f8;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #7BAE7F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #5A8F5E;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
}

/* イントロ */
.support-detail-intro {
    font-size: 16px;
    line-height: 2;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.support-detail-intro p {
    margin-bottom: 20px;
}

.support-detail-intro p:last-child {
    margin-bottom: 0;
}

/* お試し住宅イントロ（2カラム） */
.trial-stay-intro.has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.trial-stay-intro-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.trial-stay-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.trial-stay-intro-content {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

.trial-stay-intro-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .trial-stay-intro.has-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.support-detail-notice {
    background: #FFF8E1;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #FFB74D;
    color: #E65100;
    font-weight: 500;
}

/* カード */
.support-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.support-detail-card:last-child {
    margin-bottom: 0;
}

.support-detail-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.support-detail-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #7BAE7F;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

/* テーブル */
.support-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.support-detail-table th,
.support-detail-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.support-detail-table th {
    width: 180px;
    background: #f8f8f8;
    font-weight: 600;
    color: #333;
}

.support-detail-table td {
    color: #666;
    line-height: 1.8;
}

.support-detail-table tr:last-child th,
.support-detail-table tr:last-child td {
    border-bottom: none;
}

.highlight-text {
    color: #7BAE7F;
    font-size: 18px;
}

.table-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.table-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7BAE7F;
}

.table-list li:last-child {
    margin-bottom: 0;
}

/* 補助金オプション */
.subsidy-options {
    margin-top: 20px;
}

.subsidy-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 10px;
    gap: 20px;
}

.subsidy-option:last-child {
    margin-bottom: 0;
}

.subsidy-option-label {
    flex: 1;
    color: #666;
}

.subsidy-option-amount {
    font-size: 20px;
    font-weight: 700;
    color: #7BAE7F;
    white-space: nowrap;
}

/* ハイライトボックス */
.support-detail-highlight-box {
    background: linear-gradient(135deg, #7BAE7F 0%, #5A8F5E 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.support-detail-highlight-label {
    font-size: 16px;
    margin-bottom: 10px;
}

.support-detail-highlight-amount {
    font-size: 24px;
    font-weight: 700;
}

.support-detail-highlight-amount span {
    font-size: 56px;
    margin: 0 5px;
}

/* 補助金グリッド */
.support-detail-subsidy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.support-detail-subsidy-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.support-detail-subsidy-card h4 {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.subsidy-amount {
    font-size: 32px;
    font-weight: 700;
    color: #7BAE7F;
    margin-bottom: 10px;
}

.subsidy-note {
    font-size: 14px;
    color: #999;
}

/* サブタイトル */
.support-detail-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #7BAE7F;
}

/* 加算リスト */
.support-detail-addition-list {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.addition-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

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

.addition-label {
    font-weight: 600;
    color: #333;
}

.addition-note {
    font-size: 14px;
    color: #999;
    flex: 1;
}

.addition-amount {
    font-size: 18px;
    font-weight: 700;
    color: #7BAE7F;
    text-align: right;
    margin-left: auto;
}

.addition-amount small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

/* 定義ボックス */
.support-detail-definition {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    line-height: 2;
    color: #666;
}

/* 要件 */
.support-detail-requirements {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.requirements-intro {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.requirement-item:last-of-type {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.requirement-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #7BAE7F;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.requirement-content {
    flex: 1;
}

.requirement-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.requirement-content p:last-child {
    margin-bottom: 0;
}

.requirement-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-content ul li {
    padding: 10px 0 10px 20px;
    position: relative;
    color: #666;
    line-height: 1.8;
}

.requirement-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: #7BAE7F;
    border-radius: 50%;
}

.requirement-warning {
    color: #E65100 !important;
    font-size: 14px;
}

.requirements-note {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 注意ボックス */
.support-detail-notice-box {
    background: #FFF8E1;
    border-radius: 15px;
    padding: 25px 30px;
    border-left: 4px solid #FFB74D;
}

.support-detail-notice-box p {
    color: #E65100;
    font-weight: 500;
    margin: 0;
}

/* ファイルリスト */
.support-detail-files {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.file-name {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.file-type {
    background: #7BAE7F;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.file-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.file-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.file-btn-pdf {
    background: #e74c3c;
    color: #fff;
}

.file-btn-pdf:hover {
    background: #c0392b;
    color: #fff;
}

.file-btn-word {
    background: #2980b9;
    color: #fff;
}

.file-btn-word:hover {
    background: #1f6dad;
    color: #fff;
}

/* CTAボックス */
.support-detail-cta-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.support-detail-cta-box p {
    color: #666;
    margin-bottom: 20px;
}

/* リスト */
.support-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-detail-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: #666;
    line-height: 1.8;
    border-bottom: 1px solid #eee;
}

.support-detail-list li:last-child {
    border-bottom: none;
}

.support-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7BAE7F;
    font-weight: 700;
}

/* 情報グリッド */
.support-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.support-detail-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.support-detail-info-card h4 {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.info-highlight {
    font-size: 28px;
    font-weight: 700;
    color: #7BAE7F;
    margin-bottom: 15px;
}

.info-note {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* フロー */
.support-detail-flow {
    max-width: 600px;
    margin: 0 auto;
}

.flow-step {
    background: #fff;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.flow-step-label {
    display: inline-block;
    background: #7BAE7F;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.flow-step p {
    color: #666;
    margin: 0;
    line-height: 1.8;
}

.flow-arrow {
    text-align: center;
    padding: 15px 0;
    color: #7BAE7F;
    font-size: 20px;
}

/* 注意事項リスト */
.support-detail-notes {
    background: #fff;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notes-list li {
    padding: 15px 0 15px 30px;
    position: relative;
    color: #666;
    line-height: 1.8;
    border-bottom: 1px solid #eee;
}

.notes-list li:last-child {
    border-bottom: none;
}

.notes-list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 15px;
    width: 20px;
    height: 20px;
    background: #FFB74D;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 関連ページナビゲーション */
.support-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.support-nav-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.support-nav-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 15px;
}

.support-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.support-nav-back {
    text-align: center;
}

.btn-arrow-left::before {
    content: "←";
    margin-right: 10px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .support-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .support-detail-card {
        padding: 25px;
    }

    .support-detail-table th {
        width: 120px;
        padding: 15px;
    }

    .support-detail-table td {
        padding: 15px;
    }

    .support-detail-highlight-amount span {
        font-size: 40px;
    }

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

    .requirement-item {
        flex-direction: column;
    }

    .addition-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .addition-amount {
        text-align: left;
    }

    .subsidy-option {
        flex-direction: column;
    }

    .support-nav-grid {
        grid-template-columns: 1fr;
    }
}

/* 地域リスト */
.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.area-list li {
    padding: 12px 15px 12px 35px;
    position: relative;
    background: #f8f8f8;
    border-radius: 8px;
    color: #666;
}

.area-list li::before {
    content: "📍";
    position: absolute;
    left: 10px;
}

/* ==========================================================================
   フロントページ 支援制度一覧
   ========================================================================== */

.front-support-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.front-support-list.front-support-list-single {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.front-support-category {
    background: #fff;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.front-support-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #7BAE7F;
}

.front-support-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.front-support-items li {
    border-bottom: 1px solid #eee;
}

.front-support-items li:last-child {
    border-bottom: none;
}

.front-support-items a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, background 0.3s ease;
}

.front-support-items a:hover {
    color: #7BAE7F;
    background: #f9f9f9;
}

.front-support-amount {
    font-size: 13px;
    color: #7BAE7F;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 10px;
}

.front-support-owner-card {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 25px auto 0;
    padding: 18px 25px;
    background: linear-gradient(135deg, #f8f4ef 0%, #fff 100%);
    border: 1px solid #e8e0d8;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.front-support-owner-card:hover {
    border-color: #7BAE7F;
    box-shadow: 0 5px 20px rgba(123, 174, 127, 0.15);
    transform: translateY(-2px);
}

.front-support-owner-card-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.front-support-owner-card-content {
    flex: 1;
}

.front-support-owner-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.front-support-owner-card-text {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

.front-support-owner-card-arrow {
    font-size: 18px;
    color: #7BAE7F;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.front-support-owner-card:hover .front-support-owner-card-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .front-support-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .front-support-category {
        padding: 20px;
    }

    .front-support-items a {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .front-support-amount {
        margin-left: 0;
    }

    .front-support-owner-card {
        padding: 15px 18px;
        gap: 12px;
    }

    .front-support-owner-card-icon {
        font-size: 24px;
    }

    .front-support-owner-card-title {
        font-size: 14px;
    }

    .front-support-owner-card-text {
        font-size: 12px;
    }
}

/* ========================================
   トップページ: フローナビゲーション
======================================== */
.front-flow {
    padding: 50px 0 0;
}

.front-flow-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    padding: 20px 0;
}

/* うねうね背景線 */
.front-flow-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 60px;
    z-index: 0;
    pointer-events: none;
}

.front-flow-line path {
    stroke-dasharray: 8 4;
    opacity: 0.6;
}

.front-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    background: #fff;
    border: 2px solid #7BAE7F;
    border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
}

/* フェードインアニメーション（順番に表示） */
.front-flow-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease;
}

.front-flow-item:nth-child(2).is-visible { transition-delay: 0.1s; }
.front-flow-item:nth-child(3).is-visible { transition-delay: 0.2s; }
.front-flow-item:nth-child(4).is-visible { transition-delay: 0.3s; }
.front-flow-item:nth-child(5).is-visible { transition-delay: 0.4s; }
.front-flow-item:nth-child(6).is-visible { transition-delay: 0.5s; }

/* うねうね線もフェードイン */
.front-flow-line {
    opacity: 0;
    transition: opacity 0.8s ease 0.3s;
}

.front-flow-nav.is-visible .front-flow-line {
    opacity: 0.6;
}

/* 各ボタンをラフな形状に（少しずつ異なる） */
.front-flow-item:nth-child(2) {
    border-radius: 50% 50% 45% 55% / 55% 50% 50% 45%;
}

.front-flow-item:nth-child(3) {
    border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
}

.front-flow-item:nth-child(4) {
    border-radius: 48% 52% 55% 45% / 50% 48% 52% 50%;
}

.front-flow-item:nth-child(5) {
    border-radius: 52% 48% 48% 52% / 48% 52% 48% 52%;
}

.front-flow-item:nth-child(6) {
    border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%;
}

.front-flow-item:hover {
    background: #7BAE7F;
    transform: translateY(-3px);
}

.front-flow-item:hover .front-flow-icon,
.front-flow-item:hover .front-flow-label {
    color: #fff;
}

.front-flow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
}

.front-flow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.front-flow-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    .front-flow-nav {
        gap: 12px;
    }

    .front-flow-item {
        padding: 20px 14px;
        min-width: 100px;
    }

    .front-flow-icon {
        width: 40px;
        height: 40px;
    }

    .front-flow-label {
        font-size: 12px;
    }

    .front-flow-line {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .front-flow {
        padding: 30px 0 0;
        overflow: hidden;
    }

    .front-flow .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .front-flow-nav {
        gap: 5px;
        padding: 15px 5px;
        flex-wrap: nowrap;
    }

    .front-flow-item {
        padding: 14px 4px;
        min-width: 0;
        flex: 1 1 0;
        border-radius: 30px;
    }

    .front-flow-icon {
        width: 32px;
        height: 32px;
    }

    .front-flow-label {
        font-size: 11px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .front-flow-line {
        width: 98%;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .front-flow .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .front-flow-nav {
        gap: 4px;
        padding: 15px 3px;
    }

    .front-flow-item {
        padding: 12px 3px;
        border-radius: 20px;
    }

    .front-flow-icon {
        width: 28px;
        height: 28px;
    }

    .front-flow-label {
        font-size: 10px;
    }
}

/* ========================================
   トップページ: リード文
======================================== */
.front-lead {
    padding-top: 80px;
    padding-bottom: 80px;
}

.front-lead-text {
    font-size: 20px;
    line-height: 2;
    text-align: center;
    color: #333;
}

@media (max-width: 768px) {
    .front-lead {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .front-lead-text {
        font-size: 16px;
        line-height: 1.9;
        text-align: left;
    }
}

/* ========================================
   トップページ: ギャラリー
======================================== */
.front-gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.front-gallery-item {
    flex: 1 1 20%;
    height: 240px;
    overflow: hidden;
}

.front-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .front-gallery-item {
        height: 120px;
    }

    .front-gallery-item:nth-child(1),
    .front-gallery-item:nth-child(2) {
        flex: 1 1 50%;
    }

    .front-gallery-item:nth-child(3),
    .front-gallery-item:nth-child(4),
    .front-gallery-item:nth-child(5) {
        flex: 1 1 33.333%;
    }
}

/* ========================================
   トップページ: 位置マップ
======================================== */
.front-location {
    padding-top: 60px;
    padding-bottom: 60px;
}

.front-location .front-location-map {
    max-width: 50%;
    margin: 0 auto;
    text-align: center;
}

.front-location .front-location-map img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .front-location {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .front-location .front-location-map {
        max-width: 100%;
        padding: 0;
    }
}

/* ========================================
   トップページ: 与謝野町を知る
======================================== */
.front-know-yosano {
    padding-top: 80px;
    padding-bottom: 80px;
}

.front-know-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.front-know-item:first-of-type {
    margin-top: 40px;
}

.front-know-item.reverse {
    direction: rtl;
}

.front-know-item.reverse > * {
    direction: ltr;
}

.front-know-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.front-know-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.front-know-en {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #7BAE7F;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.front-know-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.front-know-text {
    font-size: 15px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 24px;
}

.front-know-content .btn {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .front-know-yosano {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .front-know-item {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }

    .front-know-item:first-of-type {
        margin-top: 32px;
    }

    .front-know-item.reverse {
        direction: ltr;
    }

    .front-know-image {
        border-radius: 12px;
    }

    .front-know-title {
        font-size: 22px;
        letter-spacing: 0;
    }

    .front-know-text {
        font-size: 14px;
    }

    .front-know-text br {
        display: none;
    }
}

/* ========================================
   トップページ: YouTube動画
======================================== */
.front-youtube {
    background: #FDF8F3;
}

.front-youtube-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.front-youtube-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.front-youtube-trigger:hover {
    transform: scale(1.02);
}

.front-youtube-trigger:hover .front-youtube-play svg {
    transform: scale(1.1);
}

.front-youtube-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
}

.front-youtube-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.front-youtube-trigger:hover .front-youtube-play {
    background: rgba(123, 174, 127, 0.9);
}

.front-youtube-play svg {
    transition: transform 0.3s ease;
}

/* YouTube モーダル */
.youtube-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.youtube-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.youtube-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.youtube-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.youtube-modal.is-active .youtube-modal-content {
    transform: scale(1);
}

.youtube-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    padding: 8px;
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.youtube-modal-close:hover {
    color: #7BAE7F;
    transform: rotate(90deg);
}

.youtube-modal-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-modal-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .front-youtube-thumbnail {
        border-radius: 12px;
    }

    .front-youtube-play {
        width: 60px;
        height: 42px;
    }

    .front-youtube-play svg {
        width: 50px;
        height: 36px;
    }

    .youtube-modal-close {
        top: -40px;
    }

    .youtube-modal-close svg {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   トップページ: 空き家をお持ちの方へ
======================================== */
.front-akiya-banner {
    background: #fff;
}

.front-akiya-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
    background: linear-gradient(135deg, #7BAE7F 0%, #5A8F5E 100%);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.front-akiya-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(123, 174, 127, 0.3);
}

.front-akiya-content {
    flex: 1;
}

.front-akiya-en {
    display: block;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 8px;
}

.front-akiya-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.front-akiya-text {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.front-akiya-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-left: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.front-akiya-link:hover .front-akiya-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .front-akiya-link {
        flex-direction: column;
        padding: 30px 24px;
        text-align: center;
    }

    .front-akiya-title {
        font-size: 22px;
    }

    .front-akiya-text {
        font-size: 14px;
    }

    .front-akiya-arrow {
        width: 48px;
        height: 48px;
        margin-left: 0;
        margin-top: 20px;
    }

    .front-akiya-arrow svg {
        width: 24px;
        height: 24px;
    }
}
