@charset "UTF-8";
* {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    letter-spacing: 0.03em;
    box-sizing: border-box;
    margin-top: 0 !important;
    width: 100%;
    overflow-x: hidden;
}
body{
    font-family: 'Noto Sans JP',sans-serif;
    line-height: 1;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
a{
    transition: 0.3s;
}

/* ----------------------------------------------------------
common
---------------------------------------------------------- */
.pc{
    display: block;
}
.sp{
    display: none;
}
:root {
    /* 色指定 */
    --basic: #011945;
    --brown: #71665c;
    --red: #a22324;
    --blue: #1b4476;
    --gray: #cdcdcd;
    --navy: #0e233c;
    --lightgray: #d4d4d4;
    --lightgray2: #eee;
    --icon: 'Material Symbols Outlined';
}
.flex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.inner_1200{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.inner_1000{
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}
.inner_800{
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

/* ----------------------------------------------------------
header
---------------------------------------------------------- */
header{
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1200px;
    background: #fff;
    border-radius: 5px;
    filter: drop-shadow(0 0 3px #cfdae5);
    z-index: 9999;
    transition: 0.3s all ease;
}
header.is-animation{
    width: 100%;
    max-width: 100vw;
    top: 0;
    border-radius: 0;
}
header.is-animation #globalMenu .nav_cta{
    border-radius: 0;
}
.hdr_inner{
    align-items: center;
}
.hdr_inner h1{
    width: 30%;
    max-width: 256px;
    padding: 15px 0 15px 20px;
}
.hdr_inner .hdr_content{
    text-align: center;
}
header .sp_nav_cta{
    display: none;
}
#globalMenu ul{
    align-items: center;
    padding: 8px 0;
}
#globalMenu ul li {
    border-left: 1px solid #ddd;
}
#globalMenu ul li a{
    display: block;
    padding: 5px 15px;
}
#globalMenu ul li a:hover{
    background: #eee;
}
/* #globalMenu ul li .nav_icon{
    position: relative;
    width: auto;
    height: 20px;
    margin-bottom: 15px;
} */
#globalMenu ul li .nav_txt{
    position: relative;
    font-size: 1.3rem;
    line-height: 1;
    min-height: 45px;
    color: var(--basic);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
#globalMenu ul li .nav_txt::before{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    font-family: var(--icon);
    font-size: 3rem;
    font-weight: 300;
}
#globalMenu ul li .nav_txt.top::before{ content: "\e88a";}
#globalMenu ul li .nav_txt.search::before{ content: "\e8b6";}
#globalMenu ul li .nav_txt.topics::before{ content: "\f1c6";}
#globalMenu ul li .nav_txt.case::before{ content: "\e7fd";}
#globalMenu ul li .nav_txt.faq::before{ content: "\e887";}
#globalMenu .nav_cta{
    position: relative;
    display: flex;
    align-items: center;
    background: var(--red);
    border: 2px solid var(--red);
    padding: 0 20px 0 calc(20px + 1em);
    border-radius: 0 5px 5px 0;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
}
#globalMenu .nav_cta::before{
    position: absolute;
    content: "\f88d";
    color: #fff;
    font-family: var(--icon);
    font-size: 2.2rem;
    font-weight: 200;
    top: 50%;
    left: 0.5em;
    transform: translateY(-50%);
    transition: 0.3s;
}
#globalMenu .nav_cta:hover{
    background: #fff;
    color: var(--red);
}
#globalMenu .nav_cta:hover::before{
    color: var(--red);
}

/* ボタン */
.page_Link{
    display: block;
    background: var(--light);
    width: 90%;
    max-width: 300px;
    margin: 20px auto 0;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    color: #fff;
    padding: 15px 5px;
    border-radius: 5px;
    border: 1px solid var(--light);
}
.page_Link:hover{
    background: #fff;
    color: var(--light);
}

/* ----------------------------------------------------------
footer
---------------------------------------------------------- */
footer{
    background: #4d5868;
}
footer a:hover{
    opacity: 0.7;
}

/* ----------------------------------------------------------
下層ページ調整
---------------------------------------------------------- */
#page_til,
#page_til.multiple_lines{
    background: url(../img/lower_fv_bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: calc(3.2rem + 81px) 0 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 220px;
}

/* トピックス */
#topics_main.detail #breadcrumb{
    padding-top: 100px;
}

/* 求人特集 */
#job-special_main .recommend-job{
    line-height: 1.7;
}

/* サービス紹介 */
#about_MSAgent{
    line-height: 1.7;
}
#service_main .case_Wrap .lead_txt{
    margin-bottom: 20px;
}
#service_main .merit_Wrap .merit_List{
    align-items: stretch;
}
#service_main .merit_Wrap .merit_List li{
    width: calc((100% / 3) - 2%);
    height: auto;
    border-color: var(--basic);
}
#service_main .merit_Wrap .merit_List li p span.underbar {
    padding-bottom: 0;
}

/* FAQ */
#jobchange_faq ul li p {
    line-height: 1.7;
}
#narrow_down .side_search_area ul li a{
    line-height: 1.7;
}

