/* ===================================
   Chainlytic×AI - Main Stylesheet
   Safe Organized Edition / main.css

   【この版でやったこと】
   - デザインを壊さないため、セレクタ本体は基本そのまま維持
   - コメントと区切りを整理
   - 後半に追加されていた Contact / FAQ / Contact Modal の整理ブロックを
     「Refactor Additions」として明示
   - 削除はせず、既存のカスケード順を極力維持

   【この版でまだやっていないこと】
   - 色・余白・サイズの微調整
   - 大規模なセレクタ統合
   - レイアウト変更
   - 不要CSSの削除

   【方針メモ】
   - 今回は “壊さない並び整理” を優先
   - 見た目に影響しやすい順序変更は避ける
   - 既存の後勝ちルールを守るため、追記ブロックは後半に保持
=================================== */

/* ===================================
   1. リセット & ベース
   ===================================
   ブラウザデフォルトのスタイルをリセットし、
   共通のベーススタイルを定義
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* テキスト選択を完全に無効化：キャレット（テキストカーソル）を表示しない */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* すべての要素：画面幅を超えない */
*,
*::before,
*::after {
  max-width: 100%;
}

/* デフォルトカーソル：入力欄とボタン以外はデフォルトカーソル */
* {
  cursor: default;
}

/* ボタンやリンクなど、クリック可能な要素のみポインターカーソル */
button,
a,
summary,
[role="button"],
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}

/* 入力欄のみテキストカーソルとテキスト選択を許可 */
input,
textarea,
[contenteditable="true"] {
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* 横スクロール防止（スマホ対応） */
  overflow-x: hidden;
  /* 画面全体を使う */
  width: 100%;
  min-width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  color: #030213;
  line-height: 1.5;
  /* 横スクロール防止（スマホ対応） */
  overflow-x: hidden;
  /* 幅を画面に合わせる - bodyは必ず画面幅100% */
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
}

/* ===================================
   2. タイポグラフィ
   ===================================
   テキストのスタイルを定義
   =================================== */

h1, h2, h3, h4 {
  font-weight: 600;
  margin: 0; 
}

p {
  margin: 0;
}

h1 { font-size: 2.25rem; line-height: 1.2; }
h2 { font-size: 1.875rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
h4 { font-size: 1.25rem; line-height: 1.4; }
p { line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* メイン要素：横スクロール防止 */
main {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* すべてのセクション：横スクロール防止 */
section {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* すべてのdiv：横スクロール防止 */
div {
  max-width: 100%;
}

/* ===================================
   3. スクロールバー
   ===================================
   スクロールバーのスタイルを定義
   =================================== */

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #666; }
* { scrollbar-width: thin; scrollbar-color: #888 #f5f5f5; }

/* ===================================
   4. アニメーション
   ===================================
   アニメーションを定義
   =================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* ===================================
   5. ユーティリティ
   ===================================
   一般的なユーティリティクラスを定義
   =================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  /* スマホで横スクロール防止 */
  width: 100%;
  overflow-x: hidden;
}

.section-padding {
  padding: 4rem 1rem;
}

/* 
========================================
セクション背景：薄い水色→白グラデーション（FAQ用）
========================================
- FAQセクション専用の背景
- 左上：非常に薄い水色（#f0f9ff / sky-50）
- 右下：白（#ffffff）
- 柔らかく自然な印象
*/
.section-gray {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   パンくずリスト（全ページ共通）
   ===================================
   ページナビゲーションを表示
   - リンクは黒字
   - 現在のページは太字
   =================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb a {
  color: #374151;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

/* セパレーター：より大きく、濃い色で表示 */
.breadcrumb-separator {
  color: #6b7280;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

/* 現在のページ：太字で表示 */
.breadcrumb span:not(.breadcrumb-separator) {
  font-weight: 600;
  color: #111827;
}

/* ===================================
   6. ヘッダー
   ===================================
   ヘッダーのスタイルを定義
   =================================== */

/* ヘッダー本体：固定配置で画面上部に常駐 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  /* 画面幅いっぱいに表示 */
  width: 100%;
  max-width: 100vw;
}

/* ヘッダーコンテナ：中央寄せ・横並び配置 */
.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  /* flex-wrap削除：スマホで横スクロール防止 */
  width: 100%;
}

/* ========================================
   ヘッダー上段：ロゴ + アクション
   ======================================== */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 0.75rem;
}

/* PC版（768px以上）：header-topは使わない、直接配置 */
@media (min-width: 768px) {
  .header-container {
    flex-wrap: nowrap;
  }
  
  .header-top {
    width: auto;
    flex: 0 0 auto;
    display: contents; /* 子要素をheader-containerの直接の子として扱う */
  }
  
  /* PC版の並び順：ロゴ → メニュー → QRボタン（header-actionsの中） */
  .logo {
    order: 1;
  }
  
  .menu {
    order: 2;
  }
  
  .header-actions {
    order: 3; /* QRボタンを含むアクションエリアを一番右に */
  }
  
  .menu-button {
    display: none; /* ハンバーガーボタンは非表示 */
  }
}

/* ===================================
   6-1. ロゴ
   =================================== */

/* ロゴ全体：アイコンとテキストを横並び配置 */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

/* ロゴアイコンコンテナ：グラデーション効果の基底 */
.logo-icon {
  position: relative;
  width: 44px;
  height: 44px;
}

/* ロゴブラー効果：グ���ーのような景効果 */
.logo-blur {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #22d3ee, #3b82f6, #a855f7);
  border-radius: 0.5rem;
  opacity: 0.6;
  filter: blur(8px);
}

/* ロゴメイン：グラデーション背���のシールド */
.logo-main {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.3);
}

/* シールドアイコン */
.logo-shield {
  width: 32px;
  height: 32px;
  color: white;
}

/* 鍵アイコン：シールドの中央に配置 */
.logo-key {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 16px;
  height: 16px;
  color: white;
}

/* ロゴタイトル：Chainlytic×AI - フォントウェイトを細くし、サブタイトルとの間にスペース追加 */
.logo-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  line-height: 1;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ロゴサブタイトル：SECURITY PROTOCOL - 文字サイズを大きく */
.logo-subtitle {
  font-size: 0.75rem;
  color: #06b6d4;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 1;
}

/* ===================================
   6-2. ナビゲーショ��
   =================================== */

/* デスクトップナビ：768px以上で表示 */
.nav-desktop {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

/* ナビリンク：ホバーで色変化とアンダーラインアニメーション */
.nav-link {
  position: relative;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #06b6d4;
}

/* ナビリンク下線：ホバー時に左から右へ伸びる */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===================================
   6-3. ヘッダーアクション
   =================================== */

/* ヘッダーアクションエリア：QRタンとメニューボタン */
.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
}

/* QRコードボタン：ホバーでシアン色に変化 */
.qr-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  background: transparent;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s;
}

.qr-button:hover {
  border-color: #06b6d4;
  background: #ecfeff;
  color: #06b6d4;
}

.qr-button svg {
  width: 20px;
  height: 20px;
}

/* メニューボタン：モバイル専用、768px以上で非表示 */
.menu-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #374151;
  cursor: pointer;
  position: relative;
}


@media (min-width: 768px) {
  .menu-button {
    display: none;
  }
}

/* ハンバーガーメニューの3本線 */
.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* アクティブ時のアニメーション */
.menu-button.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
  opacity: 0;
}

