@charset "utf-8";

:root {
    --color-primary: #4a6796;
    --color-secondary: #3067ae;
    --color-bg: #edefee;
  }

  /* 
font-family: 'M PLUS 1p', sans-serif;
font-family: 'Noto Sans JP', sans-serif;
font-family: 'Zen Kurenaido', sans-serif;

*/


/* main */

body{
    overflow-x: hidden;
}

a{
    color: white;
}

ul,li{
    list-style-type: none;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

.top_hidden{
    display: none;
}
/* main  end*/

header{
    padding-top: 10px;
    width: 100%;
    height: 100vh;
    background: no-repeat center  url("../img/top.png");
}

header nav{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

header ul{
    width: 60%;
    display: flex;
    justify-content: space-between;
    font-family: "Noto Serif JP", serif;
    align-items: center;
    font-weight: 300;
}

header ul li:hover{
    padding-bottom: 3px;
    transition: transform 0.1s ease-in-out;
}

.hamburger .btn-gNav {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 999;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

.hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #ffffff;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

.hamburger .btn-gNav span:nth-child(1) {
    top: 0;
}

.hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
}

.hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
}

.hamburger .btn-gNav.open span:nth-child(1) {
    background: #ffffff;
    top: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger .btn-gNav.open span:nth-child(2),
.hamburger .btn-gNav.open span:nth-child(3) {
    top: 6px;
    background: #ffffff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}


.btn-gNav {
    display: none;
}

header .gNav a img{
    height: 30px;
}



@media screen and (max-width: 1024px) {
    .btn-gNav {
        display: block;
    }

    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary);
        font-size: 16px;
        box-sizing: border-box;
        z-index: 1;
        padding-top: 50px;
        transition: .3s;
    }

    .gNav.open {
        right: 0;
    }

    .gNav .gNav-menu {
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
        margin-top: 80px;
        /*justify-content: center;*/
    }

    .gNav .gNav-menu li {
        width: 86%;
        padding: 15px;
        border-bottom: var(--color-primary) 1px solid;
        margin: 0 auto;
    }

    .gNav .gNav-menu a{
        color: white;
        font-weight: 400;
    }

    .gNav .log{
        position: absolute;
        top: 10px;
        left: 30px;
    }
}

/* header end */

/* about_cont */

.about_cont{
    margin-top: 100px;
    width: 100%;
    background: no-repeat center  url("../img/about_cont_bg.png");
}

.about_cont_area{
    max-width: 1200px;
    height: auto;
    position: relative;
    margin: auto;
}


.about_cont_area .tate{
    font-size: 24px;
    position: absolute;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: white;
    top: -20px;
    right: 20px;
   
}

.about_cont_area .tate h2{
    margin-right: 20px;
    background-color: black;
    padding: 40px 20px;
    display: inline-block;
    font-weight: 100;
}

.about_cont_area h1{
    color: white;
    padding: 100px 20px 20px 20px;
    font-size: 46px;
    font-weight: bold;
}

.about_cont_area p.about_sub{
    color: white;
    padding: 0 20px 100px 20px;
    font-weight: bold;
}

.about_txt{
    background-color: white;
    width: 70%;
    padding: 20px 20px 20px 20px;

}

.about_txt h3{
    margin: 20px 0;
    font-weight: bold;
}

.about_txt p{
    line-height: 2em;
}

a.btn_27 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 120px;
	margin: 50px 0 0;
	padding: 1rem 4rem;
	color: #fff;
	font-weight: bold;
	background: var(--color-primary);
	position: relative;
	transition: 0.3s ease-in-out;
}
a.btn_27:hover {
    background: #fff;
    color: var(--color-primary);
}
a.btn_27:before, a.btn_27:after {
  box-sizing: inherit;
  content: "";
  position: absolute;
  border: 2px solid transparent;
  width: 0;
  height: 0;
}
a.btn_27:before {
  top: 0;
  left: 0;
}
a.btn_27:after {
  bottom: 0;
  right: 0;
}
a.btn_27:hover:before, a.btn_27:hover:after {
  width: 100%;
  height: 100%;
}
a.btn_27:hover:before {
  border-top-color: var(--color-primary);
  border-right-color: var(--color-primary);
  transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}
a.btn_27:hover:after {
  border-bottom-color: var(--color-primary);
  border-left-color: var(--color-primary);
  transition: border-color 0s ease-out 0.2s, width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
}
/* about_cont end*/


/* company_cont */
.deco{
    width: 80%;
    height: 100px;
    background-color: var(--color-primary);
    position: absolute;
    right: 0;
    margin-top: 200px;
}


.company_cont{
    max-width: 1200px;
    margin: 280px auto 0;
    position: relative;
    height: 800px;
}

.comapany_cont_ttl {
    width: 80%;
    background: no-repeat center / contain url(../img/company_cont_bg.png);
    position: absolute;
    height: 500px;
}

.comapany_cont_ttl .tate2{
    font-size: 24px;
    position: absolute;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: white;
    top: -20px;
    left: 25%;
   
}

