@charset "utf-8";

/*============================================================
 カスタムパーツPC
============================================================*/

@media screen and (min-width: 768px){
	/* カテゴリ絞込みリンクへの下線対応
	-------------------------------------------------------*/
	.section.js_legoPartsCategoryLinkByMakerBrand .sectionHeader .sectionTitle {
		border-bottom: 1px solid #d3d4d5;
	}
	.section.js_legoPartsCategoryLink .sectionHeader .sectionTitle {
		border-bottom: 1px solid #d3d4d5;
	}
	.sectionContentBox.js_mainCateRankContainer div.pListBlock div.pName {
		font-size: 14px;
	}
	.sectionContentBox.js_mainCateRankContainer .pListBlock .bundleList a {
		font-size: 12px;
	}
	/* #29001,29002対応 サブイベント一覧、同列横階層サブイベントリンクの画像サイズ調整
	------------------------------------------------------- */
	.section.legoPartsSubEventList .rcmBlock .inner .imgContainer .imgLink .brandImg,	
	.section.legoPartsSubEventList .rcmBlock .inner .imgContainer .imgLink .ls-is-cached.lazyloaded,	
	.section.legoPartsSubEventList .rcmBlock .inner .imgContainer .imgLink .lazyloaded {	
		float: left;
		margin: 0 0 10px 0;	
		width: 100%;	
	}	
	/* ＃29160 Howtoパーツ画像サイズ調整対応
	------------------------------------------------------- */
	.section.js_legoPartsHowtoLinkMid .rcmWidget.col03 .rcmBlock .inner .imgContainer .imgLink .brandImg {
		float: left;
		margin: 0 0 10px 0;
		width: 100%;
	}
}

.sectionHeaderCarouselWide {
	min-width: initial !important;
}

/* アイテム1行表示
-------------------------------------------------------*/
.iolWidget.section .sectionHeader.sectionTitle {
	margin-top: 50px;
	padding: 12px 8px;
}

