/*
 * lp-barcelona.css
 * バルセロナ流コーチングメソッド伝承講座 LP 専用スタイルシート
 * 配置場所: wp-content/themes/thor-child/lp-barcelona/lp-barcelona.css
 *
 * Thorテーマ本体のグローバルCSSをリセット・上書きし、
 * LP専用のデザインを確実に適用するための記述を含みます。
 */

/* ============================================================
   0. Thor テーマ干渉リセット
   ============================================================ */
.lp-page *,
.lp-page *::before,
.lp-page *::after {
  box-sizing: border-box;
}

/* Thorが付与するコンテナ幅・パディングをすべて解除 */
.lp-page .container,
.lp-page .container-fluid,
.lp-page #content,
.lp-page #main,
.lp-page .entry-content,
.lp-page .site-content,
.lp-page article {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Thorのヘッダー・フッター・サイドバーを非表示 */
.lp-page #header,
.lp-page #masthead,
.lp-page .site-header,
.lp-page #footer,
.lp-page .site-footer,
.lp-page #sidebar,
.lp-page .widget-area,
.lp-page .breadcrumb,
.lp-page .breadcrumbs,
.lp-page .woocommerce-breadcrumb {
  display: none !important;
}

/* body マージンリセット（Thorがadmin barを除いて付与するマージン） */
.lp-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* WordPress管理バーがある場合のnav位置調整 */
.admin-bar .lp-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .lp-nav {
    top: 46px;
  }
}

/* ============================================================
   1. CSS カスタムプロパティ
   ============================================================ */
.lp-page {
  --red:        #C0392B;
  --red-dark:   #922B21;
  --gold:       #B8860B;
  --bg-main:    #FDFBF7;
  --bg-section: #F1EDE4;
  --text-main:  #1A1A1A;
  --text-muted: #5A5A5A;
  --text-hint:  #888888;
  --border:     #DDD8CE;
  --white:      #ffffff;
  --serif:      'Noto Serif JP', 'Georgia', serif;
  --sans:       'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   2. ベース
   ============================================================ */
.lp-page {
  background: var(--bg-main) !important;
  color: var(--text-main) !important;
  font-family: var(--sans) !important;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.lp-page a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   3. ナビゲーション
   ============================================================ */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-main);
  letter-spacing: 2px;
  font-weight: 700;
}
.nav-logo span { color: var(--red); }

.nav-cta {
  display: inline-block;
  border: 1px solid var(--red);
  color: var(--red) !important;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 8px 20px;
  text-decoration: none !important;
  background: none;
  transition: background 0.2s, color 0.2s;
  font-family: var(--sans);
}
.nav-cta:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}

@media (max-width: 480px) {
  .lp-nav { padding: 14px 20px; }
  .nav-cta { font-size: 10px; padding: 7px 14px; letter-spacing: 1px; }
}

/* ============================================================
   4. ヒーロー
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--bg-main);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(192, 57, 43, 0.07) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(0,0,0,0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(0,0,0,0.025) 60px);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 11px;
  letter-spacing: 3px;
  padding: 6px 20px;
  margin-bottom: 36px;
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
}

.hero-catch {
  font-size: clamp(13px, 2vw, 15px);
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text-main);
}
.hero-title .accent { color: var(--red); }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 2.2vw, 21px);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 52px;
  letter-spacing: 1px;
}

.hero-meta {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.hero-meta-item { text-align: center; }
.hero-meta-num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-meta-label {
  font-size: 11px;
  color: var(--text-hint);
  letter-spacing: 2px;
  margin-top: 6px;
  font-weight: 300;
}

.divider-v {
  width: 1px;
  background: var(--border);
  height: 50px;
  align-self: center;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-hint);
  font-size: 10px;
  letter-spacing: 3px;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border));
  animation: lpScrollAnim 1.5s ease-in-out infinite;
}
@keyframes lpScrollAnim {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================================
   5. 共通ボタン
   ============================================================ */
.cta-btn {
  display: inline-block;
  background: var(--red);
  color: var(--white) !important;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 20px 56px;
  text-decoration: none !important;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}
.cta-btn::after { content: '→'; margin-left: 12px; font-size: 18px; }
.cta-btn:hover { background: var(--red-dark) !important; color: var(--white) !important; }
.cta-btn--block { display: block; text-align: center; }

.cta-btn-light {
  display: inline-block;
  background: var(--white);
  color: var(--red) !important;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 20px 52px;
  text-decoration: none !important;
  transition: opacity 0.2s;
  cursor: pointer;
}
.cta-btn-light::after { content: '→'; margin-left: 12px; font-size: 18px; }
.cta-btn-light:hover { opacity: 0.9; }

/* ============================================================
   6. 共通セクション
   ============================================================ */
.about-section,
.outcomes-section,
.faq-section {
  padding: 100px 24px;
  max-width: 860px;
  margin: 0 auto;
}

.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3.8vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 48px;
}

/* ============================================================
   7. ペイン（悩み）セクション
   ============================================================ */
