/* ============================================================
   受発注AI サービスLP — ConQ
   デザイン刷新（2026-07-13・方向①メリハリ・エディトリアル）
   方針: 白面の連続（のっぺり）を解消し、セクションごとに背景トーン・
   スケールを変えてリズムを作る。濃色＝低文字の"見せ場"、明色＝詳細。
   ブランド: 白×モノトーン×青 #0070c0 ×游ゴシック。訴求は据え置き。
   ============================================================ */

:root {
  --ink:      #16181d;
  --ink-2:    #3a4049;
  --muted:    #697180;
  --line:     #e6e8ec;
  --line-2:   #eef0f3;
  --bg:       #ffffff;
  --bg-alt:   #f5f7fa;   /* 淡グレー面 */
  --bg-tint:  #eef4fb;   /* 淡青面（事例・強調） */
  --accent:      #0070c0;   /* ConQ ブランド青 */
  --accent-d:    #005a9a;
  --accent-soft: #e8f1fa;
  --accent-line: #cfe0f1;
  --navy:     #0b2440;   /* 濃紺ビート */
  --navy-2:   #123056;
  --ok:       #2e9e6b;
  --ok-soft:  #e7f6ee;
  --warn:     #c9a227;

  --max:      1040px;
  --readable: 760px;
  --radius:   12px;
  --radius-lg:16px;

  --font-jp:  "Yu Gothic Medium","游ゴシック Medium",YuGothic,"游ゴシック体",
              "Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  --font-mono: ui-monospace,"SF Mono",SFMono-Regular,Consolas,"Yu Gothic Medium",monospace;

  --shadow-sm: 0 1px 2px rgba(15,25,45,.05);
  --shadow:    0 1px 2px rgba(15,25,45,.05), 0 12px 30px rgba(15,25,45,.07);
  --shadow-lg: 0 24px 56px rgba(15,25,45,.16);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt";
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { text-wrap: balance; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--readable); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; padding-bottom: 13px; }
.brand { font-weight: 800; letter-spacing: .03em; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand .sub { color: var(--muted); font-weight: 600; font-size: 11.5px; margin-left: 8px; letter-spacing: .02em; }
.nav-cta {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 9px 17px; border-radius: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
  transition: filter .15s, transform .05s;
}
.nav-cta:hover { filter: brightness(.94); }
.nav-cta:active { transform: translateY(1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; border-radius: 10px;
  padding: 15px 26px; font-size: 15.5px; letter-spacing: .01em; border: 0; cursor: pointer;
  transition: filter .15s, transform .05s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(0,112,192,.28); }
.btn-primary:hover { filter: brightness(.95); }
.btn-ghost { background: #fff; color: var(--accent-d); border: 1.5px solid var(--accent-line); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-white { background: #fff; color: var(--accent-d); box-shadow: 0 12px 30px rgba(0,20,40,.22); }
.btn-white:hover { filter: brightness(.97); }

/* ---------- Section rhythm ---------- */
main > section { padding: 68px 0; }
section.tone-alt { background: var(--bg-alt); }
section.tone-tint { background: var(--bg-tint); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-d); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; margin: 0 0 14px;
}
.section-label::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 1px; }
section h2 { margin: 0 0 26px; font-size: 27px; font-weight: 800; letter-spacing: -.01em; line-height: 1.45; }
section h2.bar { position: relative; padding-left: 16px; }
section h2.bar::before { content:""; position:absolute; left:0; top:.22em; width:5px; height:1.05em; background: var(--accent); border-radius: 2px; }
.lead { font-size: 17px; color: var(--ink-2); margin: 0 0 30px; line-height: 1.85; }
.hero-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 520px at 8% -12%, #e6f1fb 0%, #ffffff 58%);
  border-bottom: 1px solid var(--line);
}
.hero .container { display: grid; grid-template-columns: 1.04fr .96fr; gap: 46px; align-items: center; padding-top: 74px; padding-bottom: 84px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-d);
  background: #fff; border: 1px solid var(--accent-line); border-radius: 999px; padding: 6px 15px; margin: 0 0 22px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow::before { content: "✓"; font-weight: 800; }
