/* ============================================
   dm-lp-claim.css — EC DMアシスト クレーム対応版LP
   独立CSS（共通CSS非依存）
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  --navy:    #08111F;
  --navy-2:  #0D1C30;
  --navy-3:  #122540;
  --navy-4:  #1A3250;
  --green:       #3D8B5E;
  --green-light: #5CAF7E;
  --green-dim:   #2E6B48;
  --teal:       #1A9E75;
  --teal-light: #3DBFA0;
  --white:    #FFFFFF;
  --white-80: rgba(255,255,255,0.80);
  --white-55: rgba(255,255,255,0.55);
  --white-40: rgba(255,255,255,0.40);
  --white-12: rgba(255,255,255,0.12);
  --border: rgba(255,255,255,0.09);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--white-80);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--green-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--white);
}

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

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.desktop-only { display: inline; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: inline; }
}

/* --- Section Divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,139,94,0.3), transparent);
  margin: 0 48px;
}


/* ============================================
   NAV
   ============================================ */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,17,31,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.lp-nav-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-nav-brand-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}

.lp-nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-nav-link {
  font-size: 13px;
  color: var(--white-55);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-nav-link:hover {
  color: var(--white);
}

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green-dim);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

/* 枠ボタン（ゴースト） */
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white-80);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--white-12);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--white-40);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost:active {
  transform: translateY(0);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: center;
  padding: 60px 48px 80px;
  max-width: 1296px;
  margin: 0 auto;
  overflow: hidden;
}

/* 背景装飾: グラデーション */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 60% 50%, rgba(61,139,94,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 90% 20%, rgba(26,158,117,0.07) 0%, transparent 60%);
  z-index: 0;
}

/* 背景装飾: グリッドライン */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 30%, transparent 80%);
  opacity: 0.4;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-form-wrapper {
  position: relative;
  z-index: 1;
}

/* バッジ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,139,94,0.12);
  border: 1px solid rgba(61,139,94,0.28);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 11px;
  color: #7BC8A0;
  margin-bottom: 32px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* H1 */
.hero-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--green-light), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* リード文 */
.hero-lead {
  font-size: 15px;
  color: var(--white-55);
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 32px;
}
.hero-lead strong {
  color: var(--white-80);
}

/* CTAグループ */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-primary-lg {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: normal;
  word-break: keep-all;
}
.btn-primary-lg:hover {
  background: var(--green-dim);
  color: var(--white);
  transform: translateY(-1px);
}

.cta-btn-main {
  display: block;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
}

.cta-sub-note {
  font-size: 12px;
  color: var(--white-40);
  margin-top: 8px;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white-55);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--white-12);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--white-40);
  color: var(--white-80);
}

/* トラストテキスト */
.hero-trust {
  font-size: 12px;
  color: var(--white-40);
}


/* ============================================
   HERO FORM CARD (インタラクティブデモ)
   ============================================ */
.hero-form-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--teal), transparent);
}