.menu-button.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   6-5. メニュー（ナビゲーション）
   =================================== */

/* メニュー：モバイルでは初期状態は非表示、activeクラで表示 */
.menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 40;
}

.menu.active {
  display: flex;
}

/* PC（768px以上）：常時表示、横並びレイアウト */
@media (min-width: 768px) {
  .menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    backdrop-filter: none;
    border-top: none;
    padding: 0;
    box-shadow: none;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 1rem;
  }
  
  /* ハンバーガーメニューボタ��を非表示 */
  .menu-button {
    display: none !important;
  }
}

/* メニューアイテム：各リンク要素 */
.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  color: #374151;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.menu-item:hover {
  background: #f9fafb;
  color: #06b6d4;
  border-left-color: #06b6d4;
}

.menu-item svg {
  width: 20px;
  height: 20px;
}

/* PC版のメニューアイテムスタイル */
@media (min-width: 768px) {
  .menu-item {
    padding: 0.5rem 0.75rem;
    border-left: none;
    border-radius: 8px;
    font-size: 0.875rem;
  }
  
  .menu-item:hover {
    background: rgba(6, 182, 212, 0.1);
    border-left-color: transparent;
  }
  
  .menu-item svg {
    width: 18px;
    height: 18px;
  }
}

/* ===================================
   7. ヒーローセクション
   ===================================
   ヒーローセクションのスタイルを定義
   =================================== */

/* 
========================================
ヒーローセクション：全画面表示、グラデーション背景
========================================
【境目ぼかし効果】
- ::after疑似要素で下部にグラデーションを追加
- 次のセクション（白背景）との移行をスムーズに
======================================== 
*/
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 50%, #dbeafe 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  /* スマホで横スクロール完全防止 */
  width: 100%;
  max-width: 100vw;
}

/* ヒーローセクション下部のぼかし効果：境界が少し見える程度に調整 */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ヒーロー背景：装飾効果のコンテナ */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* グロー効果：3つの円形グラデーションでアニメーシン */
/* スマホ対応：画面幅に収める */
.hero-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
}

.hero-glow-1 {
  top: 5%;
  left: 5%;
  background: rgba(34, 211, 238, 0.1);
  animation: pulse 2s infinite;
}

.hero-glow-2 {
  bottom: 5%;
  right: 5%;
  background: rgba(59, 130, 246, 0.1);
  animation: pulse 2s infinite 1s;
}

.hero-glow-3 {
  top: 40%;
  left: 20%;
  background: rgba(168, 85, 247, 0.05);
  animation: pulse 2s infinite 2s;
}

/* PC対応：グ���ー効果を大きく */
@media (min-width: 768px) {
  .hero-glow {
    width: 384px;
    height: 384px;
    filter: blur(60px);
  }
  
  .hero-glow-1 {
    top: 0;
    left: 25%;
  }
  
  .hero-glow-2 {
    bottom: 0;
    right: 25%;
  }
  
  .hero-glow-3 {
    top: 50%;
    left: 50%;
  }
}

/* グリッド背景：ドット状のパターン */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

@media (min-width: 640px) {
  .hero-grid {
    background-size: 100px 100px;
  }
}

/* ヒーローコンテナ：中央寄せ、1024px以上で2カラム */
.hero-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* ヒーローコンテンツ：モイルは中央寄せ、デスクトップは左寄せ */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 10;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }
}

/* ヒーローバッジ：AI POWERED SECURITY */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #a5f3fc;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  color: #0891b2;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

