.membership-box {
    margin-top: 2%;
    padding: 1% 3%;
    width: fit-content;
    display: flex;
    gap: 3%;
}

.membership-box>legend {
    font-weight: 500;
    line-height: 1.3em;
    margin: 0 0.5em;
    padding: 0 0.5em;
}

.membership-box a {
    min-width: 250px;
}

.activity-list {
    list-style-type: disc;
    text-indent: -1.5em;
    padding-left: 1.5em;
}

.activity-list li {
    margin-bottom: 0.5em;
    line-height: 1.2em;
}

.tokuten-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8%;
    row-gap: 3em;
    margin: 0 4%;
}

.tokuten-list li {
    width: 46%;
}

.tokuten-text {
    padding: 1em;
    font-weight: 500;
    font-size: 1.1em;
}

.tokuten-text-notice {
    padding: 0 1em;
}

.tokuten-number {
    background-color: #F65751;
    color: #fff;
    position: relative;
    width: 2em;
    height: 2em;
    margin: auto;
    margin-top: -1em;
    font-size: 1.6em;
    text-align: center;
    border-radius: 100px;
    border: solid 0.2em #fff;
    padding: 0.05em;
    font-weight: 600;
}

.tokuten-image {
    width: 100%;
}

.flow-fieldset {
    flex-direction: column;
    width: 100%;
}

.flow-fieldset p {
    font-weight: 500;
}

.flow-fieldset p.blue {
    color: #316ea9;
    font-size: 1.3em;
}

.flow-fieldset legend {
    font-size: 1.2em;
    color: #f65751;
}

.flow-title {
    background: #F65751;
    color: #fff;
    width: fit-content;
    padding: 0.2em 1em;
    font-weight: 400;
    font-size: 1em;
    border-radius: 3px;
}

.flow-box {
    padding: 1em;
    margin-bottom: 1em;
}

@media screen and (max-width: 1024px) {
    .membership-box {
        flex-direction: column;
        gap: 1em;
    }

    .membership-box {
        margin-top: 1.5em;
        padding: 0.5em 3%;
    }

    .tokuten-list {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .tokuten-list {
        flex-direction: column;
    }

    .tokuten-list li {
        width: 100%;
    }
}