@charset "utf-8";
/* CSS Document */
/****#c0c0c0***グレー*/
/****#709BAC****緑青*/
/****#CF870C***オード色*/
/****#E4D3A6***ベージュ*/
/****#D6CF59***からし*/
/******#8D0A0A**赤**/
/****#FEB800***オレンジ*/
/***#965723****赤茶*/
/****#236586**青緑*/
/*****e50038***KTS*/
/*****#E6DCB2**ベージュ*/
/*****#687786****/
/*****#9B3B32****/
/*******#D4713F*********/
.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
br.sp {
  display: none;
}
br.pc {
  display: block;
}
html {}
body {
  margin: 0;
  overflow-x: hidden !important; /* 水平方向のオーバーフローを非表示にする */
  position: relative; /* 親要素が基準になるように */
  padding: 0; /* 不要なパディングを取り除く */
  height: 100vh;
  background-image: linear-gradient(90deg, #E7DDCC 50%, #E7DDCC 50%);
}
.row {}
/*スライド*/
.appear {
  opacity: 0;
}
a:hover {}
ul {
  padding: 0;
}
li {
  list-style: none;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
br.sp {
  display: none;
}
#page_top {
  display: none;
}
/**************************************/
.content {
  margin: 5rem;
  padding: 1rem;
}
/**********video**************/
.video-container {
  position: relative;
  width: 100%;
  max-width: 560px; /* 必要に応じて変更 */
  aspect-ratio: 16 / 9; /* 動画コンテナの比率を固定 */
  background-color: #000; /* 背景色を黒に設定 */
  overflow: hidden; /* 子要素のはみ出しを隠す */
  cursor: pointer;
  z-index: 10;
  box-shadow: -7px 7px 0px 0 #8D0A0A;
  margin: 3rem 0 1.5rem;
  
}
.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 親要素にフィットさせる */
  display: block; /* 余計な隙間を防ぐ */
}
.video-container .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; /* ボタンの幅 */
  height: 48px; /* ボタンの高さ */
  background-color: rgba(255, 255, 255, 0.9); /* 白い背景 */
  border-radius: 4px; /* ボタンの角丸 */
}
.video-container .play-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 16px solid #E4D3A6; /* 三角形の色 */
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
/**********video**************/
.logo {
  margin: 2rem;
}
.logo h2 {
  margin-left: 2rem;
  float: right;
  color: #2a2a2a;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.logo span {
  font-size: 3.5rem;
  color: #e50038;
}
/* 中央線 */
.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #8D0A0A;
  transform: translateX(-50%);
  z-index: -1;
}
/**真ん中線**/

/***************/
.timeline-line {
  position: absolute;
  top: 50%;
  height: 3px;
  background: none;
  border-bottom: 3px dotted #8D0A0A; /* 点線のスタイル */
  transform-origin: center;
  transform: scaleX(0); /* 初期状態で非表示 */
  z-index: -1;
}
.timeline-line-left {
  width: 50%;
  left: -15%;
  transform-origin: left;
}
.timeline-line-right {
  width: 50%;
  right: -15%;
  transform-origin: right;
}
/* タイムライン全体 */
.timeline {
  position: relative;
	width: 100%;
	height: auto;
}
.timeline-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5rem;
}
.timeline-year {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
/* 真ん中の年数表示 */
 .year,.year-rihgt {
  font-size: 24px;
  font-weight: bold;
  background: #8D0A0A;
  padding: 5px 10px;
 
  
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 60%;
  color: #fff;
}

.timeline-content-left {
  text-align: right;
  width: 50%;
  margin: 0 auto
}
.timeline-content-right {
  text-align: left;
}
.date-p {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  color: #8D0A0A;
  width: 77%;
  margin: 0 auto;
 
  border-bottom: 1px solid #8D0A0A;
  background: #E6DCB2;
}
/***追従するトップへ戻るボタン***/
#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #8D0A0A;
  opacity: 0.6;
  z-index: 100;
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/***トップへ戻るボタンここまで***/