/* D-08/D-02 準拠: 共通スタイル */
:root {
    --brand-green: #228B22; /* 伝・ブランドカラー */
    --text-black: #333333;
    --bg-white: #FFFFFF;
    --max-width: 1100px;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-black);
    line-height: 1.6;
}

.l-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.c-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--brand-green);
}

.c-header__logo img {
    height: 50px;
}

.c-nav__list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.c-nav__link {
    text-decoration: none;
    color: var(--text-black);
    font-weight: bold;
}

.c-nav__link:hover {
    color: var(--brand-green);
}

/* フッター */
.c-footer {
    background: #f4f4f4;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 5px solid var(--brand-green);
}

/* ヒーローエリアのスタイル */
.p-hero {
    position: relative;
    width: 100%;
    height: 60vh; /* PC環境での高さ */
    min-height: 400px;
    overflow: hidden;
    background: #000;
}

.p-hero__video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 視認性確保のためのレイヤー */
}

.p-hero__copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
}

.p-hero__title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* 最新情報グリッド */
.p-top-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.c-info-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
}

.c-info-card__label {
    display: inline-block;
    background: var(--brand-green);
    color: #fff;
    padding: 2px 12px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .p-top-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ユーティリティ */
.u-m-t-40 { margin-top: 40px; }

/* セクション見出し */
.c-section-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.c-section-header__title {
    border-left: 5px solid var(--brand-green);
    padding-left: 15px;
    font-size: 1.5rem;
}

/* カード内リスト */
.c-info-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.c-info-card__list li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 0.95rem;
}

.c-info-card__list li .date {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.c-info-card__list li a {
    text-decoration: none;
    color: var(--text-black);
}

.c-info-card__list li a:hover {
    color: var(--brand-green);
    text-decoration: underline;
}

.c-info-card__list li.is-empty {
    color: #999;
    border: none;
}

/* ボタン */
.c-btn--more {
    display: inline-block;
    background: #f4f4f4;
    padding: 5px 15px;
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    border-radius: 3px;
    transition: 0.2s;
}

.c-btn--more:hover {
    background: var(--brand-green);
    color: #fff;
}

/* レイアウト構造 */
.l-content-layout {
    display: flex;
    gap: 40px;
}

.l-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.l-main {
    flex-grow: 1;
}

/* ページタイトル */
.c-page-title {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--brand-green);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* サイドナビ */
.c-side-nav {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.c-side-nav__title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--brand-green);
}

.c-side-nav__list {
    list-style: none;
    padding: 0;
}

.c-side-nav__link {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: var(--text-black);
    border-bottom: 1px solid #eee;
}

.c-side-nav__link:hover {
    color: var(--brand-green);
}

/* 沿革（タイムライン） */
.c-timeline {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px 10px;
}

.c-timeline__date {
    font-weight: bold;
    color: var(--brand-green);
}

.c-timeline__desc {
    margin: 0;
    padding-bottom: 20px;
    border-left: 2px solid #eee;
    padding-left: 20px;
    position: relative;
}

.c-timeline__desc::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--brand-green);
    border-radius: 50%;
}

/* レスポンシブ：スマホでは1カラムに */
@media (max-width: 767px) {
    .l-content-layout {
        flex-direction: column;
    }
    .l-sidebar {
        width: 100%;
        order: 2; /* コンテンツの後に表示 */
    }
}

/* 理念用メッセージボックスの強化 */
.c-message-box {
    background: #f9fdf9;
    padding: 40px;
    border: 1px solid #e2eee2;
    border-left: 8px solid var(--brand-green);
    border-radius: 4px;
    line-height: 2;
}

