@charset "utf-8";

/* =====================================================
--------------------------------------------------------
基本設定
--------------------------------------------------------
===================================================== */

* {
	--header-height: 77px;
}

*:not(.modal-dialog) > header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
}



/* GoogleMap */
.map_area {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}



/* 全体を囲む */
.map {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: var(--header-height) 0 0;
	height: calc(100vh - var(--header-height));
	overflow: hidden;
}



/* ストリートビューのペグマンを表示されるように */
.map_area .gm-style img {
	max-height: unset;
}

.map_area .gm-svpc {
	top: 32px !important;
}

@media screen and (min-width:768px) {
	.map_area .gm-svpc {
		top: 72px !important;
	}
}



/* 非活性 */
.disabled,
.user-select button[disabled] {
	filter: grayscale(100%) invert(10%);
	pointer-events: none;
}

.disabled::before,
.disabled::after,
.user-select button[disabled]::before,
.user-select button[disabled]:after {
	color: var(--color-grey-dark);
}



/* 非表示 */
.breadcrumb,
footer,
.pagetop {
	display: none;
}










/* =====================================================
--------------------------------------------------------
開閉ボタン（共通）
--------------------------------------------------------
===================================================== */

.toggle {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	position: fixed;
	bottom: 0;
	width: fit-content;
	height: fit-content;
	background: var(--color-housecom-blue);
	color: #fff;
	font-size: 14px;
	transition-property: top,left,bottom,right,width,opacity;
	transition-duration: 0.5s;
	cursor: pointer;
}

.toggle.is-show {
	z-index: 2;
}

@media (any-hover:hover) {
	.toggle:hover {
		opacity: 0.5;
	}
}

.toggle .toggleBtn {
	position: relative;
	display: block;
	background: var(--color-housecom-blue);
	width: 28px;
	height: 28px;
}

.toggle .toggleBtn:before {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	color: #fff;
	font-family: 'icomoon';
	content: '\e92d';
}

.toggle .toggleClose {
	display: block;
	padding: 8px 10px;
	background: var(--color-housecom-blue);
	min-width: 32px;
	color: #fff;
	font-weight: bold;
	line-height: 1.2;
}



/* 開閉挙動（検索条件の設定・変更） */
.toggle:has(+ .setting_layer) {
	display: block;
	top: unset;
	right: 16px;
	bottom: 0;
	padding: 16px;
}

.toggle:has(+ .setting_layer).is-show {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	top: var(--header-height);
	width: 98px;
	padding: 4px 0 0;
	height: 36px;
}

.toggle:has(+ .setting_layer) .toggleOpen {
	display: block;
}

.toggle:has(+ .setting_layer).is-show .toggleOpen {
	display: none;
}

.toggle:has(+ .setting_layer) .toggleBtn,
.toggle:has(+ .setting_layer) .toggleClose {
	display: none;
}


.toggle:has(+ .setting_layer).is-show .toggleBtn,
.toggle:has(+ .setting_layer).is-show .toggleClose {
	display: block;
}

.toggle:has(+ .setting_layer).is-show .toggleClose {
	padding: 6px  8px 8px 10px;
}

@media screen and (min-width:768px) {
	.toggle {
		padding-top: 8px;
	}
	.toggle .toggleClose {
		padding-top: 0;
	}
	.toggle:has(+ .setting_layer) {
		top: var(--header-height);
		left: 0;
		bottom: unset;
	}
	.toggle:has(+ .setting_layer).is-show {
		left: 326px;
		width: 32px;
	}
}



/* 開閉挙動（店舗詳細） */
.toggle:has(+ .shop_list) {
	width: 102px;
	height: 32px;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	top: 100vh;
	right: 16px;
	padding: 0;
}

.toggle:has(+ .shop_list).is-show {
	top: calc(100dvh - 330px);
}

.toggle:has(+ .shop_list).is-show .toggleClose {
	padding: 6px 8px 8px 10px;
}

.toggle:has(+ .shop_list).is-show .toggleBtn,
.toggle:has(+ .shop_list).is-show .toggleClose {
	display: block;
}

