@charset "utf-8";


/* base style */
html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  list-style: none;
}

a{
  text-decoration: none;
  color: #333;
}

li{
  list-style: none;
}

img{
  vertical-align: bottom;
  box-sizing: border-box;
  object-fit: cover;
}

.section-headline{
  font-size: 40px;
  text-align: center;
  padding: 60px 0;
}


.container{
  max-width: 1140px;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* header */

.header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
}


.header-navlist{
  display: flex;
}

.header-navitem{
  font-style: 20px;
  font-weight: bold;
  padding: 10px;
}

.header-navitem:hover{
  transform: scale(1.2);
  border-bottom: solid 2px #333;
  transition: all 0.5s;
}



.hamburger-menu{
  position: fixed;
  right: 0;
  margin-right: 30px;
  z-index: 10;
}

.openbtn{
  display: none;
	position: relative;
	cursor: pointer;
  width: 50px;
  height:50px;
	border-radius: 5px;
  z-index: 10;
}

/*ボタン内側*/
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #000;
  width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}


.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}


.menu-content{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  background-color: #888888;
  opacity: 0.9;
  transition: all 0.5s;
}

.menu-content .header-navlist{
  margin: 200px auto 0px;
  text-align: center;
}

.menu-content .header-navlist .header-navitem{
  margin-bottom: 20px;
}



.openbtn.active ~.menu-content{
  left: 0;
}


/* hero */

