/*
Theme Name:g_btn2022
Author: Hisatomi Kenji
Description: 
Version: 1.0
*/

/* 上書き */
.wp-block-group__inner-container {
	width:100%;
}
.btn {
    padding: 10px 15px;
    border-width: 3px;
    min-width: 320px;
    background-position: right 15px center;
}

/********** 変数設定 **********/
:root {
	--page-link-line: 1px solid #ddd;
/* 	--pink:#E8358A; */
}

/*********** メーカー紹介ページ ***********/

.product_cont{
	text-align: left;
	display: flex;
	margin-bottom: 80px;
	background:#FDF4F9;
	max-width:100%;
	min-width:100%;
}

.product_cont p {
}

.product_top {
	padding:5vw;
	margin:0 auto 40px;
	display:block;
	margin-top:1px;
	background:url(/cms/wp-content/uploads/2023/05/product_top_image-1-e1685502235147.jpg) no-repeat top right;
/*     background-repeat: no-repeat; */
	min-height:250px;
    max-height: 500px;
    background-size: auto 100%;
/*     background-position: top center; */
    background-color: #000;
}
.product_top .top_bg_image {
	position:relative;
	width:100%;
}
.product_top .top_bg_image img {
	width:100%;
}

.product_top .top_lead {
	padding:1.5em;
	background:rgba(255,255,255,.9);
	border-radius:2vh;
	max-width:680px;
	font-size: clamp(16px, 0.798rem + 0.77vw, 22px);
/* 	box-shadow: 2vw 2vh 0px 0px rgba(0,0,0,.9); */
}

.product_main article figure {
	width: 40%;
}
.product_main article .rightcol{
	flex: 1;
	margin-left: 30px;
}

.product_main > p {
	margin:0 10px 10px;
}

.main_area {
    box-sizing: content-box;
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* メーカー一覧 */
.page_lnk {
	margin:0 auto;
	padding:20px 40px;
	text-align:center;
/* 	width:96%; */
}
.menu_list {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 2px;
    margin: 0 auto;
    padding: 10px 5% 30px;
    max-width: 1220px;
    text-align: center;
	
}
.menu_list li {
	list-style:none;
	border:1px solid ;
	border-color:var(--pink);
}
.menu_list li a {
	display:block;
	padding:10px 2px;
	background:var(--pink);
	color:#fff;
}
.menu_list li a:hover {
	opacity:.8;
}
.menu_list li a:before {
	content:"▼";
	padding-right:5px;
	font-size:.7em;
}

/* 国別 */

.product_main {
    margin-top: -100px;
    padding-top: 120px;
}

.ttl_contory {
    border: 3px solid #111;
    width: 100%;
    padding: 0.4em 0 0.4em 4em;
    background: #111;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 20px !important;
	font-size: clamp(20px, 3vw, 32px);
	color:#fff;
	font-weight:700;
}
.ttl_contory.ico_de {
	background-image:url(/cms/wp-content/uploads/2023/05/ico_c_de.png);	
}
.ttl_contory.ico_us {
	background-image:url(/cms/wp-content/uploads/2023/05/ico_c_us.png);	
}
.ttl_contory.ico_uk {
	background-image:url(/cms/wp-content/uploads/2023/05/ico_c_uk.png);	
}
.ttl_contory.ico_it {
	background-image:url(/cms/wp-content/uploads/2023/05/ico_c_it.png);	
}
.ttl_contory.ico_fr {
	background-image:url(/cms/wp-content/uploads/2023/05/ico_c_fr.png);	
}
.ttl_contory.ico_ue {
	background-image:url(/cms/wp-content/uploads/2023/05/ico_c_ue.png);	
}
.ttl_contory:before {
}
/* 国別メーカー */

.ttl_contory_sub {
	position: relative;
	display: inline-block;
	margin: 1em auto 2em;
	font-size: clamp(20px, 3vw, 30px);
}
.ttl_contory_sub:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: black;
  border-radius: 2px;
}

.ttl_contory_product {
font-size: clamp(20px, 3vw, 24px);
    width: 100%;
    background: #222;
    color: #fff;
    font-weight: 700;
    padding: 1.2vh 0.5vw;
    text-align: center;
}
.product_box {
	margin:0 0 40px !important ;
	text-align:center;
    width: 100%;
}
.product_lst {
	
}
.product_lst {
    padding: 0;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    list-style: none;
    gap: 2vw;
    margin: 0 0 20px;
}

