﻿/* ===============================================
   ユーティリティ・共通
   =============================================== */
@media screen and (min-width: 681px) {
	.contents .mod-pc_none {
		display: none !important;
	}
	.pbtEntry__itemlist {
		margin-top: 60px !important;
	}
}
@media screen and (max-width: 680px) {
	.contents .mod-sp_none {
		display: none !important;
	}
	.pbtEntry__itemlist {
		margin-top: calc(60 / 390 * 100vw) !important;
	}
    .pbtEntry__itemlist .name {
        margin: calc(20 / 390 * 100vw) 0 calc(10 / 390 * 100vw) !important;
        font-size: calc(16 / 390 * 100vw) !important;
    }
    .pbtEntry__itemlist .tag__list span {
        padding: 0 !important;
    }
}

/* ===============================================
   リード文: .mod-lead
   =============================================== */
@media screen and (min-width: 681px) {
	.contents .mod-lead {
		font-size: 18px;
		line-height: 2;
		text-align: center;
		margin: 48px 0 34px;
	}
}
@media screen and (max-width: 680px) {
	.contents .mod-lead {
		font-size: 16px;
		line-height: 1.75;
		text-align: center;
		margin: 28px 20px;
	}
}

/* ===============================================
   絞り込みボタン（検索ボックス外側）: .mod-btn-sort
   =============================================== */
@media screen and (min-width: 681px) {
	.contents .mod-btn-sort {
		display: inline-flex;
		min-width: 280px;
		height: 50px;
		border-radius: 25px;
		background-color: #000;
		justify-content: center;
		align-items: center;
		position: relative;
		box-sizing: border-box;
		padding: 0 20px;
		border: none;
	}
	.contents .mod-btn-sort span {
		color: #fff;
		font-size: 18px;
		font-weight: 500;
	}
	.contents .mod-btn-sort::before {
		content: '';
		display: block;
		width: 19px;
		height: 19px;
		background: url(/beautyconsultant/img/icon_sort_wht.svg) no-repeat center center;
		background-size: contain;
		margin-right: 10px;
	}
}
@media screen and (max-width: 680px) {
	.contents .mod-btn-sort {
		display: inline-flex;
		width: calc(280 / 375 * 100vw);
		height: calc(50 / 375 * 100vw);
		border-radius: calc(25 / 375 * 100vw);
		background-color: #000;
		justify-content: center;
		align-items: center;
		position: relative;
		box-sizing: border-box;
		padding: 0 calc(30 / 375 * 100vw);
		border: none;
	}
	.contents .mod-btn-sort span {
		color: #fff;
		font-size: 14px;
	}
	.contents .mod-btn-sort::before {
		content: '';
		display: block;
		width: 19px;
		height: 19px;
		background: url(/beautyconsultant/img/icon_sort_wht.svg) no-repeat center center;
		background-size: contain;
		margin-right: 10px;
	}
}

/* ===============================================
   ヘッダー・フッターレイアウト調整
   =============================================== */
header {
	position: relative;
	background-color: #fff;
	z-index: 100;
	opacity: 0;
	transition: opacity 0.2s ease 0s;
}
@media screen and (max-width: 680px) {
	header {
		max-height: 61px;
	}
	#topicUnit {
		position: relative;
		background-color: #fff;
	}
	#topicUnit .topicPath {
		display: none;
	}
}
@media screen and (min-width: 681px) {
	header {
		max-height: 125px;
	}
	#topicUnit.custom2019 {
		position: relative;
	}
}
footer {
	position: relative;
	background-color: #fff;
	z-index: 2;
}
.contents p {
	margin: 0;
}

/* ===============================================
   検索ボックスエリアレイアウト: .l-search-box
   =============================================== */
.contents .l-search-box {
	/* フェードイン等をJS制御しない場合は初期表示 */
	opacity: 1;
	padding-bottom: 80px;
}
@media screen and (max-width: 680px) {
	.contents .l-search-box {
		padding-bottom: calc(40 / 375 * 100vw);
	}
}
.contents .l-search-btn-sort {
	margin-top: 34px;
	position: sticky;
	top: 60px;
	z-index: 1;
	text-align: center;
}
@media screen and (max-width: 680px) {
	.contents .l-search-btn-sort {
		margin-top: calc(28 / 375 * 100vw);
		top: calc(50 / 375 * 100vw);
	}
}

/* ===============================================
   モーダルウィンドウ: .l-search-select
   =============================================== */
