:root {
  --orange: #ff6a00;
  --gold: #ffc329;
  --ink: #242424;
  --muted: #686868;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --line: #deded8;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(36, 36, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(36,36,36,.09); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; width: 226px; flex: 0 0 auto; }
.nav ul, .footer-nav ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 10px 12px; color: #4b4b4b; font-size: .9rem; font-weight: 700; text-decoration: none; border-radius: 999px; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--ink); background: #f1f1ed; }
.nav .nav-cta { margin-left: 6px; padding-inline: 18px; color: white; background: var(--ink); }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible, .nav .nav-cta[aria-current="page"] { color: white; background: var(--orange); }

.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 136px) 0 86px; background: var(--soft); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; top: -130px; border: 80px solid var(--gold); border-radius: 50%; opacity: .8; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr); align-items: center; gap: clamp(48px, 8vw, 100px); }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(2.8rem, 5.4vw, 5.5rem); line-height: 1.04; letter-spacing: -.055em; word-break: keep-all; }
.hero h1 .accent { color: var(--orange); }
.hero-lead { max-width: 600px; margin: 28px 0 0; color: #555; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }
.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 12px 24px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--ink); }
.btn-primary:hover { border-color: var(--orange); background: var(--orange); }
.btn-secondary { background: transparent; }
.btn-secondary:hover { background: white; }

