@media all and (max-width: 1023px) {
    .sp {
        display: inherit !important;
    }

    .pc {
        display: none !important;
    }

    div.header {
        background: #00316C;
        height: 60px;
        width: 100%;
        position: fixed;
        border-top: 1px solid #6884a7;
        top: 60px;
        color: #fff;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        z-index: 500;
    }

    .header span.myname {
        font-weight: bold;
        font-size: 13px;
        letter-spacing: 3px;
        display: flex;
        align-items: center;
    }

    .header span.myname strong {
        font-size: 15px;
        margin-right: 5px;
    }

    .header span.myname img {
        margin-left: 24px;
        margin-right: 9px;
    }

    header #logo {
        margin-left: 24px;
    }

    a.profile img {
        margin-right: 16px;
    }

    .fvLine {
        top: 120px;
    }

    .fvLine.lower {
        top: 60px;
        margin-bottom: 128px;
    }

    footer .tel-info #to-top {
        display: block;
        position: inherit;
        right: 0;
        top: 40px;
        text-align: center;
    }
}

@media all and (max-width: 736px) {
    .fvLine.lower {
        top: 60px;
        margin-bottom: 128px;
    }
}

@media screen and (min-width:481px) and (max-width:1065px) {
    header #logo {
        margin-left: 24px;
    }
}

@media all and (max-width: 480px) {
    div.container {
        margin-top: 120px;
    }

    div.container.pic_agree {
        margin-top: -64px;
    }

    header #logo {
        display: none;
    }

    header #logo_sp {
        display: block;
        margin-left: 15px;
    }

    .fvLine.lower {
        top: -60px;
        margin-bottom: 0;
    }

    #sales_introduction .fvLine.lower {
        top: -60px !important;
    }

    div.header {
        z-index: 200;
    }

    .btn_profile {
        margin-right: 24px
    }

    footer .tel-info p {
        font-family: Noto Sans JP;
        font-style: normal;
        font-weight: 300;
        font-size: 12px;
        line-height: 18px;
        text-align: center;
        letter-spacing: 0.1em;
        color: #FFFFFF;
    }

    footer .tel-info p.tel {
        margin-top: 7px;
        margin-bottom: 3px;
        font-family: Roboto;
        font-style: normal;
        font-weight: 300;
        font-size: 31px;
        line-height: 36px;
        text-align: center;
        color: #FFFFFF;
    }

    footer .tel-info p.tel img {
        width: 35.54px;
        height: auto;
    }

    .breadcrumb_box {
        background: #DDDDDD;
        padding: 10px 20px 12px;
    }

    .frex_inline_s_none {
        display: initial;
    }

    .badge {
        font-size: 63%;
        margin: 0;
    }
}

@media all and (max-width: 480px) {
    header div.right div.button {
        width: 55px;
    }
}

/*--navi/sp-------------------------------------------------------------------*/

@media all and (max-width: 1023px) {}

@media all and (max-width: 480px) {
    ul.drawer-menu {
        width: 100%;
    }

    ul.drawer-menu>li {
        background-position: 95% 50%;
    }

    a.drawer-menu-item:hover {
        background-position: 95% 50%;
    }

    ul.drawer-menu {
        overflow: auto;
    }
}

@media all and (max-width: 320px) {}

/*mypage/sp-------------------------------------------------------------------*/

@media all and (min-width: 1024px) {
    #mypage .flex_box .box {
        width: 200px;
    }

    #mypage .gray_btn {
        width: 300px;
    }

    #mypage div#news_list {
        padding: 0 24px;
    }

    #ii {}

    #ii .carousel {
        float: left;
        margin-top: 0;
    }

    .fd img {
        height: 155px;
    }
}

@media all and (min-width: 769px) {
    .seminar .radio01 {
        padding: 0;
        line-height: 57px;
        top: 14px;
        text-align: center;
        width: 34px;
        margin-right: 10px;
    }

    .seminar .radio01::before {
        top: 12%;
        left: 6px;
    }

    .seminar .radio01::after {
        top: 17%;
        left: 13px;
    }
}

@media all and (max-width: 768px) {

    #mypage .gray_btn {
        width: 230px;
    }

    #mypage div#news_list {
        margin: 0 24px;
    }

    .seminar table.answer-question {
        width: 100%;
    }

    .seminar table.answer-question td.qa-content {
        width: auto;
        flex-wrap: wrap;
        padding: 15px;
        padding-bottom: 20px;
    }

    .seminar table.answer-question td.qa-num {
        width: auto;
        text-align: center;
        vertical-align: baseline;
        padding-left: 10px;
    }

    .seminar .chkbox {
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }
}

