body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #363033;
  overflow-x: hidden;
}

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 .top {
  text-align: center;
  margin: 0;
  margin-top: 3em;
}

main h2 {
  font-size: 3vw;
  margin: 0;
  margin-top: 1em;
}

main h3 {
  font-size: 2.75vw;
}

main .content1-title {
  display: flex;
  align-items: center;
  margin-top: 6em;
}

main .line1 {
  height: 0.2vw;
  background-color: #DA238B;
  flex: none;
  width: 5%;
  margin-right: 1.5rem;
}

main .line2 {
  height: 0.2vw;
  background-color: #DA238B;
  flex: none;
  width: 45%;
  margin-left: 1.5rem;
}

main .content1-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 4em;
}

main .outer {
  display: inline-block;
  padding: 2em 2em;
  background-color: rgba(253, 225, 225, 0.5);
  border-radius: 50px;
  width: 100%;
}

main .content1-text {
  font-size: 2vw;
  background-color: #fff;
  padding: 1.5em 2em;
  padding-right: 0em;
  padding-bottom: 0.5em;
  border-radius: 50px;
}

main .content1-text .item {
  display: flex;
  align-items: flex-start;
  /* 上を揃える */
  margin-bottom: 1em;
}

main .content1-text .num {
  width: 2em;
  /* 番号の幅を固定 */
  flex-shrink: 0;
  /* 番号部分が潰れないように */
}

main .content1-text .text {
  flex: 1;
  color: black;
  font-weight: 500;
  line-height: 1.7;
}

main .content2-title {
  display: flex;
  align-items: center;
  margin-top: 6em;
}

main .content2-text {
  display: flex;
  justify-content: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
}

main .content2-text .item {
  display: flex;
  align-items: center;
  width: 80%;
  background-color: #fff4f4;
  padding: 1.8em 5em;
  padding-right: 0em;
  margin-bottom: 2em;
}

main .item div {
  width: 12em;
  height: 6em;
  display: flex;
  padding-left: 3em;
  align-items: center;
  border-left: 2px solid #333;
  margin-left: 3em;
  font-size: 2vw;
}

main .item img {
  height: auto;
  width: 25em;
  width: 26%;
}

main .item img+img {
  margin-left: 2em;
}

main .link {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-right: 2em;
  font-size: 2vw;
  margin-bottom: 2em;
}

main .link img {
  height: auto;
  width: 3em;
}

.m-plus-rounded-1c-thin {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.m-plus-rounded-1c-light {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.m-plus-rounded-1c-regular {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.m-plus-rounded-1c-medium {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.m-plus-rounded-1c-bold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.m-plus-rounded-1c-extrabold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.m-plus-rounded-1c-black {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  font-style: normal;
}

main .content2-sp {
  display: none;
}

main .b {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

main .otoku {
  text-align: center;
  font-weight: 500;

}

main .otoku h4 {
  font-size: 2.5vw;
  color: #DA238B;
}

main .otoku img {
  width: 3%;
  height: auto;
  padding-top: 2.4vw;
  margin-right: 2%;
}

main .otoku1 {
  display: flex;
  align-items: flex-start;
  justify-content: center;

}

main .pc-br {
  display: none;
}

main .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* iOSで滑らかスクロール */
  width: 96%;
  margin: 0 auto;
}

main .table-wrap h4 {
  font-size: 2vw;
  font-weight: 500;
  text-align: center;
}

main .table-wrap .pp {
  font-size: 1.6vw;
  color: black;
  font-weight: bold;
  margin-bottom: 0.5em;
}

main table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  /* 小さい画面で横スクロールさせたい最小幅 */
  table-layout: fixed;
  /* カラム幅を均等にする（必要なければ削除） */
}

th,
td {
  font-size: 1.8vw;
  font-weight: bold;
  color: black;
  padding: 40px 0px;
  border: 2px solid #333;
  text-align: center;
  white-space: nowrap;
  /* 改行させずに横に伸ばす */
  overflow: hidden;
  text-overflow: ellipsis;
  /* はみ出したら...にする */
}

main table td:nth-child(1),
main table th:nth-child(1) {
  background-color: #D9D9D9;
}

main table td:nth-child(2),
main table th:nth-child(2) {
  background-color: rgba(253, 225, 225, 0.55);
}

main table th:nth-child(1) {
  color: #363033;
}

@media (max-width: 768px) {
  th,
  td {
    transform: rotate(0.03deg);
    font-size: 3.5vw;
    padding: 10px 0;
    border: 1px solid #333;
  }

  main .table-wrap .pp {
    font-size: 2.4vw;
    transform: rotate(0.03deg);
  }

  main .table-wrap h4 {
    font-size: 3vw;
    transform: rotate(0.03deg);
  }

  main .otoku img {
    width: 5%;
    height: auto;
    padding-top: 5vw;
  }

  main .pc-br {
    display: inline;
  }

  main .otoku {
    text-align: left;
  }

  main .otoku h4 {
    font-size: 4.5vw;
  }

  main .otoku p {
    font-size: 4vw;
  }

  main .sp-br {
    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 h2 {
    font-size: 6vw;
    margin: 1em 1em;
  }

  main h3 {
    font-size: 7vw;
    font-weight: 500;
  }

  main .sp-line {
    height: 2px;
    background-color: #DA238B;
    flex: none;
    width: 10%;
    margin: auto auto;
  }

  main .content1-title,
  main .content2-title {
    justify-content: center;
    margin-top: 3em;
  }

  main .content1-wrap {
    margin: 0;
  }

  main .outer {
    padding: 0.3em 0.3em;
    width: 95%;
  }

  main .b {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  main .content1-text {
    transform: rotate(0.03deg);
    font-size: 1em;
    font-size: 5.8vw;
    padding: 2em 1em;
  }

  main .content2-text .item {
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    padding: 0.8em 1em;
    text-align: center;
  }

  main .item div {
    justify-content: center;
    width: 80%;
    font-size: 4.7vw;
    margin: 0;
    margin-top: 1em;
    padding: 0;
    border-top: 2px solid #333;
    border-left: 2px none #333;
  }

  main .item img {
    width: 45%;
    margin-top: 0.5em;
  }

  main .content2-sp {
    display: flex;
    justify-content: space-around;
  }

  main .content2-text-sp {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 500;
    font-style: normal;
    width: 47%;
    background-color: #fff4f4;
    padding: 0;
    margin-bottom: 2em;
  }

  main .item2 {
    display: grid;
    justify-items: center;
  }

  main .item2 img {
    margin-top: 1em;
    width: 90%;
  }

  main .item2 div {
    text-align: center;
    font-size: 5vw;
    width: 6em;
    margin: 0;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0;
    border-top: 2px solid #333;
  }

  main .pc {
    display: none;
  }

  main .link {
    transform: rotate(0.03deg);
    margin-right: 1em;
    font-size: 4vw;
    margin-bottom: 2em;
  }

  main .link img {
    margin-left: 0em;
    height: auto;
    width: 3em;
  }
}