@charset "utf-8";

.detail__head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

@media screen and (min-width: 768px) {
  .detail__head {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

.detail__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: calc(20 / 1000 * 1em);
  line-height: 1.2;
  padding: 3px 5px;
  background: rgba(42, 42, 42, 0.8);
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .detail__tag {
    font-size: 11px;
  }
}

.detail__item-time {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: calc(20 / 1000 * 1em);
  color: rgba(42, 42, 42, 0.8);
}

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

.detail__title::before {
  content: "";
  background: var(--color-accent);
  width: 8px;
  height: 34px;
  flex-shrink: 0;
}

.detail__body {
  margin-top: 40px;
}

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

.detail__content {
  color: var(--detaile-color);
  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 p + p {
  margin-top: 30px;
}

.detail__content img {
  display: block;
  margin-top: 43px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  max-height: 350px;
}

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

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

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

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

.detail__content h2,
.detail__content h3,
.detail__content h4 {
  margin-top: clamp(40px, 4.32vw, 59px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail__content h2::before,
.detail__content h3::before,
.detail__content h4::before {
  content: "";
  background: var(--color-accent);
  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;
  }
}
