@charset "utf-8";
@import url("base.css");

/***************************************************************************
 *
 * COMMON STYLE
 *
 ***************************************************************************/

.hira {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.gothic {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

.mincho {
    font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

body {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: #3F3E3C;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

body.fixed {
    overflow: hidden;
}

.inner {
    width: 1200px;
    margin: 0 auto;
}

/*VALIDATE CONTACT*/

.error {
    display: block;
    font-size: 12px;
    color: red;
}

/* MENU */

.hamburger {
    width: 35px;
    height: 30px;
    padding: 0 5px;
    z-index: 9991;
    background: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    float: right;
    margin-top: 18px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2DB294;
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    margin-bottom: 6px;
}

.hamburger span:nth-child(2) {
    opacity: 1;
    width: 80%;
}

.hamburger span:nth-child(3) {
    margin-top: 6px;
    width: 90%;
}

.hamburger.open span:nth-child(1) {
    margin-bottom: -2px;

    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    margin-top: -4px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* HEADER */

#header {
    width: 100%;
    overflow: hidden;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
}

#header.boxsha{
    box-shadow: 1px 1px 5px rgba(204,204,204,0.45);   
}

/*#MAIN*/
#main {
    position: relative;
    overflow: hidden;
}

#main:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/common/mainpage-bg.png) no-repeat right center/cover;
}

#main .inner {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 59.5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#main .namePage {
    width: 48.5%;
    text-align: center;
}

#main .namePage .icon {
    margin-bottom: 7px;
}

#main .namePage .name {
    font-size: 32px;
    color: #2DB294;
    font-weight: normal;
    letter-spacing: -1.1px;
    margin-left: -8px;
}

/* CONTENT */

#content {
    width: 100%;
}

/* FOOTER */

#footer {
    width: 100%;
    padding: 55px 0 41px 0;
}

#copyright {
    background-color: #96D8C9;
    padding: 40px 0 43px;
    text-align: center;
    color: #FFFFFF;
    font-size: 14px;
}

.sp {
    display: none;
}

.logo {
    margin-left: 120px;
    float: left;
    padding: 19px 0 17px;
}
.logo a img.pc{
    width: 213px;
}

#header .mainMenu {
    width: calc(100% - 333px);
    float: right;
}

#footer .ftMenu .menu {
    border-top: 1px solid #96d8c9;
    margin: 0 100px;
    text-align: center;
}

#header .mainMenu .menu {
    text-align: right;
}

#header .mainMenu .menu li,
#footer .ftMenu .menu li {
    display: inline-block;
}

#header .mainMenu .menu li {
    text-align: center;
}
#header .mainMenu .menu li a,
#footer .ftMenu .menu li a {
    padding: 38px 25px 33px 17px;
    display: block;
    line-height: 1.5;
    position: relative;
}
#header .mainMenu .menu li a{
    line-height: 1;
}
#footer .ftMenu .menu li a {
    padding: 18px 32px 20px 27px;
    font-size: 20px
}

#header .mainMenu .menu li a span,
#footer .ftMenu .menu li a span {
    position: relative;
    letter-spacing: -0.7px;
    color: #3F3E3C;
}
#footer .ftMenu .menu li a span{
    letter-spacing: -1.2px;
}

#header .mainMenu .menu li a span:after,
#footer .ftMenu .menu li a span:after {
    content: "";
    display: block;
    height: 4px;
    background: #2db294;
    width: 0;
    -webkit-transition: 0.4s ease-in-out 0s;
    transition: 0.4s ease-in-out 0s;
    bottom: -14px;
    left: 0;
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
    position: absolute;
}



#header .mainMenu .menu li a:before,
#footer .ftMenu .menu li a:before {
    content: "";
    border-right: 1px solid #96d8c9;
    height: 18px;
    position: absolute;
    right: 0;
    top: 53%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}
#footer .ftMenu .menu li a:before{
    top: 48%; 
}

#footer .ftMenu .menu li:last-child a:before {
    content: none;
}

#header .mainMenu .menu li a img {
    width: 32px;
    vertical-align: middle;
    margin-right: 5px
}

#header .mainMenu .menu li:nth-last-child(2),
#header .mainMenu .menu li:last-child {
    width: 248px;
}

#header .mainMenu .menu li:nth-last-child(2) a,
#header .mainMenu .menu li:last-child a{
    font-weight: bold
}

#header .mainMenu .menu li:nth-last-child(2) {
    background-color: #2DB294;
}

#header .mainMenu .menu li:nth-last-child(2),
#header .mainMenu .menu li:last-child,
.block.bg-green,
.block.bg-light-pink {
    -webkit-transition: all 0.4s ease-out 0s;
    -o-transition: all 0.4s ease-out 0s;
    transition: all 0.4s ease-out 0s;
}

.block.bg-green:hover,
#header .mainMenu .menu li:nth-last-child(2):hover {
    background-color: #2A9E80;
}