@media all and (max-width: 480px) {
    #mypage {
        width: 100%;
        margin: 0 auto;
    }

    #mypage h2 {
        margin-top: 5px;
        font-family: Noto Sans JP;
        font-style: normal;
        font-weight: bold;
        font-size: 12px;
        line-height: 160%;
        text-align: center;
        letter-spacing: 0.1em;
        color: #00316C;
    }

    #mypage .gray_btn {
        margin: 0 5px;
        background-image: url(../images/mypage/arrow.svg);
        background-position: 90% 50%;
        background-repeat: no-repeat;
        width: 160px;
        font-family: Noto Sans JP;
        font-size: 12px;
        line-height: 160%;
        letter-spacing: 0.1em;
    }

    .gray_btn.mylibrary_btn {
        height: 70px !important;
        padding: 24px 0;
    }

    .flex_box_s .box {
        width: 160px;
        height: 100px;
        padding: 20px 0;
        background-image: url(../images/mypage/arrow.svg);
        background-position: 90% 50%;
        background-repeat: no-repeat;
        margin: 5px;
        background: #FFFFFF;
        border: 1px solid #DDDDDD;
        box-sizing: border-box;
        border-radius: 6px;
        text-align: center;
        background-image: url('../images/mypage/arrow.svg');
        background-position: 95% 50%;
        background-repeat: no-repeat;
    }

    .flex_box_s .box:hover {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        cursor: pointer;
    }

    img.hotline-img {
        width: 43px;
        height: 38px;
    }

    img.lifeplanning-img {
        width: 50px;
        height: 45px;
    }

    img.maintenance-img {
        width: 45px;
        height: 44px;
    }

    img.mirakare-img {
        width: 43px;
        height: 39px;
    }

    img.assessment-img {
        width: 54px;
        height: 40px;
    }

    img.housingloan-img {
        width: 39px;
        height: 41px;
        position: relative;
    }

    img.introduction-img {
        height: 40px;
        position: relative;
    }

    img.premium-img {
        height: 40px;
        position: relative;
        width: 20px;
    }

    div.premium-img h2 {
        line-height: 110% !important;
        margin-top: 1px !important;
    }

    h2.introduction-h2 {
        position: relative;
        top: -14px;
    }


    #mypage .menu_box {
        padding: 0 24px;
    }

    table.housingloan-dates tr td .radio01 {
        padding-right: 10px;
        letter-spacing: 0;
    }

    table.housingloan-dates tr td small {
        margin-left: 6px;
        margin-top: 5px;
        display: block;
    }

    table.housingloan-dates tr td.end {
        padding: 3px 10px;
    }

    #introduction .width800 {
        width: 95% !important;
    }

    #introduction .circle {
        width: 160px !important;
        height: 160px !important;
        background-size: 40px !important;
        background-position: 50% 75% !important;
    }

    #introduction h2 {
        font-size: 17px !important;
        width: 69%;
        margin-right: auto;
        margin-left: auto;
    }

    #introduction .circle-inner {
        font-size: 16px !important;
        width: 80% !important;
    }

    #introduction div.sales-user-container {
        width: 327px !important;
    }

    #introduction div.sales-user-container img {
        height: 145px !important;
        max-width: 250px !important;
    }

    #introduction p.company-small {
        font-size: 13px !important;
        line-height: 23px !important;
    }

    #introduction p.sales-name {
        font-size: 17px !important;
        line-height: 30px !important;
    }

    #introduction p.introduction-p {
        font-size: 13px !important;
        line-height: 23px !important;
        text-align: left;
        width: 327px !important;
        margin: auto;
    }

    .introduction p.small {
        padding: 0 !important;
    }

    .introduction div.check_w {
        width: 100% !important;
    }

    #free-online {
        width: 90%;
    }

    #free-online h2 {
        font-size: 20px;
    }

    #free-online .fine p {
        font-size: 14px !important;
    }

    #free-online .held {
        font-size: 13px !important;
    }

    #free-online .better {
        font-size: 15px !important;
    }

    .box_s_img {
        position: relative;
    }

    img.img_family {
        width: 100px;
        position: relative;
        left: 60px;
        top: 10px;
    }

    img.hand_to {
        width: 100px;
        position: relative;
        top: 66px;
        right: 116px;
    }

    .arow-wrap {
        width: 87%
    }

    .arrow-left {
        left: 0px !important;
    }
}

@media all and (max-width: 320px) {
    .flex_box_s .box {
        width: 145px;
    }

    #mypage .gray_btn {
        width: 150px;
        font-size: 10px;
    }
}

/*users/sp-------------------------------------------------------------------*/

@media all and (max-width: 1023px) {}

@media all and (max-width: 480px) {

    .login,
    .forgot {
        padding: 0 24px;
    }

    label .description,
    div .description {
        font-size: 12px;
    }

    .login_menu ul>li {
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 0.1em;
    }

    .forgot p,
    .reset p {
        font-size: 13px;
        line-height: 26px;
    }

    .reset div {
        font-size: 31px;
        line-height: 36px;
    }

    .reset div>span {
        font-size: 10px;
        line-height: 15px;
    }

}

@media all and (max-width: 320px) {}

/*users/rules/sp-------------------------------------------------------------------*/

@media all and (max-width: 1024px) {
    div#rules {
        padding: 0 24px !important;
    }

    .red.ribbon {
        left: -62px !important;
    }
}

@media all and (max-width: 480px) {
    div#rules {
        padding: 0 24px !important;
    }

    #rules h2 {
        font-size: 24px !important;
    }
}

/*-profile/sp-----------------------------------------------------------------*/

@media all and (max-width: 1023px) {}

@media all and (max-width: 480px) {
    #profile {
        width: 100%;
        margin: 0 auto;
    }

    #profile ul>li,
    #profile p {
        padding: 0 24px;
    }

    #profile h3 {
        margin: 0 24px;
    }
}

@media all and (max-width: 320px) {}

/*--maintenance---------------------------------------------------------------*/