@media screen and (min-width:768px) {
	.toggle:has(+ .shop_list) {
		width: 32px;
		height: fit-content;
		top: var(--header-height);
		right: -32px;
	}

	.toggle:has(+ .shop_list).is-show {
		top: var(--header-height);
		right: 370px;
	}
}










/* =====================================================
--------------------------------------------------------
検索条件の変更・設定
--------------------------------------------------------
===================================================== */

.setting_layer {
	position: fixed;
	top: var(--header-height);
	left: 0;
	bottom: 0;
	transition: translate 0.5s;
	translate: 100%;
	width: 100%;
}

.setting_layer.is-show {
	translate: 0;
}

.setting_layer .setting {
	scrollbar-width: none;
	overflow-x: hidden;
	overflow-y: scroll;
	padding: 0 16px 16px;
	width: 100%;
	height: 100%;
	border-top: 4px solid var(--color-housecom-blue);
	background: var(--color-grey-light);
	font-size: 16px;
}

@supports (-webkit-touch-callout: none) {
	.setting_layer .setting {
		max-height: calc(100dvh - var(--header-height));
	}
}

.setting_layer .setting h2 {
	padding: 8px 0;
	width: 100%;
	color: var(--color-black);
	font-size: 20px;
	font-weight: bold;
}

.setting_layer .setting h2:has(+ .user-select) {
	margin-top: 32px;
}

@media screen and (min-width:375px) {
	.setting_layer .setting h2:has(+ .user-select) {
		margin-top: 0;
	}
}

@media screen and (min-width:768px) {
	.setting_layer {
		translate: calc(100% - 200% + 4px);
		width: unset;
	}
	.setting_layer .setting {
		width: 330px;
		padding-right: 12px;
		border-top: none;
		border-right: 4px solid var(--color-housecom-blue);
		font-size: 15px;
	}
}










/* =====================================================
--------------------------------------------------------
検索条件の変更・設定（各項目）
--------------------------------------------------------
===================================================== */

.user-select {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 0 184px;
}

.user-select > h2 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: bold;
}

.user-select > p {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: bold;
}

.user-select div label {
	color: var(--color-link-text);
}

@media screen and (min-width:375px) {
	.user-select {
		padding: 0 0 120px;
	}
}



/* 中身（住所・屋号＆条件） */
.select-narrow-down {
	width: 100%;
	padding: 16px;
	margin: 8px 0;
	border: 1px solid var(--color-grey-origin);
	border-radius: 8px;
	background: #fff;
}

.select-narrow-down .region,
.select-narrow-down li {
	display: flex;
	gap: 0 8px;
	flex-flow: row wrap;
}

.select-narrow-down .region > *:not(a),
.select-narrow-down li > label {
	display: block;
	width: 100%;
}



/* 中身（住所） */
.select-narrow-down .region .table-title,
.select-narrow-down .region a {
	font-size: 18px;
	font-weight: bold;
	flex-shrink: 0;
	align-self: center;
}

.select-narrow-down .region .table-title {
	margin-bottom: 8px;
}

.select-narrow-down .region .table-data {
	color: var(--color-grey-dark);
	font-size: 16px;
	font-weight: normal;
}

.select-narrow-down .region a {
	margin: 0 0 0 auto;
	color: var(--color-link-text);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0 4px;
	flex-shrink: 0;
	font-size: 16px;
}

.select-narrow-down .region a::after {
	content: "\e90d";
	font-family: 'icomoon';
	color: var(--color-black);
	font-weight: normal;
}



/* 中身（屋号＆条件） */
.select-narrow-down div:has(ul) {
	margin: 24px 0 0;
}

.select-narrow-down .u--accordion-head {
	font-size: 18px;
	font-weight: bold;
	flex-shrink: 0;
	align-self: center;
}

.select-narrow-down .u--accordion-head::after {
	right: 0;
}

.select-narrow-down .medium-heading {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: bold;
}

.select-narrow-down .medium-heading:has(+ .free-word-search) {
	margin: 24px 0 8px;
}

