/*
Theme Name: ChatFlow Theme
Theme URI: https://connect.co
Author: connect Inc.
Author URI: https://connect.co
Description: ChatFlow Solutions 公式サイト用カスタムテーマ
Version: 2.3.0
License: Private
Text Domain: chatflow
*/

/* ============================================================
   ★ カラー変数 — ここだけ変えれば全体に反映
   ============================================================
   --pri        : メインカラー（ブルー）
   --pri-dark   : ボタンホバーなど
   --pri-light  : バッジ・背景の薄い色
   --sec        : サブカラー（パープル）
   --sec-light  : パープル背景薄い色
   --navy       : テキスト・ダーク背景
   --gray       : サブテキスト
   --gray-light : ライトグレー背景
   --border     : ボーダー色
   ============================================================ */

:root {
  --pri:        #2563EB;
  --pri-dark:   #1D4ED8;
  --pri-light:  #EFF6FF;
  --sec:        #7C3AED;
  --sec-light:  #F5F3FF;
  --accent:     #22C55E;
  --navy:       #0F172A;
  --gray:       #64748B;
  --gray-light: #F8FAFC;
  --border:     #E2E8F0;
  --white:      #FFFFFF;
  --r:    20px;
  --r-sm: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Nunito:wght@400;500;600;700;800;900&family=M+PLUS+Rounded+1c:wght@700;800;900&family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@700&display=swap');

/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; width: 100%; }
section, footer { width: 100%; max-width: 100%; overflow-x: hidden; }
body {
  font-family: 'Nunito', 'BIZ UDPGothic', 'Hiragino Maru Gothic Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .25s;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
}
.btn-primary {
  background: var(--pri);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,99,235,.3);
}
.btn-primary:hover { background: var(--pri-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.4); }
.btn-outline { background: transparent; color: var(--pri); border: 2px solid var(--pri); }
.btn-outline:hover { background: var(--pri-light); }
.btn-white { background: #fff; color: var(--pri); box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.btn-sec { background: var(--sec); color: #fff; box-shadow: 0 6px 20px rgba(124,58,237,.3); }
.btn-sec:hover { background: #6D28D9; transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 13px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pri-light);
  color: var(--pri);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: .04em;
}
.tag-sec { background: var(--sec-light); color: var(--sec); }
.section-label { text-align: center; margin-bottom: 12px; }

.section-title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--navy);
}
.section-title .c-pri { color: var(--pri); }
.section-title .c-sec { color: var(--sec); }

