#container {
    min-height: auto;
}

body.page-id-8728 .pc_none {
    display: none
}

body.page-id-8728 .s1 .two_box h2 {
    margin: 0
}

body.page-id-8728 h2 img {
    margin: auto
}

body.page-id-8728 .s6 img {
    margin: auto
}

body.page-id-8728 .tel_number {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

body.page-id-8728 .tel_number img {
    width: 102px;
    height: fit-content;
    margin: 0 10px 0 0 !important;
}

body.page-id-8728 .tel_number .number {
    font-size: 70px;
    font-weight: bold;
    color: #FFFF00;
    line-height: 0.9;
}

body.page-id-8728 .s1 .two_box h2 {
    margin: 1.5em 0 1em
}

body.page-id-8728 h3 {
    padding-left: 0;
    border: 0
}

body.page-id-8728 footer {
    content-visibility: visible;
    padding-bottom: 80px !important
}

body.page-id-8728 footer img {
    margin: auto
}

@media screen and (max-width: 768px) {
    body.page-id-8728 .pc_none {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    body.page-id-8728 .s1 .two_box {
        padding-top: 80px !important
    }

    body.page-id-8728 .s1 .two_box h2 {
        margin: 0
    }

    body.page-id-8728 .sp_none {
        display: none
    }

    body.page-id-8728 footer {
        padding-bottom: 20px !important
    }

    body.page-id-8728 footer .pc_none {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    body.page-id-8728 footer .sp_none {
        display: none
    }
}

@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 900;
    src: url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Black.woff2) format('woff2'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Black.woff) format('woff'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Black.otf) format('opentype')
}

@font-face {
    font-family: 'Noto Sans JPb';
    font-style: normal;
    font-weight: 700;
    src: url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Bold.woff2) format('woff2'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Bold.woff) format('woff'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Bold.otf) format('opentype')
}

body.page-id-8728 .left_sns {
    width: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10
}

body.page-id-8728 .left_sns a {
    display: block;
    width: 100%;
    text-align: right;
    padding: 15px 0
}

body.page-id-8728 {
    background: #fff;
    background-size: 0 !important;
    color: #222
}

body.page-id-8728 .s1 {
    background: url(https://bestfactor.jp/wp-content/uploads/2019/08/s1_bg.jpg) no-repeat #043ec4 top center;
    background-size: 120% auto;
    position: relative
}

body.page-id-8728 .s1:after {
    content: "";
    background: url(https://bestfactor.jp/wp-content/uploads/2019/08/s1_bg.png) bottom center;
    display: block;
    padding-top: 10.857%;
    line-height: 0;
    width: 100%;
    position: absolute;
    background-size: inherit;
    bottom: -10vw
}

body.page-id-8728 .s1 header {
    padding-top: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 160px
}

body.page-id-8728 .s1 header h1 {
    margin-right: 20px
}


body.page-id-8728 .s1 header .head_tel a {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    font-weight: bold;
}

body.page-id-8728 .s1 header .head_tel a img {
    width: 49px;
}

body.page-id-8728 .s1 header .head_tel a .number {
    font-size: 30px;
    color: #222222;
    margin: 0 9px;
    line-height: 0.9;
}

body.page-id-8728 .s1 header .head_tel a .time {
    font-size: 16px;
    color: #969696;
    line-height: 1.1;
}


body.page-id-8728 .s1 header .head_contact {
    margin-left: auto
}

body.page-id-8728 #container {
    max-width: 1240px;
    padding: 0 20px 20px;
}

body.page-id-8728 h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 32px;
    padding-left: 0;
    color: #222;
}

body.page-id-8728 h3,
body.page-id-8728 p {
    font-family: 'Noto Sans JPb', sans-serif;
}

body.page-id-8728 h3 {
    padding: .3em 0;
    border: none;
}

body.page-id-8728 .s1 p {
    padding-bottom: 35px
}

body.page-id-8728 .two_box {
    display: flex
}

body.page-id-8728 .s1 .two_box .two_box_txt {
    width: 62%
}

body.page-id-8728 .s1 .two_box .two_box_txt {
    position: relative;
    top: -110px;
    line-height: 150px;
}

body.page-id-8728 .s1 .two_box .two_box_img {
    margin-left: -80px;
    flex: 1
}

body.page-id-8728 .s2 {
    margin-top: 250px;
    max-width: 1300px;
    margin: 12.4vw auto 150px;
    padding: 0 30px
}

body.page-id-8728 .s2 .two_box {
    justify-content: space-between;
    align-items: center
}

body.page-id-8728 .s1 .s2 .two_box .two_box_img {
    width: 50%;
    margin-left: 0;
    flex: initial
}

body.page-id-8728 .s1 .s2 .two_box .two_box_txt {
    width: 45%
}

body.page-id-8728 .s2 h3 {
    font-size: 38px;
    color: #fff;
    padding: .3em 0
}

body.page-id-8728 .s2 p {
    color: #fff;
    line-height: 1.5
}

body.page-id-8728 .s3 {
    text-align: center
}

body.page-id-8728 .s3 h2 {
    color: #fff
}

