/* ステップ回答フォーム */
.step-visual {
    position: relative;
}

.step-visual_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.step-visual_inner {
    background-color: rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.step-visual_inner--askform {
    background: #fff7ee;
}

.step-visual_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-visual_title--category {
    color: #fff;
}

.step-visual_sub {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-visual_sub--category {
    color: #fff;
}

.step-visual_ambassador {
    filter: drop-shadow(1px 2px 4px black);
}

.step-visual_header {
    max-width: 100%;
    width: 900px;
    margin: 0 auto 12px;
    text-align: center;
}

.step-form {
    max-width: 100%;
    width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.step-form_progress {
    display: none;
    position: relative;
}

.step-form_progress progress {
    display: block;
    width: 100%;
    height: 20px;
}

.step-form_progress-close {
    padding: 0 6px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    cursor: pointer;
}

.step-form_list {
    height: 40vh;
    padding: 0;
    position: relative;
}

.step-form_item {
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

.step-form_item.active {
    z-index: 5;
}

.step-form_item>*+* {
    margin-top: 16px;
}

.step-form_title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.step-form_tag-back {
    display: none;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.step-form_tag-back.inactive {
    opacity: 0.6;
    pointer-events: none;
}

.step-form_tag-list.inactive {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 414px) {
    .step-visual_title {
        font-size: 20px;
    }

    .step-visual_sub {
        font-size: 14px;
    }

    .step-form_list {
        height: 45vh;
    }

    .step-form_title {
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .step-visual_title {
        font-size: 16px;
    }

    .step-visual_sub {
        font-size: 12px;
    }

    .step-form_title {
        font-size: 14px;
    }
}
