.admission_box {
    margin: 0 auto 5.5rem auto;
}

.h3_sub {
    font-size: 1.1rem;
    margin-left: 1rem;
    color: #222;
    font-weight: 500;
}

.admission_box > .box_inner table thead th {
    border-right: 1px solid rgba(255, 255, 255, 0.7);
    background-color: #595857;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.admission_box>.box_inner td {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.27rem;
}

.tankyu_box>.curriculum_table_wrapper td {
    /*padding: 0.27rem;*/
    vertical-align: top;
}

.tbody_inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tankyu_box .box_title {
    font-size: 1.8rem;
    color: #6f83c3;
}

.tbody_inner_sub {
    white-space: nowrap;
}

.th_center {
    text-align: center !important;
    border-left: 1px solid rgb(255 255 255 / 15%);
    border-right: 1px solid rgb(255 255 255 / 15%);
    border-bottom: 1px solid rgb(253 253 253 / 15%) !important;
    background: #6e83c1 !important;
    color: #fff !important;
}

.admission_box>.th_center {
    text-align: center;
    background: #6f83c3;
    color: #fff;
    line-height: 1;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
}

.tankyu_box td {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.td_center {
    text-align: center;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.td_center_2 {
    text-align: center;
    width: 2rem;
}

.td_bold {
    font-weight: 600;
    margin: 0.5rem 0;
}

.td_sub {
    font-size: 0.9rem;
}

.tbody_inner_title_1 {
    display: flex;
    align-items: center;
}

.tbody_inner_top {
    vertical-align: top;
}

.qa_index {
    margin-bottom: 5rem;
}

.qa_box {
    margin-bottom: 3rem;
}

.question {
    line-height: 1.5 !important;
    position: relative;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0 !important;
    font-weight: 500;
    padding-left: 1.5rem;
}

.question::before {
    position: absolute;
    content: "Q";
    color: #425dae;
    font-weight: 800;
    left: 0;
}

.answer {
    position: relative;
    padding-left: 1.6rem;
}

.answer::before {
    position: absolute;
    content: "A";
    color: rgb(255, 0, 0);
    font-weight: bold;
    margin-right: 0.5em;
    left: 0.1rem;
    top: -0.5rem;
    font-size: 1.5rem;
}

.box_inner>.curriculum_table_wrapper_3 table {
    line-height: 1.4;
}

.box_inner>.curriculum_table_wrapper_3 td {
    border-bottom: none;
    border-left: none;
}

.box_inner>.curriculum_table_wrapper_3 td.c_subject {
    width: 2em;
}

.box_inner>.curriculum_table_wrapper_3 tr {
    vertical-align: top;
}

.box_inner>.curriculum_table_wrapper_3 .th_color_white {
    background-color: #fff !important;
    vertical-align: middle;
    color: #222 !important;
    text-align: left !important;
    border: 1px solid rgb(0 0 0 / 15%) !important;
}

.curriculum_table_wrapper_3 .td_right {
    text-align: right;
    font-size: 0.8rem;
}

.curriculum_table_wrapper_3 .td_border_bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.curriculum_table_wrapper_3 .td_border_bottom_top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    width: 2rem;
    text-align: center;
}

.td_kara {
    padding-left: 2rem;
}

.box_inner>.curriculum_table_wrapper_3 .td_kara {
    width: 3rem;
    vertical-align: middle;
}

.kara_box {
    position: relative;
}

.kara_box::before {
    content: "";
    position: absolute;
    width: 1rem;
    top: 0.8rem;
    height: 2.2rem;
    right: 0.5rem;
    border-bottom: 1.5px solid rgb(0 0 0);
    border-top: 1.5px solid rgb(0 0 0);
    border-right: 1.5px solid rgb(0 0 0);
}

.kara_box_1 {
    position: relative;
}

.kara_box_1::before {
    content: "";
    position: absolute;
    width: 1rem;
    top: 0.8rem;
    height: 1.7rem;
    right: -1.5rem;
    border-bottom: 1.5px solid rgb(0 0 0);
    border-top: 1.5px solid rgb(0 0 0);
    border-right: 1.5px solid rgb(0 0 0);
}

.kara_box_2 {
    position: relative;
}

.kara_box_2::before {
    content: "";
    position: absolute;
    width: 1rem;
    top: -1.5rem;
    height: 2.2rem;
    right: -1.8rem;
    border-bottom: 1.5px solid rgb(0 0 0);
    border-top: 1.5px solid rgb(0 0 0);
    border-right: 1.5px solid rgb(0 0 0);
}

.link_btn {
    position: relative;
    margin: 0 auto;
    display: flex;
    border: 2px solid;
    padding: 1.4rem 2rem;
    width: 15rem;
    justify-content: space-between;
    text-decoration: none;
    font-size: 1.15rem;
    border-radius: 4rem;
    color: #2a2660;
    margin-top: 2rem;
    margin-bottom: 4rem;
    background-color: #fff;
    transition: .3s all ease;
}

.link_btn:hover {
    background-color: #2a2660;
    color: #fff;
}

.link_btn::before {
    width: 0.8125rem;
    height: 0.8125rem;
    position: absolute;
    right: 1.5rem;
    transform: translateY(-50%);
    top: 50%;
    content: "";
    background-image: url(../shared/icon_link.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}

.link_btn:hover::before {
    background-image: url(../shared/icon_link_w.png);
}

.page_body .ap_list{
    margin-left: 0;
    margin-right: 0;
}


.admission_tables.ippan_zenki{}

    .admission_tables.ippan_zenki > table .c_houshiki{
        width: 40%;
    }

    .admission_tables.ippan_zenki > table th{
        border-left: 1px solid rgba(0, 0, 0, 0.15);
        white-space: nowrap;
    }

    .admission_tables.ippan_zenki > table > tbody > tr > td{
        padding: 0;
        vertical-align: top;
        font-size: 0.94em;
    }

    .admission_tables.ippan_zenki > table > tbody > tr > td p{
        margin: 0;
        padding: 0 0.5em;
        line-height: 1.6;
    }

    .admission_tables.ippan_zenki > table > tbody > tr > td .lbl_subject_num{
        text-align: right;
    }

    .admission_tables.ippan_zenki .subjects_detail{
        margin: 0.25em;
        border: none;
        width: calc(100% - 0.5em);
        height: 100%;
    }

    .admission_tables.ippan_zenki .subjects_detail thead th{
        border: none;
        background: none;
        color: #222;
        font-weight: normal;
        padding: 0.3em;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        vertical-align: top;
    }

    .admission_tables.ippan_zenki .subjects_detail tbody td{
        border: none;
        padding: 0.2em 0.5em;
        vertical-align: top;
    }

    .admission_tables.ippan_zenki .subjects_detail thead th:nth-child(1),
    .admission_tables.ippan_zenki .subjects_detail tbody td:nth-child(1){
        width: 3em;
        text-align: center;
        border-right: 1px solid rgba(0, 0, 0, 0.15);
    }

    .multi_subjects{
        display: flex;
        height: 100%;
    }

        .multi_subjects .lbl_choose{
            box-sizing: border-box;
            display: flex;
            align-items: center;
            width: 4em;
            position: relative;
            padding-left: 1em;
        }

            .multi_subjects .lbl_choose::before{
                content: "";
                display: block;
                height: 100%;
                width: 0.5em;
                border: 1px solid #333;
                border-left: none;
                position: absolute;
                top: 0;
                left: 0;
            }






@media screen and (min-width: 1px) and (max-width: 1024px) {
    .admission_box {
        width: auto;
    }

    .curriculum_table_wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .curriculum_table_wrapper table {
        min-width: 800px;
        width: 80rem;
        border-collapse: collapse;
    }

    .curriculum_table_wrapper_3 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .curriculum_table_wrapper_3 table {
        min-width: 800px;
        width: 60rem;
        border-collapse: collapse;
    }

    .kara_box::before {
        width: 0.5rem;
        top: 0.8rem;
        height: 3.5rem;
    }
}


@media screen and (min-width: 1px) and (max-width: 479px) {

    .page_nav li {
        max-width: unset;
    }

    .page_nav a {
        font-size: 0.9rem;
        padding: 0 2rem 0 1rem;
        width: auto;
    }

    .content_body.show {
        margin-top: 2rem;
    }

    .question {
        font-size: 1.15rem;
    }

    .f_page_nav {
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .f_page_nav>.menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .f_page_nav a {
        width: 9.5rem;
    }

    .f_page_nav a::after {
        left: 10.5rem;
    }

    .admission_tables.ippan_zenki{
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .admission_tables.ippan_zenki > table{
        width: 180vw;
    }

    .admission_tables.ippan_zenki > table .c_houshiki{
        width: 43%;
    }
}