main .top {
  text-align: center;
  margin: 0;
  margin-top: 3em;
}

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #363033;
}

main h1 {
  display: inline-block;
  background-color: #fff4f4;
  padding: 0.8em 1em;
  position: relative;
  font-weight: bold;
  color: #DA238B;
  width: 12em;
  border-radius: 25px;
  font-size: 3.2em;
}

main h1::after {
  content: "";
  position: absolute;
  top: -11px;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 0.2vw solid #333;
  z-index: 1;
  border-radius: 25px;
}

main .content1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main .item1,
main .item2,
main .item3,
main .item4,
main .item5 {
  display: flex;
  align-items: center;
  gap: 0em;
  position: relative;
  height: 13em;
  width: 92%;
  margin-bottom: 1em;
}

main .item1 {
  font-size: 2.33vw;
  background-color: rgba(255, 0, 0, 0.05);
}

main .item2 {
  font-size: 2.33vw;
  background-color: rgba(253, 225, 225, 0.2);
}

main .item3 {
  font-size: 2.33vw;
  background-color: rgba(253, 225, 225, 0.2);
}

main .item4 {
  font-size: 2.8em;
  background-color: rgba(255, 0, 0, 0.05);
}

main .item5 {
  font-size: 2.8em;
  background-color: rgba(253, 225, 225, 0.2);
}

main .item-img img {
  height: auto;
  width: 9em;
}

main .item1 div,
main .item2 div,
main .item3 div,
main .item4 div,
main .item5 div {
  display: flex;
}

main .item-img {
  flex-direction: column;
  align-items: center;
  width: 33%;
}

main .line {
  position: relative;
  width: 2.5px;
  height: 70%;
  background-color: rgba(29, 29, 29, 0.4);
  z-index: 1;
  margin-bottom: 1em;
}

main .content1-sp {
  display: none;
}

@media (max-width: 768px) {

  main .content1-sp {
    display: block;
  }

  main .content1 {
    display: none;
  }

  main .pc {
    display: none;
  }

  main h1 {
    font-size: 8vw;
    width: 85%;
    padding: 5vw 0.5vw;
  }

  main h1::after {
    top: -1.4vw;
    left: -1.5vw;
  }

  main .item1,
  main .item2,
  main .item3,
  main .item4 {
    transform: rotate(0.03deg);
    width: 96%;
    margin: 0 auto;
    justify-content: space-around;
    font-size: 3vw;
    margin-bottom: 1em;
    padding-top: 1em;
    padding-bottom: 0.1em;
  }

  main .item-img img {
    height: auto;
    width: 13em;
  }

  main .item-img {
    width: 40%;
  }

  main .line {
    width: 2px;
  }

  main .item5 {
    justify-content: space-around;
    width: 48%;
    margin-left: 2%;
    font-size: 1em;
    font-size: 3vw;
    padding-top: 1em;
    padding-bottom: 0.1em;
  }

  main .item5 .item-img {
    width: 60%;
  }
}