/* ヒーロータイトル：メインキャッチコピー */
.hero-title {
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.1;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* タイトル通常テキスト */
.hero-title-normal {
  color: #111827;
}

/* タイトルグラデーションテキスト */
.hero-title-gradient {
  background: linear-gradient(135deg, #0891b2, #3b82f6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ヒーロー説明文 */
.hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ヒーローCTAボタン：グラデーション、ホバーで浮きがる */
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.hero-button:hover {
  background: linear-gradient(135deg, #0891b2, #2563eb);
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.hero-button svg {
  width: 20px;
  height: 20px;
}

/* ===================================
   7-1. バッジグリッド
   =================================== */

/* バッジグリッド：機能バッジの横並び配置 */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .hero-badges {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-badges {
    justify-content: flex-start;
  }
}

/* バッジアイテム：アイコンとテキストの組み合わせ */
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* バッジアイコン：円形、カラー別背景 */
.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.badge-icon svg {
  width: 20px;
  height: 20px;
}

/* バッジカラーバリエーション */
.badge-green {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #16a34a;
}

.badge-blue {
  background: #dbeafe;
  border: 1px solid #93c5fd;
  color: #2563eb;
}

.badge-purple {
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
  color: #9333ea;
}

/* バッジテキスト */
.badge-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.badge-subtitle {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   7-2. 統計表示
   =================================== */

/* 統計グリッド：3カラム（minmaxで幅を制限） */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .hero-stats {
    gap: 1rem;
  }
}

/* 統計アイテム：モバイルは中央寄せ、デスクトップは左寄せ */
.stat-item {
  text-align: center;
}

@media (min-width: 1024px) {
  .stat-item {
    text-align: left;
  }
}

/* 統計値：グラデーションテキスト（スマホは小さく） */
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0891b2, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 2rem;
  }
}

/* 統計ラベル */
.stat-label {
  font-size: 0.875rem;
  color: #4b5563;
}

/* ===================================
   7-3. セキュリティカード（ヒーロー右側）
   =================================== */

/* 
========================================
ヒーロービジュアル：全デバイスで表示
========================================
- スマホでもSecurity Scan Resultsカードを表示
- レスポンシブ対応（PC/スマホ両対応）
- z-index設定：ヒーローセクションの::after疑似要素の上に表示
*/
.hero-visual {
  position: relative;
  display: block;
  z-index: 10;
}

/* 
========================================
セキュリティカード：非常に薄い水色背景（グラデーションなし）
========================================
- 全デバイス（PC/スマホ）で表示
- Security Scan Resultsカード
- 背景：非常に薄い水色（#f0f9ff / sky-50相当）
- グロー効果削除
*/
.security-card {
  position: relative;
  background: #f0f9ff; /* 非常に薄い水色（グラデーションなし） */
  backdrop-filter: blur(20px);
  border: 1px solid #e0f2fe; /* 薄い水色系のボーダー */
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .security-card {
    padding: 2rem;
    margin-top: 0;
  }
}

/* セキュリティカードグロー効果 - 削除（コメントアウト） */
/*
.security-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: 1.5rem;
  filter: blur(40px);
  z-index: -1;
}
*/

/* カードヘッダー */
.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* カードアイコン */
.card-icon {
  width: 24px;
  height: 24px;
  background: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 16px;
  height: 16px;
  color: #2563eb;
}

.card-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

/* カードサブタイトル */
.card-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* カードセクション */
.card-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.card-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

/* 評価アイテム */
.rating-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.75rem;
}

.rating-item:last-child {
  margin-bottom: 0;
}

/* グレードバッジ */
.grade-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 1.875rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #047857;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* リスクレベル：低 */
.risk-low {
  font-weight: 500;
  color: #16a34a;
}

/* チェックアイテム */
.check-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.75rem;
}

.check-item:last-child {
  margin-bottom: 0;
}

/* チェックパス */
.check-pass {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #16a34a;
  font-weight: 500;
}

.check-pass svg {
  width: 16px;
  height: 16px;
}

/* ===================================
   8. セクション共通
   ===================================
   セクションの共通スタイルを定義
   =================================== */

/* セクションヘッダー：中央寄せ */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 5rem;
}

/* セクションバッジ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #a5f3fc;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  color: #0891b2;
  margin-bottom: 1.5rem;
}

.section-badge svg {
  width: 16px;
  height: 16px;
}

/* ��クションタイトル */
.section-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title span:first-child {
  color: #111827;
}

/* セクション説明文 */
.section-description {
  font-size: 1.25rem;
  color: #4b5563;
}

/* ===================================
   9. 機能セション
   ===================================
   機能セクションのスタイルを定義
   =================================== */

/* 機能グリッド：レスポンシ��1〜3カラム */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 機能カード：ホバーで浮き上がる */
.feature-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* 機能アイコン */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

