/* qa.html専用CSS */

/* マサルくん固定画像 */
.masaru-fixed {
    position: fixed;
    bottom: -20px;
    right: 20px;
    z-index: 1500;
    pointer-events: auto;
}

.masaru-link {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.masaru-link:hover {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.masaru-character {
    height: 35vh;
    width: auto;
    opacity: 1;
    transition: all 0.3s ease;
    max-width: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .masaru-fixed {
        right: 15px;
        bottom: -15px;
    }
    
    .masaru-character {
        height: 25vh;
        width: auto;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .masaru-fixed {
        right: 10px;
        bottom: -10px;
    }
    
    .masaru-character {
        height: 20vh;
        width: auto;
        max-width: 120px;
    }
}

/* FAQ Section Styles */
.section h3 {
    color: #0277bd;
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
    font-weight: bold;
    border-bottom: 2px solid #29b6f6;
    padding-bottom: 10px;
}

.section h4 {
    color: #666;
    font-size: 1.2rem;
    margin: 30px 0 15px 0;
    font-weight: bold;
}

.faq-container {
    margin-top: 20px;
    margin-bottom: 30px;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.95);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-question:hover {
    background: rgba(2, 119, 189, 0.05);
}

.faq-question h3 {
    color: #0277bd;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #0277bd;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-toggle.open {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}

.faq-answer.open {
    max-height: 300px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}
