@charset "UTF-8";




@media (min-width: 600px) {
  HTML{
    margin: 0;
    padding: 0;
  }
  body{
    padding-top:60px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
  }
  
  /* ヘッダー部分 */
  
  header{
    margin: 0;
    padding: 0;
    width: 100%; /* 幅いっぱいを指定 */
    height: 60px; /* 高さを50pxに指定 */
    background:rgba(255,255,255,0.7);;
    box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    position: fixed; /* ウィンドウを基準に画面に固定 */
    top: 0; /* 上下の固定位置を上から0pxにする */
    display: flex; /* 中の要素を横並びにする */
    justify-content:space-between;
    padding-top: 5px;
  }
  
  .main-logo{
    display: block;
    height: 48px;;
  }
  
  nav ul{
    font-size:16px;
    list-style: none;
    margin:0;
    padding:0 ;
    display:flex;
  
  }
  
  nav a{
    color:tomato;
    text-decoration:none;
    width: 120px;
    text-align: center;
    line-height:56px ;
    display: block;
  }
  
  nav a:hover{
    background-color: tomato;
    color:white;
    font-size: 20px;
  }
  
 .menu-btn{
  display: none;
 }

 
 /* 全体 */
 main{
   text-align: center;
   /* background-color: aqua; */
   margin:0 40px 0 40px;
   color: rgb(51, 51, 51);
 }

h1{
  padding-top: 104px;
  font-size: 200%;
  font-weight: 300;
  letter-spacing:1px;
  font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック","Toppan Bunkyu Gothic","凸版文久ゴシック";
}

/* ライン */
.line{
  border-style: solid;
  width: 400px;
  color: tomato;
  margin-bottom: 80px;
}

.line2{
  border-style: solid;
  width: 200px;
  color: tomato;
  margin-bottom: 8px;
}

.item-img{
  padding: 40px 0px;
}
.item-img2{
 padding: 40px 0px;
}

h3{
  font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック","Toppan Bunkyu Gothic","凸版文久ゴシック";
}

/* 本文 */

.syousai{
display: flex;
flex-flow: column;
justify-content: center;
font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック","Toppan Bunkyu Gothic","凸版文久ゴシック";
padding-top: 80px;
padding-bottom: 160px;
}

.item{
  text-align: left;
  margin-bottom: 16px;
}


h3{
  margin:0;
  padding:0;

}
p{
  margin:0;
  padding:0;
}

.line{
text-align: center;

}


/* 戻る */

.back{
 padding-bottom: 160px;
}

.to-work{
  margin: auto;
  width: 150px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size:16px;
  text-decoration:none;
  display:block;
  
  color:rgba(255, 99, 71, 0.5);
  /* background-color: aqua; */
}

.to-work:hover{
  color:tomato;
  font-size: 20px;
}

/* 矢印 */
.yazirusi {
  margin-top: -10px;

  color:tomato;
  display:flex;
  justify-content: center; 
} 
.yazirusi::after {
  content: '';
  width: 160px;
  height: 15px;
  border-bottom: solid 1px;
  border-left: solid 1px;
  transform: skew(-45deg);
}

/* フッター */

footer{
  margin: auto;
  text-align: center;
  background-color: tomato;
  padding:64px 0px;
}

footer p{
  color: white;
  font-size: 16px;
  padding-top: 8PX;
}
}

/* スマホ */

