@charset "UTF-8";

/* ====================================
 共通スタイル
 ==================================== */

article {
	padding-top: 3.2rem;
}

label:has(input:focus-visible) {
	outline: 2px solid var(--focus-indicator);
}

.other-section {
	padding-top: 6rem;
}

/* ページタイトル */
.page-title {
	font-size: 2.4rem;
	font-weight: 700;
}

/* メインエリア */
.page-header {
	padding: 2rem 0 2rem;
}

.page-footer {
	padding: 8rem 0 0;
}

/* メインエリア：外部リンク */
.page-header .btn-has-arrow-left {
	margin-left: auto;
}

.page-footer .btn-has-arrow-left {
	margin-inline: auto;
}

/* 検索条件 */
.search-option__feature {
	margin-top: 6rem;
}

.search-option__item {
	margin-top: 2.5rem;
}

.search-option__sub-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 0.5em;
}

.search-option__list li {
	position: relative;
}

.search-option__list li:not(:first-child) {
	margin-top: 0.5em;
}

.search-option__list input[type="checkbox"] {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.search-option__label {
	font-weight: 400;
	cursor: pointer;
	padding: 0.3em 0 0.3em 2em;
	background: url('/business/pci/lineup/assets/images/check-off.svg') no-repeat left 6px center / 18px auto;
}

.search-option__label:has(:checked) {
	background-image: url('/business/pci/lineup/assets/images/check-on.svg');
	font-weight: 500;
}

.search-option__title {
	font-size: 2rem;
	text-align: center;
	padding-inline: 1em;
}

.option-text {
	font-size: 1.6rem;
}

/* 検索条件：全条件をクリア */
.btn-clear {
	margin-top: 3rem;
	text-align: center;
}

.btn-option-clear {
	font-weight: 500;
	border-bottom: solid 1px #000;
}

/* 検索条件：比較表を更新 */
.btn-update {
	margin-top: 2rem;
	text-align: center;
}

.btn-option-update {
	padding: 0.5em 1em;
	font-size: 1.8rem;
	background: #535353;
	color: #fff;
	border: solid 1px #707070;
}

/* 検索結果 */
.search-result__container {
	padding-top: 1em;
}

.search-result__count {
	font-size: 1.5rem;
	font-weight: 500;
	text-align: center;
}

.search-result__count-text {
	display: inline-block;
	margin: 0 0.5em;
	font-size: 1.5em;
}

.btn-option-update .search-result__count-text {
	font-size: inherit;
	margin: 0;
}

.search-result__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	--result-row-gap: 2.4rem;
	gap: var(--result-row-gap) 6%;
	margin-top: 2rem;
}

.search-result__list a {
	display: block;
	text-decoration: none;
	position: relative;
}

.search-result__list>li {
	padding-bottom: var(--result-row-gap);
	border-bottom: solid 1px #d9d9d9;
}

.search-result__list .is-search {
	border: none;
}

.new {
	padding: 0 0.2em;
	background: #e6000d;
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 0;
}

.prod-header {
	padding: 1em 0 0;
	text-align: center;
}

.prod-photo {
	padding: 12%;
	background: #fff;
}

.prod-category {
	font-size: 1.4rem;
}

.prod-type {
	display: block;
}

.prod-name {
	font-size: 1.8rem;
	font-weight: bold;
	text-decoration: underline;
}

.list-product-color {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 0.5em;
}

/* 在庫僅少マーク */
.zaiko {
	text-align: center;
	margin-top: 0.5rem;
}

/* 検索結果：仕様テキスト */
.text-container {
	margin-top: 1em;
}

.list-spec {
	font-size: 1.2rem;
	text-align: center;
}

.list-spec li:not(:first-child) {
	margin-top: 0.2em;
}

/* ==========================================
	ホバー、マウスポインタがサポートされている環境
=========================================== */
@media (hover: hover) and (pointer: fine) {
	.btn-clear .hovering {
		border-bottom: solid 1px transparent;
	}

	.btn-update .hovering {
		background: #535353;
		color: #fff;
		border: solid 1px #fff;
	}
}

