@charset "utf-8";

.p-detail {
  padding: 130px 0 150px;

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

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

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

  .c-category {
    border: 1px solid #dde3e8;
  }
}

.p-detail__title {
  margin-top: 32px;
  padding: 28px 0 28px 30px;
  color: #00132b;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
  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-blue);
}

.p-detail__content {
  border-top: 1px solid #d0d0d0;
  padding-top: 45px;
  color: #333333;
  line-height: 1.9;
  letter-spacing: 0;

  h2 {
    font-size: 20px;
    font-weight: 500;
    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-blue);

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

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

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

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

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

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

  a {
    width: 183px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin: auto;
    border: 1px solid var(--color-blue);
    background: var(--color-blue);
    color: var(--color-white);
    transition: all 0.3s ease-out;
  }

  a:hover {
    background: var(--color-white);
    color: var(--color-blue);
  }
}
