@charset "UTF-8";

/* common */
.title-box {
    width: 140rem;
    max-width: 90%;
    margin: 0 auto 3vw;
    position: relative;
}

.title-box::after {
    position: absolute;
    content: "";
    width: max(40vw, 45rem);
    height: 1px;
    background: #fff;
    top: 50%;
    left: max(32vw, 40rem);
}

.title-box img {
    width: max(35vw, 45rem);
}

.bt a {
    font-size: 1.8rem;
    border: 1px #fff solid;
    margin: auto;
    width: 30rem;
    display: block;
    padding: 2rem 14rem 2rem 4rem;
    border-radius: 5rem;
    position: relative;
    transition: .3s;
}

.bt a:hover{
    background: #fff;
    color: #000;
}

.bt a::after {
    position: absolute;
    content: "";
    width: 10rem;
    height: 1px;
    top: 50%;
    right: 0;
    background: #fff;
}

.bt a:hover::after{
    position: absolute;
    content: "";
    width: 10rem;
    height: 1px;
    top: 50%;
    right: 0;
    background: #000;
}

/* MV */
.main-visual {
    width: 100%;
    height: 55vw;
    position: absolute;
    top: 3vw;
}

.slider{
    overflow: hidden;
    width: 100%;
    height: 55vw;
}

.slide{
    height: 55vw;
}

.slide-box01{
    background: url(../images/mv.png) no-repeat center top / cover;
}

.slide-box02{
    background: url(../images/mv01.png) no-repeat center top / cover;
}

/* news */
.news {
    background: #82000a;
    padding: 2vw;
    color: #fff;
    margin: 45vw auto 10vw;
    position: relative;
    z-index: 1;
    width: 120rem;
    max-width: 90%;
}

.news::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    top: 0;
    left: 3vw;
}

.news::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    top: 3.5vw;
    left: 0;
}

.news h2 {
    font-size: max(2.5vw, 4rem);
    @charset "UTF-8";
    margin: 0 0 2rem;
}

.news-list {
    font-size: max(1vw, 1.5rem);
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 10vw;
    gap: 2px;
}

.news-list dt {
    width: 20%;
    line-height: 1.5;
}

.news-list dd {
    width: calc((100% - 20%) - 2px);
    line-height: 1.5;
}

.news-list dt:not(:last-of-type),
.news-list dd:not(:last-of-type) {
    margin: 0 0 2vw;
    padding: 0 0 2vw;
    border-bottom: 2px #fff dotted;
}

/* service */
.service {
    padding: 0 0 10vw;
}

.service-list {
    width: 120rem;
    max-width: 90%;
    margin: 0 auto 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #fff;
}

.service-list li {
    width: 32%;
}

.service-list li h3 {
    font-size: max(1.3vw, 2.3rem);
    margin: 0 0 1rem;
}

.service-list li span {
    font-size: max(0.9vw, 1.6rem);
    margin: 0 0 2vw;
    display: block;
}

.service-list li img {
    width: 100%;
    margin: 0 0 1rem;
}

/* car service */
.car-service {
    padding: 0 0 10vw;
}

.car-service-list {
    background: url(../images/bg-top-carservice.png) no-repeat right bottom 7vw /
        55%;
}

/* company */
.company {
    background: url(../images/bg-top-company.png) no-repeat right 5vw bottom /
            35vw,
        #fff;
    padding: 0 0 10vw;
}

.company h2 {
    font-size: 13vw;
    font-family: "Book Antiqua", sans-serif;
    font-style: italic;
    color: #f4eeee;
    text-align: center;
}

.company-inner {
    background: #000;
    width: 80%;
    margin: auto;
    padding: 4vw;
}

.company-inner h3 {
    font-size: max(2.8vw, 3rem);
    display: flex;
    flex-direction: column;
    width: max(17vw, 20rem);
    text-align: right;
    gap: 1rem;
    position: relative;
    margin: 0 0 5vw;
    font-family: "Book Antiqua", sans-serif;
    font-style: italic;
}

