/* ローディング画面
================================================== */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 0.5s;
    background: #222;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.spinner > div {
    width: 8px;
    height: 8px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #fff;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0.5) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    } 40% {
        opacity: 1;
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}
.spinner .text {
    margin-top: 20px;
    font-family: 'Montserrat-Bold';
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.7em;
    text-align: center;
}
.loaded {
    opacity: 0;
    visibility: hidden;
}

/* スライダー
================================================== */
.slider_wrap {
    position: relative;
}
.layer_text1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.layer_text2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.layer_news {
    position: absolute;
    bottom: 20px;
    left: 0;
    z-index: 2;
    display: flex;
    align-items:center;
    align-items: stretch;
    width: 65%;
    background: #fff;
}
.layer_news .news {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    font-family: 'Montserrat-Bold';
    font-size: 900;
    font-size: 20px;
    color: #fff;
    text-align: center;
    background: #f08300;
    box-sizing: border-box;
}
.layer_news .cont {
    display: flex;
    align-items: center;
    width: 80%;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3em;
    background: #fff;
    box-sizing: border-box;
    background: url(../img/arrow2.png) right 20px center no-repeat;
}
.layer_news .cont a {
    display: block;
    padding: 5px 50px 5px 20px;
    width: 100%;
    color: #444;
}

@keyframes zoomIn {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
.sp-slide img.zooming {
    animation: zoomIn 4s ease-in-out forwards;
}
@media only screen and (max-width: 767px) {
    .slider_wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    #slide1 {
        width: 100%;
        height: 100vw;
    }
    .sp-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .layer_news {
        width: 95%;
        bottom: 10px;
    }
    .layer_news .news {
        font-size: 12px;
        width: 22%;
    }
    .layer_news .cont {
        width: 100%;
        font-size: 11px;
        background: #fff;
    }
    .layer_news .cont a {
        padding: 5px 10px 5px 10px;
    }
    .layer_text1,
    .layer_text2 {
        top: auto;
        bottom: 25%;
        left: 5%;
        right: 5%;
        transform: scale(1.5) !important;
    }
}



/* 共通
================================================== */
h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
}
.h2_en {
    margin-top: 10px;
    margin-bottom: 50px;
    font-family: 'Montserrat-Bold';
    color: #f08300;
    font-size: 16px;
    font-size: 900;
    letter-spacing: 0.1em;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    h2 {
        font-size: 26px;
    }
    .h2_en {
        margin-bottom: 30px;
        font-size: 14px;
    }
}

h3 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5em;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h3 {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        line-height: 1.2em;
        margin-bottom: 10px;
    }
}





/* メイン
================================================== */
#tp_main_bg {
    padding: 100px 0;
}
#tp_main_bg h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.5em;
    margin-bottom: 20px;
}
.tp_main_img_wrap p {
    text-align: right;
}
@media only screen and (max-width: 767px) {
    #tp_main_bg {
        padding: 30px 0 0 0;
    }
    #tp_main_bg h1 {
        font-size: 24px;
        text-align: center;
    }
    .tp_main_img_wrap p {
        text-align: center;
    }
    .tp_main_img_wrap p img {
        margin-top: 30px;
        width: 60%;
    }
}





/* 自動車整備・修理・車検
================================================== */
#tp_maintenance_bg {
    padding: 35px 0 80px 0;
    background:
    url(../img/logo_bg.png) no-repeat right -120px center,
        linear-gradient(90deg, #f08300 0%, #f08300 30%, transparent 30%, transparent 100%);
}
#tp_maintenance_bg .en {
    font-family: 'Montserrat-Bold';
    color: #f08300;
    font-size: 60px;
    line-height: 1.3em;
    text-align: right;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
#tp_maintenance {
    margin-top: -65px;
}
#tp_maintenance h2 {
    margin-top: 60px;
    text-align: right;
}
@media only screen and (max-width: 767px) {
    #tp_maintenance_bg {
        margin-top: 50px;
        padding: 5px 0 50px 0;
        background:
        linear-gradient(90deg, #f08300 0%, #f08300 2%, transparent 2%, transparent 100%);
    }
    #tp_maintenance_bg .en {
        font-size: 30px;
        text-align: center;
        margin-bottom: 10px;
        position: static;
    }
    #tp_maintenance {
        margin-top: 0;
    }
    #tp_maintenance h2 {
        margin-top: 19px;
        text-align: center;
    }
}

/* 新車・中古車販売
================================================== */
#tp_sale_bg {
    margin-top: 0;
    padding: 35px 0 80px 0;
    background:
    url(../img/logo_bg.png) no-repeat left -120px center,
        linear-gradient(90deg, transparent 0%, transparent 70%, #003344 70%, #003344 100%);
}
#tp_sale_bg .en {
    font-family: 'Montserrat-Bold';
    color: #003344;
    font-size: 60px;
    line-height: 1.3em;
    text-align: left;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