@media all and (max-width: 1023px) {}

@media all and (max-width: 480px) {
    img.maintenance_img {
        padding: 0;
    }

    .maintenance h2 {
        font-weight: normal;
        font-size: 17px;
        line-height: 30px;
    }

    .maintenance p {
        font-weight: normal;
        font-size: 13px;
        line-height: 26px;
        text-align: center;
    }

    .maintenance label {
        font-family: Noto Sans JP;
        font-style: normal;
        font-weight: normal;
        font-size: 13px;
        line-height: 19px;
        letter-spacing: 0.1em;
        color: #00316C;
    }

    label.checkbox_text {
        font-size: 13px;
        line-height: 19px;
        text-align: left;
    }

    .external_box {
        padding: 0 24px;
    }

    .external_box .checkbox_text {
        padding-top: 0px;
    }

    .maintenance-rush h3 br {
        display: none;
    }
}

@media all and (max-width: 320px) {}

/*--lifeplanning/sp-----------------------------------------------------------------*/

@media screen and (min-width:768px) and (max-width:1024px) {
    .worries_box {
        padding: 80px 50px;
    }

    .worries_box .flow_img {
        padding: 0 20px;
    }

    #profile {
        width: 90%;
        margin: 0 auto;
        padding: 0 24px;
    }
}

@media all and (max-width: 320px) {

    .worries_box .open_btn,
    .worries_box .close_btn {
        width: 100%;
    }
}

/*--housedock/sp-----------------------------------------------------------------*/

@media all and (max-width: 1024px) {
    .housedock .lg_btn {
        font-size: 10px;
        width: 220px !important;
    }

    .housedock ul.merit_box {
        margin: 0 24px;
        padding: 50px;
    }

    .uneasiness_box p {
        width: 230px !important;
        background-size: contain;
    }

    .uneasiness_box span.position {
        width: 200px !important;
        top: 35% !important;
    }

    img.s-none.deliveryservice01 {
        margin-bottom: 64px;
    }

    .housedock .benefit_box {
        width: 220px;
    }

    .housedock h6 {
        font-size: 18px;
    }

    .housedock .sample_box {
        margin: 0 30px;
    }
}

@media all and (max-width: 480px) {
    .housedock h2 {
        font-weight: normal;
        font-size: 17px;
        line-height: 30px;
        color: #00316C;
    }

    img.housedock_img {
        width: 223px;
    }

    .housedock p {
        font-weight: normal;
        font-size: 13px;
        line-height: 26px;
        padding: 0 24px;
    }

    .lifeplanning h4,
    .housedock h4 {
        font-size: 18px;
        line-height: 27px;
        padding: 16px 0;
    }

    .housedock .service_box h3 {
        font-size: 17px;
        line-height: 30px;
    }

    .housedock .service_box {
        margin: 0 24px;
    }

    .housedock .benefits_img {
        height: 100%;
    }

    .housedock ul.merit_box {
        background: #F8F8F8;
        border-radius: 6px;
        padding: 30px 24px;
        margin: 0 24px;
    }

    .merit_box li {
        font-size: 13px;
        line-height: 19px;
    }

    .merit_box li>span {
        margin: 10px;
    }

    .housedock .service_box {
        background: #F8F8F8;
        border-radius: 6px;
        padding: 40px 0;
    }

    .housedock .service_box {
        margin: 0 24px;
    }

    .uneasiness_box p {
        background-position: center;
        width: auto;
        margin: 0 auto;
    }

    .uneasiness_box span.position {
        top: 45% !important;
    }

    .housedock .accordion_box {
        margin: 0px;
    }

    .displayNone {
        display: none;
    }

    .accordion a {
        display: block;
    }

    .seminar-place .accordion h2 {
        font-size: 16px;
    }

    .seminar-place span.Plus,
    .seminar-place span.Minus {
        top: 48px !important;
        right: -29px !important;
    }

    .switch {
        cursor: pointer;
        font-weight: bold;
        position: relative;
        box-sizing: border-box;
        padding: 15px 0;
    }

    span.Plus,
    span.Minus {
        position: absolute;
        right: 20px;
    }

    span.Minus {
        display: none;
    }

    .housedock h4 {
        font-size: 18px;
        line-height: 27px;
        padding: 16px 0;
        font-family: Noto Sans JP;
    }

    .annotation_txt {
        font-size: 10px;
    }

    .housedock span.warning {
        font-weight: normal;
        font-size: 10px;
        line-height: 15px;
    }

    img.service_img {
        width: 182px;
    }

    img.benefits01_img {
        width: 71px;
    }

    img.benefits02_img {
        width: 131px;
    }

    img.benefits03_img {
        width: 96px;
    }
}

@media all and (max-width: 320px) {
    .housedock h4 {
        font-size: 13px !important;
    }

    .tab_box {
        width: 250px;
    }
}

/*seminar/sp-------------------------------------------------------------------*/

