@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #8ac8eb;
}
input[type="submit"] {
    transition: .3s;
}
input[type="submit"]:hover {
    transform: scale(1.1);
    transition: .3s;
}
/*背景*/
main {
    background-image: url(../images/2.png),url(../images/7.png);
    background-repeat: no-repeat,no-repeat;
    background-position: 90% 4%,45% 48%;
    background-size: 15vw,14vw;
    animation: moveUpDown 8s linear infinite;
}
@keyframes moveUpDown {
    0% {
        background-position: 90% 4%, 45% 48%; 
    }
    50% {
        background-position: 90% 9%, 45% 51%;
    }
    100% {
        background-position: 90% 4%, 45% 48%; 
    }
}
.hero1 {
    background-image: url(../images/3.png),url(../images/11.png);
    background-repeat: no-repeat,no-repeat;
    background-position: 12% 18%,89% 72%;
    background-size: 17vw,16vw;
    animation: moveUpDownHero1 7s linear infinite;
}
@keyframes moveUpDownHero1 {
    0% {
        background-position: 12% 18%, 89% 72%; 
    }
    50% {
        background-position: 12% 20%, 89% 75%; 
    }
    100% {
        background-position: 12% 18%, 89% 72%; 
    }
}
.hero2 {
    background-image: url(../images/12.png);
    background-repeat: no-repeat;
    background-position: 13% 69%;
    background-size: 12.5vw;
    animation: moveUpDownHero2 8s linear infinite;
}
@keyframes moveUpDownHero2 {
    0% {
        background-position: 13% 69%;
    }
    50% {
        background-position: 13% 73%;
    }
    100% {
        background-position: 13% 69%;
    }
}
.hero3 {
    background-image: url(../images/4.png),url(../images/sirakaba.png),url(../images/5.png);
    background-repeat: no-repeat,repeat-y,no-repeat;
    background-position: center bottom,center,center bottom 2.5%;
    background-size: contain;
}
/*スマホ・タブレット*/
@media screen and (max-width: 1025px) {
    .hero3 {
        background-image: url(../images/4.png),url(../images/mobilesirakaba.png),url(../images/5.png);
        background-repeat: no-repeat,repeat-y,no-repeat;
        background-position: center bottom,center,center bottom 2.5%;
        background-size: contain;
    }
}