#tp_sale {
    margin-top: -65px;
}
#tp_sale h2 {
    margin-top: 60px;
    text-align: left;
}
@media only screen and (max-width: 767px) {
    #tp_sale_bg {
        margin-top: 0;
    }
    #tp_sale .container {
        display: flex;
        flex-wrap: wrap;
    }
    #tp_sale .g5 {
        order: 2;
    }
    #tp_sale .g7 {
        order: 1;
    }

    #tp_sale_bg {
        margin-top: 50px;
        padding: 5px 0 50px 0;
        background:
        linear-gradient(90deg, transparent 0%, transparent 98%, #003344 98%, #003344 100%);
    }
    #tp_sale_bg .en {
        font-size: 30px;
        text-align: center;
        margin-bottom: 10px;
        position: static;
    }
    #tp_sale {
        margin-top: 0;
    }
    #tp_sale h2 {
        margin-top: 19px;
        text-align: center;
    }
}





/* 自動車パーツネット販売
================================================== */
#tp_parts_bg {
    margin-top: 100px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    background:
    linear-gradient(90deg, transparent 0%, transparent 90%, #fff 90%, #fff 100%),
    linear-gradient(90deg, #fff 0%, #fff 10%, #f0f0f0 10%, #f0f0f0 100%);
}
#tp_parts_bg .en {
    margin-top: -40px;
    font-family: 'Montserrat-Bold';
    color: #f08300;
    font-size: 60px;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 10px;
}
#tp_parts_bg .lead {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
#carousel1 .sp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media only screen and (max-width: 767px) {
    #tp_parts_bg {
        margin-top: 50px;
        margin-bottom: 50px;
        padding-top: 20px;
        padding-bottom: 50px;
    }
    #tp_parts_bg .en {
        margin-top: 0;
        font-size: 30px;
    }
    #tp_parts_bg .lead {
        margin-top: 10px;
        font-size: 19px;
    }
}

.slide-link {
    position: relative;
    display: block;
}
.slide-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.slide-link:hover .slide-title {
    opacity: 1;
}
@media only screen and (max-width: 767px) {
    .slide-title {
        padding: 5px 10px;
        opacity: 0.9;
        transform: none;
    }
}





/* アクセス
================================================== */
#tp_access_bg {
    padding: 100px 0;
    background: #f0f0f0;
}
@media only screen and (max-width: 767px) {
    #tp_access_bg {
        padding: 50px 0;
    }
    #tp_access_bg iframe {
        height: 400px;
    }
}

.tp_access_desc {
    margin-top: 50px;
    background: #fff;
    display: flex;
    justify-content:center;
    align-items:center;
}
.tp_access_desc .photo {
    width: 56.67%;
}
.tp_access_desc .cont {
    width: 43.33%;
    padding: 0 3%;
    box-sizing: border-box;
}
.tp_access_desc .cont p {
    line-height: 1.7em;
}
.tp_access_desc .cont .tel {
    margin-top: 5px;
    font-family: 'Montserrat-Bold';
    font-size: 20px;
}
.tp_access_desc .cont .tel strong {
    font-size: 40px;
}
.tp_access_desc .cont .tel a {
    color: #444;
}
@media only screen and (max-width: 767px) {
    .tp_access_desc {
        margin-top: 10px;
        display: block;
    }
    .tp_access_desc .photo {
        width: 100%;
    }
    .tp_access_desc .cont {
        width: 100%;
        padding: 20px;
    }
    .tp_access_desc .cont p {
        text-align: center;
    }
    .tp_access_desc .cont p img {
        width: 70% !important;
    }
    .tp_access_desc .cont .tel {
        margin-top: 15px;
        font-size: 16px;
    }
    .tp_access_desc .cont .tel strong {
        font-size: 32px;
    }
}





/* お知らせ
================================================== */
#tp_news_bg {
    padding: 80px 0;
    background: #fff;
}
.tp_news_wrap {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    margin-bottom: 5px;
}
.tp_news_wrap .date {
    width: 20%;
    padding: 20px 0;
    color: #fff;
    text-align: center;
    background: #f08300;
    box-sizing: border-box;
}
.tp_news_wrap .title {
    padding-left: 20px;
    width: 80%;
    box-sizing: border-box;
    background: url(../img/arrow2.png) right 20px center no-repeat;
}
@media only screen and (max-width: 767px) {
    #tp_news_bg {
        padding: 50px 0;
    }
    #tp_news {
        padding: 20px;
    }
    .tp_news_wrap {
        display: block;
        padding: 10px;
    }
    .tp_news_wrap .date {
        padding: 5px 0;
        width: 100%;
        margin-left: 0;
    }
    .tp_news_wrap .title {
        width: 100%;
        padding-left: 0;
        margin-top: 5px;
        background: none;
    }
}



