@charset "utf-8";

.contWrap{
    width: 100%;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

/* ALL header */
header{
    border-top: #313D64 solid 4px;
    height: 92px;
}
#headerInner{
    display: block;
    height: 100%;
}
#headerInner::after{
    content: "";
    display: block;
    clear: both;
}
header #logo{
    float: left;
    width: 204px;
    padding-top: 24px;
    padding-right: 16px;
}
header #logo img{
    width: 188px;
    height: auto;
    max-width: 100%;
}
header h1{
    display: inline-block;
    float: left;
    font-size: 12px;
    line-height: 140%;
    padding-top: 29px;
    color: #00002E;
}
header nav{
    width: 630px;
    height: 100%;
    float: right;
}
header nav ul{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    height: 100%;
}
header nav li{
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
}
header nav li:nth-child(-n+5){
    padding-top: 40px;
    margin-left: 32px;
}
header nav li a{
    text-decoration: none;
}
header nav li#contactBtn{
    margin-left: 24px;
}
header nav li#contactBtn a{
    display: inline-block;
    width: 120px;
    height: 100%;
    text-align: center;
    padding: 44px 0 0 0;
    background:url(/common/images/icon_mail.png) no-repeat #EDEDEB center top 28px / 23px 14px;
    box-sizing: border-box;
}
/* ALL main */
main{
    display: block;
    width: 100%;
}
#sub_mainVisual{
    display: block;
    width: 100%;
    text-align: center;
    background:
    url(/common/images/title_bg.png) repeat-x left center,
    url(/common/images/main.jpg) no-repeat right bottom / cover;
}
#pageName{
    height: 200px;
    position: relative;
    margin-bottom: 42px;
}
#pageName h2{
    display: inline-block;
    text-align: left;
    padding-top: 85px;
    padding-left: 40px;
    background: url(/common/images/h2.png) no-repeat left top 90px / 24px auto;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 0 #FFF, 0 -2px 0 #FFF;
}
.h2Title{
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-left: 32px;
    background: url(/common/images/h2.png) no-repeat left center / 24px auto;
}
.h3Title{
    display: block;
    font-size: 18px;
    font-weight: 700;
    padding-left: 24px;
    padding-bottom: 12px;
    border-bottom: #102469 solid 1px;
    margin-bottom: 24px;
    background: url(/common/images/h3.png) no-repeat left top 8px / 15px auto;
}


/* ALL contactArea */
#contactBox{
    display: block;
    padding-top: 24px;
    padding-bottom: 64px;
}
#contactInner{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border: #C0B185 solid 4px;
    padding: 32px 0;
}
#contactInner h2{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
#contactTel{
    text-align: center;
    color: #102467;
    padding-right: 40px;
}
#contactTel b{
    padding-left: 32px;
    font-weight: 900;
    font-size: 40px;
    line-height: 40px;
    background: url(/common/images/icon_tel.png) no-repeat left top 18px / 23px auto;
}
#contactTel b a{
    color: #102467;
}
#contactTel span{
    display: block;
    font-size: 16px;
}
#contactBoxBtn{
    display: block;
}
#contactBoxBtn a{
    display: block;
    text-align: center;
    color: #FFF;
    padding: 16px 16px 16px 56px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    width: 416px;
    background: url(/common/images/icon_mail02.png) no-repeat #458E9E left 22% center / 22px auto;
    box-shadow: 0 4px 0 #306B7A;
    border-radius: 3px;
    box-sizing: border-box;
}
#contactBox.recruit #contactBoxBtn a{
    width: 360px;
    background-position: left 12% center;
    margin-left: auto;
    margin-right: auto;
}
#contactBoxBtn_recruit a{
    display: block;
    border:#CCC solid 2px;
    text-align: center;
    padding: 13px 16px;
    width: 360px;
    background: #FFF;
    margin-right: 16px;
    box-sizing: border-box;
}
#contactBoxBtn_recruit a img{
    max-width: 100%;
}

