/*
Theme Name: Lightning Child
Template: lightning
*/

@charset "UTF-8";

/* ==========================================
   1. 変数定義（カラーパレット）
========================================== */
:root {
  /* 新しい設定を優先 */
  --text-color: #4A4A4A;
  --bg-color: #FDFBF7;
  --accent-orange: #FF8F73;
  --accent-green: #68C4A4;
  --line-green: #06C755;
  
  /* 旧設定（他ページで使われている可能性があるため保持） */
  --accent-color: #E67E22;
  --line-color: #06C755;
}

/* ==========================================
   2. ベース設定
========================================== */
body {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif; /* 新しいフォント優先 */
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  font-size: 18px; 
  padding-top: 60px; /* 新しい設定 */
  padding-bottom: 90px; /* スマホ用の下部余白 */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 10px; /* PC画面では下部余白を減らす */
  }
}

/* ==========================================
   3. ヘッダー・ナビゲーション
========================================== */
/* 新規ヘッダー設定 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}
.header-hidden {
  transform: translateY(-100%);
}

.time-bar {
  background-color: var(--text-color)!important;
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 0;
  text-align: center;
}

/* 旧設定（他ページ用保持） */
.top-bar {
  background-color: #4A3F35;
  color: #fff;
  font-size: 0.95rem;
  padding: 5px 0;
}
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ==========================================
   4. 共通レイアウト・セクション設定
========================================== */
.section-padding {
  padding: 70px 0;
}

.section-title {
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.7rem;
}

/* ヒーローセクション（新規優先） */
.hero-section {
  background-color: var(--bg-color);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #666;
}
@media (min-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.3rem; }
}

.micro-copy {
  font-size: 0.95rem;
  color: #6c757d;
  display: block;
  margin-top: 8px;
}

