* {
    padding: 0;
    margin: 0;
}

.page-inner {
    padding: 2% 0 4%;
    margin: auto;
}

.guide_wrapper {
    padding-top: 40px;
}

.guide_text,
.guide_data,
h4 {
    color: #024287;
}

.guide_layout {
    display: grid;
    grid-template-columns: 522px 638px;
    gap: 40px;
}

.guide_layout.guide_box6 {
    display: grid;
    grid-template-columns: 500px 670px;
    gap: 30px;
}

@media (max-width: 1199px) {
    .guide_layout {
        display: flex;
        flex-direction: column;
    }

    .guide_layout.guide_box6 {
        display: flex;
        flex-direction: column;
    }
}

/* PCレイアウト並び替え */
/* 注目選手分析 */
.guide_box3 .guide_item1 {
    grid-column: 1;
    grid-row: 1;
}

.guide_box3 .guide_item2 {
    grid-column: 2;
    grid-row: 1 / 3;
}

.guide_box3 .guide_item3 {
    grid-column: 1;
    grid-row: 2;
}

.guide_box4 .guide_item1 {
    grid-column: 1;
    grid-row: 1;
}

.guide_box4 .guide_item2 {
    grid-column: 2;
    grid-row: 1 / 3;
}

.guide_box4 .guide_item3 {
    grid-column: 1;
    grid-row: 2;
}

.guide_box4 .guide_item4 {
    grid-column: 2;
    grid-row: 3;
    margin-top: -160px;
}

/* モーター気配分析 */
.guide_box5 .guide_item5 {
    grid-column: 2;
    grid-row: 3;
}

@media (max-width: 1199px) {

    /* SPレイアウト並び替え */
    /* 夏のびわこ 水面攻略ポイント */
    .guide_box1 .guide_item2,
    .guide_box2 .guide_item2 {
        order: 1;
    }

    .guide_box1 .guide_item1,
    .guide_box2 .guide_item1 {
        order: 2;
    }

    /* 注目選手分析 */
    .guide_box3 .guide_item1 {
        order: 1;
    }

    .guide_box3 .guide_item2 {
        order: 2;
    }

    .guide_box3 .guide_item3 {
        order: 3;
    }

    .guide_box4 .guide_item1 {
        order: 1;
    }

    .guide_box4 .guide_item2 {
        order: 2;
    }

    .guide_box4 .guide_item4 {
        order: 3;
        margin-top: 0;
    }

    .guide_box4 .guide_item3 {
        order: 4;
    }

    /* モーター気配分析 */
    .guide_box5 .guide_item1 {
        order: 1;
    }

    .guide_box5 .guide_item2 {
        order: 2;
    }

    .guide_box5 .guide_item4 {
        order: 3;
    }

    .guide_box5 .guide_item5 {
        order: 4;
    }

    .guide_box5 .guide_item3 {
        order: 5;
    }

}

.guide_text {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.8;
}

.guide_graph_box {
    width: 100%;
    max-width: 638px;
    margin: auto;
}

.guide_graph_box.guide_graph03 {
    width: 100%;
    max-width: 670px;
    margin: 0 auto;
}

.guide_data {
    text-align: right;
    margin-bottom: 2px;
}

.guide_data_inner {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 20px;
    font-weight: 500;
}

.guide_data_kome {
    margin-right: 32px;
}

.guide_container h3 {
    padding-bottom: 25px;
}

.guide_layout {
    padding-bottom: 90px;
}

.guide_layout.guide_box4 {
    padding-top: 125px;
}

.guide_box2 .guide_item1 {
    margin-top: 4em;
}

@media (max-width: 1199px) {
    .guide_wrapper {
        padding-top: 0;
    }

    .guide_container h3 {
        padding-bottom: 5%;
        width: 50vw;
    }

    .guide_container .h3_img04 {
        padding-top: 10vw;
    }

    .guide_layout {
        gap: 4vw;
        padding-bottom: 10vw;
    }

    .guide_box2 .guide_item1 {
        margin-top: 0;
    }

    .guide_layout.guide_box4 {
        padding-top: 4vw;
    }

    .guide_text {
        font-size: 1.3em;
    }

    .guide_data_inner {
        margin-right: 0;
        font-size: 14px;
        font-size: 1.1em;
    }

    .guide_data_kome {
        margin-right: 0;
    }

    .guide_graph_box.guide_graph03 {
        width: 100%;
        max-width: 638px;
        margin: 0 auto;
    }

}

@media (max-width: 767px) {
    .guide_container .h3_img01 {
        width: 70vw;
    }

    .guide_container .h3_img02 {
        width: 50vw;
    }

    .guide_container .h3_img03,
    .guide_container .h3_img04 {
        width: 60vw;
    }

    .guide_text {
        font-size: min(4vw, 21px);
    }

    .guide_data_inner {
        font-size: min(3vw, 20px);
    }

}

/* スクロールバー */
.guide_scroll {
    height: 844px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    overflow-y: scroll;
}

.guide_scroll::-webkit-scrollbar {
    width: 19px;
}

.guide_scroll::-webkit-scrollbar-thumb {
    background: #FFF100;
    border-radius: 10px;
    border: 1px solid #D2CED2;
}

.guide_scroll::-webkit-scrollbar-track {
    background-color: #55D8F0;
    border-radius: 10px;
}

