:root {
  color-scheme: light;
  --ink: #292622;
  --muted: #5b554e;
  --green: #403a33;
  --line: #e2ddd5;
  --paper: #faf9f6;
  font: 16px/1.75 "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #655745; outline-offset: 4px; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 18px; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset: 8px auto auto 8px; padding: 10px 16px; z-index: 2; background: white; }
.shell { width: min(1220px, calc(100% - 104px)); margin-inline: auto; }
.header { background: #fcfbf8; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand, .mini-brand { display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; text-decoration: none; }
.brand img, .mini-brand img { object-fit: contain; filter: brightness(0) saturate(100%); }
.brand span, .mini-brand > span { padding-left: 13px; border-left: 1px solid #ddd7ce; font-size: .88rem; line-height: 1.4; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
nav a { display: grid; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; white-space: nowrap; text-decoration: none; }
nav a:hover, .button-text:hover { text-decoration: underline; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 10px 17px; border-radius: 4px; font-size: .875rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: #29241f; }
.button-outline { border: 1px solid #c7beb3; color: #403a33; }
.button-outline:hover { background: #eee8df; }
.button-text { color: var(--green); border: 1px solid #8e8374; background: #fdfbf6bc; }
.hero {
  background-color: #eee8df;
  background-image: linear-gradient(90deg, #faf8f3ed 0%, #faf8f3c9 28%, #faf8f361 56%, #faf8f31a 100%),
    url("./white-corridor.jpg");
  background-position: center, center 56%;
  background-size: cover;
}
.hero-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 65px);
  padding-block: clamp(68px, 7vw, 112px) clamp(64px, 6vw, 96px);
}
.hero .eyebrow { border-left: 1px solid #746959; padding-left: 12px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-weight: 500; font-size: .84rem; letter-spacing: .045em; }
.dot, .notice-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #81705c; }
.hero h1 { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; margin-block: 16px 22px; font-size: clamp(2.15rem, 4vw, 4.05rem); line-height: 1.27; font-weight: 500; letter-spacing: -.045em; }
.lead { max-width: 33em; color: var(--muted); font-size: 1.02rem; line-height: 1.9; overflow-wrap: anywhere; }
.hero .lead { max-width: 25em; text-wrap: pretty; }
.hero-offer {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 18px;
  color: #43362a;
  font-size: .89rem;
}
.hero-offer strong {
  padding: 2px 8px;
  border: 1px solid #bbab98;
  border-radius: 3px;
  background: #f5eee3;
  font-weight: 600;
}
.hero-offer span { font-weight: 500; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 18px; margin-top: 18px; }
.demo { min-width: 0; }
.dashboard { border: 1px solid #dcd5ca; border-radius: 12px; overflow: hidden; background: #fffefcf5; box-shadow: 0 14px 40px #31271916; }
.dashboard-top { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-inline: 21px; border-bottom: 1px solid #e7e1d8; background: #fcfbf8; }
.mini-brand { gap: 9px; }
.mini-brand > span { padding-left: 9px; font-size: .7rem; }
.sample, .period { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; font-size: .68rem; color: #5d554c; }
.sample .dot { width: 6px; height: 6px; }
.dashboard-content { padding: 18px 21px 20px; }
.dashboard-title { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 13px; }
.micro { color: var(--muted); font-size: .73rem; }
.dashboard-title h2 { font-size: 1.35rem; font-weight: 500; line-height: 1.45; }
.period { border: 1px solid #ded7cc; padding: 4px 9px; border-radius: 6px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.metrics > div { padding: 10px 12px; border: 1px solid #e8e2d9; border-radius: 8px; background: #f6f4ef; }
.metrics dt { font-size: .7rem; color: #61594e; }
.metrics dd { font: 500 clamp(.95rem, 2vw, 1.53rem)/1.45 system-ui, sans-serif; letter-spacing: -.038em; font-variant-numeric: tabular-nums; }
.filters { display: flex; gap: 4px; margin-block: 7px 4px; }
.filters button { padding: 0 9px; min-height: 44px; border: 0; border-radius: 6px; color: #564d43; background: transparent; font-size: .73rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: #ebe5db; color: #433a30; }
.filters button:hover { background: #f1ece4; }
.table-area { min-block-size: 188px; }
.preview-table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; font-size: .77rem; font-variant-numeric: tabular-nums; }
.preview-table thead { background: #f4f1eb; color: #5b5349; }
.preview-table th { font-weight: 500; }
.preview-table th, .preview-table td { padding: 8px; border-bottom: 1px solid #ebe6de; }
.preview-table tbody tr:last-child > * { border-bottom-color: transparent; }
.preview-table :is(th, td):last-child { text-align: right; }
.state { display: inline-block; padding: 1px 7px; border-radius: 20px; font-size: .68rem; }
.complete { background: #e9f3e9; color: #2e5b42; }
.pending { background: #fcf1df; color: #775019; }
.demo figcaption { color: #50483d; font-size: .73rem; margin: 10px 2px 0; text-align: right; }
.demo figcaption span { background: #fcfaf4eb; padding: 3px 8px; border-radius: 3px; }
.notice { border-block: 1px solid var(--line); background: #f3f0ea; }
.notice-inner { min-height: 64px; display: flex; gap: 12px; align-items: center; padding-block: 9px; font-size: .875rem; }
.notice-inner strong { font-weight: 600; }
.notice-inner > a, .subsidy a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--green); }
.notice-inner > a { margin-left: auto; white-space: nowrap; }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-title { margin-block: 9px 16px; font-size: clamp(1.65rem, 3.15vw, 2.68rem); font-weight: 500; line-height: 1.45; letter-spacing: -.04em; text-wrap: pretty; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 31px; border-block: 1px solid var(--line); }
.feature { padding: 25px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature:first-child { padding-left: 0; }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 4px; background: #f0ece6; color: var(--green); margin-bottom: 17px; }
.feature h3, .subsidy h3 { margin-bottom: 8px; font-size: 1.05rem; font-weight: 600; line-height: 1.55; }
.feature p, .subsidy p, .questions p { color: var(--muted); font-size: .92rem; }
.pricing { background: #f3f0ea; border-block: 1px solid var(--line); }
.pricing-grid, .faq, .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: start; }
.pricing .button { margin-top: 22px; }
.subsidy { border: 1px solid #ddd5ca; border-radius: 12px; padding: 24px; background: #fcfbf8; align-self: center; }
.subsidy a { margin-top: 5px; font-size: .85rem; }
.faq { grid-template-columns: .72fr 1.28fr; }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 58px; padding: 12px 2px; cursor: pointer; font-size: .95rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; font-size: 1.25rem; color: var(--green); }
details[open] summary::after { content: "−" / ""; }
.questions p { padding: 0 24px 17px 2px; }
.contact { background: #322c25; color: #fbf8f2; }
.contact-inner { grid-template-columns: 1fr auto; align-items: center; }
.contact .eyebrow, .contact p { color: #e7ded1; }
.button-light { background: #f7f3eb; color: #3f382f; }
.button-light:hover { background: #e9dfd0; }
footer { background: #fcfbf8; }
.footer-inner { min-height: 96px; }
.footer-inner small, .footer-inner > a:last-child { color: var(--muted); font-size: .8rem; }
.footer-inner > a:last-child { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 64px); }
  .hero-inner { gap: 24px; grid-template-columns: .9fr 1.1fr; padding-block: 62px 52px; }
  .dashboard-content, .dashboard-top { padding-inline: 14px; }
  .feature { padding: 18px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 65px; }
  nav { display: none; }
  .hero-inner, .pricing-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero { background-image: linear-gradient(180deg, #faf8f3ea 0%, #faf8f3cf 43%, #faf8f366 100%), url("./white-corridor.jpg"); background-position: center, 63% center; }
  .hero-inner { gap: 32px; padding-block: 48px 32px; }
  .hero h1 { font-size: clamp(2.28rem, 7.5vw, 3.5rem); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature { padding-inline: 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 52px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: 5px 17px; padding-block: 15px; }
}
@media (max-width: 430px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 8px; }
  .header-cta { padding-inline: 11px; }
  .brand img { width: 78px; }
  .brand { gap: 9px; }
  .brand span { padding-left: 9px; }
  .dashboard-content, .dashboard-top { padding-inline: 11px; }
  .metrics > div { padding-inline: 7px; }
  .preview-table th, .preview-table td { padding-inline: 4px; }
  .state { padding-inline: 4px; }
  .notice-inner { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
  .notice-inner > a { margin-left: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
