@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&display=swap&subset=japanese");

/* 共通 */
html {
    font-size: 100%;
}

body {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    line-height: 1.5;
    background-color: #fff;
}

.wrapper {
    width: 620px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ヘッダー */
header {
    border-top: 8px solid #29B6F6;
}

.header_content {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 20px 0;
}

.header_logo {
    margin: 0 0 auto 0;
    width: 250px;
    height: auto;
}

.header_logo_text {
    font-size: 32px;
    font-weight: bold;
    color: #1a2456;
    text-decoration: none;
    letter-spacing: 2px;
}

.header_pc nav {
    display: flex;
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    white-space: nowrap;
}

.header_pc nav ul li a:hover,
.header_pc nav ul li a:active,
.header_pc nav ul li.current a {
    color: #29B6F6;
}

.humberger-menu {
    display: none;
}

.scroll {
    max-height: 300px;
    overflow: auto;
}

/* 内容 */
.contents {
    margin-top: 30px;
}

#main_image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
}

#aboutus {
    margin: 30px 0;
    padding: 30px 0;
    background-color: #F0F9FF;
}

#aboutus h2 {
    text-align: center;
}

#aboutus p {
    text-align: center;
    margin: 20px 0 30px 0;
}

#info {
    width: 70%;
    margin: 0 auto;
}

#info dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

#info dt {
    width: 6em;
}

#info dd {
    width: calc(100% - 9em);
}

#info dt,
#info dd {
    border-bottom: #ccc solid 1.5px;
    padding: 10px 0;
}

main p iframe {
    width: 50%;
    max-width: 100%;
    height: auto;
}

.gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}

.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

/* スポーツ写真ギャラリー */
.sports-gallery {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 20px 10px;
}

.sports-gallery-item {
    flex: 1;
    max-width: 220px;
    text-align: center;
}

.sports-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.sports-gallery-item span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #555;
    font-weight: bold;
}

.switch {
    margin-top: 30px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-around;
}

.switch a {
    font-size: 20px;
    padding: 10px 18px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #29B6F6;
}

.switch a:hover,
.switch a:active {
    opacity: .7;
}

main table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

main table td {
    padding: 10px 0;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: break-word;
}

main table tr:nth-child(odd) {
    background-color: #F0F9FF;
}

/* メンバーカード */
.members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 30px 0;
}

.member-card {
    width: 220px;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    background-color: #fff;
}

.member-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.member-card .member-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #0288D1;
}

.member-card .member-role {
    font-size: 14px;
    color: #777;
}

/* 活動内容カード */
.activity-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.activity-card {
    width: 280px;
    border-top: 4px solid #29B6F6;
    padding: 20px;
    background-color: #F0F9FF;
}

.activity-card h3 {
    margin-top: 0;
    font-size: 18px;
}

/* 会員募集 */
.membership-box {
    border: 2px solid #29B6F6;
    border-radius: 4px;
    padding: 30px;
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
}

.membership-box .price {
    font-size: 36px;
    font-weight: bold;
    color: #0288D1;
    margin: 15px 0;
}

.membership-box .price span {
    font-size: 18px;
}

/* フッター */
footer {
    margin-top: 40px;
    padding: 30px;
    text-align: center;
    color: #fff;
    background-color: #0288D1;
}

footer ul {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

footer ul li {
    display: inline-block;
    margin: 5px;
}

footer ul li a {
    color: #fff;
}

footer ul li a:link {
    text-decoration: none;
}

footer ul li a:hover,
footer ul li a:active {
    opacity: .7;
}

small {
    font-size: 0.7rem;
}

/* 見出し */
h2 {
    font-size: 30px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 15px;
    padding: 10px 0;
    text-align: center;
    color: #0288D1;
}

h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-top: 5px;
    clear: both;
    color: #0288D1;
}

h4 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

h5 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

