:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --surface-soft: #eeeeeb;
  --text: #171717;
  --muted: #727272;
  --line: #d8d8d4;
  --brand: #171717;
  --brand-dark: #000000;
  --accent: #e7e6e1;
  --warm: #f2efe8;
  --blue: #e9ecee;
  --shadow: 0 22px 60px rgba(0, 0, 0, .07);
  --radius: 4px;
  --radius-sm: 2px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 56px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 56px), 860px); margin: 0 auto; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0 96px; }
.section-title { margin: 0 0 18px; font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.16; font-weight: 500; letter-spacing: -.04em; }
.section-lead { margin: 0; max-width: 760px; color: var(--muted); font-size: 1.02rem; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-weight: 600; letter-spacing: .18em; font-size: .72rem; text-transform: uppercase; }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(216,216,212,.88);
  background: rgba(245,245,243,.94);
  backdrop-filter: blur(14px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: inline-flex; align-items: baseline; gap: 12px; font-weight: 600; letter-spacing: .01em; }
.logo-mark { width: auto; height: auto; border: 0; border-radius: 0; display: inline; background: none; color: inherit; box-shadow: none; font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.logo-mark::after { content: "/"; margin-left: 11px; color: #aaa; font-weight: 400; }
.logo > span:last-child { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; color: #4d4d4d; font-size: .87rem; }
.nav-links a { border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); border-color: var(--text); }
.nav-cta { padding: 9px 15px; border: 1px solid #222 !important; background: #222; color: #fff !important; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 0; cursor: pointer; }

.hero { padding: 118px 0 106px; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 72px; }
.hero h1 { margin: 0; font-size: clamp(3.2rem, 6.6vw, 6.4rem); font-weight: 400; line-height: .98; letter-spacing: -.065em; }
.hero p { margin: 30px 0 0; max-width: 650px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid #bdbdb8; border-radius: 0; background: transparent; font-weight: 600; font-size: .88rem; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { background: #ecece9; }
.btn-primary { background: var(--text); color: #fff; border-color: var(--text); }
.btn-primary:hover { background: #000; }
.hero-visual { position: relative; min-height: 430px; display: flex; align-items: flex-end; }
.hero-panel { position: relative; width: 100%; padding: 34px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); box-shadow: none; transform: none; }
.hero-panel::before { content: ""; position: absolute; width: 88px; height: 1px; background: var(--text); top: 38px; right: 34px; }
.mock-toolbar { display: none; }
.mock-card { padding: 0; border: 0; border-radius: 0; margin-top: 62px; background: transparent; }
.mock-card strong { display: block; margin-bottom: 8px; font-size: 1.18rem; font-weight: 500; }
.mock-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mock-pill { min-height: 102px; border-radius: 0; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; font-weight: 500; color: var(--text); text-align: center; padding: 10px; }

.app-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.app-card { min-height: 390px; padding: 34px 30px; border-radius: 0; background: var(--surface); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: none; display: flex; flex-direction: column; transition: background .2s ease; }
.app-card:hover { background: #f0f0ed; }
.app-card:nth-child(2) .app-icon, .app-card:nth-child(3) .app-icon { background: transparent; }
.app-icon { width: auto; height: auto; border-radius: 0; display: block; font-size: .75rem; letter-spacing: .14em; background: transparent; margin-bottom: 66px; color: var(--muted); font-weight: 600; }
.app-card h3 { margin: 0 0 14px; font-size: 1.55rem; font-weight: 500; letter-spacing: -.03em; }
.app-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.app-card .text-link { margin-top: auto; padding-top: 34px; color: var(--text); font-weight: 600; font-size: .88rem; }

.band { background: var(--text); color: #fff; }
.band .section-lead { color: #b9b9b5; }
.band .eyebrow { color: #9d9d99 !important; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 54px; counter-reset: steps; border-top: 1px solid #3c3c3c; }
.step { border-right: 1px solid #3c3c3c; padding: 28px 30px 0 0; margin-right: 30px; }
.step:last-child { border-right: 0; }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 42px; color: #8d8d89; font-weight: 500; font-size: .72rem; letter-spacing: .12em; }
.step h3 { margin: 0 0 10px; font-size: 1.16rem; font-weight: 500; }
.step p { margin: 0; color: #b9b9b5; font-size: .92rem; }

.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 50px; border-top: 1px solid var(--line); }
.guide-card { padding: 28px 30px 34px 0; margin-right: 30px; border-radius: 0; background: transparent; border: 0; border-right: 1px solid var(--line); }
.guide-card:last-child { border-right: 0; }
.guide-card .tag { display: inline-flex; padding: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: .7rem; letter-spacing: .12em; font-weight: 600; }
.guide-card h3 { margin: 28px 0 10px; font-size: 1.18rem; font-weight: 500; line-height: 1.5; }
.guide-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.page-hero { padding: 88px 0 68px; border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb { margin-bottom: 36px; color: var(--muted); font-size: .8rem; letter-spacing: .03em; }
.breadcrumb a:hover { color: var(--text); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 66px; }
.page-hero h1 { margin: 0; font-size: clamp(3rem, 5.3vw, 5.5rem); font-weight: 400; letter-spacing: -.06em; line-height: 1.02; }
.page-hero .lead { margin: 28px 0 0; max-width: 690px; color: var(--muted); font-size: 1.02rem; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin-top: 38px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-list .feature { padding: 18px; border-radius: 0; background: var(--surface); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature strong { display: block; margin-bottom: 5px; font-weight: 600; }
.feature span { color: var(--muted); font-size: .84rem; }

.visual-card { padding: 22px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); box-shadow: none; }
.visual-card img { border-radius: 0; border: 1px solid var(--line); }
.visual-stack { display: grid; gap: 14px; }
.workflow { display: grid; gap: 0; border-top: 1px solid var(--line); }
.workflow-item { padding: 16px 0; border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.workflow-num { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--text); background: transparent; color: var(--text); font-size: .72rem; font-weight: 600; }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 72px; align-items: start; }
.prose h2 { margin: 68px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.8rem; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 36px 0 10px; font-size: 1.2rem; font-weight: 600; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 7px; }
.prose .callout { padding: 22px; border-left: 2px solid var(--text); border-radius: 0; background: #ecece9; }
.prose .screen { margin: 32px 0; padding: 12px; border-radius: 0; background: var(--surface); border: 1px solid var(--line); }
.prose .screen figcaption { padding: 10px 2px 0; color: var(--muted); font-size: .8rem; }
.side-nav { position: sticky; top: 108px; padding: 0; border: 0; background: transparent; border-radius: 0; border-top: 1px solid var(--line); }
.side-nav strong { display: block; margin: 0; padding: 15px 0; font-size: .82rem; }
.side-nav a { display: block; padding: 8px 0; color: var(--muted); font-size: .82rem; border-top: 1px solid #e3e3df; }
.side-nav a:hover { color: var(--text); }

.legal-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.legal-link { padding: 22px; border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.legal-link strong { display: block; font-weight: 600; }
.legal-link span { color: var(--muted); font-size: .82rem; }

.legal { padding: 82px 0 112px; background: #fff; }
.legal h1 { margin: 0 0 12px; font-size: clamp(2.8rem,5vw,4.8rem); font-weight: 400; letter-spacing: -.055em; }
.legal h2 { margin: 52px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 600; }
.legal p, .legal li { color: #444; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 58px 0; }
.placeholder { padding: 24px; border: 1px solid #bbb7ac; border-radius: 0; background: var(--warm); }
.placeholder strong { display: block; margin-bottom: 5px; }

.contact-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 42px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.contact-item { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-item:first-child { border-top: 0; padding-top: 0; }
.contact-item strong { display: block; margin-bottom: 4px; }
.contact-item a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.cta { padding: 92px 0; background: #fff; }
.cta-box { padding: 56px; border-radius: 0; background: var(--text); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-box h2 { margin: 0; max-width: 680px; font-size: clamp(1.8rem,3.6vw,3rem); font-weight: 400; line-height: 1.25; letter-spacing: -.04em; }
.cta-box p { margin: 12px 0 0; color: #b9b9b5; }
.cta-box .btn { flex: 0 0 auto; color: #fff; border-color: #666; }
.cta-box .btn:hover { background: #333; }

.site-footer { padding: 52px 0 60px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: var(--muted); font-size: .82rem; }
.footer-links a:hover { color: var(--text); }
.footer-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: #8a8a86; font-size: .75rem; }

@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .contact-card, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .app-grid, .guide-grid, .steps { grid-template-columns: 1fr; }
  .app-card { min-height: 290px; }
  .guide-card, .step { border-right: 0; margin-right: 0; padding-right: 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .content-grid { grid-template-columns: 1fr; }
  .side-nav { display: none; }
  .footer-links { justify-content: flex-start; }
  .cta-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 76px 0; }
  .hero { padding: 74px 0 66px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .nav { min-height: 70px; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 16px; border-bottom: 1px solid var(--line); background: #f5f5f3; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 8px; border-bottom: 1px solid var(--line); }
  .menu-button { display: grid; place-items: center; }
  .feature-list, .legal-links { grid-template-columns: 1fr; }
  .mock-row { grid-template-columns: 1fr; }
  .page-hero { padding-top: 54px; }
  .cta-box { padding: 34px 26px; }
  .logo > span:last-child { font-size: .66rem; }
}