/* ALL footer */
footer{
    display: block;
    width: 100%;
    font-size: 14px;
    background: #F6F6F6;
}
footer small{
    display: block;
    width: 100%;
    border-top: #CED2D1 solid 1px;
    text-align: center;
    padding: 24px 0;
    line-height: 100%;
}
footer #footInner{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-top: 72px;
    padding-bottom: 56px;
}
footer h2{
    font-size: 16px;
    font-weight: 700;
    padding-left: 32px;
    margin-bottom: 16px;
    background-size: 24px auto;
    background-image: url(/common/images/foot_icon.png);
    background-repeat: no-repeat;
}
footer #newsArea h2{ background-position: left top;}
footer #siteMapArea h2{ background-position: left top -60px;}
footer #sponsorArea h2{ background-position: left top -120px;}
footer #officeArea h2{ background-position: left top -180px;}
footer ol li{
    display: block;
    margin-bottom: 10px;
    padding-left: 16px;
    line-height: 150%;
    background: url(/common/images/arrow01.png) no-repeat left top 8px / 7px auto;
}
footer a{
    text-decoration: none;
}
footer #leftArea{
    width: 50%;
    box-sizing: border-box;
    padding-right: 40px;
}
footer #newsArea{
    margin-bottom: 24px;
}
footer #newsScroll{
    max-height: 128px;
    overflow-y: scroll;
    padding-right: 12px;
    box-sizing: border-box;
}
footer #newsArea li{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    border-bottom: #D3D3CD solid 1px;
}
footer #newsArea li:last-child{
    border-bottom: none;
}
footer #newsArea time{
    margin-right: 1em;
}
footer #siteMapArea{
    margin-bottom: 32px;
}
footer #siteMapArea::after{
    content: "";
    display: block;
    clear: both;
}
footer #siteMapArea ol{
    width: 50%;
    float: left;
}
footer #sponsorArea h2 span{
    font-size: 80%;
}
footer #sponsorArea ol{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
footer #sponsorArea li{
    width: 50%;
}
footer #officeArea{
    width: 50%;
}
footer #officeArea b{
    display: block;
    margin-bottom: 6px;
}
footer #officeArea li{
    margin-bottom: 16px;
}
footer #officeArea li span{
    display: block;
}

/*-- 以下PC --*/
@media (min-width:1061px){
    br.pc{
        display: inline;
    }
    br.sp{
        display: none;
    }
    header nav li#contactBtn a:hover{
        background-color: #CEE8F0;
        -webkit-transition:all 0.3s ease;
        -moz-transition:all 0.3s ease;
        transition:all 0.3s ease;
    }
    nav li:nth-child(-n+5) a:hover{
        color: #204A91;
        -webkit-transition:all 0.3s ease;
        -moz-transition:all 0.3s ease;
        transition:all 0.3s ease;
    }
    nav li:nth-child(-n+5) a{
        padding-bottom: 7px;
    }
    nav li.active a{
        color: #204A91;
        background: url(/common/images/bd02.png) repeat-x left bottom 3px / 8px auto,
        url(/common/images/bd02.png) repeat-x left bottom / 8px auto;
    }
    #spContact,
    #spNavKey,
    #topNavi,
    #spNavCloseKey{
        display: none;
    }
    a.tel{
        cursor: default;
        text-decoration: none;
    }
    #contactBoxBtn a:hover{
        opacity: 0.8;
        margin-top: 2px;
        box-shadow: 0 1px 0 #306B7A;
        -webkit-transition:all 0.3s ease;
        -moz-transition:all 0.3s ease;
        transition:all 0.3s ease;
    }
    #contactBoxBtn_recruit a:hover{
        border-color: #306B7A;
        -webkit-transition:all 0.3s ease;
        -moz-transition:all 0.3s ease;
        transition:all 0.3s ease;
    }
    #tabGraduate p a:hover{
        border-color: #306B7A;
        -webkit-transition:all 0.3s ease;
        -moz-transition:all 0.3s ease;
        transition:all 0.3s ease;
    }
    footer a:not(.tel):hover{
        text-decoration: underline;
    }
}

