:root {
  --bg: #fbf8f1;
  --bg-accent: #fffefb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #1f2933;
  --muted: #556371;
  --line: rgba(31, 41, 51, 0.1);
  --brand: #0f766e;
  --brand-strong: #115e59;
  --brand-soft: #dff7f1;
  --accent: #d97706;
  --accent-soft: #fff1dc;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f4eb 0%, #fbfaf6 48%, #f5f8fb 100%);
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 241, 0.84);
  border-bottom: 1px solid rgba(17, 94, 89, 0.1);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #34d399 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.brand-mark::before {
  width: 18px;
  height: 18px;
  left: 13px;
  top: 8px;
}

.brand-mark::after {
  width: 24px;
  height: 10px;
  left: 10px;
  bottom: 8px;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-name {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-tag {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(17, 94, 89, 0.16);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-strong);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #34d399 100%);
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.2);
}

.page-main {
  flex: 1 0 auto;
}

.hero {
  padding: 64px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.hero-card,
.panel,
.cta-panel,
.article-card,
.faq-item,
.policy-card,
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(17, 94, 89, 0.08);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-copy {
  padding: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-title {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-lead,
.page-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions,
.button-row,
.footer-links,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button {
  background: linear-gradient(135deg, var(--brand) 0%, #34d399 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.2);
}

.button-secondary {
  border: 1px solid rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.48)),
    url("/assets/images/office-desk-night.png") center center / cover no-repeat;
}

.hero-stage .stage-card {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.hero-stage h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.hero-stage p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: 28px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 12px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.9;
}

.grid-3,
.grid-2,
.feature-grid,
.article-grid,
.price-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 18px;
}

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

.grid-2,
.price-grid,
.contact-grid,
.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(17, 94, 89, 0.08);
  box-shadow: var(--shadow);
}

.card h3,
.panel h3,
.article-card h3,
.faq-item h3,
.contact-card h3,
.policy-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.card p,
.panel p,
.article-card p,
.faq-item p,
.contact-card p,
.policy-card p,
.policy-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.icon-stack {
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f2fbf8 0%, #e6f5f2 100%);
}

.icon-stack img {
  width: 56px;
  height: auto;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 26px;
  align-items: center;
}

.phone-frame {
  width: min(100%, 360px);
  margin: 0 auto;
}

.phone-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1361 / 1024;
  background: url("/assets/images/hero-phone-frame.png") center top / contain no-repeat;
}

.phone-screen {
  position: absolute;
  inset: 5.2% 7.1% 6.3%;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #103d3a 0%, #0b1f1d 100%);
  color: #ffffff;
  padding: 22px 18px;
}

.screen-tag {
  display: inline-flex;
  min-height: 28px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-title {
  margin: 18px 0 8px;
  font-size: 28px;
  line-height: 1.12;
}

.screen-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.7;
}

.screen-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.screen-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.use-case-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(17, 94, 89, 0.08);
  box-shadow: var(--shadow);
}

.use-case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.use-case-body {
  padding: 18px;
}

.price-card {
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(17, 94, 89, 0.08);
  box-shadow: var(--shadow);
}

.price-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-value {
  margin: 18px 0 10px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.price-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.8;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #34d399 100%);
}

.faq-item,
.article-card,
.contact-card,
.policy-card,
.cta-panel {
  padding: 24px;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.article-meta {
  margin-bottom: 10px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-body h2 {
  margin: 0;
  font-size: 30px;
}

.article-body h3 {
  margin: 0;
  font-size: 22px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.9;
}

.article-body ul,
.policy-card ul {
  margin: 0;
  padding-left: 20px;
}

.cta-panel {
  margin-top: 26px;
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 118, 110, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(17, 94, 89, 0.1);
  background: rgba(255, 255, 255, 0.64);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.footer-copy {
  color: var(--muted);
  line-height: 1.8;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--brand-strong);
}

.legal-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-grid,
  .app-hero,
  .grid-3,
  .grid-2,
  .feature-grid,
  .article-grid,
  .price-grid,
  .contact-grid,
  .policy-grid,
  .use-case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    width: min(280px, calc(100% - 32px));
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid rgba(17, 94, 89, 0.08);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-copy,
  .hero-visual,
  .article-card,
  .faq-item,
  .contact-card,
  .policy-card,
  .cta-panel {
    padding: 22px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .brand-name {
    font-size: 24px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    padding: 20px;
  }

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

  .hero-lead,
  .page-lead,
  .section-copy,
  .card p,
  .panel p,
  .article-body p,
  .article-body li,
  .policy-card li,
  .faq-item p,
  .contact-card p {
    font-size: 15px;
  }

  .section-title {
    font-size: 30px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .hero-stage .stage-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
  }

  .cta-panel h2,
  .article-body h2 {
    font-size: 28px;
  }
}
