@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: 9em;
}

#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; }

/* 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;
}
