/* 症状ページ共通CSS - tendre.org */
/* 使用ページ: 手袋・靴下の19症状別ページ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

h1 {
    font-size: 28px;
    color: #2c5f4f;
    margin-bottom: 20px;
    line-height: 1.5;
}

h2 {
    font-size: 22px;
    color: #2c5f4f;
    margin: 50px 0 25px;
    padding: 15px;
    background: linear-gradient(to right, #e8f3f0 0%, #fff 100%);
    border-left: 5px solid #8fb5a8;
}

h3 {
    font-size: 18px;
    color: #2c5f4f;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px dotted #8fb5a8;
}

h4 {
    font-size: 16px;
    color: #2c5f4f;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 20px;
}

.intro-box {
    background: #f8fcfb;
    border-left: 5px solid #8fb5a8;
    padding: 25px;
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.9;
}

.key-section {
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
    border: 3px solid #f0d6a8;
    border-radius: 10px;
    padding: 35px;
    margin: 40px 0;
}

.key-section h2 {
    background: none;
    border: none;
    margin: 0 0 25px 0;
    padding: 0;
    text-align: center;
    font-size: 24px;
}

.reason-box {
    background: #fff;
    border: 2px solid #8fb5a8;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.reason-item {
    margin: 25px 0;
}

.reason-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c5f4f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.reason-icon {
    font-size: 24px;
    margin-right: 10px;
}

.testimonial {
    background: #f8fcfb;
    border-left: 5px solid #8fb5a8;
    padding: 25px;
    margin: 25px 0;
    border-radius: 5px;
}

.testimonial-header {
    font-weight: bold;
    color: #2c5f4f;
    margin-bottom: 10px;
    font-size: 16px;
}

.testimonial-author {
    text-align: right;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
    font-style: italic;
}

.stage-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.stage-box.active {
    border-color: #ffcccc;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}

.stage-box.stable {
    border-color: #8fb5a8;
    background: linear-gradient(135deg, #e8f3f0 0%, #fff 100%);
}

.stage-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c5f4f;
    margin-bottom: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.product-card {
    background: white;
    border: 2px solid #e8f3f0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: #8fb5a8;
    box-shadow: 0 4px 12px rgba(143, 181, 168, 0.2);
    transform: translateY(-2px);
}

.product-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 14px;
    font-weight: bold;
    color: #2c5f4f;
    margin: 10px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #8fb5a8;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    margin: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-detail {
    background: #fff;
    color: #8fb5a8;
    border: 2px solid #8fb5a8;
}

.btn-detail:hover {
    background: #f0f8f6;
}

.btn-cart {
    background: #8fb5a8;
    color: white;
    box-shadow: 0 3px 10px rgba(143, 181, 168, 0.3);
}

.btn-cart:hover {
    background: #7a9f8f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(143, 181, 168, 0.4);
}

.color-group {
    margin: 40px 0;
}

.color-group-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c5f4f;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #f5f9f7;
    border-left: 5px solid #8fb5a8;
}

.warning-box {
    background: #fff5f5;
    border: 2px solid #ffcccc;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.warning-box h3 {
    color: #c44;
    border: none;
    margin-top: 0;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.faq-question {
    font-weight: bold;
    color: #2c5f4f;
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-answer {
    color: #555;
    line-height: 1.8;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.care-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e8f3f0;
}

.care-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.link-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.link-card:hover {
    border-color: #8fb5a8;
    box-shadow: 0 4px 12px rgba(143, 181, 168, 0.2);
    transform: translateY(-2px);
}

.link-card h4 {
    color: #2c5f4f;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.link-card p {
    font-size: 13px;
    margin: 0;
    color: #666;
}

.disclaimer-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    margin: 50px 0 30px;
}

ul.simple-list {
    margin-left: 20px;
    line-height: 1.8;
}

ul.check-list {
    list-style: none;
    padding-left: 0;
}

ul.check-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

ul.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8fb5a8;
    font-weight: bold;
    font-size: 18px;
}

.note-box {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #8fb5a8;
    margin: 20px 0;
}

.noc-info-box {
    background: linear-gradient(135deg, #e8f3f0 0%, #fff 100%);
    border: 2px solid #8fb5a8;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .key-section {
        padding: 25px 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .product-card img {
        width: 150px;
        height: 150px;
    }
    
    .care-grid {
        grid-template-columns: 1fr;
    }
}