@media all and (max-width: 480px) {
    .housingloan-modal .modal__content {
        max-width: 240px;
        padding: 15px;
    }

    .housingloan-modal .modal__content .modal-title {
        padding: 15px 30px;
        font-size: 20px;
        line-height: 35px;
    }

    .housingloan-modal .modal__content .modal-title+.contents {
        margin-top: 110px;
        font-size: 11px;
        line-height: 22px;
    }

    .housingloan-modal .modal__content .modal-title::before {
        width: 270px;
        height: 113px;
        background: url("/images/mypage/modal_title_bg_sp.svg");
    }

    .housingloan-modal .modal__content .modal-title+.contents .gray_btn {
        width: 192px;
        height: 50px;
    }

    .housingloan-modal .modal__content .lg_btn {
        width: 100% !important;
    }

    .seminar-question-modal .modal__content {
        width: 80% !important;
        padding: 70px 15px !important;
    }

    .seminar-question-modal .modal__content .img-wrapper {
        width: 100% !important;
    }

    .seminar-question-modal .modal__content p {
        font-size: 13px !important;
    }

    .seminar-question-modal .modal__content h2 {
        font-size: 19px !important;
    }

    .seminar .width400,
    .seminar .width600,
    .seminar .width700,
    .seminar .width800,
    .seminar-place .width800 {
        width: 90% !important;
        margin: 0 auto;
    }

    .seminar .width800 div.seminar-image img {
        width: 100% !important;
    }

    .seminar h2,
    .seminar p.seminar-kind,
    .seminar-contact_form h2 {
        font-size: 16px !important;
        font-weight: normal !important;
    }

    .seminar div.width700 h2 {
        font-size: 23px;
    }

    .seminar p,
    .seminar p.seminar-place,
    .seminar table.qa_answer {
        font-size: 13px;
    }

    .seminar .qa_answer {
        line-height: 24px;
    }

    .seminar .m-t-s96 {
        margin-top: 96px;
    }

    .seminar p.txt {
        font-size: 14px;
    }

    .seminar img.seminar-image {
        width: 100%;
    }

    .seminar p.notes {
        display: none;
    }

    .seminar p.sm-notes {
        margin: 11px 0px;
        display: block;
        font-size: 12px;
        line-height: 18px;
        word-wrap: break-word;
    }

    .seminar .result-area h1 {
        font-size: 21px !important;
    }

    .seminar .m-l16 {
        margin-left: 8px;
    }

    .seminar img.seminar-icon {
        width: 38px;
    }

    .seminar p.declaration-form {
        font-size: 13px;
        margin-top: 96px;
    }

    .seminar p.seminar-place {
        line-height: 18px;
    }

    .seminar table td.chkbox {
        display: none;
    }

    .seminar table td div.sm-chkbox {
        margin: 20px 0px;
        display: block;
        text-align: center;
    }

    .seminar .radio01 {
        display: initial;
    }

    .seminar h1.click-resut-text {
        display: none;
    }

    .seminar div.m-r24 {
        margin-right: 0;
    }

    div.radio-s-satisfaction {
        width: 66%;
    }

    div.radio-s-understand {
        width: 80%;
    }

    .seminar-place iframe.youtube {
        max-height: 210px !important;
    }

    .answerQuestionArea .sod_select,
    .seminar-contact_form .sod_select {
        width: 200px !important;
    }

    .sales-modal .modal__content {
        width: 80% !important;
    }

    .sales-modal .modal__content .modal-title p {
        font-size: 13px !important;
        line-height: 23px !important;
        width: 220px;
        margin: auto;
        text-align: left;
    }

    .sales-modal .modal__content .modal-title {
        height: 173px;
        z-index: 9999;
    }

    .company-select-modal .modal__content {
        width: 95% !important;
    }

    .company-select-modal .modal__content .modal-title p {
        width: 100% !important;
        text-align: center !important;
    }

    .company-select-modal .modal__content .modal-title .triangle {
        display: initial !important;
        top: 95px;
    }

    .company-select-modal .modal__content .radio01 {
        position: relative !important;
        top: 0;
        left: 0;
        font-size: 11px !important;
        font-weight: 500 !important;
    }

    .flex_sm {
        width: 50%;
        text-align: left;
    }

    .sales-modal .modal__content .modal-title .triangle {
        top: 154px;
    }

    .company-select-modal .modal__content .modal-title .triangle {
        top: 95px;
    }

    .sales-modal .modal__content .contents textarea {
        height: 221px;
    }

    .sales-modal .modal__content .modal-title+.contents {
        height: 475px;
        top: 181px;
    }

    .company-select-modal .modal__content .modal-title+.contents {
        height: 629px;
        top: 147px;
    }

    .company-select-modal .modal__content .map-lg {
        display: none;
    }

    .company-select-modal .modal__content img.map-sm {
        display: initial !important;
    }

    .sales-modal .modal__content {
        height: 656px;
    }

    input.element.input-sm {
        width: 86% !important;
    }

    input.element.input-md {
        width: 92% !important;
    }

    .mailchanges-modal .modal__content .modal-title+.contents {
        height: 450px;
    }

    .mailchanges-modal .modal__content .modal-title h2,
    .moving-modal .modal__content .modal-title h2 {
        font-size: 20px !important;
    }

    .moving-modal .modal__content .modal-title p {
        font-size: 14px !important;
        line-height: 16px !important;
    }

    .moving-modal .modal__content .modal-title+.contents {
        height: 310px;
    }
}

@media screen and (max-width:820px) {
    .moving-modal .modal__content {
        width: 90%;
        height: 484px;
    }
}

