#loader_wrap {
    display: none !important;
}

/*custom-modal*/

.custom-modal {
    position: fixed;
    display: none;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .3);
}

.custom-modal__contents {
    border-radius: 20px;
    position: absolute;
    top: calc(50vh - 315px);
    left: calc(50vw - 500px);
}

@media (max-width: 560px) {
    .custom-modal__contents {
        width: 343px;
        height: 214px;
        top: calc((100vh - 214px) / 2);
        left: calc((100vw - 343px) / 2);
    }
}

/*header*/

.custom .header__inner__block {
    padding: 18px 88px;
}

.header__right {
    margin-top: 2px;
}

.header__right__tell {
    text-align: right;
    font-family: 'Rounded Mplus 1c';
    font-weight: 800;
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 4px;
    color: #D61111;
}

.header__right__text {
    text-align: right;
    font-family: 'Rounded Mplus 1c';
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.07em;
}

@media (max-width: 1280px) {
    .header__block .global_nav__block nav {
        align-items: inherit !important;
    }

    .header__right {
        display: none;
    }

    .header__right__tell {
        text-align: left;
        margin-left: 20px;
    }

    .header__right__text {
        text-align: left;
        margin-left: 20px;
    }
}

/*main visual*/

.custom .mainvidual__block {
    padding: 135px 88px 126px 88px;
    max-width: 1440px;
    position: relative;
}

.custom .mainvidual_inner__block {
    display: flex;
    position: relative;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.mainvidual_left {
    width: 520px;
}

.mainvidual_right {
    width: calc(100% - 520px - 23px);
    filter: drop-shadow(0px 0px 40px rgba(0, 0, 0, 0.25));
}

.custom .mainvidual_highlight {
    position: absolute;
    top: -86px;
    left: -65px;
    display: inline-block;
    width: 148px;
    height: 76px;
    line-height: 76px;
    text-align: center;
    background-color: #d61111;
    border-radius: 74px;
    font-size: 20px;
    color: #fff;
}

.custom .mainvidual__block::after {
    position: absolute;
    content: "";
    background-color: #A72116;
    top: 0;
    left: 100%;
    height: 100%;
    width: calc(50vw - 50%);
}

.custom .mainvidual__block::before {
    position: absolute;
    content: "";
    background-image: url(../img/custom/bg.png);
    background-position: left 0;
    top: 0;
    right: 0;
    height: 100%;
    width: 719px;
}

.custom .mainvidual_title__block .mainvidual_title {
    font-size: 45px;
    line-height: 130%;
    letter-spacing: 0.11em;
    margin-bottom: 38px;
    margin-top: 30px;
}

.custom .mainvidual_title__block .mainvidual_title .display-none{
    display: none;
}

.custom .mainvidual_read__block {
    margin-bottom: 0;
}

.custom .mainvidual_title__block .mainvidual_read {
    display: block;
    font-weight: 700;
    font-size: 26px;
    line-height: 160%;
    letter-spacing: 0.16em;
    margin-top: 24px;
    color: #27272d;
}

.custom .mainvidual__block .btns {
    max-width: 495px;
    display: flex;
    justify-content: space-between;
}

.custom .mainvidual__block .btn {
    width: 240px;
    font-weight: 900;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.1em;
}

.custom .mainvidual__block .btn_white {
    background: #FFFFFF;
    border: 2px solid #D61111;
    color: #d61111;
    box-shadow: 0px 2px 4px rgba(159, 149, 149, 0.4);
    border-radius: 70px;
}

.custom .mainvidual__block .btn_white .ico_mail::before {
    background-image: url(../img/ico_mail_red.png);
}

.custom .sp-btn {
    width: 100%;
    display: none;
    height: 64px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: 318px;
}

.custom .sp-btn .ico_mail {
    margin-left: 18px;
}

@media (max-width: 1000px) {
    .custom .mainvidual__block {
        padding: 80px 88px;
    }

    .custom .mainvidual_inner__block {
        display: flex;
        flex-direction: column;
    }

    .mainvidual_left {
        width: 600px;
        margin-top: 30px;
        order: 1;
    }

    .mainvidual_right {
        order: 2;
    }

    .custom .mainvidual__block .sp-btn , .custom .mainvidual__block .mainvidual_inner__block > p{
        order: 3;
    }

    .custom .mainvidual__block::before,
    .custom .mainvidual__block::after {
        background-image: none !important;
    }
}

@media (max-width: 560px) {
    .custom .mainvidual__block {
        padding: 11px 16px 70px 16px;
    }

    .mainvidual_left {
        width: 100%;
        text-align: center;
    }

    .mainvidual_right {
        width: 100%;
        margin-bottom: 50px;
    }

    .custom .mainvidual_title__block .mainvidual_title {
        font-size: 30px;
        letter-spacing: 0.11em;
        margin-bottom: 48px;
    }

    .custom .mainvidual_title__block .mainvidual_read {
        font-size: 18px;
        line-height: 150%;
        margin-top: 16px;
    }

    .custom .mainvidual__block .mainvidual_left .btns {
        display: none;
    }

    .custom .mainvidual__block .sp-btn {
        display: flex;
    }
}

/*what*/

.what-item-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 54px;
}

