/************************************************************/
/*NBA観戦ツアーページ (/tour-aboroad/nbatour)
/************************************************************/
.p-breadcrumb__list {
    flex-wrap: wrap !important;
}
.fv .l-article {
    max-width: 1100px;
}
.fv-inner .swell-block-columns__inner {
    justify-content: space-between;
}
.fv-inner .left {
    width: 680px;
    max-width: 680px;
}
.fv-inner .left .wp-block-image.size_s img {
    width: 660px;
    max-width: 660px;
    height: auto;
    margin: 0;
}
.fv-inner .left p {
    font-size: 16px;
    line-height: 1.8;
}

.fv-inner .right {
    width: 315px;
    max-width: 315px;
}

#overview,
#tour,
#schedule,
#stadium,
#laxop,
#attention {
    padding-top: 100px;
    margin-top: -100px!important;
}


/* 外側：通常は full-bleed（固定しない） */
.post_content .sticky-nav.alignfull{
    position: relative;
    left: calc(50% - 50vw + var(--swl-scrollbar_width, 0px)/2);
    width: calc(100vw - var(--swl-scrollbar_width, 0px));
    max-width: none;
    z-index: 9997;
}

/* 内側：通常はサイト幅で中央＋sticky */
.post_content .sticky-nav .swell-block-fullWide__inner {
    max-width: var(--swl-container-width, 1200px);
    margin: 0 auto;
    z-index: 9998;
}

/* 内側が固定中（JSで .is-fixed を付与）→ 中央固定 */
.post_content .sticky-nav .swell-block-fullWide__inner.is-fixed{
    position: fixed !important;
    top: var(--header-height, 90px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--swl-container-width, 1200px);
    padding: 0 var(--swl-container-padding, 16px);
    z-index: 9999;
}
.swell-block-fullWide__inner.is-fixed .swell-block-box-menu[data-has-gap="1"] .swell-block-box-menu__inner {
    background-color: #fff;
}

.tour_card {
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.swell-block-columns .swell-block-column.tour_card {
    padding: 0!important;
}
.swell-block-column.swl-has-mb--s.tour_card {
    border: none;
}
.tour_card.swl-has-mb--s .wp-block-image {
    margin-bottom: 0;
}

.tour_card .wp-block-image figure {
    width: 100%;
}
.tour_card .wp-block-image .aligncenter {
    margin: 0;
    display: block;
}
.tour_card .wp-block-image > figure > a {
    width: 100%;
    display: block;
}
.tour_card .wp-block-image.img img {
    width: 400px;
    max-width: 100%;
    height: auto;
}
.tour_card .text {
    padding: 15px;
}

.tour_card .badge {
    display: inline-block;
    color: #fff;
    background-color: #ee9038;
    padding: 1px 8px;
    position: absolute;
    top: 0;
    right: 0;
}
.tour_card h3 {
    font-size: 17px;
    margin-bottom: 20px!important;
}
.tour_card h3 a {
    font-size: 17px;
    line-height: 1.3;
    color: #000;
    text-decoration: none;
}
.tour_card .price {
    font-size: 24px;
    font-weight: bold;
    color: #e44141;
    margin-bottom: 15px;
}
.tour_card .desc {
    color: #5d5a5a;
    font-size: 16px;
    line-height: 1.5;
}
.tour_card .wp-block-button__link.has-small-font-size {
    font-size: 16px!important;
    font-weight: bold;
}

.is-style-default>.c-tabList .c-tabList__button[aria-selected=true],
.is-style-default>.c-tabList .c-tabList__button:hover {
    background-color: #263C73;
    color: #fff;
    font-weight: bold;
}
.is-style-default .c-tabBody {
    background-color: #fff;
    border-color: #263C73;
}

.is-style-more_btn a {
    background-color: #023e7d;
    color: #fff;
}
.is-style-more_btn a:hover {
    background-color: #fff;
    color: #023e7d;
    border: 1px solid #023e7d;
}


.attention-point li {
    font-size: 16px;
    margin: 1em;
}

.swell-block-faq .swell-block-faq__item {
  background-color: #fff;
}


@media(max-width:768px) {
    .fv-inner .left,
    .fv-inner .right {
        width: 100%;
        max-width: 100%;
    }
    .fv-inner .left .wp-block-image.size_s img {
        width: 100%;
        max-width: 100%;
    }
    .sticky-nav {
        font-size: 13px;
    }
    .sticky-nav .swell-block-box-menu__figure {
        display: none;
    }
    .swell-block-box-menu__text {
        text-align: center;
    }
    .nba-btn span.swl-fz.u-fz-l {
      display: block;
    }
    .post_content .sticky-nav .swell-block-fullWide__inner {
        padding: 0;
    }
    .swell-block-fullWide__inner .swell-block-box-menu[data-has-gap="1"] .swell-block-box-menu__inner {
        background-color: #fff;
    }
    .tour .wp-block-spacer,
    .tour_point .wp-block-spacer {
        margin-bottom: 0;
    }
    .tour .swell-block-columns__inner {
        row-gap: 30px;
    }
    .tour_card .wp-block-spacer {
        display: none;
    }
    .tour_card .wp-block-image.img img {
        width: 100% !important;
    }
    .tour_card .desc,
    .attention-point li {
        font-size: 14px;
    }
    .tour_card .price {
        font-size: 22px;
    }
    #overview,
    #tour,
    #schedule,
    #stadium,
    #laxop,
    #attention {
        padding-top: 120px;
        margin-top: -120px!important;
    }
}

@media(max-width:599px) {
    .schedule-tables .swell-block-columns__inner {
        row-gap: 0!important;
    }
    .swell-block-columns .schedule-table-2 table thead {
        display: none;
    }
    .wp-block-table.schedule-table-2 table tr td {
        border-top: none;
    }
    .wp-block-table.schedule-table-1 > table tr > :first-child,
    .wp-block-table.schedule-table-2 > table tr > :first-child {
        width: 160px;
    }
    .schedule-tables.text-expandable {
    max-height: 15em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
    }
    .schedule-tables.text-expandable:not(.expanded) {
        -webkit-mask: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
        mask: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
    }

    .schedule-tables.text-expandable.expanded {
        /* 展開状態 - max-heightはJavaScriptで動的設定 */
        overflow: hidden;
        -webkit-mask: none;
        mask: none;
    }

    .text-expand-toggle {
        display: block;
        margin: 10px auto 30px;
        margin-top: 10px;
        padding: 8px 16px;
        background-color: #023E7D;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s ease;
    }

    .text-expand-toggle:hover {
        background-color: #01326a;
    }

    .text-expand-toggle.hidden {
        display: none;
    }
}
