@charset "UTF-8";
/*----------------------------------------
  history.css  - 学園前北地区開発プロジェクト HISTORYページ固有スタイル
  common.css を変更せず、HISTORY固有レイアウトはここで対応する。
  錦大宮の culture.css 構造をベースに HISTORY 年表レイアウト向けに調整。
  ブレークポイント: max-width 768px (錦大宮ベースに準拠)
-----------------------------------------*/

/* 幅ユーティリティ */
.w1000 { width: 90%; max-width: 1000px; margin-inline: auto; }
.w1200 { width: 90%; max-width: 1200px; margin-inline: auto; }

/* ベース - HISTORY固有セクション内のみに限定（header/footerに影響しないよう） */
.history_intro_sec p,
.history_timeline_sec p,
.history_timeline_sec span,
.history_timeline_sec figcaption,
.history_timeline_sec dd,
.history_timeline_sec li,
.history_notes p { font-weight: 500; }

.history_intro_sec h3,
.history_timeline_sec h3,
.history_timeline_sec h4,
.history_timeline_sec dt { font-weight: 600; }

.nowrap{
	white-space: nowrap;
}
/*-----------------------------------------
  history_mv
-----------------------------------------*/
.und_mv.history_mv {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  aspect-ratio: auto;
  margin-bottom: 0;
  display: block;
}
.und_mv.history_mv picture {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.und_mv.history_mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mv_overlay_txt {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
}
.und_mv.history_mv .mv_message{
  position: absolute;
  top: 52px;
  right: 1.5%;
  left: auto;
  bottom: auto;
  margin: 0;
  text-shadow: none;
}
.und_mv.history_mv .mv_message img{
  width: auto;
  height: clamp(84px, 10.5vw, 145px);
  display: block;
  margin: 0 0 0 auto;
}
.und_mv.history_mv .mv_history_bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}
.und_mv.history_mv .mv_history_ttl{
	margin: 0;
}
.und_mv.history_mv .mv_history_ttl img{
	height: clamp(32px, 3.5vw, 40px);
	width: auto;
	display: block;
}
.und_mv.history_mv .mv_history_txt {
  position: static;
  max-width: 540px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: left;
	filter: drop-shadow(0 0 3px rgb(0 0 0 / .5));
}
@media screen and (max-width: 768px) {
  .und_mv.history_mv {
		min-height: 560px;
  }
	.und_mv.history_mv::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, rgb(0 0 0 / .05) 70%, rgb(0 0 0 / .3) 90%, rgb(0 0 0 / .7) 100%);
		z-index: 1;
	}
	
  .mv_message{
    top: 34px;
    left: 5%;
    right: 5%;
  }
  .mv_message img{
    height: 72px;
  }
	.und_mv.history_mv .mv_history_bottom{
		display: block;
		right: 5%;
		bottom: 34px;
		left: 5%;
	}
  .und_mv.history_mv .mv_history_ttl{
    margin-bottom: 18px;
  }
  .mv_history_ttl img{
    height: 32px;
		filter: drop-shadow(0 0 3px rgb(0 0 0 /.5));
  }
  .mv_history_txt {
    max-width: none;
    font-size: 13px;
  }
}

/*-----------------------------------------
  history_title_area
-----------------------------------------*/
.history_title_area {
  display: none;
}
@media screen and (max-width: 768px) {
  .history_title_area { padding: 30px 0 16px; }
}
.history_page_ttl {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #a98320;
}
@media screen and (max-width: 768px) {
  .history_page_ttl { font-size: 30px; }
}

/*-----------------------------------------
  history_intro_sec
-----------------------------------------*/
.history_intro_sec {
  padding: 80px 0 60px;
  background: #faf8f3;
}
@media screen and (max-width: 768px) {
  .history_intro_sec { padding: 50px 0 40px; }
}
.history_main_ttl {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}
@media screen and (max-width: 768px) {
  .history_main_ttl { font-size: 18px; margin-bottom: 20px; }
}
.history_intro_txt {
  font-size: 16px;
  line-height: 2;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .history_intro_txt { font-size: 14px; text-align: left; }
}

/*-----------------------------------------
  history_timeline_sec
-----------------------------------------*/
.history_timeline_sec {
  padding: 80px 0;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .history_timeline_sec { padding: 50px 0; }
}

