/* 入院準備ガイド インデックスページ CSS */

/* ========== 基本設定 ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 17px;
    line-height: 1.9;
    color: #333;
    background-color: #f8f9fa;
}

/* ========== ヘッダー ========== */
.page-header {
    background-color: #fff;
    padding: 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    color: #2c5282;
    text-align: center;
    padding: 30px 20px 20px;
    margin: 0;
    line-height: 1.4;
}

.header-image-container {
    text-align: center;
    padding: 0 20px 30px;
}

.header-image {
    display: inline-block;
    height: auto;
}

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

/* ========== イントロセクション ========== */
.intro-section {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.intro-message {
    margin-bottom: 30px;
}

.intro-message p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.hospital-advice {
    background-color: #f0f7ff;
    padding: 30px;
    border-radius: 6px;
    border-left: 4px solid #4299e1;
}

.hospital-advice h2 {
    font-size: 22px;
    color: #2c5282;
    margin-bottom: 20px;
    font-weight: bold;
}

.hospital-advice p {
    margin-bottom: 18px;
    line-height: 1.9;
}

.hospital-advice p:last-child {
    margin-bottom: 0;
}

/* ========== ガイドセクション ========== */
.guide-section {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    color: #2c5282;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4299e1;
}

/* がん診断後ガイドの色分け */
.cancer-guide .section-title {
    color: #c53030;
    border-bottom-color: #fc8181;
}

/* ========== コンテンツ関連 ========== */
.content-heading {
    font-size: 22px;
    font-weight: bold;
    color: #2c5282;
    margin-bottom: 20px;
}

.content-box {
    background-color: #f8fafc;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 5px solid #4299e1;
    font-size: 17px;
}

.box-heading {
    font-size: 20px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 18px;
}

.styled-list {
    margin: 18px 0;
    padding-left: 30px;
    font-size: 17px;
}

.styled-list li {
    margin-bottom: 12px;
    line-height: 1.9;
}

.experience-note {
    background-color: #fffaf0;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 5px solid #ed8936;
    font-size: 17px;
}

.experience-note h3 {
    font-size: 20px;
    font-weight: bold;
    color: #c05621;
    margin-bottom: 18px;
}

.experience-note p {
    margin-bottom: 15px;
    line-height: 1.9;
}

.experience-note p:last-child {
    margin-bottom: 0;
}

.important-note {
    background-color: #fff5f5;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 5px solid #fc8181;
    font-size: 17px;
}

.important-note h3 {
    font-size: 20px;
    font-weight: bold;
    color: #c53030;
    margin-bottom: 18px;
}

.important-note p {
    margin-bottom: 15px;
    line-height: 1.9;
}

.important-note p:last-child {
    margin-bottom: 0;
}

.related-links-inline {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-links-inline a {
    color: #4299e1;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}

.related-links-inline a:hover {
    color: #2c5282;
    text-decoration: underline;
}

.related-article-box {
    background-color: #edf2f7;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    border: 3px solid #cbd5e0;
}

.related-article-box .box-title {
    font-size: 20px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 18px;
}

.related-article-box p {
    margin: 0;
    line-height: 1.9;
    font-size: 17px;
}

.related-article-box a {
    color: #4299e1;
    text-decoration: none;
    font-weight: 600;
}

.related-article-box a:hover {
    color: #2c5282;
    text-decoration: underline;
}

/* ========== ガイドリンク ========== */
.guide-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.guide-item {
    padding: 12px 15px;
    background-color: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #4299e1;
    transition: all 0.3s ease;
}

.guide-item:hover {
    background-color: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.cancer-guide .guide-item {
    border-left-color: #fc8181;
}

.guide-item h3 {
    margin: 0;
}

.guide-item h3 a {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    line-height: 1.5;
    display: block;
}

.guide-item h3 a:hover {
    color: #4299e1;
}

.cancer-guide .guide-item h3 a:hover {
    color: #fc8181;
}

.guide-description {
    display: none;
}

/* ========== お客様の声セクション ========== */
.testimonial-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #e2e8f0;
}

.testimonial-section .section-title {
    color: #2c5282;
    border-bottom-color: #4299e1;
    margin-bottom: 20px;
}

.testimonial-intro {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.8;
    color: #4a5568;
}

.testimonial-link {
    margin-top: 25px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 35px;
    background-color: #4299e1;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

.btn-primary:hover {
    background-color: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

/* ========== フッター ========== */
.page-footer {
    background-color: #f7fafc;
    color: #2d3748;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.page-footer a {
    color: #4299e1;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.page-footer a:hover {
    color: #2c5282;
    text-decoration: underline;
}

.footer-note {
    margin-top: 15px;
    font-size: 14px;
    color: #718096;
}

/* ========== レスポンシブデザイン ========== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 22px;
        padding: 20px 15px 15px;
    }
    
    .header-image-container {
        padding: 0 15px 15px;
    }
    
    .intro-section,
    .guide-section {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .hospital-advice {
        padding: 20px;
    }
    
    .hospital-advice h2 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .guide-links {
        gap: 12px;
    }
    
    .guide-item {
        padding: 18px 20px;
    }
    
    .guide-item h3 a {
        font-size: 16px;
    }
    
    .content-box,
    .experience-note,
    .important-note {
        padding: 25px;
        font-size: 16px;
    }
    
    .box-heading,
    .experience-note h3,
    .important-note h3 {
        font-size: 18px;
    }
    
    .testimonial-section {
        padding: 30px 20px;
    }
    
    .btn-primary {
        padding: 10px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .page-title {
        font-size: 20px;
        padding: 15px 10px 10px;
    }
    
    .header-image-container {
        padding: 0 10px 10px;
    }
    
    .intro-section,
    .guide-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .hospital-advice {
        padding: 15px;
    }
    
    .hospital-advice h2 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .guide-links {
        gap: 10px;
    }
    
    .guide-item {
        padding: 15px 18px;
    }
    
    .guide-item h3 a {
        font-size: 15px;
    }
    
    .content-box,
    .experience-note,
    .important-note {
        padding: 20px;
        font-size: 15px;
    }
    
    .box-heading,
    .experience-note h3,
    .important-note h3 {
        font-size: 17px;
    }
    
    .testimonial-section {
        padding: 25px 15px;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
    }
}