@charset "utf-8";
ul {
    list-style-type: none;
}

/* ---------------------thnksfair共通----------------------- */
.post-body p .thnksfair{
	margin: 0;
}
.thnksfair {
	margin-bottom: -5%;
}
.thnksfair > img{
	width: 100%;
}
.thnksfair .inner{
	width: 90%;
	max-width: 1000px;
	margin: 0 auto !important;
}
.thnksfair .mainvl {
	line-height: 0;
}
.thnksfair p {
	font-weight: 400;
}



/* カーラインアップ
------------------------------------------------------- */
.thnksfair .lineup {
	background: url("img/lineup-bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	padding: 70px 0;
}
.thnksfair .lineup h2 {
	width: 40%;
	margin: 0 auto;
}
.thnksfair .lineup h3 {
	width: 30%;
	margin: 0 auto;
}
.thnksfair .lineup .car-margin:nth-of-type(4) h3 {
	width: 10%;
}
.thnksfair .lineup .car-margin {
	padding-top: 50px;
}
.thnksfair .lineup p {
	padding: 10px 0;
}

/* キャンペーンバナー
------------------------------------------------------- */
.thnksfair .cmp1,
.thnksfair .cmp2 {
	background: url("img/bnr-cmp-bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	padding: 70px 0;
}
.thnksfair .cmp1 .news,
.thnksfair .cmp2 .news {
	margin-top: 30px;
}
.thnksfair .cmp2 {
	background: url("img/forester-sti-bg.jpg");
}

/* aタグhover
------------------------------------------------------- */
.thnksfair a:hover img{
	opacity: 0.7;
}

/* btn
------------------------------------------------------- */
.thnksfair .news {
	width: 90%;
	max-width: 1000px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 auto;
	font-size: 18px;
	align-items: center;
}
.thnksfair .news div {
	width: 49%;
}
.thnksfair .news div {
	width: 49%;
}
.thnksfair .news p.button1 a,
.thnksfair .news p.button2 a {
	box-sizing: border-box;
	padding: 15px 40px;
	border-radius: 30px;
	font-size: 20px;
	background-color: #bb0000;
	color: #fff !important;
	text-decoration: none !important;
	display: block;
	text-align: center;
}
.thnksfair .btn-deco1 a::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 22px;
	background-image: url("img/btn-shop.png");
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 10px;
	vertical-align: middle;
}
.thnksfair .btn-deco2 a::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 14px;
	background-image: url("img/btn-sijo.png");
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 10px;
	vertical-align: middle;
}
.thnksfair .news p.button1 a,
.thnksfair .news p.button2 a{
	transition: ease all 0.3s;
}
.thnksfair .news p.button1 a:hover,
.thnksfair .news p.button2 a:hover{
	background: #d45757;
}

@media screen and (max-width: 896px) {
	.thnksfair {
		margin-bottom: -50px;
	}
	.thnksfair .news{
		padding: 1px 0;
		display: flex;
		flex-direction: column;
		gap: 10px 0;
	}
	.thnksfair .news div{
		width: 100%;
	}
	.thnksfair .news p.button1 a,
	.thnksfair .news p.button2 a{
		font-size: 1.1em;
	}
	.thnksfair .car-lineup {
		margin-bottom: 0;
		padding: 30px 0 15px 0;
	}
	.thnksfair .car-lineup .title {
		width: 50%;
		padding-bottom: 10px;
	}
}

@media screen and (max-width: 480px) {
	.thnksfair .lineup {
		padding: 30px 0;
	}
	.thnksfair .lineup h2 {
		width: 45%;
	}
	.thnksfair .lineup h3 {
		width: 37%;
	}
	.thnksfair .lineup .car-margin:nth-of-type(4) h3 {
		width: 13%;
	}
	.thnksfair .lineup .car-margin {
		padding-top: 20px;
	}
	.thnksfair .cmp1,
	.thnksfair .cmp2 {
		padding: 30px 0;
	}
	.thnksfair .cmp1 .news,
	.thnksfair .cmp2 .news {
		margin-top: 20px;
	}
}



.content {
    width: calc(90% - 80px);
    max-width: 1100px;
    margin: 0 auto !important;
    position: relative;
}

/* pre */

.pre {
    background-image: url(img/pre-bg-up.svg), url(img/pre-bg-down.svg), url(img/pre-bg.svg);
    background-size: 100%, 100%, cover;
    background-position: center top 1%, center bottom 1%, center top;
    background-color: #fff;
    background-repeat: no-repeat, no-repeat, no-repeat;
    text-align: center;
    padding: 300px 0 200px;
}

.pre h3 {
    width: 25%;
    margin: 0 auto;
}

.pre h2 {
    width: 50%;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 70px;
}

.pre h4 {
    width: 50%;
    margin: 0 auto;
    padding-bottom: 70px;
}


/* インスタ */

.insta-list {
    column-count: 3;
    width: 90%;
    margin: 0 auto;
    padding: 3% 0;
}

.insta-list .item-insta {
    break-inside: avoid;
    gap: 20px;
    width: 100%;
    display: inline-block;
}

.pre .btn2 a {
    text-decoration: none;
    display: block;
    background: #71AEE5;
    border: 2px solid #71AEE5;
    text-align: center;
    color: #fff;
    font-weight: 400;
    font-size: 1.1em;
    padding: 15px 0;
    transition: ease all 0.3s;
    letter-spacing: 2px;
}

.pre .btn2 a:hover {
    background: #fff;
    color: #71AEE5;
}


/*インスタのminwidthを強制的に変更*/

iframe.instagram-media.instagram-media-rendered {
    min-width: 100% !important;
}
/*ボタン*/

.btn {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 50px auto;
}

.btn div {
    width: 49%;
}

.btn div a {
    text-decoration: none;
    display: block;
    background: #A0995D;
    border: 2px solid #A0995D;
    text-align: center;
    color: #fff;
    font-weight: 400;
    font-size: 1.1em;
    padding: 15px 0;
    letter-spacing: 2px;
    transition: ease all 0.3s;
}

.btn div a:hover {
    background: #fff;
    color: #A0995D;
}

.btn2 {
    width: 60%;
    margin: 30px auto;
}

.btn2 a {
    text-decoration: none;
    display: block;
    background: #A0995D;
    border: 2px solid #A0995D;
    text-align: center;
    color: #fff;
    font-weight: 400;
    font-size: 1.1em;
    padding: 15px 0;
    transition: ease all 0.3s;
    letter-spacing: 2px;
}

.btn2 a:hover {
    background: #fff;
    color: #A0995D;
}

.btn3 div a {
    margin: 70px 0;
}


@media screen and (max-width: 480px) {
	.content {
        width: 90%;
        max-width: inherit;
        margin: 0 auto;
    }
    p,
    dd {
        font-size: 1.2em;
    }
    /* pre */
    .pre {
        background-position: center top 0.5%, center bottom 0.1%, center top;
        padding: 130px 0 90px;
    }
    .pre h3 {
        width: 45%;
        margin: 0 auto;
    }
    .pre h2 {
        width: 90%;
        margin: 0 auto;
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .pre h4 {
        width: 90%;
        margin: 0 auto;
        padding-bottom: 0px;
    }
    /* インスタ */
    .insta-list {
        column-count: 1;
        padding: 10% 0 0;
    }
    .btn {
        flex-wrap: wrap;
        padding: 30px 0;
        gap: 15px 0;
    }
    .btn2 {
	    width: 100%;
    }
    .btn div {
        width: 100%;
    }
    .btn3 div a {
        margin: 0;
    }
}