p {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* 一般 */
ul {
    list-style-type: square;
}

li {
    margin-left: 30px;
    margin-bottom: 10px;
}

figure {
    margin: 20px 0;
    justify-content: center;
    display: flex;
}

/* ページ内コンテンツ幅 */
.main_content {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* ヒーローバナー */
.hero {
    background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.hero h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
}

/* 目的セクション */
.purpose-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.purpose-item {
    flex: 0 0 calc(33% - 20px);
    min-width: 260px;
    border-left: 5px solid #29B6F6;
    padding: 20px 20px 20px 25px;
    background-color: #F0F9FF;
}

.purpose-item .purpose-num {
    font-size: 28px;
    font-weight: bold;
    color: #29B6F6;
    line-height: 1;
    margin-bottom: 8px;
}

.purpose-item h3 {
    margin-top: 5px;
    font-size: 18px;
}

/* レスポンシブ */
@media (min-width: 769px) and (max-width: 1265px) {

    .wrapper {
        padding: 0 40px;
    }

    .header_pc {
        display: none;
    }

    .humberger-menu {
        display: block;
    }

    .menu-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #29B6F6;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #fff;
        position: absolute;
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);
    }

    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-btn-check {
        display: none;
    }

    nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        background-color: #0288D1;
        transition: all 0.5s;
    }

    nav ul li {
        list-style: none;
    }

    header nav ul li a {
        width: 100%;
        color: #fff;
        font-size: 15px;
        box-sizing: border-box;
        text-decoration: none;
        position: relative;
    }

    #mobile_nav li a::after {
        position: absolute;
        bottom: -4px;
        left: 0;
        content: '';
        width: 100%;
        height: 2px;
        background: #fff;
        transform: scale(0, 1);
        transform-origin: left top;
        transition: transform .3s;
    }

    #mobile_nav li a:hover::after {
        transform: scale(1, 1);
    }

    header nav ul li a:hover,
    header nav ul li a:active,
    header nav ul li.current a {
        color: #fff;
    }

    #mobile_nav {
        padding: 70px 10px 0;
        flex-direction: column;
    }

    #mobile_nav li {
        margin: 10px 50px;
    }

    #menu-btn-check:checked ~ nav {
        left: 0;
    }
}

@media (max-width: 768px) {

    .wrapper {
        width: auto;
        margin: 0 10px;
    }

    .header_pc {
        display: none;
    }

    .humberger-menu {
        display: block;
    }

    .menu-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #29B6F6;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #fff;
        position: absolute;
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);
    }

    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-btn-check {
        display: none;
    }

    nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        background-color: #0288D1;
        transition: all 0.5s;
    }

    nav ul li {
        list-style: none;
    }

    header nav ul li a {
        width: 100%;
        color: #fff;
        font-size: 15px;
        box-sizing: border-box;
        text-decoration: none;
        position: relative;
    }

    #mobile_nav li a::after {
        position: absolute;
        bottom: -4px;
        left: 0;
        content: '';
        width: 100%;
        height: 2px;
        background: #fff;
        transform: scale(0, 1);
        transform-origin: left top;
        transition: transform .3s;
    }

    #mobile_nav li a:hover::after {
        transform: scale(1, 1);
    }

    header nav ul li a:hover,
    header nav ul li a:active,
    header nav ul li.current a {
        color: #fff;
    }

    #mobile_nav {
        padding: 70px 10px 0;
        flex-direction: column;
    }

    #mobile_nav li {
        margin: 10px 50px;
    }

    #menu-btn-check:checked ~ nav {
        left: 0;
    }

    /* 内容 */
    .contents {
        flex-direction: column;
        margin-top: 10px;
    }

    .main_content {
        width: 95%;
        padding-bottom: 20px;
    }

    .switch {
        margin-bottom: 20px;
    }

    #main_image img {
        width: 100%;
        max-width: 100%;
    }

    #aboutus br {
        display: none;
    }

    #aboutus p {
        margin: 0 20px 20px;
        text-align: left;
    }

    #info {
        width: 90%;
    }

    .purpose-item {
        flex: 0 0 100%;
    }

    .members-grid {
        gap: 20px;
    }

    .activity-cards {
        flex-direction: column;
        align-items: center;
    }

    .activity-card {
        width: 90%;
    }

    .sports-gallery {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sports-gallery-item {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }

    .hero h2 {
        font-size: 26px;
    }

    /* ヘッダーロゴ */
    .header_logo {
        width: 120px;
    }

    /* メンバーカード縦積み */
    .member-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .member-row img {
        margin-bottom: 15px;
    }

    .member-row ul {
        text-align: left;
        display: inline-block;
    }

    /* テーブルスクロール */
    .table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-scroll table {
        min-width: 480px;
        font-size: 13px;
    }

    /* イベント報告 画像 */
    .result-photo {
        width: 100%;
        height: auto !important;
        max-width: 100%;
        display: block;
        margin-bottom: 8px;
    }

}

