/* ============================================================
   NPO現代座 infoセクション専用スタイル
   ============================================================ */

/* ----------------------------------------------------------
   ページ幅
   ---------------------------------------------------------- */
.page-wrapper {
    max-width: 1000px;
}

/* ----------------------------------------------------------
   セクションナビ（kaikan-navと同パターン）
   ---------------------------------------------------------- */
.info-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
    background: #f0f5f0;
    border-bottom: 2px solid #c8e6c9;
}

.info-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: bold;
    color: var(--main-green-dark);
    background: white;
    border: 1px solid #b2dfb2;
    transition: background 0.2s, color 0.2s;
}

.info-nav a:hover {
    background: var(--main-green);
    color: white;
    border-color: var(--main-green);
    text-decoration: none;
}

.info-nav a.current {
    background: var(--main-green);
    color: white;
    border-color: var(--main-green-dark);
    pointer-events: none;
    cursor: default;
}

/* ----------------------------------------------------------
   コンテンツエリア
   ---------------------------------------------------------- */
.info-main {
    padding: 30px 30px 60px;
    max-width: 860px;
}

.info-main h1 {
    font-size: 1.6rem;
    color: var(--main-green-dark);
    border-bottom: 3px solid var(--main-green);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* ----------------------------------------------------------
   概要テーブル（NPO現代座とは ページ）
   ---------------------------------------------------------- */
.overview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
}

.overview-table th,
.overview-table td {
    border: 1px solid #ddd;
    padding: 10px 14px;
    vertical-align: top;
    line-height: 1.7;
}

.overview-table th {
    background-color: #f0f5f0;
    color: var(--main-green-dark);
    font-weight: bold;
    white-space: nowrap;
    width: 110px;
}

@media (max-width: 600px) {
    .overview-table th,
    .overview-table td {
        display: block;
        width: 100%;
    }
    .overview-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
}

/* ----------------------------------------------------------
   セクションブロック（事業内容 ページ）
   ---------------------------------------------------------- */
.section-block {
    margin: 30px 0;
    padding: 20px 24px;
    background: #fafffe;
    border-left: 4px solid var(--main-green);
    border-radius: 0 6px 6px 0;
}

.section-block h2 {
    border-left: none;
    padding-left: 0;
    margin-top: 0;
    font-size: 1.2rem;
}

/* ----------------------------------------------------------
   沿革テーブル（history ページ）
   ---------------------------------------------------------- */
.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.history-table th,
.history-table td {
    border: 1px solid #ddd;
    padding: 10px 14px;
    vertical-align: top;
    line-height: 1.7;
}

.history-table th {
    background-color: #f0f5f0;
    color: var(--main-green-dark);
    font-weight: bold;
    white-space: nowrap;
    width: 90px;
    text-align: center;
}

@media (max-width: 600px) {
    .history-table tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    .history-table th,
    .history-table td {
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid #eee;
    }
    .history-table th {
        background-color: #e8f5e9;
        padding: 6px 14px;
    }
}

/* ----------------------------------------------------------
   会員募集（kaiin ページ）
   ---------------------------------------------------------- */
.member-box {
    background: #fff9e6;
    border: 2px solid var(--accent-yellow);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0;
    line-height: 2;
}

.member-box strong {
    color: var(--main-green-dark);
}
