/*
 * BANDS。基準: reference/wix/screenshots-viewport/bands-{pc,sp}-NN.png
 *
 * PC: 1 つのセクション（高さ 1600px、上に 100px）
 *   写真 800 幅 → メンバー表記（Barlow 15px）→ 紹介文（11px、#ccc）→ 年表（中央揃え。年 13px 下線つき、項目 11px）→ 右下に更新日
 * 本文はブロックエディタなので、WordPress のブロックの既定の余白を打ち消してから値を当てる。
 */

.jl-bands {
	min-height: 1600px;
	padding-top: 100px;
	padding-bottom: 77px;
	color: var(--jl-gray-light);
}

.jl-bands > * {
	margin-block: 0;
}

.jl-bands-photo {
	margin: 0;
}

.jl-bands-photo img {
	width: 100%;
	height: auto;
}

.jl-bands-members {
	margin-top: 23px !important;
	color: var(--jl-white);
	font-family: var(--jl-font-ui);
	font-size: 15px;
	font-weight: 300;
	line-height: 18px;
	text-align: center;
	white-space: pre-wrap;
}

.jl-bands-intro {
	margin-top: 38px !important;
	font-size: 11px;
	line-height: 16.5px;
}

.jl-bands-history {
	margin-top: 44px !important;
	text-align: center;
}

/* クラシックテーマではグループのブロックの中に .wp-block-group__inner-container が入るので、子孫で指定する */
.jl-bands-history :is(.jl-bands-history__year, .jl-bands-history__item) {
	margin: 0;
}

.jl-bands-history__year {
	font-size: 13px;
	font-weight: 400;
	line-height: 32px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jl-bands-history .jl-bands-history__year:not(:first-child) {
	margin-top: 17px;
}

.jl-bands-history__item {
	font-size: 11px;
	line-height: 18.5px; /* 現行は年によって 16.5〜20px。全体の高さが合う値 */
}

.jl-bands-updated {
	margin-top: 85px !important;
	color: var(--jl-gray);
	font-size: 10px;
	text-align: right;
}

/* ---------- SP ---------- */

@media (max-width: 768px) {
	.jl-bands {
		min-height: 0;
		padding-top: calc(50 * var(--u));
		padding-bottom: calc(45 * var(--u));
	}

	.jl-bands-members {
		margin-top: calc(8 * var(--u)) !important;
		font-size: calc(8 * var(--u));
		line-height: calc(10 * var(--u));
	}

	.jl-bands-intro {
		margin-top: calc(15 * var(--u)) !important;
		font-size: calc(7 * var(--u));
		line-height: calc(10.5 * var(--u));
	}

	.jl-bands-history {
		margin-top: calc(5 * var(--u)) !important;
	}

	.jl-bands-history__year {
		font-size: calc(8 * var(--u));
		line-height: calc(20 * var(--u));
	}

	.jl-bands-history .jl-bands-history__year:not(:first-child) {
		margin-top: calc(10 * var(--u));
	}

	.jl-bands-history__item {
		font-size: calc(7 * var(--u));
		line-height: calc(11.8 * var(--u));
	}

	.jl-bands-updated {
		margin-top: calc(17 * var(--u)) !important;
		font-size: calc(7 * var(--u));
	}
}
