
.bb-noScroll {
    overflow: hidden;
}

.slick-dots li button:before {
    left: 10px;
}
.basic-page a:link {
    color: #052C84 ;
}
.mod_headerbar_item_in {
    position: relative;
}
.mod_headerbar_item_in__inner{
    position: relative;
}
.mod_headerbar_item_in.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.bb-menuButton {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 56px;
    height: 56px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1200;
}


.bb-menuButton__icon {
    position: relative;
    display: block;
    width: 28px;
    height: 18px;
}
.bb-menuButton__icon:before,
.bb-menuButton__icon:after {
    content: "";
    position: absolute;
    top: 10px;
    width: 20px;
    height: 2px;
    background: #333;
    transform-origin: center;
}
.bb-menuButton__icon:before {
    left: -2px;
    transform: rotate(45deg);
}
.bb-menuButton__icon:after {
    right: -3px;
    transform: rotate(-45deg);
}

/* Up chevron icon (opened) */
.bb-menuButton.is-active .bb-menuButton__icon:before,
.bb-menuButton.is-active .bb-menuButton__icon:after {
    left: 2px; /* センターに寄せてクロス */
    right: auto;
    top: 8px;
    width: 24px;
}
.bb-menuButton.is-active .bb-menuButton__icon:before { transform: rotate(45deg); }
.bb-menuButton.is-active .bb-menuButton__icon:after { transform: rotate(-45deg); }

.bb-menuButton__label {
    display: block;
    font-size: 12px;
    line-height: 1;
    color: #333;
    letter-spacing: .08em;
}

/* Button active (X icon) */
.bb-menuButton.is-active .bb-menuButton__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.bb-menuButton.is-active .bb-menuButton__bar:nth-child(2) {
    opacity: 0;
}
.bb-menuButton.is-active .bb-menuButton__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay navigation */
.bb-globalNav {
    position: relative; 
    
}

.bb-globalNav__inner {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(var(--bb-headerbar-top, 0px) + var(--bb-headerbar-h, 0px));
    background: #003a91;
    transform: translateY(-16px);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    z-index: 1100;
    pointer-events: none;
    max-width: 1240px;
    margin: 0 auto;
}
.mod_headerbar_item_in:not(.is-fixed) ~ .bb-globalNav .bb-globalNav__inner{
    /* 固定化前はメニューをヘッダー直下から少し下げて表示 */
    top: calc(var(--bb-headerbar-top, 0px) + var(--bb-headerbar-h, 0px) + 26px);
}
.bb-globalNav.is-open .bb-globalNav__inner {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.bb-globalNav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    /* 外枠ラインは無し（内側の区切り線のみ） */
}

.bb-globalNav__item {
    border-bottom: 1px solid rgba(255,255,255,0.25);
}
.bb-globalNav__item:last-child { border-bottom: none; }

.bb-globalNav__link {
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 16px 40px 16px 20px;
}

.bb-globalNav__link:after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(-45deg);
}

.bb-globalNav__link:hover {
    background: rgba(255,255,255,0.08);
}

/* Ensure link text is white in all states */
.bb-globalNav__item a {
    color: #ffffff !important;
}


/* Desktop adjustments */
@media screen and (min-width: 641px) {
    .bb-globalNav__list {
        grid-template-columns: repeat(3, 1fr);
        border-left: none;
    }
    .bb-globalNav__item {
        border-bottom: 1px solid #fff;
        border-right: 1px solid #fff;
    }
    /* 最右列は右枠なし、最終行は下枠なし → 外枠を消す */
    .bb-globalNav__item:nth-child(3n) { border-right: none; }
    .bb-globalNav__item:nth-last-child(-n+3) { border-bottom: none; }
}

.page_wrap-main{
    max-width: 1440px;
    margin: 0 auto;
}

.h2_index{
    text-align: center;
    margin: 60px auto 40px;
    font-size: 26px;
    font-weight: 700;
    color: #003a91;
    &.bb-report{
        color: #fff;
    }
}

.h2_index h2{
    margin: 0;
    padding: 0;
}
@media screen and (min-width: 641px) {
    .h2_index{
        font-size: 30px;
    }
}
/* ========================
   Schedule (index)
   ======================== */
