.p-detail {
  overflow: hidden;
}

.p-detail a {
  margin-bottom: 16px;
  margin-bottom: 1rem;
}

.p-detail span {
  font-size: 0.7em;
  vertical-align: super;
}

.p-detail li {
  padding-left: 15px;
  position: relative;
}

.p-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #000;
}

.p-detail__inner {
  max-width: 1074px;
  padding: 0 25px;
  margin: 0 auto;
}

.p-detail__top-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  margin-bottom: 40px;
  border-bottom: 2px solid #C7C7C7;
}

.p-detail__top-text span {
  color: #FFD800;
}

.p-detail__summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 25px;
}

.p-detail__info {
  gap: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.p-detail__sns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}

.p-detail__day {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
  color: #737373;
}

.p-detail__box-category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0 5px;
}

.p-detail__category-img {
  width: 16px;
}

.p-detail__category-text {
  font-size: 14px;
  color: #5C9017;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

.p-detail__category-text--green {
  color: #5C9017;
}

.p-detail__category-text--orange {
  color: #F99B00;
}

.p-detail__category-text--blue {
  color: #009BBC;
}

.p-detail__sns-item {
  width: 32px;
}

.p-detail__h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
}

.p-detail__h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 30px 0 25px;
}

.p-detail__h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 20px;
}

.p-detail__h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.p-detail__top-img {
  max-width: 720px;
  margin: 0 auto 75px;
  display: block;
  border-radius: 32px;
  width: 100%;
}

.p-detail-other {
  background-color: #F3F1DC;
  margin: 100px calc(50% - 50vw) 0;
  width: 100vw;
}

.p-detail-other__inner {
  max-width: 1074px;
  padding: 45px 25px 72px;
  margin: 0 auto;
}

.p-detail-other__inner .p-detail__h3 {
  text-align: center;
  margin-bottom: 30px;
}

.p-detail-other__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0 3%;
}

.p-detail-other__item {
  width: 32%;
}

.p-detail-other__img {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.p-detail-other__img::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.p-detail-other__img img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 32px;
}

.p-detail-other__day {
  font-size: 14px;
  color: #737373;
}

.p-detail-other__title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
}


.p-detail-single img{
 width: 100%;
}

@media screen and (max-width: 787px) {
  .p-detail-other {
    margin: 65px calc(50% - 50vw) 0;
  }
  .p-detail__inner {
    max-width: 585px;
    padding: 0 20px;
  }
  .p-detail-other__inner {
    max-width: 585px;
    padding: 45px 20px 55px;
  }
  .p-detail-other__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0 16px;
    width: 100%;
  }
  .p-detail__top-img {
    margin-bottom: 40px;
  }
  .p-detail__h1 {
    font-size: 24px;
  }
  .p-detail__h2 {
    font-size: 21px;
  }
  .p-detail__h3 {
    font-size: 20px;
  }
  .p-detail__h4 {
    font-size: 18px;
  }
  .p-detail-other__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 24px 0;
  }
  .p-detail-other__day {
    font-size: 12px;
  }
  .p-detail-other__title {
    font-size: 16px;
  }
  .p-detail-other__img {
    width: 50%;
  }
  .p-detail-other__img::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
  .p-detail-other__img img {
    height: auto;
  }
  .p-detail-other__item-box {
    width: 45%;
  }
}
