@charset "UTF-8";
/* CSS Document */
html{
  scroll-behavior: smooth;
}
body{
    font-family: Hiragino Sans, "ヒラギノ角ゴ ProN W3", Yu Gothic Medium, "游ゴシック", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8em;
    color: #111;
    -webkit-font-smoothing: antialiased;
    margin-top: 86px;
}
*{
    box-sizing: border-box;
}
img{
    vertical-align: bottom;
    width: 100%;
    height: auto;
}
li{
    list-style: none;
}
a{
    cursor: pointer;
    text-decoration: none;
    color: #111;
}
.pc_none{
    display: none;
}
#benefits, #work, #lifestyle, #faq, #requirements, #apply, #domitory, #cafeteria, #kakamigahara{
    scroll-margin-top: 86px;
}


/*---------------------------------

  header

---------------------------------*/
header{
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 20px 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
}
header .logo{
    display: flex;
    align-items: center;
}
header .logo h1 {
    width: 220px;
    margin-right: 25px;
}
header .logo p:last-of-type {
    width: 175px;
}
header nav{
    display: flex;
    align-content: center;
}
header nav ul{
    display: flex;
    align-content: center;
}
header nav ul li{
    padding: 8px 0;
}
header nav a{
    color: #0386c3;
    line-height: 1em;
    font-weight: 600;
    padding: 5px 10px;
    display: inline-block;
    margin: 0 5px;
    position: relative;
    transition: .4s;
}
header nav a:hover{
    color: #fff;
}
header nav ul li a::before{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  color: #fff;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .4s;
  background: linear-gradient(32deg, #015698 0%, #00a5a0 100%);
}
header nav ul li a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
header .apply_button{
    padding: 15px 20px;
    width: 190px;
    color: #fff;
    position: relative;
    margin: 0 0 0 10px;
}
header .apply_button::before{
    content:"";
    width:100%;
    height:100%;
    position:absolute;
    z-index:-1;
    left:0;
    top: 0;
    transition:.4s;
    background: linear-gradient(32deg, #015698 0%, #0386c3 50%, #00a5a0 100%);
}
header .apply_button:hover::before{
  opacity:0;
}
header .apply_button::after{
    content:"";
    width:100%;
    height:100%;
    position:absolute;
    z-index:-2;
    left:0;
    top: 0;
    background: linear-gradient(32deg, #ffad00 0%, #ffef51 100%);
}
header .apply_arrow{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
header .apply_arrow::before{
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 8px;
    background: url("../img/arrow.png")center / 13px auto no-repeat;
    transition: .4s;
}
.apply_button:hover .apply_arrow::before{
    right: 15px;
}
header.sp{
    display: none;
}




/*---------------------------------

  footer

---------------------------------*/
.tel_apply{
    text-align: center;
    background-color: #f6f6f7;
    padding: 35px;
    color: #00a5a0;
    margin-bottom: 35px;
}
.tel_apply h3{
    font-weight: 600;
    padding-bottom: 10px;
}
.tel_apply a{
    font-size: 45px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding-left: 38px;
    color: #00a5a0;
}
.tel_apply a::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: url("../img/tel.png") center / 28px auto no-repeat;
}
footer .footer_inner{
    margin: 0 auto;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}
footer .footer_inner a{
    width: 195px;
    display: block;
    margin-right: 8%;
}
footer .footer_inner ul{
    line-height: 1.4em;
}
footer .footer_inner ul li{
    margin-bottom: 10px;
}
footer .footer_inner ul li:last-of-type{
    margin-bottom: 0;
    font-size: 14px;
}
footer .footer_bottom{
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    padding: 10px;
    background: linear-gradient(32deg, #015698 0%, #0386c3 50%, #00a5a0 100%);
}


@media print, screen and (max-width: 1300px) {
    body{
        margin-top: 72px;
    }
    /*---------------------------------

      header

    ---------------------------------*/
    header {
        padding: 13px 10px;
        height: 72px;
    }
    #benefits, #work, #lifestyle, #faq, #requirements, #apply, #domitory, #cafeteria, #kakamigahara{
        scroll-margin-top: 72px;
    }
    header .logo h1 {
        width: 180px;
        margin-right: 15px;
    }
    header .logo p:last-of-type {
        width: 130px;
    }
    header nav a {
        padding: 5px;
        margin: 0 3px;
        font-size: 14px;
    }
    header .apply_button {
        padding: 15px 12px;
        width: 150px;
    }
    header .apply_arrow::before {
        right: 14px;
    }
    .apply_button:hover .apply_arrow::before{
        right: 8px;
    }

}


@media print, screen and (max-width: 1000px) {
    /*---------------------------------

      header

    ---------------------------------*/
    header.pc{
        display: none;
    }
    header.sp{
        display: block;
    }
    header .logo {
        position: absolute;
        z-index: 10;
        left: 12px;
        top: 50%;
    }
    .sp_nav{
        display: block;
        width: 100%;
        position: fixed;
        background-color: rgba(255,255,255,0.95);
        z-index: 100;
        padding: 8px 0;
    }
    .nav{
        display: none;
    }
    .hamburger {
        display : block;
        position: fixed;
        z-index : 3;
        right : 10px;
        top   : 15px;
        width : 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
    }
    .hamburger span {
        display : block;
        position: absolute;
        width   : 34px;
        height  : 2px ;
        left    : 4px;
        background: linear-gradient(32deg, #0386c3 0%, #00a5a0 100%);
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition   : 0.3s ease-in-out;
        transition        : 0.3s ease-in-out;
    }
    .hamburger span:nth-child(1) {
        top: 10px;
    }
    .hamburger span:nth-child(2) {
        top: 20px;
    }
    .hamburger span:nth-child(3) {
        top: 30px;
    }
    .hamburger.open span:nth-child(1) {
        top : 20px;
        left: 4px;
        background: linear-gradient(32deg, #0386c3 0%, #00a5a0 100%);
        -webkit-transform: rotate(-30deg);
        -moz-transform   : rotate(-30deg);
        transform        : rotate(-30deg);
    }
    .hamburger.open span:nth-child(2),
    .hamburger.open span:nth-child(3) {
        top: 20px;
        background: linear-gradient(32deg, #0386c3 0%, #00a5a0 100%);
        -webkit-transform: rotate(30deg);
        -moz-transform   : rotate(30deg);
        transform        : rotate(30deg);
    }
    nav.globalMenuSp {
        position: fixed;
        z-index : 2;
        top  : 0;
        left : 0;
        color: #111;
        background: rgba(255,255,255,0.98);
        text-align: left;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transition: .6s all;
    }
    nav.globalMenuSp ul {
        display: block;
        margin: 0 auto;
        padding: 25% 0 0 0;
        max-width: 300px;
        width: 90%;
    }
    nav.globalMenuSp ul li {
        list-style-type: none;
        padding: 0;
        max-width: 300px;
        text-align: center;
        transition: .4s all;
        margin: 0 auto;
        margin-bottom: 10%;
    }
    nav.globalMenuSp ul li a {
        display: block;
        color: #111;
        padding: 10px;
        text-decoration :none;
        font-size: 18px;
        transition: .4s;
    }
    nav.globalMenuSp ul li a:hover{
        color: #fff;
    }
    nav.globalMenuSp.open {
        opacity: 1;
        pointer-events: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hamburger.open + .globalMenuSp{
        opacity: 1;
        pointer-events: auto;
    }
    header .apply_button{
        padding: 20px!important;
        width: 100%;
        color: #fff!important;
        position: relative;
        margin: 0 auto;
    }
    header .apply_button::before{
        content:"";
        width:100%;
        height:100%;
        position:absolute;
        z-index:-1;
        left:0;
        top: 0;
        transition:.4s;
        background: linear-gradient(32deg, #015698 0%, #0386c3 50%, #00a5a0 100%);
    }
    header .apply_button:hover::before{
      opacity:0.7;
    }
    header .apply_button::after{
        content:"";
        width:100%;
        height:100%;
        position:absolute;
        z-index:-2;
        left:0;
        top: 0;
        background: linear-gradient(32deg, #015698 0%, #0386c3 50%, #00a5a0 100%);
    }
    header .apply_arrow{
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    header .apply_arrow::before{
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 13px;
        height: 8px;
        background: url("../img/arrow.png")center / 13px auto no-repeat;
        transition: .4s;
    }
    .apply_button:hover .apply_arrow::before{
        right: 15px;
    }
    .sp_nav .sp_tel{
        font-size: 34px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        display: block;
        position: relative;
        color: #00a5a0;
    }
    .sp_nav .sp_tel span:first-of-type,.sp_nav .sp_tel span:last-of-type{
        font-size: 14px;
        display: block;
        line-height: 1em;
    }
    .sp_nav .sp_tel span:nth-of-type(2){
        position: relative;
        display: inline-block;
        padding-left: 30px;
        margin: 10px 0;
    }
    .sp_nav .sp_tel span:nth-of-type(2)::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        background: url(../img/tel.png) center / 22px auto no-repeat;
    }
}


@media print, screen and (max-width: 765px) {
    body {
        margin-top: 64px;
    }
    #benefits, #work, #lifestyle, #faq, #requirements, #apply, #domitory, #cafeteria, #kakamigahara{
        scroll-margin-top: 64px;
    }
    /*---------------------------------

      header

    ---------------------------------*/
    header {
        padding: 10px;
        height: 64px;
    }
    header .logo {
        left: 2px;
        padding: 8px 0;
    }
    header .logo h1 {
        width: 150px;
        margin-right: 12px;
    }
    header .logo p:last-of-type {
        width: 112px;
    }
    .sp_nav{
        padding: 0;
    }
    .hamburger {
        top: 10px;
    }


    /*---------------------------------

      footer

    ---------------------------------*/
    .tel_apply {
        padding: 25px 0;
        margin-bottom: 40px;
    }
    .tel_apply a {
        font-size: 38px;
        padding-left: 30px;
    }
    .tel_apply a::before {
        width: 24px;
        height: 24px;
        background: url(../img/tel.png) center / 24px auto no-repeat;
    }
    .tel_apply h3 {
        padding-bottom: 5px;
    }
    footer .footer_inner {
        width: 100%;
        max-width: 500px;
        padding: 0 20px;
        display: block;
        margin-bottom: 40px;
        text-align: center;
    }
    footer .footer_inner a {
        width: 180px;
        margin: 0 auto;
        margin-bottom: 25px;
    }
    footer .footer_inner ul{
        text-align: center;
        display: inline-block;
    }
    footer .footer_inner ul li{
        font-size: 14px;
        text-align: left;
    }
}

@media print, screen and (max-width: 360px){
    header .logo h1 {
        width: 120px;
        margin-right: 10px;
    }
    header .logo p:last-of-type {
        width: 90px;
    }
    header .logo {
        left: 0px;
        padding: 5px 0;
    }
    nav.globalMenuSp ul li{
        margin-bottom: 5%;
    }
}