/* =========================
   reset
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #e0e0e0;
  font-family: serif;
  color: #222;
}

/* =========================
   header
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 18px 24px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.logo {
  font-size: 56px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  margin-left: 12px;
}

/* nav */
nav {
  display: flex;
  gap: 28px;
  margin-right: 12px;
}

nav a {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

/* =========================
   hero
========================= */
.hero-spacer {
  height: 14px;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
}

.hero img {
  width: 100%;
  display: block;
}

/* =========================
   section
========================= */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
  text-align: center;
}

.section-title {
  font-size: 36px;
  letter-spacing: 0.25em;
  margin-bottom: 40px;
}

.section-image {
  width: 100%;
  display: block;
}

/* =========================
   fade animation
========================= */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   SP（スマホ）
========================= */
@media (max-width: 768px) {

  header {
    padding: 10px 12px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .logo {
    font-size: 34px;
    margin-left: 6px;
    line-height: 1;
    white-space: nowrap;
  }

  nav {
    width: 100%;
    justify-content: flex-end;
    gap: 14px;
    padding-right: 6px;
  }

  nav a {
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
  }

  .hero-spacer {
    height: 10px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}
