/* ==================== リセット & 変数 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - 自然な長野のイメージ */
    --primary-color: #2c5f2d;
    --primary-light: #4a8f4b;
    --primary-dark: #1e4620;
    --secondary-color: #8b4513;
    --accent-color: #ffd700;
    --accent-light: #fff9e6;
    
    /* テキストカラー */
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #777;
    --text-muted: #999;
    
    /* 背景カラー */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    
    /* ボーダー */
    --border-color: #e0e0e0;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* ボーダーラジウス */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* トランジション */
    --transition: all 0.3s ease;
    
    /* コンテナ幅 */
    --container-width: 1200px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== WORKERTRIPヒーローヘッダー ==================== */
.wt-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 60px 24px;
    box-sizing: border-box;
}

.wt-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.wt-hero__bgimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wt-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10,20,40,.72) 0%, rgba(10,40,30,.65) 60%, rgba(10,20,40,.78) 100%);
}

.wt-hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 720px;
}

.wt-hero__eyebrow {
    font-size: .85rem;
    letter-spacing: .15em;
    color: rgba(255,255,255,.75);
    margin: 0 0 12px;
}

.wt-hero__logo {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    letter-spacing: .12em;
    margin: 0 0 16px;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #a8e6d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wt-hero__catch {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 10px;
    color: #f0fdf9;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.wt-hero__sub {
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .wt-hero {
        min-height: 240px;
        padding: 40px 16px;
    }
}

/* ==================== セカンダリナビゲーション ==================== */
.nav-secondary {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
}

.nav-secondary-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 12px 0;
    margin: 0;
}

.nav-secondary-link {
    padding: 10px 20px;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-secondary-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-secondary-link.active {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .nav-secondary-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==================== ナビゲーション ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand i {
    font-size: 1.8rem;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.nav-highlight {
    background: linear-gradient(135deg, var(--accent-color), #ffed4e);
    color: var(--text-dark);
    font-weight: 600;
}

.nav-highlight:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==================== エリア選択セクション ==================== */
.area-section {
    padding: 60px 0;
    background: white;
}

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

.area-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--border-color);
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.area-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.area-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.area-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==================== 全国トップページ専用スタイル ==================== */
.hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    background-image: 
        linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(96, 165, 250, 0.85)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.05)" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/><path fill="rgba(255,255,255,0.03)" d="M0,400 Q200,350 400,400 T800,400 L800,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-stats-main {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

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

.btn-outline-white:hover {
    background: white;
    color: var(--text-dark);
}

/* 都道府県選択セクション */
.prefectures-section {
    padding: 80px 0;
    background: white;
}

.region-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 12px;
}

.region-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.region-tab:hover {
    border-color: var(--primary-color);
    background: rgba(44, 95, 45, 0.05);
}

.region-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.prefectures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.prefecture-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.prefecture-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.prefecture-card.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.prefecture-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

.prefecture-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prefecture-badge.available {
    background: var(--primary-light);
    color: white;
}

.prefecture-badge.coming-soon {
    background: var(--text-muted);
    color: white;
}

.prefecture-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.prefecture-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.prefecture-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* 注目エリアセクション */
.featured-areas-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-large {
    grid-row: span 2;
    min-height: 500px;
}

.featured-card.coming-soon {
    cursor: not-allowed;
    opacity: 0.7;
}

.featured-card.coming-soon:hover {
    transform: none;
}

.featured-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.featured-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    margin-top: auto;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.featured-badge {
    background: var(--primary-light);
    color: white;
}

.coming-soon-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.featured-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 16px;
}

.featured-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* このサイトについて */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-medium);
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
}

