/* =============================================
   やること整理パートナー LP専用スタイル
   ファイル: lp-style.css
   配置先: wp-content/themes/swell_child/lp-style.css
   ============================================= */

/* --- CSS Variables --- */
:root {
  --bg: #f3f2ee;
  --white: #ffffff;
  --text: #1e2a2e;
  --text-sub: #4a5558;
  --text-light: #7e8a8d;
  --text-caption: #95a0a2;
  --accent: #2a5a6a;
  --accent-deep: #1a3a4a;
  --accent-pale: #e4edf0;
  --sage: #5c9a80;
  --sage-light: #7aad96;
  --sage-pale: #e9f3ee;
  --sage-bg: #f3f9f6;
  --gold: #b8973f;
  --gold-pale: #f5f0e2;
  --terracotta: #c47a5a;
  --dark: #1a3a4a;
  --border: #d8d5ce;
  --border-light: #e8e5de;
}

  html { scroll-behavior: smooth; background-color: var(--bg); }

  /* SWELLのコンテンツコンテナ余白をLPでは無効化 */
  body.page-template-page-top-page #content.l-content,
  body.page-template-page-top-page .l-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
  }


  /* ===== Fade-in ===== */
  .fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  /* ===== Section base ===== */
  .section { padding: 80px 28px; max-width: 800px; margin: 0 auto; }
  .section-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
    color: var(--gold); margin-bottom: 20px;
    text-align: center;
  }

  /* ===========================================
     SECTION 01: First View
  =========================================== */
  .fv {
    padding: 60px 28px 0;
    max-width: 800px; margin: 0 auto;
    text-align: center;
  }
  .fv-question-main {
    font-size: 17px; font-weight: 500;
    color: var(--text); line-height: 1.8;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
  }
  .fv-question-sub {
    font-size: 13px; font-weight: 400;
    color: var(--text-light); line-height: 1.8;
    margin-bottom: 32px;
    letter-spacing: 0.03em;
  }
  .fv-catch {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px; font-weight: 600;
    line-height: 1.7; color: var(--text);
    margin-bottom: 36px;
    letter-spacing: 0.02em;
  }
  .fv-sub {
    font-size: 15px; font-weight: 400; line-height: 2.1;
    color: var(--text-sub);
    margin-bottom: 36px;
  }
  .fv-cta-btn {
    display: inline-block; padding: 16px 44px;
    background: var(--sage); color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px; font-weight: 700;
    letter-spacing: 0.04em;
    border: none; cursor: pointer;
    transition: all 0.25s;
  }
  .fv-cta-btn:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(92,154,128,0.25); }
  .fv-note { font-size: 12px; color: var(--text-light); margin-top: 14px; letter-spacing: 0.03em; }

  /* FV Photo */
  .fv-photo-wrap {
    margin-top: 56px;
    margin-bottom: 80px;
    width: 100%;
    max-width: 960px;
    margin-left: auto; margin-right: auto;
  }
  .fv-photo {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
  }

  .fv-line {
    width: 40px; height: 2px; background: var(--gold);
    margin: 48px auto 0;
  }

  /* ===========================================
     SECTION 02: Pain Points
  =========================================== */
  .pain { background-color: var(--white); }
  .pain-inner { max-width: 720px; margin: 0 auto; padding: 80px 28px; }
  .pain-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 600;
    line-height: 1.8; color: var(--text);
    text-align: center;
    margin-bottom: 40px;
  }
  .pain-list { list-style: none; }
  .pain-item {
    padding: 20px 0 20px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px; line-height: 2;
    color: var(--text);
    position: relative;
  }
  .pain-item:last-child { border-bottom: none; }
  .pain-item::before {
    content: '';
    position: absolute; left: 0; top: 28px;
    width: 8px; height: 8px;
    background: var(--gold); border-radius: 50%;
  }

  /* ===========================================
     SECTION 03: Service
  =========================================== */
  .service-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 600;
    line-height: 1.8; color: var(--text);
    text-align: center;
    margin-bottom: 48px;
  }
  .pillar-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
  .pillar {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .pillar:last-child { border-bottom: none; }
  .pillar-num {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 8px;
  }
  .pillar-title {
    font-size: 20px; font-weight: 700; color: var(--text);
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .pillar-desc {
    font-size: 16px; line-height: 2.1; color: var(--text-sub);
  }

  /* Service Photo Placeholder */
  .service-photo-wrap {
    margin-top: 48px;
  }
  .photo-placeholder {
    background: #c8c8c8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
    position: relative;
    overflow: hidden;
  }
  .photo-placeholder::before {
    content: '';
    position: absolute; inset: 0;
    border: 2px dashed #999;
    pointer-events: none;
  }
  .photo-placeholder .ph-inner { padding: 20px; max-width: 280px; }
  .photo-placeholder .ph-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
    color: #777; margin-bottom: 6px; text-transform: uppercase;
  }
  .photo-placeholder .ph-desc { font-size: 12px; color: #555; line-height: 1.8; }

  /* ===========================================
     SECTION 04: Comparison
  =========================================== */
  .compare { background-color: var(--white); }
  .compare-inner { max-width: 800px; margin: 0 auto; padding: 80px 28px; }
  .compare-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 600;
    line-height: 1.6; color: var(--text);
    text-align: center;
    margin-bottom: 40px;
  }
  .compare-table-wrap { overflow-x: auto; }
  .compare-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
    min-width: 560px;
  }
  .compare-table th {
    padding: 12px 10px; text-align: center;
    font-weight: 700; font-size: 11px; letter-spacing: 0.04em;
    color: var(--text-light);
    border-bottom: 2px solid var(--border);
  }
  .compare-table th:first-child { text-align: left; }
  .compare-table th.hl {
    color: var(--accent-deep);
    border-bottom-color: var(--accent-deep);
  }
  .compare-table td {
    padding: 12px 10px; text-align: center;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-sub);
  }
  .compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text); }
  .compare-table td.hl { color: var(--accent-deep); font-weight: 700; }
  .compare-note {
    margin-top: 32px;
    font-size: 16px; line-height: 2.1; color: var(--text-sub);
    text-align: center;
  }
  .compare-note strong { color: var(--text); }

  /* ===========================================
     SECTION 05: For You
  =========================================== */
  .foryou-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 600;
    line-height: 1.6; color: var(--text);
    text-align: center;
    margin-bottom: 40px;
  }
  .foryou-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .foryou-col h4 {
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
    margin-bottom: 16px; padding-bottom: 8px;
  }
  .foryou-col.yes h4 { color: var(--accent-deep); border-bottom: 2px solid var(--accent-deep); }
  .foryou-col.no h4 { color: var(--text-light); border-bottom: 2px solid var(--border); }
  .foryou-list { list-style: none; }
  .foryou-list li {
    font-size: 16px; line-height: 2;
    padding: 4px 0 4px 22px;
    position: relative;
    color: var(--text);
  }
  .foryou-col.yes .foryou-list li::before {
    content: '✓'; position: absolute; left: 0; top: 4px;
    color: var(--accent-deep); font-weight: 700; font-size: 14px;
  }
  .foryou-col.no .foryou-list li::before {
    content: '✗'; position: absolute; left: 0; top: 4px;
    color: var(--text-light); font-weight: 700; font-size: 14px;
  }
  .foryou-col.no .foryou-list li { color: var(--text-sub); }
  .foryou-note {
    font-size: 12px; color: var(--text-light); margin-top: 4px;
    padding-left: 22px;
  }

  /* ===========================================
     SECTION 06: Voice
  =========================================== */
  .voice { background-color: var(--white); }
  .voice-inner { max-width: 720px; margin: 0 auto; padding: 80px 28px; }
  .voice-heading {
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--accent-deep);
    text-align: center; margin-bottom: 40px;
  }
  .voice-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .voice-item:last-child { border-bottom: none; }
  .voice-quote {
    font-size: 16px; line-height: 2.1; color: var(--text);
    padding-left: 20px;
    border-left: 3px solid var(--accent);
    margin-bottom: 12px;
  }
  .voice-source {
    font-size: 13px; font-weight: 700; color: var(--text-light);
    display: flex; align-items: center; gap: 12px;
    padding-left: 20px;
  }
  /* アバター円形コンテナ */
  .voice-avatar {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-pale);
    overflow: hidden;
  }
  /* 実写真（メイン表示） */
  .voice-avatar-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  /* イニシャル（フォールバック：画像が表示できない時のみ） */
  .voice-initial {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-deep);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    display: block;
  }
  .voice-more {
    display: block; text-align: center; margin-top: 32px;
    font-size: 13px; color: var(--accent-deep); font-weight: 500;
    text-decoration: underline; text-underline-offset: 3px;
  }

  /* ===========================================
     SECTION 07: Profile
  =========================================== */
  .profile-inner { max-width: 640px; margin: 0 auto; }
  .profile-top {
    display: flex; gap: 40px; align-items: flex-start;
    margin-bottom: 32px;
  }
  .profile-photo-col { flex-shrink: 0; }
  .profile-photo-col .photo-placeholder {
    width: 200px; height: 260px;
  }
  .profile-info-col { flex: 1; }
  .profile-role {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    color: var(--gold); margin-bottom: 8px;
  }
  .profile-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 600; color: var(--text);
    margin-bottom: 6px;
  }
  .profile-oneliner {
    font-size: 14px; color: var(--text-sub); margin-bottom: 24px;
  }
  .profile-stats { display: flex; gap: 24px; }
  .stat-item { text-align: center; }
  .stat-num {
    font-size: 28px; font-weight: 700; color: var(--accent-deep);
    line-height: 1.2;
  }
  .stat-unit { font-size: 12px; font-weight: 700; color: var(--accent-deep); }
  .stat-label { font-size: 11px; color: var(--text-light); margin-top: 2px; }
  .profile-text {
    font-size: 16px; line-height: 2.2; color: var(--text-sub);
    margin-bottom: 32px;
  }
  .profile-values {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
  }
  .pv-item {
    padding: 16px;
    border: 1px solid var(--border);
    background: var(--white);
  }
  .pv-num { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 4px; }
  .pv-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
  .pv-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
  .profile-more {
    display: block; text-align: center; margin-top: 28px;
    font-size: 13px; color: var(--accent-deep); font-weight: 500;
    text-decoration: underline; text-underline-offset: 3px;
  }

  /* ===========================================
     SECTION 08: Flow
  =========================================== */
  .flow { background-color: var(--white); }
  .flow-inner { max-width: 640px; margin: 0 auto; padding: 80px 28px; }
  .flow-heading {
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--accent-deep);
    text-align: center; margin-bottom: 40px;
  }
  .flow-step {
    display: flex; gap: 20px; padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .flow-step:last-child { border-bottom: none; }
  .flow-num {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: var(--accent-deep); color: var(--white);
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .flow-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
  .flow-desc { font-size: 13px; color: var(--text-sub); line-height: 1.9; }

  /* ===========================================
     SECTION 09: Price
  =========================================== */
  .price-inner { max-width: 640px; margin: 0 auto; text-align: center; }
  .price-heading {
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--accent-deep);
    margin-bottom: 32px;
  }
  .price-card {
    background: var(--white);
    border: 2px solid var(--accent-deep);
    padding: 32px;
    margin-bottom: 20px;
  }
  .price-amount { font-size: 16px; color: var(--text-sub); margin-bottom: 4px; }
  .price-amount strong {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px; font-weight: 700; color: var(--accent-deep);
  }
  .price-note-text {
    font-size: 13px; color: var(--text-sub); line-height: 2;
    margin-top: 16px;
  }
  .price-sub {
    font-size: 13px; color: var(--text-light); line-height: 2;
    margin-top: 20px;
  }

  /* ===========================================
     SECTION 10: FAQ
  =========================================== */
  .faq { background-color: var(--white); }
  .faq-inner { max-width: 680px; margin: 0 auto; padding: 80px 28px; }
  .faq-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 600;
    color: var(--text);
    text-align: center; margin-bottom: 40px;
    line-height: 1.7;
  }
  .faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .faq-item:last-child { border-bottom: none; }
  .faq-q {
    font-size: 16px; font-weight: 700; color: var(--text);
    margin-bottom: 8px;
    display: flex; align-items: flex-start; gap: 10px;
  }
  .faq-q-label {
    flex-shrink: 0; width: 24px; height: 24px;
    background: var(--dark); color: var(--white);
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .faq-a {
    font-size: 16px; line-height: 2; color: var(--text-sub);
    padding-left: 34px;
  }

  /* ===========================================
     SECTION 11: Final CTA
  =========================================== */
  .final-cta {
    background-color: #1a3a4a;
    padding: 80px 28px;
    text-align: center;
  }
  .final-cta-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--gold); margin-bottom: 16px;
  }
  .final-cta-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 600;
    color: var(--white); line-height: 1.7;
    margin-bottom: 8px;
  }
  .final-cta-sub {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px; font-weight: 400;
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
  }
  .final-cta-desc {
    font-size: 16px; color: rgba(255,255,255,0.7);
    line-height: 2; margin-bottom: 32px;
    max-width: 520px; margin-left: auto; margin-right: auto;
  }
  .final-cta-btn {
    display: inline-block; padding: 16px 48px;
    background: #4a9a6a; color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px; font-weight: 700;
    letter-spacing: 0.04em;
    border: none; cursor: pointer;
    transition: all 0.25s;
  }
  .final-cta-btn:hover { background: #3d8059; transform: translateY(-1px); }
  .final-cta-note {
    font-size: 13px; color: rgba(255,255,255,0.45);
    margin-top: 14px; line-height: 1.8;
  }


  /* ===== Mid CTA ===== */
  .mid-cta {
    text-align: center;
    padding: 40px 28px;
    max-width: 800px; margin: 0 auto;
  }
  .mid-cta-btn {
    display: inline-block; padding: 14px 36px;
    background: #4a9a6a; color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px; font-weight: 700;
    letter-spacing: 0.04em;
    border: none; cursor: pointer;
    transition: opacity 0.2s;
  }
  .mid-cta-btn:hover { opacity: 0.85; }
  .mid-cta-note { font-size: 13px; color: var(--text-light); margin-top: 8px; }

  /* ===== Responsive ===== */
  @media (max-width: 768px) {
    .fv { padding: 40px 20px 0; }
    .fv-catch { font-size: 24px; }
    .fv-photo { height: 220px; }
    .section, .pain-inner, .compare-inner, .voice-inner, .flow-inner, .faq-inner { padding-left: 20px; padding-right: 20px; }
    .foryou-grid { grid-template-columns: 1fr; gap: 24px; }
    .profile-top { flex-direction: column; align-items: center; text-align: center; }
    .profile-photo-col .photo-placeholder { width: 160px; height: 210px; }
    .profile-info-col { text-align: center; }
    .profile-stats { justify-content: center; gap: 20px; }
    .stat-num { font-size: 24px; }
    .profile-values { grid-template-columns: 1fr; }
    .compare-heading, .pain-heading, .service-heading, .foryou-heading { font-size: 24px; }
    .final-cta-heading { font-size: 24px; }
  }

/* SWELLテンプレート用: メインコンテンツ幅の上書き */
.page-template-top-page-v2 .l-mainContent { max-width: 100%; padding: 0; }
.page-template-top-page-v2 .l-mainContent__inner { max-width: 100%; padding: 0; }
.page-template-top-page-v2 .post_content { max-width: 100%; padding: 0; margin: 0; }

/* final-cta下余白ゼロ：#content を直接ターゲット */
body.page-template-top-page-v2 #content,
body.page-template-top-page-v2 .l-content,
body.page-template-top-page-v2 .l-container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body.page-template-top-page-v2 .lp-wrap,
body.page-template-top-page-v2 .post_content,
body.page-template-top-page-v2 .p-article,
body.page-template-top-page-v2 .p-article__body {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body.page-template-top-page-v2 .final-cta {
  margin-bottom: 0 !important;
}

/* SWELLヘッダー: カスタマイザーの設定を優先させる */