/* ====================================
	スマートフォン専用スタイル
===================================== */
@media screen and (width <1080px) {

	/* モーダルウィンドウ */
	.modal {
		display: none;
	}

	.modal.is-open {
		display: block;
	}

	.modal-content {
		font-size: 1.8rem;
	}

	.modal .outer-base-width {
		inline-size: 100%;
	}

	.modal__overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 11;
		background: rgba(0, 0, 0, 0.6);
		padding: 4rem 5%;
		display: flex;
		justify-content: center;
	}

	.modal__container {
		inline-size: 100%;
		background-color: #fff;
		overflow-y: auto;
		padding: 3rem 5%;
	}

	.modal__container section:not(:first-of-type) {
		padding-top: 6rem;
	}

	.modal__container::-webkit-scrollbar {
		width: 10px;
	}

	.modal__container::-webkit-scrollbar-thumb {
		border: 4px solid transparent;
		background-color: #000;
		background-clip: content-box;
	}

	.modal__container::-webkit-scrollbar-track {
		background-color: transparent;
	}

	.search-option__item-wrap {
		padding: 3rem 5%;
	}

	.search-option__item-wrap>.search-option__item:first-of-type {
		margin-top: 0;
	}

	.modal__button-close {
		inline-size: 25px;
		block-size: 25px;
		position: absolute;
		top: 8px;
		right: 8px;
		background: url('/business/pci/assets/common/images/icon-close-w.svg') no-repeat center center/contain;
	}

	.micromodal-slide[aria-hidden="false"] .modal__overlay {
		animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
	}

	.micromodal-slide[aria-hidden="true"] .modal__overlay {
		animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
	}

	.micromodal-slide .modal__container,
	.micromodal-slide .modal__overlay {
		will-change: transform;
	}

	@keyframes mmfadeIn {
		from {
			opacity: 0;
		}

		to {
			opacity: 1;
		}
	}

	@keyframes mmfadeOut {
		from {
			opacity: 1;
		}

		to {
			opacity: 0;
		}
	}

	/* メインエリア */
	.search-option {
		position: sticky;
		top: 0;
		z-index: 11;
	}

	.search-option__container {
		margin-top: 2.4rem;
	}

	/* メインエリア：絞り込む */
	.search-option__button {
		inline-size: 100%;
		font-size: 1.8rem;
		font-weight: 500;
		background: #f5f5f5;
		text-align: right;
	}

	.search-option__button button {
		display: inline-block;
		inline-size: 100%;
		font-size: 1.5rem;
		font-weight: 500;
		background: #fff;
		padding: 0.75em 1em;
		box-shadow: 0px 3px 6px #0000004d;
	}

	.icon-option-menu {
		display: inline-block;
		inline-size: auto;
		block-size: 1em;
		margin-left: 0.5rem;
	}

}

/* ====================================
	PC専用スタイル
===================================== */
@media print,
screen and (width >=1080px) {

	.other-section {
		padding-top: 10rem;
	}

	.mobile-only {
		display: none;
	}

	article {
		padding-top: 6rem;
	}

	/* メインエリア */
	.page-header {
		padding: 2rem 0 4rem;
	}

	/* ページタイトル */
	.page-title {
		font-size: 4rem;
	}

	/* .main-wrap, */
	.search__container {
		display: flex;
		justify-content: space-between;
		column-gap: 50px;
		margin-top: 8rem;
	}

	.search-option {
		inline-size: 26rem;
	}

	.search-option__container {
		padding-block: 3rem;
		background: #fff;
	}

	.search-result {
		flex: 1 0;
	}

	/* 検索条件 */
	.modal__overlay,
	.modal__container {
		display: contents;
	}

	.search-option__feature {
		margin-top: 0;
		padding-top: 3rem;
		border-top: 2px solid var(--white-gray);
	}

	.search-option__sub-title {
		font-size: 1.8rem;
	}

	.search-option__item {
		margin-top: 0;
		padding: 3rem 1em;
		border-bottom: 2px solid var(--white-gray);
	}

	.search-option__feature .search-option__item {
		border-bottom: none;
	}

	/* 検索条件：全条件をクリア */
	.btn-clear {
		margin-top: 1rem;
	}

	/* 検索条件：比較表を更新 */
	.btn-update {
		display: none;
	}

	/* 検索結果 */
	.search-result {
		min-block-size: 700px;
	}

	.search-result__count {
		font-size: 2rem;
	}

	.search-result__list {
		grid-template-columns: repeat(3, 1fr);
		--result-row-gap: 3.5rem;
		column-gap: 4%;
	}

	.search-result__list>li {
		padding-bottom: 0;
		border-bottom: none;
	}

	.prod-category {
		font-size: 1.4rem;
	}

	.prod-name {
		font-size: 2.4rem;
	}

	/* 検索結果：仕様テキスト */
	.list-spec {
		font-size: 1.4rem;
	}
}