@charset "utf-8";
/* CSS Document */

/********************
header-search-box
********************/
	/* body-type */
	div.header-search-bodytype{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		padding-left: 10px;
		padding-right: 10px;
	}
	div.header-search-bodytype div{
		width: calc(33.3% - 4px);
		margin-top: 7px;
		background: #fff;
		box-sizing: border-box;
		line-height: 0;
		border: 1px solid rgba(0, 0, 0, 0.3);
		filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.2));
		border-radius: 10px;
	}
	div.header-search-bodytype div a{
		display: block!important;
		padding: 5px 0!important;
		box-sizing: border-box!important;
		color: #000!important;
		height: auto!important;
	}
	div.header-search-bodytype div a figure{
		width: 40px;
		box-sizing: border-box;
		text-align: center;
		line-height: 0;
		margin: 0 auto!important;
	}
	div.header-search-bodytype div a p{
		font-size: 12px;
		font-weight: normal;
		text-align: center;
		line-height: 20px;
		letter-spacing: -1px;
	}
	/* maker */
	div.header-search-maker{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		padding-left: 10px;
		padding-right: 10px;
		padding-bottom: 25px;
	}
	div.header-search-maker div{
		width: calc(25% - 4px);
		margin-top: 7px;
		background: #fff;
		box-sizing: border-box;
		line-height: 0;
		border: 1px solid rgba(0, 0, 0, 0.3);
		filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.2));
		border-radius: 10px;
	}
	div.header-search-maker div a{
		display: block!important;
		padding: 5px 0!important;
		box-sizing: border-box!important;
		color: #000!important;
		height: auto!important;
	}
	div.header-search-maker div a figure{
		width: 40px;
		box-sizing: border-box;
		text-align: center;
		line-height: 0;
		margin: 0 auto!important;
	}
	div.header-search-maker div a p{
		font-size: 12px;
		font-weight: normal;
		text-align: center;
		line-height: 20px;
		letter-spacing: -1px;
	}
/********************
modal-search-main-box
********************/
	.modalWrapper-head{
		max-height: 90%!important;
	}
	div.modal-search-main-box{
		padding: 0 10px;
	}
	div.modal-search-main-box dl dt{
		font-size: 16px;
		font-weight: bold;
		line-height: 20px;
		text-align: center;
	}
	div.modal-search-main-box dl dt:nth-child(3),
	div.modal-search-main-box dl dt:nth-child(5),
	div.modal-search-main-box dl dt:nth-child(7){
		margin-top: 30px;
	}
	div.modal-search-main-box dl dt span{
		font-size: 22px;
		line-height: 20px;
	}