/* ==========================================
   5. AI検索セクション等 装飾（新規優先）
========================================== */
.highlight-text {
  background: linear-gradient(transparent 60%, #fef08a 60%);
  padding: 0 5px;
  color: #b45309;
  font-weight: bold;
}

.feature-list {
  padding-left: 0;
  list-style: none;
  text-align: left;
  font-size: 1rem;
}
.feature-list li {
  margin-bottom: 10px;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.5;
}
.feature-list li::before {
  content: '✓'; /* 新しいチェックマークに変更 */
  color: var(--accent-orange);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-family: inherit;
}
.feature-list.gray li::before { color: #999; }

/* ==========================================
   6. ボタン・追従バー関連
========================================== */
/* 新規の緑色ボタンを優先 */
.btn-line {
  background-color: var(--line-green);
  color: white !important;
  font-weight: bold;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 1.2rem;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn-line:hover {
  background-color: #05b34c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
  animation: none; /* hover時は浮遊アニメーション停止 */
}

/* スマホ用追従フッター（新規優先） */
.floating-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
  backdrop-filter: blur(5px);
}
@media (max-width: 767px) {
  body {
    padding-bottom: 80px; /* 追従バーにかぶらないための余白 */
  }
}

/* ==========================================
   7. 各種コンポーネント・カード
========================================== */
/* 新規：画像プレースホルダー */
.image-placeholder {
  background-color: #E8E8E8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: bold;
  text-align: center;
  padding: 20px;
  width: 100%;
  object-fit: cover;
}

/* 新規：レスポンシブ画像（枠に合わせて切り抜き） */
.responsive-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
/* 新規：画像を囲む親要素（枠） */
.demo-img-wrapper {
    object-position: top;
  width: 100%;
  height: 600px; /* 表示したい枠の高さを指定してください */
 /* overflow-y: auto;  はみ出した部分を縦スクロールさせる */
  border-radius: 12px; /* 角丸はこちらに指定します */
  object-fit: cover;
}

/* スクロールさせる画像本体 */
.demo-img-scroll {
  width: 100%;
  height: auto;  /*高さを自動にすることで、本来の縦幅を保つ */
  display: block;
}
/* 新規：リスト装飾 */
.check-list li {
  list-style-type: none;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
  font-size: 1.1rem;
}
.check-list li::before {
  content: '\f14a';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent-orange);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.3rem;
}

/* 新規：ステップ装飾 */
.step-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 10px;
  display: inline-block;
  border-bottom: 3px solid var(--accent-orange);
  padding-bottom: 5px;
  position: static;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* ----------------------------------
   以下、他ページ用の既存カード設定保持
----------------------------------- */
.step-box { background-color: #fff; border: 2px solid #ffdfd3; border-radius: 15px; padding: 25px 20px 20px 20px; margin-bottom: 30px; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.card-custom { background-color: #fff; border: none; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); padding: 30px; height: 100%; }
.benefit-card { border-left: 6px solid var(--accent-color); background-color: #fff; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.03); }

/* 吹き出し風デザイン */
.speech-bubble { position: relative; background: #fff; border-radius: 15px; padding: 15px 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 2px solid #ffdfd3; display: inline-block; width: 100%; }
.speech-bubble::before { content: ''; position: absolute; top: 20px; left: -14px; border-top: 10px solid transparent; border-right: 14px solid #ffdfd3; border-bottom: 10px solid transparent; z-index: 0; }
.speech-bubble::after { content: ''; position: absolute; top: 22px; left: -10px; border-top: 8px solid transparent; border-right: 12px solid #fff; border-bottom: 8px solid transparent; z-index: 1; }

/* お客様の声 */
.voice-card { background-color: #fff; border-radius: 15px; padding: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); position: relative; border: 2px solid var(--accent-color); margin-top: 25px; }
.voice-card::after { content: ''; position: absolute; top: -12px; left: 40px; border-bottom: 12px solid #fff; border-left: 12px solid transparent; border-right: 12px solid transparent; z-index: 1; }
.voice-card::before { content: ''; position: absolute; top: -15px; left: 38px; border-bottom: 15px solid var(--accent-color); border-left: 14px solid transparent; border-right: 14px solid transparent; z-index: 0; }
.voice-icon { position: absolute; top: -40px; left: 20px; font-size: 3.5rem; color: var(--accent-color); background-color: #FDFBF7; border-radius: 50%; }
.voice-badge { background-color: var(--accent-color); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; display: inline-block; margin-bottom: 10px; }

/* プロフィール画像 */
.profile-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* ==========================================
   8. 料金表関連
========================================== */
/* 新規料金プラン用（優先） */
.price-card {
  border: 3px solid var(--text-color);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.price-header {
  background-color: var(--text-color);
  color: #fff;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
}

/* 旧料金表（他ページ用保持） */
.pricing-card-mini { background-color: #fff; border-radius: 15px; padding: 25px 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); height: 100%; border: 2px solid transparent; text-align: center; position: relative; }
.pricing-card-mini.popular { border: 3px solid var(--accent-color); transform: scale(1.02); z-index: 1; }
.pricing-card { background-color: #fff; border-radius: 20px; padding: 30px 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); height: 100%; position: relative; border: 2px solid transparent; transition: transform 0.3s ease; }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.popular { border: 4px solid var(--accent-color); box-shadow: 0 10px 25px rgba(230, 126, 34, 0.15); transform: scale(1.03); z-index: 1; }
@media (max-width: 768px) { .pricing-card.popular { transform: scale(1); } }
.popular-badge { background-color: var(--accent-color); color: #fff; font-weight: bold; padding: 6px 20px; border-radius: 30px; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 1rem; white-space: nowrap; }
.price-strike { text-decoration: line-through; color: #999; font-size: 1.1rem; }
.price-highlight { color: #d9534f; font-size: 2rem; font-weight: 900; }
.secret-box { background-color: #f0f8ff; border-radius: 15px; padding: 30px; margin-top: 40px; }
.option-box { background-color: #fff9f2; border-radius: 15px; padding: 25px; margin-top: 20px; border: 1px dashed #ccc; }
.gift-box { background-color: #fff4f4; border: 2px solid #ffb3b3; border-radius: 12px; padding: 15px; margin-top: 20px; }

/* ==========================================
   9. アコーディオン・FAQ
========================================== */
.accordion-item { 
  border: none; 
  border-bottom: 1px solid #eee; 
  border-radius: 0 !important; 
  background-color: transparent; 
  margin-bottom: 10px; 
}
.accordion-button { 
  background-color: #fff; 
  color: var(--text-color); 
  font-weight: bold; 
  border-radius: 12px !important; 
  padding: 20px; 
  box-shadow: 0 3px 10px rgba(0,0,0,0.02); 
}
/* 新規のオレンジ系背景を優先 */
.accordion-button:not(.collapsed) { 
  color: var(--text-color); 
  background-color: rgba(255, 143, 115, 0.1); 
  box-shadow: none; 
  font-weight: bold; 
}
.accordion-button:focus { 
  box-shadow: none; 
  border-color: rgba(0,0,0,0.1); 
}
.accordion-body { 
  background-color: #FDFBF7; 
  padding: 20px; 
  color: #555; 
  font-size: 0.95rem; 
  border-radius: 0 0 12px 12px; 
}
.qa-icon-q { color: var(--accent-orange); font-size: 1.2rem; margin-right: 8px; }
.qa-icon-a { color: #0056b3; font-weight: bold; font-size: 1.2rem; margin-right: 8px; }

/* ==========================================
   10. スマホ検索解説用・特定商取引法用 (他ページ用維持)
========================================== */
.main-container { max-width: 42rem; margin: 0 auto; }
.bg-warm-orange { background-color: #f5a623; color: #ffffff; }
.bg-icon { right: -1.5rem; bottom: -1.5rem; font-size: 9rem; color: rgba(255, 255, 255, 0.2); transform: rotate(-12deg); }
.balloon-left { border-top-left-radius: 0 !important; }
.balloon-right { border-top-right-radius: 0 !important; }
.balloon-icon { position: absolute; top: -14px; background: white; border-radius: 50%; padding: 8px; box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075); border: 1px solid #e9ecef; }
.balloon-icon.left { left: -14px; }
.balloon-icon.right { right: -14px; }
.icon-circle { width: 28px; height: 28px; font-size: 14px; }
.text-underline-warm { text-decoration: underline; text-decoration-color: #fcd34d; text-decoration-thickness: 4px; text-underline-offset: 4px; }
.border-bottom-blue { border-bottom: 2px solid #bae0ff; }

.tokushoho-table { width: 100%; border-collapse: collapse; border: 1px solid #e8e4d9; background-color: #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.tokushoho-table th { width: 30%; padding: 15px 20px; background-color: #FDFBF7; border: 1px solid #e8e4d9; text-align: left; vertical-align: top; font-weight: bold; }
.tokushoho-table td { padding: 15px 20px; border: 1px solid #e8e4d9; vertical-align: top; }

/* ==========================================
   11. アニメーション全般
========================================== */
/* 新規のアニメーション（シンプル版）を優先 */
.fade-in-up { 
  opacity: 0; 
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards; 
}
@keyframes fadeInUp { 
  to { opacity: 1; transform: translateY(0); } 
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.3s; }
.delay-300 { animation-delay: 0.5s; }

/* ボタン等の浮遊アニメーション */
.btn-float { animation: float 3s ease-in-out infinite; }
@keyframes float { 
  0% { transform: translateY(0px); } 
  50% { transform: translateY(-8px); } 
  100% { transform: translateY(0px); } 
}

@keyframes bounce-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15%); } }
.animate-bounce { animation: bounce-sm 1s infinite; }
@keyframes float-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.animate-float { animation: float-sm 2.5s ease-in-out infinite; }

/* ==========================================
   12. 画像レスポンシブ設定
========================================== */
img[src*="QRcode.png"], img[src*="report_sample.png"], img[src*="AI_search.png"] {
  width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto 1.5rem auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  img[src*="QRcode.png"] { width: 25%; max-width: 200px; }
  img[src*="report_sample.png"] { width: 50%; max-width: 400px; }
  img[src*="AI_search.png"] { width: 60%; max-width: 550px; }
}


/* ==========================================
   13. UX向上・スクロール連動アニメーション追加
========================================== */
/* スムーススクロールと、固定ヘッダー分の余白調整 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}

/* スクロールフェードインの初期状態 */
.js-scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* スクロールフェードインの表示状態（common.jsから付与されるクラス） */
.js-scroll-fade.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 端末設定でアニメーションをオフにしている方へのアクセシビリティ配慮 */
@media (prefers-reduced-motion: reduce) {
  .js-scroll-fade {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
/* ==========================================
   14. 下層ページ用・共通コンポーネント
========================================== */
/* 見出し装飾 */
.page-h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 20px;
}
.page-h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-color);
  border-left: 5px solid var(--accent-orange);
  padding-left: 10px;
  margin-top: 30px;
  margin-bottom: 15px;
  background-color: #fff;
}
.page-h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-color);
  margin-top: 25px;
  margin-bottom: 10px;
}

/* リスト装飾 */
.custom-ul {
  padding-left: 0;
  list-style: none;
}
.custom-ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 10px;
}
.custom-ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
}

.custom-ol {
  padding-left: 1.5rem;
  margin-bottom: 20px;
}
.custom-ol li {
  margin-bottom: 10px;
}
.custom-ol li::marker {
  color: var(--accent-orange);
  font-weight: bold;
}

/* 注釈・ボックス装飾 */
.info-box {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid var(--accent-green);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.alert-box {
  background-color: #FDEDED;
  border-left: 5px solid #E74C3C;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* テキストリンク装飾 */
.text-link {
  color: #0056b3;
  text-decoration: underline;
  text-decoration-color: rgba(0, 86, 179, 0.3);
  text-underline-offset: 4px;
  transition: all 0.3s ease;
}
.text-link:hover {
  color: var(--accent-orange);
  text-decoration-color: var(--accent-orange);
}