.block.bg-light-pink:hover,
#header .mainMenu .menu li:last-child:hover {
    background-color: #d76f6f;
}

#header .mainMenu .menu li:nth-last-child(2) a,#header .mainMenu .menu li:last-child a {
    color: #FFFFFF;
    padding: 40px 20px 40px 55px;
}
#header .mainMenu .menu li:nth-last-child(2) a span,#header .mainMenu .menu li:last-child a span{
    padding-top: 2px;
    font-weight: 600;
    color: #fff;
}
#header .mainMenu .menu li:nth-last-child(2) a img {
    padding-bottom: 5px
}

#header .mainMenu .menu li:nth-last-child(2) a span:after,
#header .mainMenu .menu li:last-child a span:after,
#header .mainMenu .menu li:nth-last-child(2) a:before,
#header .mainMenu .menu li:last-child a:before {
    content: none;
}
#header .mainMenu .menu li:nth-last-child(2) a:after{
    content: '';
    background-image: url(../images/common/icon-user.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 32px;
    height: 43px;
    background-size: auto;
    top: 25px;
    position: absolute;
    left: 42px;
}
#header .mainMenu .menu li:last-child a:after{
    position: absolute;
    content: '';
    background-image: url(../images/common/icon-note.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 36px;
    height: 36px;
    background-size: auto;
    top: 30px;
    left: 40px;
}
#header .mainMenu .menu li:nth-last-child(3) a:before {
    content: none;
}

#header .mainMenu .menu li:nth-last-child(3) a {
    padding: 33px 36px 33px 17px;
}

#header .mainMenu .menu li:last-child {
    background-color: #ED8484;
    margin-left: -5px;
}


#header .mainMenu .menu li:last-child a img {
    width: 36px;
    padding-bottom: 5px;
    margin-right: 3px;
}

/*#header .mainMenu .menu li.active a {
    color: red;
}*/

#footer .ftRecruitment {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#footer .ftRecruitment .block {
    width: 50%;
}

#footer .ftRecruitment .block a {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    margin: auto 0;
}

#footer .ftRecruitment .block a.left {
    text-align: right;
    padding: 73.5px 128px 71.5px 0;
    display: block;
    letter-spacing: -0.4px;

}

#footer .ftRecruitment .block a.right {
    text-align: left;
    padding: 79px 0 76px 132px;
    display: block;
    letter-spacing: -0.4px;
}

#footer .ftRecruitment .block img {
    vertical-align: middle;
}

#footer .ftRecruitment .block a.left img {
    width: 32.2px;
    margin-right: 9.8px;
    padding-bottom: 9.3px;
}

#footer .ftRecruitment .block a.right img {
    width: 36px;
    margin-right: 8px;
    padding-bottom: 5px;
}

#footer .ftInfo {
    text-align: center;
    margin-top: 57px;
    margin-bottom: 27px;
}

#footer .ftInfo .ftLogo {
    width: 191.899px;
    margin-bottom: 6px
}

.bg-green {
    background-color: #2DB294;
}

.bg-light-pink {
    background-color: #ED8484;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.btn-green {
    margin: 50px;
    display: block;
    text-align: center;
    max-width: 296px;
    font-weight: bold;
    width: 100%;
    padding: 14px 0;
    color: white;
    background-color: #2DB294;
    border: none;
    font-size: 16px;
    -webkit-transition: all 0.4s ease-out 0s;
    -o-transition: all 0.4s ease-out 0s;
    transition: all 0.4s ease-out 0s;
    -webkit-box-shadow: 10px 10px 0 0 #D9D8D8;
    box-shadow: 10px 10px 0 0 #D9D8D8;
}

.btn-green .icon-arrow {
    width: 9.165px;
    height: 12px;
    vertical-align: middle;
    margin-right: 9px;
    margin-bottom: 3px;
}

.btn-green:hover {
    background-color: #2A9E80;
    -webkit-box-shadow: 8px 8px 0 0 #CECECE;
    box-shadow: 8px 8px 0 0 #CECECE;
}


/* FIX TABLET */

@media (max-width: 1350px) and (min-width: 769px) {
    body {
        width: 1349px;
    }
}


/* PC ONLY */

@media (min-width: 769px) {
     #header.scrollX{
        width: 1349px;
    }

    #header .mainMenu .menu li.active a span:after{
        width: 100%;
    }

    #header .mainMenu .menu li:hover a span:after,
    #footer .ftMenu .menu li:hover a span:after {
        width: 100%;
    }
    #footer .ftMenu .menu li a span:after{
        height: 2px;
        bottom: -11px;
    }
}

/* STYLE MOBILE */