/********************
search-main-box
********************/
	.car-tabs-nav {
		display: flex;
	}
	.car-tabs-nav li {
		list-style: none;
		width: 50%;
		margin: 0;
		padding: 0;
	}
	.car-tabs-nav a {
		display: block;
		text-align: center;
		padding: 10px 10px;
		text-decoration: none;
		background: #E1E1E1;
		border-bottom: none;
		cursor: pointer;
		box-sizing: border-box;
	}
	.car-tabs-nav a span{
		font-size: 20px;
		font-weight: bold;
		color: #333;
	}
	.car-tabs-nav li.active a {
		background: #fff;
		color: #000;
		position: relative;
		border-color: #666;
		border-top: 2px solid #fff;
		border-left: 2px solid #fff;
		border-right: 2px solid #fff;
		box-sizing: border-box;
	}
	.car-tabs-nav li.active a span{
		border-bottom: 4px solid #FF3264;
		padding-bottom: 4px;
		border-radius: 0 0 3px 3px; /* 左下・右下だけ丸める */
	}
	.car-tabs-nav li.active a:hover{
		opacity: 1;
		transition: all 0s;
	}
	.car-tabs-content {
		background: #fff;
		padding: 30px 10px;
		border: 2px solid #fff;
		margin-top: -2px;
		box-sizing: border-box;
	}
	.car-tab-panel {
		display: none;
	}
	.car-tab-panel.active {
		display: block;
	}

	dl.search-main-box-dl{
		font-size: 16px;
		-webkit-text-size-adjust: 100%; /*端末を横にしても文字サイズを拡大させない*/
		line-height: 30px;
		width: 100%;
		padding: 20px 10px;
		box-sizing: border-box;
		background: #FF3264;
	}
	dl.search-main-box-dl dt.search-main-box-dl-dt{
		position: relative;
		font-size: 30px;
		font-weight: bold;
		color: #fff;
		line-height: 30px;
		text-align: center;
		padding-left: 32px;
	}
	dl.search-main-box-dl dt.search-main-box-dl-dt::before{
		position: absolute;
		content: "";
		top: 50%;
		margin-left: -36px;
		transform: translateY(-50%);
		background: url(../images/search-box/search-icon.webp) no-repeat;
		background-size: 26px 26px;
		width: 26px;
		height: 26px;
	}
	dl.search-main-box-dl dd.search-main-box-dl-dd{
		margin-top: 20px;
		background: #fff;
		/* padding: 30px 10px; */
		box-sizing: border-box;
	}
	/* new used title */
	dt.car-tabs-content-title {
		display: flex;
		justify-content: center; /* 横方向中央 */
		align-items: center;     /* 縦方向中央 */
		gap: 6px;

		font-size: 20px;
		font-weight: bold;
		color: #333;
		line-height: 1.4;
	}
	dt.car-tabs-content-title svg {
		width: 16px;
		height: 16px;
		flex-shrink: 0;
		stroke: #333;
	}
	dt.search-title-dt{
		font-size: 17px;
		font-weight: bold;
		line-height: 15px;
		margin-top: 20px;
	}
	/* body-type */
	ul.search-body-type-ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-top: 7px;
	}
	ul.search-body-type-ul li{
		width: calc(33.3% - 4px);
		margin-top: 7px;
		background: #fff;
		box-sizing: border-box;
		line-height: 0;
		border: 1px solid rgba(0, 0, 0, 0.3);
		filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.2));
		border-radius: 10px;
	}
	ul.search-body-type-ul li a{
		display: block;
		padding: 5px 0;
		box-sizing: border-box;
		color: #000;
	}
	ul.search-body-type-ul li a figure{
		width: 40px;
		box-sizing: border-box;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		line-height: 0;
	}
	ul.search-body-type-ul li a p{
		font-size: 12px;
		text-align: center;
		line-height: 20px;
		letter-spacing: -1px;
	}
	/* body-type new car */
	ul.search-body-type-new-car-ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	ul.search-body-type-new-car-ul li{
		width: calc(33.3% - 4px);
		margin-top: 7px;
		background: #fff;
		box-sizing: border-box;
		line-height: 0;
		border: 1px solid rgba(0, 0, 0, 0.3);
		filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.2));
		border-radius: 10px;
	}
	ul.search-body-type-new-car-ul li a{
		display: block;
		padding: 5px 0;
		box-sizing: border-box;
		color: #000;
	}
	ul.search-body-type-new-car-ul li a figure{
		width: 40px;
		box-sizing: border-box;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		line-height: 0;
	}
	ul.search-body-type-new-car-ul li a p{
		font-size: 12px;
		text-align: center;
		line-height: 20px;
		letter-spacing: -1px;
	}
	/* purpose new car */
	ul.search-purpose-new-car-ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	ul.search-purpose-new-car-ul li{
		width: calc(33.3% - 4px);
		margin-top: 7px;
		background: #fff;
		box-sizing: border-box;
		line-height: 0;
		border: 1px solid rgba(0, 0, 0, 0.3);
		filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.2));
		border-radius: 10px;
	}
	ul.search-purpose-new-car-ul li a{
		display: flex;
		flex-direction: column;
		justify-content: center;   /* 上下中央 */
		align-items: center;       /* 左右中央 */
		height: 100%;
		padding: 5px 3px;
		box-sizing: border-box;
		color: #000;
	}
	ul.search-purpose-new-car-ul li a figure{
		width: 40px;
		box-sizing: border-box;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		line-height: 0;
	}
	ul.search-purpose-new-car-ul li a p{
		font-size: 12px;
		text-align: center;
		line-height: 20px;
		letter-spacing: -1px;
	}
	/* maker */
	ul.search-maker-ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	ul.search-maker-ul li{
		width: calc(25% - 4px);
		margin-top: 7px;
		background: #fff;
		box-sizing: border-box;
		line-height: 0;
		border: 1px solid rgba(0, 0, 0, 0.3);
		filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.2));
		border-radius: 10px;
	}
	ul.search-maker-ul li a{
		display: block;
		padding: 7px 0 4px;
		box-sizing: border-box;
		color: #000;
	}
	ul.search-maker-ul li a figure{
		width: 40px;
		box-sizing: border-box;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		line-height: 0;
	}
	ul.search-maker-ul li a p{
		font-size: 12px;
		text-align: center;
		line-height: 20px;
	}
	/* monthly-cost */
	ul.search-monthly-cost-ul{
		display: flex;
		justify-content: space-between;
	}
	ul.search-monthly-cost-ul li{
		width: calc(33.3% - 3px);
		margin-top: 7px;
		background: #fff;
		box-sizing: border-box;
		line-height: 0;
		border: 1px solid rgba(0, 0, 0, 0.3);
		filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.2));
		border-radius: 10px;
	}
	ul.search-monthly-cost-ul li a{
		display: block;
		padding: 10px 0;
		box-sizing: border-box;
		color: #000;
		font-size: 14px;
		font-weight: bold;
		line-height: 18px;
		text-align: center;
	}
	ul.search-monthly-cost-ul li a span{
		font-size: 17px;
	}
	/* free word */
	.search-form{
		display: flex;
		gap: 8px;
		margin-top: 13px;
	}

	.search-text{
		flex: 1;
		height: 42px;
		font-size: 16px;
		padding: 0 12px;
		border: 1px solid #ccd6e2;
		border-radius: 8px;
		box-sizing: border-box;
	}

	.search-btn{
		width: 42px;
		height: 42px;
		border: none;
		border-radius: 8px;
		cursor: pointer;
		background-color: #cad5e2;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606c80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 22px;
	}
