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

/* 記事ヘッダー */
.blog-article-header {
    padding: 150px 20px 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%);
}

.blog-article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.blog-article-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    margin-bottom: 20px;
}

.blog-article-lead {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 800px;
}

/* 記事本文 */
.blog-article-content {
    padding: 60px 0;
    background: #fff;
}

.blog-article-body {
    max-width: 800px;
    margin: 0 auto;
}

.blog-section {
    margin-bottom: 50px;
}

.blog-section:last-child {
    margin-bottom: 0;
}

.blog-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a6fa5;
}

.blog-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 25px 0 15px;
}

.blog-section p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 20px;
}

.blog-section ul {
    margin-bottom: 20px;
}

.blog-section li {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.blog-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #4a6fa5;
    border-radius: 50%;
}

/* ポイントボックス */
.blog-point-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 25px 0;
    border-left: 4px solid #4a6fa5;
}

.blog-point-box.warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.blog-point-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 15px 0;
}

.blog-point-box ul {
    margin: 0;
}

.blog-point-box li {
    margin-bottom: 8px;
}

.blog-point-box li:last-child {
    margin-bottom: 0;
}

/* ハイライトボックス */
.blog-highlight {
    background: linear-gradient(135deg, #4a6fa5 0%, #3d5a80 100%);
    color: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 25px 0;
}

.blog-highlight p {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-highlight ul {
    margin: 0;
}

.blog-highlight li {
    color: #e2e8f0;
    padding-left: 25px;
}

.blog-highlight li::before {
    background: #fff;
}

/* フロー図 */
.blog-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.flow-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    min-width: 180px;
    flex: 1;
    max-width: 220px;
}

.flow-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #4a6fa5;
    color: #fff;
    border-radius: 50%;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.flow-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #4a6fa5;
    font-weight: 700;
}

/* ティップス */
.blog-tips {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.tip-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tip-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.tip-item p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.tip-item ul {
    margin: 10px 0 0;
}

/* 単一ティップ */
.blog-tip-single {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f0f9ff;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.blog-tip-single p {
    font-size: 0.95rem;
    color: #1e293b;
    margin: 0;
}

/* 警告ボックス */
.blog-warning {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fef3c7;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #f59e0b;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.blog-warning p {
    font-size: 0.95rem;
    color: #92400e;
    margin: 0;
}

/* 例示 */
.blog-example {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 25px 0;
}

.example-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 5px !important;
}

.example-good {
    background: #dcfce7;
    color: #166534;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: monospace;
    margin-bottom: 15px !important;
}

.example-bad {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: monospace;
    margin-bottom: 15px !important;
}

/* 統計 */
.blog-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #4a6fa5 0%, #3d5a80 100%);
    border-radius: 12px;
    color: #fff;
    min-width: 180px;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item .stat-desc {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ツール紹介 */
.blog-tools {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.tool-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #4a6fa5;
}

.tool-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a6fa5;
    margin-bottom: 10px;
}

.tool-item p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* 比較 */
.blog-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.comparison-item {
    border-radius: 12px;
    padding: 25px;
}

.comparison-item.good {
    background: #f0fdf4;
    border: 2px solid #22c55e;
}

.comparison-item.bad {
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.comparison-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.comparison-item.good h4 {
    color: #166534;
}

.comparison-item.bad h4 {
    color: #991b1b;
}

.comparison-item ul {
    margin: 0;
}

.comparison-item li {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.comparison-item.good li::before {
    background: #22c55e;
}

.comparison-item.bad li::before {
    background: #ef4444;
}

/* 連絡オプション */
.blog-contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.contact-option {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.contact-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.contact-option p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* まとめボックス */
.blog-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    border: 2px solid #4a6fa5;
}

.blog-summary ul {
    margin: 0;
}

.blog-summary li {
    font-weight: 500;
    color: #1e293b;
}

.blog-summary li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    background: none;
    color: #4a6fa5;
    font-weight: 700;
    width: auto;
    height: auto;
}

/* 記事フッター */
.blog-article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .blog-article-header {
        padding: 120px 20px 40px;
    }

    .blog-article-title {
        font-size: 1.6rem;
    }

    .blog-article-lead {
        font-size: 1rem;
    }

    .blog-section h2 {
        font-size: 1.3rem;
    }

    .blog-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .flow-item {
        max-width: 100%;
    }

    .blog-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
    }

    .blog-comparison {
        grid-template-columns: 1fr;
    }

    .blog-contact-options {
        grid-template-columns: 1fr;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }
}
