@charset "utf-8";

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
グローバルナビ（下段／親のスタイル）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#h_navi_main .inner{
    width: calc(100vw - 200px);
    min-width: 1200px;
}

/* 固定ではない時 */
#header_fixed_zone:not(.fix_target) #h_navi_main {
    position: relative;
}

#header_fixed_zone:not(.fix_target) #h_navi_main .inner{
    min-width: 1200px;
}

#header_fixed_zone:not(.fix_target) #h_navi_main .inner .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 220px;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 1;
}

#header_fixed_zone:not(.fix_target) #h_navi_main .inner .logo a {
    width: 220px;
    height: 220px;
    background: url(images/logo2.png) no-repeat 50% / contain;
    background-size: 105px 103px;
}

#header_fixed_zone:not(.fix_target) #h_navi_main .inner .logo:hover a {
    opacity: .8;
}

#h_navi_main .inner .logo a {
    display: block;
    width: 225px;
    height: 50px;
}

#header_fixed_zone:not(.fix_target) #h_navi_main .inner .logo a img {
    display: none;
}

#h_navi_main ul:not(.sub-menu) {
    margin-left: auto;
}

 #header_fixed_zone:not(.fix_target) #h_navi_main ul:not(.sub-menu) {
    margin-left: auto;
    padding-left: 220px;
}

    /* 中ページの固定ではない時 */
 body:not(.home) #header_fixed_zone:not(.fix_target) #h_navi_main ul:not(.sub-menu) {
    padding-left: 0;
}

#h_navi_main ul:not(.sub-menu) > li {
    min-width: 0;
    padding: 15px 0;
}

#header_fixed_zone:not(.fix_target) #h_navi_main ul:not(.sub-menu) > li {
    padding: 28px 0;
}

#h_navi_main ul:not(.sub-menu) > li.home, #h_navi_main ul:not(.sub-menu) > li.new  {
    display: none;
}

#h_navi_main ul:not(.sub-menu) > li > a {
    font-family: "my_mincho", serif;
    font-size: 1.6rem;
    padding: 21px 1.5vw;
}

@media screen and (max-width:1800px) {
    #h_navi_main .inner {
        justify-content: center;
    }
    
    #header_fixed_zone:not(.fix_target) #h_navi_main .inner {
        justify-content: flex-end;
    }

    body:not(.home) #header_fixed_zone:not(.fix_target) #h_navi_main .inner {
        justify-content: center;
    }

    #h_navi_main .inner .logo {
        position: static;
    }

    body:not(.home) #header_fixed_zone:not(.fix_target) #h_navi_main .inner .logo {
        position: static;
        width: 120px;
        height: 120px;
    }

    #h_navi_main .inner .logo a {
        display: block;
        width: 74px;
        height: 72px;
        background: url(images/logo2.png) no-repeat 50% / cover;
        background-size: 63px 62px;
    }
    
    body:not(.home) #header_fixed_zone:not(.fix_target) #h_navi_main .inner .logo a {
        width: 74px;
        height: 72px;
        background-size: 63px 62px;
    }

    #h_navi_main .inner .logo a img {
        display: none;
    }

    #h_navi_main ul:not(.sub-menu) {
        padding-left: 0;
        margin: 0;
    }

    #header_fixed_zone:not(.fix_target) #h_navi_main ul:not(.sub-menu) {
    margin-left: 0;
}
    
    #h_navi_main ul:not(.sub-menu) > li {
        padding: 17px 0;
    }
    
    #header_fixed_zone:not(.fix_target) #h_navi_main ul:not(.sub-menu) > li {
        padding: 30px 0;
    }

    #h_navi_main ul:not(.sub-menu) > li > a {
        font-size: 1.4rem;
        padding: 11px .7vw;
    }

    #h_navi_main ul:not(.sub-menu) > li.flow > a {
        width: 180px;
    }

    #h_navi_main ul:not(.sub-menu) > li.shindan > a {
        width: 150px;
    }

    #h_navi_main ul:not(.sub-menu) > li.blog > a {
        width: 80px;
    }

    #h_navi_main ul:not(.sub-menu) > li.contact > a {
        width: 140px!important;
    }
}

