@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

:root {
  --paper: #faf9f7;
  --paper-deep: #f5f2ef;
  --white: #fff;
  --ink: #222220;
  --muted: #68635f;
  --faint: #9d9792;
  --accent: #e57861;
  --accent-dark: #c95e49;
  --accent-soft: rgba(229, 120, 97, .1);
  --line: #ded9d5;
  --line-soft: rgba(34, 34, 32, .08);
  --shadow: 0 12px 36px rgba(48, 42, 38, .08);
  --font-jp: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .045em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.container { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  background: rgba(250, 249, 247, .94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand-crop { position: relative; display: block; width: 126px; height: 36px; overflow: hidden; flex: none; }
.brand-crop img { width: 126px; max-width: none; transform: translateY(-13px); }
.main-nav { display: flex; align-items: center; gap: 39px; margin-left: auto; }
.nav-link { position: relative; padding: 8px 0; font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); }
.header-cta { min-width: 118px; height: 38px; border: 1px solid var(--accent); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent-dark); font-size: 13px; font-weight: 500; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ''; display: block; width: 18px; height: 1px; margin: 4px auto; background: var(--ink); }

.eyebrow { margin: 0 0 26px; color: var(--accent-dark); font-size: 14px; font-weight: 500; letter-spacing: .12em; }
.hero { padding: 70px 0 94px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 62px; align-items: center; }
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: .035em;
  text-wrap: balance;
}
.headline-line { display: block; width: fit-content; max-width: 100%; white-space: nowrap; }
.hero-copy { margin: 26px 0 0; font-size: 16px; line-height: 1.85; }
.hero-note { margin: 20px 0 0; font-size: 14px; }
.primary-button { min-width: 230px; height: 50px; margin-top: 30px; padding: 0 28px; border: 0; border-radius: 7px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; box-shadow: 0 8px 22px rgba(229, 120, 97, .19); }
.primary-button:hover { background: var(--accent-dark); }

.hero-demo { position: relative; min-height: 285px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 16px 0 0 42px; }
.hero-art { position: absolute; right: -78px; bottom: -64px; width: 250px; opacity: .07; pointer-events: none; }
.speaker { margin: 0 0 8px 4px; font-size: 11px; font-weight: 500; }
.speech { padding: 13px 18px; border-radius: 10px; background: #f1efed; font-size: 14px; }
.question-wrap { position: relative; margin: 18px 0 0 40px; }
.question-wrap::before { content: ''; position: absolute; left: -32px; top: -18px; width: 28px; height: 40px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); border-radius: 0 0 0 8px; }
.question-card { width: 330px; padding: 19px 21px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.question-label { margin-bottom: 10px; color: var(--accent-dark); font-size: 12px; font-weight: 500; }
.question-text { font-size: 14px; line-height: 1.65; }

.section { padding: 82px 0; border-top: 1px solid var(--line-soft); }
.section-white { background: rgba(255, 255, 255, .76); }
.section-title { margin: 0 0 45px; text-align: center; font-size: clamp(25px, 3vw, 34px); font-weight: 500; line-height: 1.55; }
.section-title.left { text-align: left; }
.pain-grid { max-width: 840px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pain-card { min-height: 120px; padding: 26px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); text-align: center; }
.pain-symbol { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--accent); font-family: var(--font-en); font-size: 25px; line-height: 1; }
.pain-card p { margin: 0; font-size: 14px; line-height: 1.65; }
.section-footnote { margin: 26px 0 0; text-align: center; font-size: 13px; }

.underlined { position: relative; display: inline-block; }
.underlined::after { content: ''; position: absolute; left: 7%; right: -2%; bottom: -8px; height: 3px; border-radius: 50%; background: var(--accent); transform: rotate(-1.5deg); }
.split { display: grid; grid-template-columns: .72fr 1.28fr; gap: 62px; align-items: center; }
.split-copy h3 { margin: 0 0 18px; font-size: 24px; font-weight: 500; line-height: 1.65; }
.split-copy p { margin: 0; color: var(--muted); font-size: 13px; }