body.page-id-8728 .s4 {
    text-align: center;
    padding-top: 250px
}

body.page-id-8728 .s5 {
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/s5_bg.jpg) no-repeat top center #E8EFF9;
    background-size: 120% auto;
    position: relative
}

body.page-id-8728 .s5 h2 {
    text-align: center;
    padding-top: 60px
}

body.page-id-8728 .s5 .two_box {
    justify-content: space-between
}

body.page-id-8728 .s5 .two_box_txt {
    width: 45%
}

body.page-id-8728 .s5 .two_box_txt h3 {
    font-size: 32px;
    color: #043EC4;
    text-shadow: #fff 2px 0px, #fff -2px 0px, #fff 0px -2px, #fff 0px 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px
}

body.page-id-8728 .s5 .two_box_txt p {
    margin-bottom: 1em;
    text-shadow: #fff 2px 0px, #fff -2px 0px, #fff 0px -2px, #fff 0px 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px
}

body.page-id-8728 .s5 .two_box_img {
    width: 45%
}

body.page-id-8728 .s5 .two_box_img img {
    margin-bottom: 30px
}

body.page-id-8728 .s6 {
    text-align: center;
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/s6_bg.png) no-repeat top center #043ec4;
    background-size: 100% auto;
    position: relative;
    padding-top: 12vw;
    color: #fff
}

body.page-id-8728 .s6:after {
    content: "";
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/s6_bg2.png) top center;
    display: block;
    padding-top: 9.357%;
    line-height: 0;
    width: 100%;
    position: absolute;
    background-size: cover;
    bottom: -9vw
}

body.page-id-8728 .s6 img {
    margin: auto;
    margin-bottom: 30px
}

body.page-id-8728 .s6 p {
    margin-top: -15px;
    font-size: 24px
}

body.page-id-8728 .s6 p small {
    font-size: 18px
}

body.page-id-8728 .s6 ul {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 30px auto
}

body.page-id-8728 .s7 {
    background: #E8EFF9;
    position: relative;
    margin-top: 9%
}

body.page-id-8728 .s7:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    bottom: 0;
    background: #fff
}

body.page-id-8728 .s7 #container>img {
    position: relative;
    z-index: 1
}

body.page-id-8728 .s7 h2 {
    text-align: center
}

body.page-id-8728 .s8 {
    padding-bottom: 80px
}

body.page-id-8728 .s8 h2 {
    font-size: 46px;
    padding-top: 30px;
    text-align: center
}

body.page-id-8728 .s8 table,
body.page-id-8728 .s8 table tr:first-child td:first-child {
    border: none
}

body.page-id-8728 .s8 table td {
    border: 1px solid #CDDAE3;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 30px 25px;
    vertical-align: top;
    width: 28%
}

body.page-id-8728 .s8 table td:last-child {
    color: #0286DB
}

body.page-id-8728 .s8 table td strong {
    background: linear-gradient(transparent 60%, #FDFF17 60%)
}

body.page-id-8728 .s8 table td img {
    width: 45%
}

body.page-id-8728 .s8 table tr:nth-child(even) {
    background: #EFF4F8
}

body.page-id-8728 .s8 table tr:nth-child(even) td:last-child {
    background: #e1f4ff
}

body.page-id-8728 .s8 table tr:nth-child(6) td {
    vertical-align: middle
}

body.page-id-8728 .s8 table tr:nth-child(7) td,
body.page-id-8728 .s8 table tr:nth-child(8) td {
    text-align: left;
    padding: 30px 15px
}

body.page-id-8728 .s8 table th {
    border: 1px solid #CDDAE3;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 30px 25px;
    width: 16%;
    vertical-align: middle;
    background: #043ec4;
    color: #fff
}

body.page-id-8728 .s8 table tr:first-child td:first-child {
    width: 16%
}

body.page-id-8728 .s9 {
    padding: 40px 0 80px;
    background: #e8eff9
}

body.page-id-8728 .s9 h2 {
    text-align: center
}

body.page-id-8728 .s9 .slider {
    width: 100%;
    margin: 0 auto 80px
}

body.page-id-8728 .s9 .slider .slick-slide {
    margin: 0 40px;
    -webkit-filter: opacity(50%);
    -moz-filter: opacity(50%);
    -o-filter: opacity(50%);
    -ms-filter: opacity(50%);
    filter: opacity(50%);
    transition: 0.2s linear
}

body.page-id-8728 .s9 .slider .slick-slide.slick-active {
    -webkit-filter: opacity(100%);
    -moz-filter: opacity(100%);
    -o-filter: opacity(100%);
    -ms-filter: opacity(100%);
    filter: opacity(100%)
}

body.page-id-8728 .s9 .slider .slide-arrow {
    position: absolute;
    top: 50%;
    margin-top: -56px;
    z-index: 99999999
}

body.page-id-8728 .s9 .slider .prev-arrow {
    left: 20%
}

body.page-id-8728 .s9 .slider .next-arrow {
    right: 20%
}

body.page-id-8728 .s9 .slider li:before {
    content: "";
    display: block;
    width: 100%;
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/s9_02.png) no-repeat left top;
    height: 60px
}

