/* ===== Base ===== */
:root {
  --brand: #4f7bf7;
  --brand-dark: #3a62d4;
  --brand-light: #eaf0ff;
  --ink: #1a1f36;
  --ink-soft: #51566b;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --border: #e3e8f0;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(26, 31, 54, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1120px, 92%); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 700;
  font-size: 16px; transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(79,123,247,.35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-light); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 9px 20px;
  border-radius: 999px; box-shadow: 0 4px 12px rgba(79,123,247,.3);
}
.nav-cta:hover { background: var(--brand-dark); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #eef3ff 0%, #f7faff 55%, #fff 100%);
  padding: 76px 0 96px;
}
/* 装飾blob */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; z-index: 0; }
.blob-1 { width: 280px; height: 280px; background: #cdddff; top: -80px; left: -60px; }
.blob-2 { width: 200px; height: 200px; background: #e0d6ff; bottom: 30px; left: 35%; opacity: .4; }
.blob-3 { width: 340px; height: 340px; background: #d3e6ff; top: -40px; right: -100px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero-tags span {
  background: #fff; color: var(--brand-dark); border: 1.5px solid #cdddff;
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(79,123,247,.08);
}
.hero-title { font-size: clamp(36px, 6vw, 62px); font-weight: 900; line-height: 1.18; letter-spacing: .01em; }
.hero-lead { margin-top: 22px; font-size: 18px; color: var(--ink-soft); }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-goat {
  position: absolute; left: -36px; bottom: -44px;
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; object-position: center 30%;
  background: #fff; padding: 8px;
  box-shadow: 0 14px 34px rgba(26,31,54,.20); z-index: 3;
}
.hero-trial {
  margin-top: 20px; font-size: 15px; color: var(--ink-soft);
}
.hero-trial strong { color: var(--brand); font-size: 17px; }
/* 浮遊する通知カード */
.float-card {
  position: absolute; z-index: 4; background: #fff; border-radius: 14px;
  box-shadow: 0 14px 36px rgba(26,31,54,.16); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; animation: floaty 3.5s ease-in-out infinite;
}
.float-card small { display: block; font-size: 11px; color: var(--ink-soft); }
.float-card strong { display: block; font-size: 15px; }
.float-card-1 { top: -18px; right: -10px; }
.float-card-1 .fc-icon {
  width: 30px; height: 30px; background: #1a8a4a; color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
}
.float-card-2 { bottom: 6px; right: -24px; animation-delay: 1.2s; text-align: right; }
.float-card-2 strong { font-size: 22px; color: var(--brand); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== 実績バンド ===== */
.metrics { background: var(--brand); padding: 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric {
  text-align: center; padding: 30px 16px; color: #fff;
  border-right: 1px solid rgba(255,255,255,.18);
}
.metric:last-child { border-right: none; }
.m-num { display: block; font-size: 36px; font-weight: 900; line-height: 1; }
.m-num small { font-size: 16px; font-weight: 700; margin-left: 2px; }
.m-label { display: block; font-size: 13px; margin-top: 8px; opacity: .9; }

/* ===== ノートPC風フレーム ===== */
.laptop { width: 100%; max-width: 640px; margin-inline: auto; }
.laptop-screen {
  background: #2a2f3a; border-radius: 12px 12px 0 0;
  padding: 14px 14px 12px; box-shadow: 0 20px 50px rgba(26,31,54,.20);
}
.laptop-screen img {
  width: 100%; display: block; border-radius: 4px; background: #fff;
}
.laptop-hinge {
  height: 14px; background: linear-gradient(#3a3f4c, #2a2f3a);
}
.laptop-base {
  height: 14px; width: 116%; margin-left: -8%;
  background: linear-gradient(#d7dbe4, #b3b9c7);
  border-radius: 0 0 12px 12px; position: relative;
}
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 6px; background: #9aa1b0; border-radius: 0 0 7px 7px;
}

/* ===== OKURUN本体 モックアップ ===== */
.okurun-mock { display: flex; min-height: 340px; background: #fafbfd; font-size: 12px; }
.om-sidebar { width: 124px; background: #fff; border-right: 1px solid var(--border); padding: 14px 10px; flex-shrink: 0; }
.om-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; margin-bottom: 18px; }
.om-brand img { width: 24px; height: 24px; border-radius: 6px; }
.om-nav { display: flex; flex-direction: column; gap: 4px; }
.om-nav-item { padding: 7px 9px; border-radius: 7px; color: var(--ink-soft); font-size: 11.5px; }
.om-nav-item.on { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.om-main { flex: 1; padding: 16px 18px; }
.om-h { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
/* ダッシュボード */
.om-stats { display: flex; gap: 10px; margin-bottom: 14px; }
.om-stat { flex: 1; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: 9px; padding: 10px 12px; }
.oms-label { display: block; font-size: 10px; color: var(--ink-soft); }
.oms-num { display: block; font-size: 20px; font-weight: 900; margin-top: 2px; }
.om-card { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; }
.om-card-h { font-size: 11.5px; font-weight: 700; margin-bottom: 10px; }
.om-bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; }
.om-bars span { flex: 1; background: linear-gradient(180deg, var(--brand), #9bb6fb); border-radius: 3px 3px 0 0; }
/* 送信設定 */
.om-field { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.omf-label { width: 90px; font-size: 11.5px; font-weight: 700; flex-shrink: 0; }
.omf-select { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 9px 12px; color: var(--ink-soft); }
.om-mode { display: flex; gap: 8px; margin: 16px 0; }
.omm { flex: 1; text-align: center; padding: 9px; border: 1px solid var(--border); border-radius: 7px; color: var(--ink-soft); }
.omm.on { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.om-run { background: var(--brand); color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 13px; border-radius: 9px; }

/* ===== Scraper モックアップ ===== */
.scraper-mock { position: relative; min-height: 360px; background: #fafbfd; }
.mock-site { padding: 18px 20px; }
.mock-site-title { font-weight: 800; font-size: 15px; margin-bottom: 14px; color: var(--ink); }
.mock-row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; margin-bottom: 8px;
}
.mc-name { font-weight: 700; font-size: 13px; }
.mc-meta { font-size: 11px; color: var(--ink-soft); }

/* OKURUN取込 パネル (右に重ねる) */
.mock-panel {
  position: absolute; top: 16px; right: 16px; width: 230px;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(26,31,54,.28); border: 1px solid var(--border);
}
.mock-panel-head {
  display: flex; align-items: center; gap: 8px;
  background: #1f3050; color: #fff; padding: 10px 12px; font-weight: 700; font-size: 14px;
}
.mock-panel-icon { width: 22px; height: 22px; border-radius: 6px; }
.mock-panel-win { margin-left: auto; font-size: 12px; opacity: .8; }
.mock-panel-body { padding: 12px; }
.mock-panel-badge {
  background: #e7f7ee; color: #1a8a4a; font-size: 12px; font-weight: 700;
  padding: 7px 10px; border-radius: 7px; margin-bottom: 8px;
}
.mock-panel-note { font-size: 10.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 10px; }
.mock-panel-label { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.mock-fields { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.mf {
  font-size: 12px; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 7px; color: var(--ink-soft); background: #fff;
}
.mf.on { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.mock-panel-cta {
  background: var(--brand); color: #fff; text-align: center; font-weight: 700;
  font-size: 12.5px; padding: 11px; border-radius: 8px;
}

/* ===== Section common ===== */
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; text-align: center; letter-spacing: .01em; }
.section-title::after {
  content: ""; display: block; width: 48px; height: 4px; border-radius: 999px;
  background: var(--brand); margin: 14px auto 0;
}
.section-lead { text-align: center; color: var(--ink-soft); margin-top: 14px; }

/* ===== Problem ===== */
.problem { padding: 80px 0; background: var(--bg-soft); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.problem-card {
  background: #fff; border-radius: 18px; padding: 44px 28px; text-align: center;
  box-shadow: 0 10px 30px rgba(26,31,54,.06); border: 1px solid var(--border);
  transition: transform .18s, box-shadow .18s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,31,54,.10); }
.problem-icon { margin-bottom: 18px; }
.problem-icon img { width: 130px; height: 130px; object-fit: contain; margin-inline: auto; }
.problem-card p { font-size: 16px; color: var(--ink-soft); }
.problem-card strong { color: var(--ink); }
.problem-conclusion { text-align: center; font-size: 24px; font-weight: 800; margin-top: 44px; }
.hl { color: var(--brand); }

/* ===== Product ===== */
.product { padding: 90px 0; }
.product-alt { background: var(--bg-soft); }
.product-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-inner.reverse .product-text { order: 2; }
.product-inner.reverse .product-visual { order: 1; }
.product-eyebrow { font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.coming { background: #ffe7a8; color: #8a6100; font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-left: 8px; }
.product-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-top: 8px; }
.product-title-sub { display: block; font-size: 16px; font-weight: 700; color: var(--ink-soft); margin-top: 4px; }
.product-sub { font-size: 19px; color: var(--ink-soft); margin-top: 12px; margin-bottom: 26px; }
.feature-list { list-style: none; margin-bottom: 30px; }
.feature-list li {
  position: relative; padding-left: 32px; margin-bottom: 14px; font-size: 16px; color: var(--ink-soft);
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--brand); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.feature-list strong { color: var(--ink); }
.product-badges { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.badge { background: var(--brand-light); color: var(--brand-dark); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.product-visual { text-align: center; }
/* 製品アイコン表示 */
.product-icon-wrap {
  display: grid; place-items: center;
  width: 280px; height: 280px; margin-inline: auto;
  background: radial-gradient(circle at 50% 40%, var(--brand-light), #fff 70%);
  border-radius: 32px;
}
.product-icon-img { width: 160px; height: 160px; border-radius: 36px; filter: drop-shadow(0 16px 36px rgba(79,123,247,.30)); }
.product-icon-scraper { border-radius: 36px; }
.badge-icon { width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 4px; }

/* scraper: PC画像 + 拡張ポップアップ オーバーレイ */
.scraper-visual-wrap { position: relative; display: inline-block; width: 100%; padding-bottom: 110px; }
.ext-popup-wrap {
  position: absolute; right: -8px; top: 52%; width: 130px;
}
.ext-popup-img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(26,31,54,.30);
  border: 1px solid rgba(255,255,255,.6);
  display: block;
}
.ext-popup-badge {
  position: absolute; top: -12px; left: -12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 9px;
  box-shadow: 0 6px 16px rgba(79,123,247,.4);
  border: 2px solid #fff; background: #fff;
}
@media (max-width: 880px) {
  .scraper-visual-wrap { padding-bottom: 80px; }
  .ext-popup-wrap { width: 100px; right: 4px; top: 55%; }
  .ext-popup-badge { width: 26px; height: 26px; top: -10px; left: -10px; }
}
.product-img-logo { width: 200px; margin-inline: auto; }
.product-img-icon { width: 160px; margin-inline: auto; border-radius: 28px; box-shadow: var(--shadow); }
.db-mock { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); max-width: 360px; margin-inline: auto; }
.db-row { display: flex; justify-content: space-between; padding: 12px 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
.db-row:last-child { border-bottom: none; }
.db-row span:first-child { font-weight: 700; }
.db-row span:last-child { color: var(--ink-soft); }

/* ===== 導入の流れ ===== */
.flow { padding: 90px 0; background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%); }
.flow-steps { display: flex; align-items: stretch; justify-content: center; gap: 8px; margin-top: 50px; }
.flow-step {
  flex: 1; background: #fff; border-radius: 18px; padding: 30px 20px; text-align: center;
  box-shadow: 0 10px 30px rgba(26,31,54,.07); border: 1px solid var(--border); position: relative;
}
.flow-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-weight: 800; font-size: 14px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(79,123,247,.4);
}
.flow-icon { margin: 22px auto 14px; width: 56px; height: 56px; color: #9aa1b0; }
.flow-icon svg { width: 100%; height: 100%; }
.flow-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.flow-arrow { display: flex; align-items: center; color: var(--brand); font-size: 26px; font-weight: 700; }

/* ===== Pricing ===== */
.pricing { padding: 90px 0; position: relative; overflow: hidden; }
.blob-p1 { width: 260px; height: 260px; background: #d3e6ff; top: 40px; left: -90px; opacity: .4; }
.blob-p2 { width: 220px; height: 220px; background: #e0d6ff; bottom: 20px; right: -70px; opacity: .35; }
.pricing-layout {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: center; margin-top: 50px; max-width: 880px; margin-inline: auto;
}
.pricing-includes { padding: 8px 8px 8px 20px; }
.pricing-includes-h { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.includes-list { list-style: none; }
.includes-list li {
  display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600;
  padding: 12px 0; border-bottom: 1px dashed var(--border);
}
.inc-ico { font-size: 22px; }
.price-single-card { max-width: 420px; width: 100%; }
.price-single-card .price-num { font-size: 48px; }
.price-highlights { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 24px; }
.ph { background: var(--brand-light); color: var(--brand-dark); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.price-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 14px; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow);
}
.price-card-featured { border: 2px solid var(--brand); transform: scale(1.04); }
.price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  padding: 5px 18px; border-radius: 999px;
}
.price-name { font-size: 20px; font-weight: 800; }
.price-amount { margin: 16px 0 8px; }
.price-num { font-size: 38px; font-weight: 900; }
.price-unit { font-size: 16px; color: var(--ink-soft); margin-left: 4px; }
.price-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.price-features { list-style: none; flex: 1; margin-bottom: 24px; }
.price-features li { padding: 8px 0 8px 26px; position: relative; font-size: 15px; border-bottom: 1px dashed var(--border); }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ===== Contact ===== */
.contact { padding: 90px 0; background: var(--bg-soft); }
.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-lead { color: var(--ink-soft); margin-top: 16px; text-align: left; }
.contact-mascot {
  width: 130px; height: 130px; margin-top: 24px;
  border-radius: 50%; object-fit: cover;
  background: var(--brand-light);
  box-shadow: var(--shadow);
}
.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.req { background: #ffe1e1; color: #c0392b; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 6px; font-weight: 700; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 16px; font-family: inherit; transition: border .15s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,123,247,.15); }
.form-status { margin-top: 16px; text-align: center; font-weight: 700; }
.form-status.success { color: #1a8a4a; }
.form-status.error { color: #c0392b; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #fff; padding: 50px 0 30px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.footer-logo { width: 36px; height: 36px; border-radius: 9px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #c5cbe0; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-copy { color: #8b91ad; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .nav { gap: 14px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-tags { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-goat { width: 100px; left: 0; bottom: -30px; }
  .float-card-1 { top: -10px; right: 0; padding: 8px 12px; }
  .float-card-2 { display: none; }
  .flow-steps { flex-direction: column; gap: 28px; }
  .flow-arrow { transform: rotate(90deg); justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); padding: 22px; }
  .metric:last-child { border-bottom: none; }
  .hero-actions { justify-content: center; }
  .problem-grid { grid-template-columns: 1fr; }
  .product-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-inner.reverse .product-text { order: 0; }
  .product-inner.reverse .product-visual { order: -1; }
  .product-visual { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-includes { padding: 8px; }
  .price-card-featured { transform: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-mascot { display: none; }
}
