@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

@font-face {
    font-family: 'din-condensed-bold';
    src: url('../../fonts/din-condensed-bold.ttf');
    font-weight: normal;
}

:root {
    --bg-body: #ffffff;
    --base: 1440;
}


@media screen and (max-width: 768px) {
    :root {
        --base: 393;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    margin:0 !important;
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    padding-top:112px;
    background: var(--bg-body);
    font-family: "Noto Sans JP", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

/*---------- header ----------*/
.header_area {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    background-color: #001b5b;
    transition: 0.3s;
    z-index:1000;

    &.hide{
        transform:translateY(-112px);
    }
}

.header_top {
    height: 65px;
    border-bottom: 4px solid #009eb4;
}

.header_top_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    /* max-width:1300px;
    margin:0 auto; */

    .left {
        display: flex;
        align-items: center;
        gap: 33px;
        padding-left: 35px;

        img {
            height: 45px;
        }
    }

    .center {
        position: absolute;
        top: 7px;
        left: 50%;
        transform: translateX(-50%);

        img {
            width: 76px;
        }
    }

    .right {
        display: flex;
        align-items: center;
        gap: 22px;
        padding-right: 41px;

        img {
            height: 34px;
        }
    }
}

.header_bottom {
    height: 47px;
}

.header_bottom_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 中央エンブレム用のクリアゾーンを確保するため、左右グループを均等2カラムにして外側へ寄せる。
       横の余白を活かすため max-width を 1213px → 1440px に拡大 */
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    /* 画面を縮小してラップが画面幅いっぱいになっても、左右に余白を残す */
    padding: 0 40px;

    ul {
        display: flex;
        align-items: center;
        height: 100%;

        /* 左グループ：左寄せ（中央側に余白を残す） */
        &:first-child {
            flex: 1;
            justify-content: flex-start;
            gap: 74px;
        }

        /* 右グループ：右寄せ。4項目で中央側が空きやすいため、padding-right で全体を中央側へ寄せる */
        &:last-child {
            flex: 1;
            justify-content: flex-end;
            gap: 64px;
            padding-left: 20px;
        }

        li {
            display: flex;
            align-items: center;
            position: relative;
            height: 100%;
            font-family: "peckham-press", sans-serif;
            font-size: 14px;
            color: #ffffff;
            list-style: none;
            white-space: nowrap;

            a {
                &.active {
                    &:before {
                        content: '';
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 70px;
                        height: 3px;
                        background-color: #ffffff;
                    }
                }
            }
        }
    }
}

/* 1440px以下：ヘッダーメニューの文字サイズとメニュー間ギャップを画面幅に比例して縮小。
   1440pxでは基準値(gap 74/64px・文字14px)と同じで、それ以下で滑らかに小さくなる。
   clampの上限が基準値なので、エンブレムとの余白を保ちつつ折り返し・衝突を防ぐ */
@media screen and (min-width: 769px) and (max-width: 1440px) {
    .header_bottom_wrap {
        padding: 0 clamp(16px, 2.78vw, 40px);

        ul {
            &:first-child {
                gap: clamp(26px, 5.14vw, 74px);
            }

            &:last-child {
                gap: clamp(22px, 4.44vw, 64px);
                padding-left: clamp(10px, 1.39vw, 20px);
            }

            li {
                font-size: clamp(10px, 0.97vw, 14px);
            }
        }
    }
}

/* 1080px以下：文字サイズはそのまま、メニュー間ギャップだけさらに詰める */
@media screen and (min-width: 769px) and (max-width: 1080px) {
    .header_bottom_wrap {
        ul {
            &:first-child {
                gap: clamp(18px, 4vw, 43px);
            }

            &:last-child {
                gap: clamp(16px, 3.4vw, 37px);
                padding-left: clamp(8px, 1vw, 11px);
            }
        }
    }
}

.header_detail_nav {
    display: none;
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 1000;

    &.active {
        display: block;
    }

    &:before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background-color: rgba(0, 27, 91, 0.9);
        -webkit-filter: blur(5px);
        -moz-filter: blur(5px);
        -o-filter: blur(5px);
        -ms-filter: blur(5px);
        filter: blur(5px);
        /* 背後のページ内容をぼかす（すりガラス効果） */
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        z-index: -1;
    }
}

.header_detail_wrap {
    display: grid;
    /* 左カラム(見出し)を画面幅連動にする(2026-08-22追加)。
       362px固定だと狭い画面で右カラムが圧迫され、項目が何行にも折り返していた。
       1392px以上では 26vw が362pxを超えるため上限に張り付き、従来と同じ362pxになる。 */
    grid-template-columns: clamp(180px, 26vw, 362px) 1fr;
    /* 幅1300px未満では左右の余白が無く、見出し「MATCH」と右端の項目が
       画面の端で見切れていた(2026-08-22修正)。上限は従来どおり1300pxのまま、
       狭い画面では左右に40pxずつ余白を確保する。
       1380px以上では min() が1300pxを選ぶため従来と完全に同じ表示。 */
    max-width: min(1300px, 100% - 80px);
    margin: 0 auto;
    padding: 70px 0 94px;

    .title {
        .en {
            margin-bottom: 5px;
            font-family: "peckham-press", sans-serif;
            font-size: 40px;
            color: #ffffff;
        }

        .jp {
            font-size: 16px;
            color: #ffffff;
        }

        /* 見出し下の「〇〇 トップを見る」テキストリンク */
        .title_link {
            display: inline-block;
            margin-top: 48px;
            padding-bottom: 10px;
            font-size: 14px;
            font-weight: bold;
            color: #ffffff;
            border-bottom: 1px solid #ffffff;
            transition: opacity 0.2s;

            &:hover {
                opacity: 0.7;
            }
        }
    }

    .container {
        display: grid;
        gap: 42px;

        .row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            align-items: flex-end;
            gap: 66px;

            .box {
                .name {
                    font-size: 14px;
                    font-weight: bold;
                    color: #ffffff;
                    padding-bottom: 12px;
                    border-bottom: 1px solid #ffffff;

                    &.blank {
                        background: url('../images/common/target_blank_icon.png') center right 8px / 12px no-repeat;
                    }
                }

                .img {
                    height: 119px;
                    margin-top: 20px;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
        }
    }
}

.header_nav_sp_area{
    display:none;
}

/* FOOTER */
/* FOOTER */
/* ============================================================
   旧フッターCSS（v1）— 新フッター(v2)へ置き換えのためコメントアウト ここから ↓↓↓
   ============================================================ */
/*
.site_footer {
    background: #00205B;
    color: #ffffff;
}

.footer_top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border: 0;
    background: #003970;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.footer_top_arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg) translateY(1px);
}

.footer_main {
    padding: 34px 56px 26px;
}

.footer_mobile {
    display: none;
}

.footer_desktop {
    max-width: 1120px;
    margin: 0 auto;
}

.footer_nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 34px 26px;
}

.footer_nav_group+.footer_nav_group {
    margin-top: 30px;
}

.footer_nav_title {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.footer_nav_list {
    display: grid;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer_nav_list a {
    color: rgba(255, 255, 255, 0.94);
    font-size: 11px;
    line-height: 1.5;
}

.footer_nav_list a:hover,
.footer_nav_list a:focus-visible {
    text-decoration: underline;
}

.footer_logo {
    display: block;
    width: max-content;
    margin: 42px auto 0;
}

.footer_logo img {
    display: block;
    width: 104px;
}

.footer_legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 30px;
    background: #ffffff;
    color: #111111;
}

.footer_legal_left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer_slogan {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer_slogan img {
    width: 32px;
}

.footer_slogan_copy {
    display: grid;
    gap: 2px;
}

.footer_slogan_copy span {
    font-size: 10px;
    font-weight: 700;
}

.footer_slogan_copy strong {
    font-size: 16px;
    font-weight: 800;
    color: #111111;
}

.footer_legal_divider {
    width: 1px;
    height: 34px;
    background: #d3d7df;
}

.footer_jleague {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer_jleague_mark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 28px;
    border-radius: 3px 3px 10px 10px;
    background: linear-gradient(90deg, #0d0d0d 0 56%, #ffffff 56% 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.footer_jleague_mark::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d7122f;
}

.footer_jleague_text {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #111111;
}

.footer_copyright {
    font-size: 11px;
    font-weight: 700;
    color: #30333a;
}
*/
/* ===== 旧フッターCSS（v1 / PC）ここまで ↑↑↑ ===== */

/* 20260529F */


/* ==========================================================================
   BANNER WRAPPER
   ========================================================================== */
.banner_wrapper {
    position: relative;
    width: 100%;

    .banner_img {
        background-color: #000;
        background-image: url("../images/banner_bg.webp");
        background-size: cover;
        background-position: center 25px;
        padding-top: 25px;

        img {
            width: 80%;
            margin: 0 auto;
        }
    }

    .banner_slideshow {
        position: relative;
        height: 132px;
        overflow: hidden;
        background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 27, 91, 0.98) 100%);

        .banner_slideshow-viewport {
            display: flex;
            width: max-content;
            min-width: 100%;
            padding: 18px 0;
            animation: banner-marquee 34s linear infinite;
        }

        .banner_slideshow-track {
            display: flex;
            align-items: center;
            gap: 10px;
            padding-right: 10px;
        }
    }

    .banner_slide {
        flex: 0 0 auto;
        width: 199px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
        transition: transform 0.25s ease, box-shadow 0.25s ease;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        &:hover,
        &:focus-visible {
            transform: translateY(-3px);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
        }
    }
}

@keyframes banner-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   MATCH WRAPPER
   ========================================================================== */
.match_wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    min-height: 650px;
}
.match_box_left {
    position: relative;
    overflow: hidden;
    background: #ffffff url("../images/match_bg_left.webp") center / cover no-repeat;
}

.match_tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match_tab {
    height: 80px;
    border: 0;
    color: #ffffff;
    background: #009EB4;
    font-family: "peckham-press", sans-serif;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;

    &.match_tab_left {
        border-bottom-right-radius: 10px;
    }

    &.match_tab_right {
        border-bottom-left-radius: 10px;
    }

    &.is-active {
        color: #12aac4;
        background: transparent;
    }
}

.match_cards_wrapper {
    --card-width: 367px;
    --card-gap: 30px;
    --card-peek: 0px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 34px auto 0;
}

.match_cards_viewport {
    width: 100%;
    /* ネイティブ横スクロール。縦のドロップシャドウが切れないよう上下にpaddingを確保 */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* scroll-snapは付けない。末尾で最後のカードが左に吸着して
       右側に大きな余白が残るのを防ぎ、コンテンツ右端でぴったり止める */
    padding: 6px 0 30px;
    margin-bottom: -30px;
}

.match_cards {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: var(--card-gap);
    width: max-content;
}

.match_card {
    position: relative;
    flex: 0 0 var(--card-width);
    width: var(--card-width);
    background: #ffffff;
    box-shadow: 0 4px 28px rgba(8, 24, 80, 0.16);
    transition: box-shadow 0.3s ease, opacity 0.3s ease;

    .match_card-head {
        padding: 11px;
        box-sizing: border-box;
        color: #ffffff;
        background: #04003B;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
    }

    .match_card-body {
        padding: 27px;
        text-align: center;
        color: #04003B;
    }
}

.match_date {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    margin-bottom: 16px;
    font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
    line-height: 1;
    letter-spacing: -0.5px;

    .match_date-main {
        font-size: 83px;
        font-weight: 700;
    }

    .match_date-sub {
        font-size: 36px;
        font-weight: 700;
    }
}

.match_teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 32px;
}

.match_crest {
    width: 80px;
    height: auto;
}

.match_vs {
    font-size: 69px;
    font-weight: 700;
    line-height: 1;
}

.match_meta {
    margin-bottom: 26px;
}

.match_home_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 75px;
    height: 22px;
    padding: 5px 14px;
    color: #ffffff;
    background: #001B5B;
    font-size: 15px;
    font-weight: 700;
}

.match_venue {
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    display: block;
    margin-top: 15px;
}

.match_actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.match_button {
    display: flex;
    align-items:center;
    justify-content: center;
    min-height: 43px;
    height:100%;
    padding: 9px 14px;
    color: #001B5B;
    border: 2px solid #001B5B;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.match_nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    background: #009EB4;
    cursor: pointer;
    transform: translateY(-50%);

    span {
        display: block;
        width: 11px;
        height: 11px;
        margin: 0 auto;
        border-top: 3px solid #ffffff;
        border-right: 3px solid #ffffff;
    }

    &.match_nav-prev {
        display: none;
        left: 0;

        span {
            transform: rotate(-135deg);
        }
    }

    &.match_nav-next {
        display: none;
        right: 0;

        span {
            transform: rotate(45deg);
        }
    }
}

.match_schedule_link,
.standings_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 14px 72px;
    color: #ffffff;
    background: #009EB4;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
}

.match_schedule_link {
    margin: 31px auto 32px;
}

.match_box_right {
    color: #ffffff;
    background: url("../images/match_bg_right.webp");
    background-size: cover;
    background-position: center;
}

.standings_panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    padding: 27px 51px 33px;
}

.standings_title {
    font-family: "peckham-press", sans-serif;
    font-size: 28px;
}

.standings_subtitle {
    margin-top: 47px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #ffffff;
}

.standings_summary {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 25px;
}

.standings_rank {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: #ffffff;

    .standings_rank-number {
        font-size: 63px;
        font-weight: 700;
    }

    .standings_rank-unit {
        font-size: 31px;
        font-weight: 700;
    }
}

.standings_record {
    display: inline-flex;
    border: 2px solid #ffffff;
    background: #ffffff;
    color: #000A44;
    overflow: hidden;

    .standings_record-main {
        display: flex;
        align-items: center;
        gap: 13px;
        padding: 10px 20px;

        span,
        .standings_points {
            display: flex;
            align-items: baseline;
            line-height: 1;
            font-size: 24px;
            font-weight: 700;
            margin-bottom:-15px;
        }

        strong {
            /* font-family: "peckham-press", sans-serif; */
            font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
            font-size: 40px;
            font-weight: 700;
        }
    }
}

.standings_points {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    background: url("../images/match_bg_right.webp");
    padding: 10px 20px;
    white-space: nowrap;
}

.standings_note {
    margin-top: 13px;
    font-size: 16px;
    font-weight: 700;
}

.standings_table_wrapper {
    width: 100%;
    max-width: 617px;
    max-height: 267px;
    margin-top: 20px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    scrollbar-width: thin;
    scrollbar-color: #474747;

    &::-webkit-scrollbar {
        width: 9px;
    }

    &::-webkit-scrollbar-thumb {
        background: #474747;
    }
}

.standings_table {
    width: 100%;
    border-collapse: collapse;
    color: #000;
    font-size: 22px;

    thead th {
        padding: 13px 17px;
        color: #ffffff;
        background: #04003B;
        font-size: 21px;
        font-weight: 700;
        white-space: nowrap;
        position: sticky;
        top: 0;
    }

    tbody tr {
        &:nth-child(even) {
            background: #D3D3D3;
        }

        &.is-highlighted {
            color: #009EB4;
        }
    }

    td {
        padding: 15px;
        font-weight: 700;
        text-align: center;

        &:nth-child(2) {
            text-align: left;
        }
    }
}

.club-name {
    display: flex;
    align-items: center;
    gap: 12px;

    img {
        width: 22px;
        height: 24px;
        object-fit: contain;
    }
}

.club-badge {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, #8d6adf 0%, #5d3ac8 100%);
    flex: 0 0 auto;
}

.standings_link {
    margin-top: 41px;
}

.match_slider{
    margin-top:24px;
    overflow:hidden;
    
    &.slick-dotted.slick-slider {
        margin-bottom: 31px;
    }

    .slick-list {
        overflow: visible;
    }

    .prev_arrow {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        background-color: #009eb4;
        z-index: 1;

        &:before {
            content: '';
            position: absolute;
            top: 50%;
            left: 16px;
            transform: translateY(-50%) rotate(45deg);
            width: 16px;
            height: 16px;
            border-left: 3px solid #ffffff;
            border-bottom: 3px solid #ffffff;
        }
    }

    .next_arrow {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        background-color: #009eb4;
        z-index: 1;

        &:before {
            content: '';
            position: absolute;
            top: 50%;
            right: 16px;
            transform: translateY(-50%) rotate(-45deg);
            width: 16px;
            height: 16px;
            border-right: 3px solid #ffffff;
            border-bottom: 3px solid #ffffff;
        }
    }
    .match_card{
        margin:0 15px;
    }
}



/* ==========================================================================
   TICKET WRAPPER
   ========================================================================== */
