.termineblock {
  position: relative;
  padding: 60px 0 160px 0;
  z-index: 0;
}
.termineblock::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 60px;
  background-image: url("../../../img/pattern-left.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -1;
  width: 254px;
  height: 730px;
}
@media screen and (max-width: 1440px) {
  .termineblock::before {
    width: 197px;
    height: 558px;
  }
}
@media screen and (max-width: 1280px) {
  .termineblock::before {
    width: 172px;
    height: 489px;
  }
}
@media screen and (max-width: 1024px) {
  .termineblock::before {
    width: 134px;
    height: 380px;
  }
}
@media screen and (max-width: 768px) {
  .termineblock::before {
    width: 84px;
    height: 240px;
  }
}
@supports (width: clamp(1px, 2vw, 3px)) and (height: clamp(1px, 2vw, 3px)) {
  .termineblock::before {
    width: clamp(84px, 13.8vw, 254px);
    height: clamp(240px, 38.1vw, 730px);
  }
}
.termineblock.termineblock--type2::before {
  display: none;
}
.termineblock.termineblock--type2::after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: 0;
  top: 160px;
  background-image: url("../../../img/pattern-right.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 254px;
  height: 730px;
}
@media screen and (max-width: 1440px) {
  .termineblock.termineblock--type2::after {
    width: 197px;
    height: 558px;
  }
}
@media screen and (max-width: 1280px) {
  .termineblock.termineblock--type2::after {
    width: 172px;
    height: 489px;
  }
}
@media screen and (max-width: 1024px) {
  .termineblock.termineblock--type2::after {
    width: 134px;
    height: 380px;
  }
}
@media screen and (max-width: 768px) {
  .termineblock.termineblock--type2::after {
	  display: none;
/*     width: 84px;
    height: 240px; */
  }
}
@supports (width: clamp(1px, 2vw, 3px)) and (height: clamp(1px, 2vw, 3px)) {
  .termineblock.termineblock--type2::after {
    width: clamp(84px, 13.8vw, 254px);
    height: clamp(240px, 38.1vw, 730px);
  }
}

.termineblock .spoilerblock {
    margin-bottom: 12px;
}

.termineblock .spoilerblock:last-child {
    margin-bottom: 0;
}

/* .termineblock.termineblock--type2 .spoilerblock {
  border: 1px solid var(--savian);
  background: linear-gradient(332deg, rgba(0, 0, 0, 0) 0%, rgb(182, 221, 213) 200%);
}
.termineblock.termineblock--type2 .spoiler-item {
  border-bottom: 1px solid rgba(182, 221, 213, 0.4);
}
.termineblock.termineblock--type2 .spoiler-item:last-child {
  border-bottom: none;
} */
.termineblock .termineblock__head {
  margin-bottom: 38px;
}
.termineblock .termineblock__head span.title-secondary {
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 1179px) {
  .termineblock {
    padding: 80px 0 60px 0;
  }
  .termineblock .termineblock__head {
    margin-bottom: 35px;
    padding: 0 10px;
  }
  .termineblock .termineblock__head h2.section-title {
    align-items: flex-end;
  }
  .termineblock .termineblock__head span.title-secondary {
    text-align: right;
  }
  .termineblock .termineblock__wrapper {
    padding-left: 14%;
  }
}
@media screen and (max-width: 580px) {
  .termineblock::before {
    top: -60px;
  }
  .termineblock .termineblock__wrapper {
    padding-left: 0;
  }
}