@media all and (max-width: 800px) {
    .seminar .width700 {
        width: 650px;
    }

    .seminar .width800,
    #introduction .width800,
    #mypage .width800 {
        width: 95%;
    }

    .seminar-place .width800 {
        width: 90%;
    }

    .seminar p.possible-date {
        position: initial;
        margin: 8px 0px;
    }

    .seminar p.possible-date-up {
        margin-left: 0;
        margin-bottom: 8px;
    }

    .seminar .seminar-btn {
        display: block;
    }

    .seminar div.seminar-btn-up {
        margin-top: 0;
    }

    .seminar div.flex_order {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: grid;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .seminar div.order1 {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
    }

    .seminar div.order2 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
    }

    .seminar div.order3 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;
    }

    .seminar-place .accordion h2 {
        width: 80%;
        margin: auto;
    }

    .seminar-place span.Plus,
    .seminar-place span.Minus {
        right: -42px;
    }

    .maintenance div.s-none {
        display: none !important;
    }

    .maintenance div.t-none {
        display: inherit !important;
        text-align: center;
    }

    .maintenance div.flex_box_none {
        display: inherit !important;
    }

    .maintenance-rush div.width600,
    .maintenance-rush div.width700 {
        width: 90%;
    }

    .maintenance-rush h2 {
        font-size: 33px !important;
    }

    .maintenance-rush h3 {
        font-size: 17px !important;
    }

    .maintenance-rush p,
    .maintenance-rush a {
        font-size: 13px !important;
    }

    #sales_introduction .fvLine.lower {
        top: 60px;
    }

    #youtube {
        width: 98%;
    }
}

@media all and (max-width: 540px) {
    .seminar h2.under {
        border-bottom: none;
    }

    .seminar span.under {
        border-bottom: solid;
        border-color: #00316C;
        border-width: 1px;
        display: inline-block;
        margin-bottom: 10px;
    }

    .seminar .width700,
    .seminar .width800:not(.seminar-place .width800) {
        width: 500px;
    }

    .seminar .flex_box {
        display: block;
    }

    .seminar div.seminar-image {
        margin-top: 8px;
        text-align: center;
    }

    .fvLine.lower h1 {
        font-size: 39px;
    }

    .seminar-place iframe.youtube {
        max-height: 273px;
    }
}

@media all and (max-width: 320px) {
    .seminar-place .width800 {
        width: 100% !important;
    }

    .seminar-place .questionnaire-sm {
        width: 90% !important;
    }

    .seminar-place div.radio-s-satisfaction {
        width: 54% !important;
    }
}

/* IE対応 */

@media all and (-ms-high-contrast: none) {
    .seminar p.possible-date-up {
        margin-left: 316px;
    }

    .seminar img.seminar-icon {
        height: 60px;
        width: 45px;
    }

    .seminar p.seminar-kind,
    .seminar p.held-count-participants {
        width: 101%;
    }
}

/*フォーム共通-----------------------------------------------------------------*/

@media all and (max-width: 1023px) {

    .switch.m-double-row .Plus,
    .switch.m-double-row .Minus {
        top: 34px !important;
    }
}

@media all and (max-width: 480px) {
    #contact_form {
        width: 100%;
        margin: 0 auto;
    }

    #contact_form p {
        font-weight: 300;
        font-size: 13px;
        line-height: 26px;
        padding: 0 24px;
    }

    p.required-under {
        padding: 0 !important;
    }

    #contact_form form {
        margin: 0 24px;
    }

    #contact_form ul>li>div {
        padding: 0;
    }

    input#element,
    textarea#element,
    input.element {
        background: #F8F8F8;
        width: 94%;
        height: 30px;
        margin-top: 8px;
        font-size: 13px;
        padding: 10px;
    }

    textarea {
        background: #F8F8F8;
        width: 94%;
        height: 80px;
        margin-top: 8px;
        font-size: 13px;
        resize: none;
        padding: 10px;
    }

    .analyze-img {
        height: 38px;
    }
}

@media all and (max-width: 320px) {

    input#element,
    textarea#element,
    input.element {
        background: #F8F8F8;
        width: 255px;
        height: 30px;
        margin-top: 8px;
        font-size: 13px;
        padding: 10px;
    }

    textarea {
        background: #F8F8F8;
        width: 255px;
        height: 80px;
        margin-top: 8px;
        font-size: 13px;
        resize: none;
        padding: 10px;
    }
}

/*共通/sp---------------------------------------------------------------------*/

@media all and (max-width: 1023px) {

    span.Plus.pm-sm-row3,
    span.Minus.pm-sm-row3 {
        top: 45px;
    }
}

@media all and (max-width: 480px) {
    #common {
        width: 100%;
        margin: 0 auto;
    }

    #common h2 {
        font-size: 17px;
        line-height: 30px;
        text-align: center;
        letter-spacing: 0.1em;
    }

    .width600,
    .width800,
    .width924,
    .width700,
    .width1180 {
        width: 100%;
        margin: 0 auto;
    }

    .fastdoctor .width600 {
        width: 95% !important;
    }

    .diagonal_title {
        height: 180px;
    }

    .diagonal_title::before {
        border-width: 0 0 100px 150vw;
    }

    .fvLine.lower h1,
    .diagonal_title h1 {
        height: 100%;
        font-size: 22px;
        line-height: 1.5em;
        letter-spacing: 0.1em;
        display: flex;
        align-items: center;
        padding-bottom: 9%;
    }

    .fvLine.lower h1 {
        display: block;
        margin-top: 50px;
        line-height: inherit;
    }

    .fvLine.lower h1 span {
        font-size: small !important;
    }
}

