/* Public landing page. Loaded only on the homepage. */
*, *::before, *::after { box-sizing: border-box; }
:root { --bg: #fffdf7; --ink: #242a25; --muted: #656b61; --orange: #c2410c; --line: #e9e4d8; --sage: #e8eedf; --soft: #f6f3ec; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: clip; font-family: 'Inter', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif; background: #fff; color: var(--ink); line-height: 1.8; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #94643a; outline-offset: 4px; border-radius: 4px; }
.wrap { width: min(100%, 1180px); margin: 0 auto; padding-inline: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid transparent; transition: background .2s, transform .2s cubic-bezier(.2,.7,.2,1); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 12px #c2410c22; }
.btn-primary:hover { background: #9a3412; transform: translateY(-1px); }
.btn-primary:active { background: #9a3412; transform: none; }
.btn-secondary { background: #fff; border-color: #d9d2c3; }
.btn-secondary:hover { border-color: #c79a72; }
.btn-secondary:active { background: #f7f3ec; border-color: #c79a72; }

.nav { position: sticky; top: 0; z-index: 20; background: #fffffff2; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 15px; text-decoration: none; }
.brand img { width: 32px; height: 32px; display: block; }
.nav-links { display: flex; gap: 26px; font-size: 13px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.nav-login { font-size: 13px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 6px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; line-height: 1.35; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.nw { display: inline-block; }
.hero .lead { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .btn { min-height: 56px; font-size: 15px; }
.hero-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px #51432c1a; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 11px; color: var(--muted); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d8b8a1; }
.mock-bar i:nth-child(2) { background: #e9d49b; } .mock-bar i:nth-child(3) { background: #a6bd9a; margin-right: 8px; }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; }
.mock-video { position: relative; border-right: 1px solid var(--line); padding: 14px; }
.mock-video img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.mock-video small { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }
.mock-doc { padding: 16px; font-size: 12px; }
.mock-doc .label { color: var(--orange); font-weight: 700; font-size: 11px; }
.mock-doc h3 { font-size: 15px; margin: 4px 0 10px; }
.mock-step { display: flex; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.mock-step b { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage); font-size: 11px; }
.mock-chat { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; background: var(--bg); }
.mock-chat .q { background: var(--ink); color: #fff; border-radius: 12px; padding: 4px 12px; white-space: nowrap; }
.mock-chat .a span { display: block; color: var(--orange); font-size: 11px; }

/* facts */
.facts { border-block: 1px solid var(--line); background: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 12px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact small { display: block; font-size: 12px; color: var(--muted); }
.fact strong { display: block; white-space: nowrap; font-size: clamp(20px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.fact strong span { font-size: 14px; font-weight: 700; margin-left: 2px; }

.formats { padding: 36px 0 0; text-align: center; }
.formats p { font-size: 13px; color: var(--muted); }
.format-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 14px; }
.format { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: #4a5048; }
.format i { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }

section.block { padding: 104px 0; }
.head { text-align: center; max-width: 640px; margin: 0 auto; }
.head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.4; letter-spacing: -.03em; }
.head p { margin-top: 12px; color: var(--muted); }

.rows { display: grid; gap: 80px; margin-top: 64px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row:nth-child(even) .row-art { order: 2; }
.row-art { background: var(--soft); border-radius: 20px; padding: 32px; }
.row-art svg { display: block; width: 100%; height: auto; }
.row-num { font-size: 13px; font-weight: 800; color: var(--orange); }
.row h3 { margin-top: 6px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.45; letter-spacing: -.02em; }
.row p { margin-top: 14px; color: #474d45; }

.how { background: var(--bg); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: #e3d7c4; }
.tl { position: relative; text-align: center; padding: 0 16px; }
.tl b { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; background: var(--orange); color: #fff; font-size: 16px; position: relative; }
.tl h3 { margin-top: 18px; font-size: 17px; font-weight: 800; }
.tl p { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: left; }

/* compare */
.table-wrap { margin-top: 56px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14px; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
th[scope=row] { text-align: left; font-weight: 600; color: #474d45; background: #fcfbf8; width: 28%; }
thead th { position: relative; background: #fff; vertical-align: top; padding-top: 44px; }
thead th .tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; }
thead .plan-n { font-size: 18px; font-weight: 800; }
thead .plan-p { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
thead .plan-p span { font-size: 12px; color: var(--muted); font-weight: 600; }
.col-pro { background: #fff7ed !important; }
.tag { display: inline-block; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 10px; border-radius: 999px; margin-bottom: 4px; }
td .yes { display: inline-block; width: 24px; height: 24px; vertical-align: middle; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5 10-11' fill='none' stroke='%23c2410c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
td .no { color: var(--muted); }
tfoot td { border-bottom: 0; border-top: 1px solid var(--line); }
tfoot .btn { width: 100%; white-space: nowrap; padding-inline: 16px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 48px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); margin-top: -4px; }
details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
details p { padding-bottom: 20px; color: #474d45; font-size: 14px; }

.cta { padding: 0 0 104px; }
.cta-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 56px 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-card h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.4; }
.cta-card p { margin-top: 8px; color: #cfd3cc; font-size: 14px; }
.cta-card .btn { min-height: 58px; font-size: 16px; padding-inline: 34px; }
footer { border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 26px; }
footer nav { display: flex; gap: 20px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .row, .cta-card { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-art { order: 0; }
  .row { gap: 28px; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 22px; right: auto; width: 2px; height: auto; }
  .tl { display: grid; grid-template-columns: 46px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .tl h3 { margin-top: 8px; }
  .tl p { grid-column: 2; margin-top: 2px; }
  .faq-grid { grid-template-columns: 1fr; }
  section.block { padding: 76px 0; }
  .sticky-cta { display: flex; position: fixed; inset: auto 0 0 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fffffff5; border-top: 1px solid var(--line); }
  .sticky-cta .btn { width: 100%; }
  footer { padding-bottom: 76px; }
  footer .wrap { flex-direction: column; align-items: center; gap: 4px; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .nav-actions .btn { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-video { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
  .cta-card { padding: 40px 24px; }
  .row-art { padding: 20px; }
}
@media (max-width: 360px) {
  .nav .wrap { gap: 4px; }
  .brand { gap: 6px; font-size: 14px; }
  .nav-login { white-space: nowrap; }
}
/* JavaScriptが動く場合だけ演出を有効にし、通常は本文をそのまま表示する。 */
html.motion-ready .motion-target { transition: opacity 900ms ease, transform 900ms cubic-bezier(.22,1,.36,1); transition-delay: var(--motion-delay, 0ms); }
html.motion-priming .motion-target { transition: none !important; }
html.motion-ready .motion-pending { opacity: 0; transform: translate3d(0,40px,0); }
html.motion-ready .motion-pending.motion-art { transform: translate3d(-24px,16px,0); }
html.motion-ready .row:nth-child(even) .motion-pending.motion-art { transform: translate3d(24px,16px,0); }
@media (max-width: 900px) {
  html.motion-ready .motion-pending, html.motion-ready .motion-pending.motion-art, html.motion-ready .row:nth-child(even) .motion-pending.motion-art { transform: translate3d(0,36px,0); }
}
html.motion-ready .motion-target:focus-within { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } html.motion-ready .motion-target { opacity: 1 !important; transform: none !important; transition: none !important; } }
/* real app screenshots */
.shots { position: relative; margin: 0; padding: 0 0 42% 0; }
.shot { display: block; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 24px 50px #51432c1f; }
.shot-main { width: 92%; }
.shot-sub { position: absolute; right: -6%; bottom: 0; width: 70%; box-shadow: 0 24px 50px #51432c33; }
.row-art.photo { padding: 0; background: none; }
.row-art.photo img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px #51432c17; }
@media (max-width: 900px) { .shot-sub { right: 0; } }
