.fw_content .fw_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.fw_content .fw_box .fw_item {
    position: relative;
    padding: 10px 15px;
    width: 29%;
    background: #fff;
    border-radius: 8px;
    border: #144A90 2px solid;
    margin-bottom: 20px;
    height: 650px;
}

.fw_content .fw_box .fw_item .title-box {
    position: absolute;
    top: 0;
    left: 0;
    background: #144A90;
    width: 100%;
    height: 40px;
}

.fw_content .fw_box .fw_item .title-box .content_title_02 {
    color: #fff;
    font-size: 1.1rem;
}

.fw_content .fw_box .fw_item .image_item {
    margin-bottom: 10px;
}

.fw_content .fw_box .fw_item .image_item img {
    width: 230px;
    height: auto
}

.fw_content .fw_box .fw_item .ex_item {
    margin-top: 40px;
}

.fw_content .fw_box .fw_item .ex_item .text {
    font-size: 1rem;
    margin-bottom: 0;
    text-align: left;
}

.fw_content .fw_box .fw_item .ex_item .text.note {
    font-size: 0.8rem;
    margin-top: 10px;
}

.fw_content .fw_box .fw_item .ex_item .text.red {
    color: #e40b16;
}

.fw_content .fw_box .fw_item .triangle {
    position: absolute;
    height: 40px;
    width: 30px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    top: 45%;
    right: -50px;
    transform: translateY(-50%);
    background: #170e0e;
}

.fw_content .fw_box .fw_item .triangle.red {
    background: #e40b16;
    top: 55%;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.fw_content .fw_box.red-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 30px;
}

.fw_content .fw_box .content_title_03 .s-font {
    color: #fff;
    font-size: 1rem;

}

.fw_content .fw_box .content_title_03 {
    letter-spacing: 0.1em
}

.fw_content .fw_box.red-box .fw_item .title-box {
    background: #e40b16;
}

.fw_content .fw_box.red-box .fw_item {
    width: 40%;
    border: #e40b16 2px solid;
    height: 530px;
}

.fw_content .fw_box.red-box .fw_item .ex_item {
    margin-top: 45px;
}

.fw_content .fw_box.red-box .fw_item .image_item img.pc-image {
    width: 300px;
    padding-top: 30px;
    margin-bottom: 50px;
}

/*教科*/
.sj-content .sj-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #144A90;
    margin-bottom: 40px;
}

.sj-content .sj-table thead th {
    background-color: #144A90;
    color: #fff;
    border-right: #fff 1px solid;
    padding: 10px 5px;
}

.sj-content .sj-table thead th:last-child {
    border: none;
}

.sj-content .sj-table td,
.sj-content .sj-table th {
    background-color: #fff;
    padding: 15px 5px;
    border: 1px solid #144A90;
}

.sj-content .sj-table td {
    font-size: 0.95rem;
    font-weight: 500;
    color: #170e0e;
}

.sj-content .sj-table thead th:first-child {
    width: 30%;
}

.sj-content .sj-table thead th {
    width: 10%;
}

.sj-content .sj-table .b-gray th,
.sj-content .sj-table .b-gray td {
    background-color: #ebebeb
}

.sj-content .sj-table td .circle-r {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #e40b16;
    display: block;
    margin: 0 auto;
}

.sj-content .sj-table td .circle-b {
    background-color: #144A90;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.sj-content .point_box {
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
}

.sj-content .point_box .p_tug {
    background-color: #144A90;
    width: 30%;
    border-radius: 50px;
    position: absolute;
    top: -20px;
    left: -20px;
    height: 35px;
}

.sj-content .point_box .p_tug .content_title_03 {
    font-size: 1rem;
}

.sj-content .point_box .point_item {
    background-color: #fff;
    border: #144A90 2px solid;
    border-radius: 8px;
    position: relative;
    height: 250px;
    width: 45%;
    padding: 30px 10px 15px 10px;
    margin-bottom: 20px;
}

.sj-content .point_box .point_item .text_list {
    text-indent: -1em;
    margin-left: 15px;
}

.sj-content .point_box .image_item img {
    width: 175px;
}

.sj-content .point_box .image_item img:first-child {
    margin-right: -20px;
}

.sj-content .point_box .image_box {
    position: relative;
    width: 48%;
}

.sj-content .point_box .image_box .text_box {
    background-color: #ebebeb;
    padding: 20px;
    border-radius: 8px;
    position: absolute;
    top: 55%;
    z-index: -1;
    left: 50%;
}

