@charset "utf-8";
.detail {
  padding-block: 80px 100px;
  background: #f5fafa;
}

@media screen and (min-width: 768pxx) {
  .detail {
    padding-block: 120px 150px;
  }
}

.detail__container {
  width: 100%;
  max-width: 1075px;
  margin-inline: auto;
  background: var(--color-white);
  border-radius: 10px;
  padding-block: 40px 60px;
  padding-inline: 8%;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

@media screen and (min-width: 768px) {
  .detail__container {
    padding-block: 91px 100px;
    padding-inline: 10.8%;
  }
}

.detail__title {
  margin-top: 60px;
  display: flex;
  align-items: center;
  font-size: 20px;
  gap: 10px;
  font-weight: 500;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #d0d0d0;
}

@media screen and (min-width: 768px) {
  .detail__title {
    gap: 21px;
    font-size: 22px;
  }
}

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

.detail__content img {
  display: block;
  margin-top: 69px;
  margin-inline: auto;
  height: auto;
  max-width: 595px !important;
  width: 100%;
  aspect-ratio: 595/595;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.detail__content h2,
.detail__content h3,
.detail__content h4,
.detail__content h5,
.detail__content h6 {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 11px;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1;
  font-weight: 500;
}

.detail__content h2::before,
.detail__content h3::before,
.detail__content h4::before,
.detail__content h5::before,
.detail__content h6::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #007989;
  border-radius: 3px;
  flex-shrink: 0;
}

.detail__content h2 {
  font-size: 20px;
}

.detail__content h3 {
  font-size: 19px;
}

.detail__content h4 {
  font-size: 18px;
}

.detail__content h5 {
  font-size: 17px;
}

.detail__content h6 {
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .detail__content h2 {
    font-size: 22px;
  }

  .detail__content h3 {
    font-size: 20px;
  }

  .detail__content h4 {
    font-size: 19px;
  }

  .detail__content h5 {
    font-size: 18px;
  }

  .detail__content h6 {
    font-size: 17px;
  }
}

.detail__content p {
  margin-top: 40px;
  font-size: 12px;
  font-weight: 400;
  line-height: calc(30 / 15);
}

@media screen and (min-width: 768px) {
  .detail__content p {
    font-size: 15px;
  }
}

.detail__button {
  margin-top: 80px;
  margin-inline: auto;
  text-align: center;
}

.detail__button-link {
  color: #027989;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: 21px;
  padding: 12px 70px;
  border-radius: 42px;
  background: #bfe4e6;
  display: inline-block;
  transition: color 0.3s ease, background 0.3s ease;
}

.detail__button-link:hover {
  background: #027989;
  color: #bfe4e6 !important;
  opacity: 1;
}
