@charset "utf-8";

.company__wrap {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.company__box {
  margin: 50px auto 0;
  max-width: 850px;
  background: #fff;
  border: 1px solid #B1B1B1;
  border-radius: 10px;
}

.company__box-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-bottom: 1px solid #A7A7A7;
}
@media screen and (min-width: 768px) {
  .company__box-item {
  grid-template-columns: 142px 1fr;
  }
}

.company__box-item:last-of-type {
  border-bottom: none;
}

.company__box-head {
    display: grid;
    place-items: center;
}

.company__box-body {
  position: relative;
  padding: 20px 14px !important;
}
@media screen and (min-width: 768px) {
  .company__box-body {
    padding: 26px 40px !important;
  }
}
.company__box-body::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background-image: linear-gradient(to bottom, #A7A7A7 2px, transparent 2px);
  background-size: 1.5px 4px;
  background-repeat: repeat-y;
  background-position: left bottom;
  width: 1px;
  height: 75%;
}

.message__wrap {
  max-width: 850px;
  margin: 52px auto 0;
  background: #fff;
  border: 1px solid #B1B1B1;
  border-radius: 10px;
  padding: 70px 20px 36px;
  display: flex;
  gap: 45px;
  align-items: start;
  flex-direction: column;
}
@media screen and (min-width: 900px) {
  .message__wrap {
    flex-direction: row;
    padding: 70px 50px 36px;
  }
}

.message__img {
  aspect-ratio: 230 / 296;
  width: 230px;
  object-fit: cover;
  border-radius: 5px;
  margin: 0 auto;
}
@media screen and (min-width: 900px) {
  .message__img {
    margin: 0;
  }
}

.message__title {
  width: fit-content;
}
.message__title + .message__title {
  margin-top: 16px;
}

.access__map {
  aspect-ratio: 842/400;
  width: 100%;
  height: 400px;
}
.access__map div,
.access__map div iframe {
  width: 100%;
  height: 100%;
  border: none;
}