/* tokyo/css/tokyo-youth.css */
/* 東京兼喜会青年部ページ専用スタイル */

/* 青年部セクション全体 */
.youth_section {

    margin: 0 auto;
    /*max-width: 960px;
    padding: 40px 30px;*/
    min-height: 60vh;

    .partition {
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        padding: 60px 80px;
        margin-bottom: 15px;
    }
}

/* ページタイトル */
.page_title {
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    padding-bottom: 15px;
}

/* セクション見出し */
.youth_section h2 {
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 29px;
    font-weight: bold;
    color: #2c3e50;
    border-bottom: 2px solid #34495e29;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 50px;
    position: relative;
}

.youth_section h2:first-of-type {
    margin-top: 0;
}


/* サブ見出し */
.youth_section h3 {
    font-size: 21px;
    font-weight: bold;
    color: #34495e;
    margin: 30px 0 15px 0;
    border-left: 4px solid #2c3e50;
    padding-left: 12px;
}

/* 段落 */
.youth_section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #333;
}

/* 青年部紹介セクション */
.youth_introduction {}

/* 追加: 青年部紹介 箇条書き */
.youth_points {
    margin: 25px 0 10px 0;
    list-style: disc;
    border: 1px solid #3e3e3e;
    padding: 20px 20px 20px 40px;
    border-radius: 14px;
}

.youth_points li {
    margin-bottom: 14px;
    line-height: 1.75;
    font-size: 16px;
    text-align: justify;
}

.youth_points_title {
    font-size: 22px;
    margin: 35px 0 10px 0;
    font-weight: bold;
    padding-left: 12px;
    color: #34495e;
}

/* 年間スケジュール */
.annual_schedule {}

p.schedule_note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

/* スケジュールテーブル */
.schedule_table {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    max-width: 750px;
    margin: 0 auto;
}

.schedule_header {
    display: grid;
    grid-template-columns: 80px 1fr 180px;
    background-color: #34495e;
    color: white;
    font-weight: bold;
    font-size: 15px;

    .month_col {
        background-color: #2c3e50;
    }
}

.schedule_header>div {
    padding: 12px 10px;
    text-align: center;
    border-right: 1px solid #2c3e50;

}

.schedule_header>div:last-child {
    border-right: none;
}

.schedule_row {
    display: grid;
    grid-template-columns: 80px 1fr 180px;
    border-bottom: 1px solid #eee;
}

.schedule_row:last-child {
    border-bottom: none;
}

.schedule_row:nth-child(even) {
    background-color: #f8f9fa;
}

.schedule_row>div {
    padding: 12px 10px;
    border-right: 1px solid #eee;
    font-size: 16px;
}

.schedule_row>div:last-child {
    border-right: none;
}

.month_col {
    text-align: center;
    font-weight: bold;
    background-color: #ecf0f1;

}

.event_col {
    text-align: left;
    line-height: 1.6;
}

