@charset "UTF-8";

.page-layout {
  display: flex;
}

.page-layout__nav {
  margin-left: 143px;
  margin-right: 83px;
}

.section-nav__list {
  position: sticky;
  top: 80px;
}

.section-nav__item {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #2a2a2a;
  letter-spacing: 0.1em;
  text-align: right;
}

.section-nav__item a {
  display: block;
  opacity: 0.4;
}

.section-nav__item a.active {
  opacity: 1;
  position: relative;
}

.section-nav__item a.active {
  opacity: 1;
}

.section-nav__item a.active::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: #E60012;
  position: absolute;
  top: 50%;
  left: -56px;
}

.page-layout__content {
  padding-left: 80px;
  max-width: 784px;
  padding-right: 24px;
  margin-bottom: 120px;
  border-left: 1px solid #2a2a2a;
}

.content__title {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #2a2a2a;
  margin-bottom: 40px;
  position: relative;
  padding-left: 16px;
  border-left: 8px solid #E60012;
  line-height: 31px;
}

.mission {
  padding-bottom: 160px;
}

.mission__heading {
  font-size: 18px;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 0.05em;
  color: #2a2a2a;
  margin-bottom: 24px;
}

.mission__text {
  font-size: 16px;
  line-height: 28.8px;
  letter-spacing: 0.05em;
  color: #2a2a2a;
}

.mission__img {
  width: 100%;
  max-width: 680px;
  height: auto;
  overflow: hidden;
}

.mission__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-table {
  width: 100%;
  margin-bottom: 160px;
}

.profile-table th {
  font-size: 16px;
  font-weight: bold;
  line-height: 16px;
  padding: 16px 17px 16px;
  border-top: 1px solid #efefef;
  width: 120px;
}

.profile-table td {
  font-size: 16px;
  line-height: 16px;
  padding: 16px 0 16px 17px;
  border-top: 1px solid #efefef;
  line-height: normal;
}

.profile-table th:last-of-type,
.profile-table td:last-of-type {
  border-bottom: 1px solid #efefef;
}

.history-table {
  width: 100%;
  margin-bottom: 160px;
  border-collapse: separate;
  border-spacing: 0;
}

.history-table th {
  font-size: 16px;
  font-weight: bold;
  line-height: normal;
  padding: 24px 0;
  border-top: 1px solid #2a2a2a;
  border-image: linear-gradient(to right, #2a2a2a 0%, #2a2a2a 120px, transparent 120px, transparent 160px) 10;
  width: 160px;
}

.history-table tr td:first-of-type {
  font-size: 16px;
  line-height: normal;
  padding: 24px 43px 24px 0;
  border-top: 1px solid #efefef;
  width: 77px;
}

.history-table tr td:last-child {
  font-size: 16px;
  line-height: normal;
  padding: 12px 22px 12px 0;
  max-width: 450px;
  border-top: 1px solid #efefef;
  letter-spacing: 0.05em;
}

.history-table tr td:last-child .border-left {
  padding: 12px 0 12px 24px;
  border-left: 1px solid #efefef;
  display: block;
}

.history-table tr td.no-border-top {
  border-top: none;
}

.history-table tr:last-of-type th {
  border-bottom: 1px solid #2a2a2a;
  border-image: linear-gradient(to right, #2a2a2a 0%, #2a2a2a 120px, transparent 120px, transparent 160px) 10;
}

.history-table tr:last-of-type td {
  border-bottom: 1px solid #efefef;
}

.organization {
  margin-bottom: 160px;
}

.organization__img {
  width: 100%;
  max-width: 680px;
  height: auto;
  overflow: hidden;
}

.organization__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location__map {
  max-width: 680px;
  height: 400px;
  margin-bottom: 16px;
}

.location__address {
  font-size: 16px;
  line-height: normal;
  color: #2a2a2a;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  .page-layout__nav {
    display: none;
  }

  .page-layout__content {
    padding-left: 24px;
    border-left: none;
    margin-bottom: 80px;
  }

  .mission {
    padding-bottom: 80px;
  }

  .profile-table {
    margin-bottom: 80px;
  }

  .history-table {
    margin-bottom: 80px;
  }

  .organization {
    margin-bottom: 80px;
  }

  .history-table th,
  .history-table td {
    display: block;
  }

  .history-table th {
    border-image: none;
    width: 100%;
  }


  .history-table tr td:first-of-type {
    border-top: 1px solid #efefef;
    width: 100%;
    padding-left: 24px;
  }

  .history-table tr td:last-child {
    max-width: 100%;
    border-top: 1px solid #efefef;
  }

  .history-table tr td:last-child .border-left {
    border-left: none;
  }

  .history-table tr:last-of-type th {
    border-bottom: none;
    border-image: none;
  }

  .history-table tr:last-of-type td:last-of-type {
    border-bottom: 1px solid #2a2a2a;
  }
}

@media screen and (max-width: 992px) {}

@media (min-width: 993px) {}