.custom .section__block_custompage1 .section_inner__block {
    padding-bottom: 45px;
}

.section__block_custompage1 .section_title__block {
    text-align: center;
    margin-bottom: 20px;
}

.section__block_custompage1 .section_read__block {
    text-align: center;
    margin-bottom: 20px;
}

.what-item-block .what-item-block__img {
    width: 318px;
    border-radius: 50%;
}

.what-item-block .what-item-block__texts {
    width: calc(100% - 318px - 42px);
}

.what-item-block .what-item-block__texts .what-item-block__texts__title {
    font-weight: 700;
    font-size: 26px;
    line-height: 160%;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}

.what-item-block .what-item-block__texts .what-item-block__texts__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0.06em;
}

.what-items .what-item-block:nth-child(2n + 1) {
    flex-direction: row-reverse
}

@media (max-width: 560px) {
    .what-item-block {
        display: block;
        margin-bottom: 40px;
    }

    .custom .section__block_custompage1 .section_inner__block {
        padding-bottom: calc(64px - 40px);
    }

    .section__block_custompage1 .section_title__block {
        text-align: center;
        margin-bottom: 20px;
    }

    .section__block_custompage1 .section_read__block .section_read br {
        display: block;
    }

    .section__block_custompage1 .section_read__block {
        text-align: center;
        margin-bottom: 20px;
    }



    .what-item-block .what-item-block__img {
        border-radius: 0;
        margin-bottom: 24px;
    }

    .what-item-block .what-item-block__texts {
        width: 100%;
        margin-bottom: 12px;
    }

    .what-item-block .what-item-block__texts .what-item-block__texts__title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .what-items .what-item-block:nth-child(2n) {
        flex-direction: row;
    }
}

/*how_to*/

.custom .how_to__block .col .how_to_items__block .how_to_items .how_to_item {
    position: relative;
    display: block;
    min-height: 409px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.custom .how_to__block .col:last-child {
    width: calc(100% - 333px);
}

.custom .how_to__block .col .how_to_items__block .how_to_items .how_to_item .card-item_body {
    max-width: 628px;
    position: relative;
    z-index: 5;
}

.custom .how_to_img {
    position: absolute;
    width: 374px;
    height: 403px;
    bottom: 0;
    right: 0;
    z-index: 4;
}

.custom .how_to_img2 {
    margin-top: 12px;
    margin-left: auto;
    display: block;
}

.custom .how_to_img3 {
    margin-top: 1px;
    margin-left: auto;
    display: block;
}

.custom .how_to_img4 {
    margin-left: auto;
    display: block;
}

.custom .how_to__block .col .how_to_items__block .how_to_items .how_to_item::before {
    content: "";
    width: 6px;
    height: calc(100% - 114px - 34px);
    position: absolute;
    left: calc(40px - 3px);
    bottom: 34px;
    background-image: url(../img/top/how_to/dot.png);
    background-size: 6px auto;
    background-position: top 3px left;
}

@media (max-width: 1000px) {
    .custom .how_to__block .col:last-child {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .custom .how_to__block .col .how_to_items__block .how_to_items .how_to_item {
        min-height: 445px;
    }

    .custom .how_to_img {
        width: 235px;
        height: 252px;
    }

    .custom .how_to_img2 {
        margin-top: 56px;
        width: 235px;
    }

    .custom .how_to_img3 {
        margin-top: 16px;
        width: 235px;
    }

    .custom .how_to_img4 {
        margin-top: 16px;
        width: 235px;
    }
}

@media (max-width: 560px) {
    .content_wrapper__block {
        overflow: hidden;
    }

    .footer_row__block {
        overflow: hidden;
    }

    .pagetop__block {
        display: none !important;
    }
}


/*
.tell-modal_custom {
    position: fixed;
    bottom: 24px;
    left: 25px;
    width: calc(100% - 90px);
    padding: 9px 20px 17px 20px;
    background-color: #fff;
    border-radius: 16px;
    z-index: 100;
}

.tell-modal_custom__btn {
    position: absolute;
    top: -9px;
    right: -9px;
}

.tell-modal_custom__tell {
    display: block;
    margin-bottom: 24px;
}

.tell-modal_custom__tell p:first-child {
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.11em;
    margin-bottom: 4px;
    color: #D61111;
    font-weight: 700;
}

.tell-modal_custom__tell p:last-child {
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.07em;
    font-weight: 600;
}

.tell-modal_custom__doc {
    height: 44px;
    background: #D61111;
    line-height: 44px;
    border-radius: 16px;
    color: #fff;
    display: block;
    text-align: center;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.1em;
}

@media (min-width: 561px) {
    .tell-modal_custom{
        display: none;
    }
}*/

.tell-modal_custom {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 100;
    display: block;
}

.tell-modal_custom__btn {
    position: absolute;
    top: 2px;
    right: 2px;
    display: block;
    width: 25px;
}

.tell-modal_custom__img{
    display: block;
    width: 100%;
}

@media (min-width: 561px) {
    .tell-modal_custom{
        display: none;
    }
}

/*カスタム台帳*/

.custom .wrapper__block {
    z-index: 2001;
}