.note_col {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 部員名簿 */
.member_roster {}

/* 名簿テーブル */
.roster_table {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    max-width: 750px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.roster_header {
    display: grid;
    grid-template-columns: 100px 1fr 180px 140px;
    background-color: #34495e;
    color: white;
    font-weight: bold;
    font-size: 15px;

    .position_col {
        text-align: center;
        font-weight: bold;
        background-color: #2c3e50;
    }
}

.roster_header>div {
    padding: 12px 10px;
    text-align: center;
    border-right: 1px solid #2c3e50;
}

.roster_header>div:last-child {
    border-right: none;
}

.roster_row {
    display: grid;
    grid-template-columns: 100px 1fr 180px 140px;
    border-bottom: 1px solid #eee;
}

.roster_row:last-child {
    border-bottom: none;
}

.roster_row:nth-child(even) {
    background-color: #f8f9fa;
}

.roster_row>div {
    padding: 12px 10px;
    border-right: 1px solid #eee;
    font-size: 16px;
}

.roster_row>div:last-child {
    border-right: none;
}

.position_col {
    text-align: center;
    font-weight: bold;
    background-color: #ecf0f1;
}

.name_col {
    text-align: left;
    line-height: 1.6;
}

.company_col {
    text-align: center;
}

.job_col {
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
}

/* 名簿注意事項 */
.roster_note {
    background-color: #f3eee1;
    border: 1px solid #f3eee1;
    border-radius: 6px;
    padding: 15px;
    max-width: 750px;
    margin: 0 auto;
    margin-top: 20px;

    ul {
        display: flex;
        flex-direction: row;
        font-size: 14px;
        flex-wrap: wrap;
        gap: 0 2em;

        li {
            margin-left: 20px;
        }
    }
}

.roster_note p {
    margin: 5px 0;
    font-size: 14px;
    color: #856404;
}

.roster_note strong {
    color: #664d03;
}

/* ボランティア活動セクション */
/* ボランティア活動ストーリー */
.volunteer_story p {
    margin-bottom: 18px;
}

.volunteer_quote {
    margin: 25px 0 10px 0;
    padding: 18px 24px;
    background: #ecf1f4;
    border-left: 4px solid #9fb4c2;
    border-radius: 4px;
    font-style: italic;
}

.volunteer_quote p {
    margin: 0 0 12px 0;
}

.volunteer_quote p:last-child {
    margin-bottom: 0;
}

/* 活動報告セクション */
.volunteer_reports .report_title {
    font-size: 22px;
    margin: 0 0 12px 0;
}

.volunteer_report_header {
    margin-bottom: 20px;
}

.volunteer_report_header .report_meta {
    font-size: 14px;
    line-height: 1.7;
}

.volunteer_report_header .report_meta div {
    margin-bottom: 4px;
}

.volunteer_report_body p {
    margin-bottom: 18px;
    text-align: justify;
}

/* リストスタイル */
.volunteer_activities ul {
    margin: 20px 0;
    padding-left: 25px;
}

.volunteer_activities li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
}

.volunteer_activities li strong {
    color: #2c3e50;
}

.volunteer_image {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 80%;

    img {
        width: 100%;
        display: block;
        border-radius: 8px;
    }

    .image_caption {
        font-size: 14px;
        color: #666;
        margin-top: 8px;
        font-style: italic;
        text-align: center;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .youth_section {
        .partition {
            padding: 40px 20px;
            margin-bottom: 15px;
        }
    }

    .page_title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .youth_section h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .youth_section h3 {
        font-size: 19px;
    }

    /* スケジュールテーブルをモバイル対応 */
    .schedule_header,
    .schedule_row {
        grid-template-columns: 60px 1fr 120px;
        font-size: 14px;
    }

    .schedule_header>div,
    .schedule_row>div {
        padding: 10px 8px;
    }

    /* 名簿テーブルをモバイル対応 */
    .roster_header,
    .roster_row {
        grid-template-columns: 80px 1fr 130px 110px;
        font-size: 14px;
    }

    .roster_header>div,
    .roster_row>div {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .youth_section {
        padding: 20px 15px;
    }

    .page_title {
        font-size: 29px;
        margin-bottom: 25px;
    }

    .youth_section h2 {
        font-size: 21px;
        margin-top: 35px;
    }

    .youth_section h3 {
        font-size: 18px;
    }

    .youth_section p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* スケジュールテーブルを縦並びに */
    .schedule_header,
    .schedule_row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .schedule_header>div,
    .schedule_row>div {
        border-right: none;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    .schedule_header>div:last-child,
    .schedule_row>div:last-child {
        border-bottom: none;
    }

    /* 名簿テーブルを縦並びに */
    .roster_header,
    .roster_row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }

    .roster_header>div,
    .roster_row>div {
        border-right: none;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    .roster_header>div:last-child,
    .roster_row>div:last-child {
        border-bottom: none;
    }

    .volunteer_activities li {
        font-size: 14px;
    }
}