body.page-id-8728 .s9 .slider .slider_itembox {
    box-shadow: 0 0 8px rgba(0, 0, 0, .3);
    background: #fff;
    padding: 40px 50px;
    position: relative
}

body.page-id-8728 .s9 .slider .slider_itembox:after {
    content: "";
    position: absolute;
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/arrow2.png) no-repeat left top;
    width: 100%;
    height: 48px;
    bottom: -48px;
    display: block;
    left: -7px
}

body.page-id-8728 .s9 .slider .slick-slide>img {
    padding-top: 60px
}

body.page-id-8728 .s9 .slider .slider_itembox .s_i_title {
    font-size: 24px;
    font-weight: bold;
    color: #043EC4;
    padding-bottom: 20px;
    font-family: 'Noto Sans JPb', sans-serif
}

body.page-id-8728 .s9 .slider .slider_itembox p {
    font-size: 16px;
    line-height: 26px
}

body.page-id-8728 .s10 {
    padding: 50px 0
}

body.page-id-8728 .s10 h2 {
    text-align: center;
    font-size: 46px
}

body.page-id-8728 .s10 dt {
    border: 1px solid #043EC4;
    position: relative;
    font-family: 'Noto Sans JPb', sans-serif;
    font-weight: bold;
    font-size: 21px;
    color: #043EC4;
    padding: 20px 0;
    margin-bottom: 5px;
    cursor: pointer;
    padding-left: 90px
}

body.page-id-8728 .s10 dt:before {
    content: "";
    display: block;
    width: 70px;
    height: 72px;
    position: absolute;
    left: 0;
    top: 0;
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/s10_01.png) no-repeat center #043EC4
}

body.page-id-8728 .s10 dt:after {
    content: "";
    position: absolute;
    right: 25px;
    top: 38%;
    transition: all 0.2s ease-in-out;
    display: block;
    width: 15px;
    height: 15px;
    border-top: solid 3px #043EC4;
    border-right: solid 3px #043EC4;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg)
}

body.page-id-8728 .s10 dt.open:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 45%
}

body.page-id-8728 .s10 dd {
    display: none;
    position: relative;
    padding: 20px 0;
    margin-bottom: 5px;
    padding-left: 90px;
    border: 1px solid #0783DB;
    color: #0783DB;
    font-family: 'Noto Sans JPb', sans-serif;
    font-weight: bold;
    font-size: 21px
}

body.page-id-8728 .s10 dd:before {
    content: "";
    display: block;
    width: 70px;
    height: -webkit-fill-available;
    position: absolute;
    left: 0;
    top: 0;
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/s10_02.png) no-repeat center #0783DB
}

body.page-id-8728 .s11 {
    text-align: center;
    padding-bottom: 80px
}

body.page-id-8728 .s12 {
    padding: 30px 0 80px;
    background: #e8eff9
}

body.page-id-8728 .s12 #container {
    max-width: 800px
}

body.page-id-8728 .s12 #container h2 {
    text-align: center;
    font-size: 46px;
    text-shadow: #fff 2px 0px, #fff -2px 0px, #fff 0px -2px, #fff 0px 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px
}

body.page-id-8728 .s12 #container table {
    border: none;
    width: 100%
}

body.page-id-8728 .s12 #container table tbody th {
    background: #e8eff9;
    text-shadow: #fff 2px 0px, #fff -2px 0px, #fff 0px -2px, #fff 0px 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px;
    font-size: 18px;
    border-left: none;
    border-right: none;
    width: 30%
}

body.page-id-8728 .s12 #container table tbody td {
    background: #e8eff9;
    text-shadow: #fff 2px 0px, #fff -2px 0px, #fff 0px -2px, #fff 0px 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px;
    font-size: 18px;
    border-left: none;
    border-right: none;
    font-weight: bold
}

body.page-id-8728 .s12 #container table tbody td a {
    color: #222
}

body.page-id-8728 footer {
    background: url(https://bestfactor.jp/wp-content/uploads/2019/09/footer_bg.jpg) top center no-repeat #043EC4;
    background-size: 100% auto;
    color: #fff;
    text-align: center;
    padding-top: 80px
}

body.page-id-8728 footer h2 {
    margin-bottom: 0
}

body.page-id-8728 footer img {
    margin: 0 auto 30px;
}

body.page-id-8728 footer p {
    margin-top: -15px;
    font-size: 24px
}

body.page-id-8728 footer p small {
    font-size: 18px
}

body.page-id-8728 footer ul {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 30px auto
}

body.page-id-8728 footer nav ul {
    width: 90%;
    justify-content: center
}

body.page-id-8728 footer nav ul a {
    width: 100%;
    display: block;
    color: #fff;
    text-align: center;
    border-left: 1px solid #fff;
    padding: 0 5px
}

body.page-id-8728 footer nav ul li:first-child a {
    border-left: none
}

body.page-id-8728 footer .footer_sns {
    display: flex;
    justify-content: center;
    padding: 10px;
    align-items: center
}

body.page-id-8728 footer .footer_sns a {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    line-height: 0;
    margin: 0 5px;
    height: 42px
}

body.page-id-8728 footer .footer_sns a img {
    margin-bottom: 0
}

body.page-id-8728 footer #container>small {
    font-size: 16px;
    padding: 30px 0;
    display: block
}