.company-inner h3::after {
    position: absolute;
    content: "";
    width: 45vw;
    height: 1px;
    background: #fff;
    top: 50%;
    left: max(24vw, 24rem);
}

.company-inner h3 span {
    font-size: max(1.2vw, 1.6rem);
    font-family: dnp-shuei-shogomincho-std, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.company-list {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto 5vw;
}

.company-list li {
    width: 47%;
}

.company-list li img {
    width: 100%;
}

.company-detail {
    display: flex;
    flex-wrap: wrap;
    font-size: max(1vw, 1.5rem);
}

.company-detail dt {
    width: 30%;
    border-bottom: 1px #fff solid;
    margin: 0 0 2rem;
    padding: 0 0 2rem;
    line-height: 1.5;
}

.company-detail dd {
    width: 70%;
    border-bottom: 1px #fff solid;
    margin: 0 0 2rem;
    padding: 0 0 2rem;
    line-height: 1.5;
}

/* car sales */
.car-sales {
    padding: 7vw 0;
}

.car-sales-inner {
    width: 140rem;
    max-width: 90%;
    margin: auto;
}

.car-sales-inner > img {
    width: max(20vw, 30rem);
    margin: 0 0 5rem;
}

.car-sales-inner p {
    font-size: max(1vw, 1.5rem);
    width: 75rem;
    max-width: 70%;
    margin: 0 auto 5rem;
    line-height: 1.5;
}

.car-sales-list {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto 5vw;
}

.car-sales-list li {
    width: 32%;
}

.car-sales-list li img {
    width: 100%;
}

@media screen and (max-width: 968px) {
    /* common */
    .title-box {
        width: 140rem;
        max-width: 90%;
        margin: 0 auto 3rem;
        position: relative;
    }

    .title-box::after {
        position: absolute;
        content: "";
        width: max(40vw, 45rem);
        height: 1px;
        background: #fff;
        top: 50%;
        left: max(32vw, 40rem);
        display: none;
    }

    .title-box img {
        width: 100%;
    }

    .bt a {
        font-size: 1.8rem;
        border: 1px #fff solid;
        margin: 0 auto 8rem;
        width: 30rem;
        display: block;
        padding: 2rem 14rem 2rem 4rem;
        border-radius: 5rem;
        position: relative;
        transition:.3s;
    }

    .bt a:hover{
        background: #fff;
        color: #000;
    }

    .bt a::after {
        position: absolute;
        content: "";
        width: 10rem;
        height: 1px;
        top: 50%;
        right: 0;
        background: #fff;
    }

    .bt a:hover::after{
        position: absolute;
        content: "";
        width: 10rem;
        height: 1px;
        top: 50%;
        right: 0;
        background: #000;
    }
    
    .main-visual {
        width: 100%;
        height: max(75vw, 30rem);
        position: absolute;
        top: 5vw;
    }

    .slider{
        overflow: hidden;
        width: 100%;
        height: max(75vw, 30rem);
    }
    
    .slide{
        height: max(75vw, 30rem);
    }
    
    .slide-box01{
        background: url(../images/mv-sp.png) no-repeat center top / cover;
    }
    
    .slide-box02{
        background: url(../images/mv01-sp.png) no-repeat center top / cover;
    }

    /* news */
    .news {
        background: #82000a;
        padding: 2vw;
        color: #fff;
        margin: 65vw auto 10vw;
        position: relative;
        z-index: 1;
        width: 120rem;
        max-width: 90%;
    }

    .news::before {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        background: rgba(255, 255, 255, 0.3);
        top: 0;
        left: 5vw;
    }

    .news::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
        top: max(5vw,3rem);
        left: 0;
    }

    .news h2 {
        font-size: max(2.5vw, 4rem);
        @charset "UTF-8";
        margin: 0 0 2rem;
    }

    .news-list {
        font-size: max(1vw, 1.5rem);
        display: flex;
        flex-wrap: wrap;
        margin: 0 0 0 10vw;
        gap: 2px;
        flex-direction: column;
    }

    .news-list dt {
        width: 95%;
        line-height: 1.5;
        border-bottom: none !important;
    }

    .news-list dd {
        width: 95%;
        line-height: 1.5;
        margin: 0 0 2rem !important;
        padding: 0 0 2rem !important;
    }

    .news-list dt:not(:last-of-type),
    .news-list dd:not(:last-of-type) {
        margin: 0;
        padding: 0;
        border-bottom: 2px #fff dotted;
    }

    /* service */
    .service {
        padding: 0 0 10vw;
    }

    .service-list {
        width: 120rem;
        max-width: 90%;
        margin: 0 auto 5rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        color: #fff;
    }

    .service-list li {
        width: 48%;
    }

    .service-list li h3 {
        font-size: 2rem;
        margin: 0 0 1rem;
    }

    .service-list li span {
        font-size: 1.5rem;
        margin: 0 0 3rem;
        display: block;
        line-height: 1.5;
    }

    .service-list li img {
        width: 100%;
        margin: 0 0 1rem;
    }

    /* car service */
    .car-service {
        padding: 0 0 10vw;
    }

    .car-service-list {
        background: url(../images/bg-top-carservice.png) no-repeat right bottom 7vw /
            55%;
    }

    /* company */
    .company {
        background: url(../images/bg-top-company.png) no-repeat center bottom /
                30rem,
            #fff;
        padding: 0 0 10rem;
    }

    .company h2 {
        font-size: 13vw;
        font-family: "Book Antiqua", sans-serif;
        font-style: italic;
        color: #f4eeee;
        text-align: center;
    }

    .company-inner {
        background: #000;
        width: 90%;
        margin: auto;
        padding: 4vw;
    }

    .company-inner h3 {
        font-size: max(2.8vw, 3rem);
        display: flex;
        flex-direction: column;
        width: 16rem;
        text-align: right;
        gap: 1rem;
        position: relative;
        margin: 0 0 5rem;
        font-family: "Book Antiqua", sans-serif;
        font-style: italic;
    }

    .company-inner h3::after {
        position: absolute;
        content: "";
        width: 45vw;
        height: 1px;
        background: #fff;
        top: 50%;
        left: max(24vw, 24rem);
        display: none;
    }

    .company-inner h3 span {
        font-size: max(1.2vw, 1.6rem);
        font-family: dnp-shuei-shogomincho-std, sans-serif;
        font-weight: 700;
        font-style: normal;
    }

    .company-list {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 0 auto 5vw;
        flex-direction: column-reverse;
    }

    .company-list li {
        width: 100%;
    }

    .company-list li img {
        width: 100%;
    }

    .company-detail {
        display: flex;
        flex-wrap: wrap;
        font-size: max(1vw, 1.5rem);
        flex-direction: column;
    }

    .company-detail dt {
        width: 100%;
        border-bottom: 1px #fff solid;
        margin: 0 0 2rem;
        padding: 0 0 2rem;
        line-height: 1.5;
    }

    .company-detail dd {
        width: 100%;
        border-bottom: 1px #fff solid;
        margin: 0 0 2rem;
        padding: 0 0 2rem;
        line-height: 1.5;
    }

    /* car sales */
    .car-sales {
        padding: 5rem 0;
    }

    .car-sales-inner {
        width: 140rem;
        max-width: 90%;
        margin: auto;
    }

    .car-sales-inner > img {
        width: max(20vw, 30rem);
        margin: 0 0 5rem;
    }

    .car-sales-inner p {
        font-size: max(1vw, 1.5rem);
        width: 75rem;
        max-width: 100%;
        margin: 0 auto 5rem;
        line-height: 1.5;
    }

    .car-sales-list {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 0 auto 5rem;
        flex-direction: column;
        gap: 2rem;
    }

    .car-sales-list li {
        width: 100%;
    }

    .car-sales-list li img {
        width: 100%;
    }
}