/* Lower listing blocks loaded asynchronously on /do/ and search pages. */

#category_ceo_text {
    padding: 40px 0;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #323232;
    margin: 40px 0;
}

#category_ceo_text h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 46px;
    color: #3D3D44;
    padding: 0;
    margin: 0 0 20px 0;
}

#convenient_way_block {
    display: flex;
    flex-flow: row wrap;
    align-content: space-between;
    justify-content: space-between;
    padding-top: 60px;
    gap: 10px;
}

#convenient_way_block .item {
    width: calc(50% - 5px);
    padding: 20px 80px 20px 20px;
    min-height: 160px;
    background: #2A2A84;
    border-radius: 20px;
    position: relative;
}

#convenient_way_block .item:first-child:before {
    background: url("../images/category/icon01.png") center center no-repeat;
}

#convenient_way_block .item:nth-child(2):before {
    background: url("../images/category/icon02.png") center center no-repeat;
}

#convenient_way_block .item:nth-child(3):before {
    background: url("../images/category/icon03.png") center center no-repeat;
}

#convenient_way_block .item:nth-child(4):before {
    background: url("../images/category/icon04.png") center center no-repeat;
}

#convenient_way_block .item:nth-child(5):before {
    background: url("../images/category/icon05.png") center center no-repeat;
}

#convenient_way_block .item:nth-child(6):before {
    background: url("../images/category/icon06.png") center center no-repeat;
}

#convenient_way_block .item:nth-child(7):before {
    background: url("../images/category/icon07.png") center center no-repeat;
}

#convenient_way_block .item::before {
    display: block;
    content: '';
    width: 36px;
    width: 36px;
    height: 36px;
    background-color: #DCF18C !important;
    border-radius: 6px;
    position: absolute;
    top: 20px;
    right: 20px;
}

#convenient_way_block .item:last-child:before {
    display: none;
}

#convenient_way_block .ttl {
    max-width: 300px;
    color: #fff;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.02em;
    padding-bottom: 0;
}

#convenient_way_block .item:first-child .ttl {
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 46px;
    max-width: 570px;
}

#convenient_way_block .item:nth-child(5) .ttl,
#convenient_way_block .item:nth-child(6) .ttl {
    max-width: 400px;
}

#convenient_way_block .item:nth-child(7) .ttl {
    max-width: 450px;
}

#convenient_way_block .item:last-child .ttl {
    max-width: 600px;
}

#convenient_way_block .item>span {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    color: #FFFFFF;
    display: block;
    margin-top: 20px;
}

#convenient_way_block .item:first-child,
#convenient_way_block .item:last-child,
#convenient_way_block .item:nth-last-child(2) {
    width: 100%;
}

#convenient_way_block .item:nth-child(2),
#convenient_way_block .item:nth-child(3),
#convenient_way_block .item:nth-child(4) {
    width: calc(100% / 3 - 8px);
}

#convenient_way_block .item:first-child {
    background: #5555D5 url("../images/category/item01n.png") center left 550px no-repeat;
    flex-grow: 1;
    min-height: 200px;
}

#convenient_way_block .item:nth-child(3) {
    background: #3636AB;
}

#convenient_way_block .item:nth-child(4) {
    background: #2D2D52 url("../images/category/item04.png") top left 20px no-repeat;
}

#convenient_way_block .item:nth-child(5) {
    background: #6060E1;
}

#convenient_way_block .item:nth-child(6) {
    background: #2A2A84;
}

#convenient_way_block .item:nth-last-child(2) {
    min-height: 200px;
    background: #2A2A84 url("../images/category/item07.png") top left no-repeat;
}

#convenient_way_block .item:last-child:after {
    min-height: 200px;
    background: url("../images/category/diplom.png") top left no-repeat;
    position: absolute;
    content: '';
    width: 375px;
    height: 315px;
    top: 0px;
    right: 0;
    display: block;
}

#convenient_way_block .item:last-child {
    background: #323232 url("../images/category/item08.png") top left no-repeat;
    min-height: 260px;
    overflow: hidden;
    position: relative;
}

#convenient_way_block .item:last-child .ttl {
    font-style: normal;
    font-weight: 700;
    font-size: 42px;
    line-height: 120%;
}

#convenient_way_block .desc {
    max-width: 600px;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    leading-trim: both;
    text-edge: cap;
    color: #FFFFFF;
    opacity: 0.8;
    margin-top: 20px;
}

#convenient_way_block .work {
    max-width: 600px;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #FFFFFF;
    margin-top: 20px;
}

#convenient_way_block .work b {
    color: #7f7fd0;
}

#web_help_choose {
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 40px;
    padding: 30px;
    justify-content: space-between;
    background: #585862 url("../images/category/form.png") top right no-repeat;
    background-size: auto 100%;
    position: relative;
}

.web_help_choose_desc {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    max-width: 360px;
    margin: 20px;
    width: calc(100% - 425px - 10px);
}

