/* ===========================
   お問い合わせページ専用スタイル
   =========================== */

/* ページヘッダー */
.page-header {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=300&fit=crop') center/cover;
    opacity: 0.1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.page-title {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* お問い合わせセクション */
.contact-section {
    padding: 5rem 0;
    background: var(--secondary-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* お問い合わせ情報 */
.contact-info {
    padding: 3rem;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: var(--white);
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info-text {
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-detail-item h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.contact-detail-item p {
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-detail-item a {
    color: var(--white);
}

.contact-detail-item a:hover {
    opacity: 0.8;
}

.text-small {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    opacity: 0.8;
}

/* お問い合わせフォーム */
.contact-form-container {
    padding: 3rem;
}

.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.required {
    color: #f44336;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    line-height: 1.6;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .page-header {
        height: 250px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-info-title {
        font-size: 1.5rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .contact-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-details {
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2.5rem;
    }

    .contact-form-container {
        padding: 2.5rem;
    }
}
