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

/* ============ セクション全体 ============ */
.problem {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: var(--color-bg-green);
}

@media screen and (max-width: 767px) {
  .problem {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
}

.problem::before {
  position: absolute;
  bottom: 8%;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 10rem;
  transform: translateY(-50%);
  background: var(--color-bg-green);
  clip-path: polygon(110% 0, 0 0, 50% 100%);
  content: "";
}

@media screen and (max-width: 767px) {
  .problem::before {
    bottom: 1%;
    height: 10rem;
    clip-path: polygon(100% 0, 0 0, 50% 100%);
  }
}

.problem::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 23%;
  background: var(--color-white);
  content: "";
}

@media screen and (max-width: 767px) {
  .problem::after {
    height: 14%;
  }
}

/* ============ セクションタイトル上書き ============ */
.problem .section__jp span {
  padding-right: 8rem;
  padding-left: 8rem;
}

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

@media screen and (max-width: 767px) {
  .problem .section__jp span {
    padding: initial;
  }

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

/* ============ インナー ============ */
.problem__inner {
  position: relative;
}

/* ============ コンテナ（チェックリスト＋コピー） ============ */
.problem__container {
  display: grid;
  grid-template-columns: 37.4% 58.5%;
  align-items: center;
  position: relative;
  z-index: 20;
  margin-top: 4rem;
  gap: 4rem;
}

@media screen and (max-width: 767px) {
  .problem__container {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
}

/* ============ チェックリストボックス ============ */
.problem__items {
  display: grid;
  position: relative;
  padding: 3rem;
  gap: 1.5rem;
  background: var(--color-white);
}

@media screen and (max-width: 767px) {
  .problem__items {
    padding: 2rem;
    gap: 1rem;
  }
}

.problem__items::before {
  position: absolute;
  top: 50%;
  left: -2.3rem;
  width: 2.5rem;
  height: 2.5rem;
  transform: translateY(-50%);
  background: var(--color-white);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  content: "";
}

@media screen and (max-width: 767px) {
  .problem__items::before {
    top: -2.3rem;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(100% 100%, 0 100%, 50% 0);
  }
}

.problem__items::after {
  right: -2rem;
  width: 9.6rem;
  height: 11.8rem;
}

/* ============ チェックリスト各項目 ============ */
.problem__item {
  position: relative;
  padding: 0 3em 1.5rem;
  border-bottom: 1px dashed var(--color-border);
  font-size: 1.6rem;
  letter-spacing: 0.18rem;
  line-height: 1.6875;
}

@media screen and (max-width: 767px) {
  .problem__item {
    padding: 0 2rem 1rem 3rem;
    font-size: 1.4rem;
  }
}

.problem__item::before,
.problem__list::before {
  position: absolute;
  top: 0.2rem;
  left: 1em;
  width: 2.3rem;
  height: 1.9rem;
  background: url(../img/check_mark.png) no-repeat;
  background-size: contain;
  content: "";
}

@media screen and (max-width: 767px) {
  .problem__item::before,
  .problem__list::before {
    left: 0.5rem;
    width: 2rem;
    height: 1.6rem;
  }
}

.problem__item span,
.problem__list span {
  color: var(--color-main);
  background: linear-gradient(transparent 70%, #ffff95 70%);
}

/* ============ チェックアイコン ============ */
.problem__check {
  width: 2.3rem;
  height: 1.9rem;
}

/* ============ コピーエリア ============ */
.problem__copies {
  display: grid;
  position: relative;
  z-index: 10;
  margin-top: 6rem;
  gap: 1rem;
}

@media screen and (max-width: 767px) {
  .problem__copies {
    margin-top: 5rem;
  }
}

.problem__copy {
  display: grid;
  place-items: center;
  width: fit-content;
  min-height: 5.1rem;
  margin-inline: auto;
  padding: 0.3em 1em;
  background: var(--color-main);
  border-radius: 0.5rem;
  color: var(--color-white);
  font-family: var(--font-zen);
  font-weight: 500;
  font-size: 2.9rem;
  letter-spacing: 0.08em;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .problem__copy {
    min-height: 4.5rem;
    padding: 0.3em 0.5em;
    font-size: 1.8rem;
  }
}

/* ============ コンテンツグリッド ============ */
.problem__contents {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  z-index: 10;
  margin-top: 4.3rem;
  gap: 4rem;
}

@media screen and (max-width: 767px) {
  .problem__contents {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    gap: 2.5rem;
  }
}

/* ============ コンテンツタイトル ============ */
.problem__title {
  display: grid;
  place-items: center;
  min-height: 5.1rem;
  background: #12334e;
  color: var(--color-white);
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .problem__title {
    min-height: 4rem;
    font-size: 2rem;
  }
}

/* ============ リストボックス ============ */
.problem__lists {
  display: grid;
  padding: 3.5rem 2.5rem;
  gap: 1.5rem;
  background: var(--color-white);
}

@media screen and (max-width: 767px) {
  .problem__lists {
    padding: 2rem;
    gap: 1rem;
  }
}

/* ============ リスト各項目 ============ */
.problem__list {
  position: relative;
  padding: 0 1em 1.5rem 3em;
  border-bottom: 1px dashed var(--color-border);
  font-size: 1.6rem;
  line-height: 1.6875;
}

@media screen and (max-width: 767px) {
  .problem__list {
    padding: 0 2rem 1rem 3rem;
    font-size: 1.4rem;
  }
}

/* ============ ヘッド ============ */
.problem__head {
  width: fit-content;
  margin-inline: auto;
  border-bottom: 1px solid #f87601;
  color: var(--color-white);
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 2.5rem;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 767px) {
  .problem__head {
    font-size: 2rem;
  }
}

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