/* サイドバー「パックからさがす」シリーズ別アコーディオン */

/* 組み替え前の一瞬だけ、シリーズに入るパックを隠す（ちらつき防止） */
.tc-js .widget_welcart_category ul.ucart_widget_body:not(.tc-ready) li[class*="tc-series-"] {
	display: none;
}

/* シリーズ見出し（クリックで開閉） */
.tc-series__toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 20px 22px;
	background: none;
	border: 0;
	border-radius: 0;
	color: #000;
	font: inherit;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.tc-series__toggle {
	transition: background-color .3s, color .3s;
}
.tc-series__toggle:focus-visible {
	outline: 2px solid #000;
	outline-offset: -2px;
}

/* 開閉の矢印 */
.tc-series__toggle::after {
	content: "";
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	margin: -4px 4px 0 12px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.tc-series.is-open > .tc-series__toggle::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.tc-series__list[hidden] {
	display: none;
}

/* パック名の行：通常は白（テーマ標準のグレー背景を上書き） */
.widget_welcart_category .tc-series__list > li > a {
	background: #fff;
}
.widget_welcart_category li a {
	transition: background-color .3s, color .3s;
}

/* ロールオーバー（ヘッダーメニューと同じ色） */
.widget_welcart_category li a:hover,
.widget_welcart_category .tc-series__list > li > a:hover,
.tc-series__toggle:hover {
	background: #f5f5f5;
	color: #221815;
}

/* 選択中のパック（表示中の商品のパック／カテゴリーページ） */
.widget_welcart_category li.tc-current > a,
.widget_welcart_category .tc-series__list > li.tc-current > a {
	background: #f5f5f5;
	color: #221815;
}
