/* お問い合わせページ用CSS */

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

/* お問い合わせ情報 */
.contact-info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.5rem;
}

.info-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.info-section a:hover {
    text-decoration: underline;
}

/* お問い合わせフォーム */
.contact-form-section {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-form {
    space-y: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.required {
    color: #ef4444;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5rem 1.5rem;
    padding-right: 2.5rem;
    appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* チェックボックス */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.125rem;
    width: auto;
}

/* フォームアクション */
.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* メッセージ */
.message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.message p {
    margin: 0;
}

/* バリデーションエラー */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .contact-info,
    .contact-form-section {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form-section {
        padding: 1rem;
    }

    .contact-form-section h3 {
        font-size: 1.25rem;
    }

    .info-section h3 {
        font-size: 1.125rem;
    }
}