/* ========================================
   借金800万円・時効7年間LP
   0→1完全再設計版
   明日ローンチ対応
   ======================================== */

/* ========================================
   設計思想
   ========================================
   【配置ルール】
   - 基本: 全て左寄せ
   - 例外: キャンペーンバナー、CTAボタンのみ中央
   
   【レスポンシブ】
   - スマホ: 〜768px
   - タブレット: 768px〜1024px
   - PC: 1024px〜
   ======================================== */

/* ========================================
   CSS変数
   ======================================== */
:root {
    /* 色 */
    --bg-primary: #1a1a1a;
    --bg-section: #2a2a2a;
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --text-accent: #ffd700;
    --accent-blue: #6a8caf;
    --warning-red: #e57373;
    --border-color: #444;
    
    /* CTAボタン（深い緑） */
    --cta-bg: #2d5016;
    --cta-hover: #3d6820;
    
    /* フォント */
    --font-base: 17px;        /* スマホ: 17px（+1px） */
    --font-large: 19px;
    --font-h1: 28px;
    --font-h2: 22px;
    --font-h3: 20px;
    --line-height: 2.0;
    
    /* 余白 */
    --section-gap: 80px;
    --section-padding: 40px 20px;
}

/* タブレット */
@media (min-width: 768px) {
    :root {
        --font-base: 18px;
        --font-large: 20px;
        --font-h1: 32px;
        --font-h2: 24px;
        --font-h3: 21px;
    }
}

/* PC */
@media (min-width: 1024px) {
    :root {
        --font-base: 18px;
        --font-h1: 38px;
        --font-h2: 26px;
        --font-h3: 22px;
        --section-gap: 120px;
        --section-padding: 60px 40px;
    }
}

/* ========================================
   リセット
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    font-size: var(--font-base);
    line-height: var(--line-height);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   コンテナ
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* ========================================
   キャンペーンバナー（中央寄せ）
   ======================================== */
.campaign-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 4px solid var(--cta-bg);
}

.campaign-title {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.campaign-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.6;
    margin-bottom: 30px;
}

.campaign-price-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.price-label {
    font-size: clamp(24px, 6vw, 36px);
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 10px;
}

.price-note {
    font-size: clamp(16px, 4vw, 20px);
    color: #cccccc;
    text-decoration: line-through;
    opacity: 0.8;
    margin-left: 10px;
}

.price-description {
    font-size: clamp(14px, 3.5vw, 18px);
    color: #cccccc;
}

.campaign-limit {
    font-size: clamp(14px, 3.5vw, 18px);
    color: #ff6b6b;
    font-weight: 600;
    margin: 20px 0;
}

.campaign-condition {
    background: rgba(45, 80, 22, 0.2);
    padding: 30px 20px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: left;
    border: 2px solid var(--cta-bg);
}

.campaign-condition h2 {
    font-size: clamp(18px, 4vw, 22px);
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-accent);
}

.campaign-condition h3 {
    font-size: clamp(16px, 3.5vw, 19px);
    margin: 20px 0 15px;
    color: #cccccc;
}

.campaign-condition ol {
    margin-left: 20px;
    line-height: 1.8;
}

.campaign-condition li {
    margin-bottom: 15px;
}

.campaign-condition .note {
    font-size: 14px;
    color: #aaa;
    display: block;
    margin-top: 5px;
}

.condition-note {
    font-size: 14px;
    color: #cccccc;
    margin-top: 20px;
    text-align: center;
}

/* ========================================
   CTAボタン（中央配置・統一デザイン）
   ======================================== */
.cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    background-color: var(--cta-bg);
    color: #ffffff;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 700;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.cta-button:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 80, 22, 0.5);
}

@media (max-width: 768px) {
    .cta-button {
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   ブログナビ
   ======================================== */
.blog-nav {
    background: #2a2a2a;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--text-accent);
}

/* ========================================
   セクション共通（全て左寄せ）
   ======================================== */
section {
    padding: var(--section-padding);
    margin-bottom: var(--section-gap);
    text-align: left;
}

section p,
section h2:not(.section-title-center),
section h3,
section ul,
section ol,
section div:not(.cta-button) {
    text-align: left;
}

/* 背景付きセクション */
.first-view,
.section-highlight,
.testimonial-section,
#apply-section,
.faq-section,
.final-message {
    background: var(--bg-section);
    padding: 50px 20px;
    border-radius: 10px;
}

@media (min-width: 1024px) {
    .first-view,
    .section-highlight,
    .testimonial-section,
    #apply-section,
    .faq-section,
    .final-message {
        padding: 60px 40px;
    }
}

/* ========================================
   見出し（全て左寄せ + アンカー線）
   ======================================== */
.main-title {
    font-size: var(--font-h1);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    border-left: 6px solid var(--accent-blue);
    padding-left: 20px;
    text-align: left;
}

.section-title {
    font-size: var(--font-h2);
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.5;
    border-left: 4px solid var(--accent-blue);
    padding-left: 20px;
}

.section-title-center {
    font-size: var(--font-h2);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.5;
    position: relative;
    padding-bottom: 20px;
}

.section-title-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    margin: 15px auto 0;
}

.subsection-title {
    font-size: var(--font-h3);
    font-weight: 600;
    margin: 25px 0 15px;
    color: var(--accent-blue);
}

/* ========================================
   テキストスタイル
   ======================================== */
p {
    margin-bottom: 20px;
    line-height: var(--line-height);
}

.text-large {
    font-size: var(--font-large);
    font-weight: 600;
}

.text-accent {
    color: var(--text-accent);
}

.note {
    font-size: 14px;
    color: var(--text-secondary);
}

.calculation {
    font-family: 'Courier New', monospace;
    font-size: var(--font-large);
    font-weight: 600;
    color: var(--text-accent);
    padding: 10px 0;
}

/* ========================================
   divider
   ======================================== */
.divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-blue), transparent);
    margin: 80px 0;
    opacity: 0.5;
}

