*{
  scroll-behavior: smooth;
  list-style: none;
  margin: 0;
  padding: 0;
}

body{
  height: 100%;
  position: relative;
  font-family: SF Pro JP,SF Pro Text,SF Pro Icons,Hiragino Kaku Gothic Pro,ヒラギノ角ゴ Pro W3,メイリオ,Meiryo,ＭＳ Ｐゴシック,Helvetica Neue,Helvetica,Arial,sans-serif;
}
.body-none{
  touch-action: none;
}
.body-active{
  touch-action: auto;
}
header{
  position: -webkit-sticky;
  position: fixed;
  top: 0;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  background-color: #fff;
  z-index: 10;
}
ul{
  display:flex;
  align-items: center;
}
a{
  color: black;
  text-decoration: none;
}
.content{
  width: 100%;
}
.header-nav{
  display:flex;
  justify-content: space-between;
  align-items: center;
}
.header-menu-content{
  display:flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.header-menu a{
  font-size: 20px;
  padding: 0 10px;
  margin: 0 5px;
}
.logo{
  position: absolute;
  z-index: 150;
  left: 0;
}
.nav{
  display: none;
  width: 100%;
  height: 70px;
  position: relative;
 }
 .drawer{
  display: none;
 }
 
 /*ナビゲーション部分*/
 
 .menu ul li a {
  display:block;
  font-weight:bold;
  padding: 3.5em;
  border-bottom: 1px dotted #CCC;
  color:#333;
  text-decoration:none;
 }
 .menu ul{
  display: block;
 }
 
 .menu ul li a:hover
 {background-color:rgba(0,0,0,0.5);
 color:orange;}
 
 .menu{
  text-align:center;
  background-color:#ffffff;
  transition: .5s ease;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
 }
 

 /*OPEN時の動き*/
 .menu.open {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
 
 }
 
 /*トグルボタンのスタイルを指定*/
 .Toggle {
  display: block;
  position: fixed;    /* bodyに対しての絶対位置指定 */
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 3;
  right:15px;
 }
  
 .Toggle span {
  display: block;
  position: absolute;
  width: 50px;
  border-bottom: solid 4px #333;
  -webkit-transition: .35s ease-in-out; /*変化の速度を指定*/
  -moz-transition: .35s ease-in-out;    /*変化の速度を指定*/
  transition: .35s ease-in-out;     /*変化の速度を指定*/
 }
  
 .Toggle span:nth-child(1) {
    top:5px;
 }
  
 .Toggle span:nth-child(2) {
    top: 18px;
 }
  
 .Toggle span:nth-child(3) {
  top: 32px;
 }
 
 .Toggle.active span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
 }
  
 /* 2番目と3番目のspanを45度に */
 .Toggle.active span:nth-child(2),
 .Toggle.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
 }
 
 @media screen and (min-width: 1070px) {
  
   header::after{
    display:none;
   } 
   
  nav{
    display: flex;
  
  }
  .Toggle{
    display: none;
  }
  .menu{
  display: block;
  width: 100%;
  text-align:center;
  transition: .5s ease;/*滑らかに表示*/
  background-color: transparent;
  margin-top:0;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  }
  .menu ul{
  height: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  }
  .menu ul li a{
  padding: 0 1em;
  border-bottom: none;
  
  }
  .menu ul li a:hover
 {
  background-color:transparent;
 } 

 }
.number{
  font-size: 20px;
  letter-spacing : -0.04em;
  font-weight: 600;
  position: absolute;
  padding-right: 20px;
  align-items: center;
  right: 0;
}
.number::before{
  position: absolute;
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url('../img/phone2.png');
  background-position: center;
  background-size: contain;
  left: -30px;
}
#logo {
  max-width:50%;
  display:block;
  margin:0 auto;
}
nav{
 width: 100%;
 height: 70px;
 position: relative;
}
.drawer{
 display: flex;
 flex-direction: row;
 align-items: center;
 justify-content: space-between;
 position: relative;
 height: 70px;
}

/*ナビゲーション部分*/

.menu ul li a {
  display:block;
  font-weight:bold;
  border-bottom: 1px dotted #CCC;
  color:#333;
  text-decoration:none;
}

.menu ul li a:hover
{background-color:rgba(0,0,0,0.5);
color:orange;}

.menu{
  text-align:center;
  background-color:#ffffff;
  transition: .5s ease;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}

/*OPEN時の動き*/
.menu.open {
 -webkit-transform: translateX(0%);
 transform: translateX(0%);/*中身を表示（右へスライド）*/
 position: fixed;
 z-index: 100;
 width: 100vw;
 height: 100%;
}

/*トグルボタンのスタイルを指定*/
.Toggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    width: 50px;
    height: 42px;
    cursor: pointer;
    z-index: 3;
  right:15px;
}
 
.Toggle span {
  display: block;
  position: absolute;
  width: 50px;
  border-bottom: solid 4px #333;
  -webkit-transition: .35s ease-in-out; /*変化の速度を指定*/
  -moz-transition: .35s ease-in-out;    /*変化の速度を指定*/
  transition: .35s ease-in-out;     /*変化の速度を指定*/
}
 
.Toggle span:nth-child(1) {
  top:5px;
}
 
.Toggle span:nth-child(2) {
  top: 18px;
}
 
.Toggle span:nth-child(3) {
  top: 32px;
}
 
.Toggle.active span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

