@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.planPr {
  background-color: #f4f4ea;
  font-family: "Noto Sans JP", sans-serif;
}

.planPr * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.planPr h2 {
  color: #ffffff;
  background-color: #176d80;
  text-align: center;
  padding: 15px 0;
  font-size: 1.2em;
}

.planPr .content {
  width: 98%;
  margin: auto;
}
@media screen and (min-width: 768px) {
  .planPr .content {
    width: 1100px;
  }
}

.planPr img {
  width: 100%;
}

.planPr a {
  text-decoration: none;
}

.subTitle {
  color: #176d80;
  text-align: center;
  margin: 30px auto 60px auto;
  font-size: 1.1em;
  font-weight: bold;
}

.plan {
  position: relative;
  background-color: #ffffff;
  padding: 40px 0;
  border-radius: 20px;
}

.plan h3 {
  position: absolute;
  top: -30px;
  left: 50%;
  margin-right: -50%;
  transform: translateX(-50%);
  color: #176d80;
  background-color: #ffffff;
  border: 2px solid #176d80;
  border-radius: 30px;
  text-align: center;
  display: inline;
  font-size: 1.3em;
  padding: 10px 0px;
  width: 85%;
}

@media screen and (min-width: 768px) {
  .plan h3 {
    padding: 10px 100px;
  }
}

.planList {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .planList {
    width: 60%;
  }
}

.planItem {
  width: calc(100% / 3 - 15px);
}

@media screen and (min-width: 768px) {
  .planItem {
    width: calc(100% / 5 - 15px);
  }
}

.planItem:nth-of-type(n + 2) {
  margin-left: 15px;
}

.planItem-hidden {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .planItem-hidden {
    display: none;
  }
}

.plus {
  margin: 15px auto 40px auto;
  width: 50px;
  height: 50px;
}

.service {
  position: relative;
  background-color: #ffffff;
  padding: 60px;
  border-radius: 20px;
  border: 2px solid #176d80;
}

.service h3 {
  position: absolute;
  top: -30px;
  left: 50%;
  margin-right: -50%;
  transform: translateX(-50%);
  color: #ffffff;
  background-color: #176d80;
  border: 2px solid #176d80;
  border-radius: 30px;
  text-align: center;
  display: inline;
  padding: 10px 0;
  font-size: 1.3em;
  width: 85%;
}

@media screen and (min-width: 768px) {
  .service h3 {
    font-size: 1.7em;
    padding: 5px 80px;
  }
}

.serviceList {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.serviceItem {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .serviceItem {
    width: calc(100% / 3 - 25px);
  }
}

@media screen and (min-width: 768px) {
  .serviceItem:nth-of-type(n + 2) {
    margin-left: 30px;
  }
}

.serviceImage {
  position: relative;
  width: 70%;
  margin: auto;
}

.serviceImage::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 0;
  display: block;
  background-image: url(/images/pr/plan/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 80px;
  height: 80px;
}

.serviceLink:hover .serviceImage::after {
  background-image: url(/images/pr/plan/arrow_active.svg);
}

.serviceTitle {
  position: relative;
  color: #176d80;
  background-color: rgba(155, 196, 0, 0.1);
  border-radius: 30px;
  line-height: 1.5em;
  margin: 20px auto;
  height: 75px;
  transition: background-color .3s;
}

@media screen and (min-width: 768px) {
  .serviceTitle {
    background-color: #176d80;
    color: #ffffff;
  }
}

.serviceLink:hover .serviceTitle {
  background-color: #9BC400;
}

.serviceTitle small {
  display: block;
}

.serviceTitle span {
  font-size: 1.15em;
}

.serviceTitleInner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.serviceText {
  color: #176d80;
  margin: 15px auto;
}

.serviceNote, .serviceNote-footer {
  font-size: 0.9em;
  color: #707070;
}

.serviceNote-footer {
  position: absolute;
  bottom: 30px;
  right: 30px;
}
