/* お問い合わせページのスタイル */
.contact-section {
    padding: 60px 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.contact-info {
    flex: 0 0 350px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.form-intro {
    margin-bottom: 25px;
    color: #555;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.contact-form .required {
    color: #e74c3c;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #4a90e2;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.privacy-policy {
    margin: 20px 0;
}

.privacy-policy label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.privacy-policy input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.privacy-policy a {
    color: #4a90e2;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 30px;
}

.contact-form .btn {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form .btn:hover {
    background-color: #3672b9;
}

/* お問い合わせ情報スタイル */
.contact-info-content {
    color: #333;
}

.contact-info-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #222;
}

.contact-details {
    margin-top: 25px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    margin-bottom: 5px;
    color: #555;
}

.contact-social {
    margin-top: 30px;
}

.contact-social .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.contact-social .social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

/* ★ 修正: アイコンと文字の位置を揃える */
.contact-social .social-link i {
    margin-right: 8px;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.contact-social .social-link.facebook:hover {
    background-color: #3b5998;
    color: #fff;
}

.contact-social .social-link.twitter:hover {
    background-color: #1da1f2;
    color: #fff;
}

.contact-social .social-link.instagram:hover {
    background-color: #c13584;
    color: #fff;
}

.contact-faq {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.contact-faq h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-faq a {
    color: #4a90e2;
    text-decoration: none;
}

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

/* アラートメッセージ */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    margin-right: 8px;
}

/* 送信成功時のメッセージ */
.form-success-message {
    text-align: center;
    padding: 30px 0;
}

.form-success-message p {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.form-success-message .btn {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 25px;
    background-color: #4a90e2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.form-success-message .btn:hover {
    background-color: #3672b9;
}

/* フッターお問い合わせボタンスタイル */
.footer-contact-btn {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.footer-contact-btn:hover {
    background-color: #3672b9;
    color: #fff;
}

/* フッターSNSアイコン修正 */
.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f1f1f1;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: #4a90e2;
    color: #fff;
}

.footer .social-links a.facebook:hover {
    background-color: #3b5998;
}

.footer .social-links a.twitter:hover {
    background-color: #1da1f2;
}

.footer .social-links a.instagram:hover {
    background-color: #c13584;
}

/* フッター修正 */
.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form-container,
    .contact-info {
        flex: 1 1 100%;
    }
    
    .contact-info {
        order: -1;
    }
    
    .contact-social .social-links {
        flex-direction: column;
    }
    
    .contact-social .social-link {
        width: 100%;
        justify-content: flex-start;
    }
}