.about-feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* レスポンシブ（全国版） */
@media (max-width: 968px) {
    .hero-stats-main {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .region-tabs {
        justify-content: flex-start;
    }
    
    .prefectures-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-large {
        grid-row: span 1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==================== ヒーローセクション（長野ページ用） ==================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e4620 0%, #2c5f2d 50%, #4a8f4b 100%);
    background-image: 
        linear-gradient(135deg, rgba(30, 70, 32, 0.9), rgba(74, 143, 75, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.05)" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 68px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

/* ==================== ボタン ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 300;
}

.section-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.section-link:hover {
    gap: 12px;
}

/* ==================== 地図セクション ==================== */
.map-section {
    background: white;
}

.map-container {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
}

.nagano-map {
    min-height: 500px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.map-loading {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.map-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.legend-label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.map-alternative h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.area-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    text-align: center;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.area-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.area-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.area-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==================== プレスリリース ==================== */
.press-section {
    background: var(--bg-light);
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.press-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.press-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-light);
}

.press-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.press-category {
    color: var(--primary-color);
    font-weight: 600;
}

.press-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.press-summary {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

/* ==================== ブログセクション ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--bg-light);
}

.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-side-job {
    background: linear-gradient(135deg, var(--accent-color), #ffed4e);
    color: var(--text-dark);
}

.badge-category {
    background: var(--bg-light);
    color: var(--text-medium);
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-summary {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==================== 副業案件セクション ==================== */
.side-jobs-section {
    background: var(--accent-light);
}

.side-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.side-job-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid transparent;
}

.side-job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-company {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.job-remote {
    background: var(--primary-light);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.job-description {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.job-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.skill-tag {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.job-reward {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.job-location {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==================== 特徴セクション ==================== */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ==================== CTAセクション ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

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

/* ==================== フッター ==================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

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

.footer-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ==================== ローディング ==================== */
.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

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

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

/* ==================== レスポンシブ ==================== */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-link {
        position: static;
        transform: none;
        display: inline-flex;
        margin-top: 16px;
    }
    
    .press-grid,
    .blog-grid,
    .side-jobs-grid,
    .area-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* ==================== 自治体一覧ページ専用スタイル ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 100px 0 60px;
    margin-top: 68px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.8;
}

.search-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    position: relative;
    margin-bottom: 24px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 55px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: 'Noto Sans JP', sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.clear-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-muted);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.clear-btn:hover {
    background: var(--text-dark);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    background: rgba(44, 95, 45, 0.05);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.result-info {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

#resultCount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.municipality-list-section {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.municipality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.municipality-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.municipality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.municipality-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.municipality-card:hover::before {
    transform: scaleY(1);
}

.municipality-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.municipality-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.municipality-badges {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.badge-subsidy {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b6914;
}

.badge-dedicated {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-pdf {
    background: #ffebee;
    color: #c62828;
}

.municipality-info {
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.info-icon {
    color: var(--primary-color);
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content {
    flex: 1;
    color: var(--text-light);
    line-height: 1.6;
}

.info-content strong {
    color: var(--text-dark);
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.subsidy-info {
    background: #fffbf0;
    border: 2px solid #ffd700;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 20px;
}

.subsidy-title {
    font-weight: 700;
    color: #8b6914;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subsidy-details {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

.subsidy-details div {
    margin-bottom: 6px;
}

.subsidy-amount {
    font-weight: 700;
    color: var(--primary-color);
}

.municipality-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.link-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.link-btn-primary {
    background: var(--primary-color);
    color: white;
}

.link-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.link-btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.link-btn-secondary:hover {
    background: var(--border-color);
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .municipality-grid {
        grid-template-columns: 1fr;
    }
    
    .municipality-links {
        flex-direction: column;
    }
}

/* ==================== 広告枠スタイル ==================== */

/* 広告コンテナ共通スタイル */
.ad-container {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin: 24px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

/* 広告ラベル */
.ad-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 広告プレースホルダー */
.ad-placeholder {
    background: #fff;
    border: 2px dashed #d0d0d0;
    border-radius: 4px;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

/* 各広告枠の個別スタイル */

/* ヘッダー広告（728x90 Leaderboard） */
.ad-header {
    max-width: 728px;
    margin-top: 16px;
    margin-bottom: 32px;
}

.ad-header .ad-placeholder {
    min-height: 90px;
}

/* レクタングル広告（336x280 / 300x250） */
.ad-rectangle {
    max-width: 336px;
    margin: 32px auto;
}

.ad-rectangle .ad-placeholder {
    min-height: 250px;
}

/* ハーフページ広告（300x600） */
.ad-halfpage {
    max-width: 300px;
    margin: 32px auto;
}

.ad-halfpage .ad-placeholder {
    min-height: 600px;
}

/* フッター広告（728x90 Leaderboard） */
.ad-footer {
    max-width: 728px;
    margin-top: 32px;
    margin-bottom: 24px;
}

.ad-footer .ad-placeholder {
    min-height: 90px;
}

/* サイドバー広告（300x250 Medium Rectangle） */
.ad-sidebar {
    max-width: 300px;
    margin: 0 0 24px 0;
}

.ad-sidebar .ad-placeholder {
    min-height: 250px;
}

/* 自治体一覧ページのサイドバーレイアウト */
.list-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.sidebar-ads {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* レスポンシブ対応：広告枠 */
@media (max-width: 968px) {
    /* サイドバーを下に移動 */
    .list-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-ads {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    /* 大きな広告を中央配置 */
    .ad-header,
    .ad-footer {
        max-width: 100%;
    }
    
    .ad-halfpage {
        display: none; /* 狭い画面では非表示 */
    }
}

@media (max-width: 768px) {
    /* モバイルでは広告を縦積み */
    .sidebar-ads {
        flex-direction: column;
        align-items: center;
    }
    
    /* 広告枠を小さく */
    .ad-container {
        padding: 12px;
        margin: 16px auto;
    }
    
    .ad-header .ad-placeholder,
    .ad-footer .ad-placeholder {
        min-height: 60px;
        padding: 20px 10px;
        font-size: 0.75rem;
    }
    
    .ad-rectangle .ad-placeholder,
    .ad-sidebar .ad-placeholder {
        min-height: 180px;
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    /* 極小画面では広告をさらに小さく */
    .ad-container {
        padding: 8px;
        margin: 12px auto;
    }
    
    .ad-placeholder {
        padding: 15px 10px;
        font-size: 0.7rem;
        min-height: 50px !important;
    }
}
