*{
    margin: 0;
    padding: 0;
    }
    
  body{
    font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    }

  h1, h2, h2, h3, h5, h6{
     font-size: 100%; 
     color:gray;
     letter-spacing: .06em;
    }

  li{
    list-style-type: none;
  }

  table{
    border-collapse: collapse;
    border-spacing: 0;
  }
     
  img{
    border: none;
    display: block;
  }

  a {
    color:#3e3a39;
    text-decoration: none;
  }

  p{
    color:#3e3a39;
  }

  .forum-regular {
  font-family: "Forum", serif;
  font-weight: 400;
  font-style: normal;
  color:#3e3a39;
  letter-spacing: .06em;
}

 .pc-only {
  display: none;
 }
    

 /* スマホヘッダーーーーーーーーーーーーーーーーー */

  #header_area{
   height: 65px;
   width: 100%;
   position: fixed;
   z-index: 1000;
   top: 0;
   background-color:white;
   opacity: 0.9;
  }

  .header_line img{
    position: relative;
    height:55px;
    margin-top: 10px;
    margin-left: 20px;
  }

  .header_line a{
    position: absolute;
    top: 23px;
    font-size:18px;
    padding:0;
    margin:0;
    margin-left: 75px;
  }

.header_line a:hover{
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  


  /* ハンバーガーメニューーーーーーーーーーーーーーーーーー */

  #nav-toggle {
    position: fixed;
    z-index: 1001;
    top: 20px;
    right: 30px;
    height: 25px;
  }
  
  #nav-toggle>div {
    position: relative;
    width: 30px;
  }
  
  #nav-toggle span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background:#3e3a39;
    position: absolute;
    transition: transform .6s ease-in-out, top .5s ease;
  }
  
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  
  #nav-toggle span:nth-child(2) {
    top: 10px;
  }
  
  #nav-toggle span:nth-child(3) {
    top: 20px;
  }
  
  .open #nav-toggle span {
    background:#3e3a39;
  }
  
  .open #nav-toggle span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }
  
  .open #nav-toggle span:nth-child(2) {
    top: 15px;
    width: 0;
    left: 50%;
  }
  
  .open #nav-toggle span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
  }



  #global-nav {
    background: #f9f9f9ed;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
    color:#3e3a39;
    letter-spacing: .06em;
    font-size: 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
  }
  
  .open #global-nav {
    visibility: visible;
    opacity: 1;
  }
  
  .open #global-nav ul {
    opacity: 1;
    transform: translateY(0);
  }
  
  #global-nav a {
    position: relative;
    display: block;
    color: #3e3a39;
    text-decoration: none;
    padding-bottom: 30px;
    transition: color .6s ease;
  }
  
  #global-nav ul {
    opacity: 0;
    list-style: none;
    text-align: center;
    transform: translateX(200px);
    transition: all .8s ease;
  }

  #global-nav ul li {
  margin: 18px 0;
  font-size: 24px;
}
  
  .nav_btn :hover{
    opacity: 0.7;
   }

  .nav_btn2 a img{ 
    width: 25px;
     margin-left: auto;
     margin-right: auto;
  }
  
  .nav_btn2 :hover{
    transition: all 0.3s ease;
    transform: scale(1.1,1.1);
    opacity: 0.8;
   }

 /* スマホメインーーーーーーーーーーーーーーーーーー */

  body{
  width: 100%;
  max-width:767px;
  }

 #works_bg{
  width: 95%;
  max-width:700px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 90px;
  }


 h2 img{
  width: 85%;
 }

 #workst_nav{
  width: 95%;
  margin-top: 14px;
  padding-left: 30px;
 }

#workst_nav a{
 letter-spacing: 1px;
 font-size: 12px;
 font-family: 'Times New Roman', Times, serif;
}

#workst_nav a:nth-child(1){
  color: rgb(183, 183, 183);
}

#workst_nav a:hover{
  opacity: 0.7;
  color: #3e3a39;
}

#main_img{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

#works_textbg{
  width: 90%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

h3{
  font-size: 21px;
  padding-left: 16px;
}


.line{
  width:100%;
  margin-left: auto;
  margin-right: auto;
}

#works_textarea{
  width: 90%;
  max-width: 700px;
}

#works_textarea p:nth-child(1){
  margin-top: 16px;
  font-size: 12px;
  padding-left: 16px;
}

#works_textarea p:nth-child(2){
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.8em;
  padding-left: 16px;
}

.worksimg_area_bg{
  width: 90%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.worksimg_area_bg p{
  padding-left: 16px;
  font-size: 14px;
}

.worksimg_area{
  width: 90%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.worksimg_area img{
  width: 100%;
  margin-top: 16px;
}


#works_btn{
  width: 150px;
  height: 38px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  border:1pt solid gray;
  border-radius: 6px;
}

#works_btn p{
  font-size: 16px;
  text-align: center;
  margin-top: 7px;
}

#works_btn:hover{
  height: 38px;
  opacity: 0.8;
  background-color: rgb(225, 225, 225);
  transition: all 0.7s ease;
 }

#works_btn p:hover{
 transform: scale(1.1,1.1);
 transition: all 0.7s ease;
 }

#works_btn p:hover{
 transform: scale(1.1,1.1);
 transition: all 0.7s ease;
 }


/* スマホFooterーーーーーーーーーーーーーーーーーー */

#footer_bg{
  width: 100%;
  max-width:767px;
  margin-top: 50px;
}

#footer_line img{
  width: 100%;
  max-width:767px;
  position: relative;
}

#f_nav_bg{
 width: 90%;
 max-width: 550px;
 position: absolute;
 margin-top: -40px;
 overflow: hidden;
}

#footer_nav{
 width: 80%;
 max-width: 500px;
 margin-top: 25px;
 margin-left: 30px;
 overflow: hidden;
}

#footer_nav a{
  font-size: 10pt;
  padding-left: 5px;
  padding-right: 5px;
  border-right: 1px solid #3e3a39;
}

#footer_nav a:nth-child(5){
  border:none
}

#footer_nav :hover{
  opacity: 0.7;
} 


#copy{
  width: 90%;
  max-width: 550px;
  height: 50px;
  margin-top: 50px;
  margin-left: 30px;
  font-size: 12px;
  letter-spacing: 1px;
 }
