/**
 * 動画 前編／後編 タブ
 *
 * Tailwind のビルドを不要にするため、タブのスタイルはここに素の CSS で持たせている。
 * app.css には手を入れないので、既存の見た目には影響しない。
 */

.tf-video-tabs__list {
	display: flex;
}

.tf-video-tabs__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.75rem;
	padding: 0 1.5rem;
	font-size: 0.875rem;
	line-height: 1;
	letter-spacing: 0.15em;
	color: #fff;
	background-color: transparent;
	border: 1px solid #fff;
	border-bottom: 0;
	opacity: 0.5;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}

/* 2つ目以降は左の枠線を重ねない */
.tf-video-tabs__tab + .tf-video-tabs__tab {
	border-left: 0;
}

.tf-video-tabs__tab[aria-selected="true"] {
	color: #000;
	background-color: #fff;
	opacity: 1;
}

/* 公開待ちのとき、動画の代わりに枠内へ出す告知 */
.tf-video-tabs__notice {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	font-size: 1.125rem;
	line-height: 1.8;
	letter-spacing: 0.15em;
	text-align: center;
	color: #fff;
	background-color: #1a1a1a;
}

@media (max-width: 480px) {
	.tf-video-tabs__tab {
		padding: 0 1rem;
		font-size: 0.75rem;
	}

	.tf-video-tabs__notice {
		font-size: 0.9375rem;
		letter-spacing: 0.1em;
	}
}
