#worries {
  position: relative;
  padding-top: 64px;
  padding-bottom: 156px;
  overflow-x: clip;
  position: relative;
  z-index: 3;
}

@media screen and (max-width: 999px) {
  #worries {
    padding-top: 30px;
    padding-bottom: 50px;
  }
}

#worries::before {
  position: absolute;
  display: block;
  content: "";
  background-color: #0dcede;
  clip-path: polygon(0% 0%, 100% 0%, 100% 87%, 50% 100%, 0% 87%);
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.worries__container {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 999px) {
  .worries__container {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.worries__head {
  text-align: center;
}

.worries__head h3 {
  padding-top: 7px;
  transform: translateX(6px);
  padding-bottom: 7px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: bold;
  font-size: 26px;
  letter-spacing: 0.035em;
  text-align: center;
  color: #fff;
  display: inline-block;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

@media screen and (max-width: 999px) {
  .worries__head h3 {
    width: 100%;
    font-size: 20px;
  }
}

.worries__items {
  display: flex;
  margin-top: 29px;
  justify-content: space-between;
  align-items: flex-start;
}

@media screen and (max-width: 999px) {
  .worries__items {
    flex-direction: column;
    align-items: center;
    transform: translateX(0);
    gap: 30px;
  }
}

.worries__itemImage {
  width: 38.572%;
}

.worries__itemImage img {
  width: 100%;
}

@media screen and (max-width: 999px) {
  .worries__itemImage {
    width: 100%;
  }
}

.worries__text {
  margin-top: -1px;
  width: 58.7%;
  background: #fff;
  filter: drop-shadow(7px 7px 12px rgba(113, 113, 113, 0.1));
  position: relative;
  border-radius: 15px;
}

@media screen and (max-width: 999px) {
  .worries__text {
    margin-top: 0;
    width: 100%;
  }
}

.worries__text::before {
  position: absolute;
  display: block;
  content: "";
  left: -31px;
  top: 42.1%;
  background: url(../img/speech-bubble.svg) center center / contain no-repeat;
  width: 53px;
  height: 63.53px;
}
@media screen and (max-width: 999px) {
  .worries__text::before {
    top: -19px;
    width: 32px;
    height: 27.53px;
    left: 50%;
    transform: translateX(-50%);
    background: url(../img/speech-bubble-sp.svg) center center / contain
      no-repeat;
  }
}

.worries__textItems {
  display: flex;
  flex-direction: column;
  padding-top: 42.5px;
  padding-bottom: 45px;
  gap: 10.5px;
  position: relative;
}

.worries__textItem {
  display: flex;
  align-items: center;
  background-size: 10px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
  margin-left: 4px;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 19px;
  background-image: linear-gradient(to right, #e8e8e8 4px, transparent 4px);
  padding-left: 14px;
  margin-left: 28px;
  margin-right: 28px;
  padding-right: 20px;
}

@media screen and (max-width: 999px) {
  .worries__textItem {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.worries__textItemImage {
}

.worries__textItemContent {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.6875;
  text-align: left;
  color: #000;
  transform: translateY(2px);
  width: calc(100% - 10px - 24px);
}

.worries__textItemContent span {
  color: #ff7600;
  background: linear-gradient(transparent 50%, #ffff95 50%);
}

.worries__bottomHead {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  bottom: -164px;
  z-index: 1;
}

@media screen and (max-width: 999px) {
  .worries__bottomHead {
    bottom: -7%;
  }
}

.worries__bottomHead p {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: bold;
  font-size: 29px;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff;
  background: linear-gradient(to right, #09cbf9 0%, #2f7eee 100%);
}

@media screen and (max-width: 999px) {
  .worries__bottomHead p {
    font-size: 15px;
  }
}

.worries__bottomHead p:first-child {
  padding-bottom: 5px;
  width: 632px;
  border-radius: 6px;
  padding-left: 13px;
}
.worries__bottomHead p:nth-child(2) {
  width: 420px;
  border-radius: 6px;
  padding-bottom: 5px;
}

@media screen and (max-width: 999px) {
  .worries__bottomHead p:first-child {
        padding-bottom: 3px;
        padding-top: 3px;
    width: 335px;
  }
  .worries__bottomHead p:nth-child(2) {
    width: 335px;
        padding-bottom: 3px;
        padding-top: 3px;
  }
}
