@charset "utf-8";

/* Style as home.php */

/* header
*********************/

header {
    background: url(/wp/img/jcar_2023/home/mainimg-bg.jpg) no-repeat center;
    background-size: cover;
}

#globalnav li.parent {
    border-color: rgba(255, 255, 255, .4);
}

#globalnav a {
    color: #fff;
}

#globalnav #spnav i {
    color: #fff;
}

#globalnav #spnav i:hover,
#globalnav #spnav i:active,
#globalnav #spnav i:focus {
    color: #000;
}

@media screen and (max-width:800px) {
    #globalnav a {
        color: #000;
    }

    #globalnav.open #spnav i {
        color: #000;
    }
}

.header-main .mainimg {
    height: 400px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    text-align: left;
    padding-bottom: 10px;
}

.header-main .mainimg img {
    width: 40%;
    max-width: 350px;
}

.mainmov {
    width: 100%;
    text-align: left;
    background: var(--d-blue) url(/wp/img/jcar_2023/home/mainmov-bg.jpg) no-repeat center;
    background-size: cover;
}

.mainmov .inner {
    margin: auto;
    padding: 20px;
    overflow: hidden;
    text-align: center;
}

.mainmov .inner h2 {
    font-size: 30px;
    color: #fff;
    font-weight: bold;
}

.mainmov video {
    max-width: 640px;
    width: 100%;
    height: auto;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .3);
    cursor: pointer;
    transition: all .1s linear 0s;
    border-radius: 10px;
    overflow: hidden;
}

.mainmov video:hover {
    transform: scale(1.02);
}

.mainmov .inner p {
    margin: 10px 0 0 0;
    /*font-size: 24px;*/
    color: #fff;
    font-family: Roboto, sans-serif;
    font-weight: normal;
}

.mainmov .inner .come {
    font-size: 12px;
    color: #fff;
    display: block;
}

@media screen and (max-width:640px) {
    .header-main .mainimg {
        padding: 10px;
        height: auto;
        text-align: left;
    }

    .header-main .mainimg img {
        width: 50%;
    }

    .mainmov .inner {
        text-align: center;
    }

    .mainmov .inner .come {
        font-size: 10px;
    }
}

/* #slide-main
*********************/

.main_slide {
    overflow: hidden;
    background: #111;
    padding: 10px 0;
    height: auto;
    text-align: center;
}

#slide-main .slide {
    text-align: center;
    max-width: 980px;
    max-height: 350px;
    margin: 0 5px;
}

@media screen and (max-width:640px) {
    #slide-main .slide {
        margin: 0 5px;
    }
}

/* #slide-sub
*********************/

.sub_slide {
    overflow: hidden;
    background: #fff;
    padding: 20px 0;
    height: auto;
    text-align: center;
}

#slide-sub .slide {
    text-align: center;
    /*max-width: 400px;*/
    margin: 0 20px;
}

#slide-sub .slide img {
    transition: all .1s linear 0s;
}

#slide-sub .slide a:hover img {
    filter: brightness(.5);
}

@media screen and (max-width:640px) {
    #slide-sub .slide {
        margin: 0 10px;
    }
}

/* #slide-info
*********************/

#slide-info {
    padding: 20px 20px 10px;
    border: solid 1px #111;
    margin-bottom: 50px;
}

#slide-info .slide {
    display: flex;
    flex-wrap: wrap;
}

#slide-info .img {
    width: 35%;
    margin-right: 2%;
}

#slide-info .text {
    width: 63%;
}

#slide-info .img {
    border: solid 2px #111;
    margin-bottom: 7px;
    max-width: 100%;
    overflow: hidden;
}

#slide-info .img iframe {
    height: 180px;
    width: 100%;
}

#slide-info .img>* {
    width: 100%;
    height: 100%;
}

#slide-info .text {
    text-align: left;
    line-height: 1.6;
    text-align: left;
}

#slide-info .text h3 {
    font-size: 16px;
    color: #000;
    margin: 0 0 10px;
    padding-bottom: 7px;
}

#slide-info .text p {
    font-size: 14px;
}

#slide-info .slick-dots {
    bottom: -30px;
    left: 0;
}

@media screen and (max-width:640px) {

    #slide-info .img,
    #slide-info .text {
        width: 100%;
        margin-right: 0;
    }

    #slide-info .img {
        margin-bottom: 10px;
    }

    #slide-info .text p {
        font-size: 12px;
    }
}

/* section.info
*********************/
.info {
    background: #fff;
}

.info-title.section-title .en {
    color: #000;
}

.info-title.section-title .jp {
    color: #000;
}

#slide-info {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #000;
}

.info .post-single {
    background: #fff;
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .3);
    overflow: hidden;
    border-radius: 5px;
}

.info .post-date {
    color: var(--d-blue);
    padding: 0 10px;
}

.info .post-title {
    padding: 10px;
}

.info .post-single .post-thumb .thumb {}

.info-shop {
    background: var(--l-blue);
}

.info-shop .section-title {
    margin-bottom: 30px;
}

.info-shop .section-title .en {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
}

.info-shop .section-title .jp {
    color: beige;
}

@media screen and (max-width: 900px) {
    .info-title.section-title .en {
        font-size: 36px;
    }
}

@media screen and (max-width: 480px) {
    .info-shop .section-title {
        margin-top: 0;
    }

    .info .post-single {
        padding: 0;
    }

    .info .post-single>a {
        padding: 10px;
    }

    .info .post-date,
    .info .post-title {
        padding: 0;
    }

    .info .post-title {
        margin-top: 5px;
    }
}


/* section.special
*********************/

.special {
    background: var(--black);
    color: #fff;
}

.special .post-single .post-title {
    color: #fff;
}

@media screen and (max-width:480px) {
    .special .car-single.is_sold {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        overflow: hidden;
    }

    .special .car-single .soldout {
        width: auto;
        transform: none;
        top: 0;
        right: 0;
        z-index: 2;
        padding: 0 6px;
    }
}

/* section.review
*********************/

.review {
    background: var(--blue);
    color: #fff;
    padding-bottom: 60px;
}

.review .post-single .post-title {
    color: #fff;
}

.review .post-single .post-date {
    color: #000;
}

@media screen and (max-width:640px) {
    .review {
        padding-bottom: 0;
    }
}

/* section.shop
*********************/

.shop .section-title {
    width: 70%;
    margin: -80px auto 20px;
    padding-top: 20px;
    background: #fff;
}

@media screen and (max-width:640px) {
    .shop .section-title {
        width: 100%;
        margin: 20px auto;
        padding-top: 0;
    }

    .shop-link {
        width: 60%;
    }

    .shop-single .shop-link a {
        font-size: 10px;
    }
}