.tabs {
  width: 100%;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  border-bottom: #d3483e solid 6px;
}

.tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6em;
  margin: 0 5px 0 0;
  cursor: pointer;
  transition: all 0.2s;
  color: #ffd7d5;
  font-size: 26px;
  font-weight: 800;
  --notch: 20px;
  clip-path: polygon(0 0,
      calc(100% - var(--notch)) 0,
      100% var(--notch),
      100% 100%,
      0 100%);
  background-color: #fb9e98;
  transform: translateY(1px)
}

.tab-button:last-child {
  margin: 0;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button:hover {
  color: #fff;
  background-color: #ffd7d5;
}

.tab-button.active {
  color: #fff;
  background-color: #d3483e;
}

.tab-text {
  width: 60%;
  margin: 1.5em auto 0;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.attention-inner {
  padding: 1rem 0 0;
}

.attention-toggle {
  display: none;
}

.Label {
  margin: 0 0 0.5rem;
  padding: 1em 0 1em;
  display: block;
  text-align: center;
  font-size: 26px;
  color: #fff;
  font-weight: 600;
  background-color: #d3483e;
  border-radius: 0.5rem;
}

.Label::before {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 9px);
  right: 20px;
  transform: rotate(135deg);
}

.Label,
.attention-content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}

.attention-content {
  height: 0;
  padding: 0 0;
  overflow: hidden;
  font-feature-settings: normal;
}

.attention-toggle:checked+.Label+.attention-content {
  height: auto !important;
  padding: 1em 0 1em !important;
  transition: all 0.3s !important;
}

.attention-toggle:checked+.Label::before {
  transform: rotate(-45deg) !important;
}

@media screen and (min-width: 1px) and (max-width: 743px) {

  .tab-button {
    font-size: 3.73vw;
    line-height: 1.4;
    margin: 0 3px 0 0;
    --notch: 15px;
  }

  .tab-text {
    width: 100%;
    margin: 1em auto 0;
  }

  .attention-inner {
    padding: 0rem 0 0;
  }

  .Label {
    margin: 0 0 0.5em;
    font-size: 4.27vw;
  }

  .Label::before {
    width: 3.20vw;
    height: 3.20vw;
    top: calc(50% - 10px);
  }

  .attention-toggle:checked+.Label+.attention-content {
    padding: 0.5em 0 1em;
  }

}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .tab-button {
    font-size: 2.60vw;
    --notch: 18px;
  }

  .tab-text {
    width: 80%;
    margin: 1.5em auto 0;
  }
}

@media screen and (min-width: 1025px) {

  .Label:hover {
    background-color: #fb9e98;
  }

}