body {
  font-family: sans-serif;
  margin: 0;
  color: #676767;
  padding-top: 100px; /* ヘッダーの高さ分だけ余白を作る */
  padding-bottom: 10px;
  font-size: 18px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffffd9;
  padding: 15px 0;
  text-align: center;
  z-index: 1000; /* コンテンツより前面 */
  color: #CC9900;
  /* border-bottom: 1px solid #ccc; */
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px; /* ロゴとメニューの間に余白 */
}

#nav ul {
  display: none;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav a {
  text-decoration: none;
  color: #CC9900;
  padding: 10px;
}

#menu-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

h2 {
  color: #CE3937;
  font-family: La Belle Aurore, serif;
  font-size: 38px;
  margin-bottom: -16px;
}

h3 {
  text-align: left;
  margin-bottom: 3px;
}

h4 {
   margin: 0;
}

a {
  color: #CC9900;
}

p {
	line-height: 37px;
}

section {
  max-width: 900px;    /* コンテンツ幅 */
  margin: 0 auto;      /* 左右中央寄せ */
  margin-top: 0px;
  margin-bottom: 50px;
  padding-top: 20px;
  scroll-margin-top: 120px; /* ヘッダーの高さ分 */
  text-align: left;  /* 中身のテキストも中央 */
}

.item {
  margin-top: 65px;
}

footer {
	max-width: 100%;    /* コンテンツ幅 */
  margin: 0 auto;      /* 左右中央寄せ */
  text-align: center;  /* 中身のテキストも中央 */
  /* position: fixed; */
  bottom: 0;      /* 画面の最下部に固定 */
  left: 0;
  width: 100%;    /* 横幅いっぱい */
  background: #ffffff;
  text-align: center;
  color: #a7a7a7;
  padding-top: 35px;
  font-size: 14px;
}

.logo {
  text-align: center;   /* 中央寄せ */
  margin-bottom: 10px;  /* ロゴとメニューの間の余白 */
}

.logo img {
  max-width: 200px;     /* ロゴの最大幅 */
  height: auto;         /* アスペクト比維持 */
  display: inline-block;
}

/* ギャラリー */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: auto;
}

.item {
  margin-top: 100px;
}

.about_sns {
  display: flex;
  align-items: flex-start;      /* 縦位置を中央揃え */
  justify-content: left;
  gap: 20px;                /* 画像とテキストの間隔 */
  margin: 10px auto;
  max-width: 1000px;
  position: relative;
  z-index: 10;
}

.about-text p {
  margin-top: 0; /* ← これを追加 */
}

/* タブレット（768px未満）は2列 */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ（480px未満）は1列 */
@media (max-width: 480px) {
  .gallery {
    display: flex;              /* 横並びに変更 */
    overflow-x: auto;           /* 横スクロール有効化 */
    gap: 10px;
    scroll-snap-type: x mandatory; /* スクロールを気持ちよく止める */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px; /* ★ スクロールバーと画像の間に余白 */
    padding-left: 0;
    padding-right: 0;
  }

  .gallery img {
    flex: 0 0 60%; /* ← gap分を引いた固定幅 */
    width: 60%;                 /* スマホで見やすいサイズに調整 */
    scroll-snap-align: start;  /* スクロール位置を左に */
    border-radius: 8px;
  }

  /* .gallery img:first-child {
    margin-left: 20px;
  }
  .gallery img:last-child {
    margin-right: 20px;
  } */

  .item {
  margin-top: 70px;
}

  body {
  font-size: 18px;
  padding-left: 20px;
	padding-right: 20px;
  }

  p {
  font-size: 16px;
	line-height: 32px;
}

  #menu-btn {
    font-size: 36px;
    color: #676767;
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0;
  }

  #nav ul {
    margin-top: 30px; /* ハンバーガーの下にメニュー展開 */
    line-height: 50px;
    font-size: 20px;
  }
}

/* PC用レイアウト */
@media (min-width: 768px) {
  #menu-btn {
    display: none;
  }
  #nav ul {
    display: flex !important;
    justify-content: center; /* メニューを中央に配置 */
    flex-direction: row;
    gap: 20px;
  }
  .gallery {
  grid-template-columns: repeat(4, 1fr);
  }
  body {
    padding-left: 30px;
    padding-right: 30px;
  }

  .la-belle-aurore-regular {
  font-family: "La Belle Aurore", cursive;
  font-weight: 400;
  font-style: normal;
  }

}