@charset "utf-8";

/* メインビジュアル */
/* Swiper全体に高さを与える（これが最重要） */
.hero-swiper {
    height: clamp(320px, 100vh, 650px);
    width: 100%;
}

/* Swiper内部も高さを引き継ぐ */
.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* pictureは通常配置のまま全面に */
picture.hero-bg {
    display: block;
    width: 100%;
    height: 100%;
}

/* imgを背景のように敷く */
picture.hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy {
    position: absolute;
    bottom: clamp(16px, 15vh, 50%);
    left: 0;
    right: 0;
    /* 右側も0に設定 */
    transform: none;
    /* transformを削除 */
    width: 1100px;
    max-width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    margin-left: auto;
    /* 左寄せ */
    margin-right: auto;
    /* 右寄せ */
}

.hero-copy .wp-block-group__inner-container {
    margin-left: 0;
    margin-right: auto;
}

h2.hero-title {
    font-family: "Noto Sans JP", sans-serif;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .88);
    padding: 10px 16px;
    font-size: clamp(25px, 4.8vw, 40px);
    line-height: 1.1;
    letter-spacing: .06em;
    font-weight: 700;
    margin-bottom: 10px !important;
}

.hero-title span {
    font-size: clamp(14px, 3.3vw, 20px);
    display: block;
    letter-spacing: 0.1rem;
}

.hero-sub {
    font-family: "Noto Sans JP", sans-serif;
    display: inline-block;
    background: rgba(255, 255, 255, .82);
    padding: 8px 14px;
    font-size: clamp(16px, 2.2vw, 20px);
    letter-spacing: 0.1rem;
    margin-bottom: 10px !important;
}

.hero-btn {
    display: block;
    width: fit-content;
    background: #2d7bd1;
    padding: 12px 18px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

.hero-btn a {
    color: #fff;
    text-decoration: none;
}

/* お知らせ */

ul.kb-news {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

ul.kb-news li a {
    color: #222;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    padding: 16px;
}

ul.kb-news li {
    display: flex !important;
    flex-direction: column-reverse;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

ul.kb-news li::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 1;
    color: #888;
}

/* 日付とリンクの順番を逆にする */
.wp-block-latest-posts__post-title,
.wp-block-latest-posts__post-date {
    display: flex;
    flex-direction: column-reverse;
}

.wp-block-latest-posts__post-date {
    padding-left: 16px;
}
.wp-block-latest-posts__post-title{
    padding-right: 30px!important;
    padding-top: 10px!important;
}

.top-game-more-link {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background-color: #cccfd4;
    transform: translateY(6px);
}

.kb-next-schedule {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.kb-next-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
}

.kb-next-label {
    font-size: 14px;
    font-weight: 600;
}

.kb-next-more {
    font-size: 13px;
    text-decoration: none;
    color: #1a73e8;
}

.kb-next-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: #111;
}

.kb-next-item:hover {
    background: #fafafa;
}

.kb-next-bar {
    width: 4px;
    border-radius: 999px;
    background: #1a73e8;
    flex: 0 0 4px;
}

.kb-next-body {
    display: block;
}

.kb-next-time {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.kb-next-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.kb-next-loc {
    display: block;
    font-size: 13px;
    color: #444;
}

.coach-official a {
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .82);
    padding-bottom: 5px;
    line-height: 2;
}

.coach-official a:hover {
    color: rgba(255, 255, 255, .82);
    transform: translateY(1px);
}

@media (max-width:768px) {
    .hero-bg {
        background-image: var(--bg-sp);
    }

    .hero-swiper {
        height: 80dvh;
    }

    .hero-copy {
        left: 0;
        bottom: 0px;
        max-width: 100%;
    }

    .hero-title,
    .hero-sub {
        margin-bottom: 15px;
    }
}