section.company .company-box {
  max-width: 800px;
  margin: 40px auto 0;
}
section.company .company-box dl {
  border-bottom: 1px solid #000;
  padding: 30px 0;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  section.company .company-box dl {
    padding: 20px 0;
    flex-direction: column;
  }
}
section.company .company-box dl:first-child {
  border-top: 1px solid #000;
}
section.company .company-box dl dt {
  width: 200px;
}
@media screen and (max-width: 767px) {
  section.company .company-box dl dt {
    width: 100%;
  }
}
section.company .company-box dl dd {
  font-weight: normal;
  width: calc(100% - 200px);
}
@media screen and (max-width: 767px) {
  section.company .company-box dl dd {
    width: 100%;
  }
}
section.company .company-box dl dd a {
  position: relative;
}
section.company .company-box dl dd a:after {
  position: absolute;
  content: "";
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform: translateY(0);
  opacity: 1;
}
@media (hover) {
  section.company .company-box dl dd a:hover:after {
    transform: translateY(5px);
    opacity: 0;
  }
}
section.company .company-box dl dd table th {
  font-weight: normal;
  padding-right: 20px;
}
section.company .company-box dl dd table td {
  font-weight: normal;
}
section.company .company-box .map {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  section.company .company-box .map {
    display: block;
  }
}
section.company .company-box .map .img {
  width: 280px;
}
@media screen and (max-width: 767px) {
  section.company .company-box .map .img {
    max-width: 350px;
    width: 80%;
    margin: 0 auto;
  }
}
section.company .company-box .map .gmap {
  width: calc(100% - 300px);
}
@media screen and (max-width: 767px) {
  section.company .company-box .map .gmap {
    width: 100%;
    margin-top: 40px;
  }
}
section.company .company-box .map .gmap iframe {
  filter: grayscale(1);
  width: 100% !important;
  height: 100% !important;
}
@media screen and (max-width: 767px) {
  section.company .company-box .map .gmap iframe {
    height: 300px !important;
  }
}

section.history .history-box {
  max-width: 620px;
  margin: 40px auto 0;
  position: relative;
  padding-bottom: 1px;
}
section.history .history-box:after {
  content: "";
  position: absolute;
  top: 20px;
  left: 123px;
  width: 1px;
  height: 100%;
  background-color: var(--black);
}
@media screen and (max-width: 767px) {
  section.history .history-box:after {
    left: 73px;
  }
}
section.history .history-box dl {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}
@media screen and (max-width: 767px) {
  section.history .history-box dl {
    margin-top: 40px;
  }
}
section.history .history-box dl dt {
  width: 120px;
  line-height: 1;
  font-weight: 500;
  font-family: var(--playfair);
  color: var(--gray);
  font-size: 32px;
  translate: 0 -4px;
}
@media screen and (max-width: 767px) {
  section.history .history-box dl dt {
    width: 70px;
    font-size: 26px;
    padding-top: 6px;
  }
}
section.history .history-box dl dd {
  width: calc(100% - 120px);
}
@media screen and (max-width: 767px) {
  section.history .history-box dl dd {
    width: calc(100% - 70px);
  }
}
section.history .history-box dl dd .box {
  position: relative;
  display: flex;
  margin-top: 2px;
  padding-left: 55px;
}
@media screen and (max-width: 767px) {
  section.history .history-box dl dd .box {
    padding-left: 20px;
    display: block;
  }
}
section.history .history-box dl dd .box:before {
  content: "";
  position: absolute;
  top: 12px;
  left: -1px;
  width: 9px;
  height: 9px;
  border-radius: 100%;
  background-color: var(--black);
}
section.history .history-box dl dd .box:nth-child(n+2) {
  margin-top: 45px;
}
@media screen and (max-width: 767px) {
  section.history .history-box dl dd .box:nth-child(n+2) {
    margin-top: 40px;
  }
}
section.history .history-box dl dd .box .month {
  font-size: 16px;
  color: var(--gray);
  margin-right: 20px;
}
@media screen and (max-width: 767px) {
  section.history .history-box dl dd .box .month {
    margin: 0;
  }
}
section.history .history-box dl dd .box p {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  section.history .history-box dl dd .box p {
    font-size: 15px;
  }
}