@charset "UTF-8";

/* =========================================
   1. ベース設定 & カラーパレット
========================================= */
:root {
    --primary-color: #003366;
    /* 誠実なネイビー */
    --accent-color: #00aaff;
    /* クールブルー */
    --text-color: #333333;
    /* 濃いグレー */
    --light-bg: #f4f7f9;
    /* 背景薄グレー */
    --white: #ffffff;
    --border-color: #e0e5e9;
    --danger-color: #e63946;
    /* NEW!バッジ用 */
    --gold-color: #d4a017;
    /* 開催予定用 */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    font-size: 15px;
    line-height: 1.8;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. ヘッダー & ナビゲーション（1080px対応）
========================================= */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 10000;
    padding: 12px 0;
}

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

.site-header h1 a {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
    white-space: nowrap;
}

.main-nav ul {
    display: flex;
    gap: 12px;
    list-style: none;
}

.main-nav a {
    color: var(--text-color);
    font-weight: bold;
    padding: 8px 10px;
    font-size: 0.85rem;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

@media screen and (max-width: 1080px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 0 20px;
        transition: 0.3s;
    }

    .main-nav.open {
        display: block;
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0 30px;
    }

    .main-nav ul li {
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
    }

    .main-nav a::after {
        display: none;
    }
}

/* =========================================
   3. ヒーロー & 基本レイアウト
========================================= */
.hero {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.hero-title {
    color: #ffffff !important;
    font-size: 2.2rem;
    font-weight: 800;
    border: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
}

.site-content {
    display: flex;
    gap: 40px;
    margin: 20px auto 40px;
}

.main-article {
    flex: 3;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar {
    flex: 1;
}

@media screen and (max-width: 900px) {
    .site-content {
        flex-direction: column;
    }

    .main-article {
        padding: 25px 20px;
    }
}

/* =========================================
   4. バッジ & 状況ラベル（復活版）
========================================= */
/* NEW! や PDF */
.badge-new,
.chui {
    background-color: var(--danger-color) !important;
    color: white !important;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
}

/* テーブル内の「状況」バッジ */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    min-width: 85px;
}

.badge-closed {
    background-color: #e9ecef;
    color: #6c757d;
}

.badge-active {
    background-color: rgba(0, 170, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* =========================================
   5. 開催案内（Upcoming Event）スッキリ版
========================================= */
.box_out.upcoming {
    border: 1px solid #e1e8ed !important;
    border-left: 8px solid var(--gold-color) !important;
    background-color: #ffffff !important;
    padding: 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px;
    margin-bottom: 40px;
}

.box_out.upcoming h3 {
    background: none !important;
    color: var(--gold-color) !important;
    font-size: 1.4rem !important;
    padding: 0 0 10px 0 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 2px solid #f0f0f0 !important;
    border-left: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box_out.upcoming h3 span {
    font-size: 0.85rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.box_out.upcoming h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border: none !important;
    padding: 0 !important;
}

.box_out.upcoming .upcoming-banner {
    display: block;
    width: 100%;
    height: auto;
    max-width: 760px;
    margin: 16px auto 8px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 520px) {
    .box_out.upcoming {
        padding: 22px !important;
    }

    .box_out.upcoming .upcoming-banner {
        max-width: 100%;
        margin: 12px auto 6px;
        border-radius: 8px;
    }
}

.upcoming-details {
    margin: 20px 0;
    font-size: 1rem;
    color: #555;
    border-left: 3px solid #f0f0f0;
    padding-left: 20px;
}

.upcoming-details p {
    margin-bottom: 10px;
}

.upcoming-details strong {
    color: #333;
    margin-right: 5px;
}

/* =========================================
   6. リスト装飾の徹底消去（●を完全に消す）
========================================= */
.sidebar .list,
.main-article .list,
.news-section .list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar .list li,
.main-article .list li,
.news-section .list li {
    list-style: none !important;
    padding-left: 0 !important;
    position: relative;
}

.sidebar .list li::before,
.main-article .list li::before,
.news-section .list li::before {
    content: none !important;
    display: none !important;
}

/* =========================================
   7. サイドバー（MENUタイトル白文字）
========================================= */
.sidebar .box_out {
    background-color: var(--white) !important;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px 10px;
    overflow: hidden;
}

.sidebar h3 {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 1.1rem;
    margin: -20px -10px 15px -10px !important;
    padding: 15px 20px !important;
    border: none !important;
}

.sidebar .list li a {
    display: block;
    padding: 12px 15px;
    color: #444 !important;
    font-weight: 600;
    border-radius: 8px;
}

.sidebar .list li a:hover {
    background: rgba(0, 170, 255, 0.08) !important;
    color: var(--accent-color) !important;
    padding-left: 20px !important;
}

.sidebar .list li a.current {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* =========================================
   8. テーブル & フッター
========================================= */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
}

.tbl-r01 {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
}

/* テーブルヘッダーを紺背景・白文字に */
.tbl-r01 th {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 15px;
    text-align: left;
    white-space: nowrap;
}

.tbl-r01 td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* スマホ：トップの「イベント開催予定一覧」だけカード表示 */
@media screen and (max-width: 600px) {
    .event-section .table-responsive {
        overflow-x: visible; /* 横スクロール前提にしない */
    }

    .event-section .tbl-r01 {
        border: none;
    }

    .event-section .tbl-r01 thead {
        display: none;
    }

    .event-section .tbl-r01 tbody,
    .event-section .tbl-r01 tr,
    .event-section .tbl-r01 td {
        display: block;
        width: 100%;
    }

    .event-section .tbl-r01 tr {
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .event-section .tbl-r01 td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
        line-height: 1.65;
        white-space: normal;
        word-break: break-word;
    }

    .event-section .tbl-r01 td:last-child {
        border-bottom: none;
    }

    .event-section .tbl-r01 td::before {
        display: block;
        margin-bottom: 6px;
        color: #666;
        font-weight: 800;
        font-size: 0.85rem;
        letter-spacing: 0.02em;
    }

    .event-section .tbl-r01 td:nth-of-type(1)::before {
        content: "イベント名";
    }
    .event-section .tbl-r01 td:nth-of-type(2)::before {
        content: "状況";
    }
    .event-section .tbl-r01 td:nth-of-type(3)::before {
        content: "日程";
    }

    .event-section .tbl-r01 .status-badge {
        font-size: 0.9rem;
        padding: 6px 12px;
        min-width: 0;
    }
}

.site-footer {
    background-color: #f0f4f8;
    border-top: 4px solid var(--primary-color);
    padding: 60px 0 30px;
    color: #444;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.footer-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-nav-group h5 {
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-nav-group ul {
    list-style: none;
    padding: 0;
}

.footer-nav-group a {
    color: #555;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #d1d8e0;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   9. その他共通パーツ
========================================= */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--accent-color);
    font-weight: 600;
}

.breadcrumb span {
    color: #444;
    font-weight: 600;
}

.report-photo {
    text-align: center;
    margin: 20px 0 40px;
}

.report-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pdf-embed {
    margin: 15px 0 25px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #fafafa;
}

.pdf-embed object {
    width: 100%;
    height: min(900px, 75vh);
    display: block;
    border: 0;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-gallery img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background-color: #f5f5f5;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    }

    .photo-gallery img {
        height: 160px;
    }
}

h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.main-article h3 {
    font-size: 1.25rem;
    color: #ffffff !important;
    background-color: var(--primary-color);
    padding: 12px 20px;
    border-left: 6px solid var(--accent-color);
    margin: 30px 0 15px;
    border-radius: 4px;
}

.btn_s a {
    display: inline-block;
    background: var(--accent-color);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* =========================================
   10. 代表挨拶 署名とイラストのレイアウト
========================================= */
.profile-card {
    display: flex;
    align-items: center;          /* 縦方向の中央揃え */
    justify-content: flex-end;    /* 右寄せにする */
    gap: 20px;                    /* テキストと画像の隙間 */
    margin-top: 50px;             /* 上の文章との余白 */
    padding-top: 20px;
    border-top: 1px dashed var(--border-color); /* 文章との区切り線 */
}

.profile-text {
    text-align: right;            /* テキストを右揃えに */
}

.profile-card img {
    width: 120px;                 /* 画像サイズをお好みの大きさに指定 */
    height: auto;
    border-radius: 50%;           /* イラストを円形に切り抜く（お好みで外してもOK） */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 軽い影をつける */
}

/* スマホ閲覧時などは少し小さく・間隔を狭くする調整 */
@media screen and (max-width: 600px) {
    .profile-card {
        gap: 15px;
        margin-top: 30px;
    }
    .profile-card img {
        width: 90px;
    }
}