.bb-schedule,.bb-report,.top_topics_box {
    padding: 0 20px 40px;
}
@media screen and (min-width: 641px) {
    .bb-schedule,.bb-report,.top_topics_box {
        padding: 0 0 75px;
    }
}
.bb-schedule__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media screen and (min-width: 641px) {
    .bb-schedule__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .bb-scheduleCard__date {
         font-size: 15px;
         
         }
}

/* Only one schedule card → center align on PC */
@media screen and (min-width: 641px) {
    .bb-schedule__grid:has(> .bb-scheduleCard:only-child) {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .bb-schedule__grid:has(> .bb-scheduleCard:only-child) .bb-scheduleCard {
        width: min(478px, 100%);
    }
}
.bb-scheduleCard {
    border: 2px solid #052C84;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.bb-scheduleCard__head {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #052C84;
    color: #fff;
    padding: 13px 20px;
    font-size: 18px;
}
.bb-scheduleCard__headIcon {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 2px;
    position: relative;
}

.bb-scheduleCard__date {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
}
@media screen and (min-width: 641px) {
    .bb-scheduleCard__date {
        font-size: 16px;
    }
}
.bb-scheduleCard__body {
    padding: 20px;
}
.bb-scheduleCard__title {
    margin: 0 0 10px;
    line-height: 1.5;
    font-weight: 600;
    font-size: 12px;
}
@media screen and (min-width: 641px) {
    .bb-scheduleCard__title {
        font-size: 16px;
    }
}
.bb-scheduleCard__meta {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bb-scheduleCard__meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 5px;
    &:last-child {
        margin-bottom: 0;
    }
}
@media screen and (min-width: 641px) {
    .bb-scheduleCard__meta li {
        font-size: 16px;
        margin-bottom: 10px;
    }
}



.bb-schedule__more {
    text-align: center;
    margin-top: 16px;
}
.bb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    gap: 14px;
    width: 335px;
    position: relative;
}
.bb-button--outline {
    color: #052C84;
    border: 2px solid #052C84;
    position: relative;
    background: #fff;
}
.bb-schedule__more a{
    color: #052C84 !important;
}
.bb-button--outline:after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #052C84;
    border-bottom: 2px solid #052C84;
    transform: translateY(-50%) rotate(-45deg);
    pointer-events: none;
}
.bb-button--outline:hover { 
    background: #fff; 
    text-decoration: none;
}



.full-bg-blue{
    background: #003a91;
    padding: 30px 0;
    margin: 100px 0;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #fff;
}
@media screen and (min-width: 641px) {
    .full-bg-blue {
        padding: 55px 0;
    }
}
.full-bg-gray{
    background: #efefef;
    padding: 30px 0;
    margin-top: 20px;
}

/* ========================
   Report (index)
   ======================== */
.bb-report .h2_index {
    color: #fff;
}

.bb-report__wrap {
    color: #fff;
}

.bb-report__head {
    margin: 0 0 16px;
}

.bb-report__date {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.bb-report__date img {
    width: 18px;
    height: 18px;
}

.bb-report__title {
    font-size: 22px;
    font-weight: 700;
    margin: 8px 0 16px;
    line-height: 1.5;
}

.bb-report__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

@media screen and (min-width: 641px) {
    .bb-report__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0; 
    }
}

/* Few report cards → center align */
@media screen and (min-width: 641px) {
    /* 1 card: center */
    .bb-report__grid:has(> .bb-reportCard:only-child) {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .bb-report__grid:has(> .bb-reportCard:only-child) .bb-reportCard {
        width: min(478px, 100%);
    }

    /* 2 cards: center 2 columns */
    .bb-report__grid:has(> .bb-reportCard:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 520px));
        justify-content: center;
        column-gap: 0;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .bb-report__grid:has(> .bb-reportCard:nth-child(2):last-child) .bb-reportCard {
        width: min(520px, 100%);
    }
}

.bb-reportCard {
    background: #fff;
    color: #002655;
    border-radius: 10px;
    overflow: hidden;
    font-size: 16px;
}