body.page-id-8728 footer .footer_cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 30px 0 0;
    color: #222;
    z-index: 99999999
}

body.page-id-8728 footer .footer_cta .tel_foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 270px;
}

body.page-id-8728 footer .footer_cta .tel_foot .note {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 18px;
    color: #202157;
    text-align: center;
    border: 1px solid #202157;
    border-radius: 20px;
    padding: 4px 5px;
    margin-bottom: 5px;
    line-height: 1;
}

body.page-id-8728 footer .footer_cta .tel_foot img {
    width: 43px;
    height: fit-content;
    margin: 0 5px 0 0 !important;
}

body.page-id-8728 footer .footer_cta .tel_foot .number {
    font-weight: 900;
    font-size: 31px;
    color: #000;
    background: #fff;
    line-height: 1;
}

body.page-id-8728 footer .footer_cta .tel_foot .time {
    width: 100%;
    text-align: right;
    font-size: 18px;
    color: #000;
}

body.page-id-8728 footer .footer_cta .pagetop {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%)
}

body.page-id-8728 footer .footer_cta #container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: auto;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

body.page-id-8728 footer .footer_cta img {
    margin-bottom: 0 !important;
}

body.page-id-8728 footer .footer_cta #container a:last-child {
    text-align: right
}

body.page-id-8728 footer .footer_cta #container p {
    font-size: 16px;
    text-align: left;
    padding: 0;
    margin: 0
}

body.page-id-8728 footer .footer_cta #container p .red {
    color: #b42526
}

body.page-id-8728 footer .footer_cta #container p strong {
    background: linear-gradient(transparent 60%, #fdff17 60%)
}

body.page-id-8728 footer {
    padding-bottom: 150px
}

.pc_n {
    display: none
}

.sp_n {
    display: block
}