.transcript-panel { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.72); }
.transcript-head, .transcript-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.transcript-head { padding: 0 10px 10px; color: var(--muted); font-size: 10px; }
.transcript-row { padding: 12px 10px; border-top: 1px solid var(--line-soft); font-size: 12px; }
.transcript-row.active { background: #f2efed; border-radius: 6px; }
.inline-question { position: relative; width: calc(100% - 42px); margin: 14px 0 0 42px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); font-size: 12px; }
.inline-question::before { content: ''; position: absolute; left: -25px; top: -15px; width: 20px; height: 30px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); border-radius: 0 0 0 6px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px; }
.step { position: relative; text-align: center; }
.step-number { width: 28px; height: 28px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-en); font-size: 12px; }
.step-icon { width: 74px; height: 74px; margin: 0 auto 12px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--accent-dark); font-size: 25px; }
.step h3 { margin: 0 0 5px; font-size: 14px; font-weight: 500; }
.step p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 920px; margin: 0 auto; }
.principle { padding: 0 28px; text-align: center; border-left: 1px solid var(--line); }
.principle:first-child { border-left: 0; }
.principle-icon { height: 34px; margin-bottom: 9px; color: var(--accent-dark); font-size: 24px; }
.principle h3 { margin: 0 0 4px; font-size: 14px; font-weight: 500; }
.principle p { margin: 0; color: var(--muted); font-size: 10px; }

