@charset "utf-8";

/* 2025以前 */

body.before_2026 {

    & #snav_game li.current {
        margin-left: 0;
    }

    & #snav_game li.current a {
        background-color: transparent;
        margin-right: 0;
    }

    #snav_game li:nth-child(1) a {
        padding-left: 0;
    }

    /* & p#game_top_Img img {
        width: 100%;
    } */

}

body.y2024.acl.sec_02 p.category,
body.y2024.acl.sec_06 p.category,
body.y2024.acl.sec_08 p.category,
body.y2024.acl.sec_07 p.category {
    margin-left: 0;
}

body.levain_cup.y2024 {
    & div.box_game_data {
        width: 1100px;
    }

    @media screen and (max-width: 768px) {
        div.box_game_data {
            width: 100%;
        }
    }

}

body.y2023 {
    & p.vs_name {
        font-size: 2.0rem;
    }
}

/* 2007〜2016年の試合 */
body.old-layout {
    & #box_score.game_end {
        display: none;
    }

    & p.category.j_league1 {
        display: block;
        width: 147px;
        height: auto;
    }

    & p.category.levain_cup {
        display: block;
        width: 188px;
        height: auto;
    }

    & p.category.emperors_cup {
        display: block;
        width: 162px;
        height: auto;
    }

    & p.category img {
        width: 100%;
        height: auto;
    }

    & p.category.is_text {
        font-weight: 600;
        font-size: 2.0rem;
        margin-left: 0.6em;
        margin-right: 0.6em;
        background-size: 100% auto;
        background-position: 0 100%;
        background-repeat: no-repeat;
    }

    & p.category.is_text.j_league1 {
        display: block;
        width: 147px;
        height: 36px;
        background-image: url(/goto_game/page_parts/logo_j1.svg);
        margin: 0;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }

    & p.category.is_text.levain_cup {
        display: block;
        width: 188px;
        height: 36px;
        background-image: url(/goto_game/page_parts/logo_ync.svg);
        margin: 0;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }

    & p.category.is_text.emperors_cup {
        display: block;
        width: 162px;
        height: 40px;
        background-image: url(/goto_game/page_parts/logo_emperorscup.svg);
        margin: 0;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }

}

body.y2017 {
    & #box_score.game_end {
        display: block;
    }
}


body.acl.old-layout {
    & p.vs_emblem img {
        display: none;
    }
}

/* データスタジアム */
#box_utility {}

div#box_formation.box_1_block {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    float: none;
}

div#box_record_inner #box_formation h3 {
    width: 100%;
    float: none;
    margin-bottom: 0 !important;

    & img {
        width: 50%;
    }
}

table.table_5detail,
table.table_5report,
#inner_formation {
    width: 50%;
    float: none;
}

#inner_formation {
    color: #fff;
}

#box_preview h4 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

#box_preview h4.kf {
    color: #3799f1;
}

#box_preview p {
    text-align: center;
    margin: 14px 0;
}

#inner_formation+table.table_5report {
    margin-top: -38px;
}

table.inner5report {
    width: 100%;
}

#box_report_home,
#box_report_away {
    padding: 0 20px;
}

#box_report_home {
    margin-top: 14px;
}

#box_report_home h5,
#box_report_away h5 {
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
}

#box_report_home p,
#box_report_away p {
    color: #fff;
    font-size: 1.4rem;
    margin-top: 0.8em;
}

/*  */

#box_topics {
    padding-top: 48px;
}

#box_topics h3 {
    & img {
        display: none;
    }
}

#box_topics h3::before {
    content: 'ホームゲームトピックス';
}

#box_topics h3::after {
    content: 'GAME TOPICS';
    font-size: 1.2rem;
    height: 21px;
    color: #23b7fe;
    font-family: 'roboto';
    font-weight: 500;
    position: relative;
    padding-left: 1em;
    display: inline-block;
    vertical-align: middle;
    padding-top: 3px;
}

#box_topics p.ban_matchday {
    display: none;
}

div#box_record_inner div.box_1_block {
    margin-bottom: 0;
}