@media (max-width: 1100px) {
    body.page-id-8728 footer .footer_cta #container a:last-child {
        width: 30%;
    }

    body.page-id-8728 footer .footer_cta .tel_foot {
        margin-right: 3%;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .note {
        font-size: 14px;
    }

    body.page-id-8728 footer .footer_cta .tel_foot img {
        width: 20%;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .number {
        font-size: 26px;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .time {
        font-size: 14px;
    }
}

@media (max-width: 950px) {
    body.page-id-8728 .s1 header .head_tel a img {
        width: 35px;
    }

    body.page-id-8728 .s1 header .head_tel a .number {
        font-size: 20px;
    }

    body.page-id-8728 .s1 header .head_tel a .time {
        font-size: 12px;
    }
}

@media (max-width: 825px) {
    body.page-id-8728 .s1 header .head_tel {
        display: inline-block;
        width: 190px;
    }

    body.page-id-8728 .s1 header .head_tel a {
        align-items: flex-start;
        justify-content: flex-end;
    }

    body.page-id-8728 .s1 header .head_tel a .number {
        margin-bottom: 5px;
    }
}

@media (max-width: 800px) {
    body.page-id-8728 footer .footer_cta .tel_foot img {
        width: 17%;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .number {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    body.page-id-8728 .s1 .two_box .two_box_txt {
        top: 70px;
    }

    .pc_n {
        display: block
    }

    .sp_n {
        display: none
    }

    body.page-id-8728 {
        overflow-x: hidden
    }

    body.page-id-8728 .tel_number img {
        width: 90px;
    }

    body.page-id-8728 .tel_number .number {
        font-size: 60px;
    }

    #mhead {
        display: block;
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 999999999
    }

    #slide_menu {
        background: #043EC4;
        color: #fff;
        padding: 30px 20px;
        height: 90vh;
        overflow-y: scroll
    }

    .slide_menu_item {
        background: #fff;
        display: flex;
        justify-content: space-between;
        padding: 10px 20px
    }

    .slide_menu_item h1 img {
        max-width: 200px
    }

    #slidetoggle_menu.mnavi {
        width: 100%
    }

    #slide_button {
        display: block;
        position: fixed;
        right: 15px;
        top: 16px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        z-index: 3;
        box-shadow: 0 0 8px rgba(0, 0, 0, .3);
        border-radius: 50%
    }

    #slide_button span {}

    #slide_button span {
        display: block;
        position: absolute;
        width: 20px;
        border-bottom: solid 2px #7F7F7F;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
        left: 11px
    }

    #slide_button span:nth-child(1) {
        top: 14px
    }

    #slide_button span:nth-child(2) {
        top: 20px
    }

    #slide_button span:nth-child(3) {
        top: 26px
    }

    #slide_button.active span:nth-child(1) {
        top: 20px;
        left: 11px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }

    #slide_button.active span:nth-child(2),
    #slide_button.active span:nth-child(3) {
        top: 20px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg)
    }

    #slide_menu ul li:first-child {
        text-align: center
    }

    #slide_menu ul li:first-child>img {
        max-width: 70%;
        margin-bottom: 15px
    }

    #slide_menu ul li:first-child>a {
        display: flex;
        flex-wrap: wrap;
        max-width: 506px;
        margin: 0 auto;
        padding-bottom: 10px;
    }

    #slide_menu ul li:first-child>a img {
        width: 21%;
    }

    #slide_menu ul li:first-child>a .number {
        font-weight: 900;
        font-size: 60px;
        line-height: 1;
        letter-spacing: -2.4px;
        background: #043ec4;
        color: #ff0;
    }

    #slide_menu ul li:first-child>p small {
        font-size: 90%;
        display: block;
        line-height: 24px;
        padding-top: 5px
    }

    #slide_menu ul li:first-child>p {
        padding-bottom: 10px
    }

    #slide_menu ul li dd {
        border-bottom: none;
        padding: 0;
        margin-bottom: 10px
    }

    #slide_menu ul li:nth-child(2) {
        margin-top: 10px
    }

    #slide_menu ul li:nth-child(10) {
        border-bottom: none
    }

    .sm_link {
        border-bottom: 1px solid #fff
    }

    .sm_link a {
        display: block;
        color: #fff;
        padding: 10px 0;
        text-align: left
    }

    .sm_link a:before {
        content: "▶";
        padding: 0 10px 0 0;
        font-size: 13px;
        color: #fff
    }

    .sm_sns {
        display: flex;
        justify-content: center;
        padding: 30px 0 0;
        align-items: center
    }

    .sm_sns a {
        display: flex !important;
        align-items: center;
        height: 42px;
        background: #fff;
        border-radius: 5px;
        padding: 10px !important;
        line-height: 0;
        margin: 0 5px
    }

    .sm_sns a img {
        margin-bottom: 0
    }

    body.page-id-8728 .s1 .two_box {
        padding-top: 150px;
        flex-wrap: wrap
    }

    body.page-id-8728 .s1 .two_box>div {
        width: 100% !important;
        flex: none !important;
        position: relative
    }

    body.page-id-8728 .s1 .two_box>.two_box_txt>img {
        max-width: 90%
    }

    body.page-id-8728 .s1 {
        background: #fff
    }

    body.page-id-8728 h2 {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 18px;
        color: #222;
        line-height: 27px;
        padding: 20px 0;
        margin: 0
    }

    body.page-id-8728 h3 {
        padding: 20px 0;
        color: #222;
        font-size: 14px;
        line-height: 25px;
        margin: 0
    }

    body.page-id-8728 p {
        font-size: 12px;
        line-height: 21px
    }

    body.page-id-8728 .s1 h2 {
        padding-bottom: 0
    }

    body.page-id-8728 .s1 .two_box:first-child>.two_box_txt {
        z-index: 1
    }

    body.page-id-8728 .s1 .two_box .two_box_img {
        margin-left: 0;
        z-index: 0
    }

    body.page-id-8728 .s1 .two_box .two_box_img .pc_none {
        margin: -100px -20px 0
    }

    body.page-id-8728 .s1 .two_box .two_box_img .pc_none img {
        width: 100%;
        height: auto
    }

    body.page-id-8728 .s1 .two_box .two_box_txt {
        z-index: 999
    }

    body.page-id-8728 .s2,
    body.page-id-8728 .s3 {
        background: #043EC4;
        margin-top: 0;
        margin-bottom: 0
    }

    body.page-id-8728 .s2 .two_box {
        padding-top: 50px
    }

    body.page-id-8728 .s2 h3 {
        font-size: 21px;
        line-height: 32px;
        text-align: center;
        padding: 40px 0 20px
    }

    body.page-id-8728 .s2 p {
        font-size: 14px;
        line-height: 24px
    }

    body.page-id-8728 .s3 {
        padding-bottom: 30px
    }

    body.page-id-8728 .s1:after {
        background-size: 120% auto
    }

    body.page-id-8728 .s4 {
        padding: 80px 0 0
    }

    body.page-id-8728 .s4 h2 {
        padding: 0 20px
    }

    body.page-id-8728 .s5 {
        background: none
    }

    body.page-id-8728 .s5 h2 {
        padding: 50px 20px 0
    }

    body.page-id-8728 .s5 .two_box {
        background: url(https://bestfactor.jp/wp-content/uploads/2019/09/sp02.jpg) no-repeat top center #E8EFF9;
        background-size: 100% auto;
        margin: 30px -20px 0;
        flex-wrap: wrap
    }

    body.page-id-8728 .s5 .two_box_txt {
        order: 2;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 30px
    }

    body.page-id-8728 .s5 .two_box_img {
        order: 1;
        width: 90%;
        margin: 0 auto;
        text-align: center
    }

    body.page-id-8728 .s5 .two_box_txt h3 {
        font-size: 20px;
        line-height: 32px;
        text-align: center
    }

    body.page-id-8728 .s5 .two_box_txt p {
        font-size: 14px;
        line-height: 25px
    }

    body.page-id-8728 .s6 #container>img {
        max-width: 70%;
        margin-bottom: 15px
    }

    body.page-id-8728 .s6 p {
        font-size: 20px;
        padding-top: 10px
    }

    body.page-id-8728 .s6 p small {
        font-size: 16px
    }

    body.page-id-8728 .s6 ul {
        flex-wrap: wrap;
        width: 100%
    }

    body.page-id-8728 .s6 ul li {
        width: 100%
    }

    body.page-id-8728 .s6 img {
        margin-bottom: 15px
    }

    body.page-id-8728 .s7 {
        padding-bottom: 30px;
        text-align: center
    }

    body.page-id-8728 .s7:after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: 0;
        background: #E8EFF9
    }

    body.page-id-8728 .s8 {
        padding: 30px 0
    }

    body.page-id-8728 .s8 h2 {
        font-size: 28px;
        padding-top: 0;
        padding-bottom: 30px;
        text-align: center
    }

    .scroll-table {
        overflow: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        position: relative
    }

    .scroll-table:after {
        content: "＞";
        position: absolute;
        right: 50px;
        font-size: 80px;
        margin-top: -40px;
        top: 50%;
        opacity: 0
    }

    .scroll-table.show:after {
        opacity: 0.3;
        transition: .8s;
        right: 5px
    }

    .scroll-table.del:after {
        display: none
    }

    body.page-id-8728 .s8 table {
        table-layout: fixed;
        width: 800px;
        display: flex
    }

    body.page-id-8728 .s8 table th,
    body.page-id-8728 .s8 table td {
        font-size: 14px;
        padding: 15px;
        overflow-wrap: break-word;
        white-space: normal;
        word-wrap: break-word
    }

    body.page-id-8728 .s9 {
        padding: 40px 20px 80px;
        background: #e8eff9
    }

    body.page-id-8728 .s9 .slider .slick-slide {
        margin: 0 8px
    }

    body.page-id-8728 .s9 .slider .slider_itembox {
        padding: 30px 20px
    }

    body.page-id-8728 .s9 .slider .slider_itembox .s_i_title {
        font-size: 20px;
        line-height: 30px
    }

    body.page-id-8728 .s9 .slider .slider_itembox p {
        font-size: 14px;
        line-height: 22px
    }

    body.page-id-8728 .s9 .slider .prev-arrow {
        left: -22px;
        width: 60px
    }

    body.page-id-8728 .s9 .slider .next-arrow {
        right: -22px;
        width: 60px
    }

    body.page-id-8728 .s10 h2 {
        font-size: 28px
    }

    body.page-id-8728 .s10 dt:before,
    body.page-id-8728 .s10 dd:before {
        height: 100%;
        width: 60px
    }

    body.page-id-8728 .s10 dt,
    body.page-id-8728 .s10 dd {
        padding-right: 50px;
        font-size: 16px;
        line-height: 24px;
        padding-left: 75px
    }

    body.page-id-8728 .s10 dt:after {
        right: 15px
    }

    body.page-id-8728 footer h2 {
        padding-bottom: 0
    }

    body.page-id-8728 .s12 #container h2 {
        font-size: 28px;
        margin-bottom: 20px
    }

    body.page-id-8728 .s12 #container table th,
    body.page-id-8728 .s12 #container table td {
        display: block;
        width: 100% !important
    }

    body.page-id-8728 .s12 #container table th {
        border-bottom: none;
        padding-bottom: 0;
        font-size: 16px
    }

    body.page-id-8728 .s12 #container table td {
        border-top: none;
        padding-top: 0;
        font-size: 16px;
        border-bottom: none
    }

    body.page-id-8728 .s12 #container table tr:last-child td {
        border-bottom: 1px solid #ccc
    }

    body.page-id-8728 footer {
        padding-bottom: 100px
    }

    body.page-id-8728 footer #container>img {
        max-width: 70%;
        margin-bottom: 15px
    }

    body.page-id-8728 footer p {
        font-size: 20px;
        padding-top: 10px
    }

    body.page-id-8728 footer p small {
        font-size: 16px
    }

    body.page-id-8728 footer ul {
        flex-wrap: wrap;
        width: 100%
    }

    body.page-id-8728 footer ul li {
        width: 100%
    }

    body.page-id-8728 footer img {
        margin-bottom: 15px
    }

    body.page-id-8728 footer nav ul {
        width: 100%
    }

    body.page-id-8728 footer nav ul li {
        border-bottom: 1px solid #fff
    }

    body.page-id-8728 footer nav ul a {
        border-left: none;
        text-align: left;
        padding: 10px 0
    }

    body.page-id-8728 footer nav ul a:before {
        content: "▶";
        padding: 0 10px 0 0;
        font-size: 13px;
        color: #fff
    }

    body.page-id-8728 footer #container>small {
        font-size: 14px
    }

    body.page-id-8728 footer .footer_cta {
        display: flex;
        flex-wrap: wrap;
        padding: 0
    }

    body.page-id-8728 footer .footer_cta a {
        position: relative;
        width: 50%;
    }

    body.page-id-8728 footer .footer_cta a .tel_number {
        position: absolute;
        top: 41px;
        left: 47px;
        font-weight: 900;
        font-size: 33px;
        color: #000;
        background: #f4f4f4;
        line-height: 1;
        padding-right: 1px;
    }

    body.page-id-8728 footer .footer_cta .tel_foot {
        width: 50%;
        margin: 0;
        padding: 1vw;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .number {
        position: relative;
        font-size: 4.6vw;
        line-height: 1.2;
        padding-right: 5vw;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .number:before {
        content: "";
        position: absolute;
        top: 50%;
        right: -1vw;
        transform: translateY(-50%);
        width: 5vw;
        aspect-ratio: 1/1;
        background-color: #202157;
        border-radius: 50%;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .number:after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0.6vw;
        transform: translateY(-50%);
        border-top: 1vw solid transparent;
        border-bottom: 1vw solid transparent;
        border-left: 1.5vw solid #fff;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .note {
        padding: 0.8px 1vw;
        margin: 0;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .note,
    body.page-id-8728 footer .footer_cta .tel_foot .time {
        font-size: 3.1vw;
    }

    body.page-id-8728 footer .footer_cta .tel_foot .time {
        padding-right: 5vw;
        line-height: 1;
    }
}

body.page-id-8728 .left_sns,
.footer_sns {
    display: none !important;
}

h2 img {
    margin: auto;
}

img.fv-button {
    margin-top: 40px;
}

@media(max-width: 568px) {
    #slide_menu ul li:first-child>a .number {
        font-size: 11vw;
    }

    body.page-id-8728 .tel_number {
        width: 100%;
    }

    body.page-id-8728 .tel_number img {
        width: 20%;
        height: fit-content;
        margin: 0 10px 0 0 !important;
    }

    body.page-id-8728 .tel_number .number {
        font-size: 10vw;
        font-weight: bold;
        color: #FFFF00;
        line-height: 0.9;
    }

    body.page-id-8728 footer .footer_cta a .tel_number {
        top: 6.6vw;
        left: 7.8vw;
        font-size: 5vw;
        padding-right: 1.9vw;
        background: #f3f3f3;
    }
}

/*contactLP*/
.contactLP dt {
    width: 30%;
    background: #1449CD;
    color: #FFF;
    padding: 16px 20px;
}

.contactLP dl {
    display: flex;
    margin-bottom: 20px;
}

.contactLP dd.two-input {
    display: flex;
    column-gap: 30px !important;
}

.contactLP dd.two-input span input {
    width: 100%;
}

.contactLP dd {
    padding: 0 !important;
    border: none !important;
    width: 70%;
}

.contactLP dd input {
    padding: 20px 20px !important;
    font-size: 16px !important;
    border: none !important;
    width: 100%;
}

.contactLP select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
    width: 100%;
    background: #f7f7f7;
    padding: 20px 20px;
}