.ticket_wrapper {
    position: relative !important;
    background-image: url("../images/ticket_bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 912px;

    &::before {
        content: "" !important;
        position: absolute !important;
        top: -60px !important;
        left: 0 !important;
        width: 100% !important;
        height: 100px !important;
        background-image: url("../images/ticket_container_top.webp") !important;
        background-repeat: no-repeat !important;
        background-position: top center !important;
        background-size: 100% 60% !important;
        z-index: 99 !important;
        pointer-events: none !important;
    }

    .ticket_head {
        text-align: center;
        padding-top: 40px;
        color: #ffffff;
    }

    .ticket_title {
        font-family: "peckham-press", sans-serif;
        font-size: 50px;
    }

    .ticket_subtitle {
        margin-top: 20px;
        font-size: 18px;
        font-weight: 500;
    }
}

/* ==========================================================================
   OFFICIAL AND GUIDE WRAPPER
   ========================================================================== */
.official_and_guide_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    .official_content,
    .guide_content {
        padding: 77px 81px 80px;
        width: 50%;
    }

    .official_content {
        background:
            linear-gradient(rgba(21, 43, 92, 0.9), rgba(21, 43, 92, 0.9)),
            url("../images/official_bg.webp");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .guide_content {
        background:
            linear-gradient(rgba(62, 206, 255, 0.4), rgba(62, 206, 255, 0.4)),
            url("../images/guide_bg.webp");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        position: relative;

        picture {
            display: block;
            width: 100%;
            margin: 0 auto;
        }

        .guide_head {
            position: absolute;
            top: 30%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            height: auto;
        }
    }

    .official_head {
        text-align: center;
    }

    .official_title {
        font-family: "peckham-press", sans-serif;
        font-size: 40px;
        color: #ffffff;
    }

    .official_subtitle {
        margin-top: 20px;
        font-size: 21px;
        font-weight: 700;
        color: #ffffff;
    }

    .official_img_team {
        display: block;
        width: 100%;
        max-width: 374px;
        margin: 36px auto 0;
    }

    .official_img_sale {
        display: block;
        width: 100%;
        max-width: 550px;
        margin: 61px auto 0;
    }

    .guide_title {
        font-family: "peckham-press", sans-serif;
        font-size: 75px;
        color: #04003B;
    }

    .guide_subtitle {
        font-size: 22px;
        font-weight: 700;
        color: #04003B;
    }

    .guide_text {
        margin-top: 53px;
        font-size: 42px;
        font-weight: 700;
        color: #ffffff;
        text-align: center;
        line-height: 1.5;
        text-shadow: 0px 0px 11px #020085;
    }

    .guide_link {
        margin: 0 auto;
        margin-top: 68px;
        padding: 15px 28px;
        width: max-content;
        background: #04003B;
        color: #ffffff;
        border-radius: 30px;
        font-size: 18px;
        font-weight: 700;
    }
}

/* ==========================================================================
   MATCH PAGE HEADER
   ========================================================================== */
.match-page-header {
    background-color: #ffffff;
    width: 100%;

    .match-breadcrumb {
        background-color: #ffffff;
        border-bottom: 1px solid #d8deea;
        width: 100%;

        .match-breadcrumb-inner {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            padding: 12px 106px 11px 106px;
            margin: 0 auto;
        }

        .match-breadcrumb-home,
        .match-breadcrumb-separator,
        .match-breadcrumb-current {
            font-family: "Noto Sans JP", sans-serif;
            font-size: 10px;
            font-weight: 400;
            line-height: 1.2;
            color: #6D6D6D;
        }

        .match-breadcrumb-home {
            transition: color 0.2s ease;

            &:hover {
                color: #001B5B;
                text-decoration: underline;
            }
        }
    }

    .match-banner {
        background-color: #001B5B;
        height: 107px;
        width: 100%;
        box-sizing: border-box;

        .match-banner-inner {
            height: 100%;
            display: flex;
            align-items: center;
            gap: 31px;
            padding-top: 35px;
            padding-bottom: 35px;
            padding-left: 106px;
            margin: 0 auto;
        }

        .match-banner-title {
            font-family: "peckham-press", sans-serif;
            font-size: 36px;
            line-height: 1;
            font-weight: 400;
            color: #ffffff;
            margin: 0;
        }

        .match-banner-subtitle {
            font-family: "Noto Sans JP", sans-serif;
            font-size: 16px;
            font-weight: 700;
            line-height: 1;
            color: #ffffff;
            margin-top: 14px;
        }
    }
}

/* ==========================================================================
   TEAM STAFF BOTTOM GRID
   ========================================================================== */
.team-staff-bottom-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 90px;
    margin-bottom: 110px;

    .team-staff-bottom-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 320px;

        .bottom-card-image {
            width: 320px;
            height: 180px;
            overflow: hidden;

            .placeholder-img {
                width: 100%;
                height: 100%;
                background-color: #5A5A5A;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #ffffff;
                font-family: sans-serif;
                font-size: 22px;
                font-weight: 700;
            }
        }

        .bottom-card-title {
            font-family: "Noto Sans JP", sans-serif;
            font-size: 16px;
            font-weight: 700;
            color: #000000;
            margin: 0;
            text-align: left;
        }
    }
}

/* ==========================================================================
   TEAM STAFF NAVIGATION
   ========================================================================== */
.team-staff-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 110px;
    margin-bottom: 70px;

    .team-staff-nav-btn {
        width: 245px;
        height: 48px;
        border: none;
        background: linear-gradient(180deg, #009EB4 0%, #02879A 100%);
        color: #ffffff;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 49px;
        cursor: pointer;
        transition: background-color 0.2s ease, opacity 0.2s ease;

        &:hover {
            background: linear-gradient(180deg, #02879A 0%, #009EB4 100%);
        }

        span {
            text-align: left;
            line-height: 1.2;
        }

        .btn-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            background: #ffffff;

            &::after {
                content: "";
                width: 6px;
                height: 6px;
                border-bottom: 2px solid #009EB4;
                border-right: 2px solid #009EB4;
                transform: rotate(45deg);
                margin-top: -3px;
            }
        }
    }
}

/* ==========================================================================
   TEAM STAFF CATEGORY TITLE
   ========================================================================== */
.team-staff-category-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 48px 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;

    &::before {
        content: "";
        display: inline-block;
        width: 9px;
        height: 28px;
        background-color: #001B5B;
    }
}

/* ==========================================================================
   TOPTEAM WRAPPER
   ========================================================================== */
.topteam_wrapper {
    position: relative;
    background: url("../images/topteam_bg.webp");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 66px 0 100px;
    overflow: hidden;

    .topteam_head {
        text-align: center;
    }

    .topteam_title {
        font-family: "peckham-press", sans-serif;
        font-size: 54px;
        color: #04003B;
        line-height: 1;
    }

    .topteam_subtitle {
        margin-top: 10px;
        font-size: 14px;
        font-weight: 700;
        color: #04003B;
    }

    .topteam_inner {
        position: relative;
        width: 100%;
        margin: 42px auto 0;
        padding: 0 40px;
    }

    .topteam_carousel {
        overflow: hidden;
    }

    .topteam_track {
        display: flex;
        gap: 41px;
        width: max-content;
        will-change: transform;
    }

    .topteam_card {
        flex: 0 0 290px;

        img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: cover;
            box-shadow: 0 18px 28px rgba(4, 0, 59, 0.14);
        }
    }

    .topteam_nav {
        position: absolute;
        top: 44%;
        z-index: 3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        background: #AFAFAF;
        cursor: pointer;
        transform: translateY(-50%);
        transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
        backdrop-filter: blur(3px);

        &:hover,
        &:focus-visible {
            background: #383636;
            transform: translateY(-50%) scale(1.03);
        }

        &:disabled {
            opacity: 0.35;
            cursor: default;

            &:hover,
            &:focus-visible {
                transform: translateY(-50%);
            }
        }

        span {
            display: block;
            width: 12px;
            height: 12px;
            border-top: 2px solid #ffffff;
            border-right: 2px solid #ffffff;
        }

        &.topteam_nav-prev {
            left: 0;

            span {
                transform: rotate(-135deg);
            }
        }

        &.topteam_nav-next {
            right: 0;

            span {
                transform: rotate(45deg);
            }
        }
    }

    .topteam_link {
        display: block;
        width: max-content;
        margin: 41px auto 0;
        padding: 11px 70px;
        color: #ffffff;
        background: #0096B2;
        border-radius: 999px;
        font-size: 16px;
        font-weight: 600;
    }
}

/* ==========================================================================
   TEAM PAGE HEADER
   ========================================================================== */
.team-page-header {
    .match-banner {
        height: auto;
        min-height: 107px;

        .match-banner-inner {
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 6px;
            padding-top: 22px;
            padding-bottom: 22px;
        }

        .match-banner-subtitle {
            margin-top: 0;
            font-size: 14px;
        }
    }
}

/* ==========================================================================
   MATCH NAV GRID & TOUR SECTION (SHARED)
   ========================================================================== */
.match-nav-grid-section {
    margin-top: 168px;
    margin-bottom: 142px;
    padding-left: 106px;
    padding-right: 102px;
    width: 100%;
    box-sizing: border-box;
}

.match-grid-container {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 384px);
    justify-content: flex-start;
}

.match-grid-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.match-grid-box {
    width: 384px;
    height: 216px;
    background-color: #D9D9D9;
    padding-left: 71px;
    padding-right: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.match-grid-box-text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #000000;
    text-align: center;
}

