.philosophy__content-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 35px;
}

.dynamic-red-title {
  margin-top: 50px;
}

.philosophy__text {
  text-align: center;
}

.philosophy__text--black {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.logo-section {
  width: 100%;
  max-width: 1080px;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  padding: 20px 20px 35px 20px;
  margin: 0 auto;
}

.logo-section__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo-section__image {
  width: 200px;
  height: 191px;
  margin: 0 auto;
}

.logo-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-section__description {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 20px;
}

.logo-section__legend {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  line-height: 1.5;
}

.legend__item {
  height: 24px;
  display: block;
}

.legend__item--blue {
  border-left: 12px solid #0181ca;
}

.legend__item--green {
  border-left: 12px solid #14a73c;
}

.legend__item--orange {
  border-left: 12px solid #f18101;
}

.legend__item--yellow {
  border-left: 12px solid #fff100;
}

.legend__item--red {
  border-left: 12px solid #e84366;
}

.jtb-group {
  position: relative;
  background-color: var(--white);
  margin-bottom: 70px;
  margin-top: 20px;
}

.jtb-group::before,
.jtb-group::after {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 40px);
  max-width: 1160px;
  height: 20px;
  background-color: #d8d8d8;
  left: 50%;
  transform: translateX(-50%);
}

.jtb-group::before {
  border-radius: 10px 10px 0 0;
  top: -20px;
}

.jtb-group::after {
  border-radius: 0 0 10px 10px;
  bottom: -20px;
}

.jtb-sections__title {
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
}

.jtb-group__container {
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.jtb-group__card-header {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--white);
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  clip-path: url(#clipShape);
  background: var(--gradient-dynamic-red);
}

.jtb-group__card-header * {
  position: relative;
  z-index: 1;
}

.jtb-group__card__content {
  padding: 16px 10px 0;
}

@media (max-width: 340px) {
  .legend__item--red {
    font-size: 0.95rem;
  }
  .jtb-group__card-header {
    font-size: 0.8rem;
    padding-left: 5px;
  }
}

.logo-section__intro {
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  h2.section-title {
    margin-bottom: 110px;
  }
  .philosophy__text--black {
    font-size: 1.75rem;
    line-height: 1.43;
  }

  .jtb-group {
    margin-bottom: 125px;
  }

  .philosophy__content-subtitle {
    font-size: 1.25rem;
    line-height: 1.45;
    margin-bottom: 31px;
  }

  .dynamic-red-title {
    margin-top: 100px;
  }

  .logo-section {
    padding: 40px;
  }

  .logo-section__container {
    flex-direction: row;

    gap: 52px;
  }

  .logo-section__image {
    width: 264px;
    min-width: 264px;
    height: 251px;
    margin: 0;
  }

  .jtb-sections__title {
    margin: 0 auto;
  }

  .jtb-group__container,
  .jtb-sections__title {
    max-width: 1160px;
  }

  .jtb-sections__title {
    font-size: 1.5rem;
    line-height: 1.33;
    text-align: left;
  }

  .jtb-group__container {
    margin-top: 72px;
    display: flex;
    flex-direction: unset;
    flex-wrap: wrap;
    column-gap: 28px;
    row-gap: 42px;
  }

  .jtb-group__card {
    width: calc(50% - 14px);
  }

  .jtb-group__card__content {
    line-height: 1.5;
    max-width: 446px;
    padding: 20px min(34px, max(15px, calc(34px + 50vw - 600px))) 0;
    box-sizing: content-box;
  }
}
