@charset "utf-8";

.company {
  background: #f5f5f5;
  padding-block: 80px 154px;
}

@media screen and (min-width: 768px) {
  .company__inner.l-inner {
    max-width: calc(1000px + 40px * 2);
  }
}

.company__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .company__container {
    gap: 80px;
  }
}

.company__contents {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  padding: 40px 5%;
}

@media screen and (min-width: 768px) {
  .company__contents {
    padding: 60px 7% 80px;
  }
}

.company__table {
  margin-top: 43px;
}

.company__table-row {
  border-bottom: 1px solid #a7a7a7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.company__table-row:first-child {
  border-top: 1px solid #a7a7a7;
}

@media screen and (min-width: 768px) {
  .company__table-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.company__table-th {
  width: 100%;
  padding: 10px 20px;
  flex-shrink: 0;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #b9a67a;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: start;
}

@media screen and (min-width: 768px) {
  .company__table-th {
    max-width: 178px;
    width: 21%;
    padding: 26px 0;
  }
}

.company__table-th::after {
  content: "";
  position: absolute;
  width: 97%;
  height: 2px;
  background: radial-gradient(circle, #a7a7a7 1px, transparent 1px) 0 0 / 6px
    2px repeat-X;
  bottom: 0;
  transform: translateX(-50%);
  left: 50%;
}

@media screen and (min-width: 768px) {
  .company__table-th::after {
    width: 2px;
    height: 77%;
    background: radial-gradient(circle, #a7a7a7 1px, transparent 1px) 0 0 / 2px
      6px repeat-y;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    right: 0;
    left: auto;
  }
}

.company__table-td {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #454545;
}

@media screen and (min-width: 768px) {
  .company__table-td {
    padding-left: 51px;
    padding: 26px 20px 26px 51px;
  }
}

.company__table-td a {
  color: #454545;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.company__message {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

@media screen and (min-width: 600px) {
  .company__message {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 7%;
  }
}

.company__message-image {
  aspect-ratio: 288/337;
  width: 100%;
  height: auto;
  overflow: hidden;
}

@media screen and (min-width: 600px) {
  .company__message-image {
    max-width: 288px;
  }
}

.company__message-image img {
  aspect-ratio: 288/337;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.company__message-title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
}

.company__message-title h3 {
  width: fit-content;
  font-size: clamp(18px, 1.62vw, 22px);
  font-weight: 500;
  letter-spacing: calc(100 / 1000 * 1em);
  line-height: calc(34 / 22);
  color: #eff0ef;
  background: #b9a57a;
  padding: 1px 5px;
}

.company__message-title h3 + h3 {
  margin-top: 14px;
}

.company__message-text {
  margin-top: 24px;
}

.company__message-text p {
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(32 / 15);
  color: #454545;
}

.company__message-text p + p {
  margin-top: 21px;
}

.company__message-body-name {
  margin-top: 6px;
  margin-right: 8px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: 1.2;
  color: #454545;
  text-align: right;
}

.company__access {
  margin-top: 45px;
}

.company__map-container {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 861/321;
  width: 100%;
  max-width: 861px;
  height: 321px;
}

.company__map {
  width: 100%;
  height: 100%;
}

.company__map iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.company__map-address {
  margin-top: 12px;
  margin-left: -6px;
  color: #454545;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(30 / 14);
}
