/* =========================
   Reset
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;

  color: #222;
  background: #fff;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================
   Common
========================= */

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-light {
  background: #f5f5f5;
}

.section-label {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.15em;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.2;
}

h2 {
  margin-bottom: 30px;
  font-size: 36px;
}

h3 {
  margin-bottom: 15px;
  font-size: 22px;
}


/* =========================
   Header
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-weight: bold;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.5;
}


/* =========================
   Hero
========================= */

.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 70px;
  background: #eeeeee;
}

.hero-subtitle {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.hero p {
  margin-bottom: 30px;
}


/* =========================
   Button
========================= */

.button {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #222;
  background: #222;
  color: #fff;
  transition: 0.3s;
}

.button:hover {
  background: #fff;
  color: #222;
}


/* =========================
   Cards
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  padding: 30px;
  background: #fff;
}


/* =========================
   Footer
========================= */

.footer {
  padding: 30px 0;
  background: #222;
  color: #fff;
  text-align: center;
}

.footer p {
  font-size: 14px;
}


/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

  .header-inner {
    height: 60px;
  }

  .nav {
    gap: 15px;
    font-size: 14px;
  }

  .section {
    padding: 70px 0;
  }

  h2 {
    font-size: 30px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

}