/* お問い合わせページ専用スタイル */
.contact-page-section {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.contact-page-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-page-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-page-section .section-title {
    color: #fd7e14;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-page-section .section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* フォームコンテナ */
.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

/* フォームスタイル */
.contact-form-container .wpcf7-form {
    display: flex;
    flex-direction: column;
}

.contact-form-container .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container select,
.contact-form-container textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: #fd7e14;
    box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.1);
}

.contact-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

/* ラベルスタイル */
.contact-form-container label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

/* 必須マーク */
.contact-form-container .required {
    color: #dc3545;
    margin-left: 4px;
}

/* 送信ボタン */
.contact-form-container input[type="submit"] {
    background: linear-gradient(135deg, #fd7e14 0%, #e56b00 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    min-width: 200px;
}

.contact-form-container input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253, 126, 20, 0.3);
}

.contact-form-container input[type="submit"]:active {
    transform: translateY(0);
}

/* エラーメッセージ */
.contact-form-container .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-form-container .wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545;
}

/* 成功メッセージ */
.contact-form-container .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

/* 連絡先情報セクション */
.contact-info-section {
    background: linear-gradient(135deg, #fd7e14 0%, #e56b00 100%);
    color: white;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info-section h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.contact-item strong {
    color: white;
    font-weight: 600;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* 営業時間・アクセス情報 */
.business-hours-section {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.business-hours-section h3 {
    color: #fd7e14;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hours-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.hours-item h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hours-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-page-section {
        padding: 2rem 0;
    }
    
    .contact-page-section .section-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-section {
        padding: 2rem 1.5rem;
    }
    
    .business-hours-section {
        padding: 2rem 1.5rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-details {
        gap: 0.8rem;
    }
    
    .contact-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-form-container input[type="submit"] {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .contact-page-section .container {
        padding: 0 15px;
    }
    
    .contact-page-section .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 1.5rem 1rem;
    }
    
    .contact-info-section {
        padding: 1.5rem 1rem;
    }
} 