body {
    background-color: #f7f9fb;
    font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: #333;
}

.main {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.preview-area {
    text-align: center;
    margin-bottom: 60px;
}

.preview-area h2 {
    display: inline-block;
    font-weight: 700;
    font-size: 2.5rem;
    color: #0d6efd;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.preview-area span {
    font-size: 2rem;
    font-weight: 400;
    color: #555;
}

#selectButton {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
    transition: transform 0.2s, box-shadow 0.3s;
}

#selectButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.35);
}

.form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 25px;
    width: 100%;
    max-width: 600px;
}

label {
    font-weight: 600;
    color: #444;
}

input[type="text"] {
    border-radius: 12px;
    border: 1px solid #ccc;
    margin-bottom: 8px;
    padding: 8px 12px;
}

.btn-sm {
    margin: 3px;
    border-radius: 16px;
    font-size: 0.85rem;
}

.category-group {
    margin-bottom: 20px;
}

.footer {
    background-color: #f0f2f5;
    color: #333;
    padding: 60px 20px;
    margin-top: 80px;
    border-top: 1px solid #ddd;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.footer h3 {
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.4rem;
    text-align: left;
    letter-spacing: 0.05em;
}

.footer p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.2em;
    text-align: justify;
}

.footer-end {
    font-style: italic;
    text-align: center;
    margin-top: 32px;
    color: #555;
}