@charset "utf-8";

.c-info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: 1px solid #d8d2c8;
}

.c-info-table th,
.c-info-table td {
  border: 1px solid #d8d2c8;
  padding: 16px 18px;
  vertical-align: middle;
  line-height: 1.8;
}

.c-info-table th {
  width: 28%;
  background: #b2a58f;
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
}

.c-info-table td {
  background: #fff;
}

#license .c-info-table th {
  width: 50%;
}

.about-message__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.about-message__body,
.about-message__photo {
  min-width: 0;
}

.about-message__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35em;
  align-items: flex-start;
}

.about-message__text {
  margin: 0;
  color: #333;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

.about-message__name{
text-align: right;
  letter-spacing: .2em;
}
.about-message__name span{
  letter-spacing: 0.3em;
}
.about-message__photo {
  margin: 0;
  align-self: stretch;

}

.about-message__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 15px;
}

.about-section__license-image img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
}
@media screen and (max-width: 1200px) {
  .about-message__content {
    grid-template-columns: 1fr;
  }
  .about-message__photo {
    max-width: 500px;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 640px) {
  .about-message__body {
    gap: 1.1em;
  }
  .about-message__text {
    font-size: 16px;
  }
  .c-info-table th,
  #license .c-info-table th,
  .c-info-table td {
    display: block;
    width: 100%;
    padding: 8px 12px;
  }

  .c-info-table th {
    text-align: left;
    font-size: 14px;
  }
}