@media all and (max-width: 320px) {}

/*base/sp-------------------------------------------------------------------*/

@media screen and (min-width: 1023px) {
    .p-none {
        display: none;
    }

    .m-t-s32 {
        margin-top: 32px;
    }

}

@media screen and (min-width:800px) and (max-width:1023px) {
    .mt-none {
        display: none;
    }
}

@media screen and (min-width:481px) and (max-width:1023px) {
    .p-t-s64 {
        padding-top: 64px;
    }

    .m-t-s0 {
        margin-top: 0px;
    }

    .m-t-s8 {
        margin-top: 8px;
    }

    .m-t-s16 {
        margin-top: 16px;
    }

    .m-t-s24 {
        margin-top: 24px;
    }

    .m-t-s32 {
        margin-top: 32px;
    }

    .m-t-s48 {
        margin-top: 48px;
    }

    .m-t-s64 {
        margin-top: 64px;
    }

    .m-t-s72 {
        margin-top: 72px;
    }

    .m-t-s80 {
        margin-top: 80px;
    }

    .m-t-s96 {
        margin-top: 96px;
    }

    .m-t-s128 {
        margin-top: 128px;
    }

    .m-t-s184 {
        margin-top: 184px;
    }

    .m-b-s0 {
        margin-bottom: 0px;
    }

    .m-b-s8 {
        margin-bottom: 8px;
    }

    .m-b-s10 {
        margin-bottom: 10px;
    }

    .m-b-s16 {
        margin-bottom: 16px;
    }

    .m-b-s24 {
        margin-bottom: 24px;
    }

    .m-b-s32 {
        margin-bottom: 32px;
    }

    .m-b-s48 {
        margin-bottom: 48px;
    }

    .m-b-s64 {
        margin-bottom: 64px;
    }

    .m-b-s72 {
        margin-bottom: 72px;
    }

    .m-b-s80 {
        margin-bottom: 80px;
    }

    .m-b-s96 {
        margin-bottom: 96px;
    }

    .m-b-s112 {
        margin-bottom: 112px;
    }

    .m-b-s128 {
        margin-bottom: 128px;
    }


    .t-none {
        display: none;
    }

    .companies-map-container {
        display: none;
    }
}

@media all and (min-width: 480px) {
    #fixedMoveButton {
        margin-left: 16px;
    }
}

@media all and (max-width: 480px) {
    .p-t-s64 {
        padding-top: 64px;
    }

    .p-l-s0 {
        padding-left: 0;
    }

    .p-r-s0 {
        padding-right: 0;
    }

    .m-auto-s {
        margin: auto !important;
    }

    .m-t-s0 {
        margin-top: 0px;
    }

    .m-t-s8 {
        margin-top: 8px;
    }

    .m-t-s16 {
        margin-top: 16px;
    }

    .m-t-s24 {
        margin-top: 24px;
    }

    .m-t-s32 {
        margin-top: 32px !important;
    }

    .m-t-s48 {
        margin-top: 48px;
    }

    .m-t-s5 {
        margin-top: 5px !important;
    }

    .m-t-s64 {
        margin-top: 64px !important;
    }

    .m-t-s72 {
        margin-top: 72px;
    }

    .m-t-s80 {
        margin-top: 80px;
    }

    .m-t-s96 {
        margin-top: 96px;
    }

    .m-t-s128 {
        margin-top: 128px;
    }

    .m-t-s184 {
        margin-top: 184px;
    }

    .m-b-s0 {
        margin-bottom: 0px;
    }

    .m-b-s8 {
        margin-bottom: 8px;
    }

    .m-b-s10 {
        margin-bottom: 10px;
    }

    .m-b-s16 {
        margin-bottom: 16px;
    }

    .m-b-s24 {
        margin-bottom: 24px;
    }

    .m-b-s32 {
        margin-bottom: 32px;
    }

    .m-b-s48 {
        margin-bottom: 48px;
    }

    .m-b-s64 {
        margin-bottom: 64px !important;
    }

    .m-b-s72 {
        margin-bottom: 72px;
    }

    .m-b-s80 {
        margin-bottom: 80px;
    }

    .m-b-s96 {
        margin-bottom: 96px;
    }

    .m-b-s112 {
        margin-bottom: 112px;
    }

    .m-b-s128 {
        margin-bottom: 128px;
    }

    .m-l-s0 {
        margin-left: 0px !important;
    }

    .m-l-s10 {
        margin-left: 10px !important;
    }

    .m-l-s16 {
        margin-left: 16px !important;
    }

    .m-l-s24 {
        margin-left: 24px !important;
    }

    .m-l-s32 {
        margin-left: 32px !important;
    }

    .m-l-s48 {
        margin-left: 48px !important;
    }

    .m-l-s64 {
        margin-left: 64px !important;
    }

    .m-l-s72 {
        margin-left: 72px !important;
    }

    .m-l-s80 {
        margin-left: 80px !important;
    }

    .m-l-s96 {
        margin-left: 96px !important;
    }

    .m-l-s112 {
        margin-left: 112px !important;
    }

    .m-l-s128 {
        margin-left: 128px;
    }

    .p-s24 {
        padding: 0 24px !important;
    }

    .flex_box_s {
        display: flex;
        justify-content: center;
    }

    .flex_box_s_none {
        display: block;
    }

    .flex_box_none {
        display: inherit;
        justify-content: inherit;
    }

    .flex_s {
        display: flex !important;
    }

    .justify_left {
        justify-content: left;
    }

    .justify_center_s {
        justify-content: center;
    }

    .txt-c-s {
        text-align: center;
    }

    .s-none {
        display: none !important;
    }

    .reverse {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    #pagination.flex_box_btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navy-md-label {
        width: 97% !important;
    }

    .seminar img.no-info {
        width: 97% !important;
    }

    .seminar div.seminar-schedule-box {
        display: none;
    }

    .seminar div.seminar-schedule-box-sm {
        display: block;
    }

    .seminar .seminar-index-txt-sm {
        display: block;
    }

    .seminar .seminar-index-txt {
        display: none;
    }

    .seminar div.seminar-doc-line h2 {
        font-size: 17px !important;
        width: 217px;
    }

    span.white-label {
        padding: 0 10px !important;
    }
}