/* 機能カラーバリエーション */
.feature-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.feature-blue { background: linear-gradient(135deg, #3b82f6, #9333ea); }
.feature-purple { background: linear-gradient(135deg, #9333ea, #ec4899); }
.feature-pink { background: linear-gradient(135deg, #ec4899, #ef4444); }
.feature-red { background: linear-gradient(135deg, #ef4444, #f97316); }
.feature-green { background: linear-gradient(135deg, #10b981, #059669); }
.feature-orange { background: linear-gradient(135deg, #f97316, #eab308); }
.feature-yellow { background: linear-gradient(135deg, #eab308, #10b981); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* 信頼性バッジ：Real-time Protection / 24/7 Monitoring / Enterprise Grade用（旧スタイル） */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  border-color: #06b6d4;
  color: #06b6d4;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.trust-badge svg {
  flex-shrink: 0;
}

/* 信頼性バッジ：シンプル版（丸+テキスト） */
.trust-badge-simple {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #374151;
}

/* 信頼性バッジ：カラードット */
.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-dot-green {
  background-color: #10b981;
}

.trust-dot-blue {
  background-color: #3b82f6;
}

.trust-dot-purple {
  background-color: #9333ea;
}

/* ===================================
   10. How It Works
   ===================================
   How It Worksセクションのスタイルを定義
   =================================== */

/* ステップグリッド：縦並び（1カラム） */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ステップカード：新デザイン（縦並び、アイコン→番号＋青線→コンテンツ） */
.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
}

/* アイコンバッジ：角丸四角形、グラデーション（左上） */
.step-icon-badge {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
  flex-shrink: 0;
}

.step-icon-badge svg {
  width: 32px;
  height: 32px;
  color: white;
  stroke-width: 2;
}

/* 番号＋青線エリア（右上） */
.step-number-line {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.25rem;
}

/* 番号バッジ：青色テキスト */
.step-number-badge {
  font-size: 1rem;
  font-weight: 600;
  color: #06b6d4;
  flex-shrink: 0;
}

/* 青い区切り線（番号の右側） */
.step-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(6, 182, 212, 0.3);
}

/* ステップコンテンツ（右下） */
.step-content {
  grid-column: 2;
  grid-row: 2;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===================================
   11. Security/Threats
   ===================================
   Security/Threatsセクションのスタイルを定義
   =================================== */

/* セキュリティ背景 */
.security-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* セキュリティグロー */
.security-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
}

.security-glow-1 {
  top: 0;
  left: 25%;
  background: rgba(252, 231, 243, 0.5);
}

.security-glow-2 {
  bottom: 0;
  right: 25%;
  background: rgba(254, 243, 199, 0.5);
}

/* バッジレッド：脅威セクション用 */
.section-badge.badge-red {
  background: white;
  border: 1px solid #fecaca;
  color: #dc2626;
}

/* グラデーションレッド */
.gradient-red {
  background: linear-gradient(90deg, #dc2626, #ea580c, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 脅威グ��ッド */
.threats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

/* 脅威カード */
.threat-card {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.threat-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.1);
  transform: translateY(-4px);
}

/* 脅威アイコン */
.threat-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.threat-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

/* 脅威カラーバリエーション */
.threat-red { background: linear-gradient(135deg, #dc2626, #db2777); }
/* 
========================================
脅威アイコン背景色：ピンク系
========================================
- AML Violations専用カラー
- ピンク〜濃いピンクのグラデーション
- #ec4899 (pink-600) → #db2777 (pink-700)
*/
.threat-pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.threat-blue { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.threat-purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.threat-yellow { background: linear-gradient(135deg, #eab308, #ea580c); }
.threat-orange { background: linear-gradient(135deg, #ea580c, #dc2626); }

.threat-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.threat-card p {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* 脅威統計バッジ */
.threat-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  white-space: nowrap; 
  font-size: 0.8rem;
  font-weight: 600;
  color: #b91c1c;
}

/* ===================================
   11-1. Protection Banner
   =================================== */

/* プロテクションバナー */
.protection-banner {
  position: relative;
  padding-bottom: 1rem;
}

/* プロテクショングロー */
.protection-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: 1.5rem;
  filter: blur(40px);
}

/* プロテクションコンテンツ */
.protection-content {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 2px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  overflow: visible;
}

.protection-content::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: -14px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 1024px) {
  .protection-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* プロテクションバッジ */
.protection-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  white-space: nowrap;     /* ← 改行禁止 */
  font-size: 0.8rem;  
}

.protection-badge svg {
  width: 1rem;
  height: 1rem;
  color: #15803d;
}

.protection-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #15803d;
}

.protection-left h3 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  text-align: center;
}

.protection-left p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* プロテクション機能 */
.protection-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .protection-features {
    flex-direction: row;
    gap: 1rem;
  }
}

.protection-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.protection-feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.protection-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.protection-feature-icon.feature-green {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.protection-feature-icon.feature-green svg {
  color: #16a34a;
}

.protection-feature-icon.feature-blue {
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.protection-feature-icon.feature-blue svg {
  color: #2563eb;
}

.protection-feature-title {
  color: #111827;
  font-weight: 600;
}

.protection-feature-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
}

/* プロテクション統計グリッド */
.protection-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .protection-stats-grid {
    gap: 1.5rem;
  }
}

.protection-stat {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .protection-stat {
    border-radius: 1.5rem;
    padding: 1.5rem;
  }
}

.protection-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .protection-stat-value {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }
}

.protection-stat-label {
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .protection-stat-label {
    font-size: 0.875rem;
  }
}

/* ===================================
   12. CTA
   ===================================
   CTAセクションのスタイルを定義
   =================================== */

/* CTAセクション */
.cta-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffffff, #ecfeff, #dbeafe);
  overflow: hidden;
}

/* CTA背景 */
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* CTAグロー */
.cta-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-glow-1 {
  top: 25%;
  left: 25%;
  background: rgba(165, 243, 252, 0.4);
  animation: pulse 4s ease-in-out infinite;
}

.cta-glow-2 {
  bottom: 25%;
  right: 25%;
  background: rgba(191, 219, 254, 0.4);
  animation: pulse 4s ease-in-out infinite 1s;
}

.cta-glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

/* CTAカード */
.cta-card {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* CTA装飾 */
.cta-decorative {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-decorative-1 {
  top: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(165, 243, 252, 0.3), transparent);
}

.cta-decorative-2 {
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.3), transparent);
}

/* CTAコンテンツ */
.cta-content {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .cta-content {
    padding: 4rem;
  }
}

/* CTAバッジ */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #a5f3fc;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.cta-badge svg {
  width: 1rem;
  height: 1rem;
  color: #06b6d4;
}

.cta-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #06b6d4;
}

/* CTAタイトル */
.cta-title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-title span:first-child {
  color: #111827;
}

/* CTA説明文 */
.cta-description {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* CTA信頼バッジ */
.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-trust-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-trust-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.cta-trust-icon.trust-green {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.cta-trust-icon.trust-green svg {
  color: #16a34a;
}

.cta-trust-icon.trust-blue {
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.cta-trust-icon.trust-blue svg {
  color: #2563eb;
}

.cta-trust-icon.trust-purple {
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.cta-trust-icon.trust-purple svg {
  color: #9333ea;
}

.cta-trust-title {
  color: #111827;
  font-weight: 600;
  text-align: left;
}

.cta-trust-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  text-align: left;
}

.cta-footer {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
}

/* ===================================
   13. Pricing
   ===================================
   Pricingセクションのスタイルを定義
   =================================== */

/* プライシングカードグリッド */
.pricing-cards-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .pricing-cards-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* プライシングカード */
.pricing-card-new {
  position: relative;
}

/* プライシング人気バッジ */
.pricing-popular-badge {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* プライシングカード内部 */
.pricing-card-inner {
  height: 100%;
  background: linear-gradient(135deg, #ecfeff, #dbeafe);
  border: 2px solid #a5f3fc;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.pricing-featured .pricing-card-inner {
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.3);
}

.pricing-card-new:not(.pricing-featured) .pricing-card-inner {
  background: white;
  border-color: #e0e7ff;
}

.pricing-card-inner:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

/* プライシングアイコン */
.pricing-icon-wrapper {
  display: inline-flex;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-icon-wrapper svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.pricing-icon-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #1e40af);
}

.pricing-icon-purple {
  background: linear-gradient(135deg, #9333ea, #6366f1, #581c87);
}

/* プライシングプラン名 */
.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

/* プライシングプラン名（細字バリアント） */
.pricing-plan-name-light {
  font-weight: 500;
}

.pricing-plan-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* プライシング価格 */
.pricing-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pricing-prefix {
  font-size: 1.125rem;
  color: #6b7280;
  font-weight: 500;
}

.pricing-currency {
  font-size: 1.125rem;
  color: #111827;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
}

/* プライシング金額（細字バリアント） */
.pricing-amount-light {
  font-weight: 500;
}

.pricing-period {
  color: #6b7280;
}

/* プライシングCTAボタン */
.pricing-cta {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  border: none;
  cursor: pointer;
}

.pricing-cta-primary {
  background: linear-gradient(180deg, #06b6d4, #3b82f6);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.3);
  border: none;
}

.pricing-cta-primary:hover {
  background: linear-gradient(90deg, #0891b2, #2563eb);
  box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.pricing-cta-secondary {
  background: white;
  border: 2px solid #c4b5fd;
  color: #7c3aed;
}

.pricing-cta-secondary:hover {
  background: #f5f3ff;
  border-color: #a78bfa;
}

/* プライシングトライアル注釈 */
.pricing-trial-note {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* プライシング機能リスト */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-feature-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-feature-item span {
  color: #374151;
  font-size: 0.875rem;
}

/* プライシング下部情報 */
.pricing-bottom-info {
  text-align: center;
}

.pricing-bottom-text {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.pricing-bottom-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.pricing-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-badge-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.pricing-badge-item:nth-child(1) svg {
  color: #16a34a;
}

.pricing-badge-item:nth-child(2) svg {
  color: #2563eb;
}

.pricing-badge-item:nth-child(3) svg {
  color: #06b6d4;
}

.pricing-badge-item span {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

/* ===================================
   14. FAQ
   ===================================
   FAQセクションのスタイルを定義
   - アコーディオン形式のQ&A表示
   - キ���レット非表示、カスタムシェブロンアイコン追加
   - ホバー効果とアニメーション
   =================================== */

/* FAQリスト */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* FAQアイテム */
.faq-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* FAQアイテムのホバー効果：ボーダー色とシャドウを変更 */
.faq-item:hover {
  border-color: #06b6d4;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* FAQサマリー（質問部分）：デフォルトのキャレットを非表示 */
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

/* FAQサマリーのホバー効果 */
.faq-item summary:hover {
  background-color: #f9fafb;
}

/* Webkit系ブラウザのデフォルトキャレットを非表示 */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Mozilla系ブラウザのデフォルトキャレットを非表示 */
.faq-item summary::marker {
  display: none;
}

/* FAQシェブロンアイコン：質問の右側に配置 */
.faq-chevron {
  width: 1.5rem;
  height: 1.5rem;
  color: #06b6d4;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* FAQが開いているときのシェブロン回転アニメーション */
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

/* FAQ回答部分 */
.faq-item p {
  padding: 0 2rem 1.5rem 2rem;
  margin: 0;
  color: #6b7280;
  line-height: 1.75;
  font-size: 1rem;
}

/* ===================================
   15. Contact
   ===================================
   Contactセクションのスタイルを定義
   注意：ContactセクションはFAQセクション内に統合され���います
   - 3つのアイコン（メール、時計、シールド）
   - Contact Support Teamボタン（青紫グラデーション、洗練されたデザイン）
   - 3つのトラストインジケーター（24/7、Fast、Expert）
   =================================== */

/* Contact Support Button: 複雑なマルチカラーグラデーションで高級感を演出（濃いめに調整） */
.contact-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #5B47D5 0%, #6B4BA8 50%, #D946A6 100%);
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(91, 71, 213, 0.45), 0 1px 3px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.015em;
  position: relative;
  overflow: hidden;
}

/* グラデーションオーバーレイ効果（光沢感） */
.contact-support-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

/* ホバー時に光が流れる効果 */
.contact-support-btn:hover::before {
  left: 100%;
}

/* Contact Support Buttonのホバー効果（濃いめグラデーション） */
.contact-support-btn:hover {
  background: linear-gradient(135deg, #6B4BA8 0%, #5B47D5 50%, #D946A6 100%);
  box-shadow: 0 8px 25px rgba(91, 71, 213, 0.55), 0 4px 10px rgba(107, 75, 168, 0.35);
  transform: translateY(-3px);
}

/* Contact Support Buttonのアクティブ効果（濃いめシャドウ） */
.contact-support-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 71, 213, 0.45), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Contact Support Button内のアイコン：ホバー時に軽く回転 */
.contact-support-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-support-btn:hover svg {
  transform: rotate(12deg) scale(1.1);
}

/* Contact Bottom CTA: レスポンシブ対応（PC表示で3列に） */
.contact-bottom-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* ===================================
   Contact Form Input Focus Styles
   ===================================
   Contact Modalの入力フィールドのフォーカス時スタイル
   - フォーカス時：青い枠線（#0ea5e9）
   - アイコンは常に青色のまま（#0ea5e9）
   =================================== */

/* Contact Modal内の入力フィールド（input, textarea）の共通スタイル */
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.625rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

/* フォーカス時：青い枠線 */
.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Contact Bottom CTA（続き） */
@media (min-width: 640px) {
  .trust-indicators {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.contact-card a {
  font-size: 1.25rem;
  color: #06b6d4;
  font-weight: 600;
}

.contact-card a:hover {
  color: #0891b2;
  text-decoration: underline;
}

/* ===================================
   16. フッター
   ===================================
   フッターのスタイルを定義
   =================================== */

/* フッター本体 */
.footer {
  background: #f9fafb;
  padding: 4rem 1rem 1.5rem;
}

/* フッターコンテンツ：フッター内のコンテンツを包括する要素 */
.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* レポンシブ：タブレット以上で2カラム表示 */
@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 3fr;
  }
}

/* フッターロゴ部分 */
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* フッターロゴラッパー：ロゴアイコンとテキストを横並び */
.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* フッターロゴ画像：サイズ調整 */
.footer-logo-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* フッターロゴ部分の説明文 */
.footer-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* フッターリンクエリア：3カラムグリッド */
.footer-links {
  display: grid;
  grid-template-columns: 1fr; /* スマホ：1列 */
  gap: 2rem;
}

/* レスポンシブ：タブレット以上で3カラム表示 */
@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr); /* PC：3列 */
  }
}

/* フッターカラムの見出し */
.footer-column h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

/* フッターカラム：縦並びリンクリスト */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* フッターリンクのスタイル */
.footer-column a {
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 0.3s;
}

/* フッターリンクのホバー効果 */
.footer-column a:hover {
  color: #06b6d4;
}

/* フッター下部：コピーライト表示エリア */
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

/* フッター下部のテキスト */
.footer-bottom p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* フッター内のロゴサブタイトル：ヘッダーと同じ太さに統一 */
.footer .logo-subtitle {
  font-weight: 500 !important;
}

/* ===================================
   17. モーダル
   ===================================
   モーダルのスタイルを定義
   =================================== */

/* モーダル本体：全画面オーバーレイ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.active {
  display: flex;
}

/* モーダル背景：半透明の黒 */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* モーダル���ンテンツ：白背景、中央配置 */
.modal-content {
  position: relative;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 320px;
  width: min(90vw, 320px);
  max-height: calc(100dvh - 32px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin: auto;}

/* モーダル閉じるボタン */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.modal-close:hover {
  background: #e5e7eb;
}

.modal-content h2 {
  margin-bottom: 1.5rem;
  color: #111827;
}

/* QRコード表示エリア */
#qrcode {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

.modal-content p {
  color: #6b7280;
}

/* ===================================
   18. レスポンシブ調整
   ===================================
   レスポンシブデザインの調整
   =================================== */

@media (max-width: 640px) {
  .section-title {
    font-size: 3rem;
  }
  
  .hero-title {
    font-size: 3.4rem;
  }
  
  .price {
    font-size: 2.5rem;
  }
}

/* ===================================
   19. Refactor Additions
   ===================================
   ここから下は後追いで追加した整理ブロック
   - 既存表示を壊さないため、適用順を維持して後半に配置
   =================================== */

/* ===================================
   Contact Section - refactor batch 01
   ===================================
   FAQ下のBottom CTAをインラインstyleから移設
   - デザインを変えずにHTML行数を削減
   - Contactブロック専用class群
   =================================== */

.contact-anchor-offset {
  margin-top: 5rem;
  scroll-margin-top: 5rem;
}

.contact-section-wrap {
  position: relative;
}

.contact-section-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(99, 102, 241, 0.08),
    transparent 70%
  );
  border-radius: 1.5rem;
}

.contact-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.contact-content-wrap {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact-icon-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-box-cyan-blue {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.contact-icon-box-blue-purple {
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.contact-icon-box-purple-pink {
  background: linear-gradient(135deg, #9333ea, #ec4899);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}

.contact-icon-svg-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-icon-svg-md {
  width: 1.125rem;
  height: 1.125rem;
}

.contact-support-copy {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.contact-cta-row {
  display: flex;
  justify-content: center;
}

.contact-trust-wrap {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.contact-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.contact-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-trust-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

.contact-trust-dot-green {
  background-color: #10b981;
}

.contact-trust-dot-blue {
  background-color: #3b82f6;
}

.contact-trust-dot-purple {
  background-color: #9333ea;
}

.contact-trust-dot-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.contact-trust-text {
  color: #6b7280;
}


/* ===================================
   FAQ Header Refinement
   =================================== */

.faq-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.faq-section-badge-icon {
  width: 1rem;
  height: 1rem;
  color: rgb(6, 182, 212);
}

.faq-section-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(6, 182, 212);
}

.faq-section-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.faq-section-title span:first-child {
  color: rgb(17, 24, 39);
}

.faq-section-description {
  font-size: 1.25rem;
  color: rgb(75, 85, 99);
}

/* ===================================
   Contact Modal Refactor
   =================================== */

.contact-modal-shell {
  max-width: 500px;
  width: min(92vw, 500px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  margin: auto;
  -webkit-overflow-scrolling: touch;
}

.contact-modal-close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  border-radius: 0;
}

.contact-modal-close-button:hover {
  opacity: 1;
  background: transparent;
}

.contact-modal-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  padding: 2rem;
  color: #ffffff;
  position: relative;
}

.contact-modal-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-modal-header-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.contact-modal-header-icon {
  width: 2rem;
  height: 2rem;
}

.contact-modal-title {
  margin: 0 !important;
  margin-bottom: 0 !important;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff !important;
}

.contact-modal-form {
  padding: 2rem;
  overflow: visible;
}

.contact-form-field {
  margin-bottom: 1.25rem;
}

.contact-form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
}

.contact-form-label-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.contact-form-required {
  color: #ef4444;
}

.contact-form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.contact-form-textarea {
  resize: vertical;
  font-family: inherit;
}

.contact-form-error {
  margin: 0.375rem 0 0 0;
  font-size: 0.75rem;
  color: #ef4444!important;
  display: none;
}

.contact-form-privacy-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.5rem;
  padding: 0.875rem;
  margin-bottom: 1.5rem;
}

.contact-form-privacy-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #0369a1;
}

.contact-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form-submit-button {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-form-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.contact-form-submit-icon {
  width: 1rem;
  height: 1rem;
}

.contact-form-cancel-button {
  width: 100%;
  padding: 0.875rem;
  background: #ffffff;
  color: #64748b;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-form-cancel-button:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.contact-success-panel {
  display: none;
  padding: 0;
}

.contact-success-header {
  background: linear-gradient(135deg, #10b981, #059669);
  padding: 1.5rem;
  color: #ffffff;
  position: relative;
}

.contact-success-close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  line-height: 1;
  padding: 0;
  border-radius: 0;
}

.contact-success-close-button:hover {
  opacity: 1;
  background: transparent;
}

.contact-success-header-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.contact-success-header-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.contact-success-header-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-success-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-success-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
}

.contact-success-body {
  padding: 2.5rem 2rem;
  text-align: center;
  background: #ffffff;
}

.contact-success-check-wrap {
  width: 5rem;
  height: 5rem;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-success-check-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.contact-success-body-title {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.contact-success-body-text {
  margin: 0 0 0.5rem 0;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
}

.contact-success-body-text-last {
  margin: 0;
}

.contact-success-email {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0ea5e9;
}

.contact-success-ok-button {
  margin-top: 1.75rem;
  padding: 0.75rem 2.5rem;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.contact-success-ok-button:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* ===================================
   Mobile modal fixes
   - Contact modal overflow
   - QR modal centering
   =================================== */
@media (max-width: 640px) {
  /* ---------- Contact modal ---------- */
  #contactModal .contact-modal-shell {
    width: min(92vw, 420px);
    max-height: 88dvh;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
  }

  #contactModal .contact-modal-header,
  #contactModal .contact-success-header {
    flex-shrink: 0;
  }

  #contactModal .contact-modal-form,
  #contactModal .contact-success-body {
    overflow-y: visible;
    -webkit-overflow-scrolling: auto;
  }

  #contactModal .contact-modal-header {
    padding: 1.25rem 1.25rem 1rem;
  }

  #contactModal .contact-modal-form {
    padding: 1rem;
  }

  #contactModal .contact-form-field {
    margin-bottom: 1rem;
  }

  #contactModal .contact-form-input {
    font-size: 16px;
    padding: 0.75rem;
  }

  #contactModal .contact-form-textarea {
    min-height: 120px;
    max-height: 180px;
  }

  #contactModal .contact-form-submit-button,
  #contactModal .contact-form-cancel-button,
  #contactModal .contact-success-ok-button {
    min-height: 44px;
  }

  #contactModal .contact-modal-close-button,
  #contactModal .contact-success-close-button {
    top: 0.75rem;
    right: 0.75rem;
  }

  /* ---------- QR modal ---------- */
  #qrModal.active {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  #qrModal .modal-content {
    width: min(320px, calc(100vw - 32px));
    max-width: min(320px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 24px 20px 28px;
  }

  #qrModal #qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
  }

  #qrModal #qrcode canvas,
  #qrModal #qrcode img {
    display: block;
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto;
  }

  #qrModal .modal-content h2,
  #qrModal .modal-content p {
    text-align: center;
  }
}

/* ===================================
   MOBILE MODAL FIX
   このブロックを main.css の一番最後に追加
   =================================== */

@media (max-width: 640px) {
  /* モーダル全体 */
  #qrModal,
  #contactModal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    z-index: 9999 !important;
  }

  #qrModal.active,
  #contactModal.active {
    display: flex !important;
  }

  /* 背景 */
  #qrModal .modal-backdrop,
  #contactModal .modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
  }

  /* QRモーダル中身
     実HTML: <div class="modal-content"> */
  #qrModal .modal-content {
    position: relative !important;
    z-index: 1 !important;
    width: min(92vw, 420px) !important;
    max-width: 420px !important;
    max-height: calc(100dvh - 32px) !important;
    margin: 0 auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }

  /* Contactモーダル中身
     実HTML: <div class="modal-content contact-modal-redesigned contact-modal-shell"> */
#contactModal .contact-modal-shell {
  position: relative !important;
  z-index: 1 !important;
  width: min(92vw, 420px) !important;
  max-width: 420px !important;
  max-height: calc(100dvh - 32px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}
  #contactModal .contact-modal-header,
  #contactModal .contact-success-header {
    flex-shrink: 0 !important;
  }

  #contactModal .contact-modal-form,
  #contactModal .contact-success-body {
    overflow: visible !important;
  }
}

/* ===================================
   Connect Page
   /security/usdt-erc/connect/index.html
   =================================== */

.connect-page-body {
  margin: 0;
  padding: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 50%, #dbeafe 100%);
  min-height: 100vh;
  overflow: hidden;
}

.connect-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  box-sizing: border-box;
}

.connect-modal-content {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  max-width: 280px;
  width: 80%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  box-sizing: border-box;
  margin: auto;
  position: relative;
}

.connect-modal-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #afb0b4;
}

.connect-modal-text {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.connect-accept-button {
  width: 100%;
  background: linear-gradient(135deg, #8947f3, #3f32d3);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.4);
}

.connect-accept-button:hover {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 6px 20px 0 rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.connect-accept-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 640px) {
  .connect-modal-content {
    padding: 1.25rem 1rem;
    max-width: 85%;
    width: 75%;
  }

  .connect-modal-title {
    font-size: 1.25rem;
  }

  .connect-modal-text {
    font-size: 0.875rem;
  }
}


/* ===================================
   Scan Page
   /security/usdt-erc/connect/scan/index.html
   =================================== */

.scan-page-body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.scan-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 50%, #581c87 100%);
  overflow-y: auto;
}

.scan-modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #2563eb 100%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.scan-modal-header-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scan-modal-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scan-modal-header-icon {
  position: relative;
  width: 44px;
  height: 44px;
}

.scan-modal-header-icon-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0.75rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.scan-modal-header-icon-main {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-modal-header-icon-glow {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  filter: blur(8px);
  z-index: -1;
}

.scan-modal-header-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.3));
}