.section-desc {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.header-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header-logo-box {
  width: 36px; height: 36px;
  background: var(--pri);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.header-logo-img { height: 36px; width: auto; }
.header-brand-text { font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; font-size: 20px; font-weight: 900; color: var(--navy); }
.header-brand-text span { color: var(--pri); }
.header-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.header-nav a { color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.header-nav a:hover { color: var(--pri); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-nav .menu { display: flex; gap: 28px; list-style: none; }
.header-nav .menu a { color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.header-nav .menu a:hover { color: var(--pri); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  padding: 72px 24px 56px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
/* 背景画像バージョン */
.hero-bg {
  background-color: #0a0f1e;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 12, 28, 0.82) 0%,
    rgba(8, 12, 28, 0.68) 55%,
    rgba(8, 12, 28, 0.50) 100%
  );
  z-index: 0;
}
/* テキストを写真の上でも読みやすく */
.hero-bg .hero-title,
.hero-bg .hero-sub,
.hero-bg .hero-eyebrow,
.hero-bg .hero-proof { color: #fff; }
.hero-bg .hero-eyebrow-wrap {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.hero-bg .hero-eyebrow {
  color: var(--navy);
  border-left: none;
  padding-left: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  vertical-align: middle;
}
.hero-bg .hero-eyebrow-dot {
  flex-shrink: 0;
  margin-top: 0;
}
.hero-bg .hero-proof .proof-item { color: rgba(255,255,255,.75); }
.hero-bg .btn-hero-ghost {
  color: #fff;
  border: 2px solid rgba(255,255,255,.8) !important;
  background: rgba(255,255,255,.12);
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-sizing: content-box !important;
}
.hero-bg .btn-hero-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.hero-bg .hbc-card {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero-bg .hbc-label { color: rgba(255,255,255,.55); }
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pri-light);
  border: 1px solid rgba(37,99,235,.2);
  color: var(--pri);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.hero-title {
  font-family: 'M PLUS Rounded 1c', 'BIZ UDPGothic', sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
/* タイトルボックス（背景なし） */
.hero-title-box {
  display: inline-block;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--pri), var(--sec));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-em {
  font-style: normal;
  color: #7DD3FC;
  font-weight: 900;
}
.htl-left   { display: block; text-align: left; }
.htl-right  { display: block; text-align: right; }
.htl-center { display: block; text-align: center; }
.hero-title-em-white {
  color: #fff;
}
.hero-title-body {
  font-family: 'BIZ UDPGothic', 'Hiragino Maru Gothic Pro', sans-serif;
  font-weight: 900;
  font-size: clamp(21px, 2.8vw, 37px);
  margin-top: 14px;
}
/* ロゴバッジ */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
.hero-brand-badge {
  display: flex; align-items: center; gap: 4px;
  align-self: flex-start;
  margin-left: -2px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.95);
  border-radius: 14px;
  padding: 7px 21px 7px 15px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  animation: badgeFloat 3s ease-in-out infinite;
}
.hero-badge-logo {
  height: 29px; width: auto; display: block;
}
.hero-badge-tagline {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
}
.hero-sub {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 28px;
}
.hero-copy {
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-proof-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray); font-weight: 500;
}
.hero-proof-item::before { content: '✓'; color: var(--accent); font-weight: 900; }

/* ヒーロー右: チャットモックアップ */
.hero-visual { display: flex; flex-direction: column; gap: 12px; }
.hero-mockup {
  background: #fff;
  border-radius: 20px;
  border: 2px solid #BFDBFE;
  overflow: hidden;
  outline: 8px solid var(--pri-light);
  box-shadow: 0 24px 60px rgba(37,99,235,.1);
}
.mockup-bar {
  background: var(--pri);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
}
.mockup-bar-left { display: flex; align-items: center; gap: 8px; }
.mockup-bar-logo { height: 20px; filter: brightness(0) invert(1); }
.mockup-bar-title { color: rgba(255,255,255,.95); font-size: 13px; font-weight: 700; }
.mockup-bar-status { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.65); font-size: 11px; }
.mockup-bar-dot { width: 6px; height: 6px; background: #4ADE80; border-radius: 50%; }
.mockup-msgs { padding: 14px; background: #F8FAFC; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.mockup-msg { display: flex; gap: 8px; align-items: flex-end; }
.mockup-msg.user { flex-direction: row-reverse; }
.mockup-av { width: 26px; height: 26px; border-radius: 50%; background: var(--pri); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.mockup-bubble { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 13px; line-height: 1.6; }
.mockup-msg.bot .mockup-bubble { background: #fff; color: var(--navy); border-radius: 3px 14px 14px 14px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.mockup-msg.user .mockup-bubble { background: var(--pri); color: #fff; border-radius: 14px 3px 14px 14px; }
.mockup-qr { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 4px 34px; }
.mockup-qr-btn {
  background: #fff; border: 1.5px solid var(--pri); color: var(--pri);
  padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; transition: all .2s;
}
.mockup-qr-btn:hover { background: var(--pri); color: #fff; }
.mockup-typing { display: flex; gap: 4px; align-items: center; padding: 8px 12px; background: #fff; border-radius: 3px 14px 14px 14px; width: fit-content; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.mockup-typing span { width: 6px; height: 6px; background: #CBD5E1; border-radius: 50%; animation: bounce 1.2s infinite; }
.mockup-typing span:nth-child(2) { animation-delay: .2s; }
.mockup-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0);} 40%{transform:translateY(-5px);} }
.mockup-input { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--border); }
.mockup-input-field { flex: 1; background: #F1F5F9; border: none; border-radius: 20px; padding: 8px 14px; font-size: 12px; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; outline: none; color: var(--gray); }
.mockup-send { width: 32px; height: 32px; background: var(--pri); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; transition: background .2s; flex-shrink: 0; }
.mockup-send:hover { background: var(--pri-dark); }

/* フロートカード */
.hero-floats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-float-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.hfc-icon { width: 28px; height: 28px; background: var(--pri-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.hfc-title { font-size: 11px; font-weight: 700; color: var(--navy); }
.hfc-sub { font-size: 10px; color: var(--gray); }

.hero-scroll { text-align: center; padding: 32px 0 0; color: var(--gray); font-size: 12px; letter-spacing: .08em; }
.hero-scroll-arrow { display: block; margin: 6px auto 0; animation: scrollArrow 1.8s infinite; }
@keyframes scrollArrow { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }

/* ============================================================
   トラストバー
   ============================================================ */
.trust-bar {
  background: var(--sec-light);
  border-top: 1px solid #DDD6FE;
  border-bottom: 1px solid #DDD6FE;
  padding: 14px 24px;
}
.trust-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-bar-label { font-size: 12px; color: var(--sec); font-weight: 700; white-space: nowrap; }
.trust-bar-items { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-bar-item { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: #4C1D95; }
.trust-bar-item-icon { font-size: 18px; }

/* ============================================================
   課題セクション
   ============================================================ */
.pain { padding: 88px 24px; background: #fff; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.pain-card {
  background: #F8F7FF;
  border-radius: var(--r);
  padding: 26px 22px;
  border: 1px solid #DDD6FE;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pri), var(--sec));
  opacity: 0;
  transition: .3s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(37,99,235,.1); border-color: rgba(37,99,235,.25); }
.pain-card:hover::before { opacity: 1; }
.pain-icon { font-size: 30px; margin-bottom: 12px; }
.pain-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pain-desc { font-size: 14px; color: var(--gray); line-height: 1.75; }
.pain-cta { text-align: center; margin-top: 48px; }
.pain-cta p { color: var(--gray); font-size: 16px; margin-bottom: 18px; }

/* ============================================================
   業種別デモセクション
   ============================================================ */
.demos { padding: 88px 24px; background: var(--gray-light); }
.demos-inner { max-width: 1140px; margin: 0 auto; }
.demos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.demo-card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  border: 1px solid var(--border);
  transition: all .3s;
  text-decoration: none;
  display: block;
}
.demo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(15,23,42,.12); }
.demo-card-header {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
  background: #8B95C9;
}
.demo-card-header::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.demo-card-industry { color: rgba(255,255,255,.75); font-size: 10px; font-weight: 700; letter-spacing: .12em; margin-bottom: 6px; }
.demo-card-name { color: #fff; font-size: 22px; font-weight: 800; }
.demo-card-emoji { font-size: 46px; position: relative; z-index: 1; }
.demo-card-body { padding: 22px 26px; }
.demo-card-desc { font-size: 14px; color: var(--gray); line-height: 1.75; margin-bottom: 14px; }
.demo-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.demo-tag { background: var(--gray-light); color: var(--navy); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.demo-card-cta { display: flex; align-items: center; justify-content: space-between; }
.demo-card-cta-text { font-size: 14px; color: var(--pri); font-weight: 700; }
.demo-card-arrow {
  width: 34px; height: 34px;
  background: var(--pri-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: all .3s;
}
.demo-card:hover .demo-card-arrow { background: var(--pri); color: #fff; transform: translateX(4px); }

/* ============================================================
   ソリューション（機能説明）
   ============================================================ */
.solution { padding: 88px 24px; background: var(--pri-light); }
.solution-inner { max-width: 1140px; margin: 0 auto; }
.solution-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 56px; }
.solution-visual { position: relative; }
.solution-screen {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(37,99,235,.12);
  overflow: hidden;
  border: 1px solid rgba(37,99,235,.12);
}
.solution-screen-bar {
  background: var(--pri);
  height: 38px;
  display: flex; align-items: center;
  padding: 0 16px; gap: 6px;
}
.solution-screen-bar span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.solution-screen-content { padding: 22px; font-size: 13px; color: var(--gray); }
.solution-badge-float {
  position: absolute;
  bottom: -16px; right: -16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 13px 18px;
  display: flex; align-items: center; gap: 10px;
}
.solution-badge-float .icon { font-size: 26px; }
.solution-badge-float .text { font-size: 13px; font-weight: 700; color: var(--navy); }
.solution-badge-float .sub { font-size: 11px; color: var(--gray); }
.solution-features { display: flex; flex-direction: column; gap: 26px; }
.solution-feature { display: flex; gap: 16px; align-items: flex-start; }
.solution-feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.solution-feature-icon.blue   { background: linear-gradient(135deg, var(--pri-light), #DBEAFE); }
.solution-feature-icon.purple { background: linear-gradient(135deg, var(--sec-light), #EDE9FE); }
.solution-feature-icon.green  { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
.solution-feature-icon.amber  { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }
.solution-feature-title { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.solution-feature-desc { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ============================================================
   フィードバック最適化セクション
   ============================================================ */
.feedback-opt {
  padding: 88px 24px;
  background: var(--navy);
}
.feedback-opt-inner { max-width: 1140px; margin: 0 auto; }

.feedback-opt .section-title { color: #fff; }
.feedback-opt .section-title .c-sky { color: #38BDF8; }
.feedback-opt .section-desc { color: rgba(255,255,255,.55); margin-bottom: 48px; }

.fb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.fb-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 24px;
  text-align: center;
}
.fb-stat-num { font-size: 40px; font-weight: 900; color: #38BDF8; line-height: 1; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; }
.fb-stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }
.fb-stat-note { font-size: 10px; color: rgba(255,255,255,.25); margin-top: 4px; }

.fb-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.fb-bar-row { display: flex; align-items: center; gap: 16px; }
.fb-bar-label { font-size: 13px; color: rgba(255,255,255,.7); width: 100px; flex-shrink: 0; font-weight: 700; }
.fb-bar-track { flex: 1; background: rgba(255,255,255,.1); border-radius: 4px; height: 10px; overflow: hidden; }
.fb-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #38BDF8, #7DD3FC); }
.fb-bar-pct { font-size: 13px; color: #38BDF8; width: 36px; text-align: right; flex-shrink: 0; font-weight: 700; }

.fb-highlight {
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(167,139,250,.35);
  border-radius: var(--r-sm);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fb-highlight-icon {
  width: 36px; height: 36px;
  background: rgba(167,139,250,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.fb-highlight-text { font-size: 14px; color: #fff; line-height: 1.75; }
.fb-highlight-text strong { color: #A78BFA; display: block; margin-bottom: 4px; font-size: 15px; }

.fb-caution {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-left: 2px solid rgba(56,189,248,.4);
  border-radius: 0 6px 6px 0;
}
.fb-caution p { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.7; }
.fb-caution span { color: rgba(56,189,248,.65); }

/* ============================================================
   料金プラン
   ============================================================ */
.pricing { padding: 88px 24px; background: var(--sec-light); }
.pricing-inner { max-width: 1140px; margin: 0 auto; }

.pricing-init-note {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.pricing-init-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  color: #92400E;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: #fff;
  border-radius: var(--r);
  padding: 32px 28px;
  border: 1px solid #DDD6FE;
  position: relative;
  transition: all .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(124,58,237,.1); }
.price-card.popular {
  border: 2px solid var(--sec);
  box-shadow: 0 12px 40px rgba(124,58,237,.15);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sec);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.price-plan-name { font-size: 13px; font-weight: 700; color: var(--gray); letter-spacing: .08em; margin-bottom: 6px; }
.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
}
.price-amount span { font-size: 14px; color: var(--gray); font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; font-weight: 500; }
.price-target { font-size: 13px; color: var(--gray); margin: 12px 0; line-height: 1.6; }
.price-divider { height: 1px; background: var(--border); margin: 16px 0; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pf-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--navy); line-height: 1.5; }
.pf-check { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pf-sub { font-size: 11px; color: var(--gray); display: block; }
.price-btn {
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  transition: all .25s;
  border: 2px solid var(--sec);
  color: var(--sec);
  background: transparent;
}
.price-btn:hover { background: var(--sec-light); }
.price-btn.primary { background: var(--sec); color: #fff; }
.price-btn.primary:hover { background: #6D28D9; }

.pricing-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================================
   導入ステップ
   ============================================================ */
.how { padding: 88px 24px; background: #fff; }
.how-inner { max-width: 1140px; margin: 0 auto; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--pri), var(--sec));
  z-index: 0;
}
.how-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.how-step-num {
  width: 60px; height: 60px;
  background: #fff;
  border: 2px solid var(--pri);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px; font-weight: 900;
  color: var(--pri);
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  position: relative; z-index: 1;
  transition: all .3s;
}
.how-step:hover .how-step-num { background: var(--pri); color: #fff; }
.how-step-icon { font-size: 26px; margin-bottom: 6px; }
.how-step-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.how-step-desc { font-size: 13px; color: var(--gray); line-height: 1.75; }
.how-step-tag {
  display: inline-block;
  margin-top: 10px;
  background: var(--pri-light);
  color: var(--pri);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.how-note {
  text-align: center;
  margin: 44px auto 0;
  background: linear-gradient(135deg, var(--pri-light), var(--sec-light));
  border-radius: var(--r);
  padding: 22px 32px;
  max-width: 580px;
}
.how-note p { color: var(--pri); font-size: 15px; font-weight: 700; }
.how-note span { color: var(--navy); }

/* ============================================================
   機能一覧
   ============================================================ */
.features { padding: 88px 24px; background: var(--gray-light); }
.features-inner { max-width: 1140px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature-card {
  background: #fff;
  border-radius: var(--r);
  padding: 28px 24px;
  transition: all .3s;
  border: 1px solid var(--border);
}
.feature-card:hover { box-shadow: 0 12px 40px rgba(37,99,235,.1); transform: translateY(-4px); border-color: rgba(37,99,235,.2); }
.feature-card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.fc-blue   { background: var(--pri); }
.fc-purple { background: var(--sec); }
.fc-green  { background: linear-gradient(135deg, #10B981, #059669); }
.fc-amber  { background: linear-gradient(135deg, #F59E0B, #D97706); }
.fc-pink   { background: linear-gradient(135deg, #EC4899, #DB2777); }
.fc-sky    { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.feature-card-title { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.feature-card-desc { font-size: 14px; color: var(--gray); line-height: 1.75; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 88px 24px; background: var(--gray-light); }
.faq-inner { max-width: 740px; margin: 0 auto; }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border); }
.faq-q {
  width: 100%; padding: 18px 22px;
  text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy);
}
.faq-q-icon {
  width: 28px; height: 28px;
  background: var(--pri-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--pri); font-size: 16px; flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--pri); color: #fff; }
.faq-a p { padding-top: 14px; }

/* ============================================================
   CTAバナー
   ============================================================ */
.cta { padding: 88px 24px; background: linear-gradient(135deg, var(--pri) 0%, var(--sec) 100%); }
.cta-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.cta-emoji { font-size: 52px; margin-bottom: 16px; }
.cta-title { font-size: clamp(26px, 4vw, 46px); font-weight: 900; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.cta-desc { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.cta-proof { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cta-proof-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 500; }
.cta-proof-item::before { content: '✓'; font-weight: 900; }

/* ============================================================
   お問い合わせフォーム
   ============================================================ */
.contact { padding: 88px 24px; background: #fff; }
.contact-inner { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--pri); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  background: var(--pri);
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  margin-top: 8px;
  transition: all .3s;
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
}
.form-submit:hover { background: var(--pri-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,99,235,.4); }
.form-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 12px; line-height: 1.7; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.form-check input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--pri); flex-shrink: 0; margin-top: 2px; }
.form-check label { font-size: 13px; color: var(--gray); line-height: 1.6; }
.form-check a { color: var(--pri); text-decoration: none; }

/* ============================================================
   フッター
   ============================================================ */
.footer { background: #F0F4FF; padding: 60px 24px 28px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1140px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-box { width: 28px; height: 28px; background: var(--pri); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.footer-logo { height: 28px; filter: brightness(0) invert(1); }
.footer-brand-name { font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; font-size: 18px; font-weight: 900; color: var(--navy); }
.footer-brand-name span { color: var(--pri); }
.footer-tagline { font-size: 14px; color: var(--gray); line-height: 1.75; margin-bottom: 18px; }
.footer-col-title { font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .1em; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--pri); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { color: var(--gray); font-size: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--gray); text-decoration: none; font-size: 12px; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--pri); }

/* ============================================================
   フローティングウィジェット
   ============================================================ */
.cf-toggle {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--pri);
  border: none; cursor: pointer; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,99,235,.5);
  font-size: 24px; transition: all .3s;
}
.cf-toggle:hover { transform: scale(1.1); }
.cf-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37,99,235,.4); animation: pulse 2.5s infinite; }
@keyframes pulse { 0%{transform:scale(1);opacity:.8;} 70%{transform:scale(1.35);opacity:0;} 100%{transform:scale(1.35);opacity:0;} }
.cf-widget {
  position: fixed; bottom: 100px; right: 28px;
  width: 360px; max-width: calc(100vw - 16px);
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15,23,42,.2);
  display: none; flex-direction: column;
  z-index: 2001; overflow: hidden;
  border: 1px solid rgba(37,99,235,.15);
}
.cf-widget.open { display: flex; animation: fadeUp .3s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(12px);} to{opacity:1;transform:translateY(0);} }
.cf-head { background: var(--pri); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.cf-head-left { display: flex; align-items: center; gap: 10px; }
.cf-head-logo { height: 24px; filter: brightness(0) invert(1); }
.cf-head-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.cf-head-status { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.65); font-size: 11px; }
.cf-head-dot { width: 6px; height: 6px; background: #4ADE80; border-radius: 50%; animation: blink 2s infinite; }
.cf-close { background: none; border: none; color: rgba(255,255,255,.5); font-size: 20px; cursor: pointer; transition: color .2s; padding: 4px; }
.cf-close:hover { color: #fff; }
.cf-msgs { flex: 1; overflow-y: auto; padding: 16px; background: #F8FAFC; display: flex; flex-direction: column; gap: 10px; max-height: 340px; }
.cf-msg { display: flex; gap: 8px; align-items: flex-end; }
.cf-msg.user { flex-direction: row-reverse; }
.cf-av { width: 28px; height: 28px; border-radius: 50%; background: var(--pri); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.cf-bub { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.6; }
.cf-msg.bot .cf-bub { background: #fff; color: var(--navy); border-radius: 4px 16px 16px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cf-msg.user .cf-bub { background: var(--pri); color: #fff; border-radius: 16px 4px 16px 16px; }
.cf-qrs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 4px 36px; }
.cf-qr { background: #fff; border: 1.5px solid var(--pri); color: var(--pri); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; transition: all .2s; }
.cf-qr:hover { background: var(--pri); color: #fff; }
.cf-qr:disabled { opacity: .5; pointer-events: none; }
.cf-typing-dots { background: #fff; border-radius: 4px 16px 16px 16px; padding: 10px 14px; display: flex; gap: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cf-typing-dots span { width: 6px; height: 6px; background: #CBD5E1; border-radius: 50%; animation: bounce 1.2s infinite; }
.cf-typing-dots span:nth-child(2) { animation-delay: .2s; }
.cf-typing-dots span:nth-child(3) { animation-delay: .4s; }
.cf-input-area { padding: 10px 14px; background: #fff; border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: center; }
.cf-input { flex: 1; border: 1.5px solid var(--border); border-radius: 20px; padding: 9px 14px; font-size: 13px; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; outline: none; transition: border-color .2s; }
.cf-input:focus { border-color: var(--pri); }
.cf-send { width: 36px; height: 36px; background: var(--pri); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.cf-send:hover { background: var(--pri-dark); }
.cf-foot { text-align: center; padding: 6px; font-size: 10px; color: #CBD5E1; background: #fff; border-top: 1px solid #F1F5F9; }
@media (max-width: 400px) { .cf-widget { right: 8px; } .cf-toggle { right: 16px; } }

/* ============================================================
   固定ページ（page.php）
   ============================================================ */
.page-hero { background: linear-gradient(135deg, var(--pri) 0%, var(--sec) 100%); padding: 80px 0 56px; text-align: center; }
.page-hero-title { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero-breadcrumb { color: rgba(255,255,255,.75); font-size: .9rem; }
.page-hero-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-hero-breadcrumb a:hover { text-decoration: underline; }
.page-content { padding: 72px 0 96px; background: var(--gray-light); }
.page-body { max-width: 800px; margin: 0 auto; background: #fff; border-radius: var(--r); padding: 56px 64px; box-shadow: 0 4px 24px rgba(0,0,0,.07); }
@media (max-width: 768px) { .page-hero-title { font-size: 1.6rem; } .page-body { padding: 36px 24px; } }
.page-body h2 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--pri-light); }
.page-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.page-body p { color: #374151; line-height: 1.9; margin-bottom: 16px; }
.page-body ul, .page-body ol { padding-left: 1.5em; margin-bottom: 16px; color: #374151; line-height: 1.9; }
.page-body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.page-body th, .page-body td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; font-size: .92rem; }
.page-body th { background: var(--pri-light); font-weight: 700; color: var(--navy); white-space: nowrap; }
.page-nav { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.page-nav-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-nav-prev, .page-nav-next { color: var(--pri); text-decoration: none; font-weight: 600; font-size: .9rem; }
.page-nav-prev:hover, .page-nav-next:hover { text-decoration: underline; }

/* ============================================================
   WordPress デフォルト
   ============================================================ */
.wp-block-image img { max-width: 100%; height: auto; }
img { max-width: 100%; height: auto; }
a { color: var(--pri); }
p { line-height: 1.8; }

/* ============================================================
   front-page.php 補完スタイル
   ============================================================ */

/* ボタン追加 */
.btn-outline-white {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-white:hover { background: var(--navy); color: #fff; }

/* ヒーロー追加 */
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pri);
  background: var(--pri-light);
  border: 1px solid rgba(37,99,235,.2);
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.hero-title-accent { color: var(--pri); }
.hero-sub-note {
  display: block;
  font-size: 11px;
  color: var(--gray);
  margin-top: 8px;
  line-height: 1.6;
}
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.proof-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gray); font-weight: 600;
}
.proof-item svg { color: var(--accent); flex-shrink: 0; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ヒーロー ウィジェット */
.hero-widget-wrap { position: relative; }
.chat-widget-demo {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #BFDBFE;
  box-shadow: 0 20px 60px rgba(37,99,235,.12);
  overflow: hidden;
  outline: 7px solid #EFF6FF;
}
.cwd-header {
  background: var(--pri);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.cwd-avatar {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.cwd-name { color: #fff; font-size: 13px; font-weight: 700; }
.cwd-status { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.65); font-size: 11px; }
.dot-green { display: inline-block; width: 6px; height: 6px; background: #4ADE80; border-radius: 50%; }
.cwd-body { padding: 14px; background: #F8FAFC; min-height: 200px; max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.cwd-bubble { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.6; }
.cwd-bubble.bot { background: #fff; color: var(--navy); border-radius: 3px 14px 14px 14px; box-shadow: 0 2px 6px rgba(0,0,0,.06); align-self: flex-start; }
.cwd-bubble.user { background: var(--pri); color: #fff; border-radius: 14px 3px 14px 14px; align-self: flex-end; }
.cwd-footer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.cwd-input { flex: 1; border: 1.5px solid var(--border); border-radius: 20px; padding: 8px 14px; font-size: 12px; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; outline: none; transition: border-color .2s; }
.cwd-input:focus { border-color: var(--pri); }
.cwd-send { background: var(--pri); color: #fff; border: none; border-radius: 20px; padding: 8px 16px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; transition: background .2s; }
.cwd-send:hover { background: var(--pri-dark); }

/* チャットウィジェット QRボタン */
.cwd-qr-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cwd-qr-btn {
  background: #fff; border: 1.5px solid var(--pri); color: var(--pri);
  padding: 6px 13px; border-radius: 20px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; transition: all .2s;
}
.cwd-qr-btn:hover { background: var(--pri); color: #fff; }

/* ヒーロー 下部カード */
.hero-bottom-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px;
}
.hero-bottom-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.hbc-icon { font-size: 24px; flex-shrink: 0; }
.hbc-title { font-size: 13px; font-weight: 800; color: var(--navy); }
.hbc-sub { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* ヒーロー フロート */
.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 12px; font-weight: 700; color: var(--navy);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  white-space: nowrap;
}
.hero-float-1 { bottom: -14px; left: -16px; }
.hero-float-2 { top: -14px; right: -8px; }

/* トラストバー (front-page版) */
.trust-bar .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-label { font-size: 12px; color: var(--sec); font-weight: 700; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-item { font-size: 13px; font-weight: 700; color: #4C1D95; }

/* section共通 */
.section { padding: 88px 24px; }
.section-sub {
  text-align: center; color: var(--gray); font-size: 16px;
  line-height: 1.8; max-width: 620px; margin: 0 auto 48px;
}

/* 課題カード内テキスト */
.pain-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.pain-card p  { font-size: 15px; color: var(--gray); line-height: 1.8; }

/* デモセクション */
.demo-section { background: var(--gray-light); }
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.demo-msg { padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.6; max-width: 90%; margin: 4px 0; }
.demo-msg.bot { background: #F1F5F9; color: var(--navy); align-self: flex-start; border-radius: 3px 12px 12px 12px; }
.demo-msg.user { background: #8B95C9; color: #fff; align-self: flex-end; border-radius: 12px 3px 12px 12px; margin-left: auto; }
.demo-card-body {
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  background: #fff;
  min-height: 140px;
}

/* フィードバック追加 */
.fb-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.fb-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 600px) {
  .fb-features { grid-template-columns: 1fr; }
}
.fb-feature-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.fb-feature-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.fb-feature-item h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.fb-feature-item p  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }
.fb-feature-item.fb-highlight {
  background: rgba(124,58,237,.18);
  border-color: rgba(167,139,250,.35);
}
.fb-bar-section { margin-top: 8px; }
.fb-bar-title { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; font-weight: 600; }
.fb-bar-value { font-size: 13px; color: #38BDF8; width: 36px; text-align: right; flex-shrink: 0; font-weight: 700; }

/* 料金プラン追加 */
.pricing { background: var(--sec-light); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.price-card-header { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.price-note { font-size: 12px; color: var(--gray); margin-top: 4px; }
.price-popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sec); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 16px;
  border-radius: 50px; white-space: nowrap;
}
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--navy); line-height: 1.5; }
.price-features svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.pricing-footer-note { text-align: center; font-size: 11px; color: var(--gray); margin-top: 20px; line-height: 1.8; }

/* 導入ステップ追加 */
.how-section { background: #fff; }
.how-steps {
  display: flex; align-items: flex-start;
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.how-step {
  flex: 1; text-align: center; padding: 0 16px;
}
.how-step-num {
  width: 60px; height: 60px;
  background: #fff; border: 2px solid var(--pri);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px; font-weight: 900; color: var(--pri);
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  transition: all .3s;
  position: relative; z-index: 1;
}
.how-step:hover .how-step-num { background: var(--pri); color: #fff; }
.how-step-content h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.how-step-content p  { font-size: 13px; color: var(--gray); line-height: 1.7; }
.how-arrow {
  font-size: 22px; color: var(--pri); flex-shrink: 0;
  padding-top: 16px; opacity: .5;
}

/* FAQセクション追加（details/summary） */
.faq-section { background: var(--gray-light); }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { background: #fff; border-radius: var(--r-sm); border: 1px solid var(--border); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--pri); }
.faq-q {
  width: 100%; padding: 20px 22px;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }
.faq-q:hover { color: var(--pri); }
.faq-q::after {
  content: '+';
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--pri-light); color: var(--pri);
  font-size: 20px; font-weight: 400; line-height: 1;
  transition: background .2s, transform .3s;
}
.faq-item[open] > .faq-q::after { content: '−'; background: var(--pri); color: #fff; }
.faq-a {
  display: block;
  padding: 16px 22px 20px;
  font-size: 14px; color: var(--gray); line-height: 1.8;
  border-top: 1px solid var(--border);
}

/* CTAセクション */
.cta-section {
  padding: 88px 24px;
  background: linear-gradient(135deg, var(--pri) 0%, var(--sec) 100%);
  text-align: center;
}
.cta-section h2 { font-size: clamp(24px, 4vw, 42px); font-weight: 900; color: #fff; margin-bottom: 14px; }
.cta-section p  { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 32px; }

/* お問い合わせセクション */
.contact-section { background: #fff; }
.contact-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; margin-top: 8px; }
.contact-form { background: var(--gray-light); border-radius: var(--r); padding: 36px 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  color: var(--navy); background: #fff; outline: none; transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--pri); }
.form-group textarea { resize: vertical; }
.req { color: #EF4444; font-size: 11px; margin-left: 4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); cursor: pointer; }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--pri); flex-shrink: 0; }
.checkbox-label a { color: var(--pri); }
.form-privacy { margin-bottom: 20px; }
.form-success { background: #ECFDF5; border: 1px solid #6EE7B7; border-radius: var(--r-sm); padding: 16px 20px; font-size: 14px; color: #065F46; font-weight: 600; text-align: center; margin-top: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--gray-light); border-radius: var(--r-sm); padding: 24px; border: 1px solid var(--border); }
.contact-info-card h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.contact-tel { font-size: 24px; font-weight: 900; color: var(--pri); font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; margin-bottom: 4px; }
.contact-hours { font-size: 12px; color: var(--gray); }

/* フローティングチャットウィジェット (front-page版) */
.float-chat-btn {
  position: fixed; bottom: 28px; right: 28px;
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  border: none; border-radius: 50px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; z-index: 2000;
  box-shadow: 0 8px 28px rgba(124,58,237,.45);
  transition: all .3s;
}
.float-chat-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(124,58,237,.6); }
@keyframes starSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 4px #FDE68A) drop-shadow(0 0 8px #FBBF24); }
  50%       { transform: scale(1.25) rotate(20deg); filter: drop-shadow(0 0 8px #FDE68A) drop-shadow(0 0 16px #F59E0B); }
}
.float-chat-star {
  position: absolute;
  top: 2px; right: 4px;
  font-size: 20px;
  line-height: 1;
  color: #FFE234;
  animation: starSparkle 1.8s ease-in-out infinite;
  pointer-events: none;
}
.float-chat-label { color: #fff; font-size: 13px; font-weight: 700; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; }
.float-chat-panel {
  position: fixed; bottom: 92px; right: 28px;
  width: 540px; max-width: calc(100vw - 16px);
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15,23,42,.2);
  display: none; flex-direction: column;
  z-index: 2001; overflow: hidden;
  border: 1px solid rgba(37,99,235,.15);
  height: calc(100vh - 120px);
}
.float-chat-panel.open { display: flex; animation: fadeUp .3s ease; }
.fcp-header { background: var(--pri); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.fcp-title { color: #fff; font-size: 14px; font-weight: 700; }
.fcp-close { background: none; border: none; color: rgba(255,255,255,.6); font-size: 18px; cursor: pointer; transition: color .2s; }
.fcp-close:hover { color: #fff; }
.fcp-body { flex: 1; overflow-y: auto; padding: 14px; background: #F8FAFC; display: flex; flex-direction: column; gap: 8px; }
.fcp-bubble { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.6; }
.fcp-bubble.bot { background: #fff; color: var(--navy); border-radius: 3px 14px 14px 14px; box-shadow: 0 2px 6px rgba(0,0,0,.06); align-self: flex-start; }
.fcp-bubble.user { background: var(--pri); color: #fff; border-radius: 14px 3px 14px 14px; align-self: flex-end; }
.fcp-footer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.fcp-input { flex: 1; border: 1.5px solid var(--border); border-radius: 20px; padding: 9px 14px; font-size: 13px; font-family: 'Nunito', 'BIZ UDPGothic', sans-serif; outline: none; transition: border-color .2s; }
.fcp-input:focus { border-color: var(--pri); }
.fcp-send { width: 36px; height: 36px; background: var(--pri); border: none; border-radius: 50%; color: #fff; font-size: 16px; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.fcp-send:hover { background: var(--pri-dark); }

/* ============================================================
   ロゴ
   ============================================================ */
.header-logo-mark { flex-shrink: 0; display: flex; align-items: center; }
.header-brand-text {
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.header-brand-text span { color: var(--pri); }

/* ============================================================
   デモセクション（タブ式ダーク）
   ============================================================ */
.demo-section {
  background: #0A0F1E;
  padding: 64px 0;
  overflow: hidden;
}
.demo-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.demo-header { text-align: center; margin-bottom: 36px; }
.demo-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  color: #3B82F6; text-transform: uppercase; margin-bottom: 10px;
}
.demo-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -0.02em;
}

/* タブ */
.demo-tabs {
  display: flex; justify-content: center; gap: 6px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.demo-tab {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  padding: 10px 22px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
}
.demo-tab:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.demo-tab.active {
  background: var(--pri); border-color: var(--pri);
  color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,.4);
}

/* ステージ */
.demo-stage {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 64px; align-items: center;
}
.demo-desc-panel { display: none; }
.demo-desc-panel.active { display: block; }
.demo-desc-panel h3 {
  font-size: 30px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.demo-desc-panel p { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 28px; }
.demo-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.demo-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,.8); font-weight: 500;
}
.demo-points li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pri); flex-shrink: 0;
}

/* フォンフレーム */
.demo-phone { display: flex; justify-content: center; }
.demo-phone-frame {
  background: #111827;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  overflow: hidden;
  width: 100%; max-width: 360px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}
.demo-phone-bar {
  background: var(--pri);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
}
.dpb-dot { width: 8px; height: 8px; background: rgba(255,255,255,.3); border-radius: 50%; }
.demo-phone-name { flex: 1; font-size: 13px; font-weight: 600; color: #fff; }
.dpb-status { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,.65); }
.demo-phone-msgs {
  padding: 20px 16px; min-height: 220px; max-height: 280px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  background: #111827;
}
.dpm {
  max-width: 82%; padding: 10px 14px;
  font-size: 13px; line-height: 1.65; border-radius: 14px;
}
.dpm.bot {
  background: #1E293B; color: rgba(255,255,255,.85);
  border-radius: 4px 14px 14px 14px; align-self: flex-start;
}
.dpm.user {
  background: var(--pri); color: #fff;
  border-radius: 14px 4px 14px 14px; align-self: flex-end;
}
.demo-phone-input {
  padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.07);
  background: #0F172A; font-size: 13px; color: rgba(255,255,255,.2);
}

/* スクロールリビール */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.will-reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   ヘッダー ロゴ / ブランド (Task 7)
   ============================================================ */
.header-logo-svg { flex-shrink: 0; }
.header-brand-text { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.header-brand-text .header-brand-sub { font-size: 11px; font-weight: 500; color: var(--gray); letter-spacing: 0; margin-left: 2px; }

/* フッター ブランド (Task 8) */
.footer-brand-name .footer-brand-sub { font-size: 11px; font-weight: 400; opacity: .55; margin-left: 2px; }

/* ============================================================
   ヒーロー ボタン・アイブロウ (Task 2)
   ============================================================ */
.hero-eyebrow-wrap {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  width: fit-content; max-width: 100%;
}
.hero-eyebrow-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.3); flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,.3); }
  50%      { box-shadow: 0 0 0 7px rgba(74,222,128,.1); }
}
/* ヒーロー eyebrow — テキストのみ・シンプル強調 */
.hero-eyebrow {
  font-size: 15px; font-weight: 700; color: rgba(255,255,255,.9);
  letter-spacing: .08em; text-transform: uppercase;
  border-left: 3px solid #4ADE80; padding-left: 12px;
  line-height: 1.4;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 50px;
  background: var(--pri); color: #fff;
  font-size: 16px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,99,235,.35);
  transition: all .25s; border: none; cursor: pointer;
}
.btn-hero-primary:hover { background: var(--pri-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,.45); }

.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 50px;
  background: transparent; color: var(--navy);
  font-size: 16px; font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--border); transition: all .25s;
}
.btn-hero-ghost:hover { border-color: var(--pri); color: var(--pri); background: var(--pri-light); }
/* btnとの併用時に優先 */
.btn.btn-hero-ghost { padding: 16px 32px !important; font-size: 16px !important; font-weight: 700 !important; }

.hero-bottom-cards { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hbc-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 18px;
  font-size: 13px; font-weight: 500; color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hbc-icon { font-size: 20px; }
.hbc-label { font-size: 11px; color: var(--gray); }

/* ============================================================
   デモ リンクボタン・タグ (Task 3)
   ============================================================ */
.demo-link-btn {
  display: none; /* 一時非表示 */
  align-items: center; gap: 8px;
  margin-top: 24px; padding: 12px 22px; border-radius: 50px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .22s;
}
.demo-link-btn:hover { background: var(--pri); border-color: var(--pri); transform: translateX(3px); }

.demo-desc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,235,.15); border-radius: 50px;
  padding: 4px 12px; font-size: 11px; font-weight: 600;
  color: #93C5FD; letter-spacing: .05em; margin-bottom: 16px;
}

/* ============================================================
   料金プラン（爽やか・明るいデザイン）
   ============================================================ */
/* ============================================================
   PRICING — ダークプレミアムデザイン
   ============================================================ */
.pricing-nf {
  background: #080B14;
  padding: 100px 0;
  position: relative; overflow-x: hidden; overflow-y: clip;
}
.pricing-nf::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(37,99,235,.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(124,58,237,.10) 0%, transparent 70%);
  pointer-events: none;
}
/* グロウライン（上） */
.pricing-nf::after {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, #2563EB, #7C3AED, transparent);
}

.pricing-nf-inner { max-width: 1320px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.pricing-nf-head { text-align: center; margin-bottom: 64px; }
.pricing-nf-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em;
  color: #60A5FA; text-transform: uppercase; margin-bottom: 16px;
}
.pricing-nf-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  color: #fff; letter-spacing: -0.03em; margin-bottom: 12px;
}
.pricing-nf-sub { font-size: 16px; color: rgba(255,255,255,.5); margin-bottom: 0; }
.pricing-nf-badge {
  display: inline-block; margin-top: 18px;
  background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.35);
  border-radius: 50px; padding: 7px 22px;
  font-size: 13px; color: #93C5FD; font-weight: 500;
}

/* カードグリッド */
.pricing-nf-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; align-items: stretch;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 20px; padding: 1px;
  box-shadow: 0 0 60px rgba(37,99,235,.2), 0 0 120px rgba(124,58,237,.1);
  overflow: visible;
  margin-top: 24px;
}

.pnf-card {
  background: #0F1629;
  border-radius: 19px;
  padding: 30px 22px 34px;
  position: relative;
  transition: background .25s;
  display: flex; flex-direction: column;
}
.pnf-card:first-child { border-radius: 19px 4px 4px 19px; }
.pnf-card:last-child  { border-radius: 4px 19px 19px 4px; }
.pnf-card:hover { background: #131d35; }

/* おすすめカード */
.pnf-popular {
  background: #111827;
  border-radius: 4px !important;
}
.pnf-popular:hover { background: #162035; }

.pnf-recommend {
  position: absolute;
  top: -18px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #2563EB, #7C3AED);
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 5px 18px; border-radius: 50px;
  letter-spacing: .08em; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(124,58,237,.4);
}

/* プラン名 */
.pnf-plan-name {
  font-size: 20px; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
  margin-bottom: 24px;
  font-family: 'Inter', 'Nunito', sans-serif;
  min-height: 30px; display: flex; align-items: center;
}

/* ターゲット */
.pnf-target {
  font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500;
  letter-spacing: .04em; margin-top: -18px; margin-bottom: 20px;
}

/* 価格 */
.pnf-price {
  font-size: 36px; font-weight: 700; color: #fff;
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  min-height: 56px; display: flex; align-items: flex-end; gap: 4px;
}
.pnf-price-suffix {
  display: flex; flex-direction: column; justify-content: flex-end;
  align-self: flex-end; padding-bottom: 6px; gap: 1px;
}
.pnf-price-suffix em {
  font-style: normal; font-weight: 500;
  color: rgba(255,255,255,.5); letter-spacing: 0; line-height: 1.2;
}
.pnf-price-suffix em:first-child { font-size: 15px; }
.pnf-price-suffix em:last-child  { font-size: 12px; }

/* 説明文 */
.pnf-desc {
  font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.65;
  margin-bottom: 28px; margin-top: 8px;
}

/* 区切り線 */
.pnf-divider {
  height: 1px; background: rgba(255,255,255,.08); margin-bottom: 24px;
}

/* 年払いお得テキスト */
.pnf-annual {
  font-size: 12px; color: #60A5FA; font-weight: 600;
  margin-top: 8px; margin-bottom: 16px; letter-spacing: .02em;
}

/* 機能リスト */
.pnf-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 0; margin-bottom: 36px; flex: 1;
}
.pnf-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pnf-list li strong,
.pnf-list li span,
.pnf-list li * { color: rgba(255,255,255,.7) !important; font-weight: inherit; }
.pnf-list li::before {
  content: '✓'; color: #60A5FA !important; font-weight: 800;
  flex-shrink: 0; font-size: 12px;
}
.pnf-popular .pnf-list li::before { color: #A78BFA !important; }

/* ボタン */
.pnf-btn {
  display: block; width: 100%; padding: 15px; border-radius: 10px;
  font-size: 15px; font-weight: 700; text-align: center; text-decoration: none;
  cursor: pointer; transition: all .22s; font-family: inherit;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: #fff;
  margin-top: auto;
}
.pnf-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}
.pnf-btn-primary {
  background: #fff; color: #0F172A;
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(255,255,255,.15);
}
.pnf-btn-primary:hover {
  background: #E0E7FF; border-color: #E0E7FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,.2);
}
.pnf-btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff; border-color: rgba(255,255,255,.2);
}
.pnf-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }
.pnf-popular .pnf-btn-primary { background: #fff; color: #1E1B4B; }

.pricing-nf-note {
  text-align: center; margin-top: 40px;
  font-size: 13px; color: rgba(255,255,255,.3);
}

/* ============================================================
   CTA プレミアム (Task 5)
   ============================================================ */
.cta-premium {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F4FF 50%, #EEF2FF 100%);
  padding: 80px 0; position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-premium::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.cta-premium-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.cta-premium-content { }
.cta-premium-tag,
.cta-premium-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pri-light); border: 1px solid rgba(37,99,235,.25);
  border-radius: 50px; padding: 6px 16px; margin-bottom: 24px;
  font-size: 12px; font-weight: 700; color: var(--pri); letter-spacing: .06em;
}
.cta-premium-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 20px; }
.cta-premium-sub { font-size: 17px; color: var(--gray); line-height: 1.75; margin-bottom: 36px; }
.cta-btn-row,
.cta-premium-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 50px;
  background: var(--pri); color: #fff;
  font-size: 16px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,99,235,.4);
  transition: all .25s; border: none; cursor: pointer;
}
.cta-btn-main:hover { background: var(--pri-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,.5); }
.cta-btn-sub {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 24px; border-radius: 50px;
  background: transparent; color: var(--gray);
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--border); transition: all .25s;
}
.cta-btn-sub:hover { border-color: var(--pri); color: var(--pri); }
.cta-trust,
.cta-premium-proof { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.cta-trust-item,
.cta-premium-proof span { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray); }
.cta-trust-item::before,
.cta-premium-proof span::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* CTA チャットプレビュー */
.cta-premium-visual { position: relative; }
.ccp-window {
  background: #111827; border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
}
.ccp-topbar {
  background: var(--pri); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
}
.ccp-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.ccp-name { flex: 1; font-size: 14px; font-weight: 600; color: #fff; }
.ccp-online { display: flex; align-items: center; gap: 4px; font-size: 11px; color: rgba(255,255,255,.7); }
.ccp-online::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ccp-msgs { padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; background: #111827; min-height: 200px; }
.ccp-msg { max-width: 80%; padding: 10px 14px; font-size: 13px; line-height: 1.6; border-radius: 14px; }
.ccp-msg.bot { background: #1E293B; color: rgba(255,255,255,.85); border-radius: 4px 14px 14px 14px; align-self: flex-start; }
.ccp-msg.user { background: var(--pri); color: #fff; border-radius: 14px 4px 14px 14px; align-self: flex-end; }
.ccp-typing { display: flex; align-items: center; gap: 5px; padding: 12px 14px; }
.ccp-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); animation: ccp-bounce .8s infinite; }
.ccp-dot:nth-child(2) { animation-delay: .15s; }
.ccp-dot:nth-child(3) { animation-delay: .3s; }
@keyframes ccp-bounce { 0%,80%,100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }
.ccp-input-row {
  padding: 12px 16px; background: #0F172A;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 10px;
}
.ccp-input-field { flex: 1; background: rgba(255,255,255,.06); border: none; border-radius: 50px; padding: 10px 16px; font-size: 13px; color: rgba(255,255,255,.3); }
.ccp-send-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--pri); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff;
}

/* ============================================================
   コンタクト ハブ (Task 6)
   ============================================================ */
.contact-hub { background: var(--gray-light); padding: 100px 0; }
.contact-hub-head { text-align: center; margin-bottom: 56px; }
.contact-hub-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 12px; }
.contact-hub-sub { font-size: 16px; color: var(--gray); }

.contact-hub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 960px; margin: 0 auto; padding: 0 24px;
}
.contact-hub-card {
  background: var(--white); border-radius: 20px;
  border: 1.5px solid var(--border);
  padding: 36px 28px; display: flex; flex-direction: column; align-items: flex-start;
  transition: all .25s; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.contact-hub-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); border-color: var(--pri); }
.chc-icon { font-size: 32px; margin-bottom: 16px; }
.chc-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.chc-desc { font-size: 14px; color: var(--gray); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.chc-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--pri);
  text-decoration: none; transition: gap .2s;
}
.chc-action:hover { gap: 10px; }

/* コンタクトフォーム トグル */
.contact-form-toggle { width: 100%; display: none; flex-direction: column; gap: 12px; }
.contact-form-toggle.open { display: flex; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-field {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14px; color: var(--navy); font-family: inherit;
  transition: border-color .2s;
}
.cf-field:focus { outline: none; border-color: var(--pri); }
textarea.cf-field { min-height: 100px; resize: vertical; }
.cf-submit {
  background: var(--pri); color: #fff; border: none;
  border-radius: 50px; padding: 13px 28px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  align-self: flex-start; font-family: inherit; transition: all .22s;
}
.cf-submit:hover { background: var(--pri-dark); transform: translateY(-1px); }

/* ============================================================
   課題セクション — 分割ヘッダー & 新アイコン
   ============================================================ */
.pain-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.pain-header-img {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 56px rgba(0,0,0,.12);
}
.pain-header-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 24px;
}
.pain-eyebrow {
  font-size: 33px; font-weight: 700; letter-spacing: .18em;
  color: var(--pri); text-transform: uppercase; margin-bottom: 12px;
}
.pain-header-text .pain-title {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800; color: var(--navy);
  letter-spacing: -0.03em; line-height: 1.2;
  margin-bottom: 18px;
}
.pain-lead {
  font-size: 17px; color: var(--gray); line-height: 1.8;
}
.pain-icon-wrap {
  margin-bottom: 18px;
}
.pain-icon-wrap svg { display: block; }

/* ============================================================
   デモ タブ — 爽やかリデザイン
   ============================================================ */
.demo-tab {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  padding: 11px 26px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .22s;
  font-family: 'Nunito', 'BIZ UDPGothic', sans-serif;
  letter-spacing: .02em;
}
.demo-tab:hover {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.22);
}
.demo-tab.active {
  background: var(--pri); border-color: var(--pri);
  color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,.45);
}

/* ============================================================
   CTA バッジ強化
   ============================================================ */
.cta-premium-tag {
  font-size: 14px !important;
  font-weight: 800 !important;
  padding: 8px 22px !important;
  letter-spacing: .08em !important;
  box-shadow: 0 2px 12px rgba(37,99,235,.15);
}

/* CTA 3大メリットカード */
.cta-merit-cards { display: flex; flex-direction: column; gap: 14px; }
.cta-merit-card {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border-radius: 18px; padding: 22px 24px;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px rgba(37,99,235,.07);
  transition: transform .22s, box-shadow .22s;
  position: relative; overflow: hidden;
}
.cta-merit-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: 4px 0 0 4px;
}
.cta-merit-card--1::before { background: #2563EB; }
.cta-merit-card--2::before { background: #7C3AED; }
.cta-merit-card--3::before { background: #22C55E; }
.cta-merit-card:hover { transform: translateX(5px); box-shadow: 0 8px 28px rgba(37,99,235,.13); }

.cta-merit-left {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.cta-merit-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--pri-light); color: var(--pri);
  font-size: 17px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
}
.cta-merit-card--2 .cta-merit-num { background: var(--sec-light); color: var(--sec); }
.cta-merit-card--3 .cta-merit-num { background: #DCFCE7; color: #16A34A; }
.cta-merit-icon { font-size: 18px; line-height: 1; }

.cta-merit-body { flex: 1; }
.cta-merit-title { font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.02em; }
.cta-merit-desc  { font-size: 13px; color: var(--gray); line-height: 1.65; }

/* ============================================================
   コンタクト ハブ — リデザイン（クリックしやすく）
   ============================================================ */
.chc-icon { font-size: 36px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }

/* site2と同じアイコンスタイル */
.c-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.c-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38BDF8, #0284C7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}
.c-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(56,189,248,.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-hub-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-hub-card p  { font-size: 14px; color: var(--gray); line-height: 1.65; margin-bottom: 20px; flex: 1; }

/* 全カード：薄いグレーで統一 */
.contact-hub-chat,
.contact-hub-form,
.contact-hub-line {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
.contact-hub-card:hover {
  background: #fff !important;
  border-color: var(--pri) !important;
}

/* バッジ色だけでカード種別を差別化 */
.chc-badge-blue  { background: #EFF6FF !important; color: var(--pri) !important; border-color: rgba(37,99,235,.25) !important; }
.chc-badge-line  { background: #DCFCE7 !important; color: #16A34A !important; border-color: rgba(22,163,74,.25) !important; }

/* フォームを開くボタン */
.chc-open-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; box-sizing: border-box;
  background: var(--pri); color: #fff;
  border: none; border-radius: 50px;
  padding: 14px 24px; font-size: 15px; font-weight: 700;
  height: 52px;
  cursor: pointer; font-family: inherit;
  transition: background .2s; margin-top: auto;
  text-decoration: none;
}
.chc-open-btn:hover { background: var(--pri-dark); }
.chc-open-btn-ai  { background: var(--pri); }
.chc-open-btn-line { background: #06C755; }
.chc-open-btn-line:hover { background: #05b04b; }

/* バッジ */
.chc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pri-light); color: var(--pri);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 50px; padding: 5px 14px;
  font-size: 12px; font-weight: 700; margin-top: auto;
}
.chc-badge-gray { background: var(--gray-light) !important; color: var(--gray) !important; border-color: var(--border) !important; }

/* フォームカードトグルボタン → 削除してフォームを整理 */
.chc-toggle-btn { display: none; }
/* #contactFormBlock はJS toggleで制御 */
.contact-hub-form .btn { width: 100%; justify-content: center; }

/* フッター ロゴ サイズ */
.footer-logo-img { height: 26px; width: auto; display: block; object-fit: contain; }
/* ヘッダー ロゴ サイズ */
.header-logo-img { height: 32px; width: auto; display: block; object-fit: contain; }

/* ============================================================
   ハンバーガーメニュー
   ============================================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background .2s;
  z-index: 1001;
}
.hamburger-btn:hover { background: rgba(37,99,235,.08); }
.hamburger-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
/* × アニメーション */
.hamburger-btn.is-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビオーバーレイ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.5);
  z-index: 999;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-nav-overlay.is-open { opacity: 1; }

/* モバイルナビドロワー */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: #fff;
  z-index: 1000;
  padding: 72px 28px 40px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: -4px 0 32px rgba(15,23,42,.12);
}
.mobile-nav-drawer.is-open { transform: translateX(0); }

.mobile-nav-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.mobile-nav-drawer ul li + li { border-top: 1px solid var(--border); }
.mobile-nav-drawer ul li a {
  display: block;
  padding: 16px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s;
}
.mobile-nav-drawer ul li a:hover { color: var(--pri); }

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-actions .btn { text-align: center; width: 100%; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
  .pain-header-split { grid-template-columns: 1fr; gap: 32px; }
  .pain-header-img { aspect-ratio: 16/9; }
  .cta-merit-cards { gap: 12px; }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .solution-split { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .demo-stage { grid-template-columns: 1fr; gap: 36px; }
  .demo-phone { order: -1; }
  .demo-inner { padding: 0 20px; }
  .demo-phone-frame { max-width: 400px; margin: 0 auto; }
  /* ヘッダーナビ非表示 → ハンバーガーに切り替え */
  .header-nav { display: none; }
  .header-actions { display: none; }
  .hamburger-btn { display: flex; }
  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-steps::before { display: none; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fb-stats { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
@media (max-width: 1100px) {
  .pricing-nf-grid { grid-template-columns: repeat(4, 1fr); }
  .pnf-card { padding: 24px 14px 28px; }
}
@media (max-width: 900px) {
  .pricing-nf-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pnf-card { padding: 40px 32px 44px; }
  .pnf-popular { transform: none; }
  .pnf-popular:hover { transform: translateY(-4px); }
  .cta-premium-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-premium-visual { display: none; }
  .contact-hub-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; }
  .hero-inner { gap: 32px; }
  .hero-widget-wrap { display: none; }
  .hero-floats { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .demos-grid { grid-template-columns: 1fr; }
  /* デモセクション */
  .demo-inner { padding: 0 16px; }
  .demo-stage { grid-template-columns: 1fr; gap: 32px; }
  .demo-phone-frame { max-width: 100%; }
  .demo-tabs { flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
  .demo-tab { font-size: 13px; padding: 8px 14px; }
  .features-grid { grid-template-columns: 1fr; }
  /* 導入フロー: 縦並び */
  .how-steps { flex-direction: column; align-items: center; gap: 0; }
  .how-step { width: 100%; max-width: 360px; padding: 0 8px; }
  .how-arrow { padding-top: 0; padding-bottom: 0; font-size: 20px; transform: rotate(90deg); }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-items { gap: 14px; }
  .fb-bar-label { width: 72px; font-size: 11px; }
  .hero-bottom-cards { flex-direction: column; }
  .cf-row { grid-template-columns: 1fr; }
  .cta-btn-row { flex-direction: column; align-items: flex-start; }
  /* pricing */
  .pricing-nf-grid { max-width: 100%; }
  /* contact hub */
  .contact-hub-grid { max-width: 100%; }
  /* CTA merits */
  .cta-merit-cards { flex-direction: column; }
  /* FAQ */
  .faq-inner { grid-template-columns: 1fr; }
  /* footer */
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  /* section padding */
  .section { padding: 56px 0; }
  .hero { padding-top: 80px; }
  /* チャットパネル：モバイルは固定高さ */
  .float-chat-panel {
    bottom: 80px;
    right: 8px;
    left: 8px;
    width: auto;
    max-width: 100%;
    height: 520px;
    max-height: 520px;
  }
  .fcp-body { max-height: none; flex: 1; }
  /* iOS自動ズーム防止：入力フォントを16px以上に */
  .cwd-input,
  .fcp-input input,
  input[type="text"] { font-size: 16px; }
}
