:root {
  --ink: #0b1220;
  --ink-soft: #1e293b;
  --muted: #5b6678;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --navy: #0a2540;
  --navy-deep: #0b1220;
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --cyan: #06b6d4;
  --accent-grad: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.85; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-grad); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 7px; border: 2.5px solid #fff; border-radius: 4px; border-right-color: transparent; }
.brand-name { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: 0.03em; }
.brand-sub { font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; }
.nav a:hover { color: var(--blue); }
.nav-cta { background: var(--accent-grad); color: #fff !important; padding: 8px 16px; border-radius: 999px; box-shadow: 0 4px 14px rgba(29,78,216,0.35); }

/* ============ BUTTONS ============ */
.btn { display: inline-block; padding: 14px 32px; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: opacity .15s, transform .15s; }
.btn:hover { opacity: .92; transform: translateY(-1px); }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 20px rgba(8,145,178,.35); }
.btn-ghost { background: rgba(255,255,255,.08); color: #e2e8f0; border: 1px solid rgba(255,255,255,.4); }
.btn-wide { min-width: 280px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 560px; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: image-set(url("img/hero.webp") type("image/webp"), url("img/hero.jpg") type("image/jpeg")); background-image: url("img/hero.webp"); background-size: cover; background-position: 78% center; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,18,32,.96) 0%, rgba(11,18,32,.86) 30%, rgba(11,18,32,.45) 56%, rgba(11,18,32,.08) 100%); }
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 104px 20px 112px; }
.hero-inner > * { max-width: 600px; }
.hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #7dd3fc; margin-bottom: 18px; }
.hero-title { font-size: clamp(34px, 5.6vw, 60px); font-weight: 800; line-height: 1.28; letter-spacing: .01em; margin-bottom: 24px; }
.hero-lead { font-size: 16px; color: #c7d2e4; margin-bottom: 24px; max-width: 760px; }
.hero-lead strong { color: #fff; font-weight: 700; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero-badges li { font-size: 13px; font-weight: 600; color: #cbe3ff; background: rgba(125,211,252,.12); border: 1px solid rgba(125,211,252,.3); padding: 6px 14px; border-radius: 999px; }
.hero-badges li::before { content: "✓ "; color: #67e8f9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ 業種ストリップ ============ */
.strip { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.strip-inner { max-width: 1120px; margin: 0 auto; padding: 22px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.strip-label { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.strip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.strip-list li { font-size: 14px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.strip-ico { color: var(--blue); display: inline-flex; }
.strip-ico svg { width: 20px; height: 20px; }

/* ============ SECTIONS ============ */
.section { padding: 88px 20px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-narrow { max-width: 760px; }
.section-narrow-md { max-width: 920px; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: radial-gradient(900px 500px at 80% -20%, #14306e 0%, #0b1220 60%), var(--navy-deep); color: #fff; }
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--cyan); margin-bottom: 8px; text-align: center; }
.section-eyebrow.light { color: #67e8f9; }
.section-title { font-size: clamp(23px, 3.4vw, 33px); font-weight: 800; margin-bottom: 18px; letter-spacing: .01em; text-align: center; line-height: 1.4; }
.section-title.light { color: #fff; }
.lead-center { text-align: center; color: var(--muted); font-size: 15px; max-width: 760px; margin: 0 auto 44px; }
.section-navy .lead-center { color: #c7d2e4; }

/* ============ 課題 ============ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.problem-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); position: relative; }
.problem-no { font-size: 13px; font-weight: 800; color: var(--cyan); letter-spacing: .1em; margin-bottom: 10px; }
.problem-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--ink-soft); }

/* ============ 解決策 ============ */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.solution-card { background: rgba(255,255,255,.05); border: 1px solid rgba(125,211,252,.22); border-radius: var(--radius); padding: 28px 22px; }
.solution-ico { width: 50px; height: 50px; color: #67e8f9; margin-bottom: 16px; }
.solution-ico svg { width: 50px; height: 50px; }
.solution-card h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.solution-card p { font-size: 13.5px; color: #c7d2e4; }

/* ============ WHY ============ */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.why-card.highlight { border-color: rgba(29,78,216,.4); background: linear-gradient(180deg, #fff, #f5f9ff); box-shadow: var(--shadow-lg); }
.why-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.why-card p { font-size: 14.5px; color: var(--ink-soft); }
.why-tag { font-size: 11px; font-weight: 700; color: #fff; background: var(--accent-grad); padding: 2px 10px; border-radius: 999px; }
.why-link { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.why-link:hover { color: var(--blue-dark); text-decoration: underline; }

/* ============ DEMO ============ */
.demo-box { max-width: 760px; margin: 0 auto; }
.demo-player { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.demo-player video { width: 100%; aspect-ratio: 16/9; background: #000; }
.demo-langs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.demo-lang { background: #fff; border: 1.5px solid var(--line); color: var(--ink-soft); font-size: 14px; font-weight: 700; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.demo-lang:hover { border-color: var(--blue); color: var(--blue); }
.demo-lang.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(29,78,216,.3); }
.demo-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.demo-cta { text-align: center; margin-top: 32px; }

/* ============ LANGUAGES ============ */
.lang-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 18px; }
.lang-chips li { font-size: 14px; font-weight: 600; color: var(--blue-dark); background: rgba(29,78,216,.07); border: 1px solid rgba(29,78,216,.16); padding: 7px 16px; border-radius: 999px; }
.lang-note { text-align: center; font-size: 13px; color: var(--muted); }

/* ============ TYPES ============ */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.type-ico { width: 52px; height: 52px; border-radius: 13px; margin-bottom: 16px; color: var(--blue); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(29,78,216,0.10), rgba(6,182,212,0.10)); }
.type-ico svg { width: 28px; height: 28px; }
.type-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.type-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ============ SYSTEMS ============ */
.system-list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.system-item { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 10px; padding: 22px 26px; box-shadow: var(--shadow); }
.system-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.system-item p { font-size: 14px; color: var(--ink-soft); }

/* ============ INBOUND ============ */
.inbound-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.inbound-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; text-align: center; box-shadow: var(--shadow); }
.inbound-ico { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; color: var(--blue); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(29,78,216,0.10), rgba(6,182,212,0.10)); }
.inbound-ico svg { width: 30px; height: 30px; }
.inbound-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.inbound-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ============ FLOW ============ */
.flow-list { list-style: none; max-width: 800px; margin: 30px auto 0; counter-reset: none; }
.flow-step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.flow-step:last-child { border-bottom: none; }
.flow-no { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-size: 19px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(29,78,216,.3); }
.flow-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.flow-step p { font-size: 14px; color: var(--ink-soft); }

/* ============ FAQ ============ */
.faq-list { margin-top: 30px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 54px 18px 22px; font-size: 15.5px; font-weight: 700; color: var(--ink); cursor: pointer; position: relative; line-height: 1.6; }
.faq-mark { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: var(--blue); transition: transform .2s; }
.faq-mark::before { width: 16px; height: 2.5px; top: 7px; }
.faq-mark::after { width: 2.5px; height: 16px; left: 7px; }
.faq-item.open .faq-mark::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 14px; color: var(--ink-soft); }

/* ============ CONTACT FORM ============ */
.contact-lead { text-align: center; font-size: 14.5px; color: #c7d2e4; margin-bottom: 34px; }
.contact-form { background: #fff; border-radius: 16px; padding: 36px 34px; box-shadow: var(--shadow-lg); color: var(--ink); }
.form-row { margin-bottom: 20px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.req { display: inline-block; font-size: 10.5px; font-weight: 700; color: #fff; background: #dc2626; border-radius: 4px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-agree .agree-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.form-agree input[type="checkbox"] { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue); flex-shrink: 0; }
#turnstile-row { display: flex; justify-content: center; }
.form-submit { text-align: center; margin-top: 28px; }
.form-status { text-align: center; margin-top: 16px; font-size: 14px; font-weight: 700; min-height: 1.4em; }
.form-status.ok { color: #047857; }
.form-status.ng { color: #dc2626; }

/* ============ PRIVACY ============ */
.privacy-body { font-size: 14px; color: var(--ink-soft); }
.privacy-body p { margin-bottom: 14px; }
.privacy-body ol { padding-left: 22px; }
.privacy-body li { margin-bottom: 10px; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: #94a3b8; padding: 40px 20px 24px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: block; font-size: 17px; font-weight: 800; color: #e2e8f0; letter-spacing: .03em; margin-bottom: 6px; }
.footer-desc { font-size: 12.5px; color: #94a3b8; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #cbd5e1; font-size: 13.5px; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-copy { max-width: 1120px; margin: 24px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11.5px; color: #64748b; }

/* ============ RESPONSIVE ============ */
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 900px) {
  .problem-grid, .types-grid, .inbound-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid, .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-scrim { background: linear-gradient(175deg, rgba(11,18,32,.62) 0%, rgba(11,18,32,.78) 45%, rgba(11,18,32,.94) 100%); }
  .hero-photo { object-position: 72% center; }

  .pc-only { display: none; }
  .sp-only { display: inline; }
  .nav { gap: 0; }
  .nav a:not(.nav-cta) { display: none; }
  .hero-inner { padding: 72px 20px 80px; }
  .section { padding: 60px 18px; }
  .problem-grid, .types-grid, .inbound-grid, .solution-grid, .why-grid { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .btn-wide { min-width: 100%; }
  .flow-step { gap: 16px; }
  .footer-inner { flex-direction: column; }
}
