/* contact-styles.css - シンプル版問い合わせページのスタイル */

/* 問い合わせセクション */
.contact-section {
    padding-top: 120px; /* ヘッダーの高さを考慮してパディングを増やす */
    padding-bottom: 60px;
    background-color: #fbf7f0;
}

.contact-section h1 {
    text-align: center;
    color: #7c9630;
    margin-bottom: 15px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-section h2 {
    color: #7c9630;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
}

.contact-section h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* 問い合わせ方法カード */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.contact-method-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.line-icon {
    background-color: #06C755;
}

.mail-icon {
    background-color: #7c9630;
}

.contact-icon {
    width: 45px;
    height: 45px;
    fill: white;
    color: white;
}

.contact-method-card h2 {
    margin-top: 0;
}

.contact-method-card p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* 問い合わせボタン */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.line-btn {
    background-color: #06C755;
    color: white;
}

.line-btn:hover {
    background-color: #05aa49;
    transform: translateY(-2px);
}

.mail-btn {
    background-color: #7c9630;
    color: white;
}

.mail-btn:hover {
    background-color: #6a8230;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

/* 問い合わせ情報セクション */
.contact-info-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.info-group {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.info-group h3 {
    color: #7c9630;
    margin-bottom: 10px;
}

.info-group p {
    line-height: 1.6;
}

.info-group a {
    color: #7c9630;
    text-decoration: none;
    transition: color 0.3s;
}

.info-group a:hover {
    color: #6a8230;
    text-decoration: underline;
}

/* アクセスマップ */
.access-map {
    margin-bottom: 60px;
}

.access-map h2 {
    text-align: center;
    margin-bottom: 25px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.access-info {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.access-info ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.access-info li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.access-info li:before {
    content: "•";
    color: #7c9630;
    position: absolute;
    left: 0;
    top: 7px;
}

/* FAQ セクション */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    position: relative;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    font-size: 1.1em;
    color: #333;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #7c9630;
    transition: transform 0.3s;
}

.faq-item.active .faq-question:after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.faq-answer a {
    color: #7c9630;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* アクティブなナビゲーションリンク */
.nav-links .active {
    font-weight: bold;
    text-decoration: underline;
}

/* レスポンシブスタイル */
@media (max-width: 768px) {
    .contact-section {
        padding-top: 100px;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method-card {
        max-width: 100%;
    }
    
    .contact-info-section {
        padding: 25px;
    }
    
    .contact-info-content {
        flex-direction: column;
        text-align: center;
    }
    
    .info-group {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding-top: 90px;
    }
    
    .contact-method-card {
        padding: 20px;
    }
    
    .method-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .faq-question {
        font-size: 1em;
        padding: 15px;
    }
    
    .faq-question:after {
        right: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
}