.loading {
    opacity: 0;
    visibility: hidden;
    /*ローディング画面の縦横幅を画面いっぱいになるように指定*/
    width: 100vw;
    height: 100vh;
    background-color: #FFF;
    /*ローディング画面の表示位置を固定*/
    position: fixed;
    top: 0;
    left: 0;
    /*ローディング画面を0.5秒かけて非表示にする*/
    transition: all 0.5s linear;
    z-index: 99999;
}

.loading video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
    outline: none;
    border: none;
}

/*ローディング画面を表示にする*/
.loading.active {
    opacity: 1;
    visibility: visible;
}

.section-results-area {
    max-width: 1200px;
    width: 100%;
    margin: 160px auto 0;
    padding: 0 20px;
}

.results-content {
    margin: 0 auto 100px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.results-content:last-child {
    margin-bottom: 0;
}

.results__img--wrapper {
    width: 50%;
    height: 440px;
    border-radius: 20px;
    overflow: hidden;
}

.results__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transform: scale(1);
    transition: transform 0.3s ease !important;
}

.results__img--wrapper:hover .results__img {
    transform: scale(1.1);
    opacity: 1 !important;
    filter: none !important;
}

.results__text--box {
    padding: 0 70px;
    align-items: center;
    width: 50%;
}

.results__text--box h3 {
    position: relative;
    font-size: 3.2rem;
    margin: 0 0 20px 20px;
}

.results__text--box h3::before {
    position: absolute;
    display: inline-block;
    content: '';
    width: 10px;
    height: 80%;
    background-color: #3b3b3b;
    top: 50%;
    left: -20px;
    transform: translate(0, -50%);
}

.results__price--wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 6px 0;
    border-bottom: 1px solid #3b3b3b;
    border-top: 1px solid #3b3b3b;
}

.results__price--wrapper h4 {
    width: 50%;
    color: #FA4A48;
    margin-right: 20px;
    font-size: max(calc(4vw - 28px),2.0rem);
}

.results__price--wrapper h4 span {
    color: #3B3B3B;
    font-size: 1.8rem;
}

.results__price--car,
.results__price--overhead {
    font-size: 1.4rem;
}

.cartype {
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    width: 100%;
    flex-grow: 1;
    background-color: #E7EDF0;
    border-radius: 10px;
    padding: 10px;
    margin: 0 auto 20px;
}

.cartype.blue {
    color: #fff;
    background-color: #447CAF;
}

.cartype.green {
    color: #FFF;
    background-color: #2999a6;
}

.cartype.yellow {
    color: #3B3B3B;
    background-color: #FCF16E;
}

.cartype.pink {
    color: #fff;
    background-color: #EF889C;
}

.cartype.red {
    color: #fff;
    background-color: #FA4A48;
}

.cartype.orange {
    color: #fff;
    background-color: #ed8032;
}

.cartype.gray {
    color: #3B3B3B;
    background-color: #E7EDF0;
}

.cartype.black {
    color: #fff;
    background-color: #3B3B3B;
}

.results__text--wrapper {
    display: flex;
    justify-content: space-between;
    margin: 0 auto 22px;
}

.results__text--wrapper li {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.results__text--wrapper li span {
    font-weight: 600;
}

.results__text--wrapper li:last-child {
    margin-bottom: 0;
}

.detail-button {
    text-decoration: none;
    display: block;
    text-align: center;
    line-height: 52px;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    width: 100%;
    height: 52px;
    padding: 0;
    color: #3b3b3b !important;
    background-color: #fff;
    border: 1px solid #ababab;
    border-radius: 18px;
    transition: 0.25s;
}

.detail-button:hover {
    text-decoration: none !important;
    color: #fff !important;
    background-color: #3b3b3b;
}

.paginationButton ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
}

.none {
    display: none;
}

.paginationButton li {
    margin: 0 10px 0 0;
}

.paginationButton li .active {
    background-color: #3B3B3B;
    color: #fff;
}

.paginationButton li button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background-color: #E7EDF0;
    color: #ababab;
    transition: background-color 0.3s;
}

.paginationButton li button:hover {
    background-color: #3B3B3B;
    color: #fff;
}

@media screen and (max-width:960px) {
    .results-content {
        margin: 0 auto 100px;
        width: calc(500vw / 10);
        min-width: 300px;
        flex-direction: column;
    }

    .results__img--wrapper {
        width: calc(500vw / 10);
        min-width: 300px;
        height: 250px;
        margin: 0 auto 40px;
    }

    .results__text--box {
        margin: 0 auto;
        padding: 0 0;
        width: calc(500vw / 10);
        min-width: 300px;
    }

    .results__text--box h3 {
        font-size: 2.6rem;
        margin: 0 0 20px 20px;
    }

    .results__text--box h3::before {
        left: -20px;
    }

    .results__price--wrapper {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 18px;
        padding: 4px 0 8px;
    }

    .results__price--wrapper h4 {
        font-size: 3.2rem;
        margin-right: 0;
        margin-bottom: 6px;
        width: 100%;
        text-align: center;
    }

    .price-flexbox {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .results__price--car{
        margin-right: 15px;
    }

    .cartype {
        width: 100%;
        text-align: center;
        margin: 0 auto 10px;
    }

    .results__text--wrapper {
        display: flex;
        margin: 0 0 18px;
    }

    .results__text--wrapper li {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .results__text--wrapper li span {
        font-weight: 600;
    }

    .text__wrapper1 {
        margin-right: 40px;
    }

    .detail-button {
        min-width: 260px;
        margin: 0 auto;
        padding: 0;
    }

    .paginationButton ul {
        flex-wrap: wrap;
    }
}

@media screen and (max-width:600px) {
    .section-results-area {
        padding: 0 15px;
    }

    .loading video {
        transform: scale(0.8);
    }
}