/*==================================================
section Problem
===================================*/
.problem {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 3rem;
  background: #f3faf3;
}

.problem::after {
  position: absolute;
  top: 80%;
  left: 0;
  width: 100%;
  height: 12.37%;
  background: #e4f5e5;
  content: "";
}

.problem::before {
  z-index: 11;
  position: absolute;
  top: 95%;
  left: 0;
  width: 100%;
  height: 12rem;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: #e4f5e5;
  content: "";
  -webkit-clip-path: polygon(100% 0, 0 0, 50% 70%);
  clip-path: polygon(100% 0, 0 0, 50% 70%);
}

.problem__head {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  border-bottom: 1px solid #f87601;
  color: #fff;
  font-weight: 400;
  font-size: 2rem;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.08em;
}

.problem__items {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 2rem;
  gap: 1rem;
  position: relative;
  z-index: 11;
}

.problem__item {
  background-color: #fff;
  border: solid 1px #298dde;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  width: 100%;
}

.problem__item_label {
  background-color: #298dde;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  width: 100%;
  text-align: center;
  border-radius: 1rem 1rem 0 0;
  padding: 1.8rem;
  line-height: 1rem;
}

.problem__item_image {
  width: 100%;
}

.problem__item_inner {
  padding: 3rem;
}

.problem__item_lead {
  color: #298dde;
  text-align: center;
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.problem__item_text {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 2.8rem;
}

.problem__check {
  width: 2.3rem;
  height: 1.9rem;
}

.problem__copies {
  display: grid;
  z-index: 11;
  position: relative;
  margin-top: 5rem;
  gap: 1rem;
}

.problem__copy {
  display: grid;
  place-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 4.5rem;
  margin-inline: auto;
  padding: 0.3em 0.5em;
  background: linear-gradient(to right, #1dad49 0%, #a8e185 100%);
  color: #fff;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-align: center;
  border-radius: 1rem;
}

.problem__contents {
  display: grid;
  z-index: 10;
  position: relative;
  margin-top: 3rem;
  gap: 2.5rem;
}

.problem__title {
  display: grid;
  place-items: center;
  min-height: 4rem;
  background: #12334e;
  color: #fff;
  font-size: 2rem;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.08em;
  text-align: center;
}

.problem__lists {
  display: grid;
  padding: 2rem;
  gap: 1rem;
  background: #fff;
}

.problem__list {
  position: relative;
  padding: 0 2rem 1rem 3rem;
  border-bottom: 1px dashed #e8e8e8;
  font-size: 1.4rem;
  line-height: 1.6875;
}

.problem .section__jp span {
  padding: initial;
}

.problem .section__jp span::after,
.problem .section__jp span::before {
  display: none;
}

@media screen and (min-width: 768px) {
  .problem {
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: linear-gradient(transparent 20%, #f3faf3 100%);
  }

  .problem::before {
    top: 79.5%;
    height: 10rem;
    clip-path: polygon(110% 0, 0 0, 50% 100%);
  }

  .problem::after {
    height: 40%;
    top: unset;
    bottom: 23.3rem;
  }

  .problem__head {
    font-size: 2.5rem;
  }

  .problem__copies {
    margin-top: 6rem;
  }

  .problem__copies.u-desktop {
    display: grid;
  }

  .problem__copy {
    min-height: 5.1rem;
    padding: 0.3em 1em;
    font-size: 2.9rem;
  }

  .problem__contents {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 4.3rem;
    gap: 4rem;
  }

  .problem__items {
    flex-direction: row;
  }

  .problem__item {
    min-height: 46rem;
    margin-top: 3rem;
    width: 25%;
    height: 48rem;
  }

  .problem__title {
    min-height: 5.1rem;
    font-size: 2.4rem;
  }

  .problem__lists {
    padding: 3.5rem 2.5rem;
    gap: 1.5rem;
  }

  .problem__list {
    padding: 0 1em 1.5rem 3em;
    font-size: 1.6rem;
  }

  .problem .section__jp span {
    padding-right: 8rem;
    padding-left: 8rem;
  }

  .problem .section__jp span::after,
  .problem .section__jp span::before {
    display: block;
  }
}

/*==================================================
section Problem END
===================================*/