.contactLP h3,
.contactLP p {
    margin: auto;
}

.contact-content p {
    margin: auto 0;
    padding: 10px !important;
    text-align: center;
}

.contact-btn.contact-btn--lp input {
    background: yellow !important;
    color: black;
    border-radius: 999px;
    padding: 14px 32px;
}

.simulationBox.formBox img {
    margin: auto;
}

.simulationBox.formBox {
    text-align: center;
}

@media (min-width: 769px) {
    .contactLP {
        background: #E8EFF9;
        padding: 60px 100px !important;
    }

    .contactLP .formBox {
        background: #FFF;
        padding: 40px 50px !important;
        margin-bottom: 40px;
    }

    .simulationBox.formBox p {
        padding: 8px !important;
    }
}

@media (max-width: 768px) {
    .contactLP {
        background: #E8EFF9;
    }

    .contactLP .formBox {
        background: #FFF;
        padding: 20px !important;
        margin-bottom: 20px;
    }

    .contactLP dt {
        font-size: 11px;
        width: 35%;
        padding: 20px 14px;
        ;
    }

    .contactLP dd input {
        font-size: 14px !important;
    }

    .contactLP dd.two-input {
        column-gap: 16px !important;
    }

    .contactLP select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
        font-size: 12px;
    }

    .simulationBox.formBox p {
        padding: 8px !important;
    }

    body.page-id-8728 h3 {
        text-align: center;
        margin: auto;
    }
}


