@charset "utf-8";
/* CSS Document */

/*header*/
header{
    position: absolute;
    z-index: 6;
    width: 100%;
}

header .header-inner{
    padding: 0 0 0 50px;
    display: flex;
    justify-content: space-between;
}

header .header-logo{
    margin-top: 35px;
}

header .header-contents{
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    position: relative;
    justify-content: end;
    padding-right: 100px;
}

header .header-contents:after{
    position: absolute;
    content: "";
    background: #8cbd55;
    width: 700px;
    transition: all .5s;
    height: 100%;
    right: -700px;
    z-index: 10;
}

header .header-contents.open:after{
    right: 0;
}

header .header-contents .header-tel a{
    background: #4e9f3e;
    display: block;
    padding: 22px 20px;
    pointer-events: none;
    cursor: default;
    text-decoration: none;    
    max-height: 100px;
}

header .header-contents .header-tel a span{
    font-size: 14px;
    background: url("../image/common/icn_tel.svg") no-repeat left center;
    background-size: 41px auto;
    padding-left: 55px;
    display: block;
    height: 100%;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

header .header-contents .header-tel a span img{
    width: 250px;
    margin-top: 10px;
}

header .header-contents .header-entry a{
    background: #d22763;
    display: block;
    padding: 30.5px 20px;
    max-height: 100px;
}

header .header-contents .header-entry a span{
    font-size: 34px;
    color: #fff;
    font-family: "Roboto Condensed", serif;    
    background: url("../image/common/icn_entry.svg") no-repeat left center;
    background-size: 40px auto;
    padding-left: 50px;
    display: block;
    height: 100%;
}

header .header-nav{
    z-index: 11;
    position: fixed;
    right: 0;
    top: 0;
 }

header .header-nav .header-nav-btn{
    width: 100px;
    height: 100px;
    background: #8cbd55;
    position: relative;
    z-index: 5;
}

header .header-nav .header-nav-btn a{
    display: block;
    position: relative;
    width: 46px;
    height: 37px;
    cursor: pointer;
    transition: all .5s;        
    
    top: 32px;
    left: calc(50% - 23px);
}

header .header-nav .header-nav-btn a span{
    position: absolute;
    height: 4px;
    width: 100%;
    background: #fff;
    transition: all .5s;    
}

header .header-nav .header-nav-btn a span:nth-child(1){
    top: 0;
}

header .header-nav .header-nav-btn a span:nth-child(2){
    top: calc(50% - 2px);
    width:70%;
}

header .header-nav .header-nav-btn a span:nth-child(3){
    bottom: 0;
}

header .header-nav .header-nav-btn.active a{
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
header .header-nav .header-nav-btn.active span:nth-of-type(1) {
  -webkit-transform: translateY(18px) rotate(-45deg);
  transform: translateY(18px) rotate(-45deg);
}
header .header-nav .header-nav-btn.active span:nth-of-type(3) {
  -webkit-transform: translateY(-15px) rotate(45deg);
  transform: translateY(-15px) rotate(45deg);
}
header .header-nav .header-nav-btn.active span:nth-of-type(2) {
  opacity: 0;
}

.header-nav-list{
    position:fixed;
    top: 0;
    right: -700px;
    background:#8cbd55;
    width:700px;
    padding: 100px 0 100px 60px;
    transition: all .5s;      
    height: 100%;
    z-index: 5;
    overflow-y: scroll;
}

.header-nav-list.open{
    right: 0;
}

.header-nav-list .header-nav-main-list{
    margin-top: 30px;
    margin-bottom: 50px;
}

.header-nav-list .header-nav-main-list li{
    display: block;
}

.header-nav-list .header-nav-main-list li + li{
    margin-top: 40px;
}

.header-nav-list .header-nav-main-list li a{
    background: url("../image/common/voice_icn.png") no-repeat left 0;
    background-size: 60px auto;
    padding-left: 70px;
    font-size: 45px;
    font-family: "Roboto Condensed", serif; 
    text-align: right;
    display: inline-block;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-waigaya a{
    background: url("../image/common/waigaya_icn.png") no-repeat  left 0;
    background-size: 60px auto;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof > a{
    background: url("../image/common/fireproof_icn.png") no-repeat  left 0;
    background-size: 60px auto;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-home > a{
    background: url("../image/common/home_icn.png") no-repeat  left 0;
    background-size: 60px auto;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dl dt{
    cursor: pointer;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dl dt:after{
    content: " ＋";
    font-size: 40px;
    vertical-align: top;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dt.open:after{
    content: " －";
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dd{
    display: none;
    padding-left: 70px;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dd ul{
    margin-top: 2em;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dd li{
    display: block;
    margin-top: 1.5em;
}

.header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dd a{
  font-size: 24px;
  padding-left: 25px;
  background: url("../image/common/angle-right_white.svg") no-repeat -5px center;    
  font-family: "Noto Sans JP", sans-serif;
}


.header-nav-list .header-nav-main-list li a span{
  font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.header-nav-list .header-nav-sub-list{
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin: 0 0 0 -60px;
    padding: 50px 140px 50px;
}

.header-nav-list .header-nav-sub-list dl{
}

.header-nav-list .header-nav-sub-list dl dt{
    cursor: pointer;
}

.header-nav-list .header-nav-sub-list dl dt:before{
    content: "＋ ";
}

.header-nav-list .header-nav-sub-list dl dt.open:before{
    content: "－ ";
}

.header-nav-list .header-nav-sub-list dl + dl{
    margin-top: 45px;
}

.header-nav-list .header-nav-sub-list dl dt{
    font-weight: 900;
    font-size: 26px;
}

.header-nav-list .header-nav-sub-list dl dd{
    display: none;
    font-size: 22px;
    padding-left: 1em;   
}

.header-nav-list .header-nav-sub-list dl dd li{
    margin-top: 1em;
}

.header-nav-list .header-nav-sub-list dl dd a{
  font-size: 24px;
  padding-left: 25px;
  background: url("../image/common/angle-right_white.svg") no-repeat -5px center;    
}

.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s;
}

.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}

body.sec header{
    background: #3a3a3a;
    position: inherit;
}

@media print, screen and (max-width: 768px) {
    header .header-inner{
        padding: 0 0 0 15px;
    }

    header .header-logo{
        margin-top: 15px;
    }
    
    header .header-logo img{
        width: 70px;
    }
    
    header .header-contents{
        height: 50px;
        padding-right: 50px;
    }

    header .header-contents:after{
        width: 300px;
        right: -300px;
    }
    
    header .header-contents .header-tel a{
        background: #4e9f3e;
        display: block;
        padding: 0;
        pointer-events: auto;
        cursor: pointer;
    }

    header .header-contents .header-tel a span{
        background: url("../image/common/icn_tel.svg") no-repeat center center;
        background-size: 20px auto;
        text-indent: -9999px;
        width: 50px;
        height: 50px;
        padding-left: 0;
    }

    header .header-contents .header-entry a{
        padding: 15px 10px;
    }
    
    
    header .header-contents .header-entry a span{
        font-size: 17px;
        background: url("../image/common/icn_entry.svg") no-repeat left center;
        background-size: 20px auto;
        padding-left: 25px;
    }
    
    
    header .header-nav .header-nav-btn{
        width: 50px;
        height: 50px;
    }

    header .header-nav .header-nav-btn a{
        width: 23px;
        height: 18.5px;

        top: 16px;
        left: calc(50% - 11.5px);
    }

    header .header-nav .header-nav-btn a span{
        height: 2px;
    }

    header .header-nav .header-nav-btn a span:nth-child(2){
        top: calc(50% - 1px);
    }

    header .header-nav .header-nav-btn.active span:nth-of-type(1) {
      -webkit-transform: translateY(9px) rotate(-45deg);
      transform: translateY(9px) rotate(-45deg);
    }
    header .header-nav .header-nav-btn.active span:nth-of-type(3) {
      -webkit-transform: translateY(-7.5px) rotate(45deg);
      transform: translateY(-7.5px) rotate(45deg);
    }    

    .header-nav-list{
        right: -300px;
        width:300px;
        padding: 50px 0 50px 35px;
    }
    
    .header-nav-list .header-nav-main-list{
        margin-top: 15px;
        margin-bottom: 25px;
    }

    .header-nav-list .header-nav-sub-list + .header-nav-main-list{
        margin-top: 25px;
        margin-bottom: 0;
    }
    
    .header-nav-list .header-nav-main-list li + li{
        margin-top: 25px;
    }

    .header-nav-list .header-nav-main-list li a{
        background: url("../image/common/voice_icn.png") no-repeat left 0;
        background-size: 30px auto;
        padding-left: 35px;
        font-size: 25px;
    }

    .header-nav-list .header-nav-main-list li.header-nav-main-list-waigaya a{
        background: url("../image/common/waigaya_icn.png") no-repeat  left 0;
        background-size: 30px auto;
    }

    .header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof > a{
        background: url("../image/common/fireproof_icn.png") no-repeat  left 0;
        background-size: 30px auto;
    }
    
    .header-nav-list .header-nav-main-list li.header-nav-main-list-home > a{
        background: url("../image/common/home_icn.png") no-repeat  left 0;
        background-size: 30px auto;
    }
    

    .header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dl dt:after{
        font-size: 20px;
    }

    .header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dd{
        padding-left: 35px;
    }


    .header-nav-list .header-nav-main-list li.header-nav-main-list-fireproof dd a{
      font-size: 12px;
      padding-left: 15px;
      background: url("../image/common/angle-right_white.svg") no-repeat -2px center;    
      background-size: 16px auto;
    }

    .header-nav-list .header-nav-main-list li a span{
        font-size: 10px;
    }

    .header-nav-list .header-nav-sub-list{
      margin: 0 0 0 -35px;
      padding: 30px 0 30px 70px;
    }

    .header-nav-list .header-nav-sub-list dl + dl{
        margin-top: 25px;
    }

    .header-nav-list .header-nav-sub-list dl dt{
        font-size: 15px;
    }

    .header-nav-list .header-nav-sub-list dl dd{
        font-size: 14px;
    }

    .header-nav-list .header-nav-sub-list dl dd a{
      font-size: 14px;
      padding-left: 15px;
      background: url("../image/common/angle-right_white.svg") no-repeat -2px center;    
      background-size: 16px auto;
    }


}    

/*btn-contact*/
.btn-contact{
    position: fixed;
    right: 15px;
    bottom: 0;
    width: 121.5px;
    z-index: 5;
}

.btn-contact:before{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: url("../image/common/btn_contact_hover.png") no-repeat center top;
    background-size: cover;
    z-index: -1;
}

.btn-contact:hover img{
    opacity: 0;
}

.btn-contact:hover:before{
    opacity: 1;
}

@media print, screen and (max-width: 768px) {
    .btn-contact{
        right: 10px;
        width: 13%;
        height: 29vw !important;
    }
}


/*recruitment*/
.recruitment{
    margin-top: 10px;    
    padding: 80px 0 0 0;
    background: url("../image/common/recruitment_bg_pc.jpg") no-repeat center center;
    background-size: cover;
}

.recruitment .recruitment-inner{
    padding: 0 30px;
}

.recruitment .imgtit{
    max-width: 998px;
    margin: 0 auto 60px;
}

.recruitment .illust{
    max-width: 338px;
    margin: 0 auto;
}

.recruitment-btn{
    width: 420px;
    margin: 0 auto 20px;
}

.recruitment-btn li{
    width: 170px;
    text-align: center;
    position: relative;
}


@media print, screen and (max-width: 768px) {
    .recruitment{
        margin-top: 5px;    
        margin-bottom: 5px;
        padding: 50px 0 0 0;
        background: url("../image/common/recruitment_bg_sp.jpg") no-repeat center center;
        background-size: cover;
    }
    
    .recruitment .recruitment-inner{
        padding: 0 0;
    }

    .recruitment .imgtit{
        max-width: 77.333333333%;
        margin-bottom: 30px;
    }

    .recruitment .illust{
        max-width: 45.066666666%;
        margin: 0 auto 5px;
    }

    .recruitment-btn{
        width: 67.2%;
        margin: 0 auto 20px;
    }

    .recruitment-btn li{
        width: 40%;
    }
    
    
    
}    
.btnDesign{
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

.btnDesignSingle{
    width: 440px;
    margin: 60px auto 0;
    text-align: center;
    position: relative;
}

.btnDesign li{
    text-align: center;
    position: relative;
}

.btnDesign li a,
.btnDesignSingle a{
    border: 1px solid #fff;
    font-weight: 900;
    color: #fff;
    padding: 17px 0;
    display: block;
    position: relative;
    transition: 0.3s;  
    overflow: hidden;
    font-size: 20px;
    letter-spacing: 0.1em;
}

.btnDesign li a:before,
.btnDesignSingle a:before{
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  background:#000;
  width:120%;
  height: 101%;
  transform: skewX(-25deg);
}

.btnDesign li a:hover::before,
.btnDesignSingle a:hover::before{
  animation: skewanime .5s forwards;
}

.btnDesign li a:hover,
.btnDesignSingle a:hover{
    border-color: #000;
}

.btnDesign li a:hover span,
.btnDesignSingle a:hover span{
    color: #fff;
    z-index: 3;
    position: relative;
}

.btnDesignSingle .normal{
    font-weight: 400;
}

@keyframes skewanime {
  100% {
    left:-10%;
  }
}


.btnDesign li:after,
.btnDesignSingle:after{
    content: "";
    height: 1px;
    width:40px;
    top: 50%;
    left: -20px;
    background: #fff;
    position: absolute;
    transition: 0.3s;    
}

.btnDesign li:hover:after,
.btnDesignSingle:hover:after{
    width:0;
    left: 0;
}

@media print, screen and (max-width: 768px) {
    .btnDesignSingle{
        width: 69.333333333%;
        margin-top: 30px;
    }    
    
    .btnDesign li a,
    .btnDesignSingle a{
        padding: 13px 0;
        font-size: 12px;
    }
    
    .btnDesign li:after,
    .btnDesignSingle:after{
        width:30px;
        left: -15px;
    }

}

    
/*pagetop*/
.pagetop{
    position: absolute;
    width: 90px;
    height: 90px;
    text-indent: -9999px;
    right: 100px;
    bottom: 20px;
}

.pagetop a{
    border-radius: 45px;
    background: url("../image/common/icn_pagetop.svg") no-repeat center center #4a4a4a;
    background-size: 41px auto;
    transition: all .5s; 
    display: block;
    width: 100%;
    height: 100%;    
}

.pagetop a:hover{
    background: url("../image/common/icn_pagetop.svg") no-repeat center center #000;
    background-size: 41px auto;
}


@media print, screen and (max-width: 768px) {
    .pagetop{
        width: 12vw;
        height:12vw;
        right: 20px;
        bottom: 20px;
    }
    
    .pagetop a{
        border-radius: 6vw;
        background: url("../image/common/icn_pagetop.svg") no-repeat center center #4a4a4a;
        background-size: 5vw auto;
    }

    .pagetop a:hover{
        background: url("../image/common/icn_pagetop.svg") no-repeat center center #000;
        background-size: 5vw auto;
    }
    
}

/*footer*/
footer{
    background: #4a4a4a;
    padding: 40px 30px;
}

footer .footer-inner{
    max-width: 1500px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

footer .footer-nav-link{
    display: flex;
}

footer .footer-nav-link li:before{
    content: "｜";
    color: #fff;
}

footer .footer-nav-link li:nth-child(1):before{
    display: none;
}

footer .footer-nav-link li a{
    color: #fff;
    padding-bottom: 3px; 
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: bottom right; /* 下線の初期位置 */
    background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
    transition: background-size 0.2s;    
}

footer .footer-nav-link li a:hover {
    background-position: bottom left; /* 下線のホバー時位置 */
    background-size: 100% 1px; /* 下線の横幅を100%にする */
}

footer .copy{
    color: #fff;
}


@media print, screen and (max-width: 768px) {
    footer{
        padding: 25px 0;
        font-size: 10px;
    }

    footer .footer-inner {
        display: block;
    }    

    footer .footer-nav-link{
        justify-content: center;
        margin-bottom: 10px;
    }

    footer .copy{
        text-align: center;
    }
}
