/* group-youth.css */

/* 必要であれば青年会ページ専用のヘッダー背景 */
header {
    background-image: url("../imgs/top/groups_youth_header.jpg");
}

/* ページヘッダー */
.youth-page-header {
    background-color: #f9f9f7;
}

.youth-page-title-block {
    max-width: 720px;
}

.youth-page-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.youth-page-lead {
    font-size: 0.95rem;
    line-height: 1.9;
}

/* 詳細レイアウト */
.youth-detail-section {
    background-color: #fff;
}

.youth-detail-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.youth-detail-body {
    flex: 1 1 260px;
    max-width: 720px;
    font-size: 0.95rem;
    line-height: 1.9;
}

.youth-detail-heading {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.youth-detail-aside {
    flex: 0 0 240px;
    font-size: 0.9rem;
    background-color: #f9f9f7;
    border-radius: 10px;
    border: 1px solid #e0e0dd;
    padding: 1.1rem 1.3rem;
}

.youth-detail-aside dl {
    margin: 0;
}

.youth-detail-aside > dl > div {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    column-gap: 0.5rem;
    row-gap: 0.3rem;
    margin-bottom: 0.4rem;
}

.youth-detail-aside dt {
    color: #666;
}

.youth-detail-aside dd {
    margin: 0;
}

/* 戻るボタン */
.youth-back-section {
    background-color: #f9f9f7;
}

.youth-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid #14285a;
    color: #14285a;
    background-color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease,
        border-color 0.2s ease, box-shadow 0.2s ease;
}

.youth-back-button:hover,
.youth-back-button:focus-visible {
    background-color: #14285a;
    color: #ffffff;
    border-color: #14285a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* スマホ向け：1カラム */
@media (max-width: 767px) {
    .youth-page-title {
        font-size: 1.4rem;
    }

    .youth-detail-layout {
        flex-direction: column;
    }

    .youth-detail-aside {
        flex: 1 1 auto;
    }
}
