:root {
  --ink: #172033;
  --muted: #5f6c7b;
  --line: #dfe4ea;
  --surface: #ffffff;
  --soft: #f4f6f8;
  --accent: #df6f2e;
  --accent-dark: #b94e18;
  --green: #16794b;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1677c8; outline-offset: 3px; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 25px; }
.nav a { color: #354052; font-size: 14px; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--accent-dark); }
.menu-button { display: none; border: 0; background: transparent; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

.button {
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.button.secondary { background: white; color: var(--ink); border-color: #aeb8c4; }
.button.secondary:hover { color: var(--accent-dark); border-color: var(--accent); }
.button.small { min-height: 42px; padding: 8px 16px; font-size: 14px; }

.hero {
  min-height: calc(92vh - var(--header-height));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef1f4 url("hero-workflow.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .28); }
.hero-content { position: relative; z-index: 1; width: min(780px, 100%); padding-block: 84px 110px; }
.eyebrow { margin: 0 0 14px; color: var(--accent-dark); font-weight: 800; font-size: 14px; }
h1 { margin: 0; max-width: 760px; font-size: clamp(40px, 6vw, 68px); line-height: 1.24; letter-spacing: 0; }
.hero-lead { max-width: 680px; margin: 26px 0 0; font-size: 19px; color: #344054; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trial-note { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0 0; padding: 0; list-style: none; color: #3d4958; font-size: 14px; font-weight: 600; }
.trial-note li { display: inline-flex; align-items: center; gap: 7px; }

section { padding: 94px 0; }
.soft-band { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-kicker { color: var(--accent-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
h2 { margin: 8px 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.35; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.5; letter-spacing: 0; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }

.problem-grid { max-width: 820px; }
.problem-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.problem-list li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.problem-list i { color: var(--accent); flex: 0 0 auto; margin-top: 4px; }

.workflow { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-item { min-width: 0; padding: 26px 20px; border-right: 1px solid var(--line); }
.workflow-item:last-child { border-right: 0; }
.step-num { color: var(--accent-dark); font-size: 13px; font-weight: 800; }
.workflow-item h3 { margin-top: 12px; font-size: 17px; }
.workflow-item p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--line); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent-dark); background: #fff1e8; border-radius: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card { position: relative; border: 1px solid #cfd6de; border-radius: 8px; padding: 26px 22px; background: white; }
.price-card.recommended { border: 2px solid var(--accent); padding: 25px 21px; }
.badge { position: absolute; top: -14px; left: 18px; background: var(--accent); color: white; border-radius: 4px; padding: 3px 10px; font-size: 12px; font-weight: 800; }
.plan-name { font-weight: 800; font-size: 18px; }
.price { margin: 12px 0 20px; font-size: 31px; font-weight: 800; line-height: 1.2; }
.price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.quota { padding-top: 14px; border-top: 1px solid var(--line); color: #3e4958; font-size: 14px; }
.quota strong { display: block; color: var(--ink); font-size: 18px; }
.quota small { display: block; margin-top: 7px; color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.usage-example { display: grid; grid-template-columns: 48px 1fr; gap: 18px; margin-top: 30px; padding: 26px 0; border-block: 1px solid var(--line); }
.usage-example-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent-dark); background: #fff1e8; border-radius: 6px; }
.usage-example h3 { margin-bottom: 10px; }
.usage-example p { margin-bottom: 7px; }
.usage-example .example-line { color: #344054; }
.pricing-common { margin-top: 28px; padding: 24px; border-left: 4px solid var(--accent); background: white; }
.pricing-common ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 12px 0 0; padding: 0; list-style: none; }
.pricing-common li { display: inline-flex; gap: 7px; align-items: center; font-size: 14px; }
.option-table { width: 100%; border-collapse: collapse; margin-top: 24px; background: white; }
.option-table th, .option-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.option-table th { background: #edf0f3; font-size: 14px; }

.trial { background: #253142; color: white; }
.trial-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.trial h2 { color: white; }
.trial p { color: #d7dee7; max-width: 680px; }
.trial .button.secondary { border-color: white; }

.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 22px; color: var(--muted); }

.site-footer { padding: 46px 0 28px; background: #151d29; color: #d1d8e0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; }
.footer-brand { color: white; font-size: 22px; font-weight: 800; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 12px 24px; }
.footer-links a { color: #d1d8e0; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid #344052; font-size: 12px; color: #9faaba; }

.legal-main { padding: 64px 0 96px; }
.legal-head { max-width: 820px; margin-bottom: 46px; }
.legal-content { max-width: 860px; }
.legal-content h2 { margin: 38px 0 10px; font-size: 23px; }
.legal-content p, .legal-content li { color: #3f4b5b; }
.legal-content table { width: 100%; border-collapse: collapse; }
.legal-content th, .legal-content td { padding: 14px 16px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal-content th { width: 180px; background: var(--soft); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 38px; }
.legal-nav a { color: var(--accent-dark); font-weight: 700; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; padding: 18px 20px 24px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; }
  .menu-button { display: inline-flex; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .workflow-item { border-bottom: 1px solid var(--line); }
  .feature-list, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .trial-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --header-height: 64px; }
  .container { width: min(100% - 28px, 1120px); }
  .brand small { display: none; }
  .hero { min-height: 720px; background-position: 35% center; }
  .hero::before { background: rgba(255, 255, 255, .82); }
  .hero-content { padding-block: 72px 104px; }
  h1 { font-size: 40px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-caption { left: 14px; right: auto; }
  section { padding: 70px 0; }
  .section-head { margin-bottom: 32px; }
  .workflow, .feature-list, .pricing-grid { grid-template-columns: 1fr; }
  .workflow-item { border-right: 0; }
  .price-card { border-radius: 6px; }
  .pricing-common ul { display: grid; }
  .usage-example { grid-template-columns: 1fr; }
  .option-table { font-size: 14px; }
  .option-table th, .option-table td { padding: 11px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-main { padding-top: 40px; }
  .legal-content table, .legal-content tbody, .legal-content tr, .legal-content th, .legal-content td { display: block; width: 100%; }
  .legal-content tr { margin-bottom: 14px; }
  .legal-content th { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
