/* =============================================================
  既製品　.readymade
============================================================= */
/* 共通
-------------------------------------------*/
/* 既製品一覧
--------------------------------*/
/*  タブ切り替え
---------------------*/
/* tab-wrap */
.tab-wrap {
 	display: flex;
	flex-wrap: wrap;
	margin:20px 0;
}
.tab-wrap:after {
	content: '';
	display: block;
	width: 100%;
	height: 5px;
	background-color: var(--color-primary);
	order: -1;
}
/* tab-label */
.tab-label {
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
	background-color: #ccc;
	padding: 10px .5em;
	order: -1;
	position: relative;
	z-index: 1;
	cursor: pointer;
	flex: 1;
}
.tab-label:not(:last-of-type) {
	margin-right: 5px;
}
/* tab-content */
.tab-content {
	width: 100%;
	height: 0;
	overflow: hidden;
	opacity: 0;
}
/* tab-switch */
.tab-switch:checked+.tab-label {
	background: var(--color-primary);
}
.tab-switch:checked+.tab-label+.tab-content {
	height: auto;
	overflow: auto;
	padding: 15px;
	opacity: 1;
	transition: .5s opacity;
}
.tab-switch {
	display: none;
}

/*  タブの中身
---------------------*/
/* ul */
.readymade ul.flex {
	gap: 1rem 3%;
	margin-top: 2rem;
}
/* li */
.readymade ul.flex li {
	width: calc((100% - 3%*5) / 6);
	text-align: center;
}
/* li内img */
.readymade ul.flex li img {
	width: auto; /* style.cssの上書き */
	align-self: flex-start;
}
/* li内p */
.readymade ul.flex li p {
	line-height: 1.3;
	font-feature-settings: "palt";
	margin-top: 0.5rem;
}
.readymade ul.flex li p.pnumber {
	margin-top: 0.2rem;
}
/* h5 */
.readymade h5 {
	color: "fff";
	font-size: 1.6rem;
	font-weight: 600;
	text-align: center;
	border: 1px solid var(--color-primary-pale40);
	padding: 0.5rem;
}