/* 記事ページ専用CSS */

/* パンくずリスト */
.breadcrumb {
    background-color: #f0f0f0;
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #1a3a5c;
    text-decoration: none;
}

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

.breadcrumb span {
    color: #666;
}

/* 記事コンテナ */
.article-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* メイン記事エリア */
.article-main {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-title {
    font-size: 2rem;
    color: #1a3a5c;
    margin-bottom: 30px;
    line-height: 1.4;
    border-left: 5px solid #ff6b35;
    padding-left: 20px;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #1a3a5c;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content strong {
    color: #1a3a5c;
    font-weight: bold;
}

.article-content ul {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}

.article-content th,
.article-content td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.article-content th {
    background-color: #1a3a5c;
    color: white;
    font-weight: bold;
}

.article-content tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 記事内CTA */
.article-cta {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
}

.article-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.article-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.article-cta .cta-button {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.article-cta .cta-button:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

/* サイドバー */
.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-cta {
    background-color: #ff6b35;
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

.cta-button-small {
    display: inline-block;
    background-color: white;
    color: #ff6b35;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button-small:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.related-articles {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-articles h3 {
    font-size: 1.2rem;
    color: #1a3a5c;
    margin-bottom: 20px;
    border-left: 4px solid #ff6b35;
    padding-left: 15px;
}

.related-articles ul {
    list-style: none;
}

.related-articles li {
    margin-bottom: 15px;
}

.related-articles a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-articles a:hover {
    color: #ff6b35;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .article-main {
        padding: 20px;
    }

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

    .article-content {
        font-size: 1rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .sidebar {
        position: static;
    }

    .article-content table {
        font-size: 0.85rem;
    }

    .article-content th,
    .article-content td {
        padding: 8px;
    }
}
