@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;
   color: rgb(51, 51, 51);
 }

h1{
  padding-top: 104px;
  font-size: 300%;
  font-weight: 300;
  letter-spacing:1px;
}

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




/* 内容 */

.lead-blog{
  font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック";

}


.container{
  padding: 80px 16px 80px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap:32px;
  list-style-type: none;
  justify-content: center;
  place-items: center;
}

.item-blog{
  width: 270px;
}

.item-data{
  text-align: right;
  font-weight: 200;
  letter-spacing:1px;
}


.item-img:hover {
  opacity:0.5;
}

.title {
    font-size: 16px;
    letter-spacing:1px;
    font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック";
    font-weight: 600;
    padding-bottom: 8px;
  }









 /* 戻る */

 .back{
  padding: 80px 0px;
 }
 
 .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;
  }

/* 全体 */
main{
  width: 100%;
  text-align: center;
  color: rgb(51, 51, 51);
}

h1{
padding-top: 104px;
font-size: 300%;
font-weight: 300;
letter-spacing:1px;
}

/* ライン */
.line{
border-style: solid;
width:calc(100% - 160px);
color: tomato;
margin-bottom: 104px;
}
/* 内容 */

.lead-blog{
  font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック";
}


.container{
  padding: 80px 16px 80px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr) center);
  gap:32px;
  list-style-type: none;
  justify-items: center;
}

.item-blog{
  padding: 16px 0px;
  width: 270px;
}

.item-data{
  text-align: right;
  font-weight: 200;
  letter-spacing:1px;
}


.item-img:hover {
  opacity:0.5;
}

.title {
    font-size: 16px;
    letter-spacing:1px;
    font-family: "Tsukushi A Round Gothic","筑紫A丸ゴシック";
    font-weight: 600;
    padding-bottom: 8px;
  }



 /* 戻る */

 .back{
  padding: 80px 0px;
 }
 
 .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;
}

}