@charset "UTF-8";

/* =========================================================
   Plusらぼ 受託LP 共通スタイル
   モバイルファースト設計 / 軽量・高速読み込み重視
   ========================================================= */

:root {
  --navy: #1a2b4a;
  --navy-deep: #11203a;
  --accent: #ff7a45;
  --accent-deep: #e85f2a;
  --base: #ffffff;
  --bg-soft: #f5f7fa;
  --text: #2a3340;
  --text-soft: #5a6573;
  --line: #e3e8ef;
  --ok: #2e9e6b;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(26, 43, 74, 0.10);
  --max: 920px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--base);
  line-height: 1.85;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

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

a { color: var(--accent-deep); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 12px;
}
.brand { display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; }
.brand .logo { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.brand .org { font-size: .72rem; color: var(--text-soft); }
.header-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem;
  white-space: nowrap;
}

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 56px 0 64px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .08em;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.6rem, 6vw, 2.5rem);
  line-height: 1.45;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero h1 .mark { color: var(--accent); }
.hero p.lead { font-size: 1.02rem; color: #d8e0ee; margin: 0 0 14px; }
.hero .sub { font-size: .85rem; color: #aeb9cc; margin: 0 0 28px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 17px 26px;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform .08s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 69, .35); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-block { width: 100%; }

/* ---------- セクション共通 ---------- */
section { padding: 52px 0; }
section.soft { background: var(--bg-soft); }
.sec-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
h2.sec-title {
  font-size: clamp(1.35rem, 5vw, 1.9rem);
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 24px;
  font-weight: 800;
}
.lead-text { font-size: 1rem; color: var(--text); margin: 0 0 20px; }

/* ---------- 課題カード ---------- */
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.problem-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.problem-list li .q { color: var(--accent-deep); font-weight: 800; margin-right: 6px; }

/* ---------- 共感ブロック ---------- */
.affinity-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.affinity-box .turn {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  color: var(--navy);
}

/* ---------- ベネフィットカード ---------- */
.benefits { display: grid; gap: 18px; }
.benefit {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.benefit .ico {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.benefit h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.12rem; }
.benefit p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------- 実績 / 体制 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.tags span {
  background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.flow { display: grid; gap: 12px; counter-reset: step; }
.flow .step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 16px 56px; position: relative; box-shadow: var(--shadow);
}
.flow .step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.flow .step strong { color: var(--navy); display: block; }
.flow .step span { font-size: .9rem; color: var(--text-soft); }

/* ---------- CTAバンド ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8e0ee; margin: 0 0 24px; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #c4cedd;
  padding: 34px 0 96px;
  font-size: .85rem;
}
.site-footer .org-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.site-footer a { color: #fff; }
.site-footer .vision { margin-top: 16px; color: #9fb0c6; font-size: .82rem; }
.site-footer nav { margin-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }

/* ---------- 固定追従CTA（モバイル） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 18px rgba(26, 43, 74, .08);
}
.sticky-cta .btn { padding: 15px 20px; font-size: 1rem; }

/* ---------- フォーム ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 22px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .95rem; }
.field .req { color: #fff; background: var(--accent); font-size: .68rem; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.field input, .field textarea {
  width: 100%; padding: 14px; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; color: var(--text); background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 69, .15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--text-soft); margin: 0 0 22px; }
.privacy {
  font-size: .8rem; color: var(--text-soft); background: var(--bg-soft);
  border-radius: 10px; padding: 14px 16px; margin: 22px 0;
}

/* ---------- thanks ---------- */
.thanks-hero { text-align: center; padding: 80px 0 60px; }
.thanks-hero .check {
  width: 76px; height: 76px; margin: 0 auto 24px;
  background: var(--ok); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
}
.thanks-hero h1 { color: var(--navy); font-size: clamp(1.5rem, 6vw, 2.1rem); margin: 0 0 16px; }
.thanks-hero p { color: var(--text-soft); margin: 0 auto 10px; max-width: 560px; }

/* ---------- レスポンシブ（タブレット以上） ---------- */
@media (min-width: 720px) {
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .problem-list { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }       /* PCでは固定CTAを隠す */
  .site-footer { padding-bottom: 34px; }
}

/* 動きの抑制設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