/* 1199px以下スクロールバー無し */
@media (max-width: 1199px) {
    .guide_scroll {
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

/* ボートレースびわこコース別成績表 */
table {
    width: 100%;
    border-collapse: collapse;
}

.guide_table01 th,
.guide_table01 td,
.guide_table02 th,
.guide_table02 td {
    border: 2px solid #000;
}

.guide_table01 th:first-child {
    width: 95px;
}

.guide_table01 th {
    background: #f2f2f2;
    text-align: center;
    font-weight: 600;
    font-size: 25px;
    padding: 20px 0;
}

.guide_table01 td {
    text-align: center;
    padding: 13px 0;
    font-size: 28px;
    font-weight: 600;
}

.guide_table01 .color_1 {
    background-color: #fff;
    color: #000;
}

.guide_table01 .color_2 {
    background-color: #595959;
    color: #fff;
}

.guide_table01 .color_3 {
    background-color: #ff0066;
    color: #fff;
}

.guide_table01 .color_4 {
    background-color: #06b0f0;
    color: #fff;
}

.guide_table01 .color_5 {
    background-color: #ffff99;
    color: #000;
}

.guide_table01 .color_6 {
    background-color: #06b050;
    color: #fff;
}

@media (max-width: 1199px) {
    .guide_table01 th {
        padding: .9em 0;
    }

    .guide_table01 td {
        padding: .4em 0;
    }
}

@media (max-width: 767px) {
    .guide_table01 th:first-child {
        width: 13vw;
    }

    .guide_table01 th {
        padding: .9em 0;
        font-size: 3.8vw;
    }

    .guide_table01 td {
        padding: .4em 0;
        font-size: 4.0vw;
    }
}


/* ボートレースびわこ通算勝率ランキングTOP10 */
.guide_table02 th {
    background: #f2f2f2;
    text-align: center;
    font-size: 22px;
    padding: 24px 4px;
    font-weight: 900;
}

.guide_table02 td {
    background: #fff;
    text-align: center;
    padding: 13px 0;
    font-size: 22px;
    font-weight: 900;
}

@media (max-width: 1199px) {
    .guide_table02 th {
        padding: 1.1em .2em;
    }

    .guide_table02 td {
        padding: .6em 0;
    }
}

@media (max-width: 767px) {
    .guide_table02 th {
        padding: .9em .2em;
        font-size: 3.8vw;
    }

    .guide_table02 td {
        padding: .4em 0;
        font-size: 3.8vw;
    }
}

/* ボートレースびわこ３連単出目ランキング */
.guide_table03 {
    width: calc(100% - 13px);
    border: 3px solid #000;
}

.guide_table03 th {
    background: #f2f2f2;
    text-align: center;
    font-size: 25px;
    padding: 24px 0px;
    font-weight: 600;
}

.guide_table03 td {
    background: #fff;
    text-align: center;
    padding: 11px 0;
    font-size: 28px;
    font-weight: 600;
}

.guide_table03 th,
.guide_table03 td {
    border: 2px solid #000;
}

.guide_table03 th:nth-child(3),
.guide_table03 td:nth-child(3) {
    border-right: 4px solid #000;
}

.guide_table03 th:nth-child(1),
.guide_table03 td:nth-child(1),
.guide_table03 th:nth-child(2),
.guide_table03 td:nth-child(2),
.guide_table03 th:nth-child(4),
.guide_table03 td:nth-child(4),
.guide_table03 th:nth-child(5),
.guide_table03 td:nth-child(5) {
    width: 95px;
}

@media (max-width: 1199px) {
    .guide_table03 {
        width: 100%;
        max-width: 638px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .guide_table03 th {
        padding: .8em 0;
        font-size: 3.2vw;
    }

    .guide_table03 td {
        padding: .4em 0;
        font-size: 3.8vw;
        font-weight: 900;
    }

    .guide_table03 th:nth-child(3),
    .guide_table03 td:nth-child(3) {
        border-right: 3px solid #000;
    }

    .guide_table03 th:nth-child(1),
    .guide_table03 td:nth-child(1),
    .guide_table03 th:nth-child(2),
    .guide_table03 td:nth-child(2),
    .guide_table03 th:nth-child(4),
    .guide_table03 td:nth-child(4),
    .guide_table03 th:nth-child(5),
    .guide_table03 td:nth-child(5) {
        width: 13vw;
    }
}



/* h4タイトル他の下層でも流用 */
.guide_container h4 {
    font-size: 30px;
    font-weight: 900;
}

.h4_title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #024287;
}

.h4_title::before {
    content: "";
    display: block;
    width: 54px;
    height: 55px;
    background: url(../images/dream/star.png) no-repeat center / contain;
    padding-right: 14px;
}

@media (max-width: 1199px) {
    .guide_container h4 {
        font-size: 1.6em;
    }

    .h4_title::before {
        padding-right: 5px;
    }
}

@media (max-width: 767px) {
    .guide_container h4 {
        font-size: 4.2vw;
    }

    .h4_title::before {
        width: 34px;
        height: 35px;
    }

    .h4_title:has(.sp_br)::before {
        margin-top: -1.4em;
    }
}

/* sp改行 */
.sp_br {
    display: none;
}

@media screen and (max-width: 767px) {
    .sp_br {
        display: inline;
    }
}