
.wizard {
    width: 100%;
    background-color: #F5FFF0;
    color: #333;
    padding: 30px 20px;


}

.wizard-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    flex-direction: column;
}

h2 {
    font-size: 1.3rem;
    text-align: center;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.f_btn {
    width: 100%;
    max-width: 300px;
    margin: 50px auto 0 auto;
    text-align: center;
}

.f_btn p {
    margin-bottom: 20px;
}

.f_btn a {
    display: block;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    background-color: #003693;
    padding: 15px 0;
    border-radius: 8px;
}

.f_btn a:hover {
    background-color: #002565;
}

/* プログレスバー */
.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #3498db;
    width: 25%;
    /* 初期値 */
    transition: width 0.4s ease;
}

/* ステップの表示制御 */
.step {
    display: none;
    animation: fadeIn 0.4s;
    flex-grow: 1;
    padding: 30px 20px;
}

.step.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-text {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

.note {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: normal;
    display: block;
    margin-top: 10px;
}

/* ボタン群 */
.btn-group {
    display: flex;
    gap: 15px;
}

.btn-group button {
    flex: 1;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-group button:active {
    transform: scale(0.97);
}

.btn-yes {
    background-color: #3498db;
    color: white;
}

.btn-yes:hover {
    background-color: #2980b9;
}

.btn-no {
    background-color: #e74c3c;
    color: white;
}

.btn-no:hover {
    background-color: #c0392b;
}

.btn-group-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-option {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-option:hover {
    background-color: #ecf0f1;
    border-color: #95a5a6;
}

/* 判定結果画面 */
.result-box {
    text-align: center;
}

.result-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.result-box p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

.text-success {
    color: #27ae60;
}

.text-danger {
    color: #c0392b;
}

.btn-reset {
    width: 100%;
    padding: 12px;
    background-color: #95a5a6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.btn-reset:hover {
    background-color: #7f8c8d;
}