:root {
  --bg: #FFF;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #111827;
  --border-subtle: rgba(17, 24, 39, 0.08);
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.page-inner {
  position: relative;
  z-index: 0;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 100%;
  margin-inline: auto;
  /* padding-inline: clamp(20px, 6vw, 40px); */
}

/* 背景画像：実際のファイルパスに差し替えてください */
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("./product.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.96)
  );
  backdrop-filter: blur(5px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 40%;
  background: radial-gradient(circle at 30% 0, #e5e7eb 0, #9ca3af 40%, #f3f4f6 100%);
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.logo-text {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.main {
  background-color: #e2e2ea;
  padding: 80px 0 0px;
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(28px, 7vh, 40px) clamp(18px, 5vw, 32px) 0;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #f3f4f6;
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d1d5db;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw + 8px, 34px);
  line-height: 1.2;
}

.hero-title img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.hero-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 30rem;
}

.main-image {
  position: relative;
  width: 100%;
  z-index: 1;
  transform: translateY(-40px);
}

.main-image img {
  display: block;
  width: 100%;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  margin-top: 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.button.primary {
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
  gap: 8px;
}

.button.primary::after {
  content: "→";
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.button.primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
}

.button:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.footer {
  background-color: #FFF;
  padding: 64px 0;
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright {
  letter-spacing: 0.16em;
}

@media (max-width: 1000px) {
  .hero {
    padding: 24px 18px 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 0px 18px 80px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-title img {
    width: 80%;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .main-image {
    transform: translateY(-40px);
  }
}

