:root {
    --sums-blue: #005bac;
    --sums-blue-dark: #003f7d;
    --lake-blue: #e8f4fb;
    --field-green: #2f9e6d;
    --ink: #102033;
    --muted: #65758b;
    --line: #b8d8ec;
    --paper: #ffffff;
    --soft: #f6f9fc;
    --glass: rgba(255, 255, 255, 0.68);
    --glass-blue: rgba(232, 247, 255, 0.78);
    --glass-border: rgba(74, 149, 205, 0.32);
    --page-hero-image: linear-gradient(135deg, rgba(0, 63, 125, 0.8), rgba(0, 139, 127, 0.62));
    --corner: 0;
}

* {
    box-sizing: border-box;
}

body {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(120, 199, 238, 0.3), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(0, 91, 172, 0.16), transparent 32%),
        linear-gradient(180deg, #f7fcff 0%, #eaf6fd 48%, #f7fcff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
    line-height: 1.7;
}

a {
    color: var(--sums-blue);
}

img {
    max-width: 100%;
    display: block;
}

.page-main {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 40px 0 72px;
}

.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: 24px;
    padding: clamp(28px, 6vw, 52px);
    border: 1px solid rgba(187, 226, 248, 0.32);
    border-radius: var(--corner);
    background:
        linear-gradient(135deg, rgba(0, 38, 74, 0.9), rgba(0, 139, 127, 0.52)),
        linear-gradient(0deg, rgba(0, 24, 48, 0.52), rgba(255, 255, 255, 0.06)),
        var(--page-hero-image);
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 50px rgba(0, 35, 70, 0.2);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
}

.about-page {
    --page-hero-image: url("../img/activity/IMG_8361.webp");
}

.member-page {
    --page-hero-image: url("../img/activity/IMG_8364.webp");
}

.record-page {
    --page-hero-image: url("../img/activity/IMG_8362.webp");
}

.blog-page {
    --page-hero-image: url("../img/top.webp");
}

.page-kicker {
    margin: 0 0 8px;
    color: rgba(232, 247, 255, 0.86);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
}

.page-lead {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--muted);
}

.updated {
    margin: 14px 0 0;
    color: rgba(232, 247, 255, 0.8);
    font-size: 14px;
    text-align: right;
}

.page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    overflow: hidden;
    margin: 20px 0 0;
    width: fit-content;
    max-width: 100%;
    padding: 4px;
    border: 1px solid rgba(187, 226, 248, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.page-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    text-decoration: none;
}

.page-tabs a + a::before {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -1px;
    width: 1px;
    background: rgba(204, 235, 251, 0.18);
}

.page-tabs a:hover,
.page-tabs a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    outline: none;
}

.content-card,
.section {
    margin: 18px 0;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--glass-border);
    border-radius: var(--corner);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(232, 247, 255, 0.5)),
        var(--glass);
    box-shadow: 0 16px 44px rgba(0, 63, 125, 0.08);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
}

#practice.content-card {
    overflow: hidden;
    padding: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(232, 247, 255, 0.5)),
        var(--glass);
}

#schedule.content-card {
    overflow: hidden;
    padding: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(232, 247, 255, 0.5)),
        var(--glass);
}

#practice.content-card h2,
#schedule.content-card h2 {
    margin: 0;
    padding: 28px clamp(22px, 4vw, 34px);
    color: #fff;
    border-bottom: 0;
}

#practice.content-card h2 {
    background:
        linear-gradient(135deg, rgba(0, 38, 74, 0.82), rgba(0, 139, 127, 0.42)),
        url("../img/activity/IMG_8360.webp") center / cover;
}

#schedule.content-card h2 {
    background:
        linear-gradient(135deg, rgba(0, 38, 74, 0.82), rgba(0, 139, 127, 0.42)),
        url("../img/activity/IMG_8363.webp") center 42% / cover;
}

#practice.content-card .info-grid,
#schedule.content-card .schedule-grid {
    padding: clamp(22px, 4vw, 34px);
    border: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

#practice.content-card .info-item strong,
#schedule.content-card .schedule-item strong {
    color: var(--sums-blue);
}

#practice.content-card .info-item,
#schedule.content-card .schedule-item {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(74, 149, 205, 0.28);
    box-shadow: 0 10px 24px rgba(0, 63, 125, 0.08);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
}

#practice.content-card .info-item span,
#schedule.content-card .schedule-item span {
    color: var(--ink);
    text-shadow: none;
}

.content-card h2,
.section h2,
.record-main h2 {
    margin: 0 0 16px;
    padding: 0 0 10px;
    color: var(--sums-blue-dark);
    border-bottom: 2px solid var(--lake-blue);
    font-size: clamp(22px, 3vw, 30px);
}

.content-card h3,
.section h3,
.record-main h3 {
    margin: 18px 0 10px;
    color: var(--ink);
    font-size: 18px;
}

.content-card p,
.section p {
    margin: 0 0 12px;
}

.highlight {
    color: var(--sums-blue-dark);
    font-weight: 800;
}

.info-grid,
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.info-item,
.schedule-item {
    padding: 16px;
    border: 1px solid var(--glass-border);
    border-radius: var(--corner);
    background: rgba(255, 255, 255, 0.55);
}

.info-item strong,
.schedule-item strong {
    display: block;
    color: var(--sums-blue);
    font-size: 13px;
}

.info-item span,
.schedule-item span {
    display: block;
    margin-top: 6px;
    font-weight: 800;
}

.columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.column {
    min-width: 0;
}

.member {
    display: grid;
    gap: 0;
}

.member p {
    margin: 0;
    color: var(--muted);
}

.member p:has(strong) {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
}

.member p:has(strong):first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.member strong {
    color: var(--ink);
}

.record-main > h2 {
    margin-top: 34px;
}

.record-main table {
    width: 100%;
    display: block;
    overflow-x: auto;
    margin: 12px 0 24px;
    border: 1px solid var(--glass-border);
    border-radius: var(--corner);
    border-collapse: separate;
    border-spacing: 0;
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(130%);
}

.record-main tbody {
    display: table;
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.record-main th,
.record-main td {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid rgba(74, 149, 205, 0.22);
    text-align: left;
    white-space: nowrap;
}

.record-main th {
    color: #fff;
    background: var(--sums-blue-dark);
    font-weight: 800;
}

.record-main td:first-child,
.record-main td:nth-child(3) {
    font-weight: 800;
}

.record-main tr:last-child td {
    border-bottom: 0;
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 18px;
    border-radius: 0;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.school_img {
    width: 100%;
    border-radius: 0;
}

@media screen and (max-width: 820px) {
    .page-main {
        width: min(100% - 28px, 1120px);
        padding: 24px 0 88px;
    }

    .info-grid,
    .schedule-grid,
    .columns {
        grid-template-columns: 1fr;
    }

    .updated {
        text-align: left;
    }
}

@media screen and (max-width: 520px) {
    .page-main {
        width: min(100% - 24px, 1120px);
    }

    .page-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
    }

    .page-tabs a {
        flex: 0 0 auto;
    }

    .content-card,
    .section {
        padding: 20px 16px;
    }
}
