/*=======================
	overwrite
=====================*/


em {
    font-style: normal;
}



/*=======================
	// grand-header 
=====================*/


#grand-header {
    height: 40px;
    margin-bottom: 0;
    background-color: #3c3c41;
    display: flex;
    justify-content: center;
    align-items: center;
}

#grand-header a {
    width: 92px;
}

#grand-header a img {
    width: 100%;
}

.header.miyajiHeader {
    display: none;
}

@media print, screen and (min-width: 1000px) {

    #grand-header {
        height: 60px;
    }

    #grand-header a {
        width: 132px;
    }

}



/*========================
	add module
========================== */

.w-98per {
    width: 98%;
}

.w-95per {
    width: 95%;
}


.mw-1280 {
    max-width: 1280px;
}


.mw-1200 {
    max-width: 1200px;
}


.mb-minus-5 {
    margin-bottom: -5px;
}

.mb-minus-10 {
    margin-bottom: -10px;
}

.mb-minus-15 {
    margin-bottom: -15px;
}



@media screen and (min-width: 640px) {
    .w-sm-98per {
        width: 98%;
    }

    .w-sm-95per {
        width: 95%;
    }

    .mb-sm-minus-10 {
        margin-bottom: -10px;
    }

}

@media screen and (min-width: 1000px) {
    .w-md-98per {
        width: 98%;
    }

    .w-md-95per {
        width: 95%;
    }

    .mb-md-minus-10 {
        margin-bottom: -10px;
    }

}

/*========================
	font family
========================== */

.m-plus-1p-thin {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.m-plus-1p-light {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.m-plus-1p-regular {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.m-plus-1p-medium {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.m-plus-1p-bold {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.m-plus-1p-extrabold {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.m-plus-1p-black {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
    font-style: normal;
}





/*========================
	color
========================== */

.pink {
    color: #c9137f;
}


.yellow {
    color: #ff0;
}


.brown {
    color: #7f4f1f;
}


.red2 {
    color: #cc0000;
}

.red3 {
    color: #ff6666;
}

.orange {
    color: #e78826;
}


.blue2 {
    color: #215d9c;
}





/* background */

.bg-blue {
    background-color: #004ea2;
}

.bg-blue2 {
    background-color: #215d9c;
}


.bg-orange {
    background-color: #e78826;
}

.bg-orange2 {
    background-color: #ff9800;
}

.bg-brown2 {
    background-color: #7f4f1f;
}


/* border */

.bb_thin_555 {
    border-bottom: #555 thin solid;
}

.border-blue2-tb {
    border-top: #215d9c thin solid;
    border-bottom: #215d9c thin solid;
}


.border-orange-tb {
    border-top: #e78826 2px solid;
    border-bottom: #e78826 2px solid;
}



/*=========================
// id #sub_navigation
===========================*/


#sub_navigation {
    width: 90%;
    max-width: 1712px;
    margin: auto auto 2em auto;
}

#sub_navigation .subnav_bg {
    position: relative;
    padding: 30px 5%;
}

#sub_navigation .box h3 img {
    width: 100%;
    max-width: 472px;
}

#sub_navigation .inside {
    padding: 30px 15px;
    background: #fff;
}

#sub_navigation .link a {
    width: 70%;
    margin: auto;
    /* padding: 0.4em 1em 0.5em 1em; */
    padding: 10px 0;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background: #5e383f;
    display: block;
    border-radius: 2em;
}


#sub_navigation .popup {
    width: 28%;
    aspect-ratio: 1/1;
    position: absolute;
    top: -15px;
    right: 5px;
    z-index: 2;
    color: #fff;
    background-color: #000;
    border-radius: 50%;
    text-align: center;
    /**/
    display: flex;
    align-items: center;
    justify-content: center;
}

#sub_navigation #mrc .popup {
    background-color: #ff6c61;
}


#sub_navigation #mrc dt {
    margin-bottom: 0.5em;
    padding: 0.2em 1em;
    color: #fff;
    font-weight: bold;
    background: #966B9D;
    border-radius: 2em;
    display: inline-block;
}

#sub_navigation #mrc dd {
    margin-bottom: 0.5em;
}

#sub_navigation #mrc .dd_txt {
    width: 94%;
}

#sub_navigation #school p {
    margin-bottom: 1em;
}

#wakeari #sub_navigation h3 {
    background: none;
    width: 100%;
    max-width: 472px;
    padding: 0;
    margin: 0;
}




/* individuals */

#sub_navigation #mrc {
    background: #FFECEB;
}

#sub_navigation #school {
    background: #EDF1E4;
}

#sub_navigation #school h4 {
    color: #fff;
    margin-bottom: 0.5em;
    padding: 0.2em 1em;
    background: #449DD1;
    border-radius: 1em;
    display: inline-block;
}



@media screen and (min-width: 1000px) {

    #sub_navigation {
        width: 95%;
        display: flex;
        justify-content: space-between;
    }

    #sub_navigation .subnav_bg {
        padding: 45px 5%;
    }

    #sub_navigation .box {
        width: 49%;
        margin-bottom: 1em;
        position: relative;
    }

    #sub_navigation .inside {
        /* height: 270px; */
        height: 320px;
        padding: 1.5em 1.5em;
    }


    #sub_navigation .popup {
        width: 22%;
        aspect-ratio: 1/1;
        position: absolute;
        top: -10%;
        right: 10px;
        z-index: 2;
        color: #fff;
        background-color: #000;
        border-radius: 50%;
        text-align: center;
        /**/
        display: flex;
        align-items: center;
        justify-content: center;
    }


}


/*=========================
// 矢印
===========================*/


/* 三角 */

i.arrow_right {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #e78826;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 5px;
    vertical-align: middle;
}