.sj-content .point_box .image_box .text_box .accent {
    color: #e40b16;
}

.sj-content .point_box .image_box .text_box .text.note {
    text-align: center;
    line-height: 1.5;
}

.sj-content .point_box .image_item {
    position: absolute;
    top: -10px;
    left: -65px;
}

/*コンテンツ*/
.ct-content {
    display: flex;
    justify-content: space-around;
    align-items: start;
    gap: 10px;
}

.ct-content .table-l,
.ct-content .table-r {
    width: 50%;
}

.ct-content .ct-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #144A90;
    margin-bottom: 40px;
}

.ct-content .ct-table thead th {
    background-color: #144A90;
    color: #fff;
    border-right: #fff 2px solid;
    padding: 10px 5px;
}

.ct-content .ct-table td,
.ct-content .ct-table th {
    padding: 15px 5px;
    border: 3px solid #fff;
}

.ct-content .ct-table td {
    font-size: 1.1rem;
    font-weight: 500;
    color: #170e0e;
    background-color: #ebebeb;
}

.ct-content .ct-table .english th {
    background-color: #B25259;
    color: #fff;
}

.ct-content .ct-table .math th {
    background-color: #697A8C;
    color: #fff;
}

.ct-content .ct-table .japanese th {
    background-color: #927B9D;
    color: #fff;
}

.ct-content .ct-table .science th {
    background-color: #DDA77F;
    color: #fff;
}

.ct-content .ct-table .social th {
    background-color: #62A17C;
    color: #fff;
}

.ct-content .ct-table .information th {
    background-color: #699EAE;
    color: #fff;
}

/*画像ポップアップ*/
#popup,
#popup-step01,
#popup-step02,
#popup-step03,
#popup-step04,
#popup-step05 {
    display: none;
}

.popup-open {
    cursor: pointer;
}

.popup-overlay {
    display: none;
}

#popup:checked~.popup-overlay {
    display: block;
    z-index: 99999;
    background-color: #00000070;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}

#popup-step01:checked~.popup-overlay.step01,
#popup-step02:checked~.popup-overlay.step02,
#popup-step03:checked~.popup-overlay.step03,
#popup-step04:checked~.popup-overlay.step04,
#popup-step05:checked~.popup-overlay.step05 {
    display: block;
    z-index: 99999;
    background-color: #00000070;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}

