/* Y'S GEAR : category-top.css */


@import "promotion.css";


/*======================================================================*
 *  [ common | 共通項目 ]
 *======================================================================*/

/* [ 下線タイトル ] */
.ttlUline {
	margin: 0 auto 40px;
	color: #606060;
	font-family: 'Lato', sans-serif;
	font-size: 3rem;
	font-weight: 300;
	line-height: 1;
	text-align: center;
}
.ttlUline span {
	display: inline-block;
	padding-bottom: 5px;
	border-bottom: 2px solid #ddd;
}

@media screen and (max-width: 568px) {
	.ttlUline {
		margin-bottom: 30px;
		font-size: 2.6rem;
	}
} /* */

/*======================================================================*
 *  [ categoryLineup | ラインナップ ]
 *======================================================================*/

.categoryLineup {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 10px;
	margin-bottom: 40px;
}

/* [ タイトル ] */
.categoryLineup .ttl {
	width: 100%;
	margin: 0;
}

/* [ 幅 ] */
.categoryLineup .w100 { width: 100%; }
.categoryLineup .w50  { width: calc((100% - 10px * 1) / 2); }
.categoryLineup .w33  { width: calc((100% - 10px * 2) / 3); }

/* [ カテゴリ名 ] */
.categoryLineup .cat {
	margin-bottom: 10px;
	padding: 10px 15px;
	background: #666;
	color: #fff;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
}
.categoryLineup .cat a {
	display: block;
	margin: -10px -15px;
	padding: 10px 15px;
	color: #fff !important;
}
.categoryLineup .cat a:hover,
.categoryLineup .cat a:active {
	text-decoration: underline;
}
.categoryLineup .cat span {
	display: inline-block;
	font-size: calc(1em - 0.2rem);
}

/* [ リスト ] */
.categoryLineup ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.categoryLineup li {
	
}
.categoryLineup .w100 li { width: calc((100% - 10px * 5) / 6); }
.categoryLineup .w50  li { width: calc((100% - 10px * 2) / 3); }
.categoryLineup .w33  li { width: calc((100% - 10px * 1) / 2); }
.categoryLineup li a {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	overflow: hidden;
}
.categoryLineup li img {
	display: block;
	width: 100%;
	max-width: 133px;
	margin: 0 auto 15px;
}
.categoryLineup li span {
	position: absolute;
	top: -8px;
	left: -40px;
	width: 100px;
	padding: 16px 0 2px 0;
	color: #fff;
	font-size: 10px;
	line-height: 1;
	text-align:center;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.categoryLineup li p {
	min-height: 2.8em;
	font-size: 1.2rem;
}

@media screen and (max-width: 980px) {
	.contentsWidth .categoryLineup {
		margin-right: -20px;
		margin-left: -20px;
	}
} /* */

@media screen and (max-width: 768px) {
	/* [ 幅 ] */
	.categoryLineup .w50  { width: 100%; }
	.categoryLineup .w33  { width: 100%; }
	
	/* [ リスト ] */
	.categoryLineup ul {
		padding: 0 10px;
	}
	.categoryLineup .w100 li { width: calc((100% - 10px * 3) / 4); }
	.categoryLineup .w50  li { width: calc((100% - 10px * 3) / 4); }
	.categoryLineup .w33  li { width: calc((100% - 10px * 3) / 4); }
	.categoryLineup li p {
		min-height: auto;
	}
} /* */

@media screen and (max-width: 568px) {
	.categoryLineup {
		gap: 30px 10px;
		margin-bottom: 30px;
	}

	.contentsWidth .categoryLineup {
		margin-right: -10px;
		margin-left: -10px;
	}
	
	/* [ リスト ] */
	.categoryLineup .w100 li { width: calc((100% - 10px * 1) / 2); }
	.categoryLineup .w50  li { width: calc((100% - 10px * 1) / 2); }
	.categoryLineup .w33  li { width: calc((100% - 10px * 1) / 2); }
} /* */


/*======================================================================*
 *  [ optionLineup | 補修部品・オプション ]
 *======================================================================*/

.optionLineup {
	margin-bottom: 20px;
	padding: 50px;
	background: #F9F9F9;
}

/* [ 見出し ] */
.optionLineup .ttl {
	margin-bottom: 20px;
	font-size: 2rem;
	text-align: center;
}
.optionLineup .ttl span {
	font-size: 1.6rem;
}

/* [ 対象 ] */
.optionLineup dl {
	padding: 10px 20px;
	background: #F1F1F1;
	font-size: 1.6rem;
	text-align: center;
}
.optionLineup dt { margin-bottom: 5px; font-weight: bold; }
.optionLineup dd { display: inline-block; }
.optionLineup dd::after { content: " /";}
.optionLineup dd:last-child::after { display: none; }

/* [ 一覧 ] */
.optionLineup .items {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	font-size: 1.4rem;
}
.optionLineup .items a {
	display: flex;
	align-items: center;
	position: relative;
	width: calc(50% - 10px);
	margin-top: 20px;
	background: #fff;
	color: #333;
	font-weight: bold;
}
.optionLineup .items img { width: 100px; }
.optionLineup .items p {
	flex: 1;
	padding: 0 10px;
}
.optionLineup .items span {
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 10px 25px 10px 15px;
	background: #000;
	color: #fff;
	font-size: 1.3rem;
	line-height: 1.2;
	transition: background 0.3s ease;
}
.optionLineup .items span::after {
	position: absolute;
	top: calc(50% - 8px);
	right: 7px;
	width: 10px;
	height: 14px;
	background: url(../img/category-top/icon_arrow.svg) center center / contain no-repeat;
	content: "";	
}

@media screen and (max-width: 980px) {
	.contentsWidth .optionLineup {
		margin-right: -20px;
		margin-left: -20px;
	}
} /* */

@media screen and (max-width: 768px) {
	.optionLineup {
		padding: 40px 20px;
	}
} /* */

@media screen and (max-width: 568px) {
	.optionLineup {
		padding: 20px;
	}
	.contentsWidth .optionLineup {
		margin-right: -10px;
		margin-left: -10px;
	}

	/* [ 見出し ] */
	.optionLineup .ttl {
		font-size: 1.8rem;
	}
	.optionLineup .ttl span {
		font-size: 1.4rem;
	}

	/* [ 対象 ] */
	.optionLineup dl {
		padding: 10px;
		font-size: 1.4rem;
	}
	
	/* [ 一覧 ] */
	.optionLineup .items {
		display: block;
	}
	.optionLineup .items a {
		width: 100%;
	}
	.optionLineup .items span {
		padding: 5px 20px 5px 10px;
		font-size: 1.2rem;
	}
	.optionLineup .items span::after {
		right: 5px;
	}
} /* */

/*======================================================================*
 *  [ endLink | 販売終了品はこちら ] 
 *======================================================================*/

.endLink {
	display: inline-block;
	margin: 0 5px;
	color: #000 !important;
	font-size: 1.4rem;
}
.endLink:hover {
	text-decoration: underline;
}
.endLink:before {
	display: inline-block;
	width: 0;
	height: 0;
	margin: 0 2px 2px 2px;
	border: 3px solid transparent;
	border-left: 6px solid #969696;
	vertical-align: middle;
	content: "";
}

@media screen and (max-width: 568px) {
	.endLink:before {
		margin: 0 2px 2px 5px;
	}
} /* */