.product-window { position: relative; padding: 14px; background: var(--ink); border-radius: 26px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.window-bar { display: flex; align-items: center; justify-content: space-between; padding: 7px 6px 15px; color: #bcbcbc; font: 700 .68rem/1 sans-serif; letter-spacing: .08em; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; background: #767676; border-radius: 50%; }
.window-dots i:first-child { background: var(--orange); }
.window-body { display: grid; grid-template-columns: 140px 1fr; min-height: 365px; overflow: hidden; background: #f7f7f5; border-radius: 15px; }
.mock-sidebar { padding: 22px 15px; color: #bdbdbd; background: #303030; }
.mock-logo { margin-bottom: 28px; color: white; font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.mock-nav { height: 8px; margin: 14px 0; background: #525252; border-radius: 10px; }
.mock-nav.active { width: 80%; background: var(--orange); }
.mock-main { padding: 24px; }
.mock-heading { width: 44%; height: 14px; background: #2d2d2d; border-radius: 8px; }
.mock-toolbar { display: flex; gap: 8px; margin: 19px 0; }
.mock-toolbar i { display: block; width: 60px; height: 26px; background: white; border: 1px solid #ddd; border-radius: 6px; }
.mock-toolbar i:last-child { margin-left: auto; background: var(--orange); border-color: var(--orange); }
.roof-canvas { position: relative; height: 238px; overflow: hidden; background: #e9e6df; border: 1px solid #d2cec5; border-radius: 10px; }
.roof-shape { position: absolute; inset: 38px 36px 30px 42px; clip-path: polygon(8% 16%, 80% 2%, 96% 83%, 19% 95%); background: #aaa79f; box-shadow: inset 0 0 0 5px #929088; }
.panels { position: absolute; inset: 78px 73px 61px 91px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; transform: rotate(-5deg); }
.panels i { background: #244d68; border: 2px solid #d7e2e9; border-radius: 2px; }
.window-label { position: absolute; right: -20px; bottom: 30px; padding: 10px 18px; color: var(--ink); background: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .05em; border-radius: 999px; transform: rotate(-1.5deg); }

.section { padding: clamp(76px, 9vw, 128px) 0; }
.section-dark { color: white; background: var(--ink); }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-kicker { margin: 0 0 10px; color: var(--orange); font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.18; letter-spacing: -.04em; }
.section-intro { max-width: 510px; margin: 0; color: var(--muted); }
.section-dark .section-intro { color: #c8c8c8; }

.product-feature { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: center; padding: clamp(32px, 5vw, 64px); background: white; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 18px 50px rgba(36,36,36,.06); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; color: #824100; background: #fff0d7; border: 1px solid #ffd59d; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.badge::before { content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.product-name { margin: 20px 0 0; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.1; letter-spacing: -.045em; }
.product-kana { margin: 5px 0 24px; color: #777; font-size: .78rem; letter-spacing: .14em; }
.product-tagline { margin: 0 0 18px; font-size: 1.35rem; font-weight: 800; line-height: 1.55; }
.product-copy { color: #5e5e5e; }
.workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.workflow li { position: relative; min-height: 116px; padding: 18px 14px; background: var(--soft); border-radius: 12px; font-weight: 800; line-height: 1.45; }
.workflow li::before { display: block; margin-bottom: 22px; color: var(--orange); font: 900 .7rem/1 sans-serif; letter-spacing: .1em; content: "0" counter(list-item); }
.workflow li:nth-child(5)::before { color: var(--gold); }

.manifesto-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 80px; }
.brand-mark { display: grid; width: min(100%, 350px); aspect-ratio: 1; place-items: center; padding: 54px; background: #303030; border: 1px solid #454545; border-radius: 50%; }
.manifesto { margin: 0; font-size: clamp(2.35rem, 5vw, 5rem); font-weight: 900; line-height: 1.2; letter-spacing: -.05em; }
.manifesto strong { color: var(--gold); }
.manifesto-copy { max-width: 650px; margin: 30px 0 0; color: #c7c7c7; font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: inherit; font-weight: 800; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.principle-num { color: var(--orange); font: 900 .75rem/1 sans-serif; letter-spacing: .1em; }
.principle h3 { margin: 30px 0 12px; font-size: 1.25rem; }
.principle p { margin: 0; color: var(--muted); }

.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: clamp(34px, 6vw, 64px); color: white; background: var(--orange); border-radius: 28px; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.3; letter-spacing: -.03em; }
.cta-band p { margin: 12px 0 0; color: #fff2e9; }
.cta-band .btn { color: var(--ink); background: white; border-color: white; }

.page-hero { padding: clamp(68px, 8vw, 112px) 0 70px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: end; }
.page-title { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.08; letter-spacing: -.055em; }
.page-lead { margin: 0; color: var(--muted); font-size: 1.12rem; }
.content-grid { display: grid; grid-template-columns: 260px 1fr; gap: 80px; }
.content-label { position: sticky; top: 110px; align-self: start; margin: 0; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.content-body > :first-child { margin-top: 0; }
.content-body h2 { margin: 0 0 28px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.25; letter-spacing: -.04em; }
.lead-statement { font-size: clamp(1.8rem, 4vw, 3.7rem); font-weight: 900; line-height: 1.35; letter-spacing: -.04em; }
.lead-statement strong { color: var(--orange); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.origin-card { display: grid; grid-template-columns: 220px 1fr; gap: 50px; align-items: center; padding: 38px; background: var(--soft); border-radius: 22px; }
.origin-card img { width: 100%; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 22px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.info-table th { width: 180px; color: #777; font-size: .85rem; }
.pending { color: #8a5b00; background: #fff4ce; padding: 3px 8px; border-radius: 5px; font-size: .85rem; }

.product-hero { overflow: hidden; padding: clamp(70px, 9vw, 120px) 0; color: white; background: var(--ink); }
.product-hero .hero-grid { grid-template-columns: .9fr 1.1fr; }
.product-hero .product-name { font-size: clamp(3rem, 6vw, 5.7rem); }
.product-hero .product-kana { color: #aaa; }
.product-hero .product-tagline { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.product-hero .product-copy { color: #c8c8c8; }
.flow-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin: 42px 0 0; padding: 0; list-style: none; border: 1px solid #4a4a4a; border-radius: 18px; overflow: hidden; }
.flow-strip li { min-height: 130px; padding: 18px; border-right: 1px solid #4a4a4a; font-weight: 700; line-height: 1.45; }
.flow-strip li:last-child { border-right: 0; }
.flow-strip small { display: block; margin-bottom: 34px; color: var(--orange); font-weight: 900; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.feature-card .icon { display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--orange); border-radius: 10px; font-weight: 900; }
.feature-card h3 { margin: 28px 0 12px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); }
.notice { padding: 26px 30px; background: #fff7e2; border-left: 5px solid var(--gold); border-radius: 8px; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-card { padding: clamp(30px, 5vw, 54px); background: var(--ink); color: white; border-radius: 24px; }
.contact-label { margin: 0 0 8px; color: var(--gold); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-mail { margin: 0; font-size: clamp(1.4rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.3; word-break: break-all; }
.contact-mail a { text-decoration-color: var(--orange); text-underline-offset: 7px; }
.contact-note { margin: 28px 0 0; color: #bbb; font-size: .88rem; }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }

.site-footer { padding: 62px 0 34px; color: white; background: #181818; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; }
.footer-brand { width: 230px; }
.footer-nav a { color: #ccc; font-size: .85rem; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.copyright { margin: 54px 0 0; color: #777; font-size: .75rem; letter-spacing: .05em; }

@media (max-width: 900px) {
  .header-inner { min-height: auto; padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .brand { width: 200px; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .nav ul { width: max-content; }
  .hero-grid, .product-hero .hero-grid, .product-feature, .manifesto-grid, .page-hero-grid, .content-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .hero h1 { max-width: 760px; }
  .product-window { transform: none; }
  .manifesto-grid { gap: 50px; }
  .brand-mark { width: 240px; padding: 42px; }
  .content-label { position: static; }
  .flow-strip { grid-template-columns: repeat(2, 1fr); }
  .flow-strip li { border-bottom: 1px solid #4a4a4a; }
  .flow-strip li:nth-child(even) { border-right: 0; }
  .flow-strip li:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { gap: 12px; }
  .brand { width: 190px; }
  .nav { overflow: visible; }
  .nav ul { width: 100%; justify-content: space-between; gap: 0; }
  .nav a { padding: 8px 7px; font-size: .76rem; white-space: nowrap; }
  .nav .nav-cta { margin-left: 0; padding-inline: 11px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .window-body { grid-template-columns: 76px 1fr; min-height: 280px; }
  .mock-sidebar { padding: 16px 10px; }
  .mock-main { padding: 16px; }
  .roof-canvas { height: 184px; }
  .panels { inset: 61px 42px 48px 58px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .workflow { grid-template-columns: 1fr; }
  .workflow li { min-height: auto; }
  .workflow li::before { margin-bottom: 12px; }
  .principles, .features-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .origin-card { grid-template-columns: 1fr; }
  .origin-card img { width: 180px; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 0; border-bottom: 0; }
  .flow-strip { grid-template-columns: 1fr; }
  .flow-strip li { min-height: auto; border-right: 0; }
  .flow-strip small { margin-bottom: 12px; }
  .footer-main { flex-direction: column; }
  .footer-nav ul { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
