
/* ==========================================================================
   .shopmap-container
   ========================================================================== */

/*common打消し*/
.fancybox-overlay:has(#modal-shopmap) {
	overflow: hidden !important;
}
.fancybox-skin:has(#modal-shopmap) {
	width: auto;
	max-width: 1008px !important;
	padding: 32px !important;
}
.fancybox-skin:has(#modal-shopmap) > .fancybox-close {
	background-image: url('/U-Car/resource/img/icon/icon_close.svg');
	display: block;
	align-self: end;
	width: 24px;
	height: 24px;
	min-height: 24px;
}
.fancybox-skin:has(#modal-shopmap) > .fancybox-close:hover {
	filter: contrast(0);
}
.fancybox-inner:has(#modal-shopmap) {
	max-width: fit-content;
}
.shopmap-container {
	text-align: left;
	margin: auto;
}
.shopmap-container .title {
	font-size: 1em;
}
.shopmap-container .title::before {
	content: none;
	display: inline-block;
	width: 12px;
	height: 26px;
	margin-right: 15px;
	margin-bottom: 4px;
	background: none;
	vertical-align: middle;
}
.shopmap-container .title span{
	font-size: 1rem; font-size: 1rem;
	display: block;
	margin-top: 0;
	font-weight: normal;
}

.shopmap-container .area-wrap{
	margin: 0 0 0 0;
	min-height: auto;
	overflow: visible;
}

#modal-shopmap {
	width: auto;
	height: 560px;
	overflow: auto;
	scrollbar-width: none;
}

.shopmap-container .shopmap {
	position: relative;
	border:none;
	background: none;
	box-sizing: border-box;
	padding: none;
	line-height: inherit;
}
.shopmap-container .shopmap .l-box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
.shopmap-container .shopmap .l-box label{
	width: auto;
	display: inline-block;
	margin-top: 8px;
}
#modal-shopmap .shopmap .chk_box {
	position: relative;
	padding: 0 0 0 30px;
	margin: 1px;
}
#modal-shopmap > #area-all > .primary_btn-wrap {
	position: sticky;
	bottom: 0;
	padding-top: 24px;
	background-color: #FFFFFF;
}

.dealer_search_area #area-hokaido,
.shopmap-container #area-zenkoku,
.shopmap-container #area-hokaido,
.shopmap-container #area-tohoku,
.shopmap-container #area-chubu,
.shopmap-container #area-kanto,
.shopmap-container #area-kinki,
.shopmap-container #area-chugoku,
.shopmap-container #area-sikoku,
.shopmap-container #area-kyusyu {
	top: auto;
	left: auto;
	width: auto;
	height: auto
}

.shopmap-container .current-search {
	width: auto;
	margin: 0px;
	display: table;
}

/*本実装*/

.shopmap-container *{
	opacity: 1;
}
#modal-shopmap.shopmap-container {
	position: static;
	z-index: 1;
	display: block;
	width: 944px;
}
.search-container .tab-content::-webkit-scrollbar {
    display: none;
}

