/**
 * お問い合わせ（一般）スタイルシート
 *
 * create: 2025-10-14
 * update: 2025-12-12
 *
 * @package     yonde
 * @author      ik
 * @copyright   Copyright (c) 2025 , NetReal
 * @version     yonde 1.00
 */

/* ==========================================
   Contact Page Styles
   ========================================== */

/* フォームカード */
.contact-form-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-card .card-header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

/* フォームコントロール */
.form-label {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 0.25rem rgba(56, 154, 110, 0.25);
}

.required {
    color: #dc3545;
}

/* 送信ボタン */
.btn-contact-submit {
    background-color: var(--color-bg-cream);
    color: var(--color-primary-green);
    border: 1px solid var(--color-primary-green);
    padding: 1.65rem 1.2rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 25%;
    min-width: 150px;
}

.btn-contact-submit:hover {
    background-color: #439829;
    color: white;
    border-color: #439829;
}

/* アラート */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.375rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* 完了画面 */
.inq-complete-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 4rem 3rem;
    text-align: center;
}

.complete-icon {
    font-size: 6rem;
    color: #28a745;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.complete-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.complete-message {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: left;
}

.complete-message > p {
    text-align: center;
}

/* 情報カード */
.info-card {
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary-green);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--color-primary-green);
    font-size: 1.5rem;
}

.info-card-content {
    flex: 1;
}

.info-card-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}

.info-card-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.6;
}

.complete-actions {
    margin-top: 2rem;
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media (max-width: 767px) {
    .btn-contact-submit {
        width: 100%;
    }

    .complete-icon {
        font-size: 4rem;
    }

    .complete-title {
        font-size: 1.5rem;
    }

    .complete-message {
        font-size: 1rem;
    }

    .inq-complete-wrapper {
        padding: 3rem 1.5rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .info-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-right: 0.75rem;
    }

    .info-card-content h5 {
        font-size: 1rem;
    }

    .info-card-content p {
        font-size: 0.9rem;
    }
}
