@charset "UTF-8";

/* detail.css（お知らせ詳細） */
.p-detail {
  background-color: #ffffff;
}

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

/*----------------------------------
  日付・カテゴリ
-----------------------------------*/
.c-detail__meta {
  display: flex;
  align-items: center;
  column-gap: 0.6875rem;
}

.c-detail__date {
  font-family: "M PLUS 1", sans-serif;
  color: #43423f;
  font-size: max(0.75rem, 9.6px);
  font-weight: 390;
  line-height: 1.3333333333;
}

@media (min-width: 0px) {
  .c-detail__date {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .c-detail__date {
    font-size: max(0.75rem, 10px);
    font-weight: 390;
    line-height: 1.3333333333;
  }
}

.c-detail__tag {
  padding: 0.25rem 0.3125rem;
  border-radius: 0.3125rem;
  background-color: #645a63;
  color: #ffffff;
  font-size: max(0.75rem, 9.6px);
  font-weight: 460;
  line-height: 1.1666666667;
  letter-spacing: 0.03em;
}

@media (min-width: 0px) {
  .c-detail__tag {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .c-detail__tag {
    font-size: max(0.75rem, 10px);
    font-weight: 460;
    line-height: 1.1666666667;
    letter-spacing: 0.03em;
  }
}

.p-detail .webgene-blog {
  /*----------------------------------
    タイトル（左に赤い縦線・下に罫線）
  -----------------------------------*/
  /*----------------------------------
    本文（CMSエディタで入力する部分）
  -----------------------------------*/
}

.p-detail .webgene-blog .p-detail__title {
  display: flex;
  align-items: center;
  column-gap: 0.875rem;
  margin-block-start: 1.25rem;
  padding-block-end: 1rem;
  border-bottom: 1.5px solid #d0d0d0;
  color: #3c3c3c;
  font-size: max(1.1875rem, 15.2px);
  font-weight: 460;
  line-height: 1.5789473684;
}

@media (min-width: 0px) {
  .p-detail .webgene-blog .p-detail__title {
    font-size: 1.1875rem;
  }
}

@media (min-width: 768px) {
  .p-detail .webgene-blog .p-detail__title {
    column-gap: 1.3125rem;
    margin-block-start: 1.75rem;
    padding-block-end: 1.25rem;
    font-size: max(1.375rem, 10px);
    font-weight: 460;
    line-height: 1.5454545455;
  }
}

.p-detail .webgene-blog .p-detail__title::before {
  content: "";
  flex-shrink: 0;
  align-self: stretch;
  width: 0.375rem;
  min-height: 1.75rem;
  border-radius: 0.15rem;
  background-color: #ef2c2a;
  pointer-events: none;
}

@media (min-width: 768px) {
  .p-detail .webgene-blog .p-detail__title::before {
    width: 0.5rem;
    min-height: 2.125rem;
  }
}

.p-detail .webgene-blog .p-detail__img {
  width: min(100%, 37.125rem);
  margin-block: 2rem 0;
  margin-inline: auto;
  border-radius: 0.3125rem;
  overflow: hidden;
}

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

.p-detail .webgene-blog .p-detail__img img {
  display: block;
  width: 100%;
  height: auto;
}

.p-detail .webgene-blog .p-detail__img:not(:has(img)) {
  display: none;
}

.p-detail .webgene-blog .p-detail__info {
  margin-block-start: 1.75rem;
  color: #3c3c3c;
}

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

.p-detail .webgene-blog .p-detail__info p {
  color: #3c3c3c;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 1.8571428571;
}

@media (min-width: 0px) {
  .p-detail .webgene-blog .p-detail__info p {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-detail .webgene-blog .p-detail__info p {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 1.8571428571;
  }
}

.p-detail .webgene-blog .p-detail__info p+p {
  margin-block-start: 1.625rem;
}

@media (min-width: 768px) {
  .p-detail .webgene-blog .p-detail__info p+p {
    margin-block-start: 3.4375rem;
  }
}

.p-detail .webgene-blog .p-detail__info img {
  display: block;
  width: min(100%, 37.125rem);
  height: auto;
  margin-block: 2.5rem;
  margin-inline: auto;
  border-radius: 0.3125rem;
}

@media (min-width: 768px) {
  .p-detail .webgene-blog .p-detail__info img {
    margin-block: 5rem;
  }
}

.p-detail .webgene-blog .p-detail__info h2 {
  display: flex;
  align-items: center;
  column-gap: 0.875rem;
  margin-block: 3rem 0.75rem;
  color: #3c3c3c;
  font-size: max(1.125rem, 14.4px);
  font-weight: 460;
  line-height: 1.5555555556;
}

@media (min-width: 0px) {
  .p-detail .webgene-blog .p-detail__info h2 {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .p-detail .webgene-blog .p-detail__info h2 {
    column-gap: 1.125rem;
    margin-block: 5rem 1rem;
    font-size: max(1.25rem, 10px);
    font-weight: 460;
    line-height: 1.45;
  }
}

.p-detail .webgene-blog .p-detail__info h2::before {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  background-color: #ef2c2a;
  pointer-events: none;
}

@media (min-width: 768px) {
  .p-detail .webgene-blog .p-detail__info h2::before {
    width: 1.125rem;
    height: 1.125rem;
  }
}

.p-detail .webgene-blog .p-detail__info h2:first-child {
  margin-block-start: 0;
}

.p-detail .webgene-blog .p-detail__info a {
  color: #d00168;
  text-decoration: underline;
}

/*----------------------------------
  一覧に戻る
-----------------------------------*/
.p-detail__btn {
  margin-block-start: 3.5rem;
  text-align: center;
}

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

.p-detail__btn a {
  display: inline-grid;
  place-items: center;
  min-width: 11.4375rem;
  min-height: 2.9375rem;
  padding-inline: 2rem;
  border: 1px solid #d00168;
  border-radius: 100vmax;
  background-color: #d00168;
  transition: background-color 0.3s ease;
}

@media (any-hover: hover) {
  .p-detail__btn a:hover {
    background-color: #ffffff;
  }

  .p-detail__btn a:hover p {
    color: #d00168;
  }
}

.p-detail__btn a p {
  color: #ffffff;
  font-size: max(0.9375rem, 12px);
  font-weight: 500;
  line-height: 1.4666666667;
  transition: color 0.3s ease;
}

@media (min-width: 0px) {
  .p-detail__btn a p {
    font-size: 0.9375rem;
  }
}

@media (min-width: 768px) {
  .p-detail__btn a p {
    font-size: max(0.9375rem, 10px);
    font-weight: 500;
    line-height: 1.4666666667;
  }
}