.shopmap-container h2.title{
	margin-bottom: 8pxs;
	font-family: var(--font-family-notosansjp);
	font-size: 32px;
}
.shopmap-container .title + span.checked-limit-txt{
	margin-bottom: 24px;
	font-size: 16px;
}
.shopmap-container .accordion-wrap.invalid{
	pointer-events: all;
}
.shopmap-container h3.area-name{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: auto;
	cursor: pointer;
	margin: 24px 0;
	font-family: var(--font-family-notosansjp);
	font-size: 16px;
}
.shopmap-container .invalid h3.area-name{
	color :#222;
}
.shopmap-container h3.area-name:hover{
	color: #615E53;
}
.shopmap-container h3.area-name::after{
	content: " ";
	float: right;
	width: 24px;
	height: 24px;
	mask-image: url(/U-Car/resource/img/icon/icon_arrow_down.svg);
	mask-repeat: no-repeat;
	mask-size: contain;
	background: #222;
	vertical-align: middle;
}
.shopmap-container h3.area-name.open::after{
	mask-image: url(/U-Car/resource/img/icon/icon_arrow_up.svg);
}
.shopmap-container h3.area-name:hover::after{
	background: #615E53;
}
.shopmap-container h3.area-name::before{
	content: none;
}
.shopmap-container input[type=checkbox] + label:before,
.shopmap-container input[type=checkbox] + .chk_box:before {
	transform: none;
	display: inline-block;
	border: none;
	mask-image: url(/U-Car/resource/img/icon/icon_check.svg);
	mask-size: contain;
	background: #FFFFFF;
	top: 50%;
	left: 0;
	width: 20px;
	height: 20px;
}
.shopmap-container input[type=checkbox] + label:after,
.shopmap-container input[type=checkbox] + .chk_box:after {
	background-color: #FFFFFF;
	border-width: 2px;
	border-radius: 4px;
	width: 20px;
	height: 20px;
	transition: background-color 0.2s ease-out;
	border-color: #bdbdbd;
}
.shopmap-container input[type=checkbox]:checked + label:after,
.shopmap-container input[type=checkbox]:checked + .chk_box:after {
	background-color: #0EAC7D;
	background-size: contain;
	border: none;
}
.shopmap-container input[type=checkbox]:checked + label::before{
	background: #FFFFFF;
}
.shopmap-container .accordion-wrap > .shopmap{
	width: 100%;
	padding: 0 24px 16px 24px;
}
.shopmap-container .button-primary{
	border: unset;
	min-width: 294px;
	width: fit-content;
	margin: auto;
	flex-direction: column;
	line-height: 140%;
	padding: 0 20px 0 20px;
	cursor: pointer;
}
.shopmap-container .button-primary.disabled {
	cursor: default;
	color: #FFF;
	pointer-events: none;
	opacity: 1;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-ms-filter: "alpha(opacity=100)";
}
.shopmap-container .button-primary .share-stock{
	font-size: 12px;
}
.shopmap-container .primary_btn-wrap{
    z-index: 8020;
}

@media screen and (max-width: 768px) {

/* ==========================================================================
   .shopmap-container - sp
   ========================================================================== */

.fancybox-skin:has(#modal-shopmap) {
	padding: 24px !important;
}

#modal-shopmap.shopmap-container {
	width: 100%;
    height: calc(100svh - (24px + 24px + 15px + 80px));
	padding-bottom: 24px;
	margin-bottom: auto;
}
.shopmap-container h2.title{
	margin: auto;
	padding-left: 0;
	text-indent: 0;
	line-height: 1;
	font-size: 20px;
}
#modal-shopmap .checked-limit-txt {
	font-size: 14px;
	margin-top: 4px;
}
/* toggle */

.shopmap .l-wrap,
.shopmap .l-wrap.hide {
	max-height: unset;
	padding-left: 0 !important;
}

/* 実装*/
.shopmap-container .area-wrap{
	overflow: visible;
}
.shopmap-container h3.area-name{
	margin: 16px 0;
}
.shopmap-container .dt{
	margin-bottom: 0;
	padding-left: 0 !important;
}
.shopmap-container .accordion-wrap > .shopmap{
	padding-bottom: 0;
}
.shopmap-container .button-primary{
	height: 48px;
}
.shopmap-container .button-primary:hover{
	background-color: #222 !important;
	background-image: none;
}
.shopmap-container .shopmap .l-box {
	display: flex;
	flex-direction: column;
	margin-top: 6px;
}
.shopmap-container .shopmap .l-box label {
	padding-left: 30px;
	margin-top: 0;
}
#modal-shopmap > #area-all > .primary_btn-wrap {
	position: fixed;
	left: 0;
	right: 0;
	padding: 16px 0;
}
}