/* 活動計画アイテム */
.c-plan-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-plan-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.c-plan-item:hover {
    border-color: var(--brand-green);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.c-plan-item__title {
    color: var(--brand-green);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* 組織図プレースホルダー */
.c-org-placeholder {
    padding: 40px;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    color: #888;
}

/* ユーティリティ */
.u-font-lg { font-size: 1.3rem; }

/* 伝え人グリッド */
.p-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* メンバーカード */
.c-member-card {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.c-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.c-member-card__img {
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.c-member-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-member-card__body {
    padding: 20px;
}

.c-member-card__role {
    font-size: 0.85rem;
    color: var(--brand-green);
    font-weight: bold;
    margin-bottom: 5px;
}

.c-member-card__name {
    font-size: 1.25rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.c-member-card__text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
}

/* プレースホルダー用スタイル */
.c-placeholder-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-weight: bold;
    background: #f9f9f9;
}

.is-placeholder {
    opacity: 0.7;
}

/* リード文 */
.c-page-lead {
    margin-top: 10px;
    color: #666;
}

/* サイドバーウィジェット共通 */
.c-side-widget {
    margin-bottom: 40px;
}

.c-side-widget__title {
    font-size: 1rem;
    font-weight: bold;
    border-bottom: 2px solid var(--text-black);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* サイドバー内ニュースリスト */
.c-side-news-list {
    list-style: none;
    padding: 0;
}

.c-side-news-list li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 0.9rem;
}

.c-side-news-list .date {
    display: block;
    color: #888;
    font-size: 0.8rem;
}

/* 支援バナー */
.c-side-banner {
    display: block;
    background: var(--brand-green);
    color: #fff;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.c-side-banner:hover {
    opacity: 0.8;
}

.c-side-banner__text {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
}

.c-side-banner__sub {
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

/* 活動カテゴリセクション */
.p-activity-cat {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* 活動カードグリッド */
.p-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 活動カード */
.c-activity-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.c-activity-card__body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.c-activity-card__title {
    font-size: 1.1rem;
    color: var(--brand-green);
    margin-bottom: 10px;
    font-weight: bold;
}

.c-activity-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

/* 準備中ラベル */
.c-label--prepare {
    display: inline-block;
    font-size: 0.75rem;
    background: #eee;
    color: #888;
    padding: 2px 8px;
    border-radius: 2px;
    align-self: flex-start;
}

/* ユーティリティ追加 */
.u-m-t-60 { margin-top: 60px; }

/* 収支報告テーブル */
.c-report-table-wrapper {
    overflow-x: auto; /* スマホ対策 */
}

.c-report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.c-report-table th {
    background: #f4f4f4;
    border-top: 2px solid var(--text-black);
    padding: 12px;
    text-align: left;
    font-size: 0.9rem;
}

.c-report-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* PDFリンクアイコン */
.c-link--pdf {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.c-link--pdf::before {
    content: "PDF";
    font-size: 10px;
    background: #e74c3c; /* PDFの赤 */
    color: #fff;
    padding: 2px 4px;
    border-radius: 2px;
    margin-right: 8px;
}

.c-link--pdf:hover {
    text-decoration: underline;
}

/* バッジ・ユーティリティ */
.c-badge--pdf {
    font-size: 0.75rem;
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
    color: #666;
}

.u-text-sm { font-size: 0.85rem; }
.u-text-muted { color: #999; }

/* 部会見出し（第一階層） */
.c-dept-heading {
    font-size: 1.5rem;
    color: var(--brand-green);
    border-left: 6px solid var(--brand-green);
    padding: 5px 15px;
    background: #f9fdf9;
    margin-bottom: 20px;
}

/* 項目見出し（第二階層） */
.c-item-subheading {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    font-weight: bold;
}

/* カードグリッド（第三階層：記事カード） */
.p-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-left: 25px; /* ∟記号に合わせて右にずらす */
}

/* 記事カード */
.c-activity-card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.c-activity-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--brand-green);
}

.c-activity-card__body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.c-activity-card__title {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-black);
}

.c-activity-card__summary {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.c-activity-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 10px;
    font-size: 0.8rem;
}

.c-activity-card__footer .date { color: #999; }

.c-btn-text {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: bold;
}

/* ユーティリティ */
.u-p-l-20 { padding-left: 20px; }

/* フォーム共通 */
.c-form__item {
    margin-bottom: 25px;
}

.c-form__label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.c-form__input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.c-form__input.h-200 { height: 200px; }

/* ボタン類 */
.c-btn--primary {
    background: var(--brand-green);
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

.c-btn--back {
    background: #999;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.c-badge--required {
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 5px;
}

/* ユーティリティ */
.u-flex { display: flex; }
.u-justify-center { justify-content: center; }
.u-gap-20 { gap: 20px; }

/* 検索結果リスト */
.c-search-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.c-search-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.c-search-item__cat {
    font-size: 0.75rem;
    background: var(--brand-green);
    color: #fff;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
    display: inline-block;
}

.c-search-item__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.c-search-item__title a {
    text-decoration: none;
    color: var(--text-black);
}

.c-search-item__title a:hover {
    color: var(--brand-green);
    text-decoration: underline;
}

.c-search-item__excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.c-search-item__date {
    font-size: 0.8rem;
    color: #999;
}

.c-btn--download {
    display: inline-block;
    padding: 12px 24px;
    background: #2b579a; /* Wordイメージカラー */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.c-btn--download span {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    margin-right: 10px;
    border-radius: 2px;
}
.c-btn--download:hover {
    opacity: 0.9;
}