@media only screen and (max-width: 320px) {
/********************
header-search-box
********************/
	div.header-search-bodytype div a p{
		font-size: 13px;
	}
	div.header-search-maker div a p{
		font-size: 12px;
	}
}
@media only screen and (min-width: 850px) {
/********************
modal-search-main-box
********************/
	.modalWrapper-head-search-box{
		width: 700px!important;
	}
/********************
search-main-box
********************/
	dl.search-main-box-dl a:hover{
		opacity: 0.7;
		transition: all .3s;
	}
	dl.search-main-box-dl a img:hover{
		opacity: 0.7;
		transition: all .3s;
	}
	dl.search-main-box-dl{
		padding: 20px 30px 30px;
	}
	dl.search-main-box-dl dd.search-main-box-dl-dd{
		/* padding: 40px 100px; */
	}
	dl.search-main-box-dl dd.search-main-box-dl-dd dl.search-main-box-dl-dd-dl dd.search-main-box-dl-dd-dl-dd:last-child{
		width: 900px;
		margin-left: auto;
		margin-right: auto;
	}
	p.search-price-down{
		width: 600px;
		margin: 40px auto 0;
	}
	p.search-price-down a{
		padding: 20px 2px;
	}
	/* body-type */
	ul.search-body-type-ul li{
		width: calc(16.6% - 4px);
	}
	/* body-type new car */
	ul.search-body-type-new-car-ul li{
		width: calc(11.1% - 5px);
	}
	/* purpose new car */
	ul.search-purpose-new-car-ul li{
		width: calc(16.6% - 4px);
	}
	/* maker */
	ul.search-maker-ul li{
		width: calc(12.5% - 5px);
	}
	/* monthly-cost */
	ul.search-monthly-cost-ul{
		width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
}