#wpcf7-f12536-o1>form>p {
    display: none;
}

.contactLP dt span {
    display: none !important;
}

#wpcf7-f12536-o1>form>div.contact-content>dl:nth-child(7) {
    display: none;
}

/* NEW MAIN */
body.page-id-8728 .s1 header {
    margin-bottom: 44px;
}

.mainBox {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mainBox .mainPhoto {
    padding: 0 !important;
    margin-left: -19px;
    width: calc(100% - 38%);
    margin-bottom: 0;
}

.mainBox .contactLP {
    background: #fff;
    padding: 14px 35px 14px !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 26px;
    width: 39.6%;
    color: #909090;
    min-width: 350px;
}

.mainBox .contactLP .contactTitle {
    padding: 0;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #043EC4;
    margin-bottom: 2px;
}

.mainBox .contactLP .contactTxt {
    font-size: 12px;
    text-align: center;
    padding: 0;
    margin-bottom: -11px;
    font-family: 'YakuHanJP', 'Noto Sans JP', 'Saira Semi Condensed', "-apple-system", BlinkMacSystemFont, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", "Hiragino Kaku Gothic ProN", "MS PGothic", Osaka, "sans-serif";
}

.mainBox .contactLP .formBox {
    background: transparent;
    padding: 0 !important;
    margin-bottom: 0;
}

.mainBox .contactLP dl {
    display: block;
    margin-bottom: 9px;
}

.mainBox .contactLP dt {
    width: 100%;
    background: transparent;
    color: #909090;
    padding: 0;
    font-size: 12px;
    margin-bottom: 1px;
}

.mainBox .contactLP dd {
    width: 100%;
}

.mainBox .contactLP select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
    width: 100%;
    background: #E8EFF9 url(../images/lp/arrow-select.svg) no-repeat right 7px center;
    padding: 13px 16px 12px;
    font-size: 14px;
    border-radius: 7px;
    color: #909090 !important;
    height: 47px;
    -webkit-appearance: none;
    cursor: pointer;
}

