@charset "UTF-8";

.indent-parenthesis {
  text-indent: -40px;
  padding-left: 40px;
  margin-bottom: 1rem;
}

.indent-parenthesis p + p {
  text-indent: 0;
}

.indent {
  text-indent: -1rem !important;
  padding-left: 1rem !important;
}

.indent3 {
  text-indent: -3rem !important;
  padding-left: 3rem !important;
}

.scheme {
  display: grid;
  grid-template-columns: 2fr 4fr 4fr 2fr;
  gap: 2px;
}

.scheme > li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 10px;
}

.scheme_title {
  background: #217892;
  text-align: center;
  padding: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.scheme_conts {
  background: #f3f3f3;
  padding: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  width: calc(100% - 20px);
  position: relative;
}
.scheme_conts::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 10px solid #6c7074;
  border-right: 0;
  top: 50%;
  right: -18px;
  position: absolute;
  transform: translateY(-50%);
}

.scheme_conts li {
  writing-mode: vertical-rl;
  line-height: 1.5;
  font-weight: bold;
}

@media screen and (max-width: 640px) {
  .indent-parenthesis {
    text-indent: -30px;
    padding-left: 30px;
  }
  .indent3 {
    text-indent: -40px !important;
    padding-left: 40px !important;
  }
  .scheme {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .scheme_conts {
    padding: 20px;
    gap: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: left;
  }
  .scheme_conts li {
    writing-mode: initial;
    width: 100%;
  }
  .scheme_conts::after {
    top: auto;
    bottom: -20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 10px solid #555555;
    border-bottom: 0;
  }
  .scheme > li:last-child .scheme_conts::after {
    content: none;
  }
}