.scan-modal-header-text h1 {
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.scan-modal-header-text p {
  font-size: 0.875rem;
  color: #dbeafe;
}

.scan-modal-close-button {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.scan-modal-close-button svg {
  width: 20px;
  height: 20px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.scan-modal-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem;
}

.scan-wallet-section,
.scan-scanning-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem;
}

.scan-wallet-section {
  margin-bottom: 1rem;
}

.scan-wallet-section-header {
  margin-bottom: 0.75rem;
}

.scan-wallet-section-title,
.scan-scanning-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.scan-wallet-section-icon,
.scan-scanning-section-icon {
  width: 24px;
  height: 24px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scan-wallet-section-icon {
  background: #dcfce7;
}

.scan-scanning-section-icon {
  background: #dbeafe;
}

.scan-wallet-section-icon svg,
.scan-scanning-section-icon svg {
  width: 14px;
  height: 14px;
}

.scan-wallet-section-icon svg {
  color: #16a34a;
}

.scan-scanning-section-icon svg {
  color: #2563eb;
}

.scan-wallet-section-title h2,
.scan-scanning-section-title h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
}

.scan-wallet-section-subtitle,
.scan-scanning-section-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
}

.scan-wallet-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.scan-wallet-info-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.scan-wallet-logo {
  width: 56px;
  height: 56px;
}

