@charset "UTF-8";

.header {
  background-color: #e5e5e5;
}

.main_area {
  padding-top: 60px;
  background: url(../images/main_bg.jpg) no-repeat center center / cover;
}

/* contents_area
======================================== */
.contents_area .inner {
  max-width: 1000px;
}


/* history
======================================== */
.history {
  padding-top: 80px;
  padding-bottom: 120px;
}
.top_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 40px;
}
.top_wrap_body {
  width: 100%;
  max-width: 380px;
}
.top_wrap_img {
  width: 100%;
  max-width: 390px;
}
.top_wrap_title {
  font-size: 26px;
  letter-spacing: normal;
  line-height: 1.4;
  color: #4d5b91;
  font-weight: 500;
}
.top_wrap_text {
  margin-top: 40px;
  font-size: 16px;
  letter-spacing: em;
  line-height: 2.5;
}
.history_link_wrap {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.history_link_item {
  position: relative;
  display: block;
  width: 170px;
  height: 170px;
  border: 1px solid #4d5b91;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s;
}
.history_link_item::before {
  content: "▼";
  position: absolute;
  font-size: 18px;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: #918d4d;
}
.history_link_text {
  text-align: center;
  font-size: 17px;
  letter-spacing: normal;
  line-height: 1.4;
  color: #4d5b91;
}
.history_link_item:hover {
  box-shadow: rgba(77, 91, 145, 0.5) 0px 5px 15px;
}

@media only screen and (max-width: 767px) {
  .history {
    padding-bottom: 60px;
  }
  .top_wrap {
    flex-direction: column;
    row-gap: 30px;
  }
  .top_wrap_img {
    width: 80%;
    max-width: 390px;
  }
  .top_wrap_title {
    font-size: 20px;
  }
  .top_wrap_text {
    margin-top: 20px;
    font-size: 13px;
    line-height: 2;
  }
  .history_link_wrap {
    margin-top: 40px;
    column-gap: 8px;
    row-gap: 4px;
  }
  .history_link_item {
    width: 104px;
    height: 104px;
  }
  .history_link_item::before {
    font-size: 13px;
    bottom: 3px;
  }
  .history_link_text {
    font-size: 12px;
  }
}

/* history_contents
===================================== */
.history_contents {
  margin-top: 80px;
}
.history_wrap {
  position: relative;
  display: flex;
  padding-bottom: 80px;
}
.history_wrap:last-child {
  padding-bottom: 0;
}
.history_wrap::before {
  position: absolute;
  top: 0;
  left: 145px;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #404040;
}
.history_left {
  flex-shrink: 0;
  width: 145px;
}
.history_left_text {
  position: relative;
  text-align: right;
  padding-right: 30px;
  font-size: 26px;
  letter-spacing: normal;
  line-height: 1.4;
  color: #4d5b91;
  font-weight: 500;
}
.history_left_text::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 20px;
  height: 1px;
  background-color: #404040;
}
.history_right {
  width: calc(100% - 145px);
  padding-left: 30px;
}
.history_title {
  font-size: 26px;
  letter-spacing: normal;
  line-height: 1.4;
  color: #918d4d;
  font-weight: 600;
}
.history_lead {
  margin-top: 24px;
  font-size: 16px;
  letter-spacing: em;
  line-height: 2.5;
  color: #4d5b91;
  font-weight: 500;
}
.topics_area {
  margin-top: 40px;
}
.topics_title {
  display: inline-block;
  padding: 10px 40px 10px 30px;
  background: url(../images/topics_btn.png) no-repeat top right / cover;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  font-weight: 500;
}
.topics_box {
  max-width: 680px;
  background: #f3f5f2;
  background: linear-gradient(
    90deg,
    rgba(243, 245, 242, 1) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(243, 245, 242, 1) 100%
  );
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
  padding: 30px 40px 30px 20px;
}
.topics_box.pbl {
  padding-block: 80px;
}
.topics_text {
  position: relative;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.85;
  padding-left: 24px;
  color: #4c4c4c;
}
.topics_text + .topics_text {
  margin-top: 14px;
}
.topics_text::before {
  content: "●";
  color: #4d5b91;
  position: absolute;
  font-size: 18px;
  top: -2px;
  left: 0;
}
.icon_wrap {
  margin-top: 40px;
  display: flex;
  column-gap: 20px;
}
.history_bottom_lead {
  width: calc(100% - 40px);
  margin-inline: auto;
  margin-top: 90px;
  margin-top: clamp(5rem, 0.416rem + 5.961vw, 9rem);
  color: #4d5b91;
}

@media only screen and (max-width: 767px) {
  .history_contents {
    margin-top: 60px;
  }
  .history_wrap {
    flex-direction: column;
    row-gap: 16px;
    padding-bottom: 50px;
  }
  .history_wrap::before {
    top: 30px;
    left: 10px;
    height: calc(100% - 30px);
  }
  .history_left {
    flex-shrink: 0;
    width: 100%;
  }
  .history_left_text {
    text-align: left;
    padding-right: 0;
    font-size: 20px;
  }
  .history_left_text::after {
    content: none;
  }
  .history_right {
    width: calc(100% - 24px);
    margin-left: auto;
    padding-left: 0;
  }
  .history_title {
    font-size: 22px;
  }
  .history_lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 2;
  }
  .topics_area {
    margin-top: 30px;
  }
  .topics_title {
    padding: 6px 26px 6px 14px;
    background: url(../images/topics_btn.png) no-repeat top right / cover;
    font-size: 18px;
  }
  .topics_box {
    padding: 20px;
  }
  .topics_box.pbl {
    padding-block: 40px;
  }
  .topics_text {
    font-size: 13px;
    line-height: 1.7;
    padding-left: 18px;
  }
  .topics_text + .topics_text {
    margin-top: 10px;
  }
  .topics_text::before {
    font-size: 14px;
    top: 0px;
  }
  .icon_wrap {
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
    width: 70%;
    max-width: 380px;
    margin-inline: auto;
    row-gap: 16px;
  }
}


[id] {
  scroll-margin-top: 140px; 
}
@media only screen and (max-width:768px) {
  [id] {
    scroll-margin-top: 30px; 
  }
}