body {
  background-color: #fff;
}
.tl-flex {
  margin-top: 36px;
  display: flex;
  gap: 36px;
}
.tl-box-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 5px;
  border-bottom: 1px solid #636363;
}
.tl-box-item a {
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  text-decoration: none;
  color: #636363 !important;
}
.tl-box-item img {
  width: 20px;
  height: 20px !important;
}

.mv-area {
  position: relative;
}

.mv-area img {
  width: 100%;
}

.mv-absolute {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.mv-absolute h3 {
  font-size: clamp(4.25rem, 0.558rem + 7.69vw, 6.688rem);
  color: #fff;
  font-weight: bold;
  line-height: 130%;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  margin: 25px 0 16px 0;
}

.mv-absolute .mv-small {
  font-size: 24px;
  color: #fff;
  font-weight: 600;
  line-height: 92%;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}

.mv-absolute .tl-small {
  font-size: clamp(2.25rem, 1.398rem + 1.78vw, 2.813rem);
  font-weight: 400;
  line-height: 130%;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.side {
  background-image: url(/assets/image/jp/ja/company/group/hfd/60th/history/en-tl.png);
  background-repeat: no-repeat;
  max-width: 1440px;
  margin: 0 auto;
  background-position: 0% 40px;
}

.side2 {
  background-image: url(/assets/image/jp/ja/company/group/hfd/60th/history/en-tl-2.png);
  background-repeat: no-repeat;
  max-width: 1440px;
  margin: 0 auto;
  background-position: 0% 35px;
}

.side3 {
  background-image: url(/assets/image/jp/ja/company/group/hfd/60th/history/en-tl-3.png);
  background-repeat: no-repeat;
  max-width: 1440px;
  margin: 0 auto;
  background-position: 0% 35px;
}

.contents-flex {
  display: flex;
  gap: clamp(1rem, -7.237rem + 17.16vw, 6.438rem);
}

.side-wrap {
  border-left: 1px solid #3e3e3e;
  padding: 0 26px 26px 26px;
  width: 100%;
  max-width: 203px;
  max-height: 227px;
  margin-top: 120px;
}

.side-tl {
  font-size: 18px;
  color: #000;
  line-height: 130%;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 25px;
}

.side-wrap p,
.side-wrap2 p {
  margin: 0 0 25px 0 !important;
}

.side-wrap span,
.side-wrap2 span {
  font-size: 14px;
  line-height: 130%;
  font-weight: 500;
  color: #8a8a8a;
  font-family: "Open Sans", sans-serif
}

.side-wrap a,
.side-wrap2 a {
  font-size: 16px;
  line-height: 130%;
  font-weight: 500;
  color: #8a8a8a !important;
  text-decoration: none;
}

.side-wrap .red span,
.side-wrap2 .red span {
  color: #d40000 !important;
}

.side-wrap .red,
.side-wrap2 .red {
  color: #d40000 !important;
  position: relative;
}

.side-wrap .red::before,
.side-wrap2 .red::before {
  content: "";
  height: 50px;
  position: absolute;
  left: -29px;
  border: 1px solid;
  width: 3px;
  background-color: #d40000;
  border-radius: 4px;
}

.contents-main {
  padding: 0 1rem 0 20px;
  border-left: 1px solid #e1e1e1;
  max-width: 900px;
  width: 100%;
}

.chronology-box {
  margin-top: 120px;
  position: relative;
}

.chronology-box-2 {
  margin-top: 29px;
  position: relative;
}

.chronology-box h3,
.chronology-box-2 h3 {
  font-size: 50px;
  font-weight: 600;
  line-height: 100%;
  color: #d40000;
  font-family: "Open Sans", sans-serif;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chronology-box::before,
.chronology-box-2::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #d40000;
  position: absolute;
  left: 0;
  top: 0;
  position: absolute;
  top: 30%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  left: -21px;
}

.chronology-box h3::after,
.chronology-box-2 h3::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #e1e1e1;
}

.chronology-small {
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  color: #8a8a8a;
}

.chronology-contents-flex {
  padding-left: clamp(1rem, -2.598rem + 7.5vw, 3.375rem);
  margin-top: 38px;
  display: flex;
  gap: clamp(1rem, -4.207rem + 10.85vw, 4.438rem);
}

.chronology-contents-flex-2 {
  padding-left: clamp(1rem, -2.598rem + 7.5vw, 3.375rem);
  margin-top: 90px;
  display: flex;
  gap: 30px;
}

.chronology-contents-item-3,
.chronology-contents-item-4 {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.chronology-contents-item h4,
.chronology-contents-item-2 h4 {
  font-size: 22px;
  line-height: 155%;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
}

.chronology-contents-item-3 h4,
.chronology-contents-item-4 h4 {
  font-size: 24px;
  line-height: 155%;
  font-weight: 600;
  position: relative;
  margin: 0;
}

.chronology-contents-item h4::before,
.chronology-contents-item-3 h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  background-color: #d40000;
  position: absolute;
  top: 50%;
  left: -9px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.chronology-contents-item-2 h4::before,
.chronology-contents-item-4 h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  background-color: #d40000;
  position: absolute;
  top: 25%;
  left: -9px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.chronology-contents-item p,
.chronology-contents-item-2 p,
.chronology-contents-item-3 p {
  font-size: 16px;
  line-height: 160%;
  font-weight: 400;
}

.chronology-contents-item .small,
.chronology-contents-item-2 .small,
.chronology-contents-item-3 .small,
.popup-text p.small {
  font-size: 14px;
  line-height: 180%;
  font-weight: 400;
}

.chronology-box-link {
  margin-top: 78px;
  display: flex;
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid #d40000;
  max-width: 141px;
  align-items: center;
}

.chronology-box-link-2 {
  display: flex;
  gap: clamp(0.563rem, -0.29rem + 1.78vw, 1.125rem);
  padding-bottom: 9px;
  border-bottom: 1px solid #d40000;
  max-width: 141px;
  align-items: flex-end;
}

.chronology-box-link a,
.chronology-box-link-2 a {
  font-size: 19px;
  line-height: 130%;
  font-weight: 400;
  color: #000 !important;
  text-decoration: none;
}

.chronology-box-link img,
.chronology-box-link-2 img {
  width: 24px;
  height: 24px;
}

.caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 126%;
  color: #000;
  margin-top: 11px;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1000px;
  background-color: #fff;
  padding: 60px 80px;
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 23px;
  width: 40px;
  height: 24px;
  background: url(/assets/image/jp/ja/company/group/hfd/60th/history/batsu.png) no-repeat center center;
  background-size: contain;
  border: none;
  outline: none;
  cursor: pointer;
  transform: translateY(-50%);
}

.popup-flex {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 834px;
  margin: 0 auto;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1e1e1;
}

.popup-flex p {
  color: #d40000;
  font-size: 50px;
  line-height: 130%;
  font-weight: 600;
  font-family: "Open Sans", sans-serif
}

.popup-flex span {
  font-size: 16px;
  color: #8a8a8a;
  line-height: 130%;
  margin-left: 12px;
  font-family: "Noto Sans JP", serif !important;
  font-weight: 400;
}

.popup-flex .min-box {
  font-size: 15px;
  line-height: 130%;
  font-weight: 400;
  color: #fff;
  display: inline-block;
  background-color: #000;
  padding: 2px 10px;
  border-radius: 3px;
}

.popup-contents {
  display: flex;
  gap: clamp(1.5rem, -1.435rem + 6.11vw, 3.438rem);
  margin-top: 60px;
}

.popup-contents img {
  max-width: 305px !important;
  width: 100%;
}


.popup-text .big {
  font-size: 28px;
  line-height: 155%;
  font-weight: 500;
  margin: 0;
}

.popup-text p {
  font-size: 16px;
  line-height: 200%;
  font-weight: 400;
  margin-top: 16px;
}

/* 調整 */

.mgt24 {
  margin-top: 24px;
}
.mgt55 {
  margin-top: 55px;
}
.mgt80 {
  margin-top: 80px;
}
.mgb120 {
  margin-bottom: 120px;
}

.pdb100 {
  padding-bottom: 100px;
}


@media screen and (max-width: 767px) {
  .JS body {
    background-color: #fff;
  }
  .page-contents {
    max-width: none;
    width: 100%;
  }
  .tl-area img {
    height: 400px;
  }

  .mv-absolute .mv-small {
    font-size: clamp(0.938rem, 0.803rem + 0.67vw, 1.125rem);
  }
  .mv-absolute h3 {
    font-size: clamp(1.75rem, 1.303rem + 2.24vw, 2.375rem);
    margin: 12px 0 8px 0;
  }
  .mv-absolute .tl-small {
    font-size: clamp(1.125rem, 0.857rem + 1.34vw, 1.5rem);
  }

  .tl-flex {
    flex-direction: column;
    gap: 10px;
  }
  .tl-box-item {
    width: fit-content;
  }
  .contents-area {
    padding: 0 16px;
  }
  .contents-flex {
    flex-direction: column;
    gap: 30px;
  }
  .side-wrap {
    margin-top: 30px;
  }
  .chronology-box {
    margin-top: 30px;
  }
  .chronology-box h3,
  .chronology-box-2 h3 {
    font-size: 40px;
  }
  .chronology-contents-flex,
  .chronology-contents-flex-2 {
    flex-direction: column;
    margin-top: 20px;
    padding-left: 15px;
    gap: 30px;
  }
  .chronology-contents-item-3,
  .chronology-contents-item-4 {
    flex-direction: column;
    gap: 30px;
  }
  .chronology-box-link {
    margin-top: 30px;
  }
  .mgt80 {
    margin-top: 30px;
  }
  .chronology-contents-box img,
  .chronology-contents-item-img img {
    width: 100%;
  }
}

.popup-contents > div:has(img) {
  flex-shrink: 0;
}
body>#Contents a:hover, body>.where-not a:hover {
  color: #b1000e;
  text-decoration: none !important;
}
@media screen and (max-width: 767px) {
  .popup-contents {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}
.popup-flex {
  flex-direction: column;
}
.popup-content {
  width: 90%;
  padding: 2rem 1rem;
}
.popup-flex p {
  font-size: 2rem;
}
.popup-text .big {
    font-size: 1.75rem;
}
.contents-main {
  padding: 0;
}
.chronology-box::before, .chronology-box-2::before {
  left: 0;
}
div[class*="chronology-box"] h3,.chronology-small {
  text-indent: 1rem;
}
}
.contents-main.--en .chronology-box::before,
.contents-main.--en .chronology-box-2::before {
  top: 53%;
}

.contents-main.--en .chronology-contents-item h4::before,
.contents-main.--en .chronology-contents-item-3 h4::before,
.contents-main.--en .chronology-contents-item-2 h4::before,
.contents-main.--en .chronology-contents-item-4 h4::before {
  top: 20px;
}
.contents-main.--en .chronology-box-link,
.contents-main.--en .chronology-box-link-2 {
  max-width: 150px;
}