@media all and (max-width: 320px) {}

/*--analyze/sp------------------------------------------------------------------------*/

@media all and (max-width: 1023px) {
    #analyze {
        width: 100%;
    }

    #analyze .accordion_box {
        margin: 0 24px;
    }

    .seminar .accordion_box {
        margin: 0;
    }
}

@media (max-width: 960px) {
    #free-online div.cancel_to {
        position: initial;
        padding: 19px;
    }

    #free-online #contact .form {
        width: 100%;
        margin-left: 0;
    }

    #free-online .cancel_to span {
        white-space: initial;
    }
}

@media all and (max-width: 480px) {
    #analyze {
        width: 100%;
    }

    #analyze h2 {
        font-size: 17px;
    }

    .accordion_box {
        margin: 0 24px;
    }

    #free-online .accordion_box {
        margin: 0;
    }

    .contentWrap p {
        padding: 15px;
    }

    #free-online .contentWrap p {
        padding: 0;
    }

    #free-online .check p {
        font-size: 14px !important;
        margin-left: 0;
    }

    #free-online .parent {
        font-size: 14px !important;
        margin-right: 0 !important;
    }

    #free-online .clean_up div>span {
        font-size: 12px !important;
    }

    #free-online #ifo span {
        font-size: 14px !important;
        text-align: center;
    }

    #free-online div.cancel_to {
        position: initial;
        padding: 25px;
    }

    #free-online .max-ws {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    .contentWrap table:not(#questionTable, #questionPropertyTable) {
        margin: 15px;
    }

    .contentWrap table td {
        padding: 1px;
    }

    .result_box {
        padding: 20px;
        margin: 0 24px;
    }

    .result_box>ul>li {
        font-size: 13px;
        line-height: 19px;
    }

    .result_box span {
        padding: 5px;
        display: inline-block;
    }

    .qa>p {
        font-size: 17px;
        line-height: 26px;
        text-align: center;
        padding: 0 24px;
    }

    .yes_img,
    .no_img {
        width: 151px !important;
        margin: 0 10px;
    }

    .qa .flex_box_btn {
        justify-content: center;
    }
}

@media all and (max-width: 320px) {

    .yes_img,
    .no_img {
        width: 145px !important;
        margin: 0 5px;
    }
}

/*--hotline/sp------------------------------------------------------------------------*/

@media only screen and (min-width: 769px) and (max-width: 1030px) {
    .modal__inner {
        justify-content: space-between;
    }

    .modal__inner div {
        max-width: 45%;
        padding: 16px;
    }
}

@media all and (max-width: 768px) {
    .modal__inner {
        padding: 200px 150px;
    }

    .modal__content {
        /* top: 55%; */
    }

    .hotline .flex_box_s {
        display: table-cell;
        justify-content: center;
    }

    .hotline .lifepartner_box {
        margin: 5px;
    }

    .hotline .flex_box_btn {
        display: inline;
    }
}

@media all and (max-width: 480px) {
    .hotline h2 {
        font-size: 17px;
        line-height: 30px;
    }

    .hotline p {
        font-weight: normal;
        font-size: 13px;
        line-height: 26px;
        padding: 0 24px;
    }

    .hotline .contact .title {
        font-size: 15px;
        line-height: 30px;
    }

    .hotline .tel a {
        font-size: 31px;
        line-height: 36px;
    }

    img.hotline_freedial {
        width: 35.54px;
    }

    .hotline h3 {
        font-size: 20px;
        line-height: 30px;
    }

    .hotline .lifepartner_box_s {
        border: 1px solid #DDDDDD;
        box-sizing: border-box;
        border-radius: 6px;
        margin: 8px;
    }

    .hotline .lifepartner_box_s:hover {
        border: 1px solid #FFFFFF;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        cursor: pointer;
    }

    .hotline .lifepartner_box_s div {
        padding: 10px;
        font-family: Noto Sans JP;
        font-style: normal;
        font-weight: bold;
        font-size: 13px;
        line-height: 160%;
        letter-spacing: 0.1em;
        color: #00316C;
        background-image: url(../images/arrow_n_r.svg);
        background-position: 90% 50%;
        background-repeat: no-repeat;
    }

    .hotline .lifepartner_box_s img {
        border-radius: 6px 6px 0 0;
    }

    .hotline p {
        font-weight: normal;
        font-size: 13px;
        line-height: 26px;
        padding: 0;
    }

    /*modal/sp-------------------------------------------------------------------*/
    .modal__inner {
        padding: 90px 24px;
    }

    .hotline .flex_box_s {
        display: table-cell;
        justify-content: center;
    }

    .hotline .close_btn_h {
        width: 30px;
        height: 60px;
    }

    .hotline .close_btn_h:hover {
        width: 30px;
        height: 60px;
    }

    .hotline .close_btn {
        padding: 24px;
    }
}

