@charset "utf-8";

@media screen and (min-width: 768px) {
  .detail__container {
    padding: 90px 67px 110px;
  }
}

.detail__title {
  width: 100%;
  margin-top: 57px;
  display: flex;
  align-items: center;
  gap: 21px;
  color: #483c42;
  font-weight: 500;
  font-size: clamp(18px, 1.62vw, 22px);
  letter-spacing: calc(60 / 1000 * 1em);
  padding-bottom: 20px;
  border-bottom: 1px solid #d0d0d0;
}

.detail__title::before {
  content: "";
  background: #d9301f;
  width: 8px;
  height: 34px;
  flex-shrink: 0;
}

.detail__body {
  margin-top: 49px;
}

.detail__content {
  color: #483c42;
  font-size: clamp(12px, 1.03vw, 14px);
  line-height: calc(32 / 14);
}

.detail__content p {
  font-size: clamp(12px, 1.03vw, 14px);
  line-height: calc(32 / 14);
}

.detail__content img {
  display: block;
  margin-top: 43px;
  margin-inline: auto;
  aspect-ratio: 594/350;
  object-fit: contain;
  object-position: center;
  max-height: 350px;
  border-radius: 5px;
}

@media screen and (min-width: 768px) {
  .detail__content img {
    margin-top: 83px;
  }
}

.detail__content h2 {
  margin-bottom: 40px;
  font-weight: 500;
  font-size: clamp(18px, 1.62vw, 22px);
  letter-spacing: calc(60 / 1000 * 1em);
}

.detail__content h3 {
  margin-bottom: 40px;
  font-weight: 500;
  font-size: clamp(16px, 1.47vw, 20px);
  letter-spacing: calc(60 / 1000 * 1em);
}

.detail__content h4 {
  margin-bottom: 30px;
  font-weight: 500;
  font-size: clamp(14px, 1.32vw, 18px);
  letter-spacing: calc(60 / 1000 * 1em);
}

.detail__content h2,
.detail__content h3,
.detail__content h4 {
  margin-top: 59px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail__content h2::before,
.detail__content h3::before,
.detail__content h4::before {
  content: "";
  background: #d9301f;
  flex-shrink: 0;
  border-radius: 3px;
}

.detail__content h2::before {
  width: 18px;
  height: 18px;
}

.detail__content h3::before {
  width: 16px;
  height: 16px;
}

.detail__content h4::before {
  width: 14px;
  height: 14px;
}

.detail__button {
  margin-top: 49px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .detail__button {
    margin-top: 79px;
  }
}

.detail__button-link {
  line-height: 1.2;
  display: inline-block;
  color: var(--color-white);
  background: #d9301f;
  border: 1px solid #d9301f;
  border-radius: 27px;
  padding: 12px 50px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: calc(50 / 1000 * 1em);
  transition: all 0.3s ease;
}

.detail__button-link:hover {
  opacity: 1;
  background: var(--color-white);
  color: #d9301f !important;
}
