@charset "utf-8";
/* --------------------------------
    /includes2010/header.inc
-------------------------------- */

/* base */
.page_header *,
.page_header *::before,
.page_header *::after{
    box-sizing: border-box;
    line-height: 1.6;
}

a{ text-decoration: none;}
img{ max-width: 100%;}

.sp{ display: none;}
.tab{ display: none;}
.pc{ display: block;}
@media screen and (max-width: 999px) {
    .pc{ display: none;}
    .sp{ display: none;}
    .tab{ display: block;}
}
@media screen and (max-width: 599px) {
    .pc{ display: none;}
    .tab{ display: none;}
    .sp{ display: block;}
}

/* .page_header */
.page_header{
    width: 100%;
    background-color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.6;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 502;
}
.page_header::before{
    content: "";
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 5px;
    background: url(/img2016/common/topcolor.png)center/cover repeat-y;
}
.inner_page_header{
    width: 100%;
    max-width: 1040px;
    padding: 0 20px 5px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page_header a{
    color: inherit;
    text-decoration: none;
}
.page_header .logo{
    margin-right: 10px;
    margin-bottom: 0;
}
@media screen and (min-width: 1000px){
    .page_header + *{ margin-top: 100px;}
    .page_header .logo img{
        min-width: 305px;
    }
}
@media screen and (max-width: 850px){
    .page_header::before{ background-size: contain;}
}
@media screen and (max-width: 999px){
    .page_header + *{ margin-top: 70px;}
    
    .inner_page_header{
        border-top: 0;
        padding: 8px 10px 9px;
    }

    .page_header .logo{ width: 170px;}
}

/*
.wrap_nav
btn_nav
*/
.wrap_nav{
    flex: 1 1 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
@media screen and (min-width: 1000px){
    .wrap_sp_menu{ display: none;}
    .wrap_nav{
        justify-content: space-between;
        max-width: 670px;
        margin-bottom: 0;
    }
}
@media screen and (max-width: 999px){
    .wrap_sp_menu{
        display: flex;
        align-items: center;
    }
    .wrap_nav{
        display: none;
        background: rgba(255, 255, 255, .9);
        padding: 0 20px 70px;
        max-height: calc(100vh - 70px);
        height: -webkit-fill-available;
        overflow-y: auto;
        position: fixed;
        width: 100%;
        top: 70px;
        left: 0;
        z-index: 502;
    }

    .wrap_sp_menu .btn_primary{
        width: 100px;
        font-size: 12px;
    }

    .btn_nav{
        border: 0;
        background: none;
        padding: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin-left: 12px;
        position: relative;
    }
    .btn_nav .txt{ font-size: 12px;}
    .btn_nav > span:not([class]) {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        width: 32px;
        height: 1px;
        background-color: #333;
    }
    .btn_nav > span:not([class]):nth-of-type(1) {
        top: 10px;
    }
    .btn_nav > span:not([class]):nth-of-type(2) {
        top: 18px;
    }
    .btn_nav > span:not([class]):nth-of-type(3) {
        bottom: 20px;
    }
    .btn_nav.active > span:not([class]):nth-of-type(1) {
        -webkit-transform: translateY(9px) rotate(-45deg);
        transform: translateY(9px) rotate(-45deg);
    }
    .btn_nav.active > span:not([class]):nth-of-type(2) {
        opacity: 0;
    }
    .btn_nav.active > span:not([class]):nth-of-type(3) {
        -webkit-transform: translateY(-8px) rotate(45deg);
        transform: translateY(-8px) rotate(45deg);
    }
}

/* .gnav */
@media screen and (min-width: 1000px){
    .gnav{
        display: flex;
        font-size: 14px;
        margin-top: 10px;
    }

    .gnav a{ padding: 10px 0;}
    .gnav li + li{ margin-left: 1.5em;}
    .gnav li a{
        border-bottom: 2px solid transparent;
        transition: all .2s;
    }
    .gnav li a:hover{
        color: #1c236d;
        border-bottom-color: #1c236d;
    }
    .gnav li > ul{ display: none;}
}
@media screen and (max-width: 999px){
    .gnav{
        width: 100%;
        text-align: left;
    }
    .gnav li{ border-bottom: 1px solid;}
    .gnav li > ul{
        border-top: 1px solid;
        padding-left: 35px;
    }
    .gnav li > ul li:last-child{ border-bottom: 0;}
    .gnav li a{
        display: block;
        padding: 15px 5px;
    }
    .gnav li a::before{
        content: "- "
    }
}

/* .list_nav_btn */
.list_nav_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.list_nav_btn li{ margin: 5px 0;}
.wrap_sp_menu a,
.list_nav_btn a{
    display: block;
    background: #e5e5e5;
    border-radius: 3px;
    color: #6a6a6a;
    padding: 2px;
    position: relative;
    transition: all .2s;
}
.list_nav_btn a:hover{ opacity: .6;}

.list_nav_btn .btn_mypage{
    background: #5976AB;
    color: #fff;
}
.list_nav_btn .btn_mypage::before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    background-image: url(/images/common/header/icn_mypage.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
}
.wrap_sp_menu .btn_primary,
.list_nav_btn .btn_primary{
    text-align: center;
    background: #EA551F;
    background: linear-gradient(to right, #EA551F 0%,#F63069 100%);
    color: #fff;
}
.list_nav_btn .btn_consul{
    background: #F3981B;
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (min-width: 1000px){
    .list_nav_btn{ flex: 0 0 210px;}

    .list_nav_btn .btn_mypage{
        width: 210px;
        text-align: center;
    }
    .list_nav_btn .btn_primary,
    .list_nav_btn .btn_consul{
        width: 100px;
        font-size: 12px;
        text-align: center;
    }
    .list_nav_btn .btn_primary{ overflow: hidden;}
    .list_nav_btn .btn_primary:hover{ opacity: 1;}
    .list_nav_btn .btn_primary::after{
        content: "";
        padding-top: 1px;
        right: 0;
        transition: all .3s ease;
        opacity: 0;
        display: block;
        height: 280%;
        position: absolute;
        top: -80%;
        left: -120%;
        margin: auto;
        transition-property: left, top, opacity;
        transition-duration: 0.8s, 0.5s, 0.1s;
        transition-timing-function: ease;
        transform: rotate(30deg);
    }
    .list_nav_btn .btn_primary:hover::after{
        background: rgba(255, 255, 255, 0.2);
        background: linear-gradient(to top,
            rgba(255, 255, 255, .2) 0%,
            rgba(255, 255, 255, .5) 40%,
            rgba(255, 255, 255, 1) 90%,
            rgba(255, 255, 255, 0) 100%);
        opacity: 1;
        top: -50%;
        left: 120%;
        width: 30px;
        bottom: 0;
    }
    
}
@media screen and (max-width: 999px){
    .list_nav_btn{
        width: 100%;
        max-width: 480px;
        text-align: left;
        margin-bottom: 10px;
    }
    .list_nav_btn li{ width: 48.5%;}
    .list_nav_btn .wrap_btn_mypage{ width: 100%;}
    .list_nav_btn .btn_consul{ justify-content: flex-start;}

    .list_nav_btn a{
        padding: 10px 2px;
        width: 100%;
    }
    .list_nav_btn a::before{
        content: "";
        display: inline-block;
        vertical-align: middle;
        padding: 10px;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        margin: 0 15px;
    }
    .list_nav_btn .btn_consul::before{
        background-image: url(/images/common/header/icn_consul.svg);
        padding: 11px;
        margin: 0 13px;
    }
    .list_nav_btn .btn_info_school::before{
        background-image: url(/images/common/header/icn_info_school.svg);
        padding: 14px;
        margin: 0 10px;
    }
    .list_nav_btn .btn_inquiry::before{
        background-image: url(/images/common/header/icn_inquiry.svg);
    }
    .list_nav_btn .btn_tel::before{
        background-image: url(/images/common/header/icn_tel.svg);
        padding: 11px;
        margin: 0 13px;
    }
}

/* spメニュー表示時のページスクロール防止 */
.header_blocker{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 501;
    overflow: hidden;
}