@media (max-width: 599px) 
{

  html{
    height: 100%;

  }
  
  body{
    height: 100%;
    margin: 0;
    width: 100%;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  }

  header{
    position: fixed;
    width: 100%;
    top:0;
  }

  .mainlogo{
    margin-left: 0;
    margin-right: 0;
    height: 64px;
    display: block;
    text-align: center;
    background-color: white;
  }

  .main-logo{
    height:32px;
    margin-top: 16px;
    margin-bottom: 16px;
  }

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


  #checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
  }

  .menu-01,
    .menu-01 span {
      display: inline-block;
      transition: all 0.4s;
      box-sizing: border-box;
      position: relative;
      z-index: 100;
    }
    .menu-01 {
      right: 8px;
      top: 24px;
      position: absolute;
      width: 32px;
      height: 26px;
      background: none;
      border: none;
      appearance: none;
      cursor: pointer;
    }
    .menu-01 span {
      position: absolute;
      left: 0;
      width: 100%;
      height: 4px;
      background-color:tomato;
      border-radius: 4px;
    }
    .menu-01 span:nth-of-type(1) {
      top: 0;
    }
    .menu-01 span:nth-of-type(2) {
      top: 11px;
    }
    .menu-01 span:nth-of-type(3) {
      bottom: 0;
    }

    /*チェックボックスにチェックが入ったら*/
    #checkbox:checked + label span:nth-of-type(1) {
      transform: translateY(11px) rotate(-45deg);
    }
    #checkbox:checked + label span:nth-of-type(2) {
      opacity: 0;
    }
    #checkbox:checked + label span:nth-of-type(3) {
      transform: translateY(-11px) rotate(45deg);
    }
  nav {
    display: none;
  }
  #checkbox:checked + label + nav {
    display: block;
  }


  /* チェックボックス内 */

  nav ul{
    background-color:tomato;
    width: 30%;
    position: absolute;
    right: 16px;
    font-size:16px;
    list-style: none;
    margin:0;
    padding:0 ;
    display:flex;
    padding: 8px;
    flex-direction: column;
  }


  nav a{
    margin-left: 0;
    margin-right: 0;
    background-color: white;
    color:rgb(255, 99, 71);
    text-decoration:none;
    width: 100%;
    text-align: center;
    line-height:56px ;
    display: block;
  }

  nav a:hover{
    background-color: rgb(255, 99, 71,0.3);
    color:white;
    font-size: 20px;
  }


  
  /* ライン */
  .line{
    border-style: solid;
    width:calc(100% - 160px);
    color: tomato;
    margin-bottom: 40px;
  }
  .line2{
   border-style: solid;
   width:calc(100% - 240px);
   color: tomato;
   margin-bottom: 8px;
  }
  
  /* 全体 */
 main{
  text-align: center;
  /* background-color: aqua; */
  margin:0px 32px 0px 32px;
  color: rgb(51, 51, 51);
}

h1{
 padding-top: 104px;
 font-size: 7vmin;
 font-weight: 500;
 letter-spacing:1px;
 font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック","Toppan Bunkyu Gothic","凸版文久ゴシック";
}




.item-img{
  padding: 40px 0px;
  width:90%;
}

.item-img2{
  padding: 16px 0px;
}

h3{
 font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック","Toppan Bunkyu Gothic","凸版文久ゴシック";
}

/* 本文 */

.syousai{
display: flex;
flex-flow: column;
justify-content: center;
font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック","Toppan Bunkyu Gothic","凸版文久ゴシック";
padding-top: 80px;
padding-bottom: 104px;
}

.item{
 text-align: left;
 margin-bottom: 16px;
}


h3{
 margin:0;
 padding:0;

}
p{
 margin:0;
 padding:0;
}

.line{
text-align: center;

}



/* 戻る */

.back{
padding-bottom: 160px;
}

.to-work{
 margin: auto;
 width: 150px;
 font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
 font-size:16px;
 text-decoration:none;
 display:block;
 
 color:rgba(255, 99, 71, 0.5);
 /* background-color: aqua; */
}

.to-work:hover{
 color:tomato;
 font-size: 20px;
}

/* 矢印 */
.yazirusi {
 margin-top: -10px;

 color:tomato;
 display:flex;
 justify-content: center; 
} 
.yazirusi::after {
 content: '';
 width: 160px;
 height: 15px;
 border-bottom: solid 1px;
 border-left: solid 1px;
 transform: skew(-45deg);
}

/* フッター */

footer{
 margin: auto;
 text-align: center;
 background-color: tomato;
 padding:64px 0px;
}

footer p{
 color: white;
 font-size: 16px;
 padding-top: 8PX;
}
}