div#box_record_inner div.player_comment {
    margin-top: 48px;
}

p.img_banners,
p.ban_matchday {
    text-align: center;
    margin-top: 48px;
}

p.img_banners {
    margin-bottom: 48px;
}

/*  */

#box_taisho {
    display: flex;
    /* justify-content: center; */
    padding: 24px 28px;
}

#photo_taisho+h4 {
    display: none;
}

#box_taisho_contents {
    padding-right: 24px;

    & h3 {
        width: 174px;
        height: 45px;
        background-image: url(/goto_game/2018/page_parts/ttl_taisho_home.png);
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: 100% auto;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }

    & p {
        font-size: 1.4rem;
        margin-top: 1em;
    }

    & dl {
        margin-top: 10px;
    }

    & dt,
    & dd {
        font-size: 1.4rem;
    }

    & dt {
        color: #21b6fd;
        margin-top: 1em;
    }

    & dd {
        line-height: 1.8;
    }
}

/*  */

#box_taisho_area {
    margin-top: 48px;
}

#box_please {
    padding: 0 20px 20px;
    overflow: visible !important;
    display: flex;
    gap: 0 20px;
    /* flex-wrap: wrap; */
}

#box_please_contents {
    margin-top: auto;
}

div#box_please_contents h3 {
    background-image: url(/goto_game/2017/page_parts/ttl_please.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

#box_please_contents .ttl_mobafro {
    font-size: 2.0rem;
    color: #23b7fe;
    font-weight: 600;
    position: absolute;
    top: 20px;
    left: 160px;
    width: 80%;
    line-height: 1.2;
}

#box_saiten_foot,
#box_please_contents .qr_mobafro {
    display: none;
}

#box_saiten {
    margin-top: 14px;

    & h4 {
        font-size: 1.6rem;
        font-weight: 600;
        text-align: center;
    }
}

#box_saiten_comment {
    padding-top: 20px;
    margin-top: auto;

    & h4 {
        font-size: 1.8rem;
        color: #23b7fe;
        font-weight: 600;
    }

    & p {
        margin-top: 0.8em;
    }
}

#photo_saiten {
    margin-top: 80px;
}

/*  */

div.box_bnr.bnr_three {
    margin-top: 48px;
}

/*  */

#dialog-box {
    display: none;
}

/*  */


#box_magazine {
    /* padding-top: 7px; */
    /* background: url(../2013/page_parts/bg_mag_top.gif); */
    /* background-position: 0 0;
    background-repeat: no-repeat; */
    margin-bottom: 20px;
    background-color: #252625;
}

#inner_magazine {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    padding-top: 30px;
    padding-bottom: 30px;
}

#inner_magazine h3 {
    grid-column: span 3 / span 3;
}

#vs_team {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}

#inner_magazine h4 {
    grid-column: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
    text-align: center;
}

#prev_left {
    grid-column-start: 1;
    grid-row-start: 4;
}

#prev_right {
    grid-column-start: 2;
    grid-row-start: 4;
}

#box_review {
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 2;
}

#box_magazine p,
#box_magazine h5,
#box_magazine h6 {
    color: #fff;
}

#box_magazine h6 {
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    margin-bottom: 10px;
}

#box_magazine h6.typo_system {
    font-family: Verdana, sans-serif;
    margin-bottom: 18px;
}

div#box_record_inner #inner_magazine h3 {
    /* margin-left: 19px; */
    text-align: center !important;
    margin-bottom: 30px !important;
}

#vs_team ul {
    display: flex;
    margin-bottom: 0;
}

#vs_team ul li {
    width: 276px;
    height: 27px;
    line-height: 29px;
    text-indent: 22px;
}

#vs_team ul li.away {
    color: #fff;
    background-image: url(../page_parts/bg_box_report_kf_away.gif);
    font-weight: bold;
    margin-left: 18px;
}

#vs_team ul li.home {
    color: #000;
    background-image: url(../page_parts/bg_box_report_vs_home.gif);
    margin-left: 15px;
}

#prev_right,
#prev_left {
    width: 268px;
    margin-bottom: 20px;
}

