@charset "UTF-8";
/*======================================================= 
 トーサイ公式サイト用スタイル
=======================================================*/
.single-post{
    padding: 20px 0 50px 0;
}

/* =============== 共通 =============== */
section{
    padding: 50px 0;
}
/* レイアウト */
.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}
/* ボタン */
.btn-link-w,
.btn-link-g{
    position: relative;
    display: block;
    max-width: 300px;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    padding: 15px 30px 15px 15px;
    margin: 50px auto 0;
}
.btn-link-w{
    background-color: #fff;
}
.btn-link-g{
    background-color: #f2f2f2;
}
.btn-link-w::after,
.btn-link-g::after{
    font-family: "Font Awesome 5 Free";
    content: '\f138';
    display: block;
    position: absolute;
    right: 25px;
    top: 31%;
    color: #DF0716;
}
.btn-link-w:hover,
.btn-link-g:hover{
    background-color: #DF0716;
    color: #fff;
}
.btn-link-w:hover::after,
.btn-link-g:hover::after{
    font-family: "Font Awesome 5 Free";
    content: '\f138';
    display: block;
    position: absolute;
    right: 25px;
    top: 31%;
    color: #fff;
}


/* =============== オープニングアニメーション =============== */
.opening-bg {
    width: 100%;
    height: 100vh;
    background: #fff;
    animation: bgAnime 0.5s linear 3s forwards;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}
.opening-block{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.opening-block img{
    max-width: 300px;
    width: 100%;
    margin: auto;
}
.opening-tx {
    position: relative;
    color: #555;
    height: 1em;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 15px;
}
.opening-tx:after{
    content: "";
    width: 100%;
    height: 1.5em;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 9;
    animation: textAnime1 1.5s linear forwards;
}

@keyframes textAnime1 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}
@keyframes bgAnime {
    0%{
        opacity: 1;
    }
    99%{
        opacity: 0;
    }
    100%{
        opacity: 0;
        visibility: hidden;
    }
}

/* top-nav */
.top-nav{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}
.top-nav .border-right{
    border-right: 2px solid #000;
}
.top-nav a{
    display: flex;
    align-items: center;
    font-weight: bold;
    padding: 10px 30px;
}
.top-nav img{
    width: 50px;
    margin-right: 10px;
}

/* fv */
.fv{
    overflow-x: hidden;
    padding: 20px 0;
}
.slider .slick-slide{
  width: 1000px;
  margin: 0 15px;
}

/* 車を探す */
.maker, .bodytype, .price{
    padding: 0;
}
.carsearch-grid,
.carsearch-price-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 30px 0;
}
.carsearch h3{
    border-bottom: 1px solid #454545;
}
.carsearch img{
    width: 90%;
}
.maker a,
.bodytype a{
    display: inline-flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: bold;
}
.carsearch-grid{
    text-align: center;
}
.carsearch .price a{
    font-weight: bold;
    text-align: center;
    background-color: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 10px;
    padding: 20px 15px;
}
.carsearch .price a:hover{
    background-color: #DF0716;
    color: #fff;
    border: 1px solid #DF0716;
}

/* 新着車両情報 */

