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

/* お問い合わせヘッダー */
.contact-header {
    background: white;
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--gray-200);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.page-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* お問い合わせコンテンツ */
.contact-content {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* お問い合わせ先情報 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon.email {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.info-icon.phone {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.info-icon.location {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.info-icon i {
    font-size: 2rem;
    color: #2563eb;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.info-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
    text-decoration: none;
    transition: var(--transition);
}

a.info-text:hover {
    color: #2563eb;
}

/* お問い合わせフォーム */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.form-input,
.form-select,
.form-textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

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

.form-hint {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* 送信ボタン */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    margin-top: 1rem;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn i {
    font-size: 1.2rem;
}

/* フォームメッセージ */
.form-message {
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    animation: slideInDown 0.4s ease;
    transition: opacity 0.3s ease;
}

.form-message i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-message-success {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
}

.form-message-success i {
    color: #10b981;
}

.form-message-error {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.form-message-error i {
    color: #ef4444;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

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

    .contact-header {
        padding: 3rem 0 2rem;
    }

    .contact-content {
        padding: var(--spacing-lg) 0;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .form-message {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }

    .form-message i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}