.comapany_cont_ttl .tate2 h2{
    margin-right: 20px;
    background-color: black;
    padding: 40px 20px;
    display: inline-block;
    margin-bottom: 1%;
    font-weight: 100;
}

.company_txt {
    position: absolute;
    background: white;
    padding: 40px;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 500px;
}

.company_txt h1{
    padding: 50px 20px 20px 20px;
    font-size: 46px;
    font-weight: bold;
}

.company_txt p.company_sub{
    padding: 0 20px 20px 20px;
    font-weight: bold;
}

.company_txt h3{
    padding: 0 20px 20px 20px;
}

.company_txt p{
    line-height: 2em;
    padding: 0 20px 20px 20px;
}

a#company_btn{
    margin-top: 0;
}
/* company_cont end*/


/* service_cont */
.service_cont{
    max-width: 1200px;
    margin: 100px auto 0;
    background-image:url("../img/service_bg.png"); 
    background-repeat:no-repeat; 
    background-position:left bottom;
    background-size: 80%;
    padding-bottom: 100px;
}

.service_cont ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.service_cont ul li{
    width: 30%;
    background: var(--color-primary);
}

.service_cont ul li img{
    width: 100%;
}


.service_cont ul li h3{
    width: 100%;
    color: white;
    text-align: center;
    height: 40px;
    line-height: 40px;
}

/* service_cont end */

/* recruit_cont */
.recruit_cont{
    width: 100%;
    background: var(--color-bg);
}

.recruit_cont_area{
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
}

.recruit_cont_area img{
    width: 40%;
    height: auto;
    padding: 100px 0 100px 0;

}

.recruit_cont_area .recruit_txt{
    width: 40%;
    padding: 100px 0 100px 0;
}

.recruit_txt h1{
    padding: 50px 20px 20px 0px;
    font-size: 46px;
    font-weight: bold;
}

.recruit_txt p{
    line-height: 2em;
    padding: 0 20px 20px 0px;
}

.recruit_txt p.recruit_sub{
    padding: 0 20px 20px 0px;
    font-weight: bold;
}

/* recruit_cont end*/


/* works */
/* works end*/

/* entry_cont */

.entry_cont{
    background-image:url("../img/entry_bg.png"); 
    background-repeat:no-repeat; 
    background-position:right bottom;
    background-size: 80%;
}

.entry_area{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    position: relative;
}

.entry_area img{
    width: 70%;
}


