:root {
  --bg: #0e2a47;
  /* 濃い青 */
  --brand: #2f72de;
  /* 明るめブルー */
  --brand-2: #4b8cf2;
  /* 補助ブルー */
  --ink: #0e1a2b;
  /* 文字(濃) */
  --muted: #6b7a90;
  /* 文字(淡) */
  --card: #ffffff;
  /* パネル */
  --wash: #f4f7fb;
  /* 背景薄 */
  --ok: #0bb07b;
  /* 成功色 */
  --danger: #ef4444;
  /* 注意色 */
  --warn: #f59e0b;
  /* 警告色 */
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 10px 30px rgba(14, 26, 43, 0.12);
  --shadow-sm: 0 6px 16px rgba(14, 26, 43, 0.1);
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
    'Hiragino Kaku Gothic ProN', 'BIZ UDPGothic', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ====== ヘッダー ====== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e8eef7;
}

.nav {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.brand img {
  width: 60px;
  height: auto;
}

.brand i {
  color: var(--brand);
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 18px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 500;
  color: #3b4a65;
}

.nav-links a:hover {
  background: var(--wash);
}

.cta-btn {
  margin-left: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
  opacity: 0.92;
}

.ham {
  display: none;
  margin-left: 8px;
  background: transparent;
  border: 0;
  font-size: 22px;
}

/* ====== ドロワー ====== */

.drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.drawer.active {
  display: block;
}

.drawer .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
}

.drawer .panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(90vw, 360px);
  background: #fff;
  padding: 18px;
  border-left: 1px solid #e6edf6;
  overflow: auto;
}

.drawer h4 {
  margin: 10px 0 12px;
  font-size: 14px;
  color: #71839f;
  font-weight: 700;
}

.drawer a {
  display: block;
  padding: 12px;
  border-radius: 10px;
  color: #2a3a58;
}

.drawer a:hover {
  background: var(--wash);
}

/* ====== ヒーロー ====== */

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 80%);
  position: relative;
}

.hero-inner {
  max-width: var(--max);
  margin: auto;
  padding: 48px 18px 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 4.5vw, 46px);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 900;
}

.hero p {
  color: #4a5b78;
  font-size: clamp(14px, 2.2vw, 16px);
  margin: 0 0 20px;
}

.hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6edf6;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #355;
}

.badge i {
  color: var(--ok);
}

.hero-illust {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: radial-gradient(1200px 500px at 80% -20%, #e6f0ff, transparent), linear-gradient(135deg, #f0f6ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.hero-illust .faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(420px, 88%);
}

.face {
  background: #fff;
  border: 1px solid #e2eaf5;
  border-radius: 18px;
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.face b {
  display: block;
  margin-top: 8px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 16px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.ghost {
  background: #fff;
  border: 1px solid #e6edf6;
  color: #2a3a58;
}

/* ====== セクション共通 ====== */

section {
  padding: 60px 18px;
}

.container {
  max-width: var(--max);
  margin: auto;
}

.sec-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.sec-title .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.sec-title h2 {
  margin: 0;
  font-size: clamp(22px, 3.6vw, 32px);
}

.lead {
  color: #53627c;
  margin: 6px 0 24px;
}

/* ====== 3カード（用途） ====== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid #e6edf6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card .thumb {
  aspect-ratio: 16/9;
  background: #eef3fb;
}

.card .body {
  padding: 14px;
}

.chip {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2a4ea6;
  font-size: 12px;
  font-weight: 700;
}

/* ====== 概要 ====== */

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.about .stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  background: #fff;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 22px;
}

/* ====== スタッフ ====== */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.staff {
  background: #fff;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  overflow: hidden;
}

.staff .avatar {
  object-fit: cover;
  width: 100%;
}

.staff .meta {
  padding: 12px;
}

/* ====== 3つの強み ====== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid img {
  border-radius: 18px 18px 0 0;
}

.feature {
  background: #fff;
  border: 1px solid #e6edf6;
  border-radius: 18px;
  padding: 0 0 0 0;
  box-shadow: var(--shadow-sm);
}

.feature i {
  font-size: 22px;
  color: var(--brand);
}

.feature h3,
.feature p {
  padding: 0 10px;
}

p.muted {
  font-size: 15px;
  line-height: 25px;
  color: rgb(68, 68, 68);
}

/* ====== 解決事例 ====== */

.case-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.case span {
  color: #2563eb;
  font-weight: bold;
}

.case {
  background: #fff;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  padding: 16px;
}

.case h4 {
  margin: 0 0 6px;
}

/* ====== 料金 ====== */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan {
  background: #fff;
  border: 2px solid #e6edf6;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.plan.rec {
  border-color: var(--brand);
}

.price {
  font-size: 32px;
  font-weight: 900;
  margin: 0.5em auto;
}

.price span {
  margin-left: 10px;
  font-size: 15px;
  color: #3b4a65;
}

.plan ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #5a6b86;
  font-size: 14px;
  line-height: 25px;
}

/* ====== ご利用の流れ（アコーディオン/ステップ） ====== */

.steps {
  display: grid;
  gap: 12px;
}

.step {
  background: #fff;
  border: 1px solid #e6edf6;
  border-radius: 14px;
}

.step-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}

.step-bd {
  display: none;
  padding: 0 16px 16px;
  color: #5a6b86;
}

.step.open .step-bd {
  display: block;
}

/* ====== FAQ ====== */

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e6edf6;
  border-radius: 14px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 16px 16px;
  color: #5a6b86;
}

.faq-item.open .faq-a {
  display: block;
}

/* ====== フッター ====== */

.footer {
  background: #0f172a;
  color: #d9e3f5;
}

.footer .inner {
  max-width: var(--max);
  margin: auto;
  padding: 32px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.sns {
  display: flex;
  gap: 10px;
}

.sns a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #17213b;
  display: inline-grid;
  place-items: center;
}

.legals {
  color: #a7b4cd;
  font-size: 12px;
}

/* ====== レスポンシブ ====== */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .ham {
    display: inline-grid;
    position: absolute;
    right: 10px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }
  .case-list {
    grid-template-columns: 1fr;
  }
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 46px 14px;
  }
  .cards,
  .feature-grid,
  .staff-grid,
  .pricing {
    grid-template-columns: 1fr;
  }
  .about .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 追加：フォーム・細部 */

.i {
  background: #fff;
  border: 1px solid #dfe7f3;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}

label {
  font-size: 13px;
  color: #3b4a65;
  display: grid;
  gap: 6px;
}

.about-sec {
  padding: 80px 20px;
  text-align: center;
}

.about-label {
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 16px;
}

.about-desc {
  color: #4b5563;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 40px;
}

.about-sub {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.about-card {
  background: #f0f7ff;
  padding: 18px;
  border-radius: 12px;
  text-align: left;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.about-card span {
  width: 4px;
  height: 100%;
  background: #2563eb;
  display: inline-block;
  border-radius: 2px;
}

.about-note {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

.step-bd {
  font-size: 14px;
  line-height: 25px;
}

.faq-a {
  font-size: 15px;
  line-height: 25px;
  margin-top: 5px;
}

html {
  scroll-behavior: smooth;
}

.line-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #06c755;
  /* LINEグリーン */
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  z-index: 1000;
  transition: background 0.2s;
}

.line-contact i {
  font-size: 18px;
}

.line-contact:hover {
  background: #05a94d;
}