.select-narrow-down div:has(> .classification):not(:last-of-type) {
	margin: 0 0 16px;
}

.select-narrow-down .classification {
		margin: 16px 0 8px;
	font-size: 14px;
	font-weight: bold;
}

.select-narrow-down [type="checkbox"] {
	margin: 0 8px 0 0;
}

.select-narrow-down ul {
	display: flex;
	flex-direction: column;
	gap: 8px 0;
}



/* フリーワード検索 */
.select-narrow-down .free-word-search {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0 16px;
	margin: 0 0 24px;
}

.select-narrow-down .free-word-search input {
	width: calc(100% - 90px - 16px);
	padding: 12px 16px;
	font-size: 16px;
}

.select-narrow-down .free-word-search button {
	display: grid;
	padding: 12px 0;
	place-content: center;
	width: 90px;
	border-radius: 4px;
	background: var(--color-housecom-green);
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
}



/* 追従 */
.user-select .fixed-menu {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 1;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 16px;
	padding: 32px 16px;
	border-top: 1px solid var(--color-grey-origin);
	background: #fff;
}



/* この条件で検する・クリア */
.user-select .fixed-menu > * {
	flex-grow: 1;
	margin: 0 auto;
	padding: 16px 16px 16px 44px;
	width: fit-content;
	font-size: 16px;
	line-height: 1;
}

.user-select .fixed-menu .c--link-main {
	display: block;
}

.user-select .fixed-menu .c--link-sub {
	padding-left: 16px;
	font-weight: normal;
}

.user-select .fixed-menu > *::before {
	margin: 0 8px 0 0;
	left: 16px;
	color: var(--color-black);
	font-size: 20px;
}

@media screen and (min-width: 768px) {
	.user-select .fixed-menu {
		width: calc(100% - 4px);
	}
	.user-select .fixed-menu .c--link-main {
		display: none;
	}
}










/* =====================================================
--------------------------------------------------------
店舗詳細
--------------------------------------------------------
===================================================== */

.shop_list {
	position: fixed;
	top: 100%;
	bottom: calc(-200% + 330px);
	scrollbar-width: none;
	overflow: scroll;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
	border-top: 4px solid var(--color-housecom-blue);
	background: var(--color-grey-light);
	transition-duration: 0.5s;
	transition-property:top,bottom,right,translate;
}

.shop_list.is-show {
	top: calc(100dvh - 330px);
	height: 330px;
}

.shop_list .list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-left: auto;
	padding: 40px 16px 12px;
}

.shop_list .list-inner {
	border-radius: 8px;
	border: 1px solid var(--color-grey-origin);
	background: #fff;
}

@media screen and (min-width:768px) {
	.shop_list {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 374px;
		border-top: none;
		border-left: 4px solid var(--color-housecom-blue);
		translate: 100% 0;
	}
	.shop_list.is-show {
		top: 0;
		right: 0;
		translate: 0;
		height: 100%;
	}
	.shop_list .list {
		padding: 12px 16px;
	}
}



/* 店舗名と外観 */
.shop_list .list-inner > .shop {
	display: flex;
	flex-flow: row wrap;
	gap: 16px 8px;
	position: relative;
	padding: 12px 16px;
}

.shop_list .list-inner > .shop .shop-img {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 750px;
	aspect-ratio: 16 / 9;
	/* 画像の背景色pale→white */
	background: var(--color-grey-pale);
}

.shop_list .list-inner > .shop .shop-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}



/* 店舗詳細へ */
.shop_list .list-inner > .shop .shop-name {
	display: flex;
	flex-direction: row;
	gap: 8px;
	width: 100%;
}