/*ページタイトル*/
.top {
    margin-bottom: 10vw;
}
.syasyu {
    padding-top: 10vw;
}
.top h3 {
    margin-bottom: 5%;
}
.side_txt {
    position: relative;
    color: #eeefee;
    text-align: center;
    font-size: 1.8vw;
    line-height: 2em;
    margin-top: 2%;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .side_txt {
        font-size: 2.5vw;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .side_txt {
        font-size: 2.8vw;
    }
}
/*ボディタイプ*/
.body_type {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 5vw;
}
.body_type h3 {
    margin-bottom: 5%;
}
.car_item {
    font-size: 1.8vw;
    margin-left: 1.5vw;
}
.car_txt {
    font-size: 0.8vw;
    margin-left: 1.5vw;
}
.car_items {
    margin-bottom: 1vw;
}
.car_table {
    margin: 0 auto;
    margin-top: 0.25vw;
    border-collapse: separate;
    border-spacing: 0.25vw;
}
.car_thead {
    background-color: #0b73ea;
    color: #EEEFEE;
}
.car_tbody {
    background-color: #fff;
}
.car_th, .car_td {
    padding: 0.4vw;
    width: 10vw;
    text-align: center;
    font-weight: bold;
    font-size: 1vw;
}
.info {
    margin-left: 17vw;
    margin-bottom: 0.5vw;
    font-size: 1vw;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .car_txt {
        font-size: 1.25vw;
    }
    .info {
        font-size: 1.25vw;
    }
    .car_table {
        margin-top: 0.5vw;
        border-spacing: 0.3vw;
    }
    .car_th, .car_td {
        padding: 0.5vw;
        width: 12vw;
        font-size: 1.25vw;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .car_txt {
        font-size: 1.75vw;
    }
    .info {
        font-size: 1.5vw;
    }
    .car_table {
        margin-top: 0.5vw;
        border-spacing: 0.3vw;
    }
    .car_th, .car_td {
        padding: 0.6vw;
        width: 13vw;
        font-size: 1.75vw;
    }
    .car_item {
        font-size: 2vw;
    }
}
/*軽・コンパクトカー*/
.mini {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5%;
}
.mini_img {
    position: relative;
    width: 25%;
    margin-left: 18%;
}
.alto {
    position: absolute;
    width: 17vw;
    top: 10%;
}
.taft {
    position: absolute;
    width: 17.5vw;
    top: 35%;
    left: 35%;
}
.box1 {
    width: 35vw;
    height: 18vw;
    background-color: #EEEFEE;
    color: #5b4e5b;
    border-radius: 1vw;
    margin-right: 16.5%;
    padding: 0.5vw;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .mini_img {
        width: 30%;
        margin-left: 13%;
    }
    .alto {
        position: absolute;
        width: 17vw;
        top: 10%;
    }
    .taft {
        position: absolute;
        width: 17.5vw;
        top: 35%;
        left: 35%;
    }
    .box1 {
        width: 40vw;
        height: 22vw;
        margin-right: 13%;
        padding: 0.8vw;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .mini_img {
        width: 30%;
        margin-left: 10%;
    }
    .alto {
        position: absolute;
        width: 22vw;
        top: 10%;
    }
    .taft {
        position: absolute;
        width: 22vw;
        top: 38%;
        left: 35%;
    }
    .box1 {
        width: 45vw;
        height: 26.5vw;
        margin-right: 10%;
        padding: 0.8vw;
    }
}
/*普通車・ワゴン*/
.normal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5%;
}
.box2 {
    width: 35vw;
    height: 18vw;
    background-color: #EEEFEE;
    color: #5b4e5b;
    border-radius: 1vw;
    margin-left: 16.5%;
    padding: 0.5vw;
}
.normal_img {
    position: relative;
    width: 25%;
    margin-right: 21%;
}
.swift {
    position: absolute;
    width: 20vw;
    top: 5%;
}
.fit {
    position: absolute;
    width: 23vw;
    top: 40%;
    left: 25%;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .normal_img {
        width: 30%;
        margin-right: 13%;
    }
    .swift {
        position: absolute;
        width: 22vw;
        top: 10%;
    }
    .fit {
        position: absolute;
        width: 23vw;
        top: 38%;
        left: 30%;
    }
    .box2 {
        width: 40vw;
        height: 22vw;
        padding: 0.8vw;
        margin-left: 13%;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .normal_img {
        width: 30%;
        margin-right: 10%;
    }
    .swift {
        position: absolute;
        width: 25vw;
        top: 10%;
    }
    .fit {
        position: absolute;
        width: 28vw;
        top: 38%;
        left: 20%;
    }
    .box2 {
        width: 45vw;
        height: 26.5vw;
        padding: 0.8vw;
        margin-left: 10%;
    }
}
/*SUV*/
.SUV {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5%;
}
.SUV_img {
    position: relative;
    width: 25%;
    margin-left: 16.5%;
}
.xtrail {
    position: absolute;
    width: 18vw;
    top: 8%;
}
.delica {
    position: absolute;
    width: 20vw;
    top: 44%;
    left: 40%;
}
.box3 {
    width: 35vw;
    height: 18vw;
    background-color: #EEEFEE;
    color: #5b4e5b;
    border-radius: 1vw;
    margin-right: 16.5%;
    padding: 0.5vw;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .SUV_img {
        width: 30%;
        margin-left: 12%;
    }
    .xtrail {
        position: absolute;
        width: 21vw;
        top: 10%;
    }
    .delica {
        position: absolute;
        width: 22vw;
        top: 45%;
        left: 33%;
    }
    .box3 {
        width: 40vw;
        height: 22vw;
        margin-right: 13%;
        padding: 0.8vw;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .SUV_img {
        width: 30%;
        margin-left: 10%;
    }
    .xtrail {
        position: absolute;
        width: 22vw;
        top: 10%;
    }
    .delica {
        position: absolute;
        width: 23vw;
        top: 42%;
        left: 37%;
    }
    .box3 {
        width: 45vw;
        height: 26.5vw;
        margin-right: 10%;
        padding: 0.8vw;
    }
}
/*バン・軽トラック*/
.ban {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5%;
}
.box4 {
    width: 35vw;
    height: 18vw;
    background-color: #EEEFEE;
    color: #5b4e5b;
    border-radius: 1vw;
    margin-left: 16.5%;
    padding: 0.5vw;
}
.ban_img {
    position: relative;
    width: 25%;
    margin-right: 21%;
}
.van {
    position: absolute;
    width: 22vw;
    top: 8%;
}
.ktora {
    position: absolute;
    width: 18vw;
    top: 42%;
    left: 45%;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .ban_img {
        width: 30%;
        margin-right: 13%;
    }
    .van {
        position: absolute;
        width: 22.5vw;
        top: 10%;
    }
    .ktora {
        position: absolute;
        width: 20vw;
        top: 38%;
        left: 35%;
    }
    .box4 {
        width: 40vw;
        height: 22vw;
        padding: 0.8vw;
        margin-left: 13%;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .ban_img {
        width: 30%;
        margin-right: 10%;
    }
    .van {
        position: absolute;
        width: 25vw;
        top: 10%;
    }
    .ktora {
        position: absolute;
        width: 22vw;
        top: 38%;
        left: 35%;
    }
    .box4 {
        width: 45vw;
        height: 26.5vw;
        padding: 0.8vw;
        margin-left: 10%;
    }
}
/*その他*/
.other {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30%;
    text-align: center;
    color: #5b4e5b;
}
.other h3 {
    margin-bottom: 5%;
}
.other_box {
    background-color: #EEEFEE;
    width: 65vw;
    height: calc(65vw * 0.5);
    border-radius: 1vw;
    display: flex;
    justify-content: space-around;
}
.other h2 {
    font-size: 1.5vw;
}
.other p {
    font-size: 1vw;
}
.opution {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.opution img {
    width: 12.5vw;
}
.compensation {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.compensation img {
    width: 17.5vw;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .other_box {
        width: 80vw;
        height: calc(80vw * 0.5);
    } 
    .other h2 {
        font-size: 2.25vw;
    }
    .other p {
        font-size: 1.8vw;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .other_box {
        width: 80vw;
        height: calc(80vw * 0.5);
    } 
    .other h2 {
        font-size: 2.25vw;
    }
    .other p {
        font-size: 1.8vw;
    }
}
/*ポップアップウィンドウ*/
.popup_wrap1 input {
    display: none;
}
.popup_wrap2 input {
    display: none;
}
.popup_overlay1,
.popup_overlay2 {
    display: flex;
    justify-content: center;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s, transform 0s 0.5s;
    transform: scale(0);
}

.popup_trigger1,
.popup_trigger2 {
    position: absolute;
    width: 100%;
    height: 100%;
}

.popup_content {
    position: relative;
    align-self: center;
    width: 90%;
    max-width: 800px;
    padding: 30px 40px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
    text-align: justify;
}

.close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    cursor: pointer;
    padding:8px;
    background: #0b73ea;
    color: #fff;
    border-radius:15px;
    line-height:14px;
    font-weight:bold;
}

.popup_wrap1 input:checked ~ .popup_overlay1 {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s;
}
.popup_wrap2 input:checked ~ .popup_overlay2 {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s;
}

.popup_wrap2 input:checked ~ .popup_overlay2 .popup_content {
    transform: translateY(50px);
}

.open_btn {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10vw;
    color: #5b4e5b;
    padding: 1vw 0.5vw;
    font-weight: bold;
    font-size: 1vw;
    border-radius: 1.5vw;
    cursor: pointer;
    transition: .3s ease;
}

.open_btn:hover{
    background:#0b73ea;
    color:#fff;
    transition: .3s ease;
}

.options_items {
    margin-top: 1vw;
}
.other_table {
    border-collapse: separate;
    border-spacing: 0.25vw;
    width: 100%;
}
.other_thead {
    background-color: #0b73ea;
    color: #EEEFEE;
}
.other_tbody {
    background-color: #e5edee;
}
.other_th, .other_td {
    width: 33%;
    padding: 0.4vw;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1vw;
}
.popup_content1, .popup_content2 h2 {
    font-size: 1.5vw;
}
.cb_items {
    font-size: 1vw;
}
.cb_items {
    margin-top: 1vw;
}
.cb_table {
    border-collapse: separate;
    border-spacing: 0.25vw;
    width: 100%;
}
.cb_th {
    width: 20%;
    background-color: #0b73ea;
    color: #EEEFEE;
    padding: 0.4vw;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1vw;
}
.cb_td {
    padding: 0.4vw;
    padding-left: 1.5vw;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1vw;
    background-color: #e5edee;
}
.link {
    color: #0b73ea;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    .open_btn {
        width: 15vw;
        font-size: 2vw;
        background:#0b73ea;
        color: #eeefee;
        border-radius: 1.8vw;
    }
    .popup_overlay1,
    .popup_overlay2 {
        width: 100vw;
        align-items: center;
    }
    .popup_content {
        width: 95%;
        padding: 12.5px;
    }
    .other_table {
        border-spacing: 0.35vw;
    }
    .other_th, .other_td {
        font-size: 1.7vw;
    }
    .popup_content h2 {
        font-size: 2.5vw;
    }
    .options_items, .cb_items {
        font-size: 2.25vw;
    }
    .cb_table {
        border-spacing: 0.35vw;
    }
    .cb_th {
        font-size: 1.8vw;
        padding: 0.7vw;
    }
    .cb_td {
        padding: 0.8vw;
        line-height: 2.5vw;
        font-size: 1.7vw;
    }
    .options_items p {
        font-size: 1.7vw;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    .open_btn {
        width: 15vw;
        font-size: 2vw;
        background:#0b73ea;
        color: #eeefee;
        border-radius: 1.8vw;
    }
    .popup_overlay1,
    .popup_overlay2 {
        width: 100vw;
        align-items: center;
    }
    .popup_content {
        width: 95%;
        padding: 12.5px;
    }
    .other_table {
        border-spacing: 0.35vw;
    }
    .other_th, .other_td {
        font-size: 2vw;
    }
    .popup_content h2 {
        font-size: 3.5vw;
    }
    .options_items, .cb_items {
        font-size: 2.5vw;
    }
    .cb_table {
        border-spacing: 0.35vw;
    }
    .cb_th {
        font-size: 2vw;
        padding: 0.8vw;
    }
    .cb_td {
        padding: 0.8vw;
        line-height: 2.5vw;
        font-size: 2vw;
    }
    .options_items p {
        font-size: 2vw;
    }
}