.toc__main {
  position: relative;
}

.toc__title {
  width: 85vw;
  margin: 40px auto 21px;
  max-width: 1000px;
}
.toc__title h2 {
  font-size: 22px;
  text-align: center;
  font-weight: bold;
}
.toc__background_top {
  width: 25vw;
  position: absolute;
  top: 10%;
  left: -6vw;
  z-index: -1;
}
.toc__background_bottom {
  width: 25vw;
  position: absolute;
  bottom: 5vw;
  right: -1vw;
  z-index: -1;
}

.toc__area {
  width: 85vw;
  margin: 0 auto;
  margin-bottom: 46px;
  padding-bottom: 46px;
  max-width: 1000px;
  text-align: center;
  background-color: #FDF3ED;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.toc__area:last-child {
  margin-bottom: 60px;
}
.toc__area_term_title {
  font-size: 15px;
  color: #FFFFFF;
  background-color: #E63037;
  padding: 6px 27px;
  width: 116px;
  border-radius: 5px;
  margin-top: 25px;
}
.toc__area_term {
  font-size: 15px;
  font-weight: bold;
  color: #E63037;
  margin-top: 11px;
}
.toc__area_category {
  width: 89%;
  margin: 0 auto;
  margin-top: 26px;
  padding: 20px 0 25px;
  background-color: #FFFFFF;
  border-radius: 5px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
}
.toc__area_category_title {
  font-size: 16px;
  color: #222222;
  width: 100%;
}
.toc__area_category_list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 13px;
  width: 100%;
}
.toc__area_category_detail {
  font-size: 14px;
  font-weight: bold;
  color: #E63037;
  background-color: #FDF3ED;
  border-radius: 5px;
  padding: 5px 0;
  margin-left: 5px;
  margin-top: 5px;
  min-width: 80px;
  width: 22vw;
}

.toc__area_text {
  margin-top: 27px;
  font-size: 16px;
}
.toc__area_image {
  width: 89%;
  margin: 0 auto;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.toc__area_image a {
  margin-top: 20px;
}
.toc__area_image img {
  width: 100%;
}
.toc__area_nothing {
  text-align: center;
  font-size: 1.2em;
  color:#000;
  font-weight: bold;
  margin-top: 39px;
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .toc__background_top {
    top: 22vw;
    left: -6vw;
    z-index: -1;
  }
  .toc__background_bottom {
    bottom: -5vw;
    right: -1vw;
    z-index: -1;
  }

  .toc__title {
    margin-bottom: 40px;
  }
  .toc__title h2 {
    font-size: 34px;
    font-weight: normal;
  }
  .toc__area:last-child {
    margin-bottom: 149px;
  }
  .toc__area_term {
    font-size: 18px;
    margin-top: 9px;
    font-weight: normal;
  }
  .toc__area_category {
    flex-direction: row;
  }
  .toc__area_category_title {
    width: 20%;
  }
  .toc__area_category_list {
    margin-top: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 75%;
  }
  .toc__area_category_detail {
    margin-left: 10px;
    margin-top: 0;
    min-width: 66px;
    max-width: 101px;
    width: 7.5vw;
  }
  .toc__area_text {
    margin-top: 39px;
    font-size: 19px;
  }
  .toc__area_image {
    flex-direction: row;
  }
  .toc__area_image a {
    width: 48%;
    margin-top: 0;
  }
  .toc__area_image img:nth-child(even) {
    margin-left: 22px;
  }
}