/* Top page adjustments */
#inner-content.wide #main #top .homeReason__item:nth-of-type(1) {
    margin-top: 14px;
}

.commentary_mark {
    font-size: 0.5em;
    vertical-align: top;
}

.review-slider-wrap {
    margin: 5vw 0;
}

.review-slider {
    margin: 0 !important;
}

.review-slider .review-slide {
    margin: 0 8vw !important;
}

.review-slider .slider-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 7vw;
    height: fit-content;
    margin: auto;
    cursor: pointer;
    z-index: 1;
}

.review-slider .slider-arrow.slick-disabled {
    display: none !important;
}

.review-slider .slider-arrow.slider-prev {
    left: 0.5vw;
}

.review-slider .slider-arrow.slider-next {
    right: 0.5vw;
}

@media screen and (max-width: 979px) {
    #inner-content .cmnContainer {
        overflow: hidden;
    }

    .mv_main {
        position: relative;
    }

    .mv_link {
        position: absolute;
        bottom: 24vw;
        left: 4%;
        width: 91%;
        height: 30vw;
    }

    .mv_link_top {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1vw;
        margin-bottom: 0;
    }

    .mv_link_bottom {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1vw;
        margin-bottom: 0;
    }

    .mv_link_top .mv_link_item a {
        display: block;
        height: 16vw;
    }

    .mv_link_bottom .mv_link_item a {
        display: block;
        height: 14vw;
    }

    .homePro {
        margin: 0 -13px;
    }

    #inner-content.wide #main #top .homeCautionArea .cmnContainer__inner {
        padding: 0 !important;
        background-color: unset !important;
    }

    #inner-content.wide #main #top .homeReason__item:nth-of-type(1) {
        margin-top: 0;
    }

    .cmnContainer.genchi .cmnContainer__inner {
        position: relative;
    }

    .cmnContainer.genchi .commentary {
        font-size: 12px;
        padding: 0 3vw 3vw;
        line-height: 1.2;
        display: block;
    }

    .homeEstimate .sp_visa {
        margin: 10px 0 0 !important;
    }

    .homeVoice {
        background-color: #e5f4e5 !important;
    }

    .genchi .credit_wrap {
        padding-bottom: 1px;
    }

    .genchi .spCvCommon__wrap {
        margin: 0 10px;
    }
}

@media screen and (min-width: 980px) {
    .tripleCrown {
        width: 1000px;
        margin: 0 auto 20px !important;
        text-align: left !important;
        background: none !important;
    }

    .tripleCrown .commentary {
        margin: 5px 0 !important;
        display: block;
        font-size: 12px;
    }
}

/* Flow video */
#flow {
    background: #fff;
    margin: 0 10px 6vw;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    font-size: 3.6vw;
    border-radius: 1vw;
    padding-bottom: 15px;
}

#flow .flow_clip .video_note {
    display: block;
    width: 94%;
    margin: 0 auto;
    font-size: 2.9vw;
}

.flow_clip {
    width: 100%;
    padding: 0;
    margin: 15px 0 0;
    box-sizing: border-box;
}

.flow_clip video {
    width: 94%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: auto;
}

#flow .cta_wrapper {
    width: 94%;
    margin: 15px 3% 0;
}

@media screen and (min-width: 1024px) {
    #flow {
        width: 1000px;
    }
}

.fsSmall {
    font-size: 0.6rem;
    vertical-align: super;
}

/* Header */
#header .site_description {
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
}

.header {
    border-bottom: 1px solid #333;
}

.logo__wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding: 0 8px;
}

.tel-box .wp-block-image {
    margin: 0;
}

#site__logo .tel-box img {
    max-height: 36px;
    flex-shrink: 0;
}

.header__note {
    margin: 0 1.5em;
    line-height: 1.2;
}

.nav_btn::before {
    height: auto;
    position: static;
    left: 50%;
    top: 50%;
    transform: none;
}

.tel_btn::before {
    content: '\f879';
    color: #de0d0d;
}

@media only screen and (min-width: 768px) {
    #inner-header {
        justify-content: space-between;
    }

    #site__logo {
        width: 100%;
    }

    #inner-header .tel_btn {
        display: none;
    }

    .pcHeader__tel {
        position: relative;
    }

    .pcHeader__telNum {
        font-family: 'Roboto', sans-serif;
        color: #333;
        font-size: 38px;
        line-height: 1;
        position: absolute;
        top: 3px;
        left: 41px;
    }
}

@media only screen and (max-width: 767px) {
    .header-fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: #fff;
        border-bottom: 1px solid;
    }

    .header-spacer {
        height: 20vw;
        display: block;
    }

    #header .site_description {
        overflow: scroll;
        text-align: left;
    }

    .header #inner-header {
        padding: 0.5em;
        justify-content: space-between;
    }

    #inner-header .nav_btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: relative;
        width: auto;
        height: 40px;
        padding: 5px;
        margin-left: 0.5em;
        order: 0;
        border: 1px solid #333;
        border-radius: 3px;
    }

    #site__logo {
        order: 0;
        max-width: 100%;
    }

    #site__logo a {
        color: #333;
    }

    .logo__wrap .header_site_logo_wrap {
        margin-right: auto;
    }

    .logo__wrap .header_tosho_logo_wrap {
        margin-left: 0.5em;
        flex-shrink: 0;
    }

    .logo__wrap .header_tosho_logo_wrap .header_tosho_logo {
        max-height: 40px !important;
        margin: 0 !important;
    }

    .logo__wrap .btn_wrap {
        display: flex;
    }

    .header_btns_flex {
        display: flex;
        width: 100%;
        line-height: 0;
        margin-top: 8px;
    }

    .header_btns_flex .btn_item {
        width: 50%;
        display: block;
    }

    .header_btns_flex .btn_item img {
        max-height: none !important;
        width: 100% !important;
        display: block;
        margin: 0 !important;
    }
}

/* Footer */
.sp_conversion_footer {
    transition: all 0.3s ease-out;
}

#page-top.pt-active {
    bottom: 90px !important;
}

#footer__sp {
    display: none;
}

.hidden {
    display: none;
}

#breadcrumb li.bc_homelink a::before {
    color: #3e3e3e;
}

#selftop.ab_test_no6490 {
    bottom: 55vw !important;
}

@media only screen and (max-width: 767px) {
    #footer__pc {
        display: none;
    }

    #footer__sp {
        display: block;
    }
}
