*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}
body{
  margin: 0;
  overflow-x: hidden; /* ボディ全体での横スクロールを禁止 */

}
.sentence{
  display: flex;
  margin-left: 4rem;
  margin-right: 4rem;
}
p{margin-top: 40px;

}






nav{
  display: block;
  display: flex;
  justify-content:space-between ;
  align-items: center;
  min-height: 8vh;
  background-color: white;


}
.mainpage{
  font-family: 'Nunito', sans-serif;
  margin-top: 45px;
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}
.border{
  border-top: 1px solid #ddd;
  margin-top: 35px;
  margin-right: 20px;
  margin-left:20px;
}
.img{
  max-width: 50%;
  width: 300px;
  height:200px;
  margin-top: 150px;
  width: 25%;
  margin:60px 20px;
}


.button{
  background-color: blue;
  border-radius: 5px;
  padding: 4px 20px;
  margin-top: 30px;
  width:30%;
  min-width: 150px;
  margin-left: 20px;

  font-size: 20px;
  color: #fff;
}

.word{
  font-size: 25px;
  color: #fff;
  margin-top: 30px;
  text-align: center;
  padding-top: 15px;
}

.logo{
  color: Black;
  font-size: 32px;
  font-family: 'Nunito', sans-serif;
  margin-left: 1rem;
  display: flex; /* ロゴとテキストを水平に並べる */
     align-items: center; /* 垂直方向の中央揃え */

}
.logo h5{
  position:absolute;
  margin-left: 2.2rem;
}
.nav-links{
  display: block;
  display: flex;
  justify-content: space-around;
  width: 38%;
  transition: all 0.5s ease-in-out;


}

.nav-links a{
  font-family: 'Nunito', sans-serif;
  color: #dddddd;
  text-decoration: none;
}
.nav-links a:hover{
  color: #97cdf3;
}

.nav-links li{
  list-style: none;
}


.burgger div{
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 5px;
  transition: all 0.5s ease-in-out;

}
.burgger{
  display: none;
  cursor: pointer;
  position: fixed;
  right: 2rem;
 background-color: ;
 margin-top:
 /*
 border-radius: 50%;
 padding: 10px;
*/
}

.body{
  margin: 30px;
}


.head{
  height: 60px;
  position: ;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
}
a{
  text-decoration: none;
}

.wrapper{
  max-width: 1600px;
}

h2{
  font-family: 'Nunito', sans-serif;
  margin-left: 95px;
  margin-top: 100px;
  font-size: 25px;
}

footer{
  background: #000000;
  width: 100%;
  height: 200px;
  margin: 0;
  margin-top: 30px;
  padding:0;
}

.footer-link {
  list-style: none;
  padding: 0px;
  margin-left:3.7rem;


}
.footer-link li{
  display: flex;
  align-items: center;
  margin-top: 15px;
  width:150px;
  font-size: 15px;
}

.footer-link a {
  color: #888888; /* 例: 赤色の文字 (#ff0000) */
}
.corpolation{
  margin-left:2.5rem;
  color: #888888; /* 例: 赤色の文字 (#ff0000) */
  font-size: 15px;
  margin-top: 15px;


}
.linksns{
  margin-right: rem;
  margin-top: 15px;

display: flex;
gap:15px;
}
.linksns a{
  color: #888888;
  font-size: 20px;
}
.k{
  color: black;
  font-size: 2px;
}
.footernav{
  display: flex;
  flex-direction: column;

  align-items: center;

}

su{
  position: absolute;
  z-index: 0;
  left: 0;
  top: 128px;
  width: 100%
  ;
}

body{
  margin-bottom: 0px;
}




a:hover{
  color: #97cdf3
}
a{
  color: #2b2bff;
}

.nav-active{
  transform: translateX(0%)!important;
}
/*スマホ画面*/

@media screen and (max-width: 1024px){
 .nav-links{
   width:55%;
 }
 body{
   overflow-x: hidden;
 }
}

@media screen and (max-width: 883px){
 body{
   overflow-x:hidden ;
 }

 .nav-links{
   font-size: 22px;
   position: fixed;/*ここをabsoluteにするとサイトが右スクロールしてしまう*/
   margin-right: ;
   right:0 ;


   height:100vh;

   background-color:#FFF;
   flex-direction: column;
   justify-content: center;
   top:0px;
   align-items: center;

   width:100%;
   transform: translateX(100%);
　
   min-width:100%;/*ハンバーガーメニューの横幅*/
   min-height: 100%;
　opacity: 0;
 }
.nav-links li{
  opacity:0;
  border-bottom: 1px solid #FFF; width: 5rem;
  padding:12px;
  margin-right: 20%;
  white-space: nowrap;



}
.burgger{
  display: block;
}
.logo{/*タイトル文章（samplehouse）*/
text-align: left;
white-space: nowrap;


}

.mainpage{
  margin-top: 35px;
  font-size: 30px;

}
.list{
  margin-top: 20px;
}

nav{
  min-height: 10vh;/*ヘッダーの高さを固定*/

}
h2{
  margin-top: 100px;
  font-size: 32px;
}

h4{
  font-size: 25px;/*タイトルsamplehouseの文字サイズ*/
  margin-left: 0.2rem;

}
.genre{
  font-size: 18px;
}
.genretext{
  font-size: 12px;
}
.category{
  display: block;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 1px;
  margin-bottom:
}
.image{
  width: 160px;
  height: 160px;
}
.box{
  font-size: 20px;
}

.newsample{
  margin-top: 12px;
  font-size: 18px;
}
.word{
  margin-top: 30px;
  padding-top: 15px;
}
.corpolation{
  font-size: 10px;
  margin-right: 2rem;
}
.footer-link li{
  font-size: 10px;
}
.linksns a{
  font-size: 18px;
  margin-right: 0.4rem;
}
.linksns{
  gap:10px;
}
/* スマートフォン用のスタイル */
  .container {
    width: 100%; /* 100%幅にすることで、親要素に合わせた幅になります */
    max-width: 100%; /* 必要に応じて最大幅を指定します */
    padding: 0; /* 余白やパディングを適切に調整することも重要です */
  　}
  div.top img{

    margin-top: 100px;
    height: 280px;
  }

}






@keyframes navLinksFade {
  0%{
    opacity: 0;
    transform: translateX(50px);
  }
   100%{
     opacity: 1;
     transform: translateX(0);
   }
}

.toggle .line1{
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2{
  opacity: 0;
}
.toggle .line3{
  transform: rotate(405deg) translate(-5px,-6px);
}