.mainBox .contactLP select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.hasClass {
    color: #000 !important;
}

.mainBox .contactLP dd input {
    width: 100%;
    background: #E8EFF9;
    padding: 14px 20px 13.4px !important;
    font-size: 14px !important;
    border-radius: 7px;
    color: #000000;
}

.mainBox .contactLP dd input::placeholder {
    color: #909090;
}

.mainBox .contactLP dd.two-input {
    column-gap: 12px !important;
}

.mainBox .contactLP dd.two-input .wpcf7-form-control-wrap {
    width: 50%;
}

.mainBox .contactLP .contact-content .contact-policy {
    font-size: 14px;
    font-weight: 400;
    padding: 9px 0 !important;
    color: #000;
    font-family: 'YakuHanJP', 'Noto Sans JP', 'Saira Semi Condensed', "-apple-system", BlinkMacSystemFont, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", "Hiragino Kaku Gothic ProN", "MS PGothic", Osaka, "sans-serif";
}

.mainBox .contactLP .contact-content .contact-policy a {
    color: #0836BC;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mainBox .contactLP .contact-content .contact-btn input.btn.no-svg {
    background: #FFFF00 !important;
    color: #000000;
    font-size: 16px;
    max-width: 289px;
    width: 100%;
    border-radius: 50px;
    padding: 17px 0 16px;
}

.mainBox .wpcf7-not-valid-tip {
    font-size: 10px;
}

.mainBox .wpcf7 form .wpcf7-response-output {
    font-size: 12px;
    color: #000;
    text-align: center;
}

@media(max-width:920px) and (min-width:769px) {
    .mainBox .contactLP {
        padding: 14px !important;
        min-width: 380px;
    }

    .mainBox .contactLP .contactTxt {
        margin-bottom: -20px;
    }

    .mainBox .contactLP select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required,
    .mainBox .contactLP dd input {
        padding: 10px 15px !important;
        height: 40px;
    }
}

@media(min-width:769px) {
    .mainBox .contactLP .contact-content .contact-policy a:hover {
        text-decoration: none;
        opacity: 1;
    }
}

@media(max-width:768px) {
    body.page-id-8728 .s1 #container {
        position: relative;
        padding: 0 2.9% 20px;
        background-color: #0836BD;
    }

    body.page-id-8728 .s1 #container .s1-bcr {
        position: absolute;
        top: -26px;
        right: -23vw;
        width: 135%;
        transform: rotate(-1.3deg);
    }

    .mainBox {
        position: relative;
        z-index: 2;
        flex-direction: column;
        padding-top: 89px;
    }

    .mainBox .mainPhoto {
        width: 100.7%;
        margin-left: -1px;
        margin-bottom: 42px;
    }

    .mainBox .contactLP {
        width: 100%;
        padding: 17px 30px 12px !important;
    }

    .mainBox .contactLP .contactTitle {
        font-size: 18px;
        margin-bottom: 7px;
    }

    .mainBox .contactLP .contactTxt {
        margin-bottom: -14px;
    }

    .mainBox .contactLP dl {
        margin-bottom: 7.5px;
    }

    .mainBox .contactLP dt {
        font-size: 10px;
    }

    .mainBox .contactLP select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
        padding: 11px 13px 10px;
        font-size: 12px;
        height: 41px;
    }

    .mainBox .contactLP dd input {
        padding: 13px 17px 10px !important;
        font-size: 12px !important;
        height: 41px;
    }

    .mainBox .contactLP .contact-content .contact-policy {
        font-size: 12px;
        padding: 9px 0 7px !important;
    }

    .mainBox .contactLP .contact-content .contact-btn input.btn.no-svg {
        font-size: 13px;
        max-width: 247px;
        padding: 15px 0;
    }

    body.page-id-8728 .s1 .s2,
    body.page-id-8728 .s1 .s3 {
        background: #0836BD;
    }

    body.page-id-8728 .s1:after {
        background-size: 120% auto;
        background-image: url(../images/lp/s1_bg-sp.png);
    }
}