*{
  font-family:  'Amiri', serif,'Sawarabi Mincho', sans-serif;
  }
  h2{
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.5rem;
  margin: 20px;
  }
  body{
  background-color: #f4f3f6;
  color: #5e5e5e;
  }
  .inner{
  width: 90%;
  max-width: 1180px;
  margin: auto;
  }
  .text_ju{
  text-align: justify;
  }
  .text_ri{
  text-align: right;
  }
  .text_le{
  text-align: left;
  }
  img{
  max-width: 100%;
  }
  a{
  color: inherit;
  text-decoration: none;
  }
/*ここからヘッダー*/
/* ナビゲーションのためのCSS ==*/
#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top:0;
  right: -120%;
  width:100%;
  height: 100vh;/*ナビの高さ*/
  background:rgba(77, 54, 20, 0.9);
  /*動き*/
  transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive{
  right: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  }
  /*リストのレイアウト設定*/
  #g-nav li{
  list-style: none;
  text-align: center;
  }
  #g-nav li a{
  color: #fff;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  }
  .tel{
  text-decoration-line: underline;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:50px;
  }
  /*×に変化*/
  .openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
  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 span:nth-of-type(3)::after{
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:5px;
  left:-2px;
  color:#fff;/*open/closeの文字の色変えるとこ*/
  font-size: 0.6rem;
  text-transform: uppercase;
  }
  .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%;
  }
  .openbtn.active span:nth-of-type(3)::after {
  content:"Close";/*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  top:5px;
  left:4px;
  }
  /*--ここまでコピペ分---------------------------------------------------------------*/
  /*=======ここから開閉した部分の調整分======================================================*/
  .panelactive{
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  }
  #g-nav{
  width: 300px;/*開閉したnavの横幅を狭くするためのwidth*/
  /*height: 800px;nav部分の縦幅。字の大きさ変えたら変わるので800pxはテキトー*/
  }
  h1 img{
  width: 100px;
  margin:20px 0 0 20px;/*左寄せにするためのマージン調整*/
  }
  h1{
  margin-top: 0;
  margin-bottom: 0;
  }
  body{
  margin: 0;
  }
  nav img{
  width: 150px;
  }
  ul {
  width: 100%;
  padding: 0;
  margin: 0;
  }
  ul p{
  line-height: 1.5;
  text-align: center;
  font-size: 16px;
  color: #fff;
  padding-top: 20px;
  }
  ul p a{
  font-size: 20px;
  }
  ul li{
  width: 300px;
  line-height: 1;
  font-size: 18px;
  }
  .tel a{
    font-size: 20px;
  }
  ul li span{
  font-size: 10px;
  }
  header{
  background-color: rgba(77, 54, 20, 0.76);
  z-index: 999;
  position: fixed;
  width: 100%;
  }
/*ここまでヘッダー*/

/*ここからフッター*/
footer{
  text-align: center;
  margin-top: 100px;
  }
  .in_footer_logo{
  width: 40%;
  margin: 0 auto;
  }
  .in_footer{
  display: flex;
  justify-content: center;
  align-items: center;
  }
  .in_footer p{
  font-size: 20px;
  margin-right: 15px;
  }
  .in_footer figure{
  padding: 10px;
  }
  /*SPの時PC用のフッターは表示させない*/
  .pc_only{
  display: none;
  }
/*ここまでフッター*/

   /*ここから480px～900px のメディアクエリーーーーーーーーーーーーーーーーーーーーーーーーーー*/
@media (min-width:480px) and (max-width:900px){
  /*ここからヘッダー部分*/
    #g-nav{
      width: 40%;
    }
    .openbtn{
      right: 50px;
    }
    h1 img{
      margin-left: 60px;
    }
    ul p{
      font-size: 12px;
      }
  /*ここまでヘッダー部分*/

  /*ここからフッター部分*/
.sp_only{
  display: none;
}
.pc_only{
  display: block;
}
.in_footer_logo{
  width: 20%;
  margin: 30px auto 10px auto;
  }
  .in_footer_info{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  .in_footer_p{
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid #5e5e5e;
  }
  .in_footer_info p{
    padding-left: 10px;
    margin-top: 20px;
  }
   /*ここまでフッター部分*/
}

/*ここから901px～ の大型タブレット、PC用メディアクエリーーーーーーーーーーーーーーーーーーーーーーーーーー*/
  @media (min-width:901px){
  h2{
  font-size: 40px;
  }
  h3{
  font-size: 28px;
  }
  p{
  font-size: 18px;
  }
  th,td{
  font-size: 18px;
  }
  /*ここからヘッダー部分*/
  #g-nav{
    width: 30%;
  }
  .openbtn{
    right: 100px;
  }
  h1 img{
    margin-left: 100px;
  }
  nav li{
   margin-left: 50px;
   font-size: 16px;
  }
  nav p{
   font-size: 14px;
  }
  nav p span{
    font-size: 16px;
    padding-bottom: 10px;
  }
  nav img{
    width: 140px;
  }
   /*ここまでヘッダー部分*/
  
  /*ここからフッター部分*/
  .sp_only{
    display: none;
    }
    .pc_only{
    display: block;
    }
    .in_footer_logo{
    width: 15%;
    margin: 30px auto 10px auto;
    
    }
    .in_footer_info{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    }
    .in_footer_p{
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid #5e5e5e;
    }
    .in_footer_info p{
    padding-left: 10px;
    margin-top: 20px;
    }
    a[href^="tel:"]{
      pointer-events: none;
}
  }