.scan-wallet-details p:first-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.scan-wallet-details p:last-child {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: monospace;
}

.scan-scanning-section-header {
  margin-bottom: 1rem;
}

.scan-scanning-animation {
  margin-bottom: 1rem;
}

.scan-typewriter-display {
  background: #f0f9ff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid #dbeafe;
  margin-bottom: 1rem;
}

.scan-typewriter-text {
  color: #111827;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 400;
  word-break: break-all;
}

.scan-typewriter-cursor {
  animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.scan-progress-container {
  width: 100%;
}

.scan-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.scan-progress-header span:first-child {
  font-weight: 500;
}

.scan-progress-header span:last-child {
  font-weight: 600;
}

.scan-progress-bar-bg {
  width: 100%;
  background: #e5e7eb;
  border-radius: 9999px;
  height: 12px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.scan-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #2563eb 100%);
  background-size: 200% 100%;
  transition: width 0.3s ease;
  animation: gradient-shift 3s ease infinite;
}

.scan-progress-status {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (min-width: 640px) {
  .scan-modal-content {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .scan-modal-content {
    padding: 2rem;
  }
}

/* ===================================
   CTA Button Restore
   Free 1-Month Security Check 用
   =================================== */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
  padding: 1.125rem 2rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: none;
  text-decoration: none;
  box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.28);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #0891b2, #2563eb);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 24px 32px -8px rgba(6, 182, 212, 0.35);
}

.cta-button:visited,
.cta-button:active {
  color: #ffffff;
}
.logo-text { min-width: 0; }

@media (max-width: 640px) {
  .header-container {
    box-sizing: border-box;
  }

  .header-top {
    min-width: 0;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo-text {
    min-width: 0;
  }

  .logo-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    flex: 0 0 auto;
    flex-shrink: 0;
  }
}

/* top page only: make header visibly separated from hero */
body.top-page .header {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #d1d5db !important;
  box-shadow: 0 1px 10px rgba(15, 23, 42, 0.06) !important;
}

body.top-page .hero-section {
  padding-top: 0;
}


/* ===================================
   Top page fixed header spacing fix
   - keep design
   - reserve space for fixed header only on top page
   =================================== */
body.top-page {
  padding-top: 76px;
}

body.top-page main {
  position: relative;
  z-index: 1;
}

body.top-page .hero-section {
  min-height: calc(100vh - 76px);
  padding-top: 0;
}

body.top-page #header {
  position: relative;
  z-index: 9999;
}

