/* 記事全体のコンテナ */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* パンくずリスト */
.breadcrumb {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 0.5rem;
    color: #adb5bd;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #007bff;
}

.breadcrumb-item.active {
    color: #495057;
}

/* 記事タイトル */
.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-left: 5px solid #3498db;
    padding-left: 1rem;
}

/* 公開日 */
.article-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

/* 記事本文全体 */
.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2c3e50;
    letter-spacing: 0.03em;
}

/* イントロセクション */
.intro-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* コンテンツセクション */
.content-section {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.content-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e74c3c;
}

.content-section p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ハイライトボックス */
.highlight-box {
    background-color: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight-box p {
    margin-bottom: 0;
    font-style: italic;
    color: #7d6608;
}

/* ケアリスト */
.care-list {
    background-color: #ecf8f8;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    list-style: none;
    position: relative;
}

.care-list::before {
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    font-size: 1.5rem;
}

.care-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.care-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a085;
    font-weight: bold;
}

.care-list li:last-child {
    margin-bottom: 0;
}

/* クロージングセクション */
.closing-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.message-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.message-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.message-box p:last-child {
    margin-bottom: 0;
}

.message-box strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 1rem;
}

/* 戻るボタン */
.back-button-container {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-back:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.btn-back .arrow {
    margin-right: 0.5rem;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-container {
        padding: 1rem 0.5rem;
    }
    
    .article-title {
        font-size: 1.6rem;
        padding-left: 0.8rem;
    }
    
    .intro-section {
        padding: 1.5rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 0 0.5rem;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
    
    .article-content {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .highlight-box,
    .care-list,
    .message-box {
        padding: 1.2rem;
    }
    
    .care-list {
        padding-left: 2.5rem;
    }
}

/* 印刷用スタイル */
@media print {
    .breadcrumb,
    .back-button-container {
        display: none;
    }
    
    .intro-section,
    .highlight-box,
    .care-list,
    .message-box {
        background: white;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .message-box {
        color: black;
    }
}
/* シンプル版パンくずリスト */
.breadcrumb-nav-simple {
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    
    

}

.breadcrumb-wrapper-simple {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.breadcrumb-item-simple {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item-simple:hover {
    color: #007bff;
    text-decoration: underline;
}

.separator-simple {
    color: #dee2e6;
    font-weight: 300;
}

.breadcrumb-current-simple {
    color: #495057;
    font-weight: 600;
}

.article-image {
    margin: 30px auto;
    text-align: center;
    max-width: 600px; /* 最大幅を制限 */
}

.article-image img {
    width: 100%;
    max-width: 500px; /* 画像自体の最大幅 */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .article-image {
        max-width: 100%;
    }
    
    .article-image img {
        max-width: 100%;
    }
}