@charset "UTF-8";
/* CSS Document */
img {
  width: 100%;
}
h1 {
  font-family: "garamond-premier-pro-display", serif;
  font-size: clamp(10px, 12vw, 60px);
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  letter-spacing: 0.1rem;
  padding: 6rem 3rem 0;
}
h1 span {
  font-family: "Roboto", sans-serif;
  font-size: clamp(10px, 3.56vw, 14px);
  text-align: left;
  line-height: 2.3;
  letter-spacing: 0;
}

.history_description {
  background-color: #bd3628;
  color: #fff;
}
.history_description_text {
  padding: 3rem;
}
.history_description_text p {
  padding-top: 1rem;
}

section {
  padding: 5rem 0 0;
}
.white {
  background-color: #f4f4f4;
}
.year {
  display: block;
  opacity: 0.5;
  font-family: "a-otf-ryumin-pr6n", serif;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(10px, 16vw, 70px);
  text-align: center;
}
dt,
h3 {
  color: #bd3628;
  font-weight: 600;
  line-height: 1.5;
}
h3 {
  padding-bottom: 1rem; 
}
.cover_img {
  margin-top: 1rem;
}
dl {
  padding-left: 3rem;
}
.timeline {
  width: 100%;
  padding: 3rem 3rem 0;
  position: relative;
}
.timeline li {
  padding-bottom: 5rem;
}
.btn-more {
  text-align: left;
  margin-top: 1rem;
}
.border-line {
  position: absolute;
  top: 0;
  width: 2rem;
  height: 0;
  background: url(../img/history/line.svg) repeat-y;
}
.timeline li {
  position: relative;
}
.timeline li:after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: #bd3628;
  border-radius: 50%;
  border: #f0f0f0 solid 5px;
  border-radius: 50%;
  animation: expansion-anim 1s ease;
  left: -8.7px;
}
.ttl {
  font-size: clamp(10px, 4vw, 20px);
  font-weight: 600;
  padding-top: 1rem;
}
.detail {
  padding: 1rem 0;
}

/* モーダルオーバーレイ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.modal-overlay.is-active {
  visibility: visible;
  pointer-events: auto;
}

/* コンテンツラッパー（GSAPで移動・拡大させるターゲット） */
.modal-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  border-radius: 20px;
  width: 80%;
}

/* モーダル内コンテンツ */
.modal {
  padding: 2rem;
  border-radius: 20px;
  filter: drop-shadow(0px 0px 10px #0000001c);
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
}

/* 閉じるボタン */
.center {
  text-align: center;
  margin: 0 auto;
  padding-top: 1rem;
}
.close {
  margin: 0 auto;
  padding: 8px 10px;
  border-radius: 1000px;
  background: #bd3628;
  text-align: center;
  color: #ffffff;
  width: 96px;
  cursor: pointer;
  border: 1px solid #bd3628;
  position: relative; 
  z-index: 10;
}
.name {
  display: block;
  text-align: right;
}

.footer-logo img {
  width: auto;
}