@charset "UTF-8";

.p-company__sections {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.p-company__title {
  align-items: center;
  color: #483c42;
  display: flex;
  font-size: 20px;
  font-weight: bold;
  gap: 10px;
  letter-spacing: 0.06em;
  line-height: calc(29 / 20);
}
.p-company__title::before {
  background-color: #2da5e0;
  border-radius: 3px;
  content: "";
  flex-shrink: 0;
  height: 18px;
  width: 18px;
}

.p-company__box {
  margin-top: 40px;
}

.p-company-message,
.p-company-list {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  margin-inline: auto;
  max-width: 650px;
}

.p-company-message {
  padding: 70px 20px;
}

.p-company-message__contents {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.p-company-message__img {
  aspect-ratio: 324/280;
  border-radius: 10px;
  height: 280px;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}

.p-company-message__texts {
  color: #4b4b4b;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0.05em;
  line-height: calc(30 / 13);
  max-width: 100%;
  width: 100%;
}

.p-company-message__name {
  margin-top: 15px;
  padding-right: 15px;
  text-align: right;
}

.p-company-list__item {
  display: grid;
  grid-template-columns: 120px auto;
}
.p-company-list__item:not(:last-child) {
  border-bottom: solid 1px #a7a7a7;
}

.p-company-list__head {
  align-items: center;
  background-color: #d2e8f8;
  color: #4b4b4b;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  height: 100%;
  justify-content: center;
}

.p-company-list__body {
  color: #454545;
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
  padding-block: 20px;
  padding-left: 15px;
}

.p-company-access__map {
  aspect-ratio: 1142/419;
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  height: 419px;
  overflow: hidden;
  width: 100%;
}
.p-company-access__map > div {
  height: 100%;
  width: 100%;
}
@media (min-width: 768px) {
  .p-company-list__item {
    grid-template-columns: 180px auto;
  }
}
@media (min-width: 1024px) {
  .p-company__sections {
    gap: 100px;
  }
  .p-company-message,
  .p-company-list {
    max-width: 916px;
  }
  .p-company-message__contents {
    flex-direction: row;
    gap: 40px;
  }
  .p-company-message__img {
    max-width: 324px;
  }
  .p-company-message__texts {
    max-width: 456px;
  }
  .p-company-list__head {
    font-size: 15px;
  }
  .p-company-list__body {
    line-height: calc(32 / 13);
    padding-left: 50px;
  }
}