.pain-section {
  background: var(--bg-section);
  padding: 80px 24px;
}
.pain-inner {
  max-width: 860px;
  margin: 0 auto;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.pain-card {
  background: var(--bg-section);
  padding: 36px 28px;
}
.pain-icon { font-size: 28px; margin-bottom: 16px; }
.pain-text {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}
.pain-text strong { color: var(--text-main); font-weight: 700; }

/* ============================================================
   8. プロフィール
   ============================================================ */
.profile-section {
  border-left: 3px solid var(--red);
  padding-left: 32px;
  margin-top: 60px;
}
.profile-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}
.profile-title {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-hint);
  margin-bottom: 24px;
}
.profile-body {
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
  font-family: var(--serif);
}
.profile-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pstat-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.pstat-label {
  font-size: 11px;
  color: var(--text-hint);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================================
   9. アウトカム
   ============================================================ */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--border);
  margin-top: 48px;
}
.outcome-item {
  background: var(--bg-main);
  padding: 36px 32px;
  position: relative;
}
.outcome-num {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  user-select: none;
}
.outcome-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.outcome-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

/* ============================================================
   10. カリキュラム
   ============================================================ */
.curriculum-section {
  background: var(--bg-section);
  padding: 100px 24px;
}
.curr-inner {
  max-width: 860px;
  margin: 0 auto;
}
.curr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  background: var(--bg-main);
}
.curr-item {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.curr-item:last-child { border-bottom: none; }
.curr-item:hover { background: var(--bg-section); }
.curr-num {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--red);
  min-width: 60px;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.curr-content { padding: 24px 28px; }
.curr-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.curr-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 受講形式ボックス */
.specs-box {
  margin-top: 56px;
  border: 1px solid var(--border);
  padding: 40px;
  background: var(--bg-main);
}
.specs-box h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 28px;
  font-weight: 700;
}
.specs-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.specs-row:last-child { border-bottom: none; }
.specs-key {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-hint);
  min-width: 140px;
  padding-top: 2px;
  flex-shrink: 0;
}
.specs-val {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   11. 料金
   ============================================================ */
.price-section {
  background: var(--bg-main);
  padding: 100px 24px;
}
.price-inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.price-box {
  border: 1px solid var(--border);
  padding: clamp(32px, 6vw, 60px) clamp(20px, 5vw, 40px);
  position: relative;
  margin-top: 48px;
  background: var(--bg-main);
  width: 100%;
}
.price-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.price-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-hint);
  margin-bottom: 20px;
}
.price-original {
  font-size: 16px;
  color: var(--text-hint);
  text-decoration: line-through;
  margin-bottom: 12px;
  font-family: var(--serif);
}
.price-main {
  font-family: var(--serif);
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 8px;
  word-break: break-all;
}
.price-tax {
  font-size: 12px;
  color: var(--text-hint);
  margin-bottom: 28px;
}
.price-discount {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 6px 16px;
  margin-bottom: 36px;
  font-weight: 700;
  max-width: 100%;
  word-break: break-word;
}
.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
  padding: 0;
}
.price-features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-features li::before {
  content: '—';
  color: var(--red);
  font-size: 12px;
  flex-shrink: 0;
}
.price-features li:last-child { border-bottom: none; }
.price-note {
  font-size: 12px;
  color: var(--text-hint);
  text-align: center;
  margin-top: 20px;
  letter-spacing: 1px;
}

/* ============================================================
   12. FAQ
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border); padding: 28px 0; }
.faq-q {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.6;
}
.faq-q::before {
  content: 'Q';
  color: var(--red);
  font-size: 17px;
  min-width: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2;
  padding-left: 32px;
  font-family: var(--serif);
}

/* ============================================================
   13. 最終CTA
   ============================================================ */
.cta-section {
  background: var(--red);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.04) 10px,
    rgba(0,0,0,0.04) 11px
  );
  pointer-events: none;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
}
.cta-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 48px;
  line-height: 2;
  position: relative;
}
.seats-warning {
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  position: relative;
}

/* ============================================================
   14. レスポンシブ補完
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 90px 20px 70px; }
  .hero-meta { gap: 24px; }
  .divider-v { display: none; }

  .about-section,
  .outcomes-section,
  .faq-section { padding: 64px 20px; }

  .pain-section,
  .curriculum-section,
  .price-section,
  .cta-section { padding: 64px 20px; }

  .profile-section { padding-left: 20px; }
  .profile-stats { gap: 20px; }

  .curr-num { min-width: 52px; padding: 20px 10px; }
  .curr-content { padding: 20px 16px; }

  .specs-box { padding: 28px 20px; }
  .specs-key { min-width: 110px; }

  .outcomes-grid { grid-template-columns: 1fr; }

  .cta-btn,
  .cta-btn-light { padding: 18px 32px; font-size: 14px; }

  .price-discount { font-size: 11px; padding: 6px 12px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
  .pain-cards { grid-template-columns: 1fr; }
  .specs-row { flex-direction: column; gap: 4px; }
  .specs-key { min-width: auto; }
  .lp-nav { padding: 14px 16px; }
}
