body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.9;
  font-size: 1.05em;
}

header {
  background-color: #fff;
  padding: 2em 2em 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

header h1 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

nav {
  margin-top: 0.2em;
}

nav a {
  margin-right: 1.8em;
  font-size: 1.05em;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #c00;
}

.hero-banner {
  position: relative;
  background-image: url("https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRFfWMSMGYxLrh75pfsjKZ2zzHjC9UvaKTYGnXokGTEw0tUDwmPNn_oegvqj70-ggunnr4CsnXoAoZk4fYTMPUvp6QVSieLLcVcoRcdUFQb");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.25);
}

.hero-banner h2 {
  font-size: 2.8em;
  font-weight: 700;
  z-index: 1;
  margin-bottom: 0.3em;
}

.hero-banner p {
  font-size: 1.3em;
  z-index: 1;
}

main {
  padding: 4em 2em;
  max-width: 1000px;
  margin: 0 auto;
}

section {
  margin-bottom: 3.5em;
}

h3 {
  border-left: 6px solid #c00;
  padding-left: 1em;
  font-size: 1.6em;
  margin-bottom: 1em;
  color: #c00;
}



section[id] {
  scroll-margin-top: 120px; /* ヘッダーの高さ分（調整可能） */
}


.anchor-offset {
  position: relative;
  top: -200px;   /* ヘッダー＋余白の高さ分マイナス */
  height: 0;
}


.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fadein.visible {
  opacity: 1;
  transform: translateY(0);
}