.hero h1 { font-size: 50px; line-height: 1.3; letter-spacing: -.025em; font-weight: 800; margin: 0 0 22px; }
.hero h1 .em { color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--ink-2); margin: 0 0 32px; max-width: 27em; line-height: 1.9; }
.hero-sub b { color: var(--ink); font-weight: 700; box-shadow: inset 0 -.5em 0 #d7ebfb; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin: 20px 0 0; font-size: 12.5px; color: var(--muted); }

/* hero visual: layered document stack */
.hero-stack { position: relative; height: 360px; }
.hero-stack .doc {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 17px 19px; width: 78%;
}
.hero-stack .doc.d1 { top: 6px; left: 0; transform: rotate(-4deg); opacity: .9; }
.hero-stack .doc.d2 { top: 74px; left: 20%; transform: rotate(2.5deg); }
.hero-stack .dh { font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; margin: 0 0 11px; }
.hero-stack .dt { font-size: 14.5px; font-weight: 800; margin: 0 0 11px; }
.hero-stack .kv { display: flex; justify-content: space-between; font-size: 12.5px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hero-stack .kv .k { color: var(--muted); }
.hero-stack .kv .v { font-family: var(--font-mono); }
.hero-stack .tot { display: flex; justify-content: space-between; font-weight: 800; font-size: 14.5px; margin-top: 9px; padding-top: 9px; border-top: 2px solid var(--ink); }
.hero-stack .tot .v { font-family: var(--font-mono); }
.hero-stack .badge {
  position: absolute; z-index: 3; top: -4px; right: 4px; background: var(--ok); color: #fff;
  font-size: 11.5px; font-weight: 800; padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(46,158,107,.42);
}

/* ---------- 課題 (pain) ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px;
  font-size: 14px; color: var(--ink-2); line-height: 1.75; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.pain:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.pain .n { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--warn); font-weight: 700; margin-bottom: 10px; letter-spacing: .04em; }

/* ---------- 濃紺ビート（低文字・高インパクトの要約） ---------- */
.beat { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #eaf1f9; text-align: center; }
.beat .container { padding-top: 82px; padding-bottom: 86px; }
.beat .eb { font-size: 12.5px; font-weight: 700; color: #7cc0f5; letter-spacing: .16em; margin: 0 0 24px; }
.beat h2 { font-size: 40px; line-height: 1.42; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0 auto 12px; max-width: 20em; }
.beat h2 em { font-style: normal; color: #7cc0f5; }
.beat .bsub { font-size: 15.5px; color: #a9c0da; margin: 0 auto 50px; max-width: 34em; }
.beat-flow { display: flex; align-items: flex-start; justify-content: center; max-width: 900px; margin: 0 auto; }
.beat-node { flex: 1; padding: 0 10px; }
.beat-node .t { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.beat-node .d { font-size: 12px; color: #8fb2d6; margin-top: 8px; line-height: 1.55; }
.beat-arrow { flex: 0 0 auto; color: #47709f; font-size: 22px; font-weight: 800; padding-top: 2px; }
.beat .cap { margin: 48px 0 0; font-size: 12.5px; color: #7c93af; }

/* ---------- 結果デモ（明色・詳細をインタラクティブに） ---------- */
.demo-stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; overflow: hidden; }
.demo-steps { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  font-size: 12.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); background: #fff; cursor: pointer; user-select: none; transition: all .15s;
}
.chip[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; box-shadow: 0 4px 12px rgba(0,112,192,.25); }
.demo-screen { display: none; animation: fade .35s ease; }
.demo-screen.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo-caption { font-size: 15px; font-weight: 700; margin: 0 0 16px; }
.demo-caption .step-no { display: inline-block; min-width: 1.6em; color: var(--accent); }

.card { position: relative; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 18px; font-size: 13px; box-shadow: var(--shadow-sm); }
.card .card-h { font-family: var(--font-mono); font-weight: 700; font-size: 11px; color: var(--muted); margin: 0 0 12px; letter-spacing: .04em; text-transform: uppercase; }
.doc-art { max-width: 470px; }
.doc-art::before { content:""; position:absolute; left:0; top:0; right:0; height:3px; background: linear-gradient(90deg, var(--accent), #6aa9dd); border-radius: 12px 12px 0 0; }
.doc-art .doc-title { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.kv { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); }
.kv .v { font-family: var(--font-mono); }
.total { display: flex; justify-content: space-between; margin-top: 11px; padding-top: 11px; border-top: 2px solid var(--ink); font-weight: 800; font-size: 15px; }
.total .v { font-family: var(--font-mono); }
table.mini { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.mini th, table.mini td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.mini th { color: var(--muted); font-weight: 600; background: var(--bg-alt); font-size: 11.5px; letter-spacing: .02em; }
table.mini td.num, table.mini th.num { text-align: right; font-family: var(--font-mono); }
.row-new { background: var(--accent-soft); }
.row-new td { font-weight: 700; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; font-family: var(--font-mono); }
.badge.new { background: var(--accent); color: #fff; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.wait { background: #fbf3dd; color: var(--warn); }
.mail-art { max-width: 490px; }
.mail-row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mail-row .lbl { color: var(--muted); min-width: 3.5em; }
.mail-body { padding-top: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.attach { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; font-family: var(--font-mono); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 7px; padding: 7px 11px; }
.tax-split { display: flex; gap: 12px; margin-top: 12px; }
.tax-split .t { flex: 1; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-align: center; }
.tax-split .t b { display: block; font-size: 16px; font-family: var(--font-mono); }
.tax-split .t span { font-size: 11px; color: var(--muted); }
.demo-foot { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ---------- 特徴 (features) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.feat:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.feat .ic { color: var(--accent); margin-bottom: 14px; line-height: 0; }
.feat .ic svg { width: 27px; height: 27px; }
.feat h3 { margin: 0 0 9px; font-size: 16.5px; font-weight: 800; }
.feat p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }

/* ---------- 柔軟なカスタマイズ ---------- */
.custom-list { list-style: none; padding: 0; margin: 0 0 20px; }
.custom-list li { padding: 15px 0 15px 32px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; color: var(--ink-2); }
.custom-list li::before { content:"✓"; position: absolute; left: 2px; top: 15px; color: var(--accent); font-weight: 800; }
.custom-list li b { font-weight: 800; color: var(--ink); }

/* ---------- 導入事例 ---------- */
.case { position: relative; background: #fff; border: 1px solid var(--accent-line); border-radius: var(--radius-lg); padding: 34px 34px 30px; box-shadow: var(--shadow); }
.case .quote { position: relative; font-size: 18px; line-height: 1.95; margin: 0 0 16px; padding-left: 6px; }
.case .quote::before { content: "\201C"; position: absolute; left: -12px; top: -22px; font-size: 60px; line-height: 1; color: var(--accent); opacity: .22; font-family: Georgia, serif; }
.case .who { color: var(--muted); font-size: 14px; }

/* ---------- 進め方 (steps) ---------- */
.steps { counter-reset: s; display: grid; gap: 16px; }
.step { position: relative; padding: 22px 22px 22px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.step:hover { border-color: var(--accent-line); }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px;
  width: 34px; height: 34px; background: var(--accent); color: #fff; border-radius: 50%;
  text-align: center; line-height: 34px; font-weight: 800; font-family: var(--font-mono);
  box-shadow: 0 6px 16px rgba(0,112,192,.28);
}
.step h3 { margin: 0 0 5px; font-size: 16.5px; font-weight: 800; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }

/* ---------- 会社情報（実在の担保） ---------- */
.company-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.company-table th, .company-table td { padding: 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; }
.company-table th { width: 8em; color: var(--muted); font-weight: 600; }
.company-table td a { font-family: var(--font-mono); }

/* ---------- CTA + フォーム ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #0d2b4d 60%, var(--accent-d) 140%); color: #fff; }
.cta-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.cta-band h2 { color: #fff; font-size: 30px; letter-spacing: -.01em; margin: 0 0 14px; }
.cta-band .lead { color: #bcd2e8; margin: 0 0 8px; }
.cta-band .cta-points { list-style: none; padding: 0; margin: 18px 0 0; }
.cta-band .cta-points li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 14.5px; color: #dbe8f5; }
.cta-band .cta-points li::before { content: "✓"; position: absolute; left: 0; color: #7cc0f5; font-weight: 800; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.form-card .form-h { font-size: 16px; font-weight: 800; margin: 0 0 4px; }
.form-card .form-p { font-size: 12.5px; color: var(--muted); margin: 0 0 18px; }
.form-row { margin-bottom: 15px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-row input, .form-row textarea { width: 100%; font-family: var(--font-jp); font-size: 15px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-consent { font-size: 12px; color: var(--muted); margin: 6px 0 16px; }
.form-card .btn-primary { width: 100%; }
.form-hp { position: absolute; left: -9999px; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 12px; background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent-line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; font-size: 15px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; color: var(--accent); font-weight: 700; font-size: 20px; transition: transform .2s; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg-alt); }
.site-footer .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .foot-co { font-size: 13px; color: var(--muted); }
.site-footer .foot-co b { color: var(--ink); font-weight: 800; }
.site-footer .foot-links { display: flex; gap: 22px; font-size: 13px; }
.site-footer .foot-links a { color: var(--muted); text-decoration: none; }
.site-footer .foot-links a:hover { color: var(--accent); }
.site-footer small { color: var(--muted); font-size: 12.5px; }

/* ---------- privacy / thanks 補助ページ ---------- */
.legal h3 { margin-top: 30px; margin-bottom: 8px; font-size: 17px; font-weight: 800; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.legal ul { padding-left: 1.3em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 38px; }
  .pain-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .container { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  main > section { padding: 48px 0; }
  .hero h1 { font-size: 30px; line-height: 1.4; }
  .hero-sub { font-size: 16px; }
  .beat h2 { font-size: 27px; }
  .beat .container { padding-top: 56px; padding-bottom: 60px; }
  .beat-flow { flex-direction: column; gap: 18px; max-width: 260px; margin: 0 auto; }
  .beat-arrow { transform: rotate(90deg); align-self: center; }
  .pain-grid, .feat-grid { grid-template-columns: 1fr; }
  section h2 { font-size: 23px; }
  .cta-band h2 { font-size: 25px; }
  /* hero stack → 単一カードに簡素化 */
  .hero-stack { height: auto; margin-top: 8px; }
  .hero-stack .doc.d1 { display: none; }
  .hero-stack .doc.d2 { position: static; transform: none; width: 100%; }
  .hero-stack .badge { display: none; }
  .site-footer .foot-inner { flex-direction: column; text-align: center; }
  .tax-split { flex-direction: column; }
}
