.accordion-area {
  list-style: none;
  width: 1000px;
  margin: 0 auto;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
}

.accordion-area li {
  margin: 16px 0;
  background-color: #66bf97;
}

.accordion-area section {
  border: 1px solid #66bf97;
}

.title {
  position: relative;
  cursor: pointer;
  font-weight: normal;
  padding-left: 33px;
  margin-top: 16px;
  margin-bottom: 16px;
  transition: all 0.5s ease;
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.title::before,
.title::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 4px;
  background-color: white;
  margin-left: 940px;
}
.title::before {
  top: 48%;
  left: 9px;
  transform: rotate(45deg);
}
.title::after {
  top: 48%;
  left: 15px;
  transform: rotate(315deg);
}

.title.close::before {
  transform: rotate(-45deg);
}

.title.close::after {
  transform: rotate(45deg);
}

.box {
  display: none;
  background: white;
  padding: 3%;
}

@media screen and (max-width: 999px) {
  .accordion-area {
    width: 90vw;
  }

  .accordion-area li {
    margin: 8px 0;
    background-color: #66bf97;
  }

  .title {
    position: relative;
    cursor: pointer;
    font-weight: normal;
    padding-left: 15px;
    margin-top: 12px;
    margin-bottom: 12px;
    transition: all 0.5s ease;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .title::before,
  .title::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 4px;
    background-color: white;
    margin-left: calc(86% + (100vw - 375px) * 0.1);
  }
  .title::before {
    top: 48%;
    left: 9px;
    transform: rotate(45deg);
  }
  .title::after {
    top: 48%;
    left: 15px;
    transform: rotate(315deg);
  }

  .title p {
    width: 69vw;
  }

  .box {
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 12px;
    padding-right: 12px;
  }
}