.product_detail {
    display: block !important;
	position:relative;
	border: 1px solid #ccc;
    background: #fff;
	padding:0 0 70px; 
	height:100%;
}

.product_detail .cap_car {
	position: relative;
    height: 220px;
    overflow: hidden;
}

.product_detail .cap_car > img {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.product_detail .credit {
	position:absolute;
    bottom: 0;
	text-align:left;
	color:#fff;
	font-size:clamp(11px, 1vw, 13px);
}
.product_detail .credit a {
	color:#fff;
	font-size:clamp(11px, 1vw, 13px);	
}

.dl_product {
	padding: 20px;
	flex-grow:1;
	text-align:left;
}
.dl_product dt {
	font-weight:800;
}
.dl_product > dd {
	margin-left:10px;
	margin-bottom:10px;
}
.dl_product dl {
	display:flex;
	flex-wrap: wrap;
}
.dl_product dl dt,
.prduct_lst dl dd {
}
.dl_product dl dd {
	margin-left:10px;
	margin-bottom:10px;
}

.car_kind {
	display:flex;
	flex-wrap:wrap;
}
.car_kind li {
	list-style:disc inside;
	margin-right:20px;
    min-width: 42%;
}

.lnk_case {
    width: fit-content;
    margin: 20px 20px 20px auto;
    border: 2px solid var(--pink);
}
.lnk_case a {
	display:block;
	padding:10px 10px 10px 50px;
    background: url(../images/gnav8-sp.svg) 10px center / 30px auto no-repeat;
}

.btn_case {
	position:absolute;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
	font-size: clamp(14px, 2vw, 18px);
}
.no_btn {
    font-weight: bold;
    text-align: center;
    border: 3px solid #ddd;
	color:#ddd;
    border-radius: 99px;
    padding: 10px 25px;
    min-width: 320px;
    display: inline-block;
    background-color:#efefef;
}
.no_btn:after {
/* 	content:">";
	position:absolute;
   top: 50%;
   right: 20px;
   transform: translateY(-50%); */
}


/**************************
 *  新メーカー一覧 
**************************/
/* 固定ページ共通 */
#contents {
/* 	padding-bottom: var(--size-30-50); */
	background:#f5f3f2;
	font-size: var(--size-15-17);
	line-height:1.6;
	br {
		display:block;
		content:"";
		margin-bottom:.5em;
	}	
}
.header {
	position:relative;
	width:100%;
	height: clamp(120px, 38.182px + 21.818vw, 300px);
	overflow:hidden;
	background:#000;
	text-align:center;
	img {
		width:100%;
		object-fit:contain;
	}
	h1 {
		position:absolute;
		top:50%;
		left:50%;
		transform: translate(-50%, -50%);
		color: #fff;
        font-size: var(--size-20-30);
        width: max-content;
		text-shadow: 0 1px 10px rgba(0, 0, 0, 1);
	}
}
.content_inner {
/* 	padding-bottom: var(--size-20-30); */
}

/* メーカー一覧 */
.con_lead {
	text-align:left;
	padding: var(--size-20-30) 15px 0;
	margin: 0 auto;
	width: min(100%, 1180px);
}

.country_area {
	width: min(100%, 1200px);
	margin: 0 auto ;
	padding: var(--size-20-40) var(--size-15-30) 0;
}
.country_nav {
	margin: 0 auto 0;
	text-align:center;
	ul {
		display:grid;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: .3em; 
			li {
				border: 1px sold #ccc;
				text-align:center;
				a {
					display:block;
					background: rgba(255, 255, 255, 1);
					border:1px solid #ddd;
					padding: var(--size-5-10);
					line-height:1;
					color:#666;
					font-size: var(--size-13-15);
/* 					&:before {
						transform: translate(-5%, -50%);
						font-family: 'Material Icons';
						content:"\ead0";
						margin-right: .2em;
						font-size:1.2em;
						vertical-align:middle;
						color: #aaa;
					} */
					&:hover {
						background: rgba(0, 0, 0, .3);
						color: #eee;
						&:before {
							color: #eee;
						}
					}
				}
		}
	}
}