/* schedule.html */
/* イベント詳細カード */
.event-detail {
    border: 2px solid #29B6F6;
    border-radius: 6px;
    overflow: hidden;
    margin: 40px 0;
}
.event-detail-header {
    background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
    color: #fff;
    padding: 20px 25px;
}
.event-detail-header h3 {
    color: #fff;
    margin: 0 0 6px 0;
    font-size: 22px;
}
.event-detail-header .event-meta {
    font-size: 14px;
    opacity: 0.9;
}
.event-detail-body {
    padding: 25px;
    background-color: #fff;
}
.event-detail-body h4 {
    color: #0288D1;
    border-left: 4px solid #29B6F6;
    padding-left: 10px;
    margin-top: 25px;
}
.event-timetable {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 20px;
    font-size: 14px;
}
.event-timetable th {
    background-color: #0288D1;
    color: #fff;
    padding: 8px 12px;
    text-align: left;
}
.event-timetable td {
    padding: 8px 12px;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
}
.event-timetable tr:nth-child(even) td {
    background-color: #F0F9FF;
}
.guest-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 10px 0 20px;
}
.guest-card {
    flex: 1;
    min-width: 200px;
    background-color: #F0F9FF;
    border-left: 4px solid #29B6F6;
    padding: 15px;
}
.guest-card .guest-name {
    font-size: 16px;
    font-weight: bold;
    color: #0288D1;
    margin-bottom: 4px;
}
.guest-card .guest-desc {
    font-size: 13px;
    color: #555;
}
.seminar-blocks {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.seminar-block {
    flex: 1;
    min-width: 180px;
    background-color: #F0F9FF;
    padding: 15px;
    border-top: 3px solid #29B6F6;
}
.seminar-block h5 {
    color: #0288D1;
    margin-bottom: 8px;
}
.seminar-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}
.seminar-block ul li {
    margin-left: 0;
    margin-bottom: 4px;
}
.seminar-block ul li::before {
    content: "・";
}
.apply-btn {
    display: inline-block;
    background-color: #0288D1;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    margin-top: 10px;
}
.apply-btn:hover { opacity: 0.8; }
.notice-box {
    background-color: #FFF8E1;
    border-left: 4px solid #FFC107;
    padding: 12px 15px;
    margin: 10px 0;
    font-size: 13px;
    color: #555;
}
/* アコーディオン行 */
.toggle-btn {
    background: none;
    border: none;
    color: #0288D1;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
}
.toggle-btn:hover { opacity: 0.7; }
.normal-link a,
.normal-link a:visited {
    color: #0288D1;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}
.normal-link a:hover { opacity: 0.7; }
.toggle-btn .arrow {
    display: inline-block;
    transition: transform 0.25s;
    font-style: normal;
    font-size: 12px;
}
.toggle-btn.open .arrow { transform: rotate(90deg); }
.detail-row { display: none; }
.detail-row td {
    padding: 0 !important;
    border-bottom: 2px solid #29B6F6;
}
.detail-inner {
    padding: 25px;
    background-color: #F8FDFF;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.schedule-table th {
    background-color: #0288D1;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-size: 15px;
}
.schedule-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
}
.schedule-table tr:nth-child(even) {
    background-color: #F0F9FF;
}
.schedule-table tr:hover {
    background-color: #E1F5FE;
}
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}
.badge-race    { background-color: #0288D1; color: #fff; }
.badge-event   { background-color: #26C6DA; color: #fff; }
.badge-practice{ background-color: #78909C; color: #fff; }

/* members.html — 運営メンバー横スクロール */
.member-scroll-wrap {
    position: relative;
    margin: 30px -20px 10px;
}

.member-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    padding: 10px 20px 24px;
    scrollbar-width: thin;
    scrollbar-color: #29B6F6 #E1F5FE;
}

.member-scroll:has(> .member-card-mini:only-child) {
    justify-content: center;
}

.member-scroll::-webkit-scrollbar {
    height: 8px;
}

.member-scroll::-webkit-scrollbar-track {
    background: #E1F5FE;
    border-radius: 4px;
}

.member-scroll::-webkit-scrollbar-thumb {
    background: #29B6F6;
    border-radius: 4px;
}

.member-card-mini {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background-color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(2, 136, 209, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
    font-family: inherit;
    position: relative;
}

.member-card-mini:hover,
.member-card-mini:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 136, 209, 0.18);
    outline: none;
}

.member-card-mini::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #29B6F6, #0288D1);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.member-card-mini:hover::after,
.member-card-mini:focus-visible::after {
    opacity: 1;
}

.member-card-mini-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background-color: #F0F9FF;
}