/* 年表アイテム */
.timeline_item {
  padding: 60px 0;
  border-bottom: 1px solid #e0d8c8;
}
.timeline_item:last-child { border-bottom: none; }
@media screen and (max-width: 768px) {
  .timeline_item { padding: 40px 0; }
}

/* 年号 */
.timeline_year {
  text-align: center;
  margin-bottom: 32px;
}
.year_num {
  font-size: 72px;
  font-weight: 300;
  color: #a98320;
  letter-spacing: 0.04em;
  line-height: 1;
}
.year_suffix {
  font-size: 40px;
}
@media screen and (max-width: 768px) {
  .year_num { font-size: 48px; }
  .year_suffix { font-size: 28px; }
}

/* コンテンツ：左テキスト + 右画像 */
.timeline_content {
  display: flex;
  gap: 5%;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  .timeline_content { display: block; }
}

/* テキスト側 */
.timeline_txt_area {
  flex: 1;
  padding-right: 20px;
}
@media screen and (max-width: 768px) {
  .timeline_txt_area { padding-right: 0; margin-bottom: 20px; }
}
.timeline_ttl {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: #333;
}
@media screen and (max-width: 768px) {
  .timeline_ttl { font-size: 18px; margin-bottom: 14px; }
}
.timeline_list {
  margin-bottom: 16px;
  padding-left: 0;
}
.timeline_list li {
  font-size: 15px;
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.6;
}
.timeline_list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #a98320;
}
@media screen and (max-width: 768px) {
  .timeline_list li { font-size: 13px; }
}
.timeline_txt {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
@media screen and (max-width: 768px) {
  .timeline_txt { font-size: 13px; }
}

/* 画像側 */
.timeline_img_area {
  width: 47%;
}
@media screen and (max-width: 768px) {
  .timeline_img_area { width: 100%; }
}
.timeline_img_area figure {
  position: relative;
}
.timeline_img_area img {
  width: 100%;
  height: auto;
  display: block;
}
.timeline_img_area figcaption {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
  text-align: right;
}

/* 2026年 強調スタイル */
.timeline_item--2026 { background: rgba(169, 131, 32, 0.05); }
.timeline_item--2026 .year_num { color: #b5232d; }

/* 奇数行は画像左 */
.timeline_item:nth-child(even) .timeline_content {
  flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
  .timeline_item:nth-child(even) .timeline_content { flex-direction: column; }
}
.timeline_item:nth-child(even) .timeline_txt_area {
  padding-right: 0;
  padding-left: 20px;
}
@media screen and (max-width: 768px) {
  .timeline_item:nth-child(even) .timeline_txt_area { padding-left: 0; }
}

/*-----------------------------------------
  history_notes
-----------------------------------------*/
.history_notes {
  padding: 60px 0;
  background: #f0ece2;
}
@media screen and (max-width: 768px) {
  .history_notes { padding: 40px 0; }
}
.notes_txt {
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

/*-----------------------------------------
  history_content_sec
-----------------------------------------*/
.history_content_sec {
  overflow: hidden;
  padding: 90px 0 70px;
  background: url(../img/history/bg.jpg) repeat;
  color: #211814;
}
.history_content_inner {
  width: min(1000px, 88%);
  margin: 0 auto;
}
.history_content_ttl {
  margin: 0;
  text-align: center;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.08em;
}
.history_content_lead {
  width: min(640px, 100%);
  margin: 45px auto;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: 0.05em;
	text-align: center;
}
.history_chronology {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
  row-gap: 0;
  align-items: center;
}
.history_event {
  margin: 0;
}
.history_event_img img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  filter: sepia(0.2) saturate(0.82) contrast(0.95);
}
.history_event_text {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px;
  align-items: center;
}
.history_year{
	color: #201713;
	font-family: "Times New Roman", "Noto Serif JP", serif;
	font-size: 51px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.1;
	white-space: nowrap;
	margin: 0;
}
.history_year span{
	font-size: 16px;
	letter-spacing: 0.1em;
	writing-mode: vertical-rl;
	display: inline-block;
	translate: 0 2px;
}
.history_event_body {
	min-width: 0;
}
.history_event_body h3{
	font-size: 23px;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.55;
	min-width: 0;
	margin: 0;
}
.history_event_body ul{
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.65;
	min-width: 0;
	list-style: none;
	padding: 0;
	margin: 6px 0 0;
}
.history_event_body li{
	text-indent: -1em;
	padding-left: 1em;
}
.history_event_body li::before{
	content: "・";
}
.history_event_1960{
	align-self: center;
}
.history_event_2000{
	display: block;
}
.history_event_img_1950,
.history_event_img_1970,
.history_event_img_1990,
.history_event_img_2010 {
	align-self: end;
}

@media screen and (max-width: 768px) {
  .history_content_sec {
    padding: 42px 0 54px;
  }
  .history_content_inner {
    width: 88%;
  }
  .history_content_ttl {
    font-size: 21px;
  }
  .history_content_lead {
    margin: 20px 0 28px;
    font-size: 12px;
  }
	.history_chronology{
		grid-template-columns: 1fr;
		row-gap: 0;
	}
	.history_event_text{
		display: block;
		margin-bottom: 13px;
	}
	.history_event_img{
		margin-bottom: 28px;
	}
	.history_year{
		font-size: 37px;
		display: inline-block;
		margin-right: 10px;
		margin-bottom: 5px;
	}
	.history_event_body h3{
		font-size: 18px;
		line-break: anywhere;
		overflow-wrap: anywhere;
		display: inline;
	}
	.history_event_body ul{
		font-size: 14px;
		overflow-wrap: anywhere;
		padding-left: 0;
		margin-top: 6px;
	}
	.history_year span{
		font-size: 13px;
	}
	.history_event_1914{
		order: 1;
	}
	.history_event_img_1914{
		order: 2;
	}
	.history_event_1950{
		order: 3;
	}
	.history_event_img_1950{
		order: 4;
	}
	.history_event_1960{
		order: 5;
	}
	.history_event_img_1960{
		order: 6;
	}
	.history_event_1970{
		order: 7;
	}
	.history_event_img_1970{
		order: 8;
	}
	.history_event_1980{
		order: 9;
	}
	.history_event_img_1980{
		order: 10;
	}
	.history_event_1990{
		order: 11;
	}
	.history_event_img_1990{
		order: 12;
	}
	.history_event_2000{
		order: 13;
	}
	.history_event_img_2000{
		order: 14;
	}
	.history_event_2010{
		order: 15;
	}
	.history_event_img_2010{
		margin-bottom: 0;
		order: 16;
	}
}

/*-----------------------------------------
  future_sec
-----------------------------------------*/
.future_sec {
	padding: 90px 0 180px;
	background: #fff;
}
.future_inner {
	width: min(1000px, 88%);
	margin: 0 auto;
}
.future_event {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 44px;
	align-items: center;
	max-width: 542px;
	margin-left: calc(50% - 182px);
	margin-right: auto;
}
.future_year{
	margin: 0;
	color: #201713;
	font-family: "Times New Roman", "Noto Serif JP", serif;
	font-size: 45px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.04em;
}
@media screen and (max-width: 768px){
	.future_sec{
		padding: 40px 0;
	}
	.future_event{
		text-align: center;
		display: block;
		margin-left: 0;
	}
	.future_year{
		font-size: 29px;
		text-align: center;
		display: block;
		margin-bottom: 10px;
	}
	.future_event .history_event_body h3{
		text-align: center;
		display: block;
	}
	.future_event .history_event_body ul{
		text-align: left;
		display: inline-block;
	}
}

/* キャプション表示用追加 */
.history_img_wrap{
	position: relative;
	display: block;
	container-type: inline-size;
}
.history_img_wrap img{
	width: 100%;
	height: auto;
	display: block;
}
.history_img_wrap .img_cap{
	position: absolute;
	bottom: 2cqw;
	right: 2cqw;
	color: #fff;
	font-size: 3.5cqw;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	filter: drop-shadow(1px 1px 2px rgb(0 0 0 / .75));
}
.history_img_caption{
	color: #000;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-align: right;
	margin-top: 5px;
}
@media screen and (min-width: 769px){
	.history_event_img_1950 .history_img_caption,
	.history_event_img_1970 .history_img_caption,
	.history_event_img_1990 .history_img_caption,
	.history_event_img_2010 .history_img_caption{
		text-align: left;
	}
}
@media screen and (max-width: 768px){
	.history_img_caption{
		font-size: 11px;
	}
}

.img_cap{
	position: absolute;
	bottom: 15px;
	right: 15px;
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.1em;
	line-height: 1;
	z-index: 5;
}
.img_cap.cap_dark{
	color: #000;
}
.img_cap.cap_light{
	color: #fff;
}
@media screen and (max-width: 768px){
	.img_cap{
		font-size: 10px;
		bottom: 10px;
		right: 10px;
	}
}