.divider-small {
    height: 1px;
    background: var(--border-color);
    opacity: 0.4;
    margin: 40px 0;
}

/* ========================================
   免責事項
   ======================================== */
.warning-box {
    background: rgba(229, 115, 115, 0.1);
    padding: 30px 20px;
    border-left: 4px solid var(--warning-red);
    border-radius: 5px;
}

.warning-box h3 {
    font-size: var(--font-h3);
    color: var(--warning-red);
    margin-bottom: 15px;
}

.warning-box ul {
    list-style: none;
    margin: 15px 0;
    padding-left: 20px;
}

.warning-box li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.warning-box li::before {
    content: "•";
    color: var(--warning-red);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ========================================
   ハイライトボックス
   ======================================== */
.highlight-box {
    background: var(--bg-section);
    padding: 25px 20px;
    border-left: 4px solid var(--accent-blue);
    border-radius: 5px;
    margin: 25px 0;
}

.highlight-box p {
    margin-bottom: 10px;
}

/* ========================================
   顔写真
   ======================================== */
.profile-photo-wrapper {
    text-align: center;
    margin: 40px 0;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .profile-photo {
        width: 150px;
        height: 150px;
    }
}

/* ========================================
   知人の声
   ======================================== */
.testimonial-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    font-size: var(--font-large);
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-box p {
    line-height: 1.9;
    margin-bottom: 15px;
}

/* ========================================
   ベネフィット
   ======================================== */
.benefit-item {
    margin-bottom: 30px;
}

.benefit-number {
    font-size: var(--font-h3);
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

/* ========================================
   価格提示
   ======================================== */
.price-details {
    background: var(--bg-section);
    padding: 25px 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.price-details p {
    margin-bottom: 10px;
}

/* ========================================
   申し込みセクション
   ======================================== */
.flow-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 30px;
}

.flow-list li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.apply-condition-box {
    background: rgba(45, 80, 22, 0.2);
    padding: 30px 20px;
    border-radius: 10px;
    border: 2px solid var(--cta-bg);
    margin: 30px 0;
}

.apply-condition-box h3 {
    font-size: var(--font-h3);
    color: var(--text-accent);
    margin-bottom: 15px;
    text-align: center;
}

.apply-condition-box ul {
    list-style: none;
    margin-left: 10px;
}

.apply-condition-box li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.apply-condition-box li::before {
    content: "✓";
    color: var(--cta-bg);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ========================================
   FAQ
   ======================================== */
.faq-item {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: var(--font-h3);
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-answer {
    line-height: 1.9;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ol {
    margin-left: 20px;
    margin-top: 15px;
}

.faq-answer ul {
    list-style: none;
    margin-left: 30px;
    margin-top: 10px;
}

.faq-answer li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.faq-answer li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* ========================================
   最後の言葉（中央寄せ）
   ======================================== */
.final-message {
    text-align: center;
}

.contact-info {
    font-size: var(--font-base);
    color: var(--text-secondary);
    margin-top: 30px;
}

/* ========================================
   フッター
   ======================================== */
footer {
    background: #0f0f0f;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--text-accent);
}

.footer-links {
    margin: 20px 0;
    font-size: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* ========================================
   レスポンシブ調整
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 30px 15px;
        margin-bottom: 60px;
    }
    
    .campaign-banner {
        padding: 30px 15px;
    }
    
    .first-view,
    .section-highlight,
    .testimonial-section,
    #apply-section,
    .faq-section,
    .final-message {
        padding: 40px 15px;
    }
    
    .testimonial-box,
    .apply-condition-box {
        padding: 20px 15px;
    }
    
    .divider {
        margin: 60px 0;
    }
}

/* ========================================
   Stripe優先ボタンのスタイル
   ======================================== */
.button-primary-stripe {
  display: block;
  width: 90%;
  max-width: 400px; /* 最大幅 */
  margin: 20px auto;
  padding: 15px 20px;
  
  background-color: #E60012; /* 既存LPの赤色を踏襲 */
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  
  /* 影（既存LPのスタイルを踏襲） */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  
  /* ホバー（マウスが乗った時） */
  transition: background-color 0.3s;
}

.button-primary-stripe:hover {
  background-color: #c00010; /* 少し暗い赤 */
}
