.club-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.club-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform .2s,
        box-shadow .2s,
        border-color .2s;
    font: inherit;
    color: inherit;
    padding: 0;
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.club-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.club-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s;
}

.club-card:hover .club-image {
    transform: scale(1.05);
}

.club-info {
    padding: 18px 20px;
}

.jp-name {
    margin: 0;
    color: var(--page-accent);
    font-size: 1.25rem;
    font-weight: 700;
}

.en-name {
    margin: 6px 0 0;
    color: #777;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.club-modal-hidden {
    display: none !important;
}

#club-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.club-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(4px);
}

.club-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1100px, calc(100vw - 48px));
    max-height: calc(100vh - 60px);
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
}

#club-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f3f3f3;
    cursor: pointer;
    font-size: 1.6rem;
    transition: .2s;
    z-index: 10;
}

#club-close:hover {
    background: #e8e8e8;
}

#club-modal-body {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.club-modal-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 42px;
    padding: 40px;
}

.club-modal-left,
.club-modal-right {
    min-width: 0;
}

.club-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    margin: 24px 0;
}

.club-modal-left h2 {
    margin: 0;
    color: var(--page-accent);
    font-size: 2.2rem;
}

.club-catchphrase {
    margin: 10px 0 0;
    color: #000;
    font-style: italic;
}

.club-section {
    margin-top: 28px;
}

.club-section:first-child {
    margin-top: 0;
}

.club-section h3 {
    margin: 0 0 12px;
    padding-left: 12px;
    border-left: 6px solid var(--page-accent);
    color: var(--page-accent);
    font-size: 1.15rem;
}

.club-section h4 {
    margin: 18px 0 8px;
}

.club-section p {
    margin: 0;
    line-height: 1.9;
}

.club-day-table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    text-align: center;
}

.club-day-table th,
.club-day-table td {
    border: 1px solid #ccc;
    padding: 10px 6px;
}

.club-day-table th {
    background: #f7f7f7;
}

.club-record ul {
    margin: 8px 0 18px;
    padding-left: 20px;
}

.club-record li {
    margin: 4px 0;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .club-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .club-modal-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .club-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .club-info {
        padding: 14px;
    }

    .jp-name {
        font-size: 1.05rem;
    }

    .en-name {
        font-size: .72rem;
    }

    .club-modal-content {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    #club-modal-body {
        max-height: calc(100vh - 20px);
    }

    .club-modal-wrapper {
        padding: 18px;
    }

    .club-modal-left h2 {
        font-size: 1.8rem;
    }

    .club-section h3 {
        font-size: 1.05rem;
    }

    .club-day-table {
        font-size: .8rem;
    }

    .club-day-table th,
    .club-day-table td {
        padding: 7px 2px;
    }
}

@media (max-width: 480px) {
    .club-list {
        grid-template-columns: 1fr;
    }
}