@charset "UTF-8";
body.page-history .guidebox {
  background: url("../images/guide/東光商会webサイト_沿革ページ_PC版.jpg") no-repeat top 0 center;
  height: 11398rem;
}
@media screen and (max-width: 700px) {
  body.page-history .guidebox {
    background: url("../images/guide/東光商会webサイト沿革_スマホ版.jpg") no-repeat top center;
    height: 12178rem;
    background-position: top -710rem center;
    background-size: 100% auto;
  }
}

/* ==========================================================================
   History (沿革)
   ========================================================================== */
/* Page Header */
.page_header {
  padding: 238px 0 0;
}
@media screen and (max-width: 700px) {
  .page_header {
    padding: 135rem 0 0;
  }
}
.page_header .page_title {
  padding-left: 50px;
}
@media screen and (max-width: 700px) {
  .page_header .page_title {
    padding-left: 20rem;
  }
}
.page_header .page_title .en {
  font-family: Roboto, sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #1f1f1f;
  display: block;
  margin-bottom: 14px;
}
@media screen and (max-width: 700px) {
  .page_header .page_title .en {
    font-size: 24rem;
    margin-bottom: 26rem;
  }
}
.page_header .page_title .ja {
  font-family: shippori-mincho, serif;
  font-weight: normal;
  font-size: 42px;
  letter-spacing: 0.15em;
  line-height: 72px;
  color: #1f1f1f;
}
@media screen and (max-width: 700px) {
  .page_header .page_title .ja {
    line-height: 72rem;
  }
}
.page_header .page_title .ja {
  display: block;
}
@media screen and (max-width: 700px) {
  .page_header .page_title .ja {
    font-size: 48rem;
    letter-spacing: 0.2em;
    line-height: 72rem;
  }
}

/* History Intro */
.history_intro {
  padding-bottom: 82px;
}
@media screen and (max-width: 700px) {
  .history_intro {
    padding-bottom: 118rem;
  }
}
.history_intro .intro_box {
  position: relative;
  z-index: 2;
}
.history_intro .intro_box .image_1 {
  width: 100%;
}
@media screen and (max-width: 700px) {
  .history_intro .intro_box .image_1 {
    margin-top: 30rem;
  }
}
.history_intro .intro_box .image_1 img {
  width: 100%;
  height: auto;
  display: block;
}
.history_intro .intro_box .text_1 {
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 28px;
  color: #1f1f1f;
  margin-top: 58px;
  margin-bottom: 65px;
  /* Slightly larger for intro */
  line-height: 2;
  margin-left: 50px;
  width: 100%;
  max-width: 482px;
}
@media screen and (max-width: 700px) {
  .history_intro .intro_box .text_1 {
    margin-top: 78rem;
    margin-bottom: 83rem;
    margin-left: 20rem;
    max-width: 565rem;
    font-size: 26rem;
    letter-spacing: 0.08em;
    line-height: 52rem;
  }
}
.history_intro .intro_box .text_2 {
  font-family: shippori-mincho, serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  line-height: 42px;
  text-align: left;
  color: #1f1f1f;
  margin-top: 86px;
  margin-left: 50px;
}
@media screen and (max-width: 700px) {
  .history_intro .intro_box .text_2 {
    margin-top: 56rem;
    margin-left: 0;
    font-size: 26rem;
    letter-spacing: 0.15em;
    line-height: 52rem;
  }
}