.entry_txt{
    position: absolute;
    background: var(--color-primary);
    width: 25%;
    top: 50%;
    right: 0%;
    height: 35%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.entry_txt h1{
    font-size: 46px;
    font-weight: bold;
    color: white;
    padding: 5%;
    text-align: left;
}



.btn-more{
    text-align: left;
    padding-left: 5%;
    display: block;
    overflow: hidden;
    text-decoration: none;
    width: 240px;
    height: 48px;
    font-weight: normal;
    font-size: 16px;
    line-height: 48px;
    letter-spacing: 0;
    color: #fff;
    position: relative;
  }

.btn-more:before,.btn-more:after{
    content: '';
    position: absolute;
    background: #fff;
  }
  .btn-more:before {
    top: 24px;
    right: 20px;
    height: 2px;
    width: 50px;
  }
  .btn-more:after {
    top: 20px;
    right: 20px;
    height: 2px;
    width: 10px;
    transform: rotate(45deg);
  }

.entry_shoei{
    text-align: right;
}


.entry_shoei img{
    width: 60%;
    padding: 20px 20px 0;
}

/* entry_cont end*/

/* contact */

.contact_cont{
    background: no-repeat center  url("../img/contact_bg.png");
    width: 100%;

}

.contact_cont h1{
    color: white;
    padding: 100px 20px 40px 20px;
    font-size: 46px;
    font-weight: bold;
    text-align: center;
}

.contact_cont p.contact_sub{
    color: white;
    padding: 0 20px 100px 20px;
    font-weight: bold;
    text-align: center;
}

/* contact end */

footer{

    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

footer .foot_left{ 
    width: 30%;
}

footer .foot_left p{
    line-height: 2em;
}

footer .foot_left img{ 
    width: 50%;
}


footer .navi ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

footer .navi{
    width: 50%;
    padding-top: 20px;
}

footer .navi ul li{
    width: 30%;

}

footer .navi ul li a{
    color: black;
    display: block;
    padding-bottom: 20px;
}


/* 1024px */


@media screen and (max-width: 1024px)  {
    
    .recruit_cont_area {
        max-width: 1200px;
        margin: 50px auto;
        display: flex;
        justify-content: space-around;
    }

    .btn-more{
        width: auto;
    }

    .about_cont {
        margin-top: 100px;
        width: 100%;
        background: no-repeat right / cover url(../img/about_cont_bg.png);
    }

    .comapany_cont_ttl {
        width: 80%;
        background: no-repeat center / cover url(../img/company_cont_bg.png);
        position: absolute;
        height: 500px;
    }

    .deco {
        width: 85%;
        height: 150px;
        background-color: var(--color-primary);
        position: absolute;
        right: 0;
        margin-top: 200px;
    }

    .recruit_cont_area img {
        width: 40%;
        height: 100%;
        padding: 100px 0 100px 0;
        margin: auto 0;
    }
    .entry_txt {
        position: absolute;
        background: var(--color-primary);
        width: 25%;
        top: 50%;
        right: 0%;
        height: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
    }

    .contact_cont h1 {
        color: white;
        padding: 100px 20px 40px 20px;
        font-size: 46px;
        font-weight: bold;
        text-align: center;
    }
    .contact_cont p.contact_sub {
        color: white;
        padding: 0 20px 70px 20px;
        font-weight: bold;
        text-align: center;
    }
    footer .foot_left p {
        line-height: 1.5em;
        font-size: 0.7rem;
    }
    footer .navi ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
        font-size: 0.7rem;
    }
    .top_hidden{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
}


@media screen and (max-width: 768px)  {
    .entry_txt h1 {
        font-size: 18px;
        font-weight: bold;
        color: white;
        padding: 5%;
        text-align: left;
    }

.btn-more {
    text-align: left;
    padding-left: 5%;
    display: block;
    overflow: hidden;
    text-decoration: none;
    /* width: 240px; */
    height: 48px;
    font-weight: normal;
    font-size: 10px;
    line-height: 25px;
    letter-spacing: 0;
    color: #fff;
    position: relative;
}
.btn-more:before {
    top: 24px;
    right: 3px;
    height: 2px;
    width: 50px;
}
.btn-more:after {
    top: 20px;
    right: 3px;
    height: 2px;
    width: 10px;
    transform: rotate(45deg);
}
.about_cont_area .tate {
    font-size: 18px;
    position: absolute;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: white;
    top: -20px;
    right: 20px;
}
.about_cont_area .tate h2 {
    margin-right: 10px;
    background-color: black;
    padding: 40px 20px;
    display: inline-block;
    font-weight: 100;
    margin-bottom: 10%;
}
.about_txt {
    background-color: white;
    width: 100%;
    padding: 20px 20px 20px 20px;
    box-sizing: border-box;
}
.about_cont {
    margin-top: 100px;
    width: 100%;
    background: no-repeat right top / cover url(../img/about_cont_bg.png);
    background-size: 195%;
}

.comapany_cont_ttl .tate2 {
    font-size: 18px;
    position: absolute;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: white;
    top: -20px;
    left: 20px;
    margin-right: 0px;
    margin-left: 20px;
}
.company_txt {
    position: absolute;
    background: white;
    padding: 40px;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 500px;
    box-sizing: border-box;
}

.company_cont {
    max-width: 1200px;
    margin: 280px auto 200px;
    position: relative;
    height: 800px;
}

.service_cont ul li {
    width: 75%;
    background: var(--color-primary);
    margin: 20px auto;
}

.original-box-shadow {
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  }

  .service_cont {
    max-width: 1200px;
    margin: 100px auto 0;
    background-image: url(../img/service_bg.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100%;
    padding-bottom: 100px;
}

.recruit_cont_area {
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: column;
}

.recruit_cont_area .recruit_txt {
    width: 100%;
    padding: 100px 0 100px 0;
    box-sizing: border-box;
}

.recruit_txt h1 {
    padding: 50px 20px 20px 20px;
    font-size: 46px;
    font-weight: bold;
    box-sizing: border-box;
}

.recruit_txt p.recruit_sub {
    padding: 0 20px 20px 20px;
    font-weight: bold;
    box-sizing: border-box;
}
.recruit_txt p {
    line-height: 2em;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
}
.recruit_cont_area img {
    width: 40%;
    height: 100%;
    padding: 100px 0 100px 0;
    margin: auto 0;
    display: none;
}
a.btn_27 {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 120px;
    margin: 20px auto;
    padding: 1rem 4rem;
    color: #fff;
    font-weight: bold;
    background: var(--color-primary);
    position: relative;
    transition: 0.3s ease-in-out;
}

.entry_area img {
    width: 100%;
}

.entry_txt {
    position: absolute;
    background: var(--color-primary);
    width: 50%;
    top: 50%;
    right: 0%;
    height: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.btn-more {
    text-align: left;
    padding-left: 5%;
    display: block;
    overflow: hidden;
    text-decoration: none;
    /* width: 240px; */
    height: 48px;
    font-weight: normal;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0;
    color: #fff;
    position: relative;
}
.entry_txt h1 {
    font-size: 24px;
    font-weight: bold;
    color: white;
    padding: 5%;
    text-align: left;
}
footer {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: column;
}

footer .foot_left {
    width: 70%;
}

footer .navi {
    width: 100%;
    padding-top: 20px;
}

.contact_cont h1 {
    color: white;
    padding: 50px 20px 40px 20px;
    font-size: 46px;
    font-weight: bold;
    text-align: center;
}

.contact_cont p.contact_sub {
    color: white;
    padding: 0px 20px 50px 20px;
    font-weight: bold;
    text-align: center;
}

}