.match-grid-label {
    display: block;
    margin-top: 15px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

/* =========================================================
   画像＋テキストのカラムカード（.match-grid-container を参考）
   .col-cards に .col-3 / .col-2 を付けて列数を切り替える。
   カード全体（.col-card）がリンク。ホバーで内側の画像が5%拡大。
   ========================================================= */
.col-cards {
    display: grid;
    gap: 40px;
    /* 参考(.match-grid-container)の総幅に合わせて上限を設定。
       コンテナが狭い場合は列が縮んで収まる（はみ出し防止） */
    max-width: 1232px;
    /* 固定ページに貼った際、前後の要素と自然に余白が取れるように */
    margin: 70px 0;
}

.col-cards.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.col-cards.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* カード（全体がリンク） */
.col-card {
    display: block;
    color: #000000;
    text-decoration: none;
}

/* 画像ラッパー（拡大時のはみ出しを隠す） */
.col-card-img {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #D9D9D9;
}

.col-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* ホバーで内側の画像を5%拡大 */
.col-card:hover .col-card-img img {
    transform: scale(1.05);
}

/* テキスト */
.col-card-text {
    margin-top: 15px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
}

.match-tour-title {
    font-family: "peckham-press", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    margin-top: 102px;
    margin-bottom: 10px;
    color: #001B5B;
    text-align: center;
}

.match-tour-subtitle {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 52px;
    color: #04003B;
    text-align: center;
}

.match-tour-banners-row {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.match-tour-banner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-tour-banner-img {
    width: 500px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 20px;
}

.match-tour-banner-label {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

/* ==========================================================================
   SHARE SECTION
   ========================================================================== */
.share_section_container {
/*     max-width: 1440px; */
    width: 100%;
    height: 401px;
    background-color: #000B2B;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 auto;
}

.share_section_container .share_title_main {
    font-family: 'peckham-press', sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.share_section_container .share_subtitle {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}

.share_section_container .share_box_logos {
    width: 600px;
    height: 159px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-top: 30px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.share_section_container .share_logo_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.share_section_container .share_logo_outer {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.share_section_container .share_logo_img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.share_section_container .share_logo_text {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1;
    color: #001B5B;
    text-align: center;
}



.sp_br {
    display: none !important;
}

.match-page-header.no_border_bottom .match-breadcrumb {
    border-bottom: none !important;
}

.result_main_section {
    max-width: 1040px;
    width: 100%;
    margin: 32px auto 110px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;

    .result_tabs_container {
        width: 1040px;
        height: 56px;
        background: linear-gradient(90deg, #001B5B 0%, #00247B 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        margin-bottom: 32px;

        .result_tabs_inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 990px;
            box-sizing: border-box;
        }

        .tab_btn {
            width: 330px;
            height: 40px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-family: "Noto Sans JP", sans-serif;
            font-weight: 700;
            font-size: 16px;
            color: #FFFFFF;
            transition: all 0.2s ease;

            &.active {
                background: #FFFFFF;
                color: #001B5B;
                border-radius: 100px;
            }
        }

        .tab-color-white {
            opacity: 0.5;
        }
    }

    .result_banner_wrap {
        position: relative;
        width: 100%;
        height: 67px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;

        .result_watermark {
            position: absolute;
            top: 75%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: 'peckham-press', sans-serif;
            font-size: 89px;
            font-weight: 400;
            line-height: 0.8;
            color: #009EB426;
            white-space: nowrap;
            z-index: 1;
            pointer-events: none;
            text-transform: uppercase;
            text-align: center;
            letter-spacing: 3px;
        }

        .result_badge_banner {
            position: relative;
            z-index: 2;
            width: 420px;
            height: 67px;
            background: rgba(0, 27, 91, 1);
            color: #FFFFFF;
            font-family: "Noto Sans JP", sans-serif;
            font-size: 20px;
            font-weight: 700;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.3;
            clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
        }
    }

    .result_match_time_stadium {
        font-family: "Noto Sans JP", sans-serif;
        font-size: 28px;
        line-height: 1.4;
        font-weight: 700;
        color: #001B5B;
        text-align: center;
        margin-bottom: 36px;
        display: flex;
        gap: 35px;
    }
    .result_score_board_container {
        width: 477px;
        /* 高さを207px固定にしていたため、得点者が3人以上になると
           得点者リストが枠の外へはみ出し、下の MATCH STATS との間隔が
           詰まって最後は重なっていた(得点者5件で間隔11px、6件で-45px)。
           min-height に変えて中身に応じて伸びるようにし、
           MATCH STATS 側の margin-top:60px が常に確保されるようにする(2026-08-22修正)。
           得点者が2件以下のときは従来どおり207pxのままで表示は変わらない。 */
        height: auto;
        min-height: 207px;
        display: flex;
        justify-content: center;
        gap: 24px;
        align-items: flex-start;
        box-sizing: border-box;

        .score_team_col {
            width: 160px;
            /* 上と同じ理由。カラム側も中身に合わせて伸ばす */
            height: auto;
            min-height: 207px;
            display: flex;
            flex-direction: column;
            align-items: center;

            .team_badge {
                width: 130px;
                height: 34px;
                padding: 6px 0 0 0;
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: center;
                font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
                font-size: 21px;
                font-weight: 700;
                color: #FFFFFF;
                margin-bottom: 15px;

                &.match_result_badge_home {
                    background-color: #001B5B;
                }

                &.match_result_badge_away {
                    background-color: #FF0000;
                }
            }

            .team_logo_box {
                width: 120px;
                height: 120px;
                text-align: center;
                min-height: 120px;
                display: flex;
                .team_crest_img {
                    max-width: 93px;
                    max-height: 120px;
                    object-fit: contain;
                    margin: 0 auto;
                }
            }

            .team_name_text {
                font-family: "Noto Sans JP", sans-serif;
                font-size: 12px;
                line-height: 1.4;
                font-weight: 400;
                color: #000000;
                text-align: center;
                margin-bottom: 8px;
                margin-top: 10px;
            }

            .team_scorers_info {
                font-family: "Noto Sans JP", sans-serif;
                font-size: 17px;
                line-height: 1.4;
                font-weight: 400;
                color: #000000;
                text-align: center;
                white-space: nowrap;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
            }

            .score_min_highlight {
                font-weight: 900;
                color: #EF8354;
            }
        }

        .score_middle_col {
            flex: 1;
            height: 165px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;

            .score_numbers_display {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 20px;

                .large_score_num {
                    font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
                    font-size: 64px;
                    font-weight: 700;
                    color: #000000;
                    line-height: 1;
                }

                .periods_score_list {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 2px;

                    .period_score_item {
                        font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
                        font-size: 21px;
                        font-weight: 700;
                        color: #000000;
                        line-height: 1.2;
                        white-space: nowrap;
                    }
                }
            }

            .score_vs_label {
                font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
                font-size: 20px;
                font-weight: 700;
                color: #000000;
                margin-top: 12px;
            }
        }
    }

    .match_stats_section {
        max-width: 1040px;
        width: 100%;
        margin: 60px auto 24px auto;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;

        .stats_title {
            font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
            font-size: 32px;
            font-weight: 700;
            color: #001B5B;
            text-align: center;
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .stats_divider {
            width: 20px;
            height: 2px;
            background-color: #001B5B;
            margin: 0 auto 20px auto;
        }

        .stats_list_container {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .stats_row_item {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 40px;
            background: rgba(0, 158, 180, 0.15);
            box-sizing: border-box;

            .stats_number {
                font-family: 'din-condensed-bold', 'DIN Condensed', sans-serif;
                font-size: 22px;
                font-weight: 700;
                color: #000000;
                text-align: center;
                padding-left: 0;
                padding-right: 0;
                display: flex;
                align-items: center;
                justify-content: center;

                &.left_val {
                    flex: 1;
                    text-align: center;
                    padding-right: 0;
                }

                &.right_val {
                    flex: 1;
                    text-align: center;
                    padding-left: 0;
                }
            }

            .stats_label_badge {
                width: 136px;
                height: 24px;
                background: #FFFFFF;
                color: rgba(0, 27, 91, 1);
                font-family: "Noto Sans JP", sans-serif;
                font-weight: 700;
                font-size: 17px;
                line-height: 1.4;
                display: flex;
                align-items: center;
                justify-content: center;
                clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
                flex-shrink: 0;
            }
        }
    }
}

@media (max-width: 768px) {

    /* Merged from block */
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    body{
        padding-top:93px;
    }

    .header_area {
        background: none;

        &.hide{
            transform:translateY(-93px);
        }
    }

    .header_top {
        height: 53px;
        background-color: #001b5b;
        border-bottom: 2px solid #009eb4;
    }

    .header_top_wrap {
        .left {
            display: none;
        }

        .center {
            position: static;
            top: auto;
            left: auto;
            transform: none;
            padding-left: 14px;

            img {
                width: 26px;
            }
        }

        .right {
            gap: 15px;
            padding-right: 15px;

            img {
                height: 28px;
            }
        }

        .header_hamburger {
            position: relative;
            width: 20px;
            height: 16px;
            margin-left: 3px;

            .open{
                display:block;
                height:100%;
                position:relative;
            }
            .close{
                display:none;
            }
            &.active{
                height: auto;

                .open{
                    display:none;
                }
                .close{
                    display:block;

                    img{
                        width:14px;
                        height:auto;
                        margin:0 auto;
                    }
                    p{
                        margin-top:5px;
                        font-size:7px;
                        white-space:nowrap;
                        color:#ffffff;
                    }
                }
            }
            span {
                position: absolute;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: #ffffff;
                border-radius: 10px;

                &.top {
                    top: 0;
                }

                &.center {
                    top: 50%;
                    transform: translateY(-50%);
                }

                &.bottom {
                    bottom: 0;
                }
            }
        }
    }

    .header_bottom_mobile {
        background-color:#ffffff;
        overflow: hidden;
    }

    .header_bottom_wrap_mobile {
        display: flex;
        overflow: auto;
        /* 背景を .header_top と同じ紺色に */
        background-color: #001b5b;

        &::-webkit-scrollbar{
            width:5px;
            height:5px;
        }
        &::-webkit-scrollbar-thumb{
            background:#7b7a7a;
            border-radius:100px;
        }
        &::-webkit-scrollbar-track{
            background:#d9d9d9;
            border-radius:100px;
        }
        a {
            padding: 10px 13px;
            font-family: "Noto Sans JP", sans-serif;
            font-size: 10px;
            font-weight: bold;
            white-space: nowrap;
            /* 紺背景に合わせてリンクを白に */
            color: #ffffff;
            /* 区切り線は紺背景でも見えるよう半透明の白に */
            border-right: 1px solid rgba(255, 255, 255, 0.25);

            &last-child {
                border: none;
            }
        }
    }

    .header_detail_nav {
        display: none;
        position: absolute;
        top: 112px;
        left: 0;
        right: 0;
        overflow: hidden;
        z-index: 1000;

        &.active {
            display: block;
        }

        &:before {
            content: '';
            position: absolute;
            top: -5px;
            left: -5px;
            right: -5px;
            bottom: -5px;
            background-color: rgba(0, 27, 91, 0.9);
            -webkit-filter: blur(5px);
            -moz-filter: blur(5px);
            -o-filter: blur(5px);
            -ms-filter: blur(5px);
            filter: blur(5px);
            z-index: -1;
        }
    }

    .header_detail_wrap {
        display: grid;
        grid-template-columns: 362px 1fr;
        max-width: 1300px;
        margin: 0 auto;
        padding: 70px 0 94px;

        .title {
            .en {
                margin-bottom: 5px;
                font-family: "peckham-press", sans-serif;
                font-size: 40px;
                color: #ffffff;
            }

            .jp {
                font-size: 16px;
                color: #ffffff;
            }
        }

        .container {
            display: grid;
            gap: 42px;

            .row {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                align-items: flex-end;
                gap: 66px;

                .box {
                    .name {
                        font-size: 14px;
                        font-weight: bold;
                        color: #ffffff;
                        padding-bottom: 12px;
                        border-bottom: 1px solid #ffffff;

                        &.blank {
                            background: url('../images/common/target_blank_icon.png') center right 8px / 12px no-repeat;
                        }
                    }

                    .img {
                        height: 119px;
                        margin-top: 20px;
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }
            }
        }
    }

    /* Merged from block */
    /* BANNER MOBILE */
    .banner_wrapper {
        .banner_img {
            padding-top: 0;

            img {
                width: 100%;
            }
        }

        .banner_slideshow {
            height: 108px;

            &::before,
            &::after {
                width: 36px;
            }

            .banner_slideshow-viewport {
                padding: 14px 0;
                animation-duration: 28s;
            }

            .banner_slideshow-track {
                gap: 8px;
                padding-right: 8px;
            }
        }

        .banner_slide {
            width: 158px;
            height: 76px;
        }
    }

    /*---------- header > モバイルナビゲーション ----------*/
    body{
        &.hidden{
            overflow:hidden;
        }
    }
    .header_nav_sp_area{
        display:none;
        position:fixed;
        top:53px;
        right:0;
        bottom:0;
        left:0;
        padding:20px;
        background-color:#001b5b;
        overflow:auto;

        &.active{
            display:block;
        }
    }
    .header_nav_sp_list{
        .box{
            .title{
                padding:18px 0;
                font-family:"peckham-press", sans-serif;
                font-size:16px;
                line-height:100%;
                color:#ffffff;
                border-bottom:1px solid #ffffff;

                &.more{
                    position:relative;

                    &:before{
                        content:'';
                        position:absolute;
                        top:50%;
                        right:0;
                        transform:translateY(-50%);
                        width:20px;
                        height:2px;
                        background-color:#ffffff;
                    }
                    &:not(&.active){
                        &:after{
                            content:'';
                            position:absolute;
                            top:50%;
                            right:9px;
                            transform:translateY(-50%);
                            width:2px;
                            height:20px;
                            background-color:#ffffff;
                        }
                    }
                }
            }
            ul{
                display:none;
                margin:0;
                padding:0 0 0 16px;

                &.active{
                    display:block;
                }
                li{
                    padding:13px 0;
                    list-style:none;
                    border-bottom:1px solid rgba(255, 255, 255, 0.5);

                    a{
                        display:block;
                        padding-right:12px;
                        font-size:14px;
                        color:#ffffff;

                        &.blank{
                            background:url("../images/common/header_sp_other_link.png") center right / 12px no-repeat;
                        }
                    }
                }
            }
        }
    }
    .header_nav_sp_container{
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:8px;
        margin-top:32px;

        a{
            display:flex;
            justify-content:center;
            align-items:center;
            padding:10px 0;
            background-color:#009eb4;

            img{
                width:auto;
                height:44px;
            }
        }
    }

    /* ===== 旧フッターCSS（v1 / SP）— 新フッター(v2)へ置き換えのためコメントアウト ここから ↓↓↓ ===== */
    /*
    .footer_desktop,
    .footer_legal {
        display: none;
    }

    .footer_mobile {
        display: block;
    }

    .footer_top {
        min-height: 52px;
        font-size: 14px;
    }

    .footer_main {
        padding: 0;
    }

    .footer_mobile_menu {
        border-top: 1px solid rgba(255, 255, 255, 0.5);
    }

    .footer_mobile_section,
    .footer_mobile_link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .footer_mobile_section summary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 14px;
        list-style: none;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .footer_mobile_section summary::-webkit-details-marker {
        display: none;
    }

    .footer_mobile_section summary::after {
        content: "+";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 6px;
        background: #ffffff;
        color: #092a68;
        font-size: 20px;
        font-weight: 800;
        line-height: 1;
    }

    .footer_mobile_section[open] summary::after {
        content: "−";
    }

    .footer_mobile_panel {
        display: grid;
        gap: 8px;
        padding: 0 14px 14px;
    }

    .footer_mobile_panel a {
        display: block;
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
        line-height: 1.4;
        text-decoration: none;
    }

    .footer_mobile_link {
        display: block;
        padding: 16px 14px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    .footer_mobile_meta {
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        padding: 30px 15px 24px;
    }

    .footer_mobile_shortcuts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer_mobile_shortcut_title {
        font-size: 14px;
        font-weight: 800;
        color: #ffffff;
    }

    .footer_mobile_schedule_links {
        display: flex;
        gap: 14px;
        margin-top: 14px;
    }

    .footer_mobile_shortcut {
        display: grid;
        justify-items: center;
        gap: 6px;
        color: #ffffff;
        text-align: center;
        font-size: 8px;
        font-weight: 700;
        line-height: 1.35;
    }

    .footer_mobile_shortcut svg {
        width: 26px;
        height: 26px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .footer_mobile_socials {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 14px;
    }

    .footer_social {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 6px;
        background: #ffffff;
        color: #092a68;
    }

    .footer_social span {
        font-weight: 800;
        line-height: 1;
    }

    .footer_social-x span,
    .footer_social-facebook span,
    .footer_social-tiktok span {
        font-size: 21px;
    }

    .footer_social-instagram span {
        font-size: 21px;
        transform: translateY(-1px);
    }

    .footer_social-line span {
        font-size: 9px;
        letter-spacing: 0.02em;
    }

    .footer_logo-mobile {
        margin-top: 34px;
    }

    .footer_logo-mobile img {
        width: 114px;
    }
    */
    /* ===== 旧フッターCSS（v1 / SP）ここまで ↑↑↑ ===== */

    /* MATCH MOBILE */
    .match_wrapper {
        grid-template-columns: 1fr;
    }
    .match_tab {
        height: 54px;
        font-size: 17px;
    }

    .match_cards_wrapper {
        --card-width: min(280px, calc(100vw - 116px));
        --card-gap: 12px;
        width: 100%;
        margin-top: 18px;
    }

    .match_cards_viewport {
        padding: 14px 0 22px;
    }

    .match_card-head {
        padding: 6px 45px;
        font-size: 12px;
        box-sizing: border-box;
    }

    .match_card-head {
        padding: 6px 6px !important;
        font-size: 8px !important;
    }

    .match_card{
        .match_card-body{
            padding:15px;
        }
    }

    .match_date {
        gap: 4px;

        .match_date-main {
            font-size: 45px;
        }

        .match_date-sub {
            font-size: 20px;
        }
    }

    .match_teams {
        gap: 10px;
    }

    .match_crest {
        width: 48px;
    }

    .match_opponent-logo {
        width: 46px;
    }

    .match_vs {
        font-size: 46px;
    }

    .match_meta {
        gap: 6px;
        margin-bottom: 14px;
    }

    .match_actions {
        gap: 0;
    }

    .match_home_badge {
        min-width: 38px;
        font-size: 10px;
    }

    .match_venue {
        font-size: 12px;
    }

    .match_button {
        min-height: 30px;
        font-size: 10px;
    }

    .match_nav {
        width: 30px;
        height: 30px;

        &.match_nav-prev {
            left: 0;
            transform: translate(-20%, -50%);
        }

        &.match_nav-next {
            right: 0;
            transform: translate(20%, -50%);
        }
    }

    .match_schedule_link,
    .standings_link {
        font-size: 15px;
        padding: 10px 50px;
    }

    .standings_panel {
        padding: 26px 30px;
    }

    .standings_title {
        font-size: 25px;
    }

    .standings_subtitle {
        margin-top: 18px;
        font-size: 14px;
    }

    .standings_summary {
        justify-content: center;
        gap: 8px;
    }

    .standings_rank {
        display: flex;
        align-items: baseline;
        gap: 2px;
        color: #ffffff;
        margin-top:0;
    
        .standings_rank-number {
            font-size: 42px;
        }
    
        .standings_rank-unit {
            font-size: 18px;
        }
    }

    .standings_record {
        border-width: 2px;

        .standings_record-main {
            gap: 10px;
            padding: 7px 12px 8px;

            span,
            .standings_points {
                font-size: 14px;
            }

            strong {
                font-size: 22px;
            }
        }
    }

    .standings_points {
        border-left-width: 2px;
        padding: 7px 12px 8px;
    }

    .standings_table_wrapper {
        max-width: none;
        max-height: 170px;
    }

    .standings_table {
        height: 143px;
        font-size: 12px;

        thead th {
            padding: 9px 6px;
            font-size: 11px;
        }

        td {
            padding: 9px 6px;
        }
    }

    /* TICKET MOBILE */
    .ticket_wrapper {
        background-image: url("../images/ticket_bg_sp.webp");
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        min-height: 313px;

        &::before {
            height: 40px !important;
            top: -22px !important;
        }

        .ticket_head {
            padding-top: 20px;
        }

        .ticket_title {
            font-family: "peckham-press", sans-serif;
            font-size: 26px;
        }

        .ticket_subtitle {
            margin-top: 20px;
            font-size: 11px;
        }
    }

    /* OFFICIAL AND GUIDE MOBILE */
    .official_and_guide_wrapper {
        flex-direction: column;

        .official_content,
        .guide_content {
            padding: 38px 22px 60px;
            width: 100%;
        }

        .official_content {
            background:
                linear-gradient(rgba(21, 43, 92, 0.9), rgba(21, 43, 92, 0.9)),
                url("../images/official_bg_sp.webp");
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
        }

        .guide_content {
            background:
                linear-gradient(rgba(62, 206, 255, 0.4), rgba(62, 206, 255, 0.4)),
                url("../images/guide_bg_sp.webp");
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            position: relative;

            .guide_head {
                position: absolute;
                top: 28%;
                left: 50%;
                transform: translate(-50%, -50%);
                text-align: center;
                height: auto;
            }
        }

        .official_title {
            font-size: 22px;
        }

        .official_subtitle {
            margin-top: 10px;
            font-size: 12px;
        }

        .official_img_team {
            display: block;
            width: 100%;
            max-width: 212px;
            margin: 44px auto 0;
        }

        .official_img_sale {
            display: block;
            width: 100%;
            margin: 43px auto 0;
        }

        .guide_title {
            font-size: 41px;
        }

        .guide_subtitle {
            margin-top: 17px;
            font-size: 12px;
        }

        .guide_text {
            margin-top: 29px;
            font-size: 25px;
            font-weight: 700;
        }

        .guide_link {
            margin: 0 auto;
            margin-top: 25px;
            padding: 10px 18px;
            width: max-content;
            background: #04003B;
            color: #ffffff;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 700;
        }
    }

    /* MATCH PAGE HEADER MOBILE */
    .match-page-header {
        .match-breadcrumb {
            .match-breadcrumb-inner {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 11px 19px 10px 19px;
                margin: 0 auto;
            }
        }

        .match-banner {
            height: auto;

            .match-banner-inner {
                padding: 12px 20px;
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
            }

            .match-banner-title {
                font-size: 24px;
            }

            .match-banner-subtitle {
                font-size: 10px;
                margin-top: 5px;
            }
        }
    }

    /* TEAM STAFF BOTTOM GRID MOBILE */
    .team-staff-bottom-grid {
        display: grid;
        grid-template-columns: repeat(2, 168px);
        justify-content: center;
        column-gap: 16px;
        row-gap: 16px;
        margin-top: 40px;
        margin-bottom: 60px;

        .team-staff-bottom-card {
            width: 168px;
            gap: 10px;
            display: flex;
            flex-direction: column;

            .bottom-card-image {
                width: 168px;
                height: 95px;
                aspect-ratio: auto;

                .placeholder-img {
                    font-size: 14px;
                    font-weight: 500;
                }
            }

            .bottom-card-title {
                font-size: 14px;
            }
        }
    }

    /* TEAM STAFF NAV MOBILE */
    .team-staff-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 15px;
        margin-bottom: 30px;
        padding: 0;

        .team-staff-nav-btn {
            width: 100%;
            height: 48px;
            padding: 12px 16px;
            font-size: 12px;

            .btn-icon {
                width: 14px;
                height: 14px;

                &::after {
                    width: 5px;
                    height: 5px;
                    margin-top: -2px;
                }
            }
        }

        .team-staff-nav-3 {
            padding: 10px 16px;
        }
    }

    /* TEAM STAFF CATEGORY TITLE MOBILE */
    .team-staff-category-title {
        font-size: 18px;
        margin-bottom: 21px;
        gap: 20px;
        line-height: 1.77;

        &::before {
            width: 3px;
            height: 32px;
        }
    }

    /* TEAM PAGE HEADER MOBILE */
    .team-page-header {
        .match-banner {
            min-height: 80px;

            .match-banner-inner {
                padding-left: 20px;
                padding-right: 20px;
                padding-top: 15px;
                padding-bottom: 15px;
            }

            .match-banner-subtitle {
                font-size: 10px;
            }
        }
    }

    /* MATCH NAV GRID & TOUR MOBILE (SHARED) */
    .match-nav-grid-section {
        padding: 0 20px;
        margin-top: 74px;
        margin-bottom: 80px;
    }

    .match-grid-container {
        grid-template-columns: repeat(2, 169px);
        gap: 14px 15px;
        justify-content: center;
    }

    .match-grid-box {
        width: 169px;
        height: 95px;
        padding-left: 0;
        padding-right: 0;
    }

    .match-grid-box-text {
        display: none;
    }

    .match-grid-label {
        font-size: 14px;
        margin-top: 10px;
    }

    /* 画像＋テキストのカラムカード（SP：3カラム・2カラムとも2列） */
    .col-cards {
        margin: 40px 0;
    }

    .col-cards.col-3,
    .col-cards.col-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 15px;
        justify-content: center;
    }

    /* 固定ページ本文が「PCの1行＝1ブロック」という作りのため、.col-cards が
       3枚ずつ別々のグリッドに分かれている。SPで2列にすると1ブロック(3枚)が
       「2枚＋1枚」に割れ、ページ全体では 2,1,2,1… と交互に並んでしまう
       (/support で発生。カード16枚が 2,1,2,1,2,1,2,1,2,1,1 になっていた)。
       .col-3 のブロックが連続しているときだけ、親(.pp)側を2列グリッドにして
       ブロックの箱を display:contents で外し、全カードを1つのグリッドへ流す。
       ブロックが1つだけのページ(partner-info)や .col-2 のページ(team/fan)、
       col-3が連続しないページ(tickets)は条件に合わないため従来どおり。
       :has() 非対応ブラウザでは条件が成立せず、現状の表示のまま。(2026-08-22追加) */
    .pp:has(> .col-cards.col-3 + .col-cards.col-3) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 15px;
        /* display:contents で消える .col-cards の上下margin(40px)を親側で補う。
           左右は .pp の margin:0 auto を壊さないよう上下だけを指定する */
        margin-top: 40px;
        margin-bottom: 40px;
    }

    /* 本文にカード以外の「要素」(<p>や<h2>等)が挟まっても2列に巻き込まれないよう全幅にする。
       ※注意: このサイトは functions.php で固定ページの wpautop を無効化しているため、
         本文にタグで包んでいない生テキストを書くと <p> が付かないまま出力される。
         その場合、テキストがグリッドのマスを1つ占有して以降のカードが1つずつずれる
         (CSSのセレクタは要素しか選べず、生テキストだけはこのルールで防げない)。
         /support の本文に文章を足すときは必ず <p> や <h2> 等で包むこと。 */
    .pp:has(> .col-cards.col-3 + .col-cards.col-3) > *:not(.col-cards.col-3) {
        grid-column: 1 / -1;
    }

    .pp:has(> .col-cards.col-3 + .col-cards.col-3) > .col-cards.col-3 {
        display: contents;
    }

    .col-card-text {
        margin-top: 10px;
        font-size: 14px;
    }

    .match-tour-title {
        margin-top: 52px;
        font-size: 24px;
    }

    .match-tour-subtitle {
        font-size: 12px;
        margin-bottom: 24px;
        font-weight: bold;
    }

    .match-tour-banners-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .match-tour-banner-img {
        width: 100%;
        max-width: 352px;
        height: auto;
        aspect-ratio: 500 / 80;
        margin-bottom: 0;
    }

    .match-tour-banner-label {
        display: none !important;
    }

    .result_main_section {
        margin-bottom: 60px;
        margin-top: 20px;

        .result_tabs_container {
            width: 100% !important;
            max-width: 100% !important;
            height: 56px !important;
            margin-bottom: 20px;

            .result_tabs_inner {
                max-width: 100% !important;
                justify-content: space-between !important;
                padding-left: 40px !important;
                padding-right: 40px !important;
                box-sizing: border-box !important;
            }

            .tab_btn {
                width: 33% !important;
                max-width: 117px !important;
                font-size: 14px !important;
                text-align: center !important;
                line-height: 1 !important;

                &.active {
                    width: 28% !important;
                    max-width: 100px !important;
                }
            }
        }

        .result_banner_wrap {
            height: 51px !important;

            .result_watermark {
                font-size: 64px !important;
                line-height: 0.8 !important;
                white-space: normal !important;
                width: 100% !important;
                letter-spacing: 0;
                overflow: hidden;
                top: 102%;
            }

            .result_badge_banner {
                width: 287px !important;
                height: 51px !important;
                font-size: 14px !important;
                clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%) !important;
            }
        }

        .result_match_time_stadium {
            font-size: 19px !important;
            margin-bottom: 20px !important;
			flex-direction: column;
            gap: 4px;
        }

        .result_score_board_container {
            width: 100% !important;
            height: auto !important;
            align-items: flex-start !important;
            padding: 0 20px;
            padding-bottom: 20px !important;
            gap: 26px;

            .score_team_col {
                width: 100px !important;
                height: auto !important;

                .team_badge {
                    width: 100px !important;
                    height: 28px !important;
                    font-size: 18px !important;
                    padding: 5px 0 0 0 !important;
                }

                .team_logo_box {
                    width: 62px !important;
                    height: 80px !important;

                    .team_crest_img {
                        max-width: 62px !important;
                        max-height: 80px !important;
                    }
                }

                .team_name_text {
                    font-size: 12px !important;
                    margin-bottom: 8px;
                }

                .team_scorers_info {
                    font-size: 14px !important;
                    margin-bottom: 8px;
                    white-space: nowrap !important;
                }
            }

            .score_middle_col {
                .score_numbers_display {
                    gap: 16px;

                    .large_score_num {
                        font-size: 44px !important;
                    }

                    .periods_score_list {
                        .period_score_item {
                            font-size: 17px !important;
                            white-space: nowrap !important;
                        }
                    }
                }

                .score_vs_label {
                    font-size: 14px !important;
                    margin-top: 12px !important;
                }
            }
        }

        .match_stats_section {
            max-width: 353px !important;
            margin: 32px 0 40px 0 !important;

            .stats_title {
                font-size: 20px;
            }

            .stats_list_container {
                gap: 6px !important;
            }

            .stats_row_item {
                height: 26px !important;

                .stats_number {
                    font-size: 19px !important;
                    text-align: center !important;
                    padding-left: 0 !important;
                    padding-right: 0 !important;
                }

                .stats_label_badge {
                    width: 136px !important;
                    height: 17px !important;
                    font-size: 12px !important;
                    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%) !important;
                }
            }
        }
    }

    .share_section_container {
        width: 100% !important;
        height: 225px !important;

        padding: 40px 20px 20px 20px !important;
    }

    .share_section_container .share_title_main {
        font-size: 26px !important;
    }

    .share_section_container .share_subtitle {
        font-size: 10px !important;
        margin-bottom: 20px !important;
    }

    .share_section_container .share_box_logos {
        width: 100% !important;
        height: 100px !important;
        padding: 0 20px !important;
        gap: 20px !important;
    }

    .share_section_container .share_logo_outer {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 8px !important;
    }

    .share_section_container .share_logo_img {
        width: 29px !important;
        height: 29px !important;
    }

    .share_section_container .share_logo_text {
        font-size: 12px !important;
    }
}

/* ============================================================================
   ▼▼▼ 新フッター（v2 / Figmaデザイン準拠）ここから ▼▼▼
   対応HTML: footer.php / メニュー登録: functions.php(footer_pc_nav, footer_bottom_nav)
   ※ この下から末尾までが新フッター用CSS
   ============================================================================ */
.site_footer {
    background: #001b5b;
    color: #ffffff;
}

.footer_inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 32px;
}

/* ロゴ */
.footer_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer_logo_crest {
    width: 76px;
    height: auto;
}

.footer_logo_word {
    width: 151px;
    height: auto;
}

/* ===== PC：3カラムアコーディオンナビ ===== */
/* 3カラムのGrid。各行の高さはその行で一番高いセクションに揃う（row-major） */
.footer_nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 61px;
    row-gap: 16px;
    align-items: start;
    margin-top: 40px;
}

.footer_nav_group {
    width: 100%;
}

/* 見出し（ボタン or リンク） */
.footer_nav_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 20px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-family: "peckham-press", sans-serif;
    font-size: 16px;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.footer_nav_title {
    display: block;
}

/* 開閉トグル（＋ / 開いたら −） */
.footer_nav_toggle {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.footer_nav_toggle::before,
.footer_nav_toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.footer_nav_toggle::before {
    width: 14px;
    height: 1.5px;
}

.footer_nav_toggle::after {
    width: 1.5px;
    height: 14px;
}

/* 開いている時は縦線を消して「−」に */
.footer_nav_group.is-open .footer_nav_toggle::after {
    display: none;
}

/* 子リンク（デフォルト閉じる） */
.footer_nav_sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_nav_group.is-open .footer_nav_sub {
    display: block;
}

.footer_nav_sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer_nav_sub a:hover {
    opacity: 0.6;
}

/* 別タブ（外部）リンクには ↗ を表示 */
.footer_nav_sub a[target="_blank"]::after {
    content: "↗";
    flex-shrink: 0;
    font-size: 13px;
}

/* ===== SP：MENUボタン（PCは非表示） ===== */
.footer_menu_btn {
    display: none;
}

/* ===== ユーティリティボタン（4つ） ===== */
.footer_utility {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.footer_utility_btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 81px;
    background: #009eb4;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer_utility_btn:hover {
    opacity: 0.85;
}

/* NAYBee（ロゴ画像＋小テキストの縦並び） */
.footer_utility_btn:first-child {
    flex-direction: column;
    gap: 4px;
}

.footer_utility_naybee {
    width: auto;
    height: 32px;
}

.footer_utility_icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer_utility_text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.footer_utility_btn:first-child .footer_utility_text {
    font-size: 11px;
}

/* 別タブ（外部）には ↗ を付与 */
.footer_utility_text.is-blank::after {
    content: "↗";
}

/* ===== SNS ===== */
.footer_sns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-top: 32px;
}

/* 各SNSは56px枠に中央寄せ（アイコンごとの余白差を吸収して大きさを揃える） */
.footer_sns_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    transition: opacity 0.2s ease;
}

.footer_sns_link:hover {
    opacity: 0.7;
}

.footer_sns_link img {
    display: block;
    width: 56px;
    height: 56px;
}

/* LINEは図柄に余白が無く大きく見えるため、枠内で縮小して他と揃える */
.footer_sns_link-line img {
    width: 41px;
    height: 41px;
}

/* ===== 下部リンク ===== */
.footer_bottom {
    margin-top: 40px;
}

.footer_bottom_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_bottom_list li {
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    line-height: 1;
}

.footer_bottom_list li:last-child {
    border-right: 0;
}

.footer_bottom_list a {
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer_bottom_list a:hover {
    opacity: 0.6;
}

/* ===== コピーライト ===== */
.footer_copyright {
    margin-top: 60px;
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

/* ===== SP（〜768px） ===== */
@media (max-width: 768px) {
    .footer_inner {
        padding: 32px 20px;
    }

    .footer_logo {
        gap: 18px;
    }

    .footer_logo_crest {
        width: 92px;
    }

    .footer_logo_word {
        width: 168px;
    }

    /* PCナビは非表示、MENUボタンを表示 */
    .footer_nav {
        display: none;
    }

    .footer_menu_btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        margin-top: 28px;
        padding: 0 24px;
        background: #ffffff;
        color: #001b5b;
        font-family: "peckham-press", sans-serif;
        font-size: 24px;
        font-style: italic;
        font-weight: 700;
        text-decoration: none;
    }

    .footer_menu_btn_icon svg {
        display: block;
        width: 24px;
        height: 24px;
    }

    /* ユーティリティボタン：2×2 */
    .footer_utility {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 24px;
    }

    .footer_utility_btn {
        flex: 0 0 calc(50% - 7.5px);
        height: 72px;
    }
    /* カレンダー・チケット・オフィシャルオンラインストアの3つを縮小(2026-08-21追加)。
       「オフィシャルオンラインストア」は14pxだと1枠(366px幅の端末で156px)に収まらず、
       アイコン+間隔+文字がちょうど156pxとなって左右の余白が消え、
       さらに外部リンクの ↗ が3行目へ溢れていた。
       文字を12pxに、アイコンとの間隔を16px→10pxに詰めて2行に収める。
       :not(:first-child) で除外しているNAYBeeボタンは縦並び・11px指定のため対象外。 */
    .footer_utility_btn:not(:first-child) {
        gap: 10px;
    }

    .footer_utility_btn:not(:first-child) .footer_utility_text {
        font-size: 12px;
    }

    /* SP：NAYBeeロゴはボタン高さ(72px)に収まるサイズに調整 */
    .footer_utility_naybee {
        height: 28px;
    }

    /* SNS：横一列（折り返さない） */
    .footer_sns {
        flex-wrap: nowrap;
        gap: 12px;
        margin-top: 28px;
    }

    .footer_sns_link {
        width: 40px;
        height: 40px;
    }

    .footer_sns_link img {
        width: 40px;
        height: 40px;
    }

    .footer_sns_link-line img {
        width: 29px;
        height: 29px;
    }

    /* 下部リンク（2行に折り返し） */
    .footer_bottom {
        margin-top: 28px;
    }

    .footer_bottom_list {
        row-gap: 12px;
    }

    .footer_bottom_list li {
        padding: 0 12px;
    }

    .footer_bottom_list a {
        font-size: 12px;
    }

    .footer_copyright {
        margin-top: 32px;
    }
}
/* ============================================================================
   ▲▲▲ 新フッター（v2）ここまで ▲▲▲
   ============================================================================ */

/* ===== 幅769〜1000px: ナビがエンブレムに重なる不具合の修正(2026-11-20) =====
   文字は10pxで下げ止まるのに間隔だけが残り、幅900px以下で FAN や NEWS がエンブレムの下に潜っていた。
   この幅では、左右をきっちり半分ずつに分け、エンブレムの分を空けて、残りに均等に並べる。
   1001px以上の表示には一切影響しない。 */
@media screen and (min-width: 769px) and (max-width: 1000px) {
    .header_bottom.pc .header_bottom_wrap ul:first-child,
    .header_bottom.pc .header_bottom_wrap ul:last-child {
        flex: 0 0 50%;
        min-width: 0;
        box-sizing: border-box;
        justify-content: space-between;
        gap: 4px;
    }
    .header_bottom.pc .header_bottom_wrap ul:first-child {
        padding-right: clamp(46px, 6vw, 60px);
    }
    .header_bottom.pc .header_bottom_wrap ul:last-child {
        padding-left: clamp(46px, 6vw, 60px);
    }
    .header_bottom.pc .header_bottom_wrap ul:only-child {
        flex: 1 1 auto;
        padding-left: 0;
        padding-right: 0;
    }
    /* いちばん狭い幅(769〜855px)だけ、文字を10px→9pxまでなだらかに小さくして項目の間隔を保つ */
    .header_bottom.pc .header_bottom_wrap ul li {
        font-size: clamp(9px, 1.17vw, 10px);
    }
}



/* ============================================================================
   ▼▼▼ レスポンシブの崩れ修正(2026-11-22) ▼▼▼
   全ページを幅320/375/768/834/1024/1440pxで実測して見つかった、横スクロール・はみ出しの修正。
   どれも「その幅のときだけ」効く指定。1081px以上のPC表示と、375px以上のスマホのレイアウトは変えない。
   元のCSSの指定が強い(入れ子・!important)ため、先頭に html body を付け、!important で優先させている。
   ============================================================================ */

/* --- PC表示の狭い幅(769〜1080px): 中身の幅が1040px/1080px固定で、横スクロールが出ていた --- */
@media screen and (min-width: 769px) and (max-width: 1080px) {
    /* お問い合わせ・サイトマップ・よくある質問・パートナー一覧・選手一覧・チア・クラブの歴史 */
    html body .contact-main,
    html body .sitemap-main,
    html body .faq-main,
    html body .partner-main,
    html body .team-bg .team-main,
    html body .his-main {
        max-width: calc(100% - 48px) !important;
        box-sizing: border-box !important;
    }
    /* 選手一覧・チア: 4列のカード(各233px固定)を、幅に合わせて縮めて4列のまま並べる */
    html body .team-main .team_box_lists .team_box_list {
        width: calc((100% - 108px) / 4) !important;
    }
    html body .team-main .team_box_lists .team_box_list img {
        max-width: 100% !important;
        height: auto !important;
    }
    /* 試合結果・マッチレポート: 見出しタブ(3つ×330px固定)と背景文字 */
    html body .result_main_section .result_tabs_container {
        max-width: calc(100% - 48px) !important;
    }
    html body .result_tabs_container .result_tabs_inner {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    html body .result_tabs_container .result_tabs_inner .tab_btn {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
    }
    html body .result_main_section .result_watermark {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    /* ホームゲーム情報: 試合情報の枠・メニュー3列・当日スケジュール・座席図ボタン */
    html body .home_matchday_match_details .details_content_container,
    html body .schedule_timeline .timeline_item {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    html body .menu_grid {
        grid-template-columns: repeat(3, minmax(0, 320px)) !important;
        column-gap: 24px !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
    }
    html body .menu_grid .menu_item_btn {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    html body .seat_map_title_btn {
        max-width: calc(100% - 48px) !important;
    }
    /* 初めての観戦ガイド: アクセスボタン2列・車の注意ボタン */
    html body .access_grid {
        grid-template-columns: repeat(2, minmax(0, 400px)) !important;
        column-gap: 24px !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
    }
    html body .access_grid .access_btn {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    html body .car_warning_btn {
        max-width: calc(100% - 48px) !important;
    }
    /* 選手詳細: フォトギャラリー3列 */
    html body .gallery-grid.gallery-grid.gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 325px)) !important;
        column-gap: 16px !important;
    }
    html body .gallery-grid .gallery-item {
        width: 100% !important;
    }
    /* ホームゲーム情報: 「当日のスケジュール」などの案内カード(各400px固定) */
    html body .info_buttons_block .info_card {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
    }
    html body .info_buttons_block .info_card .info_card_header {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* 選手詳細: 下部の案内カード3枚(各320px固定) */
    html body .team-staff-bottom-grid {
        padding: 0 24px !important;
        box-sizing: border-box !important;
    }
    html body .team-staff-bottom-grid .team-staff-bottom-card {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
    }
    html body .team-staff-bottom-grid .team-staff-bottom-card .bottom-card-image {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* トップほか: パートナーバナーの左右の矢印が画面外へ20px出ていた */
    html body .mv_banner_slider2 .prev_arrow {
        left: 4px !important;
    }
    html body .mv_banner_slider2 .next_arrow {
        right: 4px !important;
    }
}

/* --- スマホの小さい画面(〜374px): 375px向けの固定幅が画面からはみ出していた --- */
@media screen and (max-width: 374px) {
    /* 試合・練習トップの2列メニュー */
    html body .match-grid-container {
        grid-template-columns: repeat(2, minmax(0, 169px)) !important;
    }
    html body .match-grid-container .match-grid-item,
    html body .match-grid-container .match-grid-box {
        width: 100% !important;
        min-width: 0 !important;
    }
    /* 選手詳細の下部カード2列 */
    html body .team-staff-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 168px)) !important;
    }
    html body .team-staff-bottom-grid .team-staff-bottom-card,
    html body .team-staff-bottom-grid .team-staff-bottom-card .bottom-card-image {
        width: 100% !important;
        min-width: 0 !important;
    }
    /* 試合結果・マッチレポート: スコア表の左右チームの間隔を詰める */
    html body .result_score_board_container {
        gap: 12px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    html body .result_score_board_container .team_scorers_info,
    html body .result_score_board_container .team_scorers_info .scorer_item {
        max-width: 100% !important;
        min-width: 0 !important;
    }
    /* 得点者の名前(折り返し禁止になっていた)を、はみ出すときだけ折り返す */
    html body .result_score_board_container .team_scorers_info .scorer_item,
    html body .result_score_board_container .team_scorers_info .scorer_item span {
        white-space: normal !important;
    }
    /* ホームゲーム情報: 対戦カードの左右チーム幅と、メニューの2列 */
    html body .match_teams_time_block .team_side,
    html body .match_teams_time_block .team_side .team_logo_wrap {
        width: 90px !important;
        max-width: 100% !important;
    }
    html body .menu_grid {
        grid-template-columns: repeat(2, minmax(0, 170px)) !important;
    }
    html body .menu_grid .menu_item_btn {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* 初めての観戦ガイド: 区切り線の画像が幅364px固定だった */
    html body .line_divider.line_divider.line_divider.line_divider {
        width: 100% !important;
        max-width: 364px !important;
    }
}

/* --- スマホ全般: 長いURL・メールアドレス・固定幅の部品が画面からはみ出していた --- */
@media screen and (max-width: 768px) {
    /* 長い英数字(URL・メールアドレス)は、はみ出すときだけ途中で折り返す(サステナビリティ・観戦マナー・よくある質問など) */
    html body {
        overflow-wrap: break-word !important;
    }
    html body .text-block a {
        overflow-wrap: anywhere !important;
    }
    /* ニュース記事: 青いボタン(幅350px固定)を画面幅に収める */
    html body .news_content .blue_btn {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* よくある質問: 埋め込みカード(幅500px固定)を画面幅に収める */
    html body iframe.wp-embedded-content {
        max-width: 100% !important;
    }
}
/* ▲▲▲ レスポンシブの崩れ修正(2026-11-22) ここまで ▲▲▲ */

/* ===== TOPページ 幅769〜1199px の崩れ修正(2026-11-23) ===== */
/* パートナーバナーの矢印が画面外に出る(〜1240px) */
@media (min-width:769px) and (max-width:1240px){
  html body .mv_banner_slider2 .prev_arrow{left:4px !important}
  html body .mv_banner_slider2 .next_arrow{right:4px !important}
}
@media (min-width:769px) and (max-width:1199px){
  /* 試合・順位表: 左右半分ずつ → 上下に積む */
  html body .match_wrapper{grid-template-columns:minmax(0,1fr) !important;min-height:0 !important}
  html body .match_box_right .standings_panel{padding:27px 24px 40px !important}
  /* ニュース: 写真の枠を1440pxと同じ横長(307:174)に */
  html body .news_box a img{height:auto !important;aspect-ratio:307/174 !important}
  /* ニュースのタブ: 左端が画面外に出ない、はみ出す分は横スクロール */
  html body .news_area .filter_tabs{justify-content:flex-start !important;justify-content:safe center !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch}
  html body .news_area .filter_tab{flex-shrink:0 !important}
  /* TODAY'S SCHEDULE の表: 余白と日付列を詰めて、見出し・本文が変な位置で折れないように */
  html body .schedule_wrap{padding-left:clamp(24px,4vw,72px) !important;padding-right:clamp(24px,4vw,72px) !important}
  html body .schedule_wrap .container{gap:clamp(24px,4vw,70px) !important}
  html body .schedule_table{grid-template-columns:clamp(104px,12vw,150px) minmax(0,1fr) !important}
  html body .schedule_wrap .container .box h3{font-size:clamp(22px,2.6vw,28px) !important;white-space:nowrap !important}
  html body .schedule_table ul li{padding-left:clamp(10px,1.6vw,20px) !important;padding-right:clamp(10px,1.6vw,20px) !important}
}
/* 絵として組んだ欄は、比率を保ったまま欄ごと縮小(基準: 幅1280px) */
@media (min-width:1160px) and (max-width:1199px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.92}}
@media (min-width:1100px) and (max-width:1159px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.88}}
@media (min-width:1040px) and (max-width:1099px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.83}}
@media (min-width:980px) and (max-width:1039px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.78}}
@media (min-width:920px) and (max-width:979px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.74}}
@media (min-width:860px) and (max-width:919px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.69}}
@media (min-width:800px) and (max-width:859px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.65}}
@media (min-width:769px) and (max-width:799px){html body .schedule_area .title,html body .ticket_area,html body .fan_area,html body .goods_area .goods_wrap,html body .header_detail_nav .header_detail_wrap{zoom:.61}}
/* 順位表: 左右並びのまま狭くなる 1200〜1359px で、チーム名が折れないよう余白を詰める */
@media (min-width:1200px) and (max-width:1359px){html body .match_box_right .standings_panel{padding-left:32px !important;padding-right:32px !important}html body .standings_table td{padding-left:10px !important;padding-right:10px !important}html body .standings_table thead th{padding-left:10px !important;padding-right:10px !important}html body .standings_table td.club-name span{white-space:nowrap !important}}

