@charset "UTF-8";

/* 全体設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", MeiYo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ヘッダー */
.site-header {
    background-color: #ffffff;
    border-bottom: 3px solid #339900;
    padding: 15px 20px;
    text-align: center;
}

.header-logo {
    max-height: 80px;
    width: auto;
}

/* メインレイアウト（PC向け2カラム） */
.container {
    display: flex;
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
    gap: 25px;
}

/* ナビゲーション (左メニュー) */
.site-nav {
    width: 240px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: fit-content;
}

.site-nav ul {
    list-style: none;
}

.site-nav li {
    margin-bottom: 10px;
    border-bottom: 1px dotted #e0e0e0;
    padding-bottom: 8px;
}

.site-nav a {
    display: block;
    font-weight: bold;
    color: #333;
}

.site-nav a:hover,
.site-nav a.active {
    color: #339900;
}

.update-tag {
    font-size: 0.75rem;
    color: #d9534f;
    margin-left: 5px;
}

/* メインコンテンツ (右側) */
.site-main {
    flex-grow: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.whats-new h1 {
    color: #339900;
    border-bottom: 2px solid #339900;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.news-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    gap: 15px;
}

.news-date {
    width: 140px;
    flex-shrink: 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

.news-body {
    flex-grow: 1;
}

.news-body h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #222;
}

.news-body h3 {
    font-size: 1.05rem;
    margin: 10px 0;
}

.news-body p, .news-body ul, .news-body ol {
    margin-bottom: 10px;
}

.news-body ul, .news-body ol {
    padding-left: 20px;
}

.notice-details {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.center-text { text-align: center; }
.right-text { text-align: right; }

/* 行事報告ページ用スタイル */
.gyouji-section h1 {
    color: #339900;
    border-bottom: 2px solid #339900;
    padding-bottom: 8px;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.annual-report {
    margin-bottom: 30px;
}

.annual-report h2 {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 12px;
    background-color: #f0f7ed;
    padding: 6px 12px;
    border-left: 4px solid #339900;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.report-table th,
.report-table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}

.report-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #444;
}

.report-table .date-col {
    width: 200px;
    text-align: center;
    white-space: nowrap;
    background-color: #fafafa;
}

.link-archive {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

/* フッター画像・連絡先 */
.hero-image {
    text-align: center;
    margin: 30px 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.about-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.contact-table th,
.contact-table td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 0.9rem;
}

.contact-table th {
    background-color: #f2f2f2;
    width: 25%;
    text-align: center;
}

.site-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.85rem;
    margin-top: 40px;
}

/* スマホ表示対応 (幅768px以下) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
    }

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

    .news-date {
        width: 100%;
    }

    .contact-table th, .contact-table td {
        display: block;
        width: 100%;
    }

    .report-table th, .report-table td {
        padding: 8px;
        font-size: 0.85rem;
    }

    .report-table .date-col {
        width: auto;
        white-space: normal;
    }
}


/* 同期会・内規ページ用追加スタイル */
.naiki-section h1,
.doukikai-section h1 {
    color: #339900;
    border-bottom: 2px solid #339900;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.naiki-section h2 {
    font-size: 1.3rem;
    color: #222;
    margin: 25px 0 10px 0;
    text-align: center;
}

.naiki-section p {
    margin-bottom: 15px;
}

.section-divider {
    border: 0;
    border-top: 1px dashed #ccc;
    margin: 30px 0;
}

.naiki-list {
    margin: 20px 0;
}

.naiki-list dt {
    font-weight: bold;
    font-size: 1.05rem;
    color: #222;
    margin-top: 15px;
    margin-bottom: 5px;
}

.naiki-list dd {
    margin-left: 15px;
    margin-bottom: 15px;
}

.naiki-footer {
    margin-top: 25px;
    font-style: italic;
}


/* 部会報ページ用追加スタイル */
.kaihou-section h1 {
    color: #339900;
    border-bottom: 2px solid #339900;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.kaihou-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.kaihou-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
}

.kaihou-list li:hover {
    background-color: #f9f9f9;
}

.kaihou-list a {
    display: block;
    color: #0066cc;
    font-weight: bold;
}

.kaihou-list a:hover {
    color: #339900;
}


/* 記事ページ・ギャラリー用追加スタイル */
.article-section h1 {
    color: #339900;
    border-bottom: 2px solid #339900;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.article-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.image-gallery img {
    max-width: 100%;
    width: 320px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* リンクページ用追加スタイル */
.link-section h1 {
    color: #339900;
    border-bottom: 2px solid #339900;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.link-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
}

.link-list li:hover {
    background-color: #f9f9f9;
}

.link-list a {
    display: block;
    color: #0066cc;
    font-weight: bold;
}

.link-list a:hover {
    color: #339900;
}


/* 更新履歴ページ用追加スタイル */
.history-section h1 {
    color: #339900;
    border-bottom: 2px solid #339900;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.history-section h2 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 12px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.history-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.history-table .date-col {
    width: 130px;
    font-weight: bold;
    color: #666;
    white-space: nowrap;
    vertical-align: top;
}

.history-table .highlight-row {
    background-color: #f0f7ed;
    font-weight: bold;
}

.history-table .highlight-row .date-col {
    color: #339900;
}

/* アコーディオン（折りたたみ） */
.archive-history {
    margin-top: 25px;
    border-top: 2px dashed #ccc;
    padding-top: 15px;
}

.archive-history summary {
    cursor: pointer;
    font-weight: bold;
    color: #0066cc;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    user-select: none;
}

.archive-history summary:hover {
    background-color: #eef5ff;
    color: #004499;
}

.archive-history[open] summary {
    margin-bottom: 15px;
    background-color: #e2e8f0;
}