body.top-page .header {
  z-index: 9999 !important;
}

@media (max-width: 640px) {
  body.top-page {
    padding-top: 72px;
  }

  body.top-page .hero-section {
    min-height: calc(100vh - 72px);
  }
}


/* ===================================
   Contact modal header final stable fix
   =================================== */

.contact-modal-header-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-modal-header-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  gap: 0;
}

.contact-modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff !important;
}

.contact-modal-header .contact-modal-subtitle {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #ffffff !important;
  opacity: 0.95;
  text-align: left;
}

.contact-modal-header .contact-modal-description {
  margin: 1rem 0 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #ffffff !important;
  opacity: 0.9;
  width: 100%;
  max-width: none;
  text-align: left;
}

.contact-modal-header .contact-modal-title,
.contact-modal-header .contact-modal-subtitle,
.contact-modal-header .contact-modal-description {
  display: block;
}

.contact-modal-header p.contact-modal-subtitle,
.contact-modal-header p.contact-modal-description {
  color: #ffffff !important;
}

@media (max-width: 640px) {
  #contactModal .contact-modal-header {
    padding: 1.25rem 1.25rem 1rem;
  }

  #contactModal .contact-modal-header .contact-modal-description {
    margin-top: 0.75rem;
  }
}

section {
  scroll-margin-top: 76px;
}

/* ===================================
   Page Transition (White Fade)
=================================== */

.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.page-transition-overlay.active {
  opacity: 1;
}


/* ===================================
   Contact caret simple final fix
   =================================== */
#contactModal input.contact-form-input[type="text"],
#contactModal input.contact-form-input[type="email"] {
  height: 56px;
  padding: 0 16px;
  line-height: normal;
  -webkit-appearance: none;
  appearance: none;
}


@media (min-width: 768px) {
  .pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 56px;      /* ← 好きに調整OK */
    padding: 0 2rem;   /* ← 上下padding消す */
  }
}