/*-- 以下　タブ＆スマートフォン --*/
@media (max-width:1060px){
    body{
        font-size: 14px;
    }
    select,
    input[type="text"],
    input[type="email"],
    textarea{
        font-size: 16px;
        -webkit-appearance:none;
        -moz-appearance:none;
        appearance:none;
    }
    br.pc{
        display: none;
    }
    br.sp{
        display: inline;
    }
    .contWrap{
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    /* SP header */
    header{
        height: auto;
        border-top: #313D64 solid 2px;
    }
    #headerInner{
        height: auto;
        padding-left: 8px;
        padding-right: 8px;
        position: relative;
    }
    header #logo{
        float: none;
        width: 40%;
        max-width: 200px;
        padding-top: 12px;
        padding-right: 0;
        position: relative;
    }
    header #logo img{
        width: auto;
        height: auto;
    }
    header h1{
        display: inline-block;
        float: none;
        font-size: 8px;
        letter-spacing: -1px;
        line-height: 100%;
        padding-top: 6px;
        vertical-align: top;
    }
    header h1 br{
        display: none;
    }
    header #spContact{
        display: block;
        width: 56px;
        position: absolute;
        top: 10px;
        right: 70px;
    }
    header #spContact a{
        display: block;
        height: 44px;
        color: #FFF;
        font-weight: 700;
        font-size: 8px;
        letter-spacing: -0.1em;
        text-align: center;
        text-decoration: none;
        padding-top: 18px;
        background: url(/common/images/icon_mail02.png) no-repeat #1E53A2 center top 9px / 22px auto;
        border-radius: 3px;
        box-sizing: border-box;
        box-shadow: 0 2px 0 #133466;
    }
    header #spNavKey{
        display: block;
        width: 56px;
        height: 44px;
        color: #FFF;
        font-size: 8px;
        text-align: center;
        font-weight: 700;
        padding-top: 18px;
        background: url(/common/images/menu.png) no-repeat #102469 center top 9px / 21px auto;
        border-radius: 3px;
        box-sizing: border-box;
        box-shadow: 0 2px 0 #0B1846;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 8px;
    }
    header nav{
        display: none;
        width: 100%;
        height: 100vh;
        float: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 3;
    }
    header nav ul{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        background: rgba(13,28,81,0.95);
        padding-top: 40px;
        position: absolute;
        top: 0;
        left: 0;
    }
    header nav li{
        text-align: center;
        padding-bottom: 16px;
    }
    header nav li a{
        color: #FFF !important;
    }
    header nav li:nth-child(-n+5){
        padding-top: 0;
        margin-left: 0;
    }
    header nav li#contactBtn{
        margin-left: 0;
        padding-top: 16px;
        padding-bottom: 0;
    }
    header nav li#contactBtn a{
        display: block;
        width: 80%;
        max-width: 320px;
        height: auto;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding: 8px 16px 8px 40px;
        border: #FFF solid 1px;
        background:url(/common/images/icon_mail02.png) no-repeat rgba(255,255,255,0.25) left 24% center / 16px auto;
        box-sizing: border-box;
    }
    header nav li#spNavCloseKey{
        width: 80%;
        max-width: 320px;
        margin: 0 auto 0 auto;
        text-align: center;
        color: #FFF;
        padding: 8px;
        border: #FFF solid 1px;
        cursor: pointer;
    }
    
    /* SP main */
    #sub_mainVisual{
        background:
        url(/common/images/title_bg.png) repeat-x left center / auto 18vw,
        url(/common/images/main.jpg) no-repeat right bottom / cover;
    }
    #pageName{
        height: auto;
        margin-bottom: 24px;
    }
    #pageName h2{
        width: 55%;
        padding-top: 10vw;
        padding-left: 24px;
        padding-bottom: 10vw;
        font-size: 20px;
        letter-spacing: 0;
        background: url(/common/images/h2.png) no-repeat left center / 18px auto;
        box-sizing: border-box;
    }
    #pageName img{
        max-width: 45%;
    }
    .h2Title{
        font-size: 18px;
        padding-left: 32px;
    }
    .h3Title{
        font-size: 15px;
        line-height: 160%;
        background-position: left top 4px;
        padding-left: 28px;
        margin-bottom: 16px;
    }

    /* SP contactArea */
    #contactBox{
        padding: 16px 16px 32px 16px;
    }
    #contactInner{
        flex-direction: column;
        border: #C0B185 solid 4px;
        padding: 24px 8px 32px 8px;
    }
    #contactInner h2{
        font-size: 16px;
        letter-spacing: 0;
        line-height: 130%;
        margin-bottom: 16px;
    }
    #contactTel{
        padding-right: 0;
    }
    #contactTel b{
        padding-left: 26px;
        font-size: 28px;
        line-height: 100%;
        background: url(/common/images/icon_tel.png) no-repeat left top 10px / 18px auto;
    }
    #contactTel b a{
        text-decoration: none;
    }
    #contactTel span{
        font-size: 13px;
    }
    #contactBoxBtn{
        margin-left: auto;
        margin-right: auto;
        margin-top: 8px;
        width: 96%;
        max-width: 416px;
    }
    #contactBoxBtn a{
        padding: 10px 16px 10px 56px;
        font-size: 16px;
        width: 100%;
        background: url(/common/images/icon_mail02.png) no-repeat #458E9E left 10% center / 22px auto;
        box-sizing: border-box;
    }
    #contactBox.recruit #contactBoxBtn{
        width: 96%;
        max-width: 360px;
        margin-top: 16px;
    }
    #contactBox.recruit #contactBoxBtn a{
        width: 100%;
    }
    #contactBoxBtn_recruit a{
        margin-left: auto;
        margin-right: auto;
        width: 96%;
        max-width: 360px;
    }
    #contactBoxBtn_recruit a img{
        max-width: 140px;
    }

    /* SP footer */
    footer{
        font-size: 13px;
    }
    footer a{
        text-decoration: underline;
    }
    footer #footInner{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding-top: 40px;
        padding-bottom: 32px;
    }
    footer h2{
        margin-bottom: 12px;
    }
    footer #leftArea{
        width: 100%;
        box-sizing: border-box;
        padding-right: 0;
    }
    footer ol li{
        margin-bottom: 6px;
        padding-left: 12px;
    }
    footer #newsArea{
        margin-bottom: 24px;
    }
    footer #newsScroll{
        max-height: none;
        overflow-y: auto;
        padding-right: 12px;
        box-sizing: border-box;
    }
    footer #newsArea li{
        flex-direction: column;
        flex-wrap: wrap;
        padding-bottom: 6px;
    }
    footer #newsArea li:nth-child(3){
        border-bottom: none;
    }
    footer #newsArea li:nth-child(n+4){
        display: none;
    }
    footer #newsArea time{
        margin-right: 0.5em;
    }
    footer #siteMapArea{
        margin-bottom: 24px;
    }
    footer #siteMapArea ol{
        width: 100%;
        float: none;
    }
    footer #sponsorArea{
        margin-bottom: 24px;
    }
    footer #sponsorArea li{
        width: 100%;
    }
    footer #officeArea{
        width: 100%;
    }
    footer #officeArea li{
        margin-bottom: 10px;
    }
    footer #officeArea li b{
        margin-bottom: 3px;
    }

}

/*-- フォントサイズ調整 --*/
@media (max-width:400px){
    footer{
        font-size: 4vw;
    }
    #pageName h2{
        font-size: 18px;
    }
}