/* ===== TOPページ 追加修正(2026-11-23 2回目) ===== */
/* TICKET: 欄の高さを1440pxと同じ縦横比に保ち、上下の飾り画像の間から動画が見えるようにする(769〜1199px) */
@media (min-width:769px) and (max-width:1199px){
  html body .ticket_area .video{padding:0 !important;min-height:0 !important;height:auto !important;aspect-ratio:1440/792 !important}
}
/* TOP TEAM: 背番号・ポジションをカードの幅に合わせて縮め、2桁の番号でも顔に被らないようにする(全幅) */
html body .topteam_area .topteam_slider .topteam_box{container-type:inline-size}
html body .topteam_area .topteam_slider .topteam_box .num{font-size:13cqw !important;top:8cqw !important;left:6.5cqw !important}
html body .topteam_area .topteam_slider .topteam_box .posi{font-size:max(11px,5.6cqw) !important;top:calc(21cqw + 6px) !important;left:7.3cqw !important}
/* PARTNERS: カルーセルの左右に矢印の場所を空け、ロゴと重ならないようにする(表示数は common.js で幅に応じて10→3個) */
@media (max-width:1299px){
  html body .partner_wrap .mv_banner_slider2{padding-left:36px !important;padding-right:36px !important;box-sizing:border-box !important}
  html body .partner_wrap .mv_banner_slider2 .prev_arrow{left:10px !important}
  html body .partner_wrap .mv_banner_slider2 .next_arrow{right:10px !important}
}
@media (max-width:767px){
  html body .partner_wrap .mv_banner_slider2{padding-left:24px !important;padding-right:24px !important}
  html body .partner_wrap .mv_banner_slider2 .prev_arrow{left:4px !important}
  html body .partner_wrap .mv_banner_slider2 .next_arrow{right:4px !important}
}