.web_help_choose_form {
    width: 425px;
}

.web_help_choose_form input[type="button"] {
    background: #6C5DD1;
    color: #fff;
    border: 1px solid #6C5DD1;
}

#form_help_choose {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#web_help_choose .form_help_choose_check {
    display: flex;
    gap: 5px;
    align-items: flex-start;
    clear: both;
    margin-top: 10px;
}

.form_help_choose_agree {
    margin-top: 30px;
}

#web_help_choose .web_help_banner {
    position: absolute;
    content: '';
    display: block;
    width: 289px;
    height: 430px;
    bottom: 0;
    right: 485px;
    background: url("../images/category/webpic.png") bottom right no-repeat;
}

@media screen and (max-width: 1150px) {
    #web_help_choose .web_help_banner {
        background-size: 230px;
    }
}

@media screen and (max-width: 1070px) {
    #convenient_way_block .item {
        padding-right: 65px;
    }

    #convenient_way_block .ttl {
        font-size: 24px;
        line-height: 28px;
    }

    #convenient_way_block .item:nth-child(2) .ttl,
    #convenient_way_block .item:nth-child(3) .ttl,
    #convenient_way_block .item:nth-child(4) .ttl,
    #convenient_way_block .item:nth-child(5) .ttl,
    #convenient_way_block .item:nth-child(6) .ttl {
        word-wrap: break-word;
    }

    #convenient_way_block .item:first-child .ttl {
        font-size: 32px;
        line-height: 38px;
        max-width: 500px;
    }

    #convenient_way_block .item:nth-last-child(2) .ttl,
    #convenient_way_block .item:last-child .ttl {
        font-size: 32px;
        line-height: 38px;
    }

    #convenient_way_block .item>span,
    #convenient_way_block .desc {
        font-size: 16px;
        line-height: 24px;
    }

    #convenient_way_block .work {
        font-size: 16px;
        line-height: 24px;
    }

    #convenient_way_block .item:last-child .ttl,
    #convenient_way_block .desc,
    #convenient_way_block .work {
        max-width: calc(100% - 205px);
    }

    #convenient_way_block .item:last-child {
        min-height: 230px;
        padding-right: 20px;
    }

    #convenient_way_block .item:last-child:after {
        width: 260px;
        top: 10px;
        right: -55px;
        background-size: 260px;
    }

    #web_help_choose .web_help_banner {
        background-size: 170px;
        right: unset;
        left: 115px;
        width: 170px;
    }
}

@media screen and (max-width: 900px) {
    #web_help_choose {
        flex-direction: column;
        padding: 40px;
        background: #585862 url("../images/category/form_mobile.png") top right no-repeat;
    }

    .web_help_choose_desc {
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 10px;
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 28px;
        letter-spacing: -0.02em;
        color: #FFFFFF;
        width: 425px;
    }

    .web_help_choose_form,
    #web_help_choose .form_help_choose_check {
        width: calc(100% - 120px);
    }

    #web_help_choose .web_help_banner {
        right: 10px;
        left: unset;
    }

    .web_help_choose_form input.checkbox-input,
    .web_help_choose_form input.checkbox-input:checked {
        flex-shrink: 0;
        width: 19px;
    }
}

@media screen and (max-width: 765px) {
    .web_help_choose_form {
        width: calc(100% - 100px);
    }

    #web_help_choose .form_help_choose_check {
        width: calc(100% - 50px);
    }

    #web_help_choose .form_help_choose_agree {
        width: calc(100% - 20px);
    }
}

@media screen and (max-width: 600px) {
    #convenient_way_block {
        flex-direction: column;
    }

    #convenient_way_block .item {
        width: 100% !important;
    }

    .web_help_choose_form,
    .web_help_choose_desc,
    #web_help_choose .form_help_choose_agree,
    #web_help_choose .form_help_choose_check {
        width: 100%;
    }

    #web_help_choose {
        padding: 20px 20px 180px 20px;
        background-position: top -60px right -130px;
    }

    #web_help_choose .web_help_banner {
        background-size: 115px;
        left: unset;
        right: 40px;
        width: 115px;
    }
}

@media screen and (max-width: 500px) {
    #convenient_way_block .item {
        min-height: auto !important;
    }

    #convenient_way_block .item:first-child .ttl,
    #convenient_way_block .item:nth-last-child(2) .ttl {
        font-size: 24px;
        line-height: 28px;
    }

    #convenient_way_block .item:last-child .ttl,
    #convenient_way_block .desc,
    #convenient_way_block .work {
        max-width: 100%;
    }

    #convenient_way_block .item:last-child {
        padding-bottom: 220px;
    }

    #convenient_way_block .item:last-child::after {
        width: 230px;
        top: unset;
        right: unset;
        bottom: -115px;
        left: calc((100% - 230px)/2 + 15px);
        background-size: 230px;
    }
}