.member-card-mini-body {
    padding: 14px 16px 18px;
}

.member-card-mini-name {
    font-size: 16px;
    font-weight: bold;
    color: #1a2456;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.member-card-mini-role {
    font-size: 12px;
    color: #0288D1;
    line-height: 1.4;
    font-weight: 500;
    min-height: 2.8em;
}

.scroll-hint {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: -4px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* メンバー詳細モーダル */
.member-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 25, 50, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: modal-fade 0.25s ease;
}

.member-modal.is-open {
    display: flex;
}

@keyframes modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.member-modal-content {
    background-color: #fff;
    border-radius: 12px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modal-slide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-slide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.member-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1a2456;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.member-modal-close:hover {
    background-color: #29B6F6;
    color: #fff;
    transform: rotate(90deg);
}

.member-modal-header {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E1F5FE 100%);
    border-radius: 12px 12px 0 0;
}

.member-modal-img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(2, 136, 209, 0.2);
}

.member-modal-titles {
    padding-bottom: 8px;
    flex: 1;
    min-width: 0;
}

.member-modal-name {
    font-size: 26px;
    font-weight: bold;
    color: #1a2456;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.member-modal-role {
    font-size: 14px;
    color: #0288D1;
    font-weight: bold;
}

.member-modal-body {
    padding: 24px 30px 30px;
}

.member-modal-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.member-modal-body h4 {
    font-size: 14px;
    color: #0288D1;
    border-left: 3px solid #29B6F6;
    padding-left: 10px;
    margin: 18px 0 10px;
}

.member-modal-body ul {
    margin: 8px 0 16px;
    padding-left: 20px;
}

.member-modal-body ul li {
    font-size: 14px;
    margin-left: 0;
    margin-bottom: 6px;
    line-height: 1.5;
}

.member-modal-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.member-modal-links a {
    display: inline-block;
    padding: 8px 18px;
    background-color: #0288D1;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.member-modal-links a:hover {
    background-color: #29B6F6;
    transform: translateY(-2px);
}

body.modal-open {
    overflow: hidden;
}

/* results.html — 写真ギャラリー横スクロール */
.result-gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    padding: 12px 20px 20px;
    margin: 14px -20px 8px;
    scrollbar-width: thin;
    scrollbar-color: #29B6F6 #E1F5FE;
}

.result-gallery::-webkit-scrollbar {
    height: 8px;
}

.result-gallery::-webkit-scrollbar-track {
    background: #E1F5FE;
    border-radius: 4px;
}

.result-gallery::-webkit-scrollbar-thumb {
    background: #29B6F6;
    border-radius: 4px;
}

.result-photo-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(2, 136, 209, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: zoom-in;
    background-color: #F0F9FF;
}

.result-photo-link:hover,
.result-photo-link:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 136, 209, 0.22);
    outline: none;
}

.result-photo-link img {
    height: 200px;
    width: auto;
    display: block;
    object-fit: cover;
}

/* 画像ライトボックス */
.image-lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 25, 50, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 40px 20px;
    animation: modal-fade 0.25s ease;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: modal-slide 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1a2456;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.image-lightbox-close:hover {
    background-color: #29B6F6;
    color: #fff;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .member-modal-header {
        gap: 16px;
        padding: 24px 20px 18px;
        align-items: center;
    }

    .member-modal-img {
        width: 120px;
        height: 150px;
    }

    .member-modal-name {
        font-size: 22px;
        letter-spacing: 0.5px;
    }

    .member-modal-body {
        padding: 20px 20px 26px;
    }
}

/* activities.html */
.private-lesson {
    text-align: center;
}

.private-lesson .lesson-table {
    width: auto;
    display: inline-table;
    margin-left: auto;
    margin-right: auto;
}

.private-lesson .lesson-table th,
.private-lesson .lesson-table td {
    text-align: center;
}

.private-lesson .lesson-table th:not(:last-child),
.private-lesson .lesson-table td:not(:last-child) {
    border-right: 1px dotted #ccc;
}