/* 閲覧履歴・お気に入り */
.history h2,
.favorite h2{
    position: relative;
    padding-left: 1.5em;
}
.history h2::before,
.favorite h2::before{
    position: absolute;
    content: "";
    width: 25px;
    height: 25px;
    border-radius: 50px;
    background-color: #DF0716;
    top: 26%;
    left: 0;
}
.car-block{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.car-block.slick-slider .slick-slide {
  margin: 0 7.5px;
}

.car-block.slick-slider {
  margin: 0 -7.5px;
}
.car-block.slick-slider .slick-list{
  padding: 10px 0;
}
.car-item{
    width: calc((100% - 40px) / 3);
    background-color: #fff;
    box-shadow: 0 0 8px #adadad;
    border-radius: 10px;
}
.car-item:hover{
    opacity: 0.8;
    color: #000;
}
.car-img img{
    border-radius: 10px 10px 0 0;
}
.car-content{
    font-weight: bold;
    padding: 15px;
}
.car-name{
    text-align: center;
}
.car-name .grade{
    font-size: 12px;
}
.total-price{
    font-size: 18px;
    text-align: center;
}
.total-price span{
    font-size: 2em;
}
.car-content dl{
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid #c4c4c4;
    padding-top: 10px;
}

/* 選ばれる理由 */
.reason-block{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}
.reason-item{
    background-color: #fff;
    border-radius: 10px;
}
.reason-num{
    background-color: #454545;
    color: #fff;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}
.reason-content{
    padding: 15px;
}
.reason-tit{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 最新情報 */
.blog-item{
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #000;
    padding: 10px 0;
}
.blog-item:hover{
    color: #454545;
}

/* よくあるご質問 */
.faq-item{
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 5px 0 #E6EBEF;
    padding: 0 20px;
    margin-bottom: 20px;
}
.faq-tit{
    position: relative;
    padding: 20px 0;
}
.faq-tit::before,
.faq-tit::after{
    position: absolute;
    content: "";
    top: 0;
    right: 15px;
    bottom: 0;
    width: 15px;
    height: 3px;
    margin: auto;
    background-color: #DF0716;
}
.faq-tit::after {
    transform: rotate(-90deg);
    transition: transform 0.3s;
}
.faq-tit.open::after {
    transform: rotate(0deg);
}
.faq-tit h3{
    position: relative;
    font-size: 20px;
    padding: 0 50px;
    margin: 0;
}
.faq-tit h3::before{
    position: absolute;
    content: "Q";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    background-color: #454545;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}
.faq-tx{
    display: none;
    border-top: 1px solid #ddd;
    padding: 20px 0;
}
.faq-tx p{
    position: relative;
    padding-left: 50px;
}
.faq-tx p::before{
    position: absolute;
    content: "A";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    background-color: #DF0716;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}


/*1000px以下*/
@media screen and (max-width:1000px){
    body, p, a{
        font-size: 14px;
    }
    /* 車を探す */
    .carsearch-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 20px;
    }
    /* 閲覧履歴・お気に入り */
    .car-block{
        gap: 15px;
    }
    .car-item{
        width: calc((100% - 30px) / 3);
    }
    .car-name .grade{
        font-size: 10px;
    }
    .total-price{
        font-size: 15px;
    }
    .total-price span{
        font-size: 1.5em;
    }
    /* faq */
    .faq-tit h3{
        font-size: 18px;
    }
    .faq-tit h3::before,
    .faq-tx p::before{
        width: 30px;
        height: 30px;
        font-size: 17px;
    }
}

/*750px以下*/
@media screen and (max-width:750px){
    body, p, a{
        font-size: 14px;
    }
    /* 車を探す */
    .grid-2{
        display: block;
    }
    .carsearch-grid{
        grid-template-columns: repeat(4, 1fr);
        margin: 20px 0;
    }
    .carsearch-price-grid{
        grid-template-columns: repeat(2,1fr);
    }
    .maker a, .bodytype a{
        font-size: 12px;
    }
    /* 選ばれる理由 */
    .reason-block{
        display: block;
    }
    .reason-item{
        margin-bottom: 20px;
    }
    .reason-item img{
        width: 100%;
    }
    /* 閲覧履歴・お気に入り */
    .history h2::before,
    .favorite h2::before{
        width: 20px;
        height: 20px;
    }
    .car-item{
        width: calc((100% - 15px) / 2);
    }
    .car-content{
        padding: 10px;
    }
    /* faq */
    .faq-item{
        padding: 0;
        margin-bottom: 15px;
    }
    .faq-tit, .faq-tx{
        padding: 15px;
    }
    .faq-tit h3{
        font-size: 16px;
    }
}

/*480px以下*/
@media screen and (max-width:480px){
    section{
        padding: 30px 0;
    }
    /* オープニングアニメーション */
    .opening-block img{
        width: 50%;
    }
    .opening-tx{
        font-size: 14px;
    }
    /* top-nav */
    .top-nav a{
        padding: 10px 20px;
    }
    .top-nav img{
        width: 40px;
    }
    /* 車を探す */
    .carsearch-grid p{
        font-size: 12px;
    }
    /* 閲覧履歴・お気に入り */
    .car-block.slick-slider {
        margin: 0 20px;
    }
    .car-content{
        padding: 15px;
    }
    .total-price{
        font-size: 18px;
    }
    .total-price span{
        font-size: 2em;
    }
    .car-item{
        width: calc((100% - 30px) / 1);
        margin: 0 20px;
    }
    /* faq */
    .faq-tit h3{
        font-size: 14px;
        padding: 0 20px 0 40px;
    }
    .faq-tit h3::before, .faq-tx p::before {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    .faq-tx p{
        padding-left: 40px;
    }
}