:root {
  color-scheme: light;
  --bg: #fbfff8;
  --surface: #ffffff;
  --surface-2: #edf7df;
  --text: #20301d;
  --muted: #65725f;
  --line: #d9e8ca;
  --accent: #7cb342;
  --accent-strong: #4e8d2c;
  --warning: #9f5e00;
  --shadow: 0 18px 48px rgba(64, 96, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body[data-mode="truth"] {
  color-scheme: dark;
  --bg: #050806;
  --surface: #101511;
  --surface-2: #161d18;
  --text: #e4eadf;
  --muted: #94a092;
  --line: #29342b;
  --accent: #1f6b3a;
  --accent-strong: #8fbf72;
  --warning: #d4d8a2;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 20%);
  background: color-mix(in srgb, var(--bg), transparent 6%);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 38%, var(--surface) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent), #fff 35%);
}

.site-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--accent-strong);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 7vw, 88px) clamp(18px, 4vw, 56px);
}

.hero-copy {
  max-width: 670px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 8vw, 6.2rem);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.22;
}

h4 {
  margin-bottom: 10px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.text-button {
  min-height: 44px;
  border-radius: 8px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
}

.text-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent-strong);
  padding: 8px 14px;
  font-weight: 800;
}

.hero-media,
.image-panel {
  overflow: hidden;
  min-width: 0;
  min-height: 360px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media {
  aspect-ratio: 16 / 10;
  margin: 0;
}

.section {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.intro,
.news,
.columns {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
}

.service-grid,
.product-grid,
.article-list {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.product-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(40, 62, 32, 0.08);
}

.card,
.article-card {
  padding: 20px;
}

.card p,
.article-card p,
.product-card p {
  color: var(--muted);
}

.product-card {
  display: grid;
  min-height: 310px;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

button.product-card {
  border-color: var(--line);
  cursor: pointer;
}

.product-image {
  height: 150px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent), #fff 72%), var(--surface-2));
  color: var(--muted);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.product-body {
  padding: 16px;
}

.price {
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 900;
}

.stars {
  color: var(--warning);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.panel {
  border-radius: 8px;
  min-width: 0;
}

.text-panel {
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.shop .section-heading {
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-media {
  overflow: hidden;
  min-height: 430px;
  border-radius: 8px;
  background: var(--surface-2);
}

.detail-copy {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.usage-block {
  margin: 20px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--surface-2);
}

.usage-block ul {
  margin: 0;
  padding-left: 1.3em;
}

.caution {
  margin: 14px 0 0;
  color: var(--warning);
  font-size: 0.92rem;
}

.review {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.review p {
  margin-bottom: 0;
}

.contract-link {
  display: block;
  margin: 36px 0 0 auto;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--muted), transparent 42%);
  cursor: pointer;
  font-size: 0.76rem;
}

.share-section {
  padding: 28px clamp(18px, 4vw, 56px) 80px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.altered-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(5px);
}

.altered-overlay.is-visible {
  display: grid;
}

.overlay-panel {
  width: min(420px, calc(100vw - 36px));
  min-height: 170px;
  border: 1px solid #88a681;
  border-radius: 8px;
  background: #071009;
  color: #e9f2e5;
  cursor: pointer;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.overlay-panel span {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
}

.overlay-panel small {
  color: #9fb39d;
}

body[data-mode="truth"] .brand-mark {
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.16) 47% 53%, transparent 54%),
    linear-gradient(180deg, var(--accent-strong), var(--accent));
}

body[data-mode="truth"] .product-card,
body[data-mode="truth"] .card,
body[data-mode="truth"] .article-card,
body[data-mode="truth"] .text-panel,
body[data-mode="truth"] .detail-copy {
  box-shadow: none;
}

body[data-mode="truth"] .product-image {
  background: #0b120d;
}

@media (max-width: 920px) {
  .hero,
  .intro,
  .split,
  .product-detail,
  .news,
  .columns {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid,
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .service-grid,
  .product-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .image-panel,
  .detail-media {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
  }
}