/* History Timeline */
.history_timeline {
  background-color: #eceff1;
  padding: 106px 0 136px;
}
@media screen and (max-width: 700px) {
  .history_timeline {
    padding: 120rem 0 146rem;
  }
}
.history_timeline .timeline_nav {
  margin-bottom: 117px;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_nav {
    margin-bottom: 74rem;
  }
}
.history_timeline .timeline_nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30rem 25rem;
  }
}
.history_timeline .timeline_nav ul li {
  display: flex;
  text-align: center;
}
.history_timeline .timeline_nav ul li a {
  width: 132px;
  display: block;
  padding: 14px 10px;
  color: #1f1f1f;
  text-decoration: none;
  font-family: shippori-mincho, serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  position: relative;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_nav ul li a {
    width: auto;
    padding: unset;
    font-size: 28rem;
    letter-spacing: 0.1em;
    border-bottom: 1rem solid #000;
    padding-bottom: 10rem;
  }
}
.history_timeline .timeline_nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 1px solid #707070;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.history_timeline .timeline_nav ul li a:hover::before {
  opacity: 1;
}
.history_timeline .timeline_content {
  position: relative;
}
.history_timeline .timeline_content::before {
  content: "";
  position: absolute;
  left: 235px;
  top: -37px;
  border-left: 1px solid #707070;
  height: calc(100% + 47px);
  z-index: 1;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content::before {
    left: 10rem;
    top: 0;
    height: 100%;
  }
}
.history_timeline .timeline_content .timeline_row {
  display: flex;
  position: relative;
  padding-bottom: 7px;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row {
    flex-direction: column;
    padding-bottom: 66rem;
  }
}
.history_timeline .timeline_content .timeline_row .era_title {
  width: 235px;
  font-family: shippori-mincho, serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: #002065;
  padding-top: 18px;
  /* Align visually with the dot */
  flex-shrink: 0;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .era_title {
    width: 100%;
    font-size: 42rem;
    letter-spacing: 0.1em;
    padding-top: 0;
    padding-left: 60rem;
    margin-bottom: 45rem;
    position: relative;
  }
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .era_title::before {
    content: "";
    position: absolute;
    left: 0rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20rem;
    height: 20rem;
    background-color: #002065;
    border-radius: 50%;
    z-index: 5;
  }
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .era_title::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50rem;
    border-top: 1px solid #002065;
  }
}
.history_timeline .timeline_content .timeline_row .events {
  flex: 1;
  padding-left: 90px;
  padding-bottom: 80px;
  /* Space between decades */
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events {
    padding-left: 60rem;
    padding-bottom: 0;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item {
  position: relative;
  margin-bottom: 47px;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item {
    margin-bottom: 35rem;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item:last-child {
  margin-bottom: 0;
}
.history_timeline .timeline_content .timeline_row .events .event_item {
  /* Dot */
}
.history_timeline .timeline_content .timeline_row .events .event_item::before {
  content: "";
  position: absolute;
  left: -95px;
  top: 37px;
  /* Align with text */
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: 2px solid #002065;
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 5;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item::before {
    left: -60rem;
    width: 20rem;
    height: 20rem;
    top: 47rem;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item {
  /* First dot of the decade is solid blue */
}
.history_timeline .timeline_content .timeline_row .events .event_item:first-child::before {
  background-color: #002065;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item:first-child::before {
    background-color: #fff;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item::after {
  content: "";
  position: absolute;
  left: -90px;
  top: 42px;
  width: 70px;
  border-top: 1px solid #002065;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item::after {
    left: -48rem;
    top: 57rem;
    width: 37rem;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item .date_box {
  margin-bottom: 7px;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item .date_box {
    margin-bottom: 18rem;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item .date_box .era_jp {
  font-family: shippori-mincho, serif;
  display: block;
  font-size: 16px;
  color: #002065;
  letter-spacing: 0.1em;
  margin-bottom: 1px;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item .date_box .era_jp {
    font-size: 20rem;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item .date_box .year {
  font-family: shippori-mincho, serif;
  font-size: 24px;
  color: #002065;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item .date_box .year {
    font-size: 32rem;
    letter-spacing: 0.1em;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item .detail_box .title {
  font-family: shippori-mincho, serif;
  font-size: 20px;
  color: #002065;
  margin-bottom: 5px;
  font-weight: normal;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item .detail_box .title {
    font-size: 28rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }
}
.history_timeline .timeline_content .timeline_row .events .event_item .detail_box .desc {
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 28px;
  color: #1f1f1f;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_content .timeline_row .events .event_item .detail_box .desc {
    font-size: 24rem;
    letter-spacing: 0.08em;
    line-height: 48rem;
  }
}
.history_timeline .timeline_footer {
  padding-top: 50px;
  margin-left: 80px;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_footer {
    padding-top: 47rem;
    margin-left: 0;
    text-align: left;
  }
}
.history_timeline .timeline_footer .title .en {
  font-family: shippori-mincho, serif;
  font-size: 42px;
  letter-spacing: 0.1em;
  line-height: 72px;
  color: #002065;
  display: block;
  margin-bottom: 24px;
  font-weight: normal;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_footer .title .en {
    font-size: 60rem;
    letter-spacing: 0.1em;
    line-height: 92rem;
    margin-bottom: 36rem;
  }
}
.history_timeline .timeline_footer .title .ja {
  font-family: shippori-mincho, serif;
  font-size: 24px;
  color: #002065;
  letter-spacing: 0.1em;
  font-weight: normal;
}
@media screen and (max-width: 700px) {
  .history_timeline .timeline_footer .title .ja {
    font-size: 36rem;
    letter-spacing: 0.1em;
  }
}

/* Footer Contact Background */
.footer-contact::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/footer_contact_bg_history.jpg");
}
@media screen and (max-width: 700px) {
  .footer-contact::before {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/footer_contact_bg_history_sp.jpg");
  }
}

/*# sourceMappingURL=history.css.map */
