﻿@charset "UTF-8";

/* 基本設定：読み上げの邪魔にならないシンプルな構成 */
body {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.6;
    color: #000;
    font-family: "MS Pゴシック", sans-serif;
    font-size: 14pt;
    background-color: #fff;
}

/* ヘッダーエリア */
#header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 15px;
    border-bottom: 3px solid #006633;
}

.hg1 { width: 210px; }
.hg2 { flex: 1; text-align: center; }

/* 本文ジャンプリンク：スクリーンリーダーで最初に見つかるように */
.skip-link {
    display: block;
    font-size: 10pt;
    color: #666;
    text-decoration: underline;
    margin-top: 5px;
}

/* レイアウト：Flexboxでメニューとメインを横並びに */
#bb {
    display: flex;
    align-items: flex-start;
    min-height: 600px;
}

/* 左側メニュー：幅を固定して安定させます */
#menu {
    width: 220px;
    padding: 20px 10px;
    border-right: 5px solid #C0C0C0;
    background-color: #f9f9f9;
}

#menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu li {
    margin-bottom: 5px;
    border-bottom: 1px dotted #ccc;
}

#menu a {
    text-decoration: none;
    color: #0000ee;
    display: block;
    padding: 8px 5px;
}

#menu a:hover {
    background-color: #e6f2eb;
    text-decoration: underline;
}

/* 右側メイン本文：画面の残りの幅をすべて使います */
#main {
    flex: 1;
    padding: 20px 30px;
}

/* 本文開始ラベル */
.main-start-label {
    display: block;
    color: #444;
    font-size: 10pt;
    margin-bottom: 15px;
}

/* 見出しのデザイン：情報の区切りを明確に */
h1 {
    font-size: 22pt;
    color: #000;
    margin-bottom: 20px;
}

h2 {
    font-size: 18pt;
    border-left: 10px solid #006633;
    background-color: #f0f7f3;
    padding: 8px 15px;
    margin: 30px 0 15px 0;
    clear: both;
}

h3 {
    font-size: 16pt;
    color: #004400;
    border-bottom: 2px solid #004400;
    padding-bottom: 3px;
    margin-top: 25px;
}

/* リスト・説明文 */
p { margin-bottom: 1.2em; }
ul, ol { margin-bottom: 1.5em; line-height: 1.8; }
dl dt { font-weight: bold; color: #b32d2e; margin-top: 15px; }
dl dd { margin-left: 1.5em; margin-bottom: 10px; }

/* フッター */
#footer {
    text-align: center;
    padding: 30px;
    border-top: 2px solid #ccc;
    margin-top: 50px;
    font-size: 12pt;
    background-color: #eee;
}

/* 画像：はみ出さないように設定 */
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

/* お知らせ・活動報告のカード形式 */
.news-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 重要なお知らせ（緑の縁取り） */
.alert-card {
    border-left: 8px solid #006633;
    background-color: #f9f9f9;
}

/* ニュース詳細のリスト設定 */
.news-details {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.news-details li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

/* 活動報告の日付などの情報ライン */
.post-info {
    font-size: 11pt;
    color: #555;
    background-color: #f0f0f0;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* 検索ボタン・リンクボタンの装飾 */
.search-btn {
    display: inline-block;
    background-color: #006633;
    color: #ffffff !important;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px 0;
}

.search-btn:hover {
    background-color: #004400;
    text-decoration: none !important;
}

/* プロフィール等の定義リストの調整 */
.profile-list dt {
    float: left;
    width: 8em;
    clear: both;
    color: #006633; /* 会長履歴などは落ち着いた緑に */
}

.profile-list dd {
    margin-left: 8.5em;
}

/* セクションの小見出し（h3クラス用） */
.section-title {
    background-color: transparent;
    border-left: none;
    border-bottom: 2px solid #006633;
    color: #006633;
    padding-left: 0;
}
