.about-hero {
  --page-hero-image: url("../assets/images/about-hero.webp");
  --page-hero-image-top: 0;
  --page-hero-image-height: 100%;
  --page-hero-image-size: cover;
  --page-hero-image-position: center 38%;
}

.about-philosophy {
  padding: 96px 120px 82px;
  background: var(--color-bg-light);
}

.about-philosophy__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.about-philosophy__item {
  display: grid;
  grid-template-rows: 45px 72px 72px;
  align-items: start;
  row-gap: 24px;
  min-height: 311px;
  padding: 32px 24px;
  text-align: center;
}

.about-philosophy__item:not(:last-child) {
  border-right: 1px solid var(--color-accent);
}

.about-philosophy__label {
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 44.8px;
  font-weight: 300;
  line-height: 44.8px;
}

.about-philosophy h2 {
  align-self: center;
  color: var(--color-text-primary);
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.608px;
}

.about-philosophy__item > p:last-child {
  align-self: start;
  color: var(--color-text-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 23.68px;
}

.about-message {
  padding: 150px 0;
  background: var(--gradient-gold);
}

.about-message__card {
  position: relative;
  width: min(1200px, calc(100% - 80px));
  min-height: 836px;
  margin-inline: auto;
  padding: 72px 50px 44px;
  background: #fff;
  box-shadow: var(--shadow-card-brown);
}

.about-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.about-section-heading--left {
  align-items: flex-start;
}

.about-section-heading h2 {
  color: var(--color-accent);
  font-size: 30px;
  font-weight: 700;
  line-height: 48px;
}

.about-section-heading::after {
  display: block;
  width: 68px;
  height: 6px;
  content: "";
  background: var(--color-accent);
}

.about-message__body {
  margin-top: 39px;
}

.about-message h3 {
  color: var(--color-text-primary);
  font-size: 48px;
  font-weight: 700;
  line-height: 51.2px;
  letter-spacing: 1.28px;
  transform: skewX(-8deg) scaleY(0.99);
  transform-origin: left center;
}

.about-message__text {
  margin-top: 74px;
  color: var(--color-text-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 40px;
}

.about-message__signature {
  margin-top: 40px;
  color: var(--color-text-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 40px;
  text-align: right;
}

.about-company {
  padding: 150px 120px;
  background: var(--color-bg-light);
}

.about-company__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.about-company__table {
  position: relative;
  width: 998px;
  margin: 78px 0 48px;
  padding: 54px 154px 51px;
  background: #fff;
}

.about-company__table::before {
  position: absolute;
  top: 54px;
  bottom: 51px;
  left: 314px;
  width: 1px;
  content: "";
  background: var(--color-accent);
}

.about-company__table div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 140px;
  color: var(--color-text-primary);
  font-size: 20px;
  line-height: 23.68px;
}

.about-company__table div + div {
  margin-top: 24px;
}

.about-company__table dt {
  font-weight: 700;
}

.about-company__table dd {
  margin: 0;
  font-weight: 500;
}

.about-company__map {
  display: block;
  width: 998px;
  height: 421px;
  border: 0;
}

@media (max-width: 768px) {
  .about-hero {
    height: 350px;
    min-height: 350px;
  }


  .about-hero .page-hero__logo {
    width: 76px;
    margin-bottom: 17px;
  }

  .about-hero h1 {
    line-height: 44px;
    letter-spacing: 1.28px;
  }

  .about-philosophy {
    padding: 52px 0 56px;
  }

  .about-philosophy__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: var(--sp-content-width, min(400px, calc(100vw - 40px)));
  }

  .about-philosophy__item {
    grid-template-rows: auto;
    row-gap: 16px;
    min-height: 0;
    padding: 30px 10px;
  }

  .about-philosophy__item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--color-accent);
  }

  .about-philosophy__label {
    font-size: 38px;
    line-height: 40px;
  }

  .about-philosophy h2 {
    font-size: 22px;
    line-height: 32px;
  }

  .about-philosophy__item > p:last-child {
    font-size: 15px;
    line-height: 27px;
  }

  .about-message {
    padding: 64px 0;
  }

  .about-message__card {
    width: var(--sp-content-width, min(400px, calc(100vw - 40px)));
    min-height: 0;
    padding: 34px 22px 38px;
  }

  .about-section-heading {
    gap: 12px;
  }

  .about-section-heading h2 {
    font-size: 25px;
    line-height: 36px;
  }

  .about-section-heading::after {
    width: 54px;
    height: 5px;
  }

  .about-message__body {
    margin-top: 32px;
  }

  .about-message h3 {
    font-size: 23px;
    line-height: 40px;
    letter-spacing: 1.1px;
  }

  .about-message__text {
    margin-top: 34px;
    font-size: 15px;
    line-height: 30px;
  }

  .about-message__signature {
    margin-top: 30px;
    font-size: 15px;
    line-height: 30px;
  }

  .about-company {
    padding: 64px 0;
  }

  .about-company__inner {
    width: var(--sp-content-width, min(400px, calc(100vw - 40px)));
  }

  .about-company__table {
    width: 100%;
    margin: 42px 0 28px;
    padding: 24px 20px;
  }

  .about-company__table::before {
    content: none;
  }

  .about-company__table div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    line-height: 26px;
  }

  .about-company__table div + div {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(184, 143, 82, 0.3);
  }

  .about-company__table dt {
    color: var(--color-accent);
  }

  .about-company__map {
    width: 100%;
    height: 260px;
  }
}
