/* Google Fontsからフォントをインポート */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@400;700;900&display=swap');

/* --- ライトテーマ（明るい配色）カラー定義 --- */
:root {
    --color-primary: #00AEEF; /* メインの鮮やかなスカイブルー */
    --color-accent: #0077B6; /* 濃いめのアクセントブルー（リンクのホバーなど） */
    --color-background-light: #FFFFFF; /* 純粋な白の背景 */
    --color-background-card: #F8F8FF; /* カード背景（わずかに青みがかった白） */
    --color-text-dark: #222222; /* 濃いテキスト色 */
    --color-text-dim: #555555; /* 薄めのテキスト色 */
    --color-border: #DDDDDD; /* 枠線（薄いグレー） */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    background-color: var(--color-background-light); /* 白背景 */
    color: var(--color-text-dark); /* 濃いテキスト色 */
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景パターンを非常に薄くする */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 20%, rgba(0, 174, 239, 0.05) 1px, transparent 1px),
            radial-gradient(circle at 80% 80%, rgba(0, 119, 182, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 70px 70px;
    z-index: -1;
    pointer-events: none;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 白背景 + 透明度を上げてわずかに透過 */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--color-primary); /* 鮮やかなブルーの線 */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-accent); /* 濃いめのブルーのロゴ */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* --- ハンバーガーメニューのスタイル（ご提示のCSS構造を適用） --- */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary); /* メインのブルーを使用 */
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background-color: var(--color-accent); /* アクセントブルーを使用 */
}

/* 閉じるボタンへのアニメーション（JSのactiveクラスに対応） */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* --- モバイルメニューのスタイル（ご提示のCSS構造を適用） --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* 明るい背景を維持 */
    background: var(--color-background-light);
    /* JSのロジックに対応する非表示状態 */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding-top: 100px;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

/* JSのロジックに対応する表示状態 */
.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 薄いブルーのパターン */
    background:
            radial-gradient(circle at 30% 30%, rgba(0, 174, 239, 0.1) 2px, transparent 2px),
            radial-gradient(circle at 70% 70%, rgba(0, 119, 182, 0.05) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    pointer-events: none;
}

.menu-nav {
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.menu-section-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    padding: 0 0 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

.menu-item {
    display: block;
    padding: 1.5rem 0;
    color: var(--color-text-dark); /* 濃いテキスト色 */
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border); /* 薄いグレーの仕切り線 */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* ブルーのハイライト */
    background: linear-gradient(90deg, transparent, rgba(0, 174, 239, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    color: var(--color-primary); /* ホバーでメインのブルーに */
    padding-left: 1rem;
}

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

.menu-contact {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.menu-contact h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-info {
    color: var(--color-text-dim);
    margin-bottom: 0.5rem;
}

.menu-social a {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.menu-social a:hover {
    color: var(--color-primary);
}


/* メインコンテンツ */
main {
    padding-top: 80px;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    height: 60vh;
    /* 背景を白から薄い青へのグラデーションに */
    background: linear-gradient(135deg, var(--color-background-light) 0%, #E8F7FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 明るいブルー系のパターンに変更 */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="fusuma" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><rect width="200" height="200" fill="%23E8F7FF"/><path d="M0,100 L200,100 M100,0 L100,200" stroke="%2300AEEF" stroke-width="3" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23fusuma)"/></svg>') center/cover;
    opacity: 1;
}

.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
}

.main-title {
    font-family: 'Bebas Neue', 'Noto Sans JP', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: var(--color-primary); /* 鮮やかなブルーのメインタイトル */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.main-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--color-primary); /* 鮮やかなブルーの枠線 */
    border-radius: 10px;
    opacity: 0.5;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    opacity: 1;
}

/* 装飾線 */
.section-divider {
    height: 3px;
    /* 鮮やかなブルーのグラデーション線 */
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
    margin: 3rem 0;
    position: relative;
}

/* ニュースセクション */
.news-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-accent); /* 濃いめのブルーのタイトル */
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    /* 鮮やかなブルーのアンダーライン */
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    /* カード背景をわずかに青みがかった白に */
    background: var(--color-background-card);
    border: 1px solid var(--color-border); /* 薄いグレーの枠線 */
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    padding: 2rem;
}


.news-card:hover {
    transform: translateY(-5px);
    /* ホバーシャドウをブルー系に */
    box-shadow: 0 10px 30px rgba(0, 174, 239, 0.2);
    border-color: var(--color-primary);
}

.news-date {
    color: var(--color-primary); /* 日付を鮮やかなブルーに */
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.news-excerpt {
    color: var(--color-text-dim);
    line-height: 1.6;
}

/* Moreボタン */
.more-btn {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    /* ボタンを鮮やかなブルー系のグラデーションに */
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white; /* 白い文字色 */
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.4);
}

.more-btn:hover {
    /* ホバーで少し明るいブルーに */
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    box-shadow: 0 5px 20px rgba(0, 174, 239, 0.7);
    transform: translateY(-2px);
}

/* 動画・ギャラリーセクション */
.video-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-container {
    background: var(--color-background-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-placeholder {
    color: var(--color-text-dim);
    font-style: italic;
}


/* 詳細ページ用のスタイル */
.article-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    /* 記事コンテナ背景をわずかに青みがかった白に */
    background: var(--color-background-card);
    border: 2px solid var(--color-primary); /* 鮮やかなブルーの枠線 */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}
.article-header { margin-bottom: 2rem; }
.article-title { font-size: 2.2rem; color: var(--color-accent); margin-top: 1rem; }
.article-body { line-height: 2; color: var(--color-text-dark); }


/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    header {
        padding: 1rem 1rem;
    }
    .news-section {
        padding: 3rem 1rem;
    }
    .article-container {
        padding: 1.5rem;
    }
}