/* liの仕切り縦線 */
#h_navi_main ul:not(.sub-menu) > li:not(.contact):not(.recruit)::before {
    content: '';
    width: 1px;
    height: 25px;
    background: #0f0f0f;
    position: absolute;
    top: calc(50% - 12px);
    right: 0;
}

#h_navi_main ul:not(.sub-menu) > li > a::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% - 2.5px);
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    background: transparent;
    border-radius: 50%;
    -webkit-transition: all .35s ease 0s;
    transition: all .35s ease 0s;
    -webkit-transform: scale(0);
    transform: scale(0);
}

#header_fixed_zone:not(.fix_target) #h_navi_main ul:not(.sub-menu) > li > a::after {
    top: 30px;
}

#h_navi_main ul:not(.sub-menu) > li.service > a::before {
    position: absolute;
    content: '\e915';
    font-family: "icomoon";
    left: calc(50% - 10px);
    bottom: 10px;
    color: #112063;
    font-size: 1.5em;
    line-height: 1;
    transition: .2s;
}

#header_fixed_zone:not(.fix_target) #h_navi_main ul:not(.sub-menu) > li.service > a::before {
    bottom: 20px;
}

#h_navi_main ul:not(.sub-menu) > li.service > a:hover::before {
    transform: rotate(-180deg);
}

#h_navi_main ul:not(.sub-menu) > li.recruit > a {
    padding-right: 50px;
}

#h_navi_main ul:not(.sub-menu) > li.recruit > a::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: calc(50% - 8px);
    right: 30px;
    width: 15px;
    height: 15px;
    background: url(images/menu_icon.svg) no-repeat;
    margin-left: 0;
}

#h_navi_main ul:not(.sub-menu) > li.contact > a {
    width: 170px;
    color: #fff;
    background: #0b164a;
    border: 1px solid #0b164a;
    padding: 19px 1.5vw;
}

#h_navi_main ul:not(.sub-menu) > li.contact > a:hover {
    color: #0b164a;
    background: #fff;
}

#h_navi_main ul:not(.sub-menu) > li:not(.contact) > a:hover::after, #h_navi_main ul:not(.sub-menu) > li[class*='current']:not(.contact) > a::after {
    background: #00255c;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
グローバルナビ（下段／子のスタイル）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#h_navi_main ul.sub-menu {
    top: 135px;
    background-color: rgba(225, 234, 245, .85);
}

#h_navi_main ul.sub-menu:before {
    display: none;
}

#h_navi_main ul.sub-menu li a {
    font-family: "my_mincho", serif;
    color: #112063;
    font-size: 1.6rem;
    font-weight: normal;
}

#h_navi_main ul.sub-menu li:not(:last-child) a {
    border-bottom: 1px solid #c5d0e6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下層ページ　＞　ヘッダー画像
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media screen and (max-height: 760px) {
    .page_promo .img_wrap {
            max-height: 40vh;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップページ　＞　プロモ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#promo_frame {
    position: relative;
    height: calc(100vh - 120px);
    height: calc((var(--my_vh) * 100) - 120px);
    min-height: calc(648px - 120px);
    max-height: 840px;
    width: calc(100vw - 200px);
    min-width: 1200px;
    margin: 0 auto;
    z-index: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ローカルナビ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.child_navi_wrap {
    margin-top: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
固定ページ　＞　ローカルナビ(2019-10-31追加tky)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
ul.child_navi {
    padding: 14px 0;
}

ul.child_navi li {
    flex-grow: 0;
}

ul.child_navi a {
    width: calc(100% - 70px);
    min-width: 0;
    position: relative;
    font-family: "my_mincho", serif;
    color: #fff;
    font-size: 1.7rem;
    font-weight: normal;
    background: transparent;
    padding: 16px 0;
    margin: 0 35px;
}

ul.child_navi li a::after {
    position: absolute;
    bottom: 2px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

ul.child_navi li a:hover::after, ul.child_navi li[class*="current"] a::after {
    bottom: 12px;
    opacity: 1;
    visibility: visible;
}

ul.child_navi li:not(:last-child) {
    border: none;
}

ul.child_navi a:hover,ul.child_navi li.current_page_item a {
    background-color: transparent;
    color: #fff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
診断ページ固定ページ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body.page-shindan #header_frame,body.page-shindan #header_fixed_zone,body.page-shindan .page_promo_wrap,body.page-shindan #footer {
    display: none;
}
