/* 記事ページ専用スタイル */

/* ===============================
   記事ページ全体のレイアウト
   =============================== */
.article-page {
    background: #f9fafb;
    padding: 0;
}

.article-container {
    max-width: 100%;
    margin: 0;
}

/* ===============================
   ヘッダー
   =============================== */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-logo a {
    color: white;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.header-nav a:hover {
    opacity: 0.8;
}

/* ===============================
   メインコンテンツ
   =============================== */
.article-main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===============================
   記事タイトル・メタ情報
   =============================== */
.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 16px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===============================
   導入文
   =============================== */
.article-intro {
    background: #f3f4f6;
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    margin-bottom: 32px;
    border-radius: 8px;
}

.article-intro p {
    margin-bottom: 12px;
}

.article-intro p:last-child {
    margin-bottom: 0;
}

/* ===============================
   目次
   =============================== */
.toc {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

.toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
}

.toc-list li {
    counter-increment: toc-counter;
    margin-bottom: 8px;
}

.toc-list li::before {
    content: counter(toc-counter) ". ";
    font-weight: 600;
    color: var(--primary-color);
}

.toc-list a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.toc-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===============================
   セクション
   =============================== */
.article-section {
    margin-bottom: 48px;
}

.article-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color);
}

.article-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.article-section p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-section ul,
.article-section ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-section li {
    margin-bottom: 8px;
    line-height: 1.8;
}

/* ===============================
   テーブル
   =============================== */
.comparison-table,
.price-table,
.site-comparison-table,
.purpose-table,
.method-table,
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-table thead,
.price-table thead,
.site-comparison-table thead,
.purpose-table thead,
.method-table thead,
.summary-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.comparison-table th,
.price-table th,
.site-comparison-table th,
.purpose-table th,
.method-table th,
.summary-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td,
.price-table td,
.site-comparison-table td,
.purpose-table td,
.method-table td,
.summary-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover,
.price-table tbody tr:hover,
.site-comparison-table tbody tr:hover,
.purpose-table tbody tr:hover,
.method-table tbody tr:hover,
.summary-table tbody tr:hover {
    background: #f9fafb;
}

/* ===============================
   ボックス系
   =============================== */
.box-info,
.box-example,
.box-solution {
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}

.box-info {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
}

.box-example {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.box-solution {
    background: #d1fae5;
    border-left: 4px solid #10b981;
}

.box-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.box-info ul,
.box-example ul,
.box-solution ul {
    margin-bottom: 0;
}

.box-info ol,
.box-example ol,
.box-solution ol {
    margin-bottom: 0;
}

.flow-box {
    background: #f3f4f6;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

.flow-list {
    list-style: none;
    counter-reset: flow-counter;
    padding-left: 0;
}

.flow-list li {
    counter-increment: flow-counter;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.flow-list li::before {
    content: counter(flow-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.flow-note {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===============================
   診断ツールCTA
   =============================== */
.diagnostic-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 32px;
    margin: 48px 0;
    text-align: center;
    color: white;
}

.diagnostic-cta h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.diagnostic-cta p {
    color: white;
    margin-bottom: 24px;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.cta-time {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-desc {
    margin-bottom: 24px;
}

.btn-diagnostic {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-diagnostic:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===============================
   サイトカード
   =============================== */
.site-card {
    background: #f9fafb;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
}

.site-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.site-card-recommend {
    margin-bottom: 24px;
}

.recommend-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.site-card-features {
    margin-bottom: 24px;
}

.features-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.site-card-cta {
    text-align: center;
    margin-top: 24px;
}

.btn-site {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-site:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* ===============================
   サイトリンク（まとめ用）
   =============================== */
.site-links {
    margin: 32px 0;
}

.site-link-item {
    text-align: center;
    margin-bottom: 16px;
}

.btn-site-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    padding: 18px 56px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    min-width: 300px;
}

.btn-site-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* ===============================
   ハイライトテキスト
   =============================== */
.highlight-text {
    background: linear-gradient(transparent 60%, #fef3c7 60%);
    padding: 4px 0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===============================
   チェックリスト
   =============================== */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.check-list.negative li::before {
    content: "❌";
}

/* ===============================
   Q&A
   =============================== */
.qa-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.qa-item:last-child {
    border-bottom: none;
}

.qa-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.qa-answer {
    padding-left: 24px;
}

.qa-answer p {
    margin-bottom: 12px;
}

.qa-answer p:last-child {
    margin-bottom: 0;
}

/* ===============================
   フッター
   =============================== */
.article-footer {
    background: #1f2937;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* ===============================
   パンくずリスト
   =============================== */
.breadcrumb {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-weight: 500;
}

.breadcrumb li::after {
    content: ">";
    margin: 0 8px;
    color: #999;
}

.breadcrumb li:last-child::after {
    content: "";
}

/* ===============================
   レスポンシブ対応
   =============================== */
@media (max-width: 768px) {
    .article-content {
        padding: 24px 20px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-section h2 {
        font-size: 1.4rem;
    }

    .article-section h3 {
        font-size: 1.2rem;
    }

    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .header-nav {
        gap: 16px;
    }

    .site-comparison-table {
        font-size: 0.85rem;
    }

    .site-comparison-table th,
    .site-comparison-table td {
        padding: 8px 6px;
    }

    .btn-site-large {
        min-width: 100%;
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}




