* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

body {
  line-height: 1.7;
  color: #333;
  background-color: #eef3f8;
  scroll-behavior: smooth;
}

/* ===== Header ===== */
header {
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 10px 20px;
}

.logo {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  background: #0078d7;
  color: white;
}

/* ===== Hero ===== */
#hero {
  background: 
    linear-gradient(rgba(0, 120, 215, 0.25), rgba(0, 0, 0, 0.25)),
    url('../images/hero.png') center/cover no-repeat;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

#hero h1 {
  font-size: 2.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 30px;
  border-radius: 8px;
  text-shadow: 0 0 8px rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
}

/* ===== Main Modules ===== */
.modules {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.module {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 40px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.module.show {
  opacity: 1;
  transform: translateY(0);
}

.module h2 {
  color: #0078d7;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.module p, .module li {
  font-size: 1rem;
  color: #444;
}

.module ul {
  list-style: disc;
  margin-left: 20px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 25px;
  background: #0078d7;
  color: white;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 1.8rem;
  }
  .module {
    padding: 25px;
  }
}