main{
  position: relative;
  background-image:url(../img/main.jpg) ;
  background-repeat:no-repeat;
  background-size:100%;
  width: 100%;
  height: auto;
  padding-top: 65%;
  margin-top: 150px;
  margin-bottom: 50px;
}
.main-wrap{
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: calc(((40 / 100) * 50%));
  width: 70%;
  height: auto;
  padding-bottom: 8%;
}
.main-wrap h1{
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  color: #ffffff;
  font-size: 4vw;
  line-height: 140%;
  margin-top : calc(((30 / 100) * 30%));
  margin-left : calc(((30 / 100) * 30%));
}
.main-wrap span{
  display: block;
}
.main-wrap .btn{
  margin-top : calc(((20 / 100) * 10%));
  margin-left : calc(((30 / 100) * 30%));
}
.btn,a.btn,button.btn {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #fff;
  border-radius: 0.5rem;
}
a.btn-svg {
  font-weight: 700;
  line-height: 54px;
  width: 204px;
  height: 54px;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  background-color: transparent;
}
a.btn-svg svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
a.btn-svg svg rect {
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 200px, 16px;
  stroke-dashoffset: 70px;
}
a.btn-svg:hover svg rect {
  stroke-dashoffset: 284px;
}
a.btn-svg span {
  color: #fff;
}
section{
  text-align: center;
  margin-bottom: 50px;
}
h2{
  display: flex;
  flex-flow: column;
  margin-bottom: 30px;
}
.en{
  font-size: 30px;
  font-weight: normal;
  color: #ae7c4f;
  line-height: 1em;
}
.ja{
  font-weight: normal;
  font-size: 15px;
}
.sample{
  width: 320px;
  height: auto;
}
.sample:nth-child(-n+2){
  margin-right: 30px;
}
.btn-str{
  display: block;
}
.works a.btn-svg svg rect{
  stroke: black;
}
.works a.btn-svg span{
  font-size: 1.2rem;
  color: black;
}
.sample-wrap{
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}
#table01{
  margin: 0 auto;
}
#table01 th,#table01 td {
  text-align:left;
  padding: 24px 0;
  border-bottom: 1px solid #b5b1b1;
}

#table01 th {
  width: 30%;
}
.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 auto;
  padding-top: 60px;
  max-width: 1200px;
  margin-top: 150px;
}
.gallery li{
  margin: 0 20px 30px 20px;
}
.gallery li p{
  font-size: 16px;
}
.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
img.popup {
  cursor: pointer;
  }
/* sp */
@media only screen and (max-width: 600px) {
  nav{
    width: 100%;
    height: 70px;
    position: relative;
    background: #F6F6F6;
  }
#table01 th,
#table01 td {
  width: 100%;
  display: block;
}

#table01 th {
  width: 100%;
}

#table01 td {
  padding-top: 0;
}
}
footer{
  height: 550px;
  background-color:#1f3134;
}
.footer-img{
  margin: 0 auto;
  padding-top: 130px;
  width: 200px;
}
.copyright-wrap{
  margin: 0 auto;
  margin-top: 100px;
  width: 90%;
  border-top: 1px solid #afafb0;
}
small{
  color: #afafb0;
}

@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
@media (min-width: 751px) {
  a[href*="tel:"] {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  }
}
  @media screen and (min-width: 1070px) {

  header::after{
    
    display:none;
  } 
    
  nav{
    display: flex;
  
  }
  .Toggle{
    display: none;
  }
  .menu{
    width: 100%;
    background-color: transparent;
    margin-top:0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .menu ul{
    height: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }
  .menu ul li a{
    padding: 0 1em;
    border-bottom: none;
  
  }
    
    .menu ul li a:hover
  {
    background-color:transparent;
  }
  .work ul{
    display: block;
  }
    
}
@media screen and (max-width: 600px) {
  .logo{
    width: 80px;
    left: 10px;
  }
  nav{
    height: 150px;
  }
  .content{
    display: none;
  }
  .drawer{
    height: 150px;
  }
  .header-menu-content{
    display: none;
  }
  .navbar{
    display: block;
  }
  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(-60px);
    display: block;
  }
  .sample-wrap{
    display: block;
    margin-bottom: 30px;
  }
  .sample:nth-child(-n+2){
    margin: 0 auto;
    margin-bottom: 15px;
  }
  .sample-wrap li{
    margin: 0 auto;
  }
}
@media screen and (min-width: 1071px){
  .menu{
display: none;
  }
}
      /* タブレット用 */    
@media screen and (min-width: 601px) and (max-width: 1070px) {
  .logo{
    width: 80px;
  }
  .menu ul li:first-child{
    margin-top: 40px;
  }
  .header-nav{
    position: absolute;
    left: 0;
  }
  .number{
    padding: 0;
    left: 0;
    right: 0;
    text-align:center;
  }
  .navbar{
    display: block;
  }
  .nav{
    display: block;
  }
  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(-60px);
    display: block;
  }
  .header-menu-content{
    display: none;
  }
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
  
  main{
      padding-top: 65%;
      height: auto;
  }
  .main-wrap{
      background: rgba(0, 0, 0, 0.7);
      top: calc(((30 / 100) * 30%));
      position: absolute;
      width: 80%;
      height: auto;
      padding-bottom: 10%;
  }
  .main-wrap h1{
      font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
      color: #ffffff;
      font-size: 5vw;
      line-height: 140%;
      margin-top : calc(((30 / 100) * 30%));
      margin-left : calc(((30 / 100) * 30%));
  }
  .main-wrap .btn{
      margin-top : calc(((20 / 100) * 10%));
      margin-left : calc(((30 / 100) * 30%));
  }
  .sample-wrap{
    display: block;
    margin-bottom: 30px;
  }
  .sample:nth-child(-n+2){
    margin: 0 auto;
    margin-bottom: 15px;
  }
  .sample-wrap li{
    margin: 0 auto;
  }
}