.p-page p {
  line-height: 1.6;
}
.p-page img {
  max-width: 1024px;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-page li {
  padding-left: 15px;
  position: relative;
}
.p-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #000;
}
.p-page span {
  font-size: 0.7em;
  vertical-align: super;
}
.p-page .subscript {
  font-size: 0.7em;
  vertical-align: baseline;
}

.p-page__detail {
  font-size: 14px;
  margin-top: 10px;
}

.p-page__img {
  width: 100%;
}

.p-page__inner {
  max-width: 1072px;
  margin: 0 auto 120px;
  padding: 0px 25px;
  position: relative;
}

.p-page-h1 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.6;
  position: relative;
  margin-bottom: 40px;
}

.p-page-h2-box {
  border-bottom: 4px solid #c7c7c7;
  margin: 40px 0 35px;
}

.p-page-h2 {
  font-size: 26px;
  line-height: 1.6;
  font-weight: 600;
  position: relative;
  padding-bottom: 7px;
  display: inline-block;
}
.p-page-h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3.8px;
  left: 0;
  width: 110%;
  height: 4px;
  background-color: #FE0000;
  border-radius: 4px;
}

.p-page-h2--green::after {
  background-color: #81B700;
}

.p-page-h3 {
  font-size: 23px;
  line-height: 1.6;
  font-weight: 600;
  margin: 35px 0 30px;
}

.p-page-h4 {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  margin: 30px 0 20px;
  position: relative;
  padding-left: 12px;
}
.p-page-h4::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 3px;
  height: 55%;
  border-radius: 4px;
  background-color: #FE0000;
}

.p-page-h5 {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  margin: 30px 0 13px;
  position: relative;
  padding-left: 20px;
}
.p-page-h5::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #737373;
  left: 0;
  top: 8px;
  border-radius: 50%;
}

.p-page__box {
  background-color: #f3f1dc;
  padding: 40px 40px;
  margin: 30px 0;
}
.p-page__box .p-page-h3 {
  margin-top: 0;
}
.p-page__box .p-page-h5 {
  padding-left: 0;
  margin-top: 0;
}
.p-page__box .p-page-h5::before {
  display: none;
}

.p-page__link {
  display: flex;
  align-items: center;
  gap: 0 10px;
  margin: 16px 0;
  transition: 0.4s ease opacity;
}
.p-page__link:hover {
  opacity: 0.7;
  transition: 0.4s ease opacity;
}
.p-page__link p {
  margin-bottom: 0;
}

.p-page__link-img {
  width: 16px !important;
  height: 12px !important;
}

.p-page__flex {
  display: flex;
  gap: 0 32px;
  margin: 30px 0 32px;
  justify-content: space-between;
}

.p-page__flex--three {
  width: 35.1%;
}
.p-page__flex--three img {
  width: 100%;
}

.p-page__flex--half-item {
  width: 47.5%;
}
.p-page__flex--half-item img {
  max-width: 495px;
  width: 100%;
}

.p-page__flex--short img {
  width: 15.7%;
}

.p-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
  margin: 30px 0 0px;
}
.p-page__grid img {
  max-width: 320px;
  width: 100%;
}

@media screen and (max-width: 787px) {
  .p-page__detail {
    font-size: 12px;
    margin-top: 6px;
  }
  .p-page__inner {
    margin: 0 auto 70px;
    padding: 0px 20px;
  }
  .p-page-h1 {
    font-size: 26px;
    margin-bottom: 40px;
  }
  .p-page-h2-box {
    margin: 40px 0 30px;
    border-bottom: 3px solid #c7c7c7;
  }
  .p-page-h2 {
    font-size: 22px;
    padding-bottom: 7px;
  }
  .p-page-h2::after {
    bottom: -3px;
    height: 3px;
  }
  .p-page-h3 {
    font-size: 20px;
    margin: 30px 0 20px;
  }
  .p-page-h4 {
    font-size: 18px;
    margin: 20px 0 15px;
  }
  .p-page-h5 {
    font-size: 16px;
    margin: 20px 0 15px;
  }
  .p-page__box {
    padding: 30px 20px;
  }
  .p-page__flex {
    flex-direction: column-reverse;
    gap: 20px;
    margin-bottom: 32px;
  }
  .p-page__flex-column {
    flex-direction: column;
  }
  .p-page__flex--half-item {
    width: 100%;
  }
  .p-page__flex--short img {
    width: 30%;
    margin: 0 auto;
    max-width: 150px;
  }
  .p-page__grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    margin: 25px 0 0;
  }
  .p-page__grid img {
    margin: 0 auto;
    display: block;
  }
  .p-page__flex--three {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}