/* タイトルバー */
.form-titlebar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-dots {
  display: flex;
  gap: 6px;
  margin-right: 8px;
}
.form-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.form-dot--red    { background: #FF5F57; }
.form-dot--yellow { background: #FEBC2E; }
.form-dot--green  { background: #28C840; }

.form-titlebar-label {
  font-size: 13px;
  color: var(--white-55);
}

/* フォーム本体 */
.form-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-label {
  font-size: 13px;
  color: var(--white-40);
  margin-bottom: 6px;
  display: block;
}

.form-label--teal {
  color: var(--teal-light);
  font-weight: 700;
}

/* シナリオボタン */
.scenario-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scenario-btn {
  background: var(--white-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 13px;
  color: var(--white-55);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.scenario-btn:hover {
  border-color: var(--white-40);
  color: var(--white-80);
}
.scenario-btn.active {
  background: rgba(61,139,94,0.15);
  border-color: var(--green);
  color: var(--white-80);
}
.scenario-btn .star {
  color: var(--teal-light);
}

/* テキストエリア */
.form-textarea {
  background: var(--navy-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--white-80);
  padding: 12px;
  font-size: 14px;
  font-family: var(--font-sans);
  resize: none;
  width: 100%;
  line-height: 1.7;
  transition: border-color 0.2s;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
}

/* セレクト */
.form-select {
  background: var(--navy-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white-80);
  padding: 8px 12px;
  font-size: 14px;
  font-family: var(--font-sans);
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-select:focus {
  outline: none;
  border-color: var(--green);
}

/* トグルスイッチ */
.dict-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--white-80);
  user-select: none;
}

.dict-toggle input[type="checkbox"] {
  display: none;
}

.toggle-ui {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--white-12);
  border-radius: 11px;
  transition: background 0.25s;
  flex-shrink: 0;
}
.toggle-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
}

.dict-toggle input:checked + .toggle-ui {
  background: var(--teal);
}
.dict-toggle input:checked + .toggle-ui::after {
  transform: translateX(18px);
}

.form-note {
  font-size: 12px;
  color: var(--white-40);
  line-height: 1.6;
}

/* 生成ボタン */
.generate-btn {
  width: 100%;
  padding: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.generate-btn {
  animation: btn-bounce 2s ease-in-out infinite;
}
.generate-btn:disabled {
  animation: none;
}
@keyframes btn-bounce {
  0%, 100% { transform: translateY(0); }
  20%      { transform: translateY(-6px); }
  40%      { transform: translateY(-2px); }
  60%      { transform: translateY(-4px); }
  80%      { transform: translateY(-1px); }
}
.generate-btn:hover:not(:disabled) {
  background: var(--green-dim);
  transform: translateY(-1px);
}
.generate-btn:active:not(:disabled) {
  transform: translateY(0);
}
.generate-btn:disabled {
  background: var(--navy-4);
  color: var(--white-40);
  cursor: not-allowed;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* 出力エリア */
.output-area {
  display: none;
}

/* デモ回数カウンター */
.demo-counter {
  font-size: 12px;
  color: var(--white-40);
  text-align: center;
  margin-top: 6px;
}
.output-area.visible {
  display: block;
}

.output-label {
  font-size: 13px;
  color: var(--white-55);
  margin-bottom: 8px;
}

.output-box {
  background: rgba(61,139,94,0.07);
  border: 1px solid rgba(61,139,94,0.18);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 14px;
  color: var(--white-80);
  line-height: 1.8;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.output-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.output-time {
  color: var(--teal-light);
  font-size: 13px;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--green-light);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.2s;
  padding: 0;
}
.copy-btn:hover {
  color: var(--white);
}

/* 辞書バッジ */
.dict-badge {
  background: rgba(26,158,117,0.1);
  border: 1px solid rgba(26,158,117,0.3);
  color: var(--teal-light);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ハイライト */
.dict-highlight {
  background: rgba(26,158,117,0.25);
  color: var(--teal-light);
  border-radius: 3px;
  padding: 0 3px;
}


/* ============================================
   PAIN セクション
   ============================================ */
.pain-section {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-light);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 48px;
}

.section-sub {
  font-size: 15px;
  color: var(--white-55);
  text-align: center;
  line-height: 1.8;
  max-width: 600px;
  margin: -24px auto 48px;
}

/* カードグリッド */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pain-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: border-color 0.25s;
}
.pain-card:hover {
  border-color: rgba(255,255,255,0.18);
}

.pain-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(61,139,94,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--green-light);
}

.pain-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pain-card-text {
  font-size: 14px;
  color: var(--white-80);
  line-height: 1.8;
}

/* 注記バナー */
.pain-closing {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  font-size: 15px;
  color: var(--white-80);
}

/* ============================================
   FEATURES セクション
   ============================================ */
.features-section {
  background: var(--navy);
  padding: 80px 48px;
}

.feature-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61,139,94,0.35);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-card-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.feature-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--green-light);
}

.feature-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card-text {
  font-size: 14px;
  color: var(--white-80);
  line-height: 1.8;
}

/* ============================================
   PRICING セクション
   ============================================ */
.pricing-section {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 32px;
}

.pricing-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transition: border-color 0.25s;
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.18);
}

.pricing-card--recommended {
  border-color: var(--green);
}
.pricing-card--recommended:hover {
  border-color: var(--green-light);
}

.pricing-recommended-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.pricing-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--white-55);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 14px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--teal-light);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.pricing-features li.unavailable {
  color: var(--white-40);
}
.pricing-features li.unavailable::before {
  content: '—';
  color: var(--white-40);
}

