:root {
  --color-primary: #74b23c;
  --color-primary-dark: #5d972f;
  --color-primary-soft: #edf7e2;
  --color-text: #3d434a;
  --color-subtext: #6f7780;
  --color-border: #dde4d8;
  --color-surface: #ffffff;
  --color-background: #f7f8f4;
  --shadow-soft: 0 18px 45px rgba(73, 92, 55, 0.12);
  --shadow-card: 0 14px 30px rgba(45, 58, 32, 0.08);
  --radius-large: 28px;
  --radius-medium: 20px;
  --radius-small: 14px;
  --container-width: min(1120px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(116, 178, 60, 0.12), transparent 28%),
    linear-gradient(180deg, #fdfefb 0%, var(--color-background) 100%);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(116, 178, 60, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(57, 93, 25, 0.18);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.25;
  color: #50565d;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
}

.lead,
.section-heading p,
.about-text p,
.product-copy p,
.contact-panel p,
.site-footer p {
  color: var(--color-subtext);
}

.lead {
  margin: 24px 0 0;
  font-size: 1.05rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(116, 178, 60, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-primary-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary-dark);
  border: 1px solid rgba(116, 178, 60, 0.24);
}

.hero-card,
.card,
.gallery-card,
.contact-panel {
  background: var(--color-surface);
  border: 1px solid rgba(111, 119, 128, 0.08);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 20px;
}

.hero-card img {
  width: 100%;
  border-radius: 22px;
}

.section {
  padding: 40px 0 88px;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

.section h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
}

.section-accent {
  background: linear-gradient(180deg, rgba(116, 178, 60, 0.08), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 16px 0 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}

.card {
  padding: 24px;
}

.product-summary {
  text-align: center;
}

.app-icon {
  width: min(180px, 100%);
  margin: 0 auto 24px;
  border-radius: 24px;
}

.store-badge {
  margin: 0 auto;
}

.price-text {
  margin: 14px 0 0;
  color: var(--color-subtext);
  font-weight: 500;
}

.product-detail-link {
  display: inline-block;
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 6px solid var(--color-primary);
  color: var(--color-primary-dark);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
}

.product-detail-link:hover,
.product-detail-link:focus-visible {
  color: var(--color-primary);
}

.steps {
  padding-left: 1.25rem;
  color: var(--color-subtext);
}

.product-shot img {
  width: 100%;
  border-radius: 18px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: #ece6ef;
}

.gallery-card figcaption {
  padding: 18px 20px 22px;
  color: var(--color-subtext);
}

.section-contact {
  padding-top: 0;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.contact-panel code {
  padding: 0.1em 0.45em;
  background: var(--color-primary-soft);
  border-radius: 999px;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.deployment-chip {
  margin: 0;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(111, 119, 128, 0.18);
  padding-top: 24px;
}

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

.detail-page {
  background:
    radial-gradient(circle at top left, rgba(116, 178, 60, 0.1), transparent 22%),
    #ffffff;
}

.detail-hero {
  padding: 48px 0 24px;
}

.detail-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.back-link {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.detail-hero h1 {
  margin: 12px 0 0;
  color: #545a60;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
}

.detail-intro {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--color-subtext);
}

.detail-content {
  padding: 0 0 80px;
}

.detail-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(111, 119, 128, 0.14);
}

.detail-section-single {
  grid-template-columns: 1fr;
}

.detail-section:first-child {
  border-top: 0;
}

.detail-copy {
  min-width: 0;
}

.detail-title {
  margin: 0 0 22px;
  padding: 14px 20px;
  border-left: 6px solid var(--color-primary);
  background: #f7f8f7;
  color: #5b6168;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.detail-copy p {
  margin: 0 0 18px;
  color: var(--color-subtext);
}

.detail-copy strong {
  color: #4f555d;
}

.detail-visuals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  gap: 18px;
  justify-content: start;
}

.detail-visuals figure,
.inline-figure {
  margin: 0;
}

.detail-visuals img,
.inline-figure img {
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  border: 1px solid rgba(111, 119, 128, 0.08);
  box-shadow: var(--shadow-card);
  background: #f1ebf4;
}

.detail-visuals figcaption,
.inline-figure figcaption {
  margin-top: 10px;
  color: var(--color-subtext);
  font-size: 0.95rem;
}

.inline-figure {
  max-width: 360px;
  margin: 18px 0;
}

.formula-box {
  margin: 18px 0;
  padding: 16px 20px;
  border-left: 6px solid var(--color-primary);
  background: #f7f8f7;
  color: #5a6067;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  font-weight: 700;
}

.note-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-subtext);
}

@media (max-width: 1024px) {
  .hero-grid,
  .section-grid,
  .product-layout,
  .gallery,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual {
    order: -1;
  }

  .product-summary {
    max-width: 360px;
    margin: 0 auto;
  }

  .product-shot img {
    max-height: 760px;
    object-fit: cover;
    object-position: top;
  }

  .detail-section {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .site-header .container,
  .footer-inner,
  .contact-panel,
  .detail-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .section {
    padding: 28px 0 64px;
  }

  .card,
  .contact-panel {
    padding: 20px;
  }

  .gallery-card img {
    aspect-ratio: 16 / 11;
  }

  .detail-hero {
    padding: 32px 0 16px;
  }

  .detail-section {
    padding: 22px 0;
  }

  .detail-visuals {
    grid-template-columns: 1fr;
  }

  .detail-visuals img,
  .inline-figure img {
    max-width: 100%;
  }

  .detail-title,
  .formula-box {
    padding: 12px 16px;
  }
}
