* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --accent-color: #FF6F00;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* ヘッダー */
.header {
    background: #0f9b6cba;
    color: white;
    padding: 1px 0;
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    margin-left: 10px;
}

/* ナビゲーション */
.nav {
    display: none;
    gap: 30px;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.nav.active {
    display: flex;
}

.nav-item {
    position: relative;
    width: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 15px;
    border-radius: 6px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-link.active {
    background-color: rgba(255,255,255,0.2);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    z-index: 99;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    margin-top: 0;
    padding: 8px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown .dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
}

/* モバイルメニューボタン */
.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-label {
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
    user-select: none;
}

.menu-label:hover {
    opacity: 0.8;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
    transition: transform 0.3s;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.header-container {
    position: relative;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, rgba(214, 223, 215, 0.8) 0%, rgba(8, 65, 11, 0.8) 100%),
                url('pics/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

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

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

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

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

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
}

/* お知らせセクション */
.announcements {
    background: var(--bg-white);
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.announcement-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
}

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

.announcement-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.announcement-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.announcement-content {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.new-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 10px;
}

/* イベント情報セクション */
.events {
    background: var(--bg-light);
}

.event-list {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.event-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 30px;
    align-items: center;
    transition: all 0.3s;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 12px;
}

.event-date-day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.event-date-month {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.event-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.event-info p {
    color: var(--text-light);
    font-size: 16px;
}

.event-link {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
}

.event-link:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
    display: block;
}

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

/* フッタードロップダウン */
.footer-dropdown {
    position: relative;
    margin-bottom: 10px;
}

.footer-dropdown-toggle {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    transition: color 0.3s;
}

.footer-dropdown-toggle:hover {
    color: white;
}

.footer-dropdown-toggle::after {
    content: '▼';
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s;
}

.footer-dropdown.active .footer-dropdown-toggle::after {
    transform: rotate(180deg);
}

.footer-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 15px;
}

.footer-dropdown.active .footer-dropdown-menu {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.footer-dropdown-menu a {
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 20px;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav {
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        margin-top: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown .dropdown-menu:hover {
        display: block;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: white;
    }

    .dropdown-item:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .hero h1 {
        font-size: 32px;
    }

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

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

    .section {
        padding: 50px 0;
    }

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

    .event-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-date {
        width: 100px;
        margin: 0 auto;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* 通知バナー */
.notice-banner {
    background: #787e4e;
    color: white;
    padding: 5px 20px;
    text-align: center;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
    /* スマホのアドレスバー対応：JavaScriptで動的に調整 */
}

.notice-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 10px;
}


