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

/* コンテナ */
.inq-public-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
}

/* ヘッダー */
.inq-header {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.inq-header .logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.inq-header .logo a:hover {
    opacity: 0.8;
}

.inq-header .logo i {
    font-size: 1.75rem;
}

/* メインコンテンツ */
.inq-content {
    max-width: 900px;
    margin: 0 auto;
}

/* タイトルセクション */
.inq-title-section {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.inq-title-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.inq-title-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* フォームカード */
.inq-form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 1.5rem;
}

/* フォーム行 */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-row + .form-group {
    margin-top: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.required {
    color: #dc3545;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.form-actions {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f8f9fa;
}

.btn {
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* フッターノート */
.inq-footer-note {
    text-align: center;
    color: white;
    padding: 1rem;
}

.inq-footer-note p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.inq-footer-note i {
    font-size: 1.25rem;
}

/* 完了画面 */
.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: #2c3e50;
    margin-bottom: 1.5rem;
}

.complete-message {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

/* アラート */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

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

.alert i {
    font-size: 1.5rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .inq-public-container {
        padding: 1rem 0.5rem;
    }

    .inq-title-section h1 {
        font-size: 2rem;
    }

    .inq-title-section p {
        font-size: 1rem;
    }

    .inq-form-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row + .form-group {
        margin-top: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

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

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

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

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