/**
 * お問い合わせページ専用スタイル (contact2/index.php)
 */

/* ===== ヒーローセクション ===== */
.contact-hero {
    background-image: url('../images/hero_contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

/* PC専用背景画像 */
@media (min-width: 992px) {
    .contact-hero {
        background-image: url('../images/hero_contact_pc.jpg');
    }
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #D2B48C;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    font-family: 'Roboto', sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* お問い合わせページ専用スタイル */
body {
    position: relative;
    background: #f8f9fa;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(101, 67, 33, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(101, 67, 33, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: -1;
}

.contact-section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #343a40;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* 電話お問い合わせセクション */
.phone-contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
    text-align: center;
}

.phone-contact h2 {
    color: #343a40;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.phone-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.phone-item {
    flex: 1;
    min-width: 200px;
}

.phone-contact .phone-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, color 0.3s ease;
}

.phone-contact .phone-number:hover {
    transform: scale(1.05);
    color: #0056b3;
}

.phone-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* フォームスタイル */
.form-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-section h2 {
    color: #343a40;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.form-group label {
    font-weight: 600;
    color: #495057;
}

.required {
    color: #dc3545;
}

.form-control {
    border-radius: 5px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input {
    margin-right: 8px;
}

.privacy-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.privacy-section h4 {
    color: #343a40;
    margin-bottom: 15px;
}

.privacy-content {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

.submit-btn {
    background: #6c757d;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #495057;
    transform: translateY(-2px);
}

/* ファイル情報表示 */
.file-info {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #6c757d;
}

/* メッセージスタイル */
.alert-custom {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .contact-hero {
        padding: 60px 0 40px;
        background-attachment: scroll;
    }
    
    .phone-info {
        flex-direction: column;
    }
    
    .phone-contact .phone-number {
        font-size: 1.8rem;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 60px 0 40px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}