.pricing-card-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.pricing-note {
  font-size: 12px;
  color: var(--white-40);
  margin-top: 8px;
}

.pricing-upgrade-note {
  font-size: 13px;
  color: var(--white-55);
  margin-top: 8px;
}

.pricing-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--white-40);
  max-width: 700px;
  margin: 0 auto;
}


/* ============================================
   FAQ セクション
   ============================================ */
.faq-section {
  padding: 80px 48px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover {
  border-color: rgba(255,255,255,0.18);
}

.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-q-label {
  color: var(--green-light);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.faq-question::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  color: var(--white-40);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--white-80);
  line-height: 1.8;
}

/* ============================================
   CTA FINAL セクション
   ============================================ */
.cta-section {
  padding: 80px 48px;
  text-align: center;
  background: var(--navy-2);
  border-top: 1px solid var(--border);
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 15px;
  color: var(--white-55);
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-login {
  font-size: 13px;
  color: var(--white-40);
  margin-top: 16px;
}
.cta-login a {
  color: var(--green-light);
}

.cta-security {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-55);
  margin-top: 24px;
}
.cta-security svg {
  flex-shrink: 0;
}

/* ============================================
   FOOTER セクション（ダークモード）
   ============================================ */
.footer-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 60px 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand-message {
  text-align: center;
  margin-bottom: 40px;
}

.footer-brand-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--white-80);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--white-55);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-company-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-contact a {
  font-size: 13px;
  color: var(--white-55);
}
.footer-contact a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--white-55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}

.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: var(--white-40);
}

/* ============================================
   スティッキーCTA（モバイル用）
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(8,17,31,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  text-align: center;
}
.sticky-cta .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  text-align: center;
  display: block;
  position: relative;
  overflow: hidden;
}
.sticky-cta .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: sticky-shimmer 1.5s ease-in-out infinite;
}
@keyframes sticky-shimmer {
  0% { left: -60%; }
  100% { left: 110%; }
}


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

/* 1024px以下: HEROが1カラムに */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 32px 60px;
    gap: 40px;
  }

  .hero-copy {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-lead {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust {
    text-align: center;
  }

  .hero-form-wrapper {
    max-width: 560px;
    margin: 0 auto;
  }

  .section-divider {
    margin: 0 32px;
  }
}

/* 768px以下: モバイル最適化 */
@media (max-width: 768px) {
  .lp-nav {
    padding: 0 20px;
  }

  .lp-nav-links {
    display: none;
  }

  .hero-section {
    padding: 48px 20px;
    gap: 32px;
  }

  .hero-title {
    font-size: 32px;
  }

  /* モバイルではフォームカードをHEROの下に1カラムで表示 */
  .hero-form-wrapper {
    display: block;
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  /* セカンダリボタン（「右のフォームで〜」）のテキストをモバイル用に */
  .btn-secondary {
    display: inline-block;
  }

  .btn-primary-lg,
  .btn-secondary {
    text-align: center;
    width: 100%;
  }

  .pain-section,
  .features-section,
  .pricing-section,
  .faq-section,
  .cta-section {
    padding: 64px 20px;
  }

  .section-heading {
    font-size: 26px;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Standardカードをモバイルでは先に表示 */
  .pricing-card--recommended {
    order: -1;
  }

  .footer-section {
    padding: 40px 20px 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .section-divider {
    margin: 0 16px;
  }

  .sticky-cta {
    display: block;
  }

  /* スティッキーCTA分の余白 */
  .footer-section {
    padding-bottom: 80px;
  }

  .scenario-btns {
    gap: 6px;
    flex-wrap: wrap;
  }

  .scenario-btn {
    font-size: 12px;
    padding: 6px 10px;
    flex: 0 0 auto;
  }

  .cta-heading {
    font-size: 26px;
  }
}

/* 390px以下: 小型モバイル */
@media (max-width: 390px) {
  .hero-title {
    font-size: 26px;
  }

  .section-heading {
    font-size: 22px;
  }

  .cta-heading {
    font-size: 22px;
  }

  .pricing-price {
    font-size: 32px;
  }

  .btn-primary-lg {
    font-size: 14px;
    padding: 14px 20px;
  }
}