/*
==================================================
 consul.css  (整理・修正版)
 Purpose:
 - consul_support.html / consul_detail.html 共通
 - 追記の積み重ねを解消し、構造ベースで再定義
 - ITリテラシー低め・製造業向けページでも
   読みやすさ・安心感・密度を両立
==================================================
*/

/* ================================
   1. Base Reset / Variables
================================ */

:root {
  --bg-main: #0b1220;
  --bg-panel: #121a2b;
  --border-soft: rgba(255,255,255,0.08);

  --text-main: #e6e9ef;
  --text-sub: #b6c0d0;
  --text-muted: #8a94a6;

  --accent: #4da3ff;
  --accent-soft: rgba(77,163,255,0.15);

  --radius: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
}

/* ================================
   2. Layout
================================ */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

main.wrap {
  padding-top: 48px;
  padding-bottom: 80px;
}

/* ================================
   3. Header / Navigation
================================ */

header {
  border-bottom: 1px solid var(--border-soft);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .name {
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav a {
  color: var(--text-sub);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

nav a:hover {
  color: var(--accent);
}

/* ================================
   4. Hero
================================ */

.hero {
  margin-bottom: 56px;
}

.hero .kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 16px 0;
}

.hero .sub {
  font-size: 15px;
  color: var(--text-sub);
}

/* ================================
   5. Section / Panel
================================ */

.consul-section {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 32px;
}

.consul-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.consul-section p {
  margin: 0 0 12px 0;
  color: var(--text-sub);
}

.consul-section ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.consul-section li {
  margin-bottom: 8px;
  color: var(--text-sub);
}

/* ================================
   6. Flow (Menu)
================================ */

.consul-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.consul-flow-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 16px;
  font-size: 14px;
}

/* ================================
   7. Buttons / CTA
================================ */

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn:hover {
  opacity: 0.9;
}

.consul-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================================
   8. Footer
================================ */

.consul-footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0;
  margin-top: 64px;
}

.footer-lead {
  font-size: 16px;
  margin-bottom: 16px;
}

/* ================================
   9. Responsive
================================ */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 24px;
  }

  .wrap {
    padding: 0 20px;
  }

  .consul-section {
    padding: 24px 20px;
  }
}