@media all and (max-width: 320px) {
    .modal__inner div {
        width: 270px !important;
        margin: 0 auto;
    }
}

/*--assessment/sp-------------------------------------------------------------*/

@media all and (max-width: 1023px) {}

@media all and (max-width: 768px) {
    #assessment {
        width: 100%;
        margin: 0 auto;
    }

    .assessment_box {
        padding: 40px 64px;
        margin: 0 24px;
    }

    .assessment_box .lg_btn {
        width: 220px;
    }
}

@media all and (max-width: 480px) {
    #assessment {
        width: 100%;
        margin: 0 auto;
    }

    #assessment h2 {
        font-weight: normal;
        font-size: 17px;
        line-height: 30px;
    }

    .assessment_box {
        padding: 32px 24px;
        margin: 0 24px;
    }

    img.consultationflow_img {
        width: 90%;
        max-width: 327px;
        height: auto;
    }

    textarea#element {
        width: 90%;
    }

    #mypage div#news_list {
        margin: 0 24px;
    }

    #openSelectDesireSalesButton {
        display: block;
    }
}

@media all and (max-width: 320px) {}

/*--mylibrary/sp--------------------------------------------------------------*/

@media all and (max-width: 1024px) {
    .flex_box .box {
        width: 200px;
    }

    .mylibrary {
        padding: 0 24px;
    }

    #mypage .flex_box .box {
        width: 170px;
        margin: 0 10px;
    }
}

@media all and (max-width: 480px) {
    .mylibrary_box {
        margin: 0 24px;
    }

    .mylibrary ul>li {
        font-family: Noto Sans JP;
        font-style: normal;
        font-weight: bold;
        font-size: 12px;
        line-height: 18px;
        display: inherit;
    }

    .mylibrary .flex_box {
        display: flex;
        justify-content: left;
    }

    .mylibrary span.title {
        width: 50%;
        word-break: break-all;
    }

    .circle-pos {
        top: auto;
        bottom: 3%;
        right: 3%;
    }

    #introduction .circle-introduce-toho {
        background-size: 62px !important;
        background-position: 50% 19% !important;
    }

    #introduction .circle-introduce-toho p.circle-inner {
        top: 60% !important;
        font-size: 15px !important;
        width: 99% !important;
        line-height: 16px !important;
    }

    .youtube.e-tax-youtube {
        height: 161px;
        width: 95%;
    }

    span.h2-small {
        font-size: 13px;
    }


    .ribbon {
        top: 8px;
        left: 5px;
        height: auto;
        z-index: 1;
    }

    .ribbon h3 {
        font-size: 11px;
        position: fixed;
    }

    .ribbon h3:before {
        display: none;
    }

    .ribbon h3,
    rb {
        padding: 0 4px;
        line-height: 20px;
    }

    .red.ribbon {
        left: 5px !important;
    }

    .fastdoctor ul.range-list li {
        width: 72%;
    }

    .fastdoctor p.ct {
        padding-left: 0;
        margin-right: 0;
    }

    .fastdoctor p.ct::before {
        margin-left: 0;
    }
}

@media all and (max-width: 320px) {
    .sod_select {
        width: 270px !important;
    }
}

/*--------------------------------------------------------------------------*/

@media all and (max-width: 1600px) {
    .circle-introduce-toho {
        width: 150px !important;
        height: 150px !important;
        background-size: 65px !important;
        background-position: 50% 17% !important;
    }

    .circle .circle-inner-under {
        font-size: 14px !important;
        line-height: 14px !important;
        width: 93% !important;
        top: 62% !important;
    }

    @media all and (max-width: 480px) {}

    @media all and (max-width: 320px) {}

    @media all and (min-width:481px) and (max-width:540px) {
        #contact_form {
            width: 90%;
        }
    }
}

@media screen and (max-width: 1023px) {
    #ii {}

    #mypage img.top-banner {
        width: 300px;
    }

    .carousel {
        width: 340px;
        height: 80px;
    }

    .carousel-list {
        width: 340px;
        height: 80px;
        /* margin-right: 370px; */
        background-size: contain;
    }

    .arrow-btn {
        width: 30px;
        height: 30px;
    }

    .arrow-left {
        left: 18px;
    }

    .fd img {
        height: 155px;
    }

    img.fd {
        border: #00316C 2px solid;
    }

    .gray_btn.mylibrary_btn {
        height: 58px;
        line-height: normal;
    }

    .fastdoctor-modal .modal__content {
        width: 90% !important;
    }

    .pic_agree div.convention-box {
        width: 95%;
        min-width: unset;
        padding: 0;
        margin-top: 32px;
    }

    .pic_agree .width924 {
        width: 95% !important;
    }

}