@media screen and (min-width: 681px) {
	.contents .l-search-select {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
		background-color: rgba(0, 0, 0, 0.5);
		padding: 64px 5.3333333333vw 0;
	}
	.contents .l-search-select-box {
		background-color: #fafafa;
		border: solid 1px #c9c9c9;
		border-radius: 8px;
		position: relative;
		width: 780px;
		margin: auto;
		max-height: calc(100vh - 124px);
		max-height: calc(100dvh - 124px);
		overflow-y: auto;
	}
	.contents .l-search-select-title {
		text-align: center;
		background-color: #fff;
		font-size: 20px;
		font-weight: 500;
		padding: 1em;
	}
	.contents .l-search-select > ul > li + li {
		margin-top: 8vw;
	}
	.contents .l-search-select-function {
		position: sticky;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #fff;
		padding: 40px;
		display: flex;
		width: 100%;
		box-sizing: border-box;
		align-items: center;
		justify-content: center;
		z-index: 3;
	}
	.contents .l-search-select-function button {
		display: flex;
		align-items: center;
		justify-content: center;
		border: solid 1px #000;
		width: 194px;
		height: 50px;
		border-radius: 25px;
	}
	.contents .l-search-select-function button span {
		font-size: 18px;
		font-weight: 500;
	}
	.contents .l-search-select-function button + button {
		margin-left: 25px;
	}
	.contents .l-search-select-function-reset {
		background-color: #fff;
	}
	.contents .l-search-select-function-reset span {
		color: #000;
	}
	.contents .l-search-select-function-sort {
		background-color: #000;
	}
	.contents .l-search-select-function-sort span {
		color: #fff;
	}
	.contents .l-search-select-list {
		width: 646px;
		margin: 40px auto;
	}
	.contents .l-search-select-list > li:nth-child(n + 2) {
		margin-top: 40px;
	}
	.contents .l-search-close {
		display: block;
		position: absolute;
		top: 40px;
		left: calc(50% + 374px);
		width: 16px;
		height: 16px;
		background: url(/beautyconsultant/img/btn_close2.svg) no-repeat center center;
		background-size: contain;
		border: none;
		cursor: pointer;
	}
	.contents .l-search-close span {
		display: block;
		width: 0;
		height: 0;
		overflow: hidden;
	}
}
@media screen and (max-width: 680px) {
	.contents .l-search-select {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
	}
	.contents .l-search-select-box {
		background-color: #fafafa;
		position: relative;
		width: 100%;
		margin: auto;
		max-height: 100vh;
		max-height: 100dvh;
		overflow-y: auto;
	}
	.contents .l-search-select-title {
		position: sticky;
		top: 0;
		left: 0;
		right: 0;
		z-index: 3;
		text-align: left;
		background-color: #fff;
		font-size: 16px;
		font-weight: 500;
		padding: 1em 6vw;
	}
	.contents .l-search-select-title::before {
		content: '';
		display: inline-block;
		width: 18px;
		height: 18px;
		background: url(/beautyconsultant/img/icon_sort.svg) no-repeat center center;
		background-size: contain;
		margin-right: 14px;
		vertical-align: middle;
	}
	.contents .l-search-select > ul > li + li {
		margin-top: 8vw;
	}
	.contents .l-search-select-function {
		position: sticky;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #fff;
		padding: calc(20 / 375 * 100vw);
		display: flex;
		width: 100%;
		box-sizing: border-box;
		align-items: center;
		justify-content: center;
		z-index: 3;
	}
	.contents .l-search-select-function button {
		display: flex;
		align-items: center;
		justify-content: center;
		border: solid 1px #000;
		height: 40px;
		border-radius: 20px;
	}
	.contents .l-search-select-function button span {
		font-size: 14px;
		font-weight: 500;
	}
	.contents .l-search-select-function button + button {
		margin-left: calc(15 / 375 * 100vw);
	}
	.contents .l-search-select-function-reset {
		flex-basis: 40%;
		background-color: #fff;
	}
	.contents .l-search-select-function-reset span {
		color: #000;
	}
	.contents .l-search-select-function-sort {
		flex-basis: 60%;
		background-color: #000;
	}
	.contents .l-search-select-function-sort span {
		color: #fff;
	}
	.contents .l-search-select-list {
		margin: 40px 67px;
	}
	.contents .l-search-select-list > li:nth-child(n + 2) {
		margin-top: 40px;
	}
}
@media screen and (max-width: 680px) and (max-width: 680px) {
	.contents .l-search-select-list {
		width: calc(330 / 375 * 100vw);
		margin: 40px auto;
	}
	.contents .l-search-select-list > li:nth-child(n + 2) {
		margin-top: calc(30 / 375 * 100vw);
	}
}
@media screen and (max-width: 680px) {
	.contents .l-search-close {
		display: block;
		position: absolute;
		top: 40px;
		left: calc(50% + 374px);
		width: 16px;
		height: 16px;
		background: url(/beautyconsultant/img/btn_close2.svg) no-repeat center center;
		background-size: contain;
		border: none;
	}
}
@media screen and (max-width: 680px) and (max-width: 680px) {
	.contents .l-search-close {
		top: 50%;
		left: auto;
		right: calc(22.5 / 375 * 100vw);
		background-image: url(/beautyconsultant/img/btn_close2_bk.svg);
		transform: translateY(-50%);
	}
}
@media screen and (max-width: 680px) {
	.contents .l-search-close span {
		display: block;
		width: 0;
		height: 0;
		overflow: hidden;
	}
}