@media (max-width: 768px) {
    #footer .ftMenu .menu li a {
        padding: 14px 5px 5px;
        font-size: 16px;
    }
    #footer{
        padding-bottom: 20px;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .logo{
        margin-left: 4%;
        width: 138px;
        padding: 11px 0 10px;
    }
    .inner {
        width: 100%;
        padding: 0 4%;
    }
    #header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    #header .headerBar .inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: space-between;
        align-content: center;
    }
    #header .mainMenu {
        display: none;
        height: 100vh;
        background: #FFFFFF;
        width: 100%;
    }
    .hamburger {
        transform: scaleX(-1);
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";
        margin-top: 20px;
        margin-right: 2%;
    }
    .hamburger.open {
        margin-top: 26px;
    }
    .hamburger.open span:nth-child(3) {
        width: 100%;
    }
    #header .mainMenu .menu {
        text-align: center;
        padding: 0 18px;
    }
    #header .mainMenu .menu li a:before,
    #footer .ftMenu .menu li a:before {
        content: none;
        border-right: 1px solid #2DB294;
        height: 14px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
    }
    #header .mainMenu .menu li,
    #footer .ftMenu .menu li {
        display: block;
    }
    #header .mainMenu .menu li a,
    #header .mainMenu .menu li:nth-last-child(3) a {
        padding: 36px 0 12px;
    }
    #header .mainMenu .menu li:nth-last-child(2) {
        margin-bottom: 10px;
    }
    #header .mainMenu .menu li:last-child {
        margin-left: 0
    }
    #header .mainMenu .menu li:hover a:after {
        width: 0;
    }

    #header .mainMenu .menu li:nth-last-child(2),
    #header .mainMenu .menu li:last-child {
        width: auto;
        max-width: 375px;
        margin: 0 auto;
    }
    #header .mainMenu .menu li:nth-last-child(2){
        margin-bottom: 20px;
    }

    #header .mainMenu .menu li:nth-last-child(2) a{
        padding: 40px 20px 40px 55px;
    } 

    #header .mainMenu .menu li:last-child a{

    }
    #header .mainMenu .menu li a{
        font-size: 24px;
        color: #3f3e3c;
        font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    }
    #header .mainMenu .menu li:nth-child(3){
        margin-bottom: 35px;
    }
    #header .mainMenu .menu li:nth-last-child(2) a:after{
        width: 29px;
        height: 40px;
        top: 30px;
        left: 55px;
    }
    #header .mainMenu .menu li:last-child a:after{
        width: 32px;
        height: 33px;
        top: 36px;
        left: 53px;
    }
    #header .mainMenu .menu li:nth-last-child(2) a span, #header .mainMenu .menu li:last-child a span{
        letter-spacing: 0;
    }


    #footer .ftRecruitment {
        display: block;
        margin: 0 4%;
        padding-top: 30px;
    }
    #footer .ftInfo {
        margin-top: 35px;
        margin-bottom: 14px;
    }
    #footer .ftInfo a{
        display: inline-block;
    }

    #footer .ftRecruitment .block {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    #footer .ftMenu .menu {
        width: auto;
        margin: 0 50px;
    }
    #footer .ftRecruitment .block a.left,
    #footer .ftRecruitment .block a.right {
        text-align: center;
        font-size: 16px;
    }
    #footer .ftRecruitment .block a.left{
        padding: 11px 0 3.5px;
    }
    #footer .ftRecruitment .block a.right{
        padding: 15px 0 11px;
    }

    #copyright{
        padding: 18px 0 15px;
        font-size: 12px;
    }
    #header .mainMenu .menu li:nth-child(1) a{
        padding-top: 34px;
    }

    /*MAIN*/
    #main,
    #main .mainPhoto,
    #main .mainPhoto img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    #main:before {
        width: 100%;
        height: 100%;
        background: url(../images/common/mainpage-bg.png) no-repeat right 45% center/cover;
    }

    #main .inner {
        left: 55%;
    }

    #main .namePage .icon {
        margin-bottom: 5px;
    }

    #main .namePage .icon img {
        width: 44px;
    }

    #main .namePage .name {
        font-size: 20px;
        margin-left: 0;
    }

}

@media(max-width: 768px) and (min-width: 415px){
    #header .mainMenu{
        overflow-y: auto;
        padding-bottom: 100px;
    }
}

/*IE FIX*/

@media all and (-ms-high-contrast:none) {
    #header .mainMenu .menu li a::before{
        top:46%;
    }
    #footer .ftMenu .menu li a::before {
        top: 35%;
    }
    #header .mainMenu .menu li:nth-last-child(2) a, #header .mainMenu .menu li:last-child a{
        padding: 46px 20px 33px 55px;  
    }
    .btn-green{
        line-height: 0.5
    }
    #header .mainMenu .menu li a span::after{
        bottom: 4px;
    }
    #footer .ftMenu .menu li a span::after{
        bottom: 9px;
    }
    #footer .ftInfo .ftLogo{
        margin-bottom: 14px;
    }

}