.shop_list .list-inner > .shop .shop-name p {
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shop_list .list-inner > .shop .shop-name .c--link-main {
	position: static !important;
	place-items: center;
	margin-left: auto;
	padding: 0;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	min-height: auto;
	font-size: 12px;
	line-height: 1;
	-webkit-tap-highlight-color: transparent;

	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shop_list .list-inner > .shop .shop-name .c--link-main:focus {
	outline: none;
}

.shop_list .list-inner > .shop .shop-name .c--link-main:active::before {
	animation: tap .5s;
}

@keyframes tap {
	0% {background: #0000;}
	50% {background: #0001;}
	100% {background: #0000;}
}

.shop_list .list-inner > .shop .shop-name .c--link-main::before {
	position: absolute;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	content: "";
}

.shop_list .list-inner > .shop .shop-name .c--link-main span span {
	display: none;
}

@media (any-hover:hover) {
	.shop_list .list-inner > .shop {
		transition: all 0.5s;
	}
	.shop_list .list-inner > .shop:has(.c--link-main:hover) {
		opacity: 0.5;
	}
	.shop_list .list-inner > .shop .shop-name .c--link-main:hover {
		background: var(--color-housecom-green);
	}
}



/* 店舗の基本情報 */
.shop_list .list-inner > dl {
	display: flex;
	flex-flow: row wrap;
	gap: 4px 8px;
	padding: 12px 16px;
}

.shop_list .list-inner > dl dt {
	width: 4em;
	font-weight: bold;
}

.shop_list .list-inner > dl dd {
	width: calc(100% - 8px - 4em);
}

@media screen and (min-width:768px) {
	.shop_list .list-inner > dl {
		gap: 8px;
	}
}



/* 店舗の特徴タグ */
.feature-tag li a {
	position: relative;
	padding-left: 24px;
}

.feature-tag li a::before {
	position: absolute;
	top: 50%;
	left: 0;
	translate: 0 -50%;
	color: var(--color-link-text);
}



/* 各種リンク */
.shop_list .list-inner > .shop-contact {
	display: flex;
	flex-flow: row wrap;
	gap: 8px;
	padding: 12px 16px;
}

.shop_list .list-inner > .shop-contact a:nth-of-type(1) {
	padding: 8px 24px 8px 8px;
	width: 100%;
	font-size: 14px;
}

.shop_list .list-inner > .shop-contact a:nth-of-type(1)::before {
	right: 16px;
}

.shop_list .list-inner > .shop-contact a:nth-of-type(2),
.shop_list .list-inner > .shop-contact a:nth-of-type(3) {
	padding: 4px 2px 4px 32px;
	width: calc((100% - 8px) / 2);
	font-size: 10px;
}

.shop_list .list-inner > .shop-contact a:nth-of-type(2)::before,
.shop_list .list-inner > .shop-contact a:nth-of-type(3)::before {
	top: 50%;
	left: 4px;
	translate: 0 -50%;
	font-family: 'icomoon';
	font-size: 24px;
	font-weight: normal;
}

.shop_list .list-inner > .shop-contact a:nth-of-type(2)::before {
	content: "\e928";
}

.shop_list .list-inner > .shop-contact a:nth-of-type(3)::before {
	content: "\e927";
}

.shop_list .list-inner > .shop-contact a:nth-of-type(2) span,
.shop_list .list-inner > .shop-contact a:nth-of-type(3) span {
	display: block;
	width: 100%;
	padding: 0;
	font-size: 14px;
}

@media screen and (min-width:768px) {
	.shop_list .list-inner > .shop-contact a:nth-of-type(1) {
		padding: 8px 16px;
	}
	.shop_list .list-inner > .shop-contact a:nth-of-type(2),
	.shop_list .list-inner > .shop-contact a:nth-of-type(3) {
		padding: 6px 8px 6px 40px;
		font-size: 14px;
	}
	.shop_list .list-inner > .shop-contact a:nth-of-type(2) {
		width: 100%;
	}
	.shop_list .list-inner > .shop-contact a:nth-of-type(3) {
		display: none;
	}
	.shop_list .list-inner > .shop-contact a:nth-of-type(2)::before,
	.shop_list .list-inner > .shop-contact a:nth-of-type(3)::before {
		left: 8px;
	}
	.shop_list .list-inner > .shop-contact a:nth-of-type(2) span,
	.shop_list .list-inner > .shop-contact a:nth-of-type(3) span {
		width: unset;
	}
}