.board { border: 1px solid var(--line); border-radius: 10px; background: var(--white); overflow: hidden; }
.board-row { display: grid; grid-template-columns: 1.2fr 1.15fr 1.05fr; border-top: 1px solid var(--line-soft); }
.board-row:first-child { border-top: 0; }
.board-cell { padding: 12px 14px; border-left: 1px solid var(--line-soft); font-size: 10px; line-height: 1.55; }
.board-cell:first-child { border-left: 0; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: #77b95b; }
.status-dot.wait { background: #f0a323; }
.status-dot.none { background: #bbb; }

.final-cta { padding: 66px 0 80px; text-align: center; border-top: 1px solid var(--line-soft); }
.final-cta h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); font-weight: 500; line-height: 1.58; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 88px; display: flex; align-items: center; gap: 38px; }
.footer-nav { display: flex; gap: 26px; font-size: 10px; color: var(--muted); }
.copyright { margin-left: auto; color: var(--faint); font-family: var(--font-en); font-size: 9px; }

/* interior page hero */
.page-hero { padding: 58px 0 72px; }
.page-hero p { margin: 22px 0 0; font-size: 15px; line-height: 1.85; }
.page-hero .eyebrow { margin-bottom: 24px; }
.feature-row { min-height: 310px; display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; padding: 50px 0; border-top: 1px solid var(--line-soft); }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row h2 { margin: 0 0 16px; font-size: 26px; font-weight: 500; line-height: 1.5; }
.feature-row p { margin: 0; color: var(--muted); font-size: 13px; }
.visual-panel { min-height: 220px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.74); }
.mini-meta { display: flex; gap: 26px; margin-top: 22px; color: var(--muted); font-size: 10px; }
.quiet-screen { position: relative; height: 225px; padding: 18px; overflow: hidden; }
.quiet-line { width: 68%; height: 34px; margin-bottom: 8px; border: 1px solid var(--line-soft); border-radius: 6px; background: #faf9f8; }
.quiet-line.active { background: #efedeb; }
.quiet-question { position: absolute; right: 8px; bottom: 8px; width: 205px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); font-size: 11px; }

/* use cases */
.case-tabs { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.case-tab { min-width: 124px; height: 42px; padding: 0 22px; border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 500; }
.case-tab.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.case-shell { padding: 20px; border: 1px solid var(--line-soft); border-radius: 15px; background: rgba(255,255,255,.72); }
.featured-case { display: grid; grid-template-columns: .85fr 1.15fr .42fr; gap: 28px; align-items: center; padding: 26px 8px 42px; }
.featured-case h2 { margin: 0 0 17px; font-size: 27px; font-weight: 500; line-height: 1.55; }
.featured-case p { margin: 0; color: var(--muted); font-size: 12px; }
.case-points { align-self: stretch; padding: 20px 14px; border-radius: 10px; background: rgba(250,249,247,.9); }
.case-points h3 { margin: 0 0 14px; font-size: 10px; font-weight: 500; }
.case-points span { display: block; margin: 13px 0; color: var(--ink); font-size: 12px; }
.case-list-row { display: grid; grid-template-columns: 128px .72fr 1.28fr; gap: 32px; align-items: center; min-height: 220px; padding: 30px 8px; border-top: 1px solid var(--line); }
.case-asset { width: 112px; height: 112px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.case-asset img { width: 105px; height: 82px; object-fit: contain; }
.case-asset.code-icon { color: var(--accent-dark); font-size: 34px; }
.case-list-row h3 { margin: 0 0 13px; font-size: 22px; font-weight: 500; }
.case-list-row p { margin: 0; color: var(--muted); font-size: 12px; }
.case-example { padding: 18px; border-radius: 9px; background: #faf9f8; }
.case-example .speech { display: inline-block; font-size: 11px; padding: 9px 12px; }
.case-example .inline-question { margin-top: 12px; font-size: 11px; }
.quote-section { padding: 64px 0; text-align: center; }
.quote-section blockquote { margin: 0; font-size: clamp(22px, 2.8vw, 31px); font-weight: 500; line-height: 1.75; }

/* pricing */
.billing-toggle { display: inline-flex; margin-top: 34px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; }
.billing-toggle button { width: 100px; height: 36px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; font-size: 12px; }
.billing-toggle button.active { border: 1px solid var(--accent); color: var(--accent-dark); background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.price-card { position: relative; min-height: 485px; padding: 35px 28px 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.72); display: flex; flex-direction: column; }
.price-card.recommended { border: 1.5px solid var(--accent); }
.recommend-badge { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); padding: 4px 17px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; }
.plan-name { margin: 10px 0 4px; text-align: center; font-family: var(--font-en); font-size: 31px; font-weight: 500; }
.plan-copy { margin: 0; text-align: center; font-size: 11px; }
.price { margin: 21px 0 0; text-align: center; font-family: var(--font-en); font-size: 38px; font-weight: 500; letter-spacing: -.02em; }
.price small { font-family: var(--font-jp); font-size: 12px; font-weight: 400; letter-spacing: .02em; }
.price-note { margin: -2px 0 18px; text-align: center; font-size: 10px; }
.plan-features { margin: 0; padding: 20px 0 20px; border-top: 1px solid var(--line); list-style: none; }
.plan-features li { position: relative; margin: 12px 0; padding-left: 24px; font-size: 12px; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 8px; }
.plan-button { height: 45px; margin-top: auto; border: 1px solid var(--accent); border-radius: 6px; background: transparent; color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; }
.recommended .plan-button { background: var(--accent); color: #fff; }
.pricing-note { margin: 28px 0; text-align: center; font-size: 11px; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.74); }
.comparison { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 11px; }
.comparison th, .comparison td { padding: 15px 18px; text-align: center; border-left: 1px solid var(--line-soft); border-top: 1px solid var(--line-soft); }
.comparison th:first-child, .comparison td:first-child { text-align: left; border-left: 0; }
.comparison thead th { border-top: 0; font-weight: 500; }
.comparison .pro { color: var(--accent-dark); }
.faq-list { margin-top: 28px; display: grid; gap: 9px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.74); overflow: hidden; }
.faq-question { width: 100%; padding: 17px 20px; border: 0; background: transparent; display: flex; justify-content: space-between; cursor: pointer; text-align: left; font-size: 12px; }
.faq-question::after { content: '⌄'; color: var(--accent); font-size: 18px; }
.faq-answer { display: none; margin: 0; padding: 0 20px 17px; color: var(--muted); font-size: 11px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question::after { transform: rotate(180deg); }

@media (max-width: 880px) {
  .container { width: min(100% - 40px, var(--content)); }
  .main-nav { display: none; }
  .menu-button { display: block; }
  .main-nav.open { position: absolute; left: 20px; right: 20px; top: 66px; display: grid; gap: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: var(--shadow); }
  .main-nav.open .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
  .main-nav.open .header-cta { margin-top: 12px; }
  .hero-grid, .feature-row, .split { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { font-size: clamp(36px, 6vw, 44px); }
  .hero-demo { padding-left: 0; }
  .feature-row.reverse .feature-visual { order: 0; }
  .featured-case { grid-template-columns: 1fr; }
  .case-points { display: flex; gap: 24px; }
  .case-list-row { grid-template-columns: 100px 1fr; }
  .case-list-row .case-example { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card { min-height: auto; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--content)); }
  .site-header { height: 66px; }
  .brand-crop { width: 112px; height: 32px; }
  .brand-crop img { width: 112px; transform: translateY(-12px); }
  .hero, .page-hero { padding: 44px 0 64px; }
  .hero h1, .page-hero h1 { font-size: clamp(26px, 8vw, 32px); line-height: 1.5; letter-spacing: .015em; }
  .question-wrap { margin-left: 18px; }
  .question-card { width: min(310px, calc(100vw - 70px)); }
  .section { padding: 62px 0; }
  .pain-grid, .steps, .principles { grid-template-columns: 1fr; gap: 16px; }
  .principle { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .principle:first-child { border-top: 0; }
  .transcript-head, .transcript-row { grid-template-columns: 105px 1fr; }
  .footer-inner { padding: 25px 0; flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; }
  .copyright { margin-left: 0; }
  .case-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .case-tab { min-width: 0; }
  .case-list-row { grid-template-columns: 1fr; text-align: center; }
  .case-asset { margin: 0 auto; }
  .featured-case h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: no-preference) {
  .question-card { animation: question-in .65s .4s both ease-out; }
  .question-wrap::before { animation: connector-in .45s .18s both ease-out; transform-origin: top left; }
}
@keyframes question-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes connector-in { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