#prev_left {
    margin-left: 20px;
}

#prev_right {
    margin-left: 21px;
}

#prev_right img,
#prev_left img {
    margin-bottom: 12px;
}

#prev_right p,
#prev_left p,
#box_review p {
    line-height: 1.8;
}

#box_review p {
    margin-top: 1em;
}

#prev_right h5,
#prev_left h5 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    min-height: 3.8em;
}

#box_review {
    width: 380px;
    margin-right: 20px;
}

#box_review p.nowWaiting {
    width: 567px;
    border: none;
}

#box_review h4 {
    margin: 0 auto;
    text-align: center;
}

#box_review h5 {
    font-size: 14px;
    margin-bottom: 1em;
}

body.y2013 {

    & div#box_record_inner {

        & #box_utility {
            margin-top: 48px;
        }

        & #box_formation {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(3, auto);

            & h3 {
                grid-column: span 2 / span 2;
                text-align: center !important;
            }

            & #inner_formation {
                grid-column: span 2 / span 2;
                grid-row-start: 2;
                width: 100%;
                height: auto;
                display: flex;
                flex-wrap: nowrap;
                align-content: flex-start;
                align-items: flex-start;
                justify-content: center;

                & #box_report_away,
                & #box_report_home,
                & #box_preview {
                    width: calc(100% / 3);
                    margin-top: 0;
                }

                & table {
                    width: 100%;
                }
            }

            & .table_team_stats {
                grid-row-start: 3;
            }

            & .table_timelinegoals {
                grid-row-start: 3;

            }
        }

        & table.table_timelinegoals,
        & table.table_team_stats {
            /* width: 50%; */
            width: auto;
        }

        & table.table_5report.vs,
        & table.table_5report.kf {
            float: none;
        }

    }

    &.page_extra p.matchNum {
        background-color: transparent;
    }

    & div.box_bnr {
        margin-top: 48px;
    }

}

body.old-layout {
    & #box_ranking h6 {
        background-color: #313231;
        padding-bottom: 0.4em;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    & #box_ranking h6::after {
        content: '▶';
        font-size: 0.8em;
    }

    & #box_ranking h6.is-open::after {
        content: '▼';
    }

    & #box_ranking {
        & table {
            display: none;
        }

        & table.is-visible {
            display: table;
        }
    }
}

/*  */
body.y2016,
body.y2015,
body.y2014 {

    & #inner_formation {
        width: 100%;
        min-height: initial;
        margin-left: 0;
        display: flex;
        padding: 0 20px;
    }

    & #formation {
        background-image: url(/goto_game/2014/page_parts/bg_formation.gif);
        background-position: 0 27px;
        background-repeat: no-repeat;
        display: flex;
        margin: 0;
    }

    & div.box_formation {
        float: none;
        margin-left: 0;
    }

    & #box_report_home {
        margin-top: 0;
        width: 412px;

        & table.table_5report {
            width: 100%;
        }

        & table.table_5report tbody span.team,
        & table.table_5report tbody span.score {
            height: auto;
        }
    }

    & #graph {
        display: none;
    }

}

/*  */
body.y2016,
body.y2015 {
    & #box_formation {

        & #inner_formation {
            width: auto;
        }

        & p.gotoPageTop {
            display: none;
        }

        & #heat_map,
        & #player_tracking,
        & #team_tracking {
            display: none;
        }
    }
}

body.y2016 {
    #box_ranking {
        display: none;
    }

    #box_utility {
        background-color: #313231;
    }
}

/*  */


@media screen and (max-width: 768px) {
    body.old-layout {

        & p.category.is_text.j_league1 {
            width: 100%;
            height: 8vw;
            background-size: auto 8vw;
            background-position-x: center;
        }

        & p.category.is_text.levain_cup {
            width: 100%;
            height: 6vw;
            background-size: auto 6vw;
            background-position-x: center;
        }

        & p.category.is_text.emperors_cup {
            width: 100%;
            height: 8vw;
            background-size: auto 8vw;
            background-position-x: center;
        }

    }
}