.service {
  padding-top: 65px;
  padding-bottom: 57px;
  position: relative;
  overflow-x: clip;
}
@media screen and (max-width: 999px) {
  .service { 
    padding-bottom: 30px;
  }
}

.service__charm {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20%;
  z-index: -1;
}

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

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

.service .plan__title {
}

.service .plan__title {
}

.service .plan__title {
}

.service .plan__title::before {
  position: absolute;
  display: block;
  content: " ";
  background: url(../img/plan-en-pink.png) center center / contain no-repeat;
  top: -73%;
  left: 50%;
  width: 210px;
  height: 120px;
  transform: translateX(-50%);
  z-index: -1;
}

@media screen and (max-width: 999px) {
  .service .plan__title::before {
    width: 90px;
    height: 80px;
  }
}

.service__itemsWrapper {
  margin-top: 48.5px;
}

.service__items {
  display: flex;
  justify-content: space-between;
  row-gap: 41px;
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 999px) {
  .service__items {
    row-gap: 20px;
  }
}

.service__item {
  width: 46%;
}

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

.service__itemImage {
  width: 100%;
}

.service__itemImage img {
  border-radius: 10px;
}

.service__itemHead {
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;

  position: relative;
  top: -42px;
  padding-top: 13px;
  padding-bottom: 14px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 40px;
  margin-bottom: -30px;
}

@media screen and (max-width: 999px) {
  .service__itemHead {
    font-size: 16px;
    top: -30px;
  }
}

.service__item:nth-child(1) .service__itemHead {
  background-color: #f2a2c0;
}

.service__item:nth-child(2) .service__itemHead {
  background-color: #84ceea;
}

.service__item:nth-child(3) .service__itemHead {
  background-color: #8edb49;
}

.service__item:nth-child(4) .service__itemHead {
  background-color: #f4b43b;
}

.service__itemContent {
  font-family: "Noto Sans JP";
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 36px;
  text-align: left;
  color: #313131;
}

@media screen and (max-width: 999px) {
	.service__itemContent {
  line-height: 20px;
	}
}

.service .p-about1__sideScroll {
  position: absolute;
  top: 51%;
  left: 0;
}