/* ===============================================
   絞り込み項目のラベル・ラジオボタン
   =============================================== */
.contents .l-search-label {
	display: flex;
	align-items: center;
	border-bottom: solid 1px #777;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.contents .l-search-label span {
	font-size: 18px;
	font-weight: bold;
	color: #111;
}
.contents .l-search-label img {
	width: 25px;
	height: 25px;
	margin-right: 10px;
}
.contents .l-search-item ul {
	display: flex;
	flex-wrap: wrap;
}
@media screen and (max-width: 680px) {
    .contents .l-search-item ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px !important;
    }
    .contents .l-search-item ul > li {
        min-width: calc((100% - 10px)/2) !important;
    }
}
@media screen and (min-width: 681px) {
	.contents .l-search-item ul > li {
		flex-basis: 154px;
		flex-shrink: 0;
		flex-grow: 0;
		margin-left: 10px;
	}
	.contents .l-search-item ul > li:nth-child(4n + 1) {
		margin-left: 0;
	}
	.contents .l-search-item ul > li:nth-child(n + 5) {
		margin-top: 10px;
	}
}
@media screen and (max-width: 680px) {
	.contents .l-search-item ul > li {
		flex-basis: calc(50% - 5px);
		flex-shrink: 0;
		flex-grow: 0;
		margin-left: 10px;
	}
	.contents .l-search-item ul > li:nth-child(2n + 1) {
		margin-left: 0;
	}
	.contents .l-search-item ul > li:nth-child(n + 3) {
		margin-top: 10px;
	}
}
.contents .l-search-item ul > li label {
	width: 100%;
	cursor: pointer;
}
.contents .l-search-item ul > li label > span {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.5s;
	position: relative;
	font-size: 18px;
	font-weight: 400;
	color: #111;
	width: 100%;
	height: 50px;
	border: solid 1px #ddd;
	position: relative;
	transition: 0.5s;
}
.contents .l-search-item ul > li label > span::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	transition: 0.5s;
	background: #fff;
	z-index: 1;
}
.contents .l-search-item ul > li label > span span {
	position: relative;
	z-index: 2;
}
@media screen and (max-width: 680px) {
	.contents .l-search-item ul > li label > span {
		height: 40px;
		font-size: 14px;
	}
}
@media screen and (min-width: 681px) {
	.contents .l-search-item ul > li label:hover > span {
		color: #fff;
	}
	.contents .l-search-item ul > li label:hover > span::before {
		background: linear-gradient(to right, #a0408c, #c01d49);
	}
	.contents .l-search-item ul > li label:hover input:checked + span::before {
		background: linear-gradient(to right, #a0408c, #c01d49);
	}
}
.contents .l-search-item ul > li label input {
	display: block;
	position: absolute;
	opacity: 0.01;
}
.contents .l-search-item ul > li label input:checked + span {
	color: #fff;
}
.contents .l-search-item ul > li label input:checked + span::before {
	background: linear-gradient(to right, #a0408c, #c01d49);
}

/* ===============================================
   結果表示・該当なしメッセージ
   =============================================== */
.contents .l-search-member-none {
	width: 100%;
	text-align: center;
	margin: 60px 0 0;
	font-size: 16px;
	color: #111;
}

/* ===============================================
   もっと見るボタンエリア: .l-more
   =============================================== */
.contents .l-more {
	text-align: center;
	margin-top: 70px;
}
@media screen and (max-width: 680px) {
	.contents .l-more {
		margin-top: 50px;
	}
}