/* ===== TOPページ 追加修正(2026-11-23 3回目): 順位表の文字サイズとDIN・グッズのループ ===== */
/* 順位表: 文字を一回り小さく(PC・タブレット) */
@media (min-width:769px){
  html body .standings_rank-number{font-size:52px !important}
  html body .standings_rank-unit{font-size:25px !important}
  html body .standings_record-main span,html body .standings_points{font-size:19px !important}
  html body .standings_record strong{font-size:32px !important}
  html body .standings_record-main{padding:8px 16px !important;gap:10px !important}
  html body .standings_points{padding:8px 16px !important}
  html body .standings_note{font-size:14px !important}
  html body .standings_table{font-size:16px !important}
  html body .standings_table thead th{font-size:15px !important;padding:11px 14px !important}
  html body .standings_table td{padding:11px 14px !important}
}
/* 順位表: スマホ */
@media (max-width:768px){
  html body .standings_rank-number{font-size:36px !important}
  html body .standings_rank-unit{font-size:15px !important}
  html body .standings_record-main span,html body .standings_points{font-size:12px !important}
  html body .standings_record strong{font-size:19px !important}
  html body .standings_note{font-size:13px !important}
  html body .standings_table{font-size:11.5px !important}
  html body .standings_table thead th{font-size:10.5px !important;padding:8px 6px !important}
  html body .standings_table td{padding:7px 6px !important}
}
/* 順位表: 表の数字をDIN(上の「20位」などと同じ書体)に。DINは字面が上に寄るため、上下の余白を2.5pxずらして見た目で中央に */
html body .standings_table td:not(.club-name){font-family:'din-condensed-bold','DIN Condensed',sans-serif !important;font-weight:700 !important;line-height:1 !important}
@media (min-width:769px){html body .standings_table td:not(.club-name){font-size:21px !important;padding-top:13.5px !important;padding-bottom:8.5px !important}}
@media (max-width:768px){html body .standings_table td:not(.club-name){font-size:15px !important;padding-top:9.5px !important;padding-bottom:4.5px !important}}
/* GOODS: スライダーを slidesPerView:'auto' にしたため、1枚の幅をCSSで指定(従来の1.8枚表示と同じ大きさ) */
html body .goods_slider .swiper-slide{width:55.5556% !important}