.popup-window {
    width: 90vw;
    max-width: 900px;
    padding: 35px;
    background-color: #ffffff;
    border-radius: 6px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-overlay.step05 .popup-window {
    padding: 50px 35px;
}

.popup-window .image-box {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.popup-window img {
    width: 80%;
    height: auto;
    max-width: 380px;
}

.popup-close {
    cursor: pointer;
    position: absolute;
    top: -26px;
    right: 0;
}

/*STEPのポップアップ画像*/
.popup-window.step img {
    width: 60%;
    max-width: 400px;
}

.popup-window.step05 img {
    width: 60%;
    max-width: 530px;
}

/* 960px以下 */
@media (max-width:960px) {
    .fw_content .fw_box .fw_item .image_item img {
        width: 200px;
        margin-left: -13px;
    }

    .fw_content .fw_box .fw_item .ex_item .text {
        font-size: 0.9rem;
    }

    .fw_content .fw_box .fw_item {
        height: 610px;
        width: 30%;
    }

    .fw_content .fw_box .fw_item .triangle {
        right: -30px;
        width: 20px;
        height: 35px;
    }

    .fw_content .fw_box.red-box .fw_item .image_item img.pc-image {
        width: 280px;
        margin-left: 0;
    }

    .fw_content .fw_box .fw_item .ex_item .text.note {
        line-height: 1.5;
    }

    .fw_content .fw_box.red-box .fw_item {
        height: 480px;
        width: 50%;
    }

    /*教科*/
    .sj-content .sj-table {
        margin-bottom: 20px;
    }

    .sj-content .sj-table thead th:first-child {
        width: 15%;
    }

    .sj-content .point_box {
        display: block;
    }

    .sj-content .point_box .point_item {
        width: 80%;
        margin: 0 auto;
        height: 170px;
    }

    .sj-content .point_box .image_box {
        height: 200px;
        width: 100%;
        margin-bottom: 100px;
    }

    .sj-content .point_box .image_item {
        left: 35%;
        transform: translateX(-50%);
        width: 100%;
        margin-top: 30px;
    }

    .sj-content .point_box .image_item img {
        width: 130px;
    }

    .sj-content .point_box .image_item img:first-child {
        margin-right: 0;
    }

    .sj-content .point_box .image_box .text_box {
        width: 40%;
        top: 65%;
        left: 50%;
    }

    /*ポップアップ画像*/
    .popup-window {
        width: 90vw;
        max-width: 630px;
        padding: 35px;
    }

    .popup-window .image-box {
        gap: 5px;
    }

    .popup-window img {
        width: 60%;
        height: auto;
        max-width: 300px;
    }

    /*STEPのポップアップ画像*/
    .popup-window.step img {
        width: 60%;
        max-width: 330px;
    }

    .popup-window.step05 img {
        width: 80%;
        max-width: 480px;
    }
}

/* 560px以下 */
@media (max-width:560px) {
    .fw_content .fw_box {
        display: block;
    }

    .fw_content .fw_box .fw_item {
        width: 100%;
        height: auto;
        margin-bottom: 50px;
        border: #144A90 1.5px solid;
        padding-bottom: 20px;
        padding: 10px;
    }

    .fw_content .fw_box .fw_item .ex_item {
        display: flex;
        align-items: center;
    }

    .fw_content .fw_box .fw_item .image_item img {
        width: 160px;
    }

    .fw_content .fw_box .fw_item .image_item {
        margin-bottom: 0;
    }

    .fw_content .fw_box .fw_item .triangle {
        top: 370px;
        right: 180px;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
        height: 25px;
    }

    .fw_content .fw_box .fw_item .triangle.red {
        clip-path: polygon(50% 0, 100% 100%, 0 100%);
        height: 25px;
        top: 370px;
        right: 145px;
    }

    .fw_content .fw_box .fw_item .triangle.center-t {
        right: 50%;
        top: 370px;
        transform: translateY(-50%);
    }

    .fw_content .fw_box .fw_item .ex_item .text {
        font-size: 0.8rem;
    }

    .fw_content .fw_box.red-box {
        display: block;
    }

    .fw_content .fw_box.red-box .fw_item {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
        border: #e40b16 1.5px solid;
    }

    .fw_content .fw_box.red-box .fw_item .ex_item {
        display: block;
    }

    .fw_content .fw_box .content_title_03 .s-font {
        font-size: 0.8rem;
    }

    .fw_content .fw_box.red-box .fw_item .image_item img.pc-image {
        width: 250px;
        margin-bottom: 10px;
        padding-top: 10px;
    }

    .fw_content .fw_box .fw_item .ex_item .text.note {
        margin-top: 5px;
        font-size: 0.7rem;
    }

    /*教科*/
    .sj-content .sj-table th {
        font-size: 0.8rem;
    }

    .sj-content .point_box .point_item {
        width: 100%;
    }

    .sj-content .point_box {
        padding-top: 30px;
    }

    .sj-content .point_box .point_item {
        padding: 20px 10px 10px 10px;
        height: 190px;
        border: #144A90 1.5px solid;
    }

    .sj-content .point_box .p_tug .content_title_03 {
        font-size: 0.8rem;
        line-height: 2rem;
    }

    .sj-content .point_box .p_tug {
        height: 30px;
        left: -15px;
    }

    .sj-content .point_box .image_item img {
        width: 110px;
    }

    .sj-content .point_box .image_item img:first-child {
        margin-right: -15px;
    }

    .sj-content .point_box .image_item {
        left: 27%;
    }

    .sj-content .point_box .image_box .text_box {
        width: 50%;
        top: 55%;
        left: 53%;
        padding: 15px;
    }

    /*コンテンツ*/
    .ct-content {
        display: block;
    }

    .ct-content .table-l,
    .ct-content .table-r {
        width: 100%;
    }

    .ct-content .ct-table th {
        font-size: 0.8rem;
    }

    .ct-content .ct-table td {
        font-size: 0.9rem;
    }

    /*ポップアップ画像*/
    .popup-window {
        width: 95vw;
        max-width: 530px;
        padding: 15px 10px;
    }

    .popup-window img {
        width: 55%;
        height: auto;
        max-width: 300px;
    }

    .popup-window img.l-image {
        margin-right: -20px;
    }

    .popup-window .image-box {
        gap: 0;
    }

    /*STEPのポップアップ画像*/
    .popup-window.step img {
        width: 75%;
        max-width: 330px;
    }

    .popup-window.step05 img {
        width: 100%;
        max-width: 450px;
    }

}