.country_lst {
	display:flex;
	flex-direction:column;
/* 	gap: var(--size-30-40); */
	margin-bottom:  var(--size-50-70);
	text-align:left;
	> li {
		padding-top: var(--size-30-50);
		h2 {
			font-size: var(--size-20-25);
			margin-bottom: var(--size-15-20);
			img {
				width: var(--size-50-70);
				margin-right: .6em;
				vertical-align: middle;
			}
		}
		.txt_features_c {
			margin-bottom: var(--size-15-20);
		}
		.case_lst {
			margin: var(--size-20-30) auto 0;
			display:block;
			text-align:center;
			a {
				position: relative;
				display: inline-block;
				width:fit-content;
				background: #333;
				border-radius: 50vh;
				margin: 0 auto;
				padding: .5em 1.5em;
				text-align: center;
				color: #fff;
				font-size: .var(--size-15-17);
				font-weight: 600;
/* 				&:before {
					content: "≫";
					margin-right: 5px;
				} */
			}
/* 以下のメーカーは非表示 */
			&.astonmartin,
			&.ferrari,
			&.fiat,
			&.renault,
			&.ford,
			&.alfaromeo,
			&.chevrolet,
			&.dodge,
			&.chrysler {
				display:none;
			}
		}
		.maker_lst {
			display:flex;
			flex-direction:column;
/* 			border-top:1px solid #ddd; */
			margin-top: var(--size-20-30);
			padding: 0 var(--size-15-30);
			background: #fff;
			border-radius: var(--size-5-10);
			gap: 0;
			> li {
				display: grid;
				grid-template-columns: 2fr 1fr;
				grid-template-rows: auto 1fr auto;
				gap: var(--size-15-20) var(--size-20-30);
				border-bottom:3px solid #e0dad7;
				padding: var(--size-20-30) var(--size-5-10);
				text-align: left;
				&:last-child {
					border-bottom:0;
				}
				h3 {
					grid-area: 1 / 1 / 2 / 3;
					font-size: var(--size-18-24);
					img {
						width: var(--size-30-50);
						margin-right:.3em;
                        vertical-align: middle;
					}
				}
				.info_block {
					grid-area: 2 / 1 / 3 / 2;
					.txt_features {
						margin-bottom: var(--size-15-20);
					}
					.pop_model {
/* 						background:#f7f6f5; */
/* 						border-radius: 5px; */
						padding: var(--size-5-10) 0;
						border-top: .1em solid #555;
						display: grid;
						gap: .3em;
						dt {
							font-weight:600;
						}
						dd {
							ul {
								display:flex;
								flex-wrap:wrap;
								gap:5px 10px;
								li {
									position: relative;
									&:before {
										content: "・";
									}
								}
							}
						}
					}
				}
				figure {
					grid-area: 2 / 2 / 3 / 3;
					text-align: center;
				}
				.case_lst {
					grid-area: 3 / 1 / 4 / 3;
					margin-top: var(--size-5-10);
				}
				@media screen and (max-width: 768px) {
					display:flex;
					flex-direction:column;
				}
			}
		}
	}
}

/*************************************
 * 上書き
*************************************/
/* メーカー別の買取お役立ち情報 */
.maker_block {
	width: min(100%, 1100px);
	margin: var(--size-30-50) auto 0;
	padding: 0 0 var(--size-20-30);
	background: #fff;
	.maker_ttl {
		background: #222 !important;
		color: #fff;
		padding: 10px;
		font-size: var(--size-18-24);
	}
	.maker_lst {
		margin: 0 var(--size-10-20);
	}
}


/* 買取おすすめ情報 */
.banner_block {
    padding-top: var(--size-30-50);
}

/* 買取おすすめ情報 */
.pickup_con {
    margin:0;
}

/* 買取おすすめ情報 */
:not(.main_header) > .pickup_con {
    position: relative;
    text-align: center;
    margin: var(--size-30-50) 0 0;
    padding: var(--size-20-30) 0;
    background: url(/cms/wp-content/uploads/img/top/bg_1.jpg);
    z-index: 1;
	&:after {
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: white;
		opacity: 0.3;
		z-index: 2;
		}
	h2 {
		position: relative;
		font-size: var(--size-20-30);
		margin: var(--size-15-20) auto 0;
		color: #111;
		z-index: 3;
	}
}

/*------------------------------ responsive ------------------------------*/

/* PCでは非表示 */
	.pc_non {
		display:none;
	}

@media screen and (max-width: 1023px) {

}


@media screen and (max-width: 768px) {

	
}
