@charset "UTF-8";
/* CSS Document */






/*TOPイメージ*/
.img-wrap {
	margin-top: 100px;
  height: 45vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.img-wrap img{
  width:100%;
  height:100%;
  object-fit: cover;

  /* まずは“上端基準”に固定（従来） */
  object-position: 50% 0%;

  /* フォールバック：少しだけ上に持ち上げる */
  transform: translateY(-6%);
}

.img-wrap::before,
.img-wrap::after {
  animation: 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #363636;
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.img-wrap::before {
  animation-name: img-wrap-before;
  inset: 0 0 50%;
}

.img-wrap::after {
  animation-name: img-wrap-after;
  inset: 50% 0 0;
}

@keyframes img-wrap-before {
  100% {
    transform: translateX(100%);
  }
}

@keyframes img-wrap-after {
  100% {
    transform: translateX(-100%);
  }
}
@media (max-width: 768px) {
  .img-wrap img {
    /* Fallback（%は左/上からの位置）：右=100%、下から40% → 上から60% */
    object-position: 100% 60%;
    /* Prefer（右と下を基準にしたオフセット指定） */
    object-position: right 10% bottom 40%;
  }
}


/*TOPイメージ*/

h1{
  text-align: center;
  font-size: 2rem;
  padding-top: 50px;
}

.container00{
  margin: 0 auto;
  width: 80%;
  text-align: left;
}
.container h2{
  font-size: 1.7rem;
}
.container p{
  font-size: 1.2rem;
}

/* table01 */
#table01{
  width: 100%;
  margin: 50px auto;
  border-collapse: collapse;
}
#table01 tr {
  border-bottom: 1px solid #999999; 
}

#table01 th,
#table01 td {
  padding: 30px 0;
  border: none;
}

#table01 th {
  font-size: 1.2rem;
  width: 30%;
  padding-left: 80px;
}
#table01 td{
  font-size: 1rem;
}

/* sp */
@media only screen and (max-width: 900px) {
  #table01 th,
  #table01 td {
    padding: 10px 0;
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}
.container01{
  margin: 50px auto;
}

.container01 h2{
  text-align:left;
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.container01 h3{
  font-size: 1.3rem;
}
.timeline-date{
  font-size: 1rem;
}
.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 60px;
}

/* for Desktop */
@media ( min-width : 900px ){
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
	margin-bottom: 10px;
  }
	.timeline li{
		margin-bottom: 10px;
	}
  .timeline-date {
    width: 110px;
    float: left;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #fff;
    position: absolute;
    left: 106px;
    top: 12px;
    border-radius: 100%;
  }
}

.container02 h2,
.container03 h2{
  text-align:left;
  font-size: 1.5rem;
  padding: 50px 0 10px;
}
.container02 p,
.container03 p{
  font-size: 1.4rem;
  line-height: 2rem;
}
.container03{
  margin-bottom: 100px;
}

/* モーダルウィンドウ */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7); 
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.5); 
  margin: 15% auto;
  padding: 20px;
  
  width: 80%;
  max-width: 600px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* 常にアンダーラインとクリック可能な要素を強調 */
.timeline-content h3.img-popup-trigger {
  position: relative; /* アニメーションのために position を設定 */
  color: #fff; /* 通常時の文字色 */
  cursor: pointer; /* マウスカーソルを手の形に */
  display: inline-block; /* アニメーションが正しく適用されるように */
  overflow: hidden; /* アニメーションのオーバーフローを隠す */
  padding-bottom: 5px; /* アンダーラインを強調するためのパディング */
  border-bottom: 2px solid transparent; /* デフォルトのアンダーライン（透明） */
  transition: color 0.4s ease, border-bottom 0.4s ease; /* アニメーションの設定 */
}

/* 常にアンダーラインを表示 */
.timeline-content h3.img-popup-trigger::before {
  content: ''; /* アンダーラインのための疑似要素 */
  position: absolute;
  bottom: 0;
  left: 0; /* 左からスライドさせるために初期位置を設定 */
  width: 100%;
  height: 2px; /* アンダーラインの太さを設定 */
  background: orange;
  transition: transform 0.4s ease; /* アニメーションの設定 */
}

/* ホバー時のエフェクト */
.timeline-content h3.img-popup-trigger:hover {
  color: orange; /* ホバー時の文字色 */
  border-bottom: 2px solid orange; /* ホバー時にアンダーラインがオレンジ色に */
}




p.title-00 {
  margin: 30px auto;
  text-align: left;
}