/**
 * ==================================================
 * Theater Re write WEB SHOP
 * 左サイドバーCSS
 *
 * ファイル：
 * assets/css/shop-sidebar.css
 *
 * 【役割】
 * ・WEB SHOP TOP
 * ・ステージギフト
 * ・クラウドファンディング
 * ・オリジナルグッズ
 * ・カテゴリー
 * ・商品検索
 *
 * ==================================================
 */


/* ==================================================
 * 01. 左サイドバー全体
 * ==================================================
 */

.trw-shop-sidebar {
	font-size: 14px;

	color: #e8e8e8;
}


/* ==================================================
 * 02. WEB SHOP TOP
 * ==================================================
 */

.trw-shop-sidebar-top {
	margin-bottom: 18px;
}


.trw-shop-sidebar-home {
	display: flex;

	align-items: center;

	gap: 7px;

	padding: 14px 0;

	border-bottom: 1px solid #505050;

	color: #eeeeee !important;

	font-size: 14px;
	font-weight: 700;

	letter-spacing: 0;

	text-decoration: none;

	transition:
		color .15s ease;
}


.trw-shop-sidebar-home:hover {
	color: #ffffff !important;
}


.trw-shop-sidebar-home-arrow {
	color: #aaaaaa !important;

	font-size: 14px;
	font-weight: 700;
}




/* ==================================================
 * 03. ステージギフト・クラファン
 * ==================================================
 */

.trw-shop-nav-main {
	margin-bottom: 34px;
}


.trw-shop-nav-featured,
.trw-shop-nav-disabled {
	display: flex;

	align-items: center;
	justify-content: space-between;

	gap: 8px;

	padding: 14px 0;

	border-bottom: 1px solid #505050;

	font-weight: 700;
}


.trw-shop-nav-featured {
	color: #eeeeee !important;

	text-decoration: none;
}


.trw-shop-nav-featured:hover {
	color: #ffffff !important;
}


.trw-shop-nav-featured.is-current {
	color: #ffffff !important;
}


.trw-shop-nav-disabled {
	color: #888888 !important;
}


.trw-shop-nav-disabled > span:first-child {
	color: #888888 !important;
}


/* ==================================================
 * 04. ステータス
 * ==================================================
 */

.trw-shop-status {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	flex-shrink: 0;

	padding: 3px 8px;

	border-radius: 999px;

	font-size: 10px;
	font-weight: 700;

	line-height: 1.4;
}


.trw-shop-status-open {
	background: #a82d35;

	color: #ffffff !important;
}


.trw-shop-status-preparing {
	background: #505050;

	color: #bcbcbc !important;
}


/* ==================================================
 * 05. グッズショップ絞り込みメニュー
 * ==================================================
 *
 * ・公演から探す
 * ・カテゴリーから探す
 *
 * グッズショップ確認画面でのみ表示
 *
 * ==================================================
 */

.trw-shop-nav-section {
	margin-bottom: 30px;
}


.trw-shop-nav-section h2 {
	margin:
		0
		0
		8px;

	padding:
		0
		0
		9px;

	border-bottom: 1px solid #666666;

	color: #eeeeee !important;

	font-size: 12px;

	font-weight: 700;

	line-height: 1.5;

	letter-spacing: .04em;
}


/*
 * 公演・カテゴリーリンク
 */
.trw-shop-nav-section > a {
	position: relative;

	display: block;

	padding:
		10px
		20px
		10px
		3px;

	border-bottom: 1px solid #444444;

	color: #bcbcbc !important;

	font-size: 12px;

	font-weight: 400;

	line-height: 1.55;

	text-decoration: none;

	overflow-wrap: anywhere;

	transition:
		color .15s ease,
		background .15s ease,
		padding-left .15s ease;
}


.trw-shop-nav-section > a::after {
	content: "›";

	position: absolute;

	top: 50%;
	right: 3px;

	transform:
		translateY(
			-50%
		);

	color: #666666;

	font-size: 15px;

	line-height: 1;
}


.trw-shop-nav-section > a:hover {
	padding-left: 7px;

	color: #ffffff !important;
}


.trw-shop-nav-section > a:hover::after {
	color: #aaaaaa;
}


/*
 * 現在選択中
 */
.trw-shop-nav-section > a.is-current {
	padding-left: 10px;

	border-left: 2px solid #a82d35;

	color: #ffffff !important;

	font-weight: 700;
}


.trw-shop-nav-section > a.is-current::after {
	color: #a82d35;
}


/* ==================================================
 * 06. 商品検索
 * ==================================================
 */

.trw-shop-sidebar-search {
	display: grid;

	grid-template-columns:
		minmax(
			0,
			1fr
		)
		auto;

	width: 100%;
}


.trw-shop-sidebar-search input[type="search"] {
	min-width: 0;

	width: 100%;

	height: 40px;

	margin: 0;

	padding:
		9px
		10px;

	background: #303030 !important;

	border: 1px solid #555555 !important;
	border-right: 0 !important;

	border-radius: 0 !important;

	color: #eeeeee !important;

	font-family: inherit;

	font-size: 12px;

	line-height: 1;

	outline: none;

	-webkit-appearance: none;
	appearance: none;
}


.trw-shop-sidebar-search input[type="search"]::placeholder {
	color: #7f7f7f !important;
}


.trw-shop-sidebar-search input[type="search"]:focus {
	border-color: #858585 !important;

	box-shadow: none !important;
}


/*
 * Safari / Chrome検索欄の
 * 標準キャンセル装飾を抑える
 */
.trw-shop-sidebar-search input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}


.trw-shop-sidebar-search button {
	display: flex;

	align-items: center;
	justify-content: center;

	width: auto;

	min-width: 52px;
	height: 40px;

	margin: 0;

	padding:
		0
		11px;

	background: #181818;

	border: 1px solid #555555;

	border-radius: 0;

	color: #eeeeee !important;

	font-family: inherit;

	font-size: 11px;

	font-weight: 700;

	line-height: 1;

	white-space: nowrap;

	cursor: pointer;

	transition:
		background .15s ease,
		border-color .15s ease;
}


.trw-shop-sidebar-search button:hover {
	background: #a82d35;

	border-color: #a82d35;

	color: #ffffff !important;
}


/* ==================================================
 * 07. グッズショップ管理者プレビュー
 * ==================================================
 *
 * 公開前の確認中表示。
 *
 * 一般のお客様には
 * 従来どおり「準備中」を表示します。
 *
 * ==================================================
 */


/*
 * 現在開いている
 * グッズショップメニュー
 */
.trw-shop-nav-featured.is-current {
	position: relative;
}


.trw-shop-nav-featured.is-current::before {
	content: "";

	position: absolute;

	top: 8px;
	bottom: 8px;
	left: -10px;

	width: 2px;

	background: #a82d35;
}


/*
 * 「確認中」表示は
 * 準備中より少しだけ分かりやすく
 */
.trw-shop-nav-featured.is-current
.trw-shop-status-preparing {
	background: #5b4547;

	color: #e4c9cb !important;
}



/* ==================================================
 * 08. スマートフォン
 * ==================================================
 */

@media (max-width: 700px) {

	.trw-shop-sidebar {
		width: 100%;
	}

}