@charset "UTF-8";

.p-detail {
  background-color: #1c1c1c;
  color: #ffffff;
  padding-block-end: 6.25rem;
}

@media (min-width: 768px) {
  .p-detail {
    padding-block-end: 8.75rem;
  }
}

.p-detail__inner {
  width: 100%;
  max-width: 610px;
  padding: 0 1.5625rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .p-detail__inner {
    max-width: 65rem;
    padding: 0 7.0625rem;
  }
}

.webgene-blog .p-detail__title {
  display: flex;
  align-items: center;
  column-gap: 1.25rem;
  width: 100%;
  font-size: 1.375rem;
  line-height: 2.0625rem;
  font-weight: 600;
  padding-block-end: 1.25rem;
  border-bottom: 1px solid #f3f3f3;
  margin-block-start: 2.5rem;
}

.webgene-blog .p-detail__title::before {
  content: "";
  width: 0.5rem;
  height: 2.125rem;
  background-color: #0391db;
}

@media (min-width: 768px) {
  .webgene-blog .p-detail__title {
    margin-block-start: 3.75rem;
  }
}

.webgene-blog .p-detail__img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-block: 3.125rem;
  margin-inline: auto;
  border-radius: 0.3125rem;
}

@media (min-width: 768px) {
  .webgene-blog .p-detail__img {
    max-width: 36.9375rem;
    aspect-ratio: 591/350;
    height: auto;
  }
}

.webgene-blog .p-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

@media (min-width: 768px) {
  .webgene-blog .p-detail__img .webgene-item-main-image {
    margin-block: 4.375rem;
    max-width: 36.9375rem;
    aspect-ratio: 591/350;
    height: auto;
  }
}

.webgene-blog .p-detail__img .webgene-item-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.webgene-blog .p-detail__info>h2 {
  display: flex;
  align-items: center;
  column-gap: 0.625rem;
  font-size: 1.25rem;
  line-height: 1.875rem;
  font-weight: 500;
}

.webgene-blog .p-detail__info>h2::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  background-color: #0391db;
  border-radius: 0.1875rem;
}

.p-detail__info {
  margin-block-start: 1.875rem;
  line-height: 1.625rem;
}

.webgene-item p {
  font-size: 0.875rem;
}

.p-detail__btn {
  display: block;
  width: fit-content;
  margin-inline: auto;
  margin-block-start: 3.125rem;
  padding: 0.8125rem 3.4375rem;
  background: linear-gradient(to right, #0578c9, #69cbe1);
  border-radius: 100vmax;
  transition: opacity 0.3s ease;
}

.p-detail__btn p {
  color: #ffffff;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .p-detail__btn {
    margin-block-start: 5rem;
  }
}

@media (any-hover: hover) {
  .p-detail__btn:hover {
    opacity: 0.8;
  }
}