@media screen and (min-width: 641px) {
    .bb-reportCard { border-radius: 0; }
    .bb-reportCard:first-child {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }
    .bb-reportCard:last-child {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }
  
    .bb-reportCard + .bb-reportCard { border-left: 1px solid #efefef; }
    .bb-reportCard + .bb-reportCard .bb-reportCard__head { border-left: 1px solid #efefef; }
}

.bb-reportCard__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:10px;
    background: #e9f0fb;
    padding: 13px ;
    min-height: 46px; 
}

.bb-reportCard__day {
    font-weight: 700;
    white-space: nowrap;
    
}


.bb-badge {
    display: inline-block;
    font-size: 16px;
    padding: 2px 10px;
    border-radius: 5px;
    background: #052C84;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}


.bb-reportCard__body {
    padding: 12px;
}

.bb-reportCard__match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center; /* センタリング */
    gap: 10px;
    text-align: center;
}

.bb-reportCard__match .team {
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    font-weight: 700;
}
.bb-reportCard__match .team:first-child { color: #052C84; }


.bb-reportCard__match .score {
    font-weight: 800;
    font-size: 48px;
    letter-spacing: 2px;
    line-height: 1;
}
@media screen and (min-width: 641px) {
    .bb-reportCard__match .score { font-size: 26px; }
}

.bb-reportCard__match .score .win {
    color: #d40037;
}

.bb-reportCard__match .score .dash {
    margin: 0 6px;
    font-weight: 700;
}

.bb-reportCard__sets {
    list-style: none;
    margin: 13px 0 0;
    padding: 0;
    display: grid;
    gap: 13px;
    justify-items: center; 
}

.bb-reportCard__sets li {
    display: grid;
    grid-template-columns: 1fr 24px 1fr; /* 左・区切り・右 を安定配置 */
    align-items: center;
    justify-items: center;
    column-gap: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}
@media screen and (min-width: 641px) {
    .bb-reportCard__sets li { column-gap: 24px; }
}
.bb-reportCard__sets li span{ 
    width: auto; /* 固定幅を解除 */
    font-variant-numeric: tabular-nums; /* 桁揃えでガタつき防止 */
}
.bb-reportCard__sets .set.win {
    color: #d40037;
    font-weight: 700;
}

.bb-reportCard__sets .sep {
    opacity: .8;
    color: #333;
    font-weight: 700;
}

.bb-report__more {
    text-align: center;
    margin-top: 24px;
}

/* ========================
   Topics (index)
   ======================== */

   .top_topics_box {
    display: flex;
    gap: 30px;
    flex-direction: column;
}
@media screen and (min-width: 641px) {
    .top_topics_box {
        flex-direction: row;
    }
    .news{
        width: 60%;
        margin: 0 auto;
    }
    .x_area{
        width: 40%;
    }
}
.top_topics_box .h2_index h2 { color: #052C84; }
.top_topics_box .topics-Post {
    margin: 0;
    padding: 0;
    list-style: none;
}
.top_topics_box .topics-Post li { color: #333; }

p.topics-Post-Day1{
    background: #fff;
    color: #052C84;
    font-size: 12px;
}
.topics-Post li{
    display: flex;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #efefef;
    padding: 10px 0;
}
.topics-Post li a{
    color: #333 !important;
    font-size: 14px;
}

.bb-topics__more{
    text-align: center;
    margin-top: 24px;
}
.bb-topics__more a.bb-topics__moreBtn{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}
.bb-topics__more a.bb-topics__moreBtn:after{
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #052C84;
    border-bottom: 2px solid #052C84;
    transform: rotate(45deg);

}
.news.is-open + .bb-topics__more a.bb-topics__moreBtn:after{
    transform: rotate(-135deg); /* 上向き */
}
.bb-topics__more .bb-topics__closeBtn{
    margin-left: 16px;
    font-weight: 700;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.bb-topics__more .bb-topics__closeBtn[hidden]{
    display: none !important; /* hidden 属性を強制反映 */
}
.bb-topics__more .bb-topics__closeBtn:after{
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #052C84;
    border-bottom: 2px solid #052C84;
    transform: rotate(-135deg); /* 上向き */
    position: relative;
    top: 5px; 
}
.news .topics-Post li.is-hidden{ display:none; }
.news.is-open .topics-Post li.is-hidden{ display:flex; }

/* ========================
   X Button (index)
   ======================== */
   .x_area{
    display: flex;
    align-items: center;
    justify-content: center;
}
.bb-xButton{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 15px 35px;
    background: #000;
    color: #fff !important;
    border-radius: 80px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    width: 335px;
    box-sizing: border-box;
    transition: opacity .2s ease;
}
.bb-xButton:hover{ opacity: .8; }
.bb-xButton:after{
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-50%) rotate(-45deg);
}
.bb-xButton__icon{
    display: block;
    width: 26px;
    height: 27px;
}
.bb-xButton__label{
    white-space: nowrap;
}
