* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #292929;
  background: #faf9f7;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  font-size: 0.9rem;
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 80px 20px;
  background:
    linear-gradient(
      135deg,
      #f3eee7,
      #e5edf0
    );
}

.hero-inner {
  width: min(900px, 100%);
}

.hero-label {
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.hero-text {
  max-width: 600px;
  margin: 28px 0;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  color: #fff;
  background: #292929;
  border-radius: 999px;
  text-decoration: none;
}

.button:hover {
  opacity: 0.8;
}

.section {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
}

.section h2 {
  margin-top: 0;
  font-size: 2rem;
}

.blog-link {
  border-top: 1px solid #d8d8d8;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 36px 20px;
  text-align: center;
  border-top: 1px solid #d8d8d8;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .site-header {
    display: block;
    padding: 18px 0;
  }

  .site-header nav {
    gap: 16px;
    margin-top: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero {
    min-height: 65vh;
  }

  .section {
    padding: 70px 0;
  }
}