.iolWidget .rcmWidget.prmParts_float.parts-Width1600 {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

.iolWidget .rcmWidget.prmParts_float.parts-WidthDf {
	margin-bottom: 20px;
	margin-right: 10px;
}

.iolWidget .rcmWidget .rcmBlock .itemImage-Width300 img {
	max-width: 300px;
}

.iolWidget .rcmWidget .rcmBlock .itemImage-Width800 img {
	margin: 5px;
	max-width: 800px;
}

.iolWidget .rcmWidget .rcmBlock .itemBorder {
	border: solid 1px #D3D3D3;
}

.iolWidget .rcmWidget .rcmBlock .itemTitle {
	margin: 5px 0;
	font-size: 17px;
}

@media screen and (min-width: 768px) {
	.iolWidget .rcmWidget.prmParts_float.item-overCol04 {
		flex-wrap: nowrap;
		display: flex;
	}

	.iolWidget .rcmWidget.prmParts_float.item-Col01 {
		max-width: 748px;
		margin-left: auto;
		margin-right: auto;
	}

	.iolWidget .prmParts_float.floatItem-col04 .floatItem {
		width: 23.5% !important;
	}
}

/* アイテム複数行表示
-------------------------------------------------------*/
.imlWidget__item {
	list-style: none;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.imlWidget__item li {
	box-sizing: border-box;
	float: left;
	font-size: 0.9rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	text-align: center;
	vertical-align: top;
}

.imlWidget__item a:hover {
	opacity: 0.8;
}

.imlWidget__item img {
	width: 100%;
	max-width: 300px;
}

.imlWidget__item-moreLabel {
	background-color: #131313;
	color: #ffffff;
	font-size: 1.2rem;
	padding: 0.3rem;
	font-weight: bold;
	width: 600px;
	border-radius: 1.2rem;
	display: block;
	text-align: center;
	text-decoration: none;
	margin: auto
}

.imlWidget__item-moreLabel {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@media (hover: hover) {
	.imlWidget__item-moreLabel:hover {
		opacity: 0.7;
	}
}

.imlWidget__item-more_state {
	opacity: 0;
}

.imlWidget__item-hide {
	padding: 0 0;
	height: 0;
	opacity: 0;
	transition: .5s;
	overflow: hidden;
}

.imlWidget__item-show {
	padding: 1.5em 0;
	height: auto;
	opacity: 1;
}

.imlWidget__item-cf::after {
	content: "";
	display: block;
	clear: left;
}

@media screen and (min-width: 768px) {
	.imlWidget__item li {
		padding: 0rem 0.3rem 1rem 0.3rem;
	}

	.imlWidget__item li.col1 {
		width: calc(100% / 1);
	}

	.imlWidget__item li:nth-child(5n+1) {
		clear: left;
	}

	.imlWidget__item-moreLabel-pc,
	.imlWidget__area-sp {
		display: none;
	}

	.imlWidget__item-show-pc {
		height: auto;
		opacity: 1;
	}
}

/* タブパネル表示
---------------------------------------------------------- */
.topContents .section .sectionHeader .sectionTitleTabPanel {
font-size: 18px;
margin-bottom: 0;
border: none;
padding-bottom: 8px;
}

.tab_wrap {
width: 100%;
margin: 10px auto;
}

.tab_panel_wear {
width: 100%;
padding: 20px 0;
display: none;
}

.tab_panel_wear p {
font-size: 14px;
letter-spacing: 1px;
text-align: center;
}

.flex_wrap {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 10px;
}

.flex_wrap .item_box_3 {
width: 150px;
margin: 10px 15px;
}

.flex_wrap .item_box_3 .pick_br_box {
width: 100%;
}

.flex_wrap .item_box_3 .pick_br_box img {
width: 100%;
-webkit-transition: 0.2s;
transition: 0.2s;
vertical-align: middle;
}

.flex_wrap .item_box_3 a .pick_br_box img:hover {
opacity: 0.5;
}

.flex_wrap .item_box_3 .cate {
padding-top: 5px;
font-weight: bold;
font-size: 11px;
}

.flex_wrap .item_box_3 .sub_cate {
font-size: 11px;
color: #0D6295;
text-decoration: underline;
padding-top: 2px;
}

.flex_wrap .item_box_3 .sub_cate a:hover {
color: red;
}

/* タブメニュー */
.tab__menu {
font-size: 0;
margin: 0 10px;
}

.tab__menu-item {
height: 100px;
vertical-align: bottom;
width: 350px;
margin: 5px 5px 0;
display: inline-block;
padding: 12px 0;
color: #999;
text-align: center;
font-size: 13px;
cursor: pointer;
-webkit-transition: ease 0.2s opacity;
transition: ease 0.2s opacity;
border: 1px solid lightgray;
-webkit-tap-highlight-color: transparent;
}

.tab__menu-item.is-inactive {
background-image: var(--bg-image-inactive);
color: #000;
border: 1px solid lightgray;
background-position: center;
background-size: cover;
opacity: 1;
}

/* is-activeがついている時のスタイル */
.tab__menu-item.is-active {
background-image: var(--bg-image);
color: #000;
border: 1px solid lightgray;
background-position: center;
background-size: cover;
opacity: 1;
}

/* タブパネル */
.tab__panel {
 width: 100%;
}

.tab__panel-box {
width: 100%;
padding: 20px 0;
display: none;
}

.tab__panel-box p {
font-size: 14px;
letter-spacing: 1px;
text-align: center;
}

.tab__panel-box {
  display: none;
}

/* is-showがついている時のスタイル */
.tab__panel-box.is-show {
  display: block;
}

/* 商品単品ピックアップ
-------------------------------------------------------*/
.sppWidget__block {
	list-style: none;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.sppWidget__block > li {
	box-sizing: border-box;
	float: left;
	margin-bottom: 0.5rem;
	text-align: center;
	vertical-align: top;
	display: flex;
	justify-content: center;
}

.sppWidget__block > li.col1 {
	width: calc(100% / 1);
}

.sppWidget__block > li > div {
	display: flex;
	width: 100%;
	justify-content: center;
}

.sppWidget__item-box {
	border: solid 2px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: 100%;
}

.sppWidget__item-box img {
	width: 100%;
	max-width: 320px;
	max-height: 320px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.sppWidget__item-name {
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
	text-align: left;
}

.sppWidget__item-brandName,
.sppWidget__item-stock .stockInfo {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.sppWidget__item-productName {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.sppWidget__item-stock .deliveryInfo {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sppWidget__item-price,
.sppWidget__item-stock {
	margin-top: 3px;
	text-align: left;
}

.sppWidget__item-price .productPoint {
	display: inline-block;
}

.sppWidget__item-price .productPrice::after {
	content: '\00a0\00a0';
}

.sppWidget__item-desc {
	margin-top: 5px;
	text-align: left;
	flex-grow: 1;
}

.sppWidget__item-link p {
	font-size: 14px;
	font-weight: bold;
	padding: 4px 2px 4px 2px;
	margin-top: 10px;
	border-radius: 15px;
	text-align: center;
}

.sppWidget__item-moreLabel {
	background-color: #131313;
	color: #ffffff;
	font-size: 1.2rem;
	padding: 0.3rem;
	font-weight: bold;
	max-width: 600px;
	border-radius: 1.2rem;
	display: block;
	text-align: center;
	text-decoration: none;
	margin: auto;
}

.sppWidget__item-moreLabel {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.sppWidget__item-box > a > div {
	position: relative;
}

.sppWidget__item-box_imgOverlay {
	min-width: 85%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	background: rgba(0,0,0,0.7);
	border-radius: 3px;
	filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#99000000,EndColorStr=#99000000);
	zoom: 1;
	display: inline-block;
	padding: 30px 10px;
}

.sppWidget__item-box_imgOverlay span {
	color: #ffffff;
	font-size: 12px;
}

@media screen and (min-width: 768px) {
	.sppWidget__section {
		--spp-parts-width-percent: 100%;
		width: var(--spp-parts-width-percent);
		margin-left: auto;
		margin-right: auto;
	}

	.sppWidget__title {
		font-size: 20pt;
		padding: 12px 8px;
		margin-top: 50px;
		margin-bottom: 30px;
	}

	.sppWidget__block {
		--spp-parts-width: 100;
		max-width: calc(1200px * (var(--spp-parts-width) / 100)) !important;
	}

	.sppWidget__block > li {
		padding: 0 0.5% 1rem;
	}

	.sppWidget__block > li:nth-child(4n+1) {
		clear: left;
	}

	.sppWidget__item-box {
		max-width: 300px;
		max-height: calc(520px * (var(--spp-parts-width) / 100)) !important;
		min-height: 460px;
	}

	.sppWidget__item-moreLabel {
		width: var(--spp-parts-width);
	}

	.sppWidget__hide-display-pc {
		display: none !important;
	}
}

@media (hover: hover) {
	.sppWidget__item-link p:hover,
	.sppWidget__item-moreLabel:hover {
		opacity: 0.7;
	}
}