html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Yu Mincho', 'Hiragino Mincho Pro', serif;
  background-color: #111; /* 黒背景 */
  color: #f0f0f0; /* 明るめ文字色 */
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  padding: 10px 0;
  z-index: 1000;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  display: flex;
  justify-content: center;
}

header.scrolled {
  background-color: rgba(26, 26, 26, 0.5);  /* ← 透明度アップ */
  opacity: 0.85;                            /* ← 全体も少し透過 */
}


.header-inner {
  text-align: center;
}

header h1 {
  font-size: 20px;
  color: #fff;
  margin: 0 0 5px;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #ccc;
  font-size: 16px;
}

nav a:hover {
  color: #fff;
}

main {
  padding-top: 100px;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
}

section {
  margin: 40px 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #444;
}

section h2 {
  font-size: 22px;
  color: #f5cb5c; /* 和風の金色風 */
  margin-top: 0;
}

section p, section ul {
  line-height: 1.8;
  margin-top: 10px;
  color: #ddd;
}

footer {
  text-align: center;
  font-size: 12px;
  padding: 20px;
  background-color: #1a1a1a;
  color: #aaa;
}

/* TOP画像 */
.top-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

/* ギャラリー */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.gallery img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  nav a {
    font-size: 14px;
    margin: 0 6px;
  }

  header h1 {
    font-size: 18px;
  }

  section h2 {
    font-size: 18px;
  }

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

a {
  color: #00ffd5;
  text-decoration: none;
  transition: 0.3s ease;
}
a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #00ffd5;
}