/* ===== タブレット幅(769〜1199px)のヘッダー: 早めにハンバーガーメニューへ切り替え、メニューは左右2列のアコーディオン(2026-11-23) ===== */
/* 左右2列のまとまり(.header_nav_sp_col)は common.js で項目を前半・後半に分けて作る。スマホでは見た目に影響しない */
@media (min-width:769px) and (max-width:1199px){
  /* ヘッダー: 下段のナビとホバーで開く中身を隠し、上段の1段にする */
  html body .header_bottom,html body .header_detail_nav{display:none !important}
  html body{padding-top:65px !important}
  html body .header_top{border-bottom:3px solid #009eb4}
  html body .header_top_wrap .center img{height:62px !important;width:auto !important}
  /* MENUボタン */
  html body .header_top_wrap .header_hamburger{display:block !important;position:relative;width:30px;height:32px;margin-left:4px;cursor:pointer}
  html body .header_top_wrap .header_hamburger .open{display:block;position:relative;height:18px}
  html body .header_top_wrap .header_hamburger .open span{position:absolute;left:0;width:100%;height:2px;background:#fff;border-radius:2px}
  html body .header_top_wrap .header_hamburger .open .top{top:0}
  html body .header_top_wrap .header_hamburger .open .center{top:8px;left:0 !important;transform:none !important}
  html body .header_top_wrap .header_hamburger .open .bottom{top:16px}
  html body .header_top_wrap .header_hamburger .open::after{content:"MENU";position:absolute;top:22px;left:50%;transform:translateX(-50%);font-size:9px;font-weight:700;line-height:1;color:#fff;white-space:nowrap}
  html body .header_top_wrap .header_hamburger .close{display:none}
  html body .header_top_wrap .header_hamburger.active .open{display:none}
  html body .header_top_wrap .header_hamburger.active .close{display:block;text-align:center}
  html body .header_top_wrap .header_hamburger.active .close img{width:20px;height:auto;margin:0 auto}
  html body .header_top_wrap .header_hamburger.active .close p{margin-top:4px;font-size:9px;font-weight:700;line-height:1;color:#fff;white-space:nowrap}
  /* メニュー本体 */
  html body.hidden{overflow:hidden}
  html body .header_nav_sp_area{display:none;position:fixed;top:68px;right:0;bottom:0;left:0;padding:28px 32px 40px;background-color:#001b5b;overflow:auto}
  html body .header_nav_sp_area.active{display:block}
  html body .header_nav_sp_list{display:grid;grid-template-columns:1fr 1fr;column-gap:32px;align-items:start}
  html body .header_nav_sp_col{border-top:1px solid rgba(255,255,255,.35)}
  html body .header_nav_sp_list .box .title{position:relative;padding:20px 40px 20px 2px;font-family:"peckham-press",sans-serif;font-size:17px;line-height:1;color:#fff;border-bottom:1px solid rgba(255,255,255,.35);cursor:pointer}
  html body .header_nav_sp_list .box .title a{display:block;color:#fff;text-decoration:none}
  html body .header_nav_sp_list .box .title:not(.more)::after{content:"→";position:absolute;top:50%;right:4px;transform:translateY(-50%);font-family:sans-serif;font-size:18px;color:#fff}
  html body .header_nav_sp_list .box .title.more::before{content:"";position:absolute;top:50%;right:2px;transform:translateY(-50%);width:18px;height:2px;background:#fff}
  html body .header_nav_sp_list .box .title.more::after{content:"";position:absolute;top:50%;right:10px;transform:translateY(-50%);width:2px;height:18px;background:#fff}
  html body .header_nav_sp_list .box .title.more.active{color:#5fd4e6}
  html body .header_nav_sp_list .box .title.more.active::before{background:#5fd4e6}
  html body .header_nav_sp_list .box .title.more.active::after{display:none}
  html body .header_nav_sp_list .box ul{display:none;margin:0;padding:10px 0 14px;border-bottom:1px solid rgba(255,255,255,.35)}
  html body .header_nav_sp_list .box ul.active{display:block}
  html body .header_nav_sp_list .box ul li{padding:0;list-style:none;border:none}
  html body .header_nav_sp_list .box ul li a{display:block;padding:7px 0;font-size:13.5px;line-height:1.4;color:rgba(255,255,255,.9);background:none !important;text-decoration:none}
  /* 下の水色ボタン: フッターと同じく、アイコンを文字の左に */
  html body .header_nav_sp_container{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}
  html body .header_nav_sp_container a{display:flex;justify-content:center;align-items:center;gap:12px;height:72px;padding:0 8px;background-color:#009eb4;color:#fff;font-size:14px;font-weight:700;line-height:1.3;text-align:center;text-decoration:none}
  html body .header_nav_sp_container a img{display:none !important}
  html body .header_nav_sp_container a::before{content:"";flex:none;width:24px;height:24px;background:center/contain no-repeat}
  html body .header_nav_sp_container a:nth-child(1){flex-direction:column;gap:2px}
  html body .header_nav_sp_container a:nth-child(1)::before{width:96px;height:30px;background-image:url("../images/footer/btn_naybee.png")}
  html body .header_nav_sp_container a:nth-child(1)::after{content:"公式ファンクラブ↗";font-size:12px}
  html body .header_nav_sp_container a:nth-child(2)::before{background-image:url("../images/footer/icon_calendar.svg")}
  html body .header_nav_sp_container a:nth-child(2)::after{content:"カレンダー"}
  html body .header_nav_sp_container a:nth-child(3)::before{background-image:url("../images/footer/icon_ticket.svg")}
  html body .header_nav_sp_container a:nth-child(3)::after{content:"チケット"}
  html body .header_nav_sp_container a:nth-child(4)::before{background-image:url("../images/footer/icon_goods.svg")}
  html body .header_nav_sp_container a:nth-child(4)::after{content:"公式グッズ↗"}
}

/* ===== メニュー: 下層ページがない項目(HOME・NEWS・GOODS・ACADEMY・SCHOOL)は右端に→(スマホ)。タブレットは patch_menu_tablet で表示済み(2026-11-23) ===== */
@media (max-width:768px){
  html body .header_nav_sp_list .box .title:not(.more){position:relative}
  html body .header_nav_sp_list .box .title:not(.more) a{display:block;padding-right:32px;color:#fff;text-decoration:none}
  html body .header_nav_sp_list .box .title:not(.more)::after{content:"→";position:absolute;top:50%;right:0;transform:translateY(-50%);font-family:sans-serif;font-size:18px;line-height:1;color:#fff;pointer-events:none}
}
/* タブレット: 見出し全体を押せるように、→の上でもリンクが効くように */
@media (min-width:769px) and (max-width:1199px){
  html body .header_nav_sp_list .box .title:not(.more)::after{pointer-events:none}
}

/* ===== メニュー: 新しいタブで開く外部サイトは → ではなく ↗(2026-11-23) ===== */
@media (max-width:1199px){
  html body .header_nav_sp_list .box .title.is-blank::after{content:"↗" !important;font-size:17px !important}
}
/* タブレット: 子ページのリンクも、新しいタブで開くものはスマホと同じく右端に↗ */
@media (min-width:769px) and (max-width:1199px){
  html body .header_nav_sp_list .box ul li a.blank{padding-right:20px;background:url("../images/common/header_sp_other_link.png") center right / 12px no-repeat !important}
}

/* ===== ロゴのリンク範囲(2026-11-23) ===== */
/* フッター: リンクが横幅いっぱいに広がりロゴ以外も押せていたので、ロゴの大きさだけに(位置は中央のまま) */
html body .site_footer .footer_logo{width:fit-content !important;max-width:100%;margin-left:auto !important;margin-right:auto !important}
/* ヘッダー: 中央のエンブレムをトップページへのリンクに(header.php で a.header_center_logo を追加)。画像の大きさは従来どおり */
html body .header_top_wrap .center .header_center_logo{display:block;line-height:0}

/* ===== PCのメニューを開いた中身: 左の英語見出し(MATCH・PARTNERS など)を 40px → 32px に(2026-11-23) =====
   幅1200px付近で PARTNERS が右の列に接していた(間隔5px)。すべての見出しをそろえて小さくする */
html body .header_detail_nav .header_detail_wrap > .title .en{font-size:32px !important}

/* ===== 順位表(スマホ): 「2勝2分11敗」「勝点」の文字が枠の下に寄り、枠の下端からはみ出していたので上下中央に(2026-11-23) ===== */
@media (max-width:768px){
  html body .standings_record{align-items:stretch !important}
  html body .standings_record-main,html body .standings_points{align-items:baseline !important;padding-top:6px !important;padding-bottom:2px !important;margin-bottom:0 !important}
  html body .standings_record-main span,html body .standings_points{margin-bottom:0 !important}
  html body .standings_record-main span{line-height:1 !important}
}

/* ===== TOP NEXT MATCH / LATEST MATCH の調整(2026-11-23) ===== */
/* 見出し: 1行目 大会名 / 2行目 対戦カード(common.js で分ける) */
html body .match_title_cup,html body .match_title_vs{display:block}
html body .latest_match_title{flex-direction:column !important;align-items:center !important;text-align:center}
/* NEXT MATCH のボタン: 2つのときは同じ幅で並べ、1つのときも同じ幅で中央に */
html body .match_card .match_actions{display:flex !important;justify-content:center !important;gap:10px !important;width:100% !important;max-width:340px !important;margin-left:auto !important;margin-right:auto !important;box-sizing:border-box}
html body .match_card .match_actions p{flex:0 0 calc(50% - 5px) !important;max-width:calc(50% - 5px) !important;margin:0 !important}
html body .match_card .match_actions .match_button{display:flex !important;width:100% !important;justify-content:center !important;align-items:center !important;padding-left:6px !important;padding-right:6px !important;white-space:nowrap;box-sizing:border-box}
/* ボタンのホバー色(リンク先で見分ける) */
html body .match_card .match_button,html body .latest_match_box .link a{transition:background-color .2s,color .2s,border-color .2s}
html body .match_card .match_button[href*="homegame"]:hover{background-color:#fff !important;border-color:#398ca6 !important;color:#398ca6 !important;opacity:1 !important}
html body .match_card .match_button[href*="ticket"]:hover{background-color:#f9ee40 !important;border-color:#f9ee40 !important;color:#111f4e !important;opacity:1 !important}
html body .latest_match_box .link a[href*="match_schedule"]:hover{background-color:#111f4e !important;border-color:#111f4e !important;color:#fff !important;opacity:1 !important}
html body .latest_match_box .link a[href*="matchreport"]:hover{background-color:#398ca6 !important;border-color:#398ca6 !important;color:#fff !important;opacity:1 !important}
/* NEXT MATCH の VS・HOME/AWAY を DIN に。DINは字面が上に寄るので、見た目で中央に */
html body .match_card .match_vs{font-family:'din-condensed-bold','DIN Condensed',sans-serif !important;font-weight:700 !important;position:relative;top:.14em}
html body .match_card .match_home_badge{font-family:'din-condensed-bold','DIN Condensed',sans-serif !important;font-weight:700 !important;line-height:1 !important;font-size:16px !important;padding:7.5px 16px 1.5px !important}
/* LATEST MATCH */
/* 試合結果のスコア(0-1): 字面が上に寄り、下の前半・後半との間が広く見えていたので下へ */
html body .latest_match_box .pk_point{position:relative;top:.11em}
/* 前半・後半: 数字(DIN)が「前半」の文字より上に寄っていたので、数字を下げて文字とそろえ、カッコの上下中央に */
html body .latest_match_box .pk_area li{position:relative;top:2.5px}
html body .latest_match_box .pk_area li span{position:relative;top:-4.5px}
/* 会場名の行: 長い会場名でも枠からはみ出さないよう折り返す(スマホで AWAY の札が切れていた)。HOME/AWAY の札は中央に */
html body .latest_match_box .stadium{white-space:normal !important;flex-wrap:nowrap !important;align-items:center !important}
html body .latest_match_box .stadium span{flex:none !important;line-height:1 !important;padding:7px 18px 2px !important}
@media (max-width:768px){
  html body .match_card .match_home_badge{font-size:13px !important;padding:6px 14px 1px !important}
  html body .latest_match_box .stadium span{padding:5px 12px 2px !important}
  html body .latest_match_box .pk_area li{top:1.5px}
  html body .latest_match_box .pk_area li span{top:-3px}
}

/* ===== TOP 試合カード・順位表の追加調整(2026-11-23 2回目) ===== */
/* NEXT MATCH の VS: DINは下へずらさなくてもロゴの上下中央に来るため、前回のずらしを戻す */
html body .match_card .match_vs{top:0 !important}
/* NEXT MATCH のロゴ: 枠を 80px → 100px(1.25倍)に。狭い幅では収まる大きさまで自動で縮む */
html body .match_teams .emblem-m{flex:0 1 100px !important;width:100px !important;height:auto !important;aspect-ratio:1/1;min-width:0 !important}
html body .match_teams .emblem-m img{width:100% !important;height:100% !important;object-fit:contain}
/* NEXT MATCH のボタンが3つ(試合速報/試合結果 ＋ ホームゲーム情報 ＋ チケット情報)のとき: 1つ目を横いっぱい、残り2つを同じ幅で */
html body .match_card .match_actions{flex-wrap:wrap !important;row-gap:10px !important}
html body .match_card .match_actions p:first-child:nth-last-child(3){flex-basis:100% !important;max-width:100% !important}
/* LATEST MATCH の「ホームゲーム情報」ボタンのホバー色(NEXT と同じ) */
html body .latest_match_box .link a[href*="homegame"]:hover{background-color:#fff !important;border-color:#398ca6 !important;color:#398ca6 !important;opacity:1 !important}
/* LATEST MATCH: タブレット幅で横に伸びすぎないよう、PC(1440px)と同じ幅を上限に中央へ */
@media (min-width:769px) and (max-width:1199px){
  html body .latest_match_container{max-width:631px !important;margin-left:auto !important;margin-right:auto !important}
}
/* 順位表: 「2026.11.21 現在」の日付をDINに(common.js が日付を span.standings_note_date で囲む)。DINは小さく見えるので一回り大きく */
html body .standings_note .standings_note_date{font-family:'din-condensed-bold','DIN Condensed',sans-serif;font-size:1.3em;letter-spacing:.02em;margin-right:.15em}
/* 順位表(PC): 「勝・分・敗」の漢字を「勝点」の漢字と同じ高さに(2px上げる。数字はそのまま) */
@media (min-width:769px){
  html body .standings_record-main span{position:relative;top:-2px}
  html body .standings_record-main span strong{position:relative;top:2px}
}
/* チームロゴ: 画像ごとに絵の大きさ・形・余白が違うため、見た目の大きさがそろうよう補正(福岡=基準。値は logo_calc.py で算出) */
html body .match_teams .emblem img[src$="/emb/86.png"],html body .latest_match_box .result>img[src$="/emb/86.png"]{transform:translate(-0.0%,-0.3%) scale(0.957)}
html body .match_teams .emblem img[src$="/emb/120.png"],html body .latest_match_box .result>img[src$="/emb/120.png"]{transform:translate(-0.1%,-1.4%) scale(0.968)}
html body .match_teams .emblem img[src$="/emb/121.png"],html body .latest_match_box .result>img[src$="/emb/121.png"]{transform:translate(1.0%,-0.0%) scale(0.942)}
html body .match_teams .emblem img[src$="/emb/124.png"],html body .latest_match_box .result>img[src$="/emb/124.png"]{transform:translate(-0.0%,-0.6%) scale(1.016)}
html body .match_teams .emblem img[src$="/emb/126.png"],html body .latest_match_box .result>img[src$="/emb/126.png"]{transform:translate(-0.0%,-0.0%) scale(0.982)}
html body .match_teams .emblem img[src$="/emb/128.png"],html body .latest_match_box .result>img[src$="/emb/128.png"]{transform:translate(0.1%,-2.4%) scale(1.272)}
html body .match_teams .emblem img[src$="/emb/129.png"],html body .latest_match_box .result>img[src$="/emb/129.png"]{transform:translate(-0.0%,-0.7%) scale(0.976)}
html body .match_teams .emblem img[src$="/emb/130.png"],html body .latest_match_box .result>img[src$="/emb/130.png"]{transform:translate(-0.0%,-0.9%) scale(1.010)}
html body .match_teams .emblem img[src$="/emb/131.png"],html body .latest_match_box .result>img[src$="/emb/131.png"]{transform:translate(-0.0%,-0.0%) scale(0.969)}
html body .match_teams .emblem img[src$="/emb/133.png"],html body .latest_match_box .result>img[src$="/emb/133.png"]{transform:translate(-0.0%,-0.1%) scale(0.928)}
html body .match_teams .emblem img[src$="/emb/134.png"],html body .latest_match_box .result>img[src$="/emb/134.png"]{transform:translate(-0.0%,0.3%) scale(1.032)}
html body .match_teams .emblem img[src$="/emb/150.png"],html body .latest_match_box .result>img[src$="/emb/150.png"]{transform:translate(-0.1%,-0.0%) scale(0.945)}
html body .match_teams .emblem img[src$="/emb/176.png"],html body .latest_match_box .result>img[src$="/emb/176.png"]{transform:translate(-0.0%,-0.0%) scale(0.945)}
html body .match_teams .emblem img[src$="/emb/199.png"],html body .latest_match_box .result>img[src$="/emb/199.png"]{transform:translate(-0.0%,-0.0%) scale(1.040)}
html body .match_teams .emblem img[src$="/emb/207.png"],html body .latest_match_box .result>img[src$="/emb/207.png"]{transform:translate(-0.1%,-0.1%) scale(0.962)}
html body .match_teams .emblem img[src$="/emb/238.png"],html body .latest_match_box .result>img[src$="/emb/238.png"]{transform:translate(-0.0%,-0.1%) scale(0.955)}
html body .match_teams .emblem img[src$="/emb/269.png"],html body .latest_match_box .result>img[src$="/emb/269.png"]{transform:translate(-0.1%,-0.0%) scale(1.043)}
html body .match_teams .emblem img[src$="/emb/270.png"],html body .latest_match_box .result>img[src$="/emb/270.png"]{transform:translate(-0.0%,-0.0%) scale(1.022)}
html body .match_teams .emblem img[src$="/emb/276.png"],html body .latest_match_box .result>img[src$="/emb/276.png"]{transform:translate(-0.1%,-0.2%) scale(0.968)}
html body .match_teams .emblem img[src$="/emb/296.png"],html body .latest_match_box .result>img[src$="/emb/296.png"]{transform:translate(0.1%,0.1%) scale(0.981)}
html body .match_teams .emblem img[src$="/emb/30103.png"],html body .latest_match_box .result>img[src$="/emb/30103.png"]{transform:translate(0.1%,-0.0%) scale(1.022)}
html body .match_teams .emblem img[src$="/emb/30116.png"],html body .latest_match_box .result>img[src$="/emb/30116.png"]{transform:translate(-0.0%,-0.0%) scale(1.015)}
html body .match_teams .emblem img[src$="/emb/30148.png"],html body .latest_match_box .result>img[src$="/emb/30148.png"]{transform:translate(-0.0%,0.1%) scale(0.965)}
html body .match_teams .emblem img[src$="/emb/30302.png"],html body .latest_match_box .result>img[src$="/emb/30302.png"]{transform:translate(-0.0%,-0.3%) scale(0.938)}
html body .match_teams .emblem img[src$="/emb/30305.png"],html body .latest_match_box .result>img[src$="/emb/30305.png"]{transform:translate(-0.0%,-0.0%) scale(0.966)}
html body .match_teams .emblem img[src$="/emb/30308.png"],html body .latest_match_box .result>img[src$="/emb/30308.png"]{transform:translate(-0.0%,-0.0%) scale(0.948)}
html body .match_teams .emblem img[src$="/emb/30310.png"],html body .latest_match_box .result>img[src$="/emb/30310.png"]{transform:translate(-0.1%,-0.1%) scale(0.936)}
html body .match_teams .emblem img[src$="/emb/30313.png"],html body .latest_match_box .result>img[src$="/emb/30313.png"]{transform:translate(-0.0%,-0.0%) scale(0.954)}
html body .match_teams .emblem img[src$="/emb/30314.png"],html body .latest_match_box .result>img[src$="/emb/30314.png"]{transform:translate(-0.3%,-0.9%) scale(1.023)}
html body .match_teams .emblem img[src$="/emb/30317.png"],html body .latest_match_box .result>img[src$="/emb/30317.png"]{transform:translate(-0.0%,-0.0%) scale(0.959)}
html body .match_teams .emblem img[src$="/emb/30526.png"],html body .latest_match_box .result>img[src$="/emb/30526.png"]{transform:translate(-0.0%,-0.0%) scale(0.979)}
html body .match_teams .emblem img[src$="/emb/30527.png"],html body .latest_match_box .result>img[src$="/emb/30527.png"]{transform:translate(-0.0%,0.1%) scale(1.021)}
html body .match_teams .emblem img[src$="/emb/30528.png"],html body .latest_match_box .result>img[src$="/emb/30528.png"]{transform:translate(-0.1%,-0.1%) scale(0.940)}
html body .match_teams .emblem img[src$="/emb/30532.png"],html body .latest_match_box .result>img[src$="/emb/30532.png"]{transform:translate(-0.0%,-0.0%) scale(0.929)}
html body .match_teams .emblem img[src$="/emb/30535.png"],html body .latest_match_box .result>img[src$="/emb/30535.png"]{transform:translate(-0.1%,0.1%) scale(1.019)}
html body .match_teams .emblem img[src$="/emb/30673.png"],html body .latest_match_box .result>img[src$="/emb/30673.png"]{transform:translate(-0.1%,0.2%) scale(1.032)}
html body .match_teams .emblem img[src$="/emb/30674.png"],html body .latest_match_box .result>img[src$="/emb/30674.png"]{transform:translate(-0.6%,-0.3%) scale(1.067)}
html body .match_teams .emblem img[src$="/emb/30675.png"],html body .latest_match_box .result>img[src$="/emb/30675.png"]{transform:translate(-0.0%,-0.0%) scale(0.929)}
html body .match_teams .emblem img[src$="/emb/30676.png"],html body .latest_match_box .result>img[src$="/emb/30676.png"]{transform:translate(-0.0%,-0.0%) scale(0.976)}
html body .match_teams .emblem img[src$="/emb/30677.png"],html body .latest_match_box .result>img[src$="/emb/30677.png"]{transform:translate(-0.0%,-0.0%) scale(1.021)}
html body .match_teams .emblem img[src$="/emb/30851.png"],html body .latest_match_box .result>img[src$="/emb/30851.png"]{transform:translate(-0.0%,-0.0%) scale(0.984)}
html body .match_teams .emblem img[src$="/emb/30974.png"],html body .latest_match_box .result>img[src$="/emb/30974.png"]{transform:translate(0.1%,-0.0%) scale(0.982)}
html body .match_teams .emblem img[src$="/emb/30985.png"],html body .latest_match_box .result>img[src$="/emb/30985.png"]{transform:translate(-0.0%,-0.0%) scale(0.947)}
html body .match_teams .emblem img[src$="/emb/30987.png"],html body .latest_match_box .result>img[src$="/emb/30987.png"]{transform:translate(0.1%,-0.0%) scale(0.919)}
html body .match_teams .emblem img[src$="/emb/30993.png"],html body .latest_match_box .result>img[src$="/emb/30993.png"]{transform:translate(-0.0%,-0.0%) scale(0.936)}
html body .match_teams .emblem img[src$="/emb/31042.png"],html body .latest_match_box .result>img[src$="/emb/31042.png"]{transform:translate(-0.0%,-0.0%) scale(0.937)}
html body .match_teams .emblem img[src$="/emb/31219.png"],html body .latest_match_box .result>img[src$="/emb/31219.png"]{transform:translate(-0.0%,-0.0%) scale(0.945)}
html body .match_teams .emblem img[src$="/emb/31508.png"],html body .latest_match_box .result>img[src$="/emb/31508.png"]{transform:translate(-0.0%,-0.0%) scale(1.031)}

/* ===== TOP 追加調整(2026-11-23 3回目) ===== */
/* 順位表(スマホ): 大きい数字(DIN)が枠の中心より上に見えていたので、中身を1px下げる */
@media (max-width:768px){
  html body .standings_record-main,html body .standings_points{padding-top:7px !important;padding-bottom:1px !important}
}
/* チームロゴ: 塗りの量も見た目の大きさに入れて補正し直し(福岡は塗りが少なく小さく見えていたので福岡も6%大きく)。値は logo_calc2.py で算出。前回の補正を上書きする */
html body .match_teams .emblem img[src$="/emb/86.png"],html body .latest_match_box .result>img[src$="/emb/86.png"]{transform:translate(-0.0%,-0.3%) scale(0.906)}
html body .match_teams .emblem img[src$="/emb/120.png"],html body .latest_match_box .result>img[src$="/emb/120.png"]{transform:translate(-0.1%,-1.3%) scale(0.900)}
html body .match_teams .emblem img[src$="/emb/121.png"],html body .latest_match_box .result>img[src$="/emb/121.png"]{transform:translate(1.0%,-0.0%) scale(0.931)}
html body .match_teams .emblem img[src$="/emb/122.png"],html body .latest_match_box .result>img[src$="/emb/122.png"]{transform:translate(-0.0%,-0.0%) scale(0.971)}
html body .match_teams .emblem img[src$="/emb/123.png"],html body .latest_match_box .result>img[src$="/emb/123.png"]{transform:translate(-0.0%,-0.1%) scale(0.908)}
html body .match_teams .emblem img[src$="/emb/124.png"],html body .latest_match_box .result>img[src$="/emb/124.png"]{transform:translate(-0.0%,-0.7%) scale(1.051)}
html body .match_teams .emblem img[src$="/emb/126.png"],html body .latest_match_box .result>img[src$="/emb/126.png"]{transform:translate(-0.0%,-0.0%) scale(0.922)}
html body .match_teams .emblem img[src$="/emb/127.png"],html body .latest_match_box .result>img[src$="/emb/127.png"]{transform:translate(-0.0%,-0.0%) scale(0.917)}
html body .match_teams .emblem img[src$="/emb/128.png"],html body .latest_match_box .result>img[src$="/emb/128.png"]{transform:translate(0.1%,-2.3%) scale(1.245)}
html body .match_teams .emblem img[src$="/emb/129.png"],html body .latest_match_box .result>img[src$="/emb/129.png"]{transform:translate(-0.0%,-0.7%) scale(0.940)}
html body .match_teams .emblem img[src$="/emb/130.png"],html body .latest_match_box .result>img[src$="/emb/130.png"]{transform:translate(-0.0%,-1.0%) scale(1.043)}
html body .match_teams .emblem img[src$="/emb/131.png"],html body .latest_match_box .result>img[src$="/emb/131.png"]{transform:translate(-0.0%,-0.0%) scale(0.983)}
html body .match_teams .emblem img[src$="/emb/132.png"],html body .latest_match_box .result>img[src$="/emb/132.png"]{transform:translate(-0.1%,-0.0%) scale(0.981)}
html body .match_teams .emblem img[src$="/emb/133.png"],html body .latest_match_box .result>img[src$="/emb/133.png"]{transform:translate(-0.0%,-0.1%) scale(0.909)}
html body .match_teams .emblem img[src$="/emb/134.png"],html body .latest_match_box .result>img[src$="/emb/134.png"]{transform:translate(-0.0%,0.3%) scale(1.020)}
html body .match_teams .emblem img[src$="/emb/135.png"],html body .latest_match_box .result>img[src$="/emb/135.png"]{transform:translate(-0.1%,-0.0%) scale(1.060)}
html body .match_teams .emblem img[src$="/emb/136.png"],html body .latest_match_box .result>img[src$="/emb/136.png"]{transform:translate(-0.0%,-0.1%) scale(1.056)}
html body .match_teams .emblem img[src$="/emb/150.png"],html body .latest_match_box .result>img[src$="/emb/150.png"]{transform:translate(-0.1%,-0.0%) scale(0.978)}
html body .match_teams .emblem img[src$="/emb/176.png"],html body .latest_match_box .result>img[src$="/emb/176.png"]{transform:translate(-0.0%,-0.0%) scale(0.980)}
html body .match_teams .emblem img[src$="/emb/193.png"],html body .latest_match_box .result>img[src$="/emb/193.png"]{transform:translate(-0.0%,-0.1%) scale(1.017)}
html body .match_teams .emblem img[src$="/emb/199.png"],html body .latest_match_box .result>img[src$="/emb/199.png"]{transform:translate(-0.0%,-0.0%) scale(1.166)}
html body .match_teams .emblem img[src$="/emb/207.png"],html body .latest_match_box .result>img[src$="/emb/207.png"]{transform:translate(-0.1%,-0.1%) scale(0.959)}
html body .match_teams .emblem img[src$="/emb/238.png"],html body .latest_match_box .result>img[src$="/emb/238.png"]{transform:translate(-0.0%,-0.1%) scale(0.893)}
html body .match_teams .emblem img[src$="/emb/269.png"],html body .latest_match_box .result>img[src$="/emb/269.png"]{transform:translate(-0.1%,-0.0%) scale(1.103)}
html body .match_teams .emblem img[src$="/emb/270.png"],html body .latest_match_box .result>img[src$="/emb/270.png"]{transform:translate(-0.0%,-0.0%) scale(0.929)}
html body .match_teams .emblem img[src$="/emb/276.png"],html body .latest_match_box .result>img[src$="/emb/276.png"]{transform:translate(-0.1%,-0.2%) scale(0.969)}
html body .match_teams .emblem img[src$="/emb/294.png"],html body .latest_match_box .result>img[src$="/emb/294.png"]{transform:translate(-0.0%,-0.0%) scale(1.062)}
html body .match_teams .emblem img[src$="/emb/296.png"],html body .latest_match_box .result>img[src$="/emb/296.png"]{transform:translate(0.1%,0.1%) scale(0.918)}
html body .match_teams .emblem img[src$="/emb/30000.png"],html body .latest_match_box .result>img[src$="/emb/30000.png"]{transform:translate(0.2%,-0.2%) scale(1.122)}
html body .match_teams .emblem img[src$="/emb/30103.png"],html body .latest_match_box .result>img[src$="/emb/30103.png"]{transform:translate(0.1%,-0.0%) scale(0.960)}
html body .match_teams .emblem img[src$="/emb/30116.png"],html body .latest_match_box .result>img[src$="/emb/30116.png"]{transform:translate(-0.0%,-0.0%) scale(1.108)}
html body .match_teams .emblem img[src$="/emb/30303.png"],html body .latest_match_box .result>img[src$="/emb/30303.png"]{transform:translate(-0.1%,-0.0%) scale(1.074)}
html body .match_teams .emblem img[src$="/emb/30305.png"],html body .latest_match_box .result>img[src$="/emb/30305.png"]{transform:translate(-0.0%,-0.0%) scale(0.945)}
html body .match_teams .emblem img[src$="/emb/30308.png"],html body .latest_match_box .result>img[src$="/emb/30308.png"]{transform:translate(-0.0%,-0.0%) scale(0.953)}
html body .match_teams .emblem img[src$="/emb/30310.png"],html body .latest_match_box .result>img[src$="/emb/30310.png"]{transform:translate(-0.1%,-0.1%) scale(0.895)}
html body .match_teams .emblem img[src$="/emb/30313.png"],html body .latest_match_box .result>img[src$="/emb/30313.png"]{transform:translate(-0.0%,-0.0%) scale(0.939)}
html body .match_teams .emblem img[src$="/emb/30314.png"],html body .latest_match_box .result>img[src$="/emb/30314.png"]{transform:translate(-0.3%,-0.9%) scale(1.074)}
html body .match_teams .emblem img[src$="/emb/30317.png"],html body .latest_match_box .result>img[src$="/emb/30317.png"]{transform:translate(-0.0%,-0.0%) scale(0.888)}
html body .match_teams .emblem img[src$="/emb/30527.png"],html body .latest_match_box .result>img[src$="/emb/30527.png"]{transform:translate(-0.0%,0.1%) scale(1.045)}
html body .match_teams .emblem img[src$="/emb/30528.png"],html body .latest_match_box .result>img[src$="/emb/30528.png"]{transform:translate(-0.1%,-0.1%) scale(0.949)}
html body .match_teams .emblem img[src$="/emb/30531.png"],html body .latest_match_box .result>img[src$="/emb/30531.png"]{transform:translate(-0.0%,-0.0%) scale(0.980)}
html body .match_teams .emblem img[src$="/emb/30532.png"],html body .latest_match_box .result>img[src$="/emb/30532.png"]{transform:translate(-0.0%,-0.0%) scale(0.894)}
html body .match_teams .emblem img[src$="/emb/30535.png"],html body .latest_match_box .result>img[src$="/emb/30535.png"]{transform:translate(-0.1%,0.1%) scale(0.948)}
html body .match_teams .emblem img[src$="/emb/30536.png"],html body .latest_match_box .result>img[src$="/emb/30536.png"]{transform:translate(0.1%,-0.2%) scale(0.983)}
html body .match_teams .emblem img[src$="/emb/30673.png"],html body .latest_match_box .result>img[src$="/emb/30673.png"]{transform:translate(-0.1%,0.2%) scale(1.063)}
html body .match_teams .emblem img[src$="/emb/30674.png"],html body .latest_match_box .result>img[src$="/emb/30674.png"]{transform:translate(-0.6%,-0.3%) scale(1.095)}
html body .match_teams .emblem img[src$="/emb/30675.png"],html body .latest_match_box .result>img[src$="/emb/30675.png"]{transform:translate(-0.0%,-0.0%) scale(0.875)}
html body .match_teams .emblem img[src$="/emb/30676.png"],html body .latest_match_box .result>img[src$="/emb/30676.png"]{transform:translate(-0.0%,-0.0%) scale(0.922)}
html body .match_teams .emblem img[src$="/emb/30677.png"],html body .latest_match_box .result>img[src$="/emb/30677.png"]{transform:translate(-0.0%,-0.0%) scale(1.066)}
html body .match_teams .emblem img[src$="/emb/30851.png"],html body .latest_match_box .result>img[src$="/emb/30851.png"]{transform:translate(-0.0%,-0.0%) scale(0.967)}
html body .match_teams .emblem img[src$="/emb/30974.png"],html body .latest_match_box .result>img[src$="/emb/30974.png"]{transform:translate(0.1%,-0.0%) scale(1.042)}
html body .match_teams .emblem img[src$="/emb/30985.png"],html body .latest_match_box .result>img[src$="/emb/30985.png"]{transform:translate(-0.0%,-0.0%) scale(0.902)}
html body .match_teams .emblem img[src$="/emb/30987.png"],html body .latest_match_box .result>img[src$="/emb/30987.png"]{transform:translate(0.1%,-0.0%) scale(0.922)}
html body .match_teams .emblem img[src$="/emb/30993.png"],html body .latest_match_box .result>img[src$="/emb/30993.png"]{transform:translate(-0.0%,-0.0%) scale(0.916)}
html body .match_teams .emblem img[src$="/emb/31042.png"],html body .latest_match_box .result>img[src$="/emb/31042.png"]{transform:translate(-0.0%,-0.0%) scale(0.907)}
html body .match_teams .emblem img[src$="/emb/31201.png"],html body .latest_match_box .result>img[src$="/emb/31201.png"]{transform:translate(-0.0%,0.2%) scale(0.969)}
html body .match_teams .emblem img[src$="/emb/31219.png"],html body .latest_match_box .result>img[src$="/emb/31219.png"]{transform:translate(-0.0%,-0.0%) scale(0.875)}
html body .match_teams .emblem img[src$="/emb/31296.png"],html body .latest_match_box .result>img[src$="/emb/31296.png"]{transform:translate(-0.1%,-0.1%) scale(1.044)}

/* ===== TOP(PC 1200px以上): 「試合日程を見る」と「順位表を見る」を同じ高さに。LATEST MATCH の結果は上下中央に(2026-11-23) ===== */
@media (min-width:1200px){
  /* 左右の列を同じ高さにし、どちらもボタンを列の下端から同じ位置(下の余白33px)に置く */
  html body .match_box_left{display:flex !important;flex-direction:column !important}
  html body .match_box_left .match_slider_tab{flex:1 1 auto !important;display:flex !important;flex-direction:column !important}
  html body .match_box_left .match_slider_tab > .match_tab_box.active{flex:1 1 auto !important;display:flex !important;flex-direction:column !important;justify-content:center !important}
  html body .match_box_left .match_schedule_link{margin-top:auto !important;margin-bottom:33px !important}
  html body .match_box_right .standings_panel{height:100% !important;box-sizing:border-box}
  html body .match_box_right .standings_link{margin-top:auto !important}
}

/* ===== チームロゴ: ユーザー指定の個別調整(2026-11-23)。京都・神戸・水戸は前回の補正のまま ===== */
/* セレッソ大阪(もとの大きさ×1.1) */
html body .match_teams .emblem img[src$="/emb/133.png"],html body .latest_match_box .result>img[src$="/emb/133.png"]{transform:translate(-0.0%,-0.1%) scale(0.880)}
/* 柏(もとの大きさ×1.3) */
html body .match_teams .emblem img[src$="/emb/132.png"],html body .latest_match_box .result>img[src$="/emb/132.png"]{transform:translate(-0.1%,-0.0%) scale(1.040)}
/* 横浜FM(今の大きさ×1.25) */
html body .match_teams .emblem img[src$="/emb/124.png"],html body .latest_match_box .result>img[src$="/emb/124.png"]{transform:translate(-0.0%,-0.8%) scale(1.314)}

/* ===== TOP NEXT MATCH / LATEST MATCH の追加調整(2026-11-23 4回目) ===== */
/* タブを切り替えても欄の高さが変わらないように: 2つのタブの中身を同じ場所に重ね、表示していない方は見えなくするだけにする(高さは高い方に合う) */
html body .match_slider_tab,html body .match_wrapper .match_box_left .match_slider_tab{display:grid !important;grid-template-columns:minmax(0,1fr) !important}
html body .match_wrapper .match_slider_tab > .match_tab_box{display:flex !important;flex-direction:column !important;justify-content:center !important;grid-area:1/1 !important;min-width:0;visibility:hidden}
html body .match_wrapper .match_slider_tab > .match_tab_box.active{visibility:visible}
/* NEXT MATCH の「試合速報」「試合結果」ボタンのホバー色を、LATEST MATCH の「試合結果」と同じに(紺に白) */
html body .match_card .match_button:not([href*="homegame"]):not([href*="ticket"]):hover{background-color:#111f4e !important;border-color:#111f4e !important;color:#fff !important;opacity:1 !important}
/* LATEST MATCH(タブレット 769〜1199px): 箱の幅は PC と同じなので、中身も PC と同じ大きさに(1200px以下用の小さい指定を戻す) */
@media (min-width:769px) and (max-width:1199px){
  html body .latest_match_box{padding:28px 40px 30px !important}
  html body .latest_match_box .date{font-size:46px !important}
  html body .latest_match_box .date span{font-size:21px !important}
  html body .latest_match_box .result{gap:16px !important}
  html body .latest_match_box .result > img{width:96px !important;flex-basis:96px !important}
  html body .latest_match_box .result .point{font-size:100px !important}
  html body .latest_match_box .result .point_pk .pk_point{font-size:88px !important}
  html body .latest_match_box .result .point_pk .pk_area{margin-top:10px !important;padding:0 18px !important}
  html body .latest_match_box .result .point_pk .pk_area ul li{font-size:20px !important;column-gap:10px !important}
  html body .latest_match_box .stadium{margin-top:28px !important;font-size:16px !important}
  html body .latest_match_box .link a{min-height:42px !important;font-size:13px !important}
}
/* LATEST MATCH を上下中央に: 欄の高さがそろったので、上だけにあった余白を外す */
html body .match_wrapper .latest_match_area{padding-top:0 !important}

/* ===== 試合日程ページ: 対戦相手ロゴの枠を 56×60 → 72×60 に(横長のロゴも小さく見えないよう)。大きさの補正は common.js(2026-11-23) ===== */
html body .fixture-opponent .fixture-logo{width:72px !important;height:60px !important;object-fit:contain !important;flex:none !important}

/* ===== チームロゴ: ユーザー指定の個別調整 2(2026-11-23)。サガン鳥栖・川崎フロンターレを 1.1倍 ===== */
/* サガン鳥栖(前回の大きさ×1.1) */
html body .match_teams .emblem img[src$="/emb/269.png"],html body .latest_match_box .result>img[src$="/emb/269.png"]{transform:translate(-0.1%,-0.0%) scale(1.213)}
/* 川崎フロンターレ(前回の大きさ×1.1) */
html body .match_teams .emblem img[src$="/emb/86.png"],html body .latest_match_box .result>img[src$="/emb/86.png"]{transform:translate(-0.0%,-0.3%) scale(0.997)}

/* ===== 試合日程・結果ページのボタン色の整理(2026-11-23) =====
   マッチレポートとホームゲーム情報の色を入れ替え。ホームゲーム情報は試合の前後どちらも「青緑の塗り」に統一
   試合終了前: チケット購入=黄 / ホームゲーム情報=青緑
   試合終了後: 試合結果=紺 / マッチレポート=白地に青緑の枠 / ホームゲーム情報=青緑 */
/* マッチレポート: 白地に青緑の枠と文字。ホバーは薄い青緑の地 */
html body .fixture-btn.btn-teal{background:#ffffff !important;color:#0096B2 !important;border:1px solid #0096B2 !important}
html body .fixture-btn.btn-teal:hover{background:#e5f4f7 !important;color:#0096B2 !important;border-color:#0096B2 !important}
/* ホームゲーム情報(試合終了後): 青緑の塗り。ホバーは濃い青緑 */
html body .fixture-btn.btn-outline{background:#0096B2 !important;color:#ffffff !important;border:1px solid #0096B2 !important}
html body .fixture-btn.btn-outline:hover{background:#007c8e !important;color:#ffffff !important;border-color:#007c8e !important}
/* ホームゲーム情報(試合終了前): 試合終了後と同じ青緑にそろえる */
html body .fixture-ticket-btn.teal-btn{background:#0096B2 !important;color:#ffffff !important}
html body .fixture-ticket-btn.teal-btn:hover{background:#007c8e !important}

/* ===== ボタンのホバー色の追加整理(2026-11-23) ===== */
/* 試合日程・結果ページ / 試合終了前: ホバーで文字を少し薄く */
html body .fixture-ticket-btn.yellow-btn:hover{background:#e6dd00 !important;color:rgba(0,27,91,.7) !important}
html body .fixture-ticket-btn.teal-btn:hover{background:#007c8e !important;color:rgba(255,255,255,.8) !important}
/* 試合日程・結果ページ / 試合終了後の「試合結果」: ホバーで色を反転(白地に紺の枠と文字)し、文字を少し薄く */
html body .fixture-btn.btn-blue:hover{background:#ffffff !important;color:rgba(0,27,91,.75) !important;box-shadow:inset 0 0 0 1px #001B5B !important}
/* TOP: 青緑の塗りのボタンは、ホバーで試合日程ページの「ホームゲーム情報」と同じ濃い青緑に */
html body .schedule_area .schedule_wrap .link a:hover,
html body .ticket_area .link a:hover,
html body .topteam_area .topteam_more a:hover,
html body .goods_area .goods_more a:hover,
html body .partner_area .partner_more a:hover,
html body .fan_area .fan_more a:hover,
html body .news_area .filter_action_link:hover,
html body .match_wrapper a.match_schedule_link:hover,
html body .match_wrapper a.standings_link:hover{filter:none !important;background-color:#007c8e !important;color:#ffffff !important}
/* TOP ファンクラブ欄のボタン(黄色): ホバーで試合日程ページの「チケット購入」と同じに(少し濃い黄・文字を少し薄く) */
html body .fan_area .fan_area_link a{transition:background-color .25s ease,color .25s ease !important}
html body .fan_area .fan_area_link a:hover{filter:none !important;background-color:#e6dd00 !important;color:rgba(0,27,91,.7) !important}

/* ===== TOP: ボタン・切り替え・カルーセルのホバー色を試合日程ページにそろえる(2026-11-23) ===== */
/* NEXT/LATEST のボタン: マッチレポートは試合日程ページの「マウスを乗せたときの色」、それ以外は試合日程ページの「通常の色」 */
html body .match_wrapper .match_card .match_button:not([href*="homegame"]):not([href*="ticket"]):hover,
html body .match_wrapper .latest_match_box .link a[href*="match_schedule"]:hover{background-color:#001B5B !important;border-color:#001B5B !important;color:#ffffff !important;opacity:1 !important}
html body .match_wrapper .match_card .match_button[href*="homegame"]:hover,
html body .match_wrapper .latest_match_box .link a[href*="homegame"]:hover{background-color:#0096B2 !important;border-color:#0096B2 !important;color:#ffffff !important;opacity:1 !important}
html body .match_wrapper .match_card .match_button[href*="ticket"]:hover{background-color:#FFF600 !important;border-color:#FFF600 !important;color:#001B5B !important;opacity:1 !important}
html body .match_wrapper .latest_match_box .link a[href*="matchreport"]:hover{background-color:#e5f4f7 !important;border-color:#0096B2 !important;color:#0096B2 !important;opacity:1 !important}
/* NEXT MATCH / LATEST MATCH の切り替えボタン: 選ばれていない方(青緑)をホバーで濃い青緑に */
html body .match_tab{transition:background-color .25s ease,color .25s ease}
html body .match_tab:not(.is-active):hover{background-color:#007c8e !important;color:#ffffff !important}
/* カルーセルの四角い矢印(試合・MOVIE・TOP TEAM): ホバーで濃い青緑に */
html body .match_slider .slide_arrow,html body .movie_slider .slide_arrow,html body .topteam_slider .slide_arrow{transition:background-color .25s ease}
html body .match_slider .slide_arrow:not(.slick-disabled):hover,html body .movie_slider .slide_arrow:hover,html body .topteam_slider .slide_arrow:hover{background-color:#007c8e !important}
/* MOVIE の左の矢印が、スライドを並べる帯の下に隠れてクリックできなかったので前面に */
html body .movie_slider .slide_arrow{z-index:3 !important}
/* TOP ファンクラブ欄の黄色いボタン: ホバーで色を反転(紺の地に黄色の文字)。前回の「少し濃い黄」はわかりづらかったため変更 */
html body .fan_area .fan_box .fan_area_link a:hover{filter:none !important;background-color:#001B5B !important;color:#FFF600 !important}

/* ===== ボタンのホバーの色の変わり方を「じわっと」(0.4秒)にそろえる(2026-11-23) =====
   TOPの青緑のボタンは明るさの変化にしか時間がかかっておらず、背景色がぱっと切り替わっていた */
html body .match_wrapper .match_card .match_button,
html body .match_wrapper .latest_match_box .link a,
html body .match_tab,
html body .match_slider .slide_arrow,
html body .movie_slider .slide_arrow,
html body .topteam_slider .slide_arrow,
html body .schedule_area .schedule_wrap .link a,
html body .ticket_area .link a,
html body .topteam_area .topteam_more a,
html body .goods_area .goods_more a,
html body .partner_area .partner_more a,
html body .fan_area .fan_more a,
html body .fan_area .link a,
html body .fan_area .fan_box .fan_area_link a,
html body .news_area .filter_action_link,
html body .match_wrapper a.match_schedule_link,
html body .match_wrapper a.standings_link,
html body .fixture-btn,
html body .fixture-ticket-btn{transition:background-color .4s ease,color .4s ease,border-color .4s ease,box-shadow .4s ease,filter .4s ease !important}

/* ===== TOP: カルーセルの矢印(NEXT MATCH・MOVIE・TOP TEAM)にマウスを乗せたとき、ボタンと同じ指のカーソルに(2026-11-23)。押せない状態の矢印はそのまま ===== */
html body .match_slider .slide_arrow,html body .movie_slider .slide_arrow,html body .topteam_slider .slide_arrow{cursor:pointer !important}
html body .match_slider .slide_arrow.slick-disabled{cursor:default !important}

/* ===== ヘッダー・フッター: ホバーで色が薄まる(70%)。変わり方は他のボタンと同じく0.4秒でじわっと(2026-11-23) ===== */
html body .header_top_wrap .left a,html body .header_top_wrap .center a,html body .header_top_wrap .right a,
html body .header_search_toggle,html body .header_hamburger,
html body .header_bottom_wrap ul li a,
html body .header_detail_nav a,
html body .header_nav_sp_list a,html body .header_nav_sp_list .title.more,html body .header_nav_sp_container a,
html body .header_bottom_wrap_mobile a,
html body .site_footer a,html body .site_footer button{transition:opacity .4s ease !important}
html body .header_top_wrap .left a:hover,html body .header_top_wrap .center a:hover,html body .header_top_wrap .right a:hover,
html body .header_search_toggle:hover,html body .header_hamburger:hover,
html body .header_bottom_wrap ul li a:hover,
html body .header_detail_nav a:hover,
html body .header_nav_sp_list a:hover,html body .header_nav_sp_list .title.more:hover,html body .header_nav_sp_container a:hover,
html body .header_bottom_wrap_mobile a:hover,
html body .site_footer a:hover,html body .site_footer button:hover{opacity:.7 !important}

/* ===== ヘッダー・フッター・フッターの上のスライドバナー: ホバーで 60% まで薄まる(0.4秒でじわっと)。前回の70%を上書き(2026-11-23) ===== */
html body .header_top_wrap .left a,html body .header_top_wrap .center a,html body .header_top_wrap .right a,
html body .header_search_toggle,html body .header_hamburger,
html body .header_bottom_wrap ul li a,
html body .header_detail_nav a,
html body .header_nav_sp_list a,html body .header_nav_sp_list .title.more,html body .header_nav_sp_container a,
html body .header_bottom_wrap_mobile a,
html body .site_footer a,html body .site_footer button,
html body .sns_area .sns_slider a{transition:opacity .4s ease !important}
html body .header_top_wrap .left a:hover,html body .header_top_wrap .center a:hover,html body .header_top_wrap .right a:hover,
html body .header_search_toggle:hover,html body .header_hamburger:hover,
html body .header_bottom_wrap ul li a:hover,
html body .header_detail_nav a:hover,
html body .header_nav_sp_list a:hover,html body .header_nav_sp_list .title.more:hover,html body .header_nav_sp_container a:hover,
html body .header_bottom_wrap_mobile a:hover,
html body .site_footer a:hover,html body .site_footer button:hover,
html body .sns_area .sns_slider a:hover{opacity:.6 !important}

/* ===== フッターのメニュー: 下層のない項目(HOME・NEWS)の右端に「→」(他の項目の「＋」と同じ位置・大きさ)(2026-11-23) ===== */
html body .site_footer .footer_nav_group:not(.has-child) > a.footer_nav_head::after{content:"→";flex:none;width:16px;text-align:center;font-family:sans-serif;font-size:16px;font-weight:400;line-height:1;color:#fff}

/* ===== ヘッダー・フッター: 文字のリンクとフッターの上のスライドバナーは、ホバーで 40% まで薄く(2026-11-23)。青いボタン・SNS・ロゴやアイコンの画像は 60% のまま ===== */
html body .header_bottom_wrap ul li a:hover,
html body .header_detail_nav a:not(:has(img)):hover,
html body .header_nav_sp_list a:hover,html body .header_nav_sp_list .title.more:hover,
html body .header_bottom_wrap_mobile a:hover,
html body .site_footer .footer_nav_head:hover,html body .site_footer .footer_nav_sub a:hover,html body .site_footer .menu-item a:hover,
html body .site_footer .footer_legal a:hover,
html body .sns_area .sns_slider a:hover{opacity:.4 !important}

/* ===== TOP: MOVIE の下の新しいボタン(管理画面で設定)。見た目は「全選手を見る」と同じ(2026-11-23) ===== */
html body .movie_area .movie_more{display:flex;justify-content:center;margin-top:72px}
html body .movie_area .movie_more a{padding:12px 70px;font-weight:bold;font-size:16px;text-align:center;color:#ffffff;background-color:#0092b2;border-radius:90px;text-decoration:none;transition:background-color .4s ease,color .4s ease !important}
html body .movie_area .movie_more a:hover{background-color:#007c8e !important;color:#ffffff !important}
@media (max-width:768px){html body .movie_area .movie_more{margin-top:48px}html body .movie_area .movie_more a{padding:10px 40px;font-size:14px}}

/* ===== ヘッダー・フッター: 文字のリンクとフッターの上のスライドバナーは、ホバーで 50% まで薄く(40%を上書き)(2026-11-23)。青いボタン・SNS・ロゴやアイコンの画像は 60% のまま ===== */
html body .header_bottom_wrap ul li a:hover,
html body .header_detail_nav a:not(:has(img)):hover,
html body .header_nav_sp_list a:hover,html body .header_nav_sp_list .title.more:hover,
html body .header_bottom_wrap_mobile a:hover,
html body .site_footer .footer_nav_head:hover,html body .site_footer .footer_nav_sub a:hover,html body .site_footer .menu-item a:hover,
html body .site_footer .footer_legal a:hover,
html body .sns_area .sns_slider a:hover{opacity:.5 !important}

/* ヘッダーのロゴ(アビスパ・TEAM NAYBee・中央のエンブレム)はホバーで薄くしない(2026-11-23) */
html body .header_top_wrap .left a:hover,html body .header_top_wrap .center a:hover{opacity:1 !important}

/* ===== TOPのメインスライダー：ホバーで白15%を重ねる・矢印ボタン・サムネイルの今の位置 (261123) ===== */
/* メイン: リンクのある画像はホバーで白を10%重ねる(画像の上に重なっているリンク自体に色を乗せる) */
html body .mv_slider .mv_img a{background-color:rgba(255,255,255,0);transition:background-color .4s;}
html body .mv_slider .mv_img a:hover{background-color:rgba(255,255,255,.15);}
/* サムネイル: 押せるので指のカーソル、ホバーで白15% */
html body .mv_banner_slider .mv_banner_box{position:relative;cursor:pointer;}
html body .mv_banner_slider .mv_banner_box::before{content:"";position:absolute;inset:0;background-color:rgba(255,255,255,0);transition:background-color .4s;pointer-events:none;z-index:1;}
html body .mv_banner_slider .mv_banner_box:hover::before{background-color:rgba(255,255,255,.15);}
/* サムネイル: 今の画像に青(#0096B2)の枠 */
html body .mv_banner_slider .mv_banner_box::after{content:"";position:absolute;inset:0;border:3px solid #0096B2;opacity:0;transition:opacity .4s;pointer-events:none;z-index:2;}
html body .mv_banner_slider .mv_banner_box.is-current::after{opacity:1;}
/* サムネイルの左の余白(5px)がSwiperの計算に入らず、後ろの画像ほど右へずれて最後が切れていた → 左の余白をなくす(間隔はSwiperの10px) */
html body .mv_banner_slider .mv_banner_box{margin-left:0 !important;margin-right:0;} /* 右の5pxもSwiperが幅に足して計算してしまうため0に(間隔10pxはSwiperが付ける) */
/* メイン: 左右の矢印ボタン(common.js で追加。見た目は試合・MOVIEの矢印と同じ) */
html body .mv_slider .mv_arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;background-color:#009EB4;z-index:20;cursor:pointer;border:0;padding:0;transition:background-color .4s;}
html body .mv_slider .mv_arrow:hover{background-color:#007c8e;}
html body .mv_slider .mv_arrow::before{content:"";position:absolute;top:50%;width:16px;height:16px;box-sizing:border-box;border-bottom:3px solid #fff;}
html body .mv_slider .mv_arrow--prev{left:calc(11.54% - 21px);}
html body .mv_slider .mv_arrow--prev::before{left:16px;border-left:3px solid #fff;transform:translateY(-50%) rotate(45deg);}
html body .mv_slider .mv_arrow--next{right:calc(11.54% - 21px);}
html body .mv_slider .mv_arrow--next::before{right:16px;border-right:3px solid #fff;transform:translateY(-50%) rotate(-45deg);}
@media (max-width:768px){
  html body .mv_slider .mv_arrow{width:32px;height:32px;}
  html body .mv_slider .mv_arrow::before{width:12px;height:12px;}
  html body .mv_slider .mv_arrow--prev{left:0;}
  html body .mv_slider .mv_arrow--prev::before{left:12px;}
  html body .mv_slider .mv_arrow--next{right:0;}
  html body .mv_slider .mv_arrow--next::before{right:12px;}
}
/* スマホ: 下の段のサムネイルの幅。両端15px・間隔10pxで、3〜8枚目がちょうど帯の中央に来る大きさ((帯の幅-70px)÷5) */
@media (max-width:768px){
  html body .mv_banner_slider .mv_banner_box{width:calc((100% - 70px) / 5) !important;}
}

/* ===== TOPページ 追加修正(2026-11-24) ===== */
/* TOP TEAM: 名前は元の大きさのまま、1行に収まらない名前だけ common.js で自動的に縮める(white-space:nowrap)／ホバーで「詳しく見る」をブルーヴェールダンス(#0096B2)に */
html body .topteam_slider .topteam_box .text .name{white-space:nowrap;}
html body .topteam_slider .topteam_box .more span{transition:background-color .4s,border-color .4s,color .4s;}
html body .topteam_slider a.topteam_box:hover .more span{background-color:#0096B2 !important;border-color:#0096B2 !important;color:#fff !important;}

/* NEWSのタブ: 横にスクロールできるときはスクロールバーを出す(スマホのヘッダーメニューの帯と同じ見た目) */
html body .news_area .filter_tabs{overflow-y:hidden !important;} /* iPhoneで縦方向にも動いてタブが下にずれていた */
html body .news_area .filter_tabs::-webkit-scrollbar{height:5px;}
html body .news_area .filter_tabs::-webkit-scrollbar-thumb{background:#7b7a7a;border-radius:100px;}
html body .news_area .filter_tabs::-webkit-scrollbar-track{background:#d9d9d9;border-radius:100px;}

/* TOPの丸ボタン共通: 今の幅を最低幅に、文言が長いときは左右の余白を保ったままボタンが広がる(管理画面でどんな文言が入っても詰まらない) */
html body .match_schedule_link,html body .standings_link,html body .schedule_area .link a,html body .ticket_area .top_img .link a,html body .fan_area_link a,html body .guide_box .link a,html body .movie_more a,html body .topteam_more a,html body .goods_more a,html body .partner_more a{min-width:fit-content !important;max-width:100%;box-sizing:border-box;white-space:nowrap;}
/* 左右の余白が0のボタンには28pxを付ける(余白が元からあるボタンはそのまま) */
html body .ticket_area .top_img .link a,html body .fan_area_link a,html body .guide_box .link a{padding-left:28px !important;padding-right:28px !important;}
@media (max-width:768px){
  html body .schedule_area .link a,html body .topteam_more a,html body .goods_more a,html body .partner_more a{padding-left:28px !important;padding-right:28px !important;}
}

/* チケット(PC・タブレット): 動画の見える高さを約30%増やす(帯の上下の画像はそのまま、動画は枠いっぱいに) */
@media (min-width:769px){
  /* 帯の高さ 55vw → 62.6vw(1440pxで 792→901px)。上下の画像は固定なので、動画の見える部分(約365px)が約110px(30%)広がる */
  html body .ticket_area .video{height:62.6vw !important;}
}
@media (min-width:769px) and (max-width:1199px){ html body .ticket_area .video{height:auto !important;aspect-ratio:1440/901 !important;} }
@media (min-width:769px){
  html body .ticket_area .p-about-bgVideo__media{top:0 !important;left:0 !important;transform:none !important;width:100% !important;height:100% !important;object-fit:cover !important;}
}

@media (max-width:768px){
  /* NEWS: 写真つきの4件 — 写真の縦横比をPCと同じ(307:174)に固定 */
  html body .news_container .news_box img{height:auto !important;aspect-ratio:307/174 !important;object-fit:cover;}
  html body .news_container .news_box .thumb{height:auto !important;}
  /* 写真つきの4件: タイトルと日付を大きく */
  html body .news_container .news_box h3{font-size:15px !important;line-height:1.5 !important;}
  html body .news_container .news_box time{font-size:14px !important;}
  /* 写真つきの4件と、下の文字だけのニュースの間を広く */
  html body .news_area .filter_news_list{margin-top:24px !important;}
  /* 文字だけのニュース: タイトルと日付を大きく */
  html body .news_area .filter_news_link{font-size:15px !important;line-height:1.5 !important;}
  html body .news_area .filter_news_date{font-size:14px !important;}

  /* NEXT MATCH・LATEST MATCH: 試合タイトルを12pxにそろえる */
  html body .match_card-head .match_title_cup,html body .match_card-head .match_title_vs,html body .latest_match_title,html body .latest_match_title .match_title_cup,html body .latest_match_title .match_title_vs{font-size:12px !important;line-height:1.4 !important;}

  /* 順位表: 順位・勝敗・勝点を約1.5倍 */
  html body .standings_rank-number{font-size:54px !important;}
  html body .standings_rank-unit{font-size:22px !important;}
  html body .standings_record-main span,html body .standings_points{font-size:18px !important;}
  html body .standings_record-main strong,html body .standings_points strong{font-size:28px !important;line-height:28px !important;}
  /* 順位表の表: 数字19px・チーム名15px・ロゴ30px */
  html body .standings_table thead th{font-size:15px !important;height:36px !important;padding-top:0 !important;padding-bottom:0 !important;vertical-align:middle;white-space:nowrap;}
  html body .standings_table td:not(.club-name){font-size:19px !important;padding-top:12.5px !important;padding-bottom:7.5px !important;}
  html body .standings_table td.club-name,html body .standings_table td.club-name span{font-size:15px !important;white-space:nowrap;}
  html body .standings_table td.club-name img{width:30px !important;height:33px !important;object-fit:contain;}
  /* 枠の高さ = 見出し36px + 3.5行(50px×3.5)。いちばん下まで送ったとき、一番上の行がちょうど上半分隠れる */
  html body .standings_table tbody tr{height:50px !important;}
  html body .standings_table_wrapper{max-height:211px !important;}

  /* フッター下のリンク: 1行目「プライバシーポリシー｜お問い合わせ」、2行目「よくある質問｜サイトマップ」 */
  html body .footer_bottom_list::after{content:"";width:100%;order:1;}
  html body .footer_bottom_list > li:nth-child(n+3){order:2;}
  html body .footer_bottom_list > li:nth-child(2){border-right:0 !important;}
}
/* 順位表: 375px未満の狭いスマホはチーム名と数字が詰まるため少しだけ小さく */
@media (max-width:374px){
  html body .standings_table td.club-name,html body .standings_table td.club-name span{font-size:14px !important;}
  html body .standings_table td:not(.club-name){font-size:18px !important;}
}

/* スマホ: TODAY'S SCHEDULE と TICKET の見出しが上に詰まって見える → 上下の余白をそろえる */
@media (max-width:768px){
  html body .schedule_area .title{padding-top:20px !important;}
  html body .ticket_area .top_img .box{top:22px !important;}
}

/* ===== タブレット幅(769〜1199px): スマホの横スクロールメニューの帯をヘッダーの下に出す。横スクロールせず、11項目を同じ幅のタイルで1列に並べる(2026-11-24) ===== */
@media (min-width:769px) and (max-width:1199px){
  html body .header_area .header_bottom_mobile.sp{display:block !important;background-color:#001b5b;overflow:hidden}
  html body .header_bottom_wrap_mobile{display:flex !important;overflow:visible !important}
  html body .header_bottom_wrap_mobile a{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;height:36px;padding:0 4px !important;font-family:"Noto Sans JP",sans-serif;font-size:12px !important;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;color:#ffffff;text-decoration:none;border-right:1px solid rgba(255,255,255,.25)}
  html body .header_bottom_wrap_mobile a:last-child{border-right:0 !important}
  html:root body{padding-top:101px !important}
  /* MENUを開いたとき: ヘッダーの直下(65px)から覆い、帯の区切り線がのぞかないように */
  html body .header_area .header_nav_sp_area{top:65px}
}

/* ===== スマホ・タブレット: ヘッダー下のメニューの帯の文字を Peckham Press に(DIN版を置き換え)(2026-11-24) ===== */
/* スマホは10px(横スクロール。12→11→10pxと小さく。帯の高さは元の35px)。タブレットは11項目を1列に収めるため画面幅に合わせて小さく(769pxで約9px〜1199pxで13px)。上下の位置は実測で中央に */
html:root body .header_bottom_wrap_mobile a{font-family:'peckham-press',sans-serif !important;font-weight:normal !important;letter-spacing:0 !important}
@media (max-width:768px){html:root body .header_bottom_wrap_mobile a{font-size:10px !important;padding-top:13px !important;padding-bottom:10px !important;line-height:1.2}}
@media (min-width:769px) and (max-width:1199px){html:root body .header_bottom_wrap_mobile a{font-size:min(1.17vw,13px) !important;padding-top:2px !important}}

/* ===== ニュースのカテゴリボタン(TOP・ニュース一覧): ボタンの中で縦に動いてしまうのを止める(2026-11-24) ===== */
/* 原因: 各ボタン下の色の線(::after)が bottom:-1px・高さ3pxで、枠より1px下にはみ出していた(見えていたのは2px分)。
   見た目はそのまま(線2px)で、はみ出しをなくす。横スクロールはそのまま */
html:root body .filter_tabs{overflow-y:hidden !important;overscroll-behavior-y:none}
html:root body .filter_tabs .filter_tab::after{bottom:0 !important;height:2px !important}

/* ===== PC(1200px以上): ヘッダー中央のエンブレムにホバーしたら、エンブレムの形の部分だけに白15%を重ねる(2026-11-24。5%では分かりにくいため15%に) ===== */
/* 画像(head_logo_center.webp)の透明部分を型(mask)にして、背景の紺には白を乗せない。0.4秒でじわっと */
@media (min-width:1200px){
  html body .header_top_wrap .center a.header_center_logo{position:relative}
  html body .header_top_wrap .center a.header_center_logo::after{content:"";position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;transition:opacity .4s ease;
    -webkit-mask:url(../images/head_logo_center.webp) center/100% 100% no-repeat;mask:url(../images/head_logo_center.webp) center/100% 100% no-repeat}
  html body .header_top_wrap .center a.header_center_logo:hover::after{opacity:.15}
}

/* ===== 追加修正(2026-11-24 夜) ===== */
/* TOP: NEXT MATCH の試合タイトルの帯を LATEST MATCH と同じ色(#001B5B)に */
html body .match_card-head{background:#001B5B !important}
/* TOP: GUIDE「観戦ガイドを見る」は元の紺のまま。ホバーでブルーヴェールダンス(#0096B2)へ0.4秒でじわっと */
html body .guide_box .link a{transition:background-color .4s ease,color .4s ease !important}
html body .guide_box .link a:hover{background-color:#0096B2 !important;color:#ffffff !important;opacity:1 !important;filter:none !important}
/* フッター上のバナー: PCは4枚ずつのページ(common.js)。4枚に満たないページは中央に寄せる */
html body .sns_slider.is-paged .sns_page{display:flex !important;justify-content:center}
html body .sns_slider.is-paged .sns_page .sns_img{flex:0 0 calc(25% - 26px);max-width:calc(25% - 26px);margin:0 13px;display:block}
html body .sns_slider.is-paged .sns_page .sns_img img{display:block;width:100%;height:auto}
