@charset "utf-8";

.p-detail {
  margin-top: -56px;
  background: #fff;
  border-radius: 40px 40px 0 0;
  padding: 122px 0 150px;

  @media (width < 768px) {
    padding: 80px 0 120px;
  }

  .l-inner {
    max-width: 970px;
  }
}

.p-detail__header-flex {
  display: flex;
  align-items: center;
  gap: 5px;

  .c-date {
    border: none;
  }
}

.p-detail__title {
  margin-top: 40px;
  padding: 18px 0 18px 30px;
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  position: relative;

  @media (width < 768px) {
    margin-top: 0;
    font-size: 20px;
  }
}

.p-detail__title::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 8px;
  height: 34px;
  background: var(--color-l-green);
}

.p-detail__content {
  border-top: 1px solid #d0d0d0;
  padding-top: 45px;
  font-weight: 500;
  font-size: 14px;
  line-height: calc(26 / 14);

  h2 {
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    padding-left: 28px;
    position: relative;

    @media (width < 768px) {
      font-size: 18px;
    }
  }

  h2::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    left: 0;
    top: 2px;
    background: var(--color-l-green);

    @media (width < 768px) {
      top: 0;
    }
  }

  img {
    display: block;
    margin: 80px auto 0;
    width: 594px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;

    @media (width < 768px) {
      margin: 60px auto 0;
    }
  }
}

.p-detail__content > * + * {
  margin-top: 20px;
}

.p-detail__content > * + h2 {
  margin-top: 86px;
}

.p-detail__btn {
  margin: 78px auto 0;

  a {
    width: 183px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 15px;
    border-radius: 50px;
    margin: auto;
    background: var(--color-green);
    color: #fff;
    transition: all 0.3s ease;
  }

  a:hover {
    background: #ccede8;
    color: var(--color-green);
  }
}