/* キャリア */
#careerpaths_main #mokuji{
    line-height: 1.7;
}

/* ==============================================================
PC(~1230px)
============================================================== */
@media only screen and (max-width: 1230px) {

    /* ----------------------------
    header
    ------------------------------- */
    header{
        width: 100%;
        max-width: 100vw;
        top: 0;
        border-radius: 0;
    }
    #globalMenu .nav_cta{
        border-radius: 0;
    }
    #globalMenu ul li a {
        padding: 5px 8px;
    }
    #globalMenu ul li .nav_txt {
        font-size: 1.2rem;
        min-height: 38px;
    }
    #globalMenu ul li .nav_txt::before{
        font-size: 2.4rem;
    }

    /* ----------------------------
    下層ページ
    ------------------------------- */
    #page_til{
        padding: calc(2rem + 64px) 0 3rem;
    }
}

/* ==============================================================
TAB(~1024px)
============================================================== */
@media only screen and (max-width: 1024px) {

}

/* ==============================================================
SP(~800px)
============================================================== */
@media only screen and (max-width: 800px) {
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }

    /* ----------------------------
    header
    ------------------------------- */
    header{
        top: 0;
        width: 100%;
        filter: drop-shadow(0 0 2px #afc7de);
        border-radius: 0;
    }
    header.is-animation {
        max-width: none;
    }
    header .sp_nav_cta{
        position: relative;
        width: 70%;
        max-width: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--red);
        border: 2px solid var(--red);
        margin-right: 10px;
        padding: 7px 7px 7px calc(7px + 1em);
        border-radius: 3px;
        color: #fff;
        font-size: 1.4rem;
        line-height: 1;
    }
    header .sp_nav_cta::before {
        position: absolute;
        content: "\f88d";
        color: #fff;
        font-family: var(--icon);
        font-size: 1.8rem;
        font-weight: 200;
        top: 50%;
        left: 0.2em;
        transform: translateY(-50%);
        transition: 0.3s;
    }
    .hdr_inner{
        background: #fff;
        padding: 10px 15px;
    }
    .hdr_inner h1 {
        width: 45%;
        max-width: 300px;
        padding: 0;
    }
    .hdr_inner .hdr_content {
        width: 55%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    #menu {
        position: relative;
        display: block;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 200;
    }
    #menu span{
        position: absolute;
        display: block;
        background: var(--basic);
        width: 30px;
        height: 1px;
        left: 50%;
        transform: translate(-50%);
        transition: 0.3s;
    }
    #menu span:nth-child(1){
        top: 5px;
    }
    #menu span:nth-child(2){
        top: 15px;
    }
    #menu span:nth-child(3){
        top: 25px;
    }
    /* ナビ開いてる時のボタン */
    #menu.active span:nth-child(1) {
        top : 15px;
        -webkit-transform: translateX(-50%) rotate(-45deg);
        -moz-transform   : translateX(-50%) rotate(-45deg);
        transform        : translateX(-50%) rotate(-45deg);
    }
    #menu.active span:nth-child(2){
        display: none;
    }
    #menu.active span:nth-child(3) {
        top: 15px;
        -webkit-transform: translateX(-50%) rotate(45deg);
        -moz-transform   : translateX(-50%) rotate(45deg);
        transform        : translateX(-50%) rotate(45deg);
    }
    #globalMenu{
        position: fixed;
        width: 100%;
        top: -100vh;
        left: 0;
        background: #fafafa;
        transition: .4s all;
        overscroll-behavior-y: contain;
        overflow-y: scroll;
        padding: 5px 0;
        box-shadow: 0 2px 10px #ccc;
        z-index: -99;
    }
    #globalMenu.active{
        top: 53px;
    }
    #globalMenu ul {
        flex-direction: column;
        justify-content: flex-start;
        width: 95%;
        margin: 0 auto;
        padding: 0;
    }
    #globalMenu ul li{
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #eee;
    }
    #globalMenu ul li:last-child{
        border-bottom: none;
    }
    #globalMenu ul li a {
        padding: 15px 5px 15px calc(5px + 1em);
    }
    #globalMenu ul li .nav_txt {
        font-size: 1.4rem;
        min-height: unset;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding-left: 1em;
    }
    #globalMenu ul li .nav_txt::before{
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
    }
    #globalMenu ul li .nav_txt::after{
        position: absolute;
        content: "\e5cc";
        color: #ccc;
        font-size: 1.6rem;
        font-family: var(--icon);
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    #globalMenu .nav_cta{
        display: none;
    }

    /* ボタン */
    .page_Link{
        font-size: 1.5rem;
    }

    /* ----------------------------------------------------------
    下層ページ調整
    ---------------------------------------------------------- */
    #page_til,
    #page_til.multiple_lines {
        padding: 2rem 0;
        height: 75px;
        margin-top: 52px;
    }
    #page_til h1.align_left{
        text-align: center;
    }
    /* トピックス */
    #topics_main.detail{
        margin-top: 27px;
    }

    /* サービス紹介 */
    #service_main .merit_Wrap .merit_List li{
        width: 290px;
    }
}