@charset "utf-8";

.p-detail {
  margin-top: 110px;
  margin-bottom: 160px;

  @media (width < 768px) {
    margin-top: 60px;
    margin-top: 80px;
  }

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

.p-detail__header {
}

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

.p-detail__title {
  margin-top: 36px;
  padding: 20px 0 20px 30px;
  color: #00132b;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  position: relative;

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

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

.p-detail__content {
  max-width: 920px;
  margin: auto;
  border-top: 1px solid #d0d0d0;
  padding-top: 45px;
  color: #00132b;

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

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

  p {
    letter-spacing: 0;
    font-weight: 400;
    line-height: 2.2;
  }

  img {
    display: block;
    margin: 78px auto 0;
    width: 594px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;

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

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

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

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

  a {
    width: 183px;
    height: 47px;
    background: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 1px solid transparent;
    margin: auto;
  }

  a:hover {
    opacity: 0.7;
  }
}