.hero{
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero > strong{
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: bold;
  width: 100%;
  text-align: center;
}

.hero > video{
  position: absolute;
  z-index: 1;
  width: auto;
  height: 105%;
}

.section-second{
  background-color: #ccc;
}


/* message */

.message-first{
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
}

.message{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

figure{
  margin: 0;
}

.message-image{
  width: 45%;
}

.message-caption{
  width: 50%;
  line-height: 2;
}

.message-headline{
  width: 60%;
  text-align: center;
  margin-bottom: 30px;
  border: 1px solid #333;
}


/* survice */

.survice-gridarea{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.survice{
  text-align: center;
}

.survice > img{
  width: 50%;
}


.survice-headline{
  text-align: center;
  margin: 10px 0 30px;
}

.survice-description{
  text-align: left;
}


/* works */
.works ul{
  display: flex;
  justify-content: space-between;
}

.works ul li{
  width: 30%;
}

.work-img{
  text-align: center;;;
}
.work-img img{
  width: 100%;
  margin-bottom: 20px;
}
.work-img img:hover{
  transform: scale(1.1);
  transition-duration: 0.5s;
}



.btn{
  text-align: center;
  margin-top: 30px;
}


.btn-border-bottom {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 10px 30px;
  color: #333;
}

.btn-border-bottom:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  top:100%;
  left: 0;
  border-radius: 3px;
  background: #333;;
  transition: .2s;
}

.btn-border-bottom:hover:before {
  top: -webkit-calc(100% - 3px);
  top: calc(100% - 3px);
}

/* works-lower */

.works-lower {
  margin-top: 150px;
}

.works-lower-headline{
  font-size: 36px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
}


.works-lower ul li{
  background-color:#ccc;
  box-shadow: 0 0 0 100vmax #ccc;
  clip-path: inset(0 -100vmax);
  margin-top: 60px;
}

.works-lower ul li .work-content{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 30px;
}

.works-lower ul li .project-title{
  padding: 20px 0;
  font-size: 24px;
}

.works-lower ul li .work-content .work-img{
  width: 40%;
}


.works-lower ul li img{
  width: 100%;
  margin-bottom: 0;
  height: auto;;
}

.works-lower ul li img:hover{
  pointer-events: none;
}


.works-lower ul li .work-info{
  width: 40%;
}

.work-type,.work-client{
  margin-bottom: 20px;
}

.work-link{
  margin-top: 40px;
}

.work-link a{
  text-align: center;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  padding: 10px 30px;
}

.work-link a:hover{
  border: 1px solid #333;
  background-color: #ccc;
  color: #333;
  transition: .3s;
}

.pagination{
  margin:40px 0 0;
}
.nav-links{
  display:flex;
  justify-content: center;
}
.pagination .page-numbers{
  display:inline-block;
  margin-right:20px;
  padding:20px 25px;
  color:#333;
  border-radius:3px;
  box-shadow:0 3px 3px #999;
  background:#fff;
}
.pagination .current{
  padding:20px 25px;
  background:#333;
  color:#fff;
}
.pagination .prev,
.pagination .next{
  background:transparent;
  box-shadow:none;
  color:#333;
}
.pagination .dots{
  background:transparent;
  box-shadow:none;
}







/* about */


.about{
  display: flex;
  align-items: center;
  justify-content:space-between ;
}

.about > img{
  width: 30%;
}

.about-caption{
  width: 60%;
}

.about-headline{
  margin-bottom: 30px;
}


.about-description{
  width: 80%;
  margin: 0 auto;
}

/* contact page */

.contact-headline{
  font-size: 36px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
  margin-top: 150px;
}

.contact-desc{
  margin: 30px 0;
}

form{
  background-color: #ccc;
  padding: 50px;
}

form input{
  height: 20px;
}

table{
  margin: 0 auto;
  border-spacing: 50px 20px;
}

td{
  padding: 20px;
}



.td-left{
  width: 30%;
}

.td-left span{
  background-color: red;
  color: #fff;
  padding: 5px;
  font-size: 12px;
}

.td-right{
  width: 65%;
  background-color: #fff;
}

.td-right input,textarea{
  width: 100%;
}

.submit-box{
  text-align: center;
  font-size: 20px;
}

.submit-box input{
  height: auto;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  padding: 15px 45px;
  margin-top: 30px;
}

.submit-box input:hover{
  border: 1px solid #333;
  background-color: #ccc;
  color: #333;
  transition: .3s;
}










/* footer */

.footer{
  padding-bottom: 30px;
  text-align: center;
  margin-top: 60px;
}


.footer-navlist{
  display: flex;
  justify-content: center;
}

.footer-navitem{
  font-style: 20px;
  font-weight: bold;
  padding: 0px 30px 30px 30px;
}

.footer-navitem > a:hover{
  border-bottom: solid 2px #333;
  transition-duration: 0.3s;
}


/* sp */


@media screen and (max-width: 480px) {
  h2{
    font-size: 18px;
  }

  .header{
    padding: 0;
  }

  .header-nav{
    display: none;
  }

  .menu-content .header-navlist{
    display: block;
  }

  .header-navitem:hover{
    transform: scale(1.0);
    border-bottom: none;
  }

  .openbtn{
    display: block;
  }



  .hero > strong{
    font-size: 50px;
  }


  .section-headline{
    padding: 40px 0;
    font-size: 40px;
  }


  .message{
    display: block;
  }

  .message-image{
    width: 100%;
  }

  .message-caption{
    width: 100%;
    line-height: 2;
  }

  .message-headline{
    margin: 20px 0;
    width: 100%;
  }

  .survice-gridarea{
    display: block;
  }

  .survice{
    margin-top: 20px;
  }

  .works ul{
    display: block;
  }


  .works ul li{
    width: 100%;
    margin-top: 20px;
  }

  .work-img img{
    width: 80%;
    margin-bottom: 0;
  }

  .work-img img:hover{
    transform: scale(1.1);
    transition-duration: 0.5s;
  }

  .work-type,.work-client{
    margin-left: 40px;
  }

  /* works-lower */

  .works-lower ul li .work-content{
    display: block;
  }

  .works-lower ul li .work-content .work-img{
    width: 100%;
    margin-bottom: 15px;
  }

  .works-lower ul li .work-info{
    width: 100%;
  }

  .work-type,.work-client{
    margin-left: 0;
  }

  .work-link{
    text-align: center;
  }




  .about{
    display: block;
    text-align: center;
  }

  .about > img{
    width: 60%;
  }

  .about-headline{
    margin: 20px 0 10px;
  }

  .about-caption{
    width: 100%;
  }

  .about-description{
    text-align-last: left;
    width: 100%;
    margin: 0 0;
  }


  .sp{
    display: none;
  }

  .footer{
    margin-top: 0;
  }

  .footer-navitem{
    padding: 10px;
    font-size: 12px;
  }

   /* contact */

  .contact-headline{
    font-size: 30px;
  }

  form{
    padding: 0;
    margin-bottom: 30px;
  }


  th,td{
    display: block;
  }

  .td-left,.td-right{
    width: 100%;
  }

  .submit-box{
    padding-bottom: 30px;
  }


}