:root {
  --ink: #1b2b38;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --line: #d7e1e7;
  --muted: #5c6b76;
  --navy: #12385b;
  --accent: #0d7c86;
  --accent-dark: #095a62;
  --accent-soft: #e4f5f4;
  --yellow: #ffc83d;
  --orange: #f06f43;
  --danger: #e8503d;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.75; }
body.exhibition { --accent: #1d66b3; --accent-dark: #164b83; --accent-soft: #e8f1fb; --yellow: #ffd45c; --soft: #f4f8fc; }
body.outdoor { --accent: #357a48; --accent-dark: #255a34; --accent-soft: #e8f5e9; --yellow: #f2c34a; --soft: #f7f8ef; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(215,225,231,.9); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex-direction: column; color: var(--accent-dark); font-size: 12px; font-weight: 900; line-height: 1.05; text-decoration: none; }
.brand strong { font-size: 22px; letter-spacing: 0; }
.header-nav, .header-actions { display: flex; align-items: center; gap: 18px; }
.header-nav a { font-size: 13px; font-weight: 800; text-decoration: none; }
.phone { font-size: 15px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 2px solid var(--orange); border-radius: 6px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 900; line-height: 1.35; text-align: center; text-decoration: none; box-shadow: 0 4px 0 rgba(120,58,35,.24); transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(1px); box-shadow: 0 2px 0 rgba(120,58,35,.24); background: #df5d32; }
.button-sub { border-color: var(--accent-dark); background: #fff; color: var(--accent-dark); box-shadow: none; }
.button-sub:hover { background: var(--accent-soft); color: var(--accent-dark); }

.hero { position: relative; overflow: hidden; border-bottom: 6px solid var(--yellow); background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 47%, var(--accent-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: 34px; align-items: center; padding: 54px 0 26px; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border: 1px solid var(--accent); background: #fff; color: var(--accent-dark); font-size: 12px; font-weight: 900; }
.hero h1 { margin: 0; color: var(--navy); font-size: 46px; line-height: 1.24; letter-spacing: 0; }
.hero-lead { max-width: 690px; margin: 18px 0 0; color: #314858; font-size: 17px; }
.quick-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 0; }
.quick-points span { min-height: 70px; display: grid; place-items: center; padding: 10px; border: 2px solid var(--line); border-radius: 6px; background: #fff; color: var(--accent-dark); font-size: 14px; font-weight: 900; text-align: center; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-board { position: relative; padding: 18px; border: 2px solid var(--navy); border-radius: 8px; background: #fff; box-shadow: 10px 10px 0 rgba(18,56,91,.12); }
.price-ribbon { position: absolute; top: -20px; right: 20px; z-index: 2; padding: 8px 14px; border: 2px solid #8a5a00; border-radius: 6px; background: var(--yellow); color: #2f2300; font-weight: 900; text-align: center; }
.price-ribbon span { display: block; font-size: 28px; line-height: 1.05; }
.price-ribbon strong { display: block; font-size: 12px; line-height: 1.2; }
.device-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; align-items: center; padding: 22px; background: #f9fbfc; }
.device-photo { min-height: 220px; display: grid; place-items: center; padding: 12px; border: 1px solid var(--line); background: #fff; }
.device-photo img { width: 100%; max-height: 235px; object-fit: contain; }
.device-copy h2 { margin: 0 0 8px; color: var(--navy); font-size: 24px; line-height: 1.35; }
.device-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.device-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
.device-badges span { padding: 10px; border: 1px solid var(--line); background: #fff; color: var(--accent-dark); font-size: 13px; font-weight: 900; text-align: center; }
.hero-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 20px; border: 1px solid var(--line); background: var(--line); }
.hero-bottom div { padding: 14px; background: #fff; }
.hero-bottom strong { display: block; color: var(--accent-dark); font-size: 14px; }
.hero-bottom span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.section { padding: 76px 0; }
.section-muted { background: var(--soft); }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.kicker { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 900; }
h2 { margin: 0; color: var(--navy); font-size: 34px; line-height: 1.35; letter-spacing: 0; }
.section-heading p:not(.kicker) { margin: 12px 0 0; color: var(--muted); }

.answer-strip { border-bottom: 1px solid var(--line); background: #fff; }
.answer-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; padding: 34px 0; }
.answer-grid p { margin: 0; color: #344b5c; }

.speech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.speech { position: relative; min-height: 180px; padding: 22px; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.speech::after { position: absolute; left: 28px; bottom: -14px; width: 24px; height: 24px; content: ""; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); background: #fff; transform: rotate(45deg); }
.speech b { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 14px; }
.speech h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.42; }
.speech p { margin: 0; color: var(--muted); font-size: 14px; }

.solution { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.solution-panel { border: 2px solid var(--navy); border-radius: 8px; background: #fff; overflow: hidden; }
.solution-head { padding: 14px 18px; background: var(--navy); color: #fff; font-weight: 900; }
.flow-diagram { display: grid; grid-template-columns: 1fr 46px 1.15fr 46px 1fr; align-items: center; gap: 8px; padding: 22px; }
.node-stack { display: grid; gap: 8px; }
.node, .output-node { min-height: 48px; display: grid; place-items: center; padding: 8px; border: 2px solid var(--line); border-radius: 6px; background: #fff; color: var(--accent-dark); font-weight: 900; text-align: center; line-height: 1.35; }
.node { background: var(--accent-soft); }
.router-node { min-height: 196px; display: grid; place-items: center; padding: 14px; border: 3px solid var(--accent); border-radius: 8px; background: #fff; text-align: center; }
.router-node img { width: 100%; max-height: 128px; object-fit: contain; }
.router-node strong { display: block; margin-top: 8px; color: var(--navy); font-size: 17px; line-height: 1.35; }
.arrow { color: var(--orange); font-size: 34px; font-weight: 900; text-align: center; }
.benefit-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.benefit-list li { position: relative; padding-left: 28px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.benefit-list li::before { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; content: ""; border-radius: 50%; background: var(--accent); }
.benefit-list li::after { position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; content: ""; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { border: 2px solid var(--line); border-top: 7px solid var(--accent); border-radius: 8px; background: #fff; padding: 24px; }
.plan h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.35; }
.plan .price { margin: 10px 0 8px; color: var(--accent-dark); font-size: 28px; font-weight: 900; line-height: 1.2; }
.plan .price small { font-size: 13px; }
.plan p { margin: 0; color: var(--muted); font-size: 14px; }
.plan ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-size: 13px; }
td { font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }

.two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: start; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { padding: 14px 16px 14px 42px; border: 1px solid var(--line); border-radius: 6px; background: #fff; position: relative; }
.check-list li::before { position: absolute; left: 14px; top: 18px; width: 16px; height: 16px; content: ""; border-radius: 50%; background: var(--accent); }
.check-list li::after { position: absolute; left: 20px; top: 21px; width: 4px; height: 8px; content: ""; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cta-band { margin-top: 28px; padding: 24px; border: 2px solid var(--orange); border-radius: 8px; background: #fff8f2; }
.cta-band p { margin: 0 0 16px; color: #4d4038; font-weight: 800; }

.case-box { display: grid; grid-template-columns: .65fr 1.35fr; gap: 24px; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 28px; }
.case-box dt { color: var(--muted); font-size: 13px; }
.case-box dd { margin: 2px 0 12px; font-weight: 900; }
.case-box h3 { margin: 0 0 10px; color: var(--navy); font-size: 25px; line-height: 1.4; }
.case-box p { margin: 0; color: var(--muted); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 18px 34px 18px 0; cursor: pointer; font-weight: 900; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 6px; top: 22px; content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "-"; }
details p { margin: 0; padding: 0 0 18px; color: var(--muted); font-size: 14px; }

.contact { background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; padding: 74px 0; }
.contact h2 { color: #fff; }
.contact p { color: #d9e8f2; }
.contact .phone { display: inline-block; margin-top: 16px; color: #fff; font-size: 24px; }
.contact-form { padding: 26px; border-radius: 8px; background: #fff; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 900; }
label.full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: 11px; border: 1px solid #bdcbd0; border-radius: 4px; background: #fff; color: var(--ink); font-size: 16px; }
textarea { resize: vertical; }
.form-note { color: #62717b; font-size: 12px; }
.contact-form .button { width: 100%; margin-top: 8px; }
.company { padding: 30px 0 74px; background: #0f2e49; color: #d9e8f2; }
.company-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22); }
.company p { margin: 0; font-size: 13px; }
.sticky-contact { display: none; }

@media (max-width: 960px) {
  .header-nav { display: none; }
  .hero-grid, .answer-grid, .solution, .two-column, .faq, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 38px; }
  .speech-grid, .plan-grid { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 62px; }
  .brand strong { font-size: 18px; }
  .header-actions .phone { display: none; }
  .header-actions .button { min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .hero h1 { font-size: 34px; }
  .quick-points, .device-card, .device-badges, .hero-bottom, .form-grid, .case-box { grid-template-columns: 1fr; }
  .flow-diagram { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .section { padding: 56px 0; }
  h2 { font-size: 28px; }
  .contact-form { padding: 20px; }
  .company-inner { display: block; }
  .company-inner p + p { margin-top: 8px; }
  .sticky-contact { position: fixed; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.35fr; width: 100%; box-shadow: 0 -6px 18px rgba(0,0,0,.16); }
  .sticky-contact a { padding: 14px 8px; background: #fff; color: var(--accent-dark); font-size: 13px; font-weight: 900; text-align: center; text-decoration: none; }
  .sticky-contact a:last-child { background: var(--orange); color: #fff; }
  body { padding-bottom: 52px; }
}
