:root {
  color-scheme: light;
  --forest: #1b2e2c;
  --cream: #f7f8f5;
  --mint: #e3eedd;
  --brick: #b54a22;
  --gold: #efc48c;
  --ink: #1b2e2c;
  --muted: #53645b;
  --font: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", Meiryo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 500 16px/1.7 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a7411d; outline-offset: 4px; }
.hero a:focus-visible, .floating a:focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; transform: translateY(-150%); padding: 8px 12px; background: var(--cream); }
.skip-link:focus { transform: none; }
.shell { width: 100%; max-width: 430px; margin-inline: auto; background: var(--cream); }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 18px clamp(16px, 5.6vw, 24px) 25px; background: var(--forest); color: var(--cream); }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 85% 57% at 50% 61%, #3a5547 0%, transparent 88%), linear-gradient(158deg, #121f1e, transparent 55%);
  content: "";
}

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wordmark { display: flex; align-items: center; gap: 8px; font: 760 16px/1.2 system-ui, sans-serif; white-space: nowrap; }
.wordmark span { color: var(--gold); }
.wordmark img { border: 1px solid #50645a; border-radius: 9px; }
.language { display: flex; padding: 2px; border: 1px solid #52655b; border-radius: 9px; background: #172825; }
.language a { min-height: 34px; display: grid; place-items: center; padding: 0 7px; border-radius: 6px; color: #c5d4c9; font-size: 12px; font-weight: 700; text-decoration: none; }
.language [aria-current] { background: var(--mint); color: var(--forest); }

.hero-copy { position: relative; z-index: 1; margin: 31px auto 0; text-align: center; }
.kicker { width: fit-content; max-width: 100%; margin: 0 auto 12px; padding: 4px 10px; border: 1px solid #827151; border-radius: 100px; color: #f1d7b0; font-size: 12px; font-weight: 760; }
.hero h1 { margin: 0; font-size: clamp(31px, 9.1vw, 42px); line-height: 1.16; letter-spacing: -.045em; font-weight: 900; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--gold); }
.hero-deck { margin: 13px auto 0; font-size: 15px; line-height: 1.7; color: #e3eedd; }
.hero-deck strong { display: block; color: #fff2d9; }

.hero-actions { position: relative; z-index: 1; margin: -7px 0 0; }
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 34px 10px 18px;
  overflow: hidden;
  border: 1px solid #f5cf9c;
  border-radius: 13px;
  background: linear-gradient(108deg, #f7d6a6, #efc48c 55%, #dc8a5b 88%, #cf754a);
  color: #2d2119;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.4;
  animation: breathe 4.8s ease-in-out infinite;
}
.cta::before { position: absolute; inset: 0 auto 0 -45%; width: 36%; background: linear-gradient(90deg, transparent, #fff8df7d, transparent); transform: skewX(-22deg); animation: shine 5.6s ease-in-out infinite; pointer-events: none; content: ""; }
.cta::after { position: absolute; right: 15px; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); content: ""; }
.cta:hover { filter: brightness(1.06); }
@keyframes breathe { 0%,100% { box-shadow: 0 3px 10px #eab0782f; } 50% { box-shadow: 0 3px 23px #eab07869; } }
@keyframes shine { 0%,61% { left: -45%; } 86%,100% { left: 110%; } }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px 7px; margin: 12px 0 0; text-align: center; font-size: 12px; color: #dbe6da; }
.facts span { white-space: nowrap; }
.facts span + span::before { margin-right: 6px; color: #aabbb0; content: "｜"; }

.reveal-ready [data-reveal] { transition: opacity .5s ease-out, transform .62s cubic-bezier(.22,.68,.25,1); }
.reveal-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }

.floating { position: fixed; z-index: 4; inset: auto 0 0; width: min(100%, 430px); margin-inline: auto; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--forest); box-shadow: 0 -5px 20px #14221f25; }
.floating .cta { min-height: 46px; animation: none; }
.floating .cta::before { animation: none; }

@media (min-width: 600px) {
  body { background: radial-gradient(ellipse at 50% 18%, #edf2e9, #c3d2c6 83%); }
  .shell { margin-block: 24px; overflow: clip; border: 6px solid #122520; border-radius: 36px; box-shadow: 0 26px 70px #14241e42; }
  .floating { width: 418px; border-radius: 14px 14px 0 0; }
}

:lang(en) .hero h1 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.1; }
:lang(en) .reason-card h3 { font-size: clamp(23px, 6.4vw, 28px); }
:lang(en) .reasons > h2 { overflow-wrap: anywhere; }
:lang(en) .facts span + span::before { content: "·"; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

.hero-copy { margin-top: 30px; }
.hero h1 { font-size: clamp(35px, 10vw, 45px); }
.hero-deck { max-width: 31ch; }
.hero-product {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 20px 0 15px;
  isolation: isolate;
}
.hero-product::before {
  position: absolute;
  z-index: -1;
  inset: 3px 2% 20px;
  background: radial-gradient(ellipse, #d1d7ac49, transparent 70%);
  border: 1px solid #b8c9ae33;
  border-radius: 46% 46% 42% 42%;
  content: "";
}
.hero-screen {
  width: clamp(202px, 57vw, 238px);
  padding: 6px;
  border: 1px solid #829786;
  border-radius: 19px;
  background: #152422;
  box-shadow: 0 13px 24px #101c1bc0;
}
.hero-screen > img { border-radius: 12px; }
.hero-product figcaption { margin-top: 7px; color: #dbe6da; font-size: 12px; }
.hero-actions { margin: 0; }
.band { padding: 39px clamp(16px, 5.6vw, 24px); }
.band h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 7.2vw, 32px);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -.045em;
}
.band h2 span, .reason-card h3 span { display: block; }
.concerns { background: #f7f8f5; }
.problem-list { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.problem-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 13px;
  border: 1px solid #dce5d8;
  border-radius: 12px;
  background: #fff;
  color: #243a33;
  font-size: 15px;
  font-weight: 730;
  line-height: 1.5;
}
.problem-list li::before {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border: 2px solid #a84a24;
  border-radius: 3px;
  background: #f8ece0;
  content: "";
}
.shift { padding-block: 36px; background: var(--mint); text-align: center; }
.shift p { margin: 0 auto; max-width: 33ch; font-size: 15px; }
.shift .shift-lead { max-width: 22ch; margin-bottom: 10px; font-size: clamp(21px, 6.1vw, 27px); line-height: 1.45; font-weight: 900; text-wrap: balance; }

.reasons { display: grid; gap: 17px; background: #f4f6f1; }
.reasons > h2 { margin-bottom: 5px; }
.reason-card {
  min-width: 0;
  padding: clamp(13px, 4.5vw, 20px);
  border: 1px solid #d1dece;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 23px #1b2e2c0b;
}
.reason-1, .reason-3 { background: linear-gradient(152deg, #edf3e9, #e3eedd); }
.reason-id { margin: 0 0 10px; color: #943d20; font: 800 12px/1.4 system-ui, sans-serif; letter-spacing: .15em; }
.reason-id::after { display: inline-block; width: 24px; margin-left: 9px; border-top: 1px solid #aa724c; vertical-align: middle; content: ""; }
.reason-card h3 { margin: 0; font-size: clamp(23px, 6.7vw, 30px); font-weight: 900; line-height: 1.24; letter-spacing: -.04em; }
.reason-copy { margin: 11px 0 16px; color: #344a3e; font-size: 15px; }
.chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; list-style: none; padding: 0; margin: 0; }
.chapters li { min-height: 83px; padding: 7px 3px; border: 1px solid #d3ddd0; border-radius: 8px; background: #fcfdfa; text-align: center; line-height: 1.22; }
.chapters b { display: block; margin-bottom: 4px; color: #9f4724; font-variant-numeric: tabular-nums; font-size: 13px; }
.chapters span { display: block; font-size: 12px; font-weight: 730; overflow-wrap: anywhere; }

.lesson-figure {
  margin: 0;
  padding: 14px 10px 8px;
  border: 1px solid #dce5d7;
  border-radius: 13px;
  background: radial-gradient(ellipse at 50% 100%, #dfd4b5, transparent 70%), #e3eedd;
}
.lesson-screen { width: min(83%, 226px); margin: 0 auto; border: 5px solid #223432; border-radius: 15px; background: var(--cream); box-shadow: 0 9px 15px #25393028; }
.lesson-figure figcaption { margin: 7px 0 0; color: #4d5d50; text-align: center; font-size: 12px; }

.company-figure { margin: 0; overflow: hidden; border: 1px solid #cddccd; border-radius: 13px; background: radial-gradient(ellipse at 50% 44%, #f8edd6, transparent 66%), #e4ebdf; }
.company-art { margin: 0 auto; width: 100%; }
.company-figure figcaption { padding: 9px 8px 8px; border-top: 1px solid #d4dfd1; background: #f9fbf6; }
.partners { width: 100%; }
.partner-roles { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; color: #53645b; font: 800 12px/1.4 system-ui, sans-serif; }
.work-art { display: flex; justify-content: flex-end; align-items: flex-end; gap: 12px; padding-right: 5px; border-radius: 13px; background: linear-gradient(to right, #fff, #e8eee1); }
.work-art img { width: min(26%, 91px); }
.work-art img:nth-child(2) { width: min(23%, 81px); }

.study { background: var(--forest); color: #f7f8f5; }
.study p { margin: 17px 0 0; color: #e4ecdf; font-size: 15px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; text-align: center; }
.metrics > div { display: flex; min-height: 89px; flex-direction: column-reverse; align-items: center; justify-content: center; padding: 8px 3px; border: 1px solid #596d60; border-radius: 10px; background: #ffffff08; line-height: 1.25; }
.metrics dt { font-size: 12px; font-weight: 730; }
.metrics dd { margin: 0; color: var(--gold); font: 800 33px/1.2 system-ui, sans-serif; }

.pricing { background: #f7f6f1; }
.price-scope { margin: -8px 0 15px; color: #4d5d50; font-size: 13px; font-weight: 700; }
.price-card { border: 1px solid #d6dfd3; border-radius: 13px; overflow: hidden; background: #fff; }
.trial { margin: 0; padding: 9px 8px; background: #ebc190; color: #392c22; text-align: center; font-size: 14px; font-weight: 850; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; line-height: 1.44; }
.feature-col { width: 40%; }
table th, table td { padding: 11px 6px; overflow-wrap: anywhere; font-size: 13px; }
table thead th { background: #edf1e9; font-weight: 830; }
table td { text-align: center; }
table tbody th { text-align: left; font-weight: 715; }
table tbody tr + tr > * { border-top: 1px solid #e2e8df; }
table td:last-child { background: #f3f7ee; color: #253c32; font-weight: 780; }
table tbody tr:last-child > * { font-weight: 850; }
.fine { margin: 9px 0 0; color: #526157; font-size: 12px; line-height: 1.65; }

.creator { background: #e8efe3; }
.creator-top { display: grid; grid-template-columns: minmax(0,1fr) 62px; align-items: end; gap: 5px; }
.creator-top h2 { margin: 0; font-size: clamp(21px, 6vw, 26px); }
.creator-label { margin: 0 0 8px; color: #85391e; font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.creator-art { width: 62px; }
.creator > p:not(.fine) { margin: 13px 0 0; font-size: 15px; }
.creator .fine { margin-top: 13px; }
.faq { background: var(--cream); }
.faq-item { border-bottom: 1px solid #d6e0d3; }
.faq-item:first-of-type { border-top: 1px solid #d6e0d3; }
.faq-item summary, .related-apps summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 11px 1px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 730; line-height: 1.5; }
.faq-item summary::-webkit-details-marker, .related-apps summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .related-apps summary::after { flex: 0 0 17px; content: "+"; color: #974222; font: 750 18px/1 system-ui, sans-serif; text-align: center; }
details[open] > summary::after { content: "−"; }
summary:focus-visible { outline: 2px solid #963d20; outline-offset: 3px; }
.faq-item p { margin: 0; padding: 1px 21px 15px 1px; color: #374c42; font-size: 15px; }

.final { padding-block: 42px 37px; background: radial-gradient(ellipse at 23% 25%, #304a3e, transparent 68%), var(--forest); color: var(--cream); text-align: center; }
.final h2 { margin-bottom: 22px; }
.final .cta:focus-visible, .footer a:focus-visible { outline-color: var(--gold); }
.footer { padding: 22px clamp(16px, 5.6vw, 24px) 24px; background: #142320; color: #d4e0d4; font-size: 13px; }
.footer p { margin: 0; }
.footer .footer-brand { margin-bottom: 4px; color: var(--gold); font: 800 16px/1.35 system-ui, sans-serif; }
.footer > a { display: block; width: fit-content; margin-top: 5px; text-decoration-color: #9cae9e; text-underline-offset: 3px; }
.related-apps { margin-top: 14px; border-top: 1px solid #506457; }
.related-apps summary { min-height: 43px; font-size: 13px; }
.related-apps summary::after { color: var(--gold); }
.related-apps summary:focus-visible { outline-color: var(--gold); }
.related-apps ul { margin: 0; padding-left: 17px; }
.related-apps li + li { margin-top: 5px; }

:lang(en) .hero h1 { font-size: clamp(34px, 9vw, 43px); }
:lang(en) .hero-deck { max-width: 32ch; }
:lang(en) .reason-card h3 { font-size: clamp(23px, 6.6vw, 28px); }
:lang(en) .pricing h2 { font-size: clamp(23px, 6.3vw, 27px); }

.hero-actions { margin-top: 20px; }
.hero-product { margin-bottom: 0; }
:lang(ja) .hero-deck { max-width: 32ch; word-break: keep-all; }
:lang(en) .chapters span { hyphens: manual; overflow-wrap: anywhere; }
:lang(ja) .chapters span { word-break: keep-all; overflow-wrap: anywhere; }
.row-detail { display: block; font-size: 12px; font-weight: 650; word-break: keep-all; }
