:root {
  color-scheme: light;
  --dark: #162321;
  --dark-raised: #20322e;
  --ink: #172522;
  --muted: #51645e;
  --paper: #f8f9f5;
  --tint: #eef2eb;
  --line: #77857c;
  --orange: #f58d59;
  --orange-ink: #9c3c1a;
  --soft: #c5d2c9;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: var(--font-family-sans);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #cb6f38; outline-offset: 4px; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
img { display: block; }
.shell { width: min(100% - 80px, 1256px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 6; padding: 8px 14px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #dce3da; background: var(--paper); }
.header-inner, .footer-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 820; line-height: 1.12; white-space: nowrap; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font: 14px/1.1 var(--mono); letter-spacing: .16em; }
.header nav { display: flex; align-items: center; gap: clamp(17px, 2.8vw, 43px); font-size: 14px; font-weight: 750; }
.header nav a:hover, .footer a:hover { color: var(--orange-ink); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 18px; min-height: 46px; border-radius: 3px; background: var(--dark); color: white; font-size: 14px; font-weight: 800; white-space: nowrap; }
.button:hover { background: #30463f; }
.button.orange { background: var(--orange); color: #211b16; }
.button.orange:hover { background: #ffac80; }
.mono { font-family: var(--mono); letter-spacing: .1em; }
.hero { background: var(--dark); color: #f8faf4; }
.hero-grid { min-height: 615px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5.2vw, 78px); align-items: center; padding-block: 80px 67px; }
.eyebrow { color: #dce7dd; font: 700 14px/1.6 var(--sans); letter-spacing: .14em; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); vertical-align: 2px; margin-right: 10px; }
.hero h1 { margin-top: 22px; font-size: clamp(39px, 5vw, 72px); letter-spacing: -.075em; font-weight: 850; line-height: 1.19; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 26em; margin-top: 25px; color: #d3ded5; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 28px; }
.text-link { font-size: 14px; font-weight: 800; }
.text-link:hover, .hero-foot a:hover { color: var(--orange); }
.hero-note { margin-top: 20px; color: var(--soft); font-size: 14px; }
.hero-note span { margin-inline: 6px; color: #8fa69a; }
.hero-foot { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-block: 18px; border-top: 1px solid #3a5149; color: #c3d0c6; font-size: 14px; }
.hero-foot a { font-weight: 750; }
.demo { min-width: 0; }
.demo-caption { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 10px; color: #b8cabc; font-size: 14px; }
.demo-window { border: 1px solid #527066; border-radius: 5px; overflow: hidden; background: #1e302b; box-shadow: 0 22px 46px #07100e60; }
.demo-toolbar, .demo-footer { padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #42584e; background: #24372f; font-size: 14px; font-weight: 750; }
.demo-toolbar .dot { width: 6px; height: 6px; margin-right: 7px; }
.live { color: #b5c9b6; font-size: 14px; white-space: nowrap; }
.demo-body { padding: 17px; background-color: #1a2925; background-image: linear-gradient(#a6c6ae0e 1px,transparent 1px),linear-gradient(90deg,#a6c6ae0e 1px,transparent 1px); background-size: 20px 20px; }
.sample-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.sample-tabs button { border: 1px solid #93ae9d; border-radius: 3px; padding: 6px 10px; min-height: 35px; background: #22372e; color: #e7efe8; font-size: 14px; font-weight: 750; }
.sample-tabs button[aria-pressed="true"] { background: #f4b18d; color: #2d211b; border-color: #f4b18d; }
.sample-tabs button:hover { border-color: #f4b18d; }
.sample-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
.mail-card, .case-card { min-width: 0; padding: 15px 13px; border: 1px solid #93ae9d; border-radius: 4px; background: #22342e; }
.mail-card { display: flex; flex-direction: column; align-items: flex-start; }
.case-card { background: #edf1e7; color: #162a20; border-color: #dce6d8; }
.card-label { margin-bottom: 12px; font-size: 14px; font-weight: 750; color: #c5d6cb; }
.card-label span { color: #f7a57a; margin-right: 3px; }
.case-card .card-label { color: #426057; }
.case-card .card-label span { color: #963d1f; }
.mail-card h2 { font-size: 15px; min-height: 2.6em; overflow-wrap: anywhere; }
.mail-card h2 + p { margin: 10px 0 15px; font-size: 14px; color: #d5e2d8; line-height: 1.75; }
.flow-arrow { color: #f4a577; font: 20px/1 var(--mono); align-self: center; }
.attachment { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: auto; padding: 4px 7px; background: #182a24; border: 1px solid #93ae9d; border-radius: 3px; font-size: 14px; overflow-wrap: anywhere; }
.attachment[hidden] { display: none; }
.file-icon { color: #f3a87d; font: 700 14px var(--mono); }
.status { display: inline-block; margin-bottom: 10px; padding: 2px 6px; border-radius: 3px; background: #d9e8d6; color: #284b33; font-size: 14px; font-weight: 800; }
.status[data-state="update"], .status[data-state="review"] { background: #f9dec8; color: #763616; }
.case-card dl { display: grid; gap: 5px; }
.case-card dl div { border-top: 1px solid #ccd8cb; padding-top: 4px; }
.case-card dt { font-size: 14px; color: #425d51; }
.case-card dd { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.demo-footer { justify-content: flex-start; border-top: 1px solid #42584e; border-bottom: 0; min-height: 47px; color: #d6e5d7; font-size: 14px; }
.tiny-indicator { width: 6px; height: 6px; flex: 0 0 6px; background: #b2d196; }
.demo-disclaimer { color: #b3c4b9; font-size: 14px; margin-top: 9px; }
.audience { border-bottom: 1px solid var(--line); }
.audience-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 17px; font-size: 14px; }
.audience ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.audience li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 2px; color: #41584e; font-size: 14px; }
.section { padding-block: clamp(62px, 8vw, 109px); }
.tinted { background: var(--tint); border-block: 1px solid var(--line); }
.section-index { margin-bottom: 14px; color: var(--orange-ink); font-size: 14px; font-weight: 750; }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 25px; margin-bottom: 36px; }
.section h2, .contact h2 { font-size: clamp(30px, 4.35vw, 55px); letter-spacing: -.055em; font-weight: 850; }
.section-heading > p, .section article > p, .pricing-note { color: var(--muted); }
.section-heading > p { max-width: 32em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: #fcfdf9; }
.steps article { padding: 23px; }
.steps article + article { border-left: 1px solid var(--line); }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; color: var(--orange-ink); font-size: 14px; font-weight: 800; }
.step-top svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.section article h3 { margin-bottom: 9px; font-size: clamp(17px, 2vw, 25px); }
.section article > p { font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.feature-main { padding: clamp(24px, 4vw, 48px); background: var(--dark); color: #f7faf5; }
.section .feature-main > p { color: #cbd8cc; }
.section .feature-main .feature-kicker { margin-bottom: 14px; font-size: 14px; }
.section .feature-main h3 { font-size: clamp(24px, 3vw, 38px); }
.feature-flow { padding: 0; margin: 23px 0 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.feature-flow li { border: 1px solid #5a7267; padding: 3px 9px; color: #e7f0e7; font-size: 14px; }
.feature-side { display: grid; gap: 14px; }
.feature-side article, .pricing-grid article { padding: 20px 22px; border: 1px solid var(--line); background: #fcfdf9; }
.feature-side article > span, .pricing-grid article > span { display: block; color: var(--orange-ink); font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pricing-grid article { padding: 25px; border-top: 3px solid #b7623e; }
.pricing-note { margin-top: 17px; font-size: 14px; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 30px; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { border-top: 1px solid var(--line); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 0; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange-ink); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 14px; font-size: 14px; }
.contact { padding-block: clamp(55px, 7vw, 98px); background: var(--dark); color: #f7faf5; }
.contact-inner { display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.contact h2 { margin-top: 10px; }
.contact h2 + p { margin-top: 12px; color: #cbd8ce; }
.footer-inner { min-height: 88px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.footer .brand { color: var(--ink); }
@media (max-width: 1040px) {
  .shell { width: min(100% - 48px, 1256px); }
  .hero-grid { gap: 28px; min-height: 550px; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 55px 37px; gap: 34px; }
  .hero h1 { font-size: clamp(41px, 8vw, 65px); }
  .demo { max-width: 620px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; }
  .steps article { padding: 16px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 125px; }
  .shell { width: calc(100% - 34px); }
  .header-inner { min-height: 60px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 7px 5px; }
  .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 8px; font-size: 14px; }
  .header nav a { padding-block: 5px; }
  .header-button { min-height: 34px; font-size: 14px; padding: 6px 9px; }
  .brand img { width: 29px; height: 29px; }
  .brand { font-size: 14px; }
  .hero-lead { font-size: 14px; }
  .demo-body { padding: 11px; }
  .mail-card, .case-card { padding: 10px 8px; }
  .flow-arrow { font-size: 14px; }
  .sample-grid { gap: 5px; }
  .mail-card h2 { font-size: 14px; }
  .audience-inner, .contact-inner { align-items: flex-start; flex-direction: column; }
  .steps, .feature-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps article + article { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { padding-block: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* 最小文字サイズを確保した状態で、狭い画面でも説明を読める配置。 */
a:not(.brand):not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.header nav a { min-height: 44px; display: inline-flex; align-items: center; }
.header-inner { flex-wrap: wrap; padding-block: 12px; }
.hero-foot, .demo-caption, .demo-toolbar { flex-wrap: wrap; }
.demo-caption { letter-spacing: 0; }
.sample-tabs button { min-height: 44px; }
.app-entry { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; font-size: 14px; }
.app-entry p { color: #d3ded5; }
.app-pending { border: 1px solid #93ae9d; padding: 8px 12px; }
.license-note { width: 100%; font-size: 14px; }
@media (max-width: 620px) {
  .header-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .header nav { grid-row: auto; flex-wrap: wrap; justify-content: flex-start; gap: 4px 16px; }
  .header-button { justify-self: start; min-height: 44px; }
  .header { position: static; }
  html { scroll-padding-top: 20px; }
  .sample-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); font-size: 20px; }
  .mail-card, .case-card { padding: 16px; }
  .brand { white-space: normal; }
  .hero h1 { font-size: clamp(36px, 10vw, 55px); }
}

