/* ---------- ページ上部のヒーロー画像 ---------- */
#historyTop {
	width: 100%;
	overflow: hidden;
}
#historyTop #historyTopImg {
	width: 100%;
	height: 55vh;
	min-height: 320px;
	max-height: 560px;
	overflow: hidden;
}
#historyTop #historyTopImg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}


/* ---------- concept セクション（fabric と同型） ---------- */
#concept .storyTextWrap .jpTitle.tategaki {
	margin-bottom: 8px;
}
#concept .storyTextWrap .enTitle.garamond {
	margin-bottom: 24px;
}
.tate-num {
  text-orientation: upright;
}


/* ---------- 年表（タイムライン） ---------- */
#historyTimeline {
	margin-top: 20px;
	padding-bottom: 30px;
	position: relative;
	color: #222222;
}

#historyTimeline .wrapper {
	position: relative;
}

#historyTimeline .entry {
	display: flex;
	gap: 80px;
	margin-bottom: 300px;
	position: relative;
}

#historyTimeline .entry:last-child {
	margin-bottom: 270px;
}

#historyTimeline .entry.left  { flex-direction: row; }
#historyTimeline .entry.right { flex-direction: row-reverse; }

#historyTimeline .entry .photo {
	flex: 0 0 48%;
	margin: 0;
}
#historyTimeline .entry .photo img {
	width: 100%;
	height: auto;
	display: block;
}

#historyTimeline .entry .textcon {
	flex: 1 1 auto;
}

#historyTimeline .entry .year {
	font-size: 380%;
	letter-spacing: 0.04em;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 25px 0;
}
#historyTimeline .entry .year .dash {
	display: inline-block;
	width: 64px;
	height: 1px;
	background: #bc1d21;
	font-size: 0;
	color: transparent;
}

#historyTimeline .entry .title {
	font-size: 145%;
	line-height: 1.75;
	letter-spacing: 2.76px;
	margin: 0 0 35px 0;
	font-weight: 500;
}

#historyTimeline .entry .textcon p {
	font-size: 90%;
	line-height: 2;
	letter-spacing: 0.87px;
	margin: 0 0 30px 0;
}
#historyTimeline .entry .textcon p:last-child {
	margin-bottom: 0;
}

#historyTimeline .entry .textcon a {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-color: #222;
}

/* エントリ間の縦コネクタ線（中央） */
#historyTimeline .entry::after {
	content: "";
	display: block;
	width: 1px;
	height: 140px;
	background: #C9C4BC;
	margin: 50px auto 0;
	position: absolute;
	right: 0;
	left: 0;
	top: 110%;
}


/* ---------- クロージング（ロゴ + メッセージ） ---------- */
#historyTimeline .historyClosing {
	text-align: center;
}
#historyTimeline .historyClosing .logomark {
	width: 72px;
	height: auto;
	display: inline-block;
	margin-bottom: 28px;
	opacity: 0.85;
}
#historyTimeline .historyClosing .closingMessage {
	font-size: 100%;
	letter-spacing: 0.15em;
	line-height: 1.8;
	color: #2a2a2a;
	margin: 0;
}

@media screen and (max-width: 1100px) {
	#historyTimeline .entry::after {
		top: 100%;
	}
}



/* ---------- レスポンシブ : ~768px（タブレット / スマホ） ---------- */
@media screen and (max-width: 768px) {
	#historyTop #historyTopImg {
		height: 32vh;
		min-height: 200px;
	}

	#historyTimeline {
		margin-top: 50px;
		padding-bottom: 0;
	}

	/* SPは縦積み、画像→テキストの順 */
	#historyTimeline .entry,
	#historyTimeline .entry.left,
	#historyTimeline .entry.right {
		display: block;
		margin-bottom: 30px;
		position: relative;
	}
	#historyTimeline .entry .photo {
		width: 100%;
		margin: 0 0 24px 0;
	}
	#historyTimeline .entry .textcon {
		width: 100%;
	}
	#historyTimeline .entry .year {
		margin-bottom: 12px;
	}
	#historyTimeline .entry .title {
		margin-bottom: 22px;
	}
	#historyTimeline .entry .textcon p {
		font-size: 92%;
		line-height: 1.9;
	}
	#historyTimeline .historyClosing .closingMessage {
		font-size: 92%;
	}
	#historyTimeline .entry::after {
		content: "";
		display: block;
		width: 1px;
		height: 60px;
		background: #C9C4BC;
		margin: 20px auto 0;
		position: relative;
	}
}