/* ===================================
   EXNESS SEO記事LP - スタイルシート
   モバイルファースト設計
   =================================== */

/* --- リセット & 基本設定 --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

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

/* --- 共通セクション --- */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: #f8f9fa;
}

.section-intro {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.9;
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #2563eb;
    color: #fff;
    border: 2px solid #2563eb;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #1e3a5f;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* --- ヘッダー/ファーストビュー --- */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* --- 見出し --- */
h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #2563eb;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 8px;
    margin-top: 20px;
}

/* --- セクション2：結論ボックス --- */
.comparison-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.fit-box, .unfit-box {
    padding: 24px;
    border-radius: 12px;
}

.fit-box {
    background-color: #e8f4fd;
    border-left: 4px solid #2563eb;
}

.unfit-box {
    background-color: #fef3e8;
    border-left: 4px solid #f59e0b;
}

.fit-box h3, .unfit-box h3 {
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.fit-box ul, .unfit-box ul {
    list-style: none;
    padding: 0;
}

.fit-box li, .unfit-box li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.fit-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.unfit-box li::before {
    content: "△";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* --- セクション3：不安整理ブロック --- */
.concern-block {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.concern-block h3 {
    color: #1e3a5f;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 16px;
}

.concern-content p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #444;
}

.concern-content h4:first-of-type {
    margin-top: 0;
}

/* --- セクション4：理由リスト --- */
.reason-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.reason-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #2563eb;
}

.reason-item h3 {
    color: #1e3a5f;
    margin-bottom: 12px;
}

.reason-item p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
}

.reason-note {
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    margin-bottom: 0 !important;
}

.caution-box {
    background: #fef3e8;
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid #f59e0b;
}

.caution-box h3 {
    color: #b45309;
    margin-bottom: 12px;
}

.caution-box ul {
    list-style: disc;
    padding-left: 20px;
    margin: 12px 0;
}

.caution-box li {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* --- セクション5：選び方 --- */
.choice-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.choice-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.choice-item h3 {
    font-size: 1.05rem;
    color: #1e3a5f;
    margin-bottom: 12px;
}

.choice-item p {
    font-size: 0.95rem;
    color: #444;
}

.summary-note {
    font-size: 0.95rem;
    color: #555;
    background: #e8f4fd;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

/* --- セクション6：ステップ --- */
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: #555;
}

.cta-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
}

.cta-box p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cta-box .btn-primary {
    background-color: #fff;
    color: #1e3a5f;
    border-color: #fff;
}

.cta-box .btn-primary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* --- セクション7：FAQ --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 40px;
    color: #1e3a5f;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #2563eb;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.9;
}

.faq-answer p {
    margin-bottom: 0;
}

/* --- セクション8：まとめ --- */
.summary-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.summary-content p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 16px;
}

.summary-points {
    background: #f8f9fa;
    padding: 20px 20px 20px 36px;
    border-radius: 8px;
    margin: 20px 0;
}

.summary-points li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #333;
}

.summary-points li:last-child {
    margin-bottom: 0;
}

.final-cta {
    text-align: center;
}

/* --- セクション9：免責事項 --- */
.disclaimer {
    background-color: #f1f5f9;
    padding: 40px 0;
}

.disclaimer h2 {
    font-size: 1.1rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

.disclaimer-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.disclaimer-content ul {
    list-style: none;
}

.disclaimer-content li {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.disclaimer-content li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.disclaimer-content strong {
    color: #444;
}

/* --- フッター --- */
.footer {
    background-color: #1e3a5f;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-note {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ===================================
   タブレット以上 (768px~)
   =================================== */
@media (min-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .section {
        padding: 80px 0;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .comparison-box {
        flex-direction: row;
    }

    .fit-box, .unfit-box {
        flex: 1;
    }

    .concern-block {
        padding: 32px;
    }

    .reason-item,
    .choice-item,
    .step {
        padding: 28px;
    }

    .cta-box {
        padding: 40px 32px;
    }

    .summary-content {
        padding: 32px;
    }
}

/* ===================================
   デスクトップ (1024px~)
   =================================== */
@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-intro {
        font-size: 1.05rem;
    }

    .concern-content p,
    .reason-item p,
    .choice-item p {
        font-size: 1rem;
    }

    .faq-item summary {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}

/* ===================================
   アクセシビリティ対応
   =================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .btn,
    .faq-item summary::after {
        transition: none;
    }
}

/* フォーカス表示 */
a:focus,
button:focus,
summary:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* 印刷用スタイル */
@media print {
    .hero {
        background: #1e3a5f;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .btn {
        border: 1px solid #333;
    }

    .section-alt {
        background-color: #f5f5f5;
    }
}
