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

}
.scroll-container::-webkit-scrollbar{
  display: none;

}
.scroll-container {
  overflow-x: auto; /* .scroll-container内でのみ横スクロールを有効にする */

  scrollbar-width:none;/*スクロールバーを非表示にする*/

  white-space: nowrap; /* 行内要素の折り返しを防ぐ */
  width: calc(100% - 40px); /* 左右に10pxの余白を持たせる */
  display: flex; /* 画像を横に並べるために Flexbox を使用 */
  gap: 15px; /* 画像間の間隔を設定 */
  margin-left:20px;
  margin-top:20px;

      }

      .image {
          height: 230px;
          width: 230px; /* 幅を親要素に合わせる */
          max-width: 450px; /* 画像の最大幅を設定 */
              max-height: 350px; /* 画像の最大高さを設定 */
border-radius: 10px;
            object-fit: cover; /* 画像のアスペクト比を保ちつつ、コンテナいっぱいに表示 */
      }
      .image-container{

        position: relative;
        display: inline-block;

        width: 230px; /* コンテナの幅を画像に合わせる */
                 height: 230px; /* コンテナの高さを画像に合わせる */
                 max-width: 450px; /* 最大幅を画像に合わせる */
                 max-height: 350px; /* 最大高さを画像に合わせる */
      }
      .overlay {
                  position: absolute;
                  top: 0;
                  left: 0;
                  width: 100%;
                  height: 100%;
                  background-color: rgba(0, 0,0 , 0.6); /* うっすらとグレー */
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  color: white;
                  font-size: 15px;
                  text-align: center;
                  border-radius: 10px;
                  box-sizing: border-box;
                  overflow: hidden; /* オーバーレイ内のコンテンツがはみ出さないように */
                  padding: 10px; /* 内側に余白を追加 */

              }


.genre{
  margin-top: 20px;
  font-size: 20px;
  margin-left: 20px;

}
.genretext{
  margin-left: 20px;
  margin-right: 20px;
  color:#999;
  margin-top:5px ;

  font-weight: 200;
}
.description2{
  color: #999;
  font-weight: 200;
  font-size: 13px;
}
.newsample{
  margin-top: 72px;
  font-size: 20px;
  margin-left: 20px;
  font-weight: normal;


}
.donatebutton{
  margin-left: 20px;
  font-size: 25px;
  font-weight: normal;
  margin-top: 10px;
  position: fixed;
  z-index: 999;
  top: 62px; /* 初期のtop位置を指定 */
  transition: top 0.3s ease; /* スムーズな移動のためのトランジション */
}
.butto{
  background-color: blue;
  border-radius: 45px;
  padding:10px ;
  margin-top: px;
  width:40%;
  min-width: 180px;

  font-size: 20px;
  color: #fff;
}
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: 60px;
  text-align: center;
  font-size: 20px;
}
.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;
}
.explanation{
  width: 28%;
  float: right;
  margin-top: 20px;
  margin-right: 2%;
  color: white;
}
.categorydocument{
  display: flex;
  flex-direction: column;
}
.list{
background-color: #dddddd;
height: 300px;
margin: 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: 280px;
  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;
z-index: 9999; /* 他の要素よりも前面に表示 */

 }
.nav-links li{
  opacity:0;
  border-bottom: 1px solid #FFF; width: 5rem;
  padding:12px;
  margin-right: 20%;
  white-space: nowrap;
  z-index: 9999; /* 他の要素よりも前面に表示 */




}
.burgger{
  display: block;
  z-index: 9999; /* 他の要素よりも前面に表示 */

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


}

.mainpage{
  margin-top: 55px;
  font-size: 20px;

}
.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: 150px;
  height: 150px;
}
.image-container{
  position: relative;
  display: inline-block;
  width: 150px; /* コンテナの幅を画像に合わせる */
           height: 150px; /* コンテナの高さを画像に合わせる */
           max-width: 450px; /* 最大幅を画像に合わせる */
           max-height: 350px; /* 最大高さを画像に合わせる */
}
.box{
  font-size: 20px;
}

.newsample{
  margin-top: 70px;
  font-size: 18px;
}

.word{
  margin-top: 30px;
  padding-top: 15px;
}
.corpolation{
  font-size: 10px;
  margin-right: 2rem;
}
.footer-link li{
  font-size: 10px;
}
footer{
  height: 240px;
}
.overlay{
  font-size: 12px;
}

.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);
}
