/* news-detail */
/* ============================================ */

.news-detail {
  position: relative;
}

/* ヒーロー（news/index.php・privacyページと同じ.second-hero構成） */
.news-detail-hero {
  padding: 200px 0 64px;
  @media (width <= 896px) {
    padding: 120px 0 32px;
  }
}
/* パンくず・日付/カテゴリー・見出し */
.news-detail-head__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 16px;
  @media (width <= 896px) {
    margin-top: 8px;
    margin-bottom: 12px;
  }
}
.news-detail-head__date {
  font-family: var(--font_en);
  font-size: var(--fs_m); /* 16~14 */
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--font_c);
}
.news-detail-head__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: calc((8 / 12) * 1em) calc((12 / 12) * 1em);
  background: #fff;
  border: 1px solid var(--main_c);
  border-radius: 9999px;
  color: var(--main_c);
  font-size: var(--fs_s); /* 14~12 */
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
}
.news-detail-head__new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc((8 / 12) * 1em) calc((14 / 12) * 1em);
  background: var(--cv_c);
  border-radius: 9999px;
  color: #fff;
  font-family: var(--font_en);
  font-size: var(--fs_s); /* 14~12 */
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
}
.news-detail-head__ttl {
  font-size: var(--fs_xl); /* 40~28 */
  font-weight: 700;
  line-height: 1.6;
  color: var(--font_c);
  text-shadow: 0 0 12px #fff, 0 0 12px #fff, 0 0 12px #fff, 0 0 12px #fff;
}


/* 本文エリア + サイドバー */
/* ============================================ */
.news-detail__row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  padding-top: 64px;
  @media (width <= 1025px) {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 16px;
  }
}
.news-detail__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  @media (width <= 896px) {
    gap: 24px;
  }
}


/* サイドバー */
/* ============================================ */
.news-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
  @media (width > 1025px) {
    align-self: start;
    position: sticky;
    top: 160px;
  }
  @media (width <= 896px) {
    gap: 24px;
  }
}

/* 新着情報ウィジェット */
.news-detail-aside__widget {
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px color-mix(in srgb, #000 8%, transparent);
  @media (width <= 896px) {
    padding: 20px 16px;
  }
}
.news-detail-aside__widget-ttl {
  font-size: var(--fs_ml); /* 24~20 */
  font-weight: 700;
  color: var(--font_c);
  margin-bottom: 16px;
  @media (width <= 896px) {
    margin-bottom: 12px;
  }
}
.news-detail-aside__list {
  margin-top: 8px;
}
.news-detail-aside__item {
  border-top: 1px dashed var(--line_c);
  &:last-child {
    border-bottom: 1px dashed var(--line_c);
  }
}
.news-detail-aside__link {
  display: block;
  padding: 16px 0;
  color: var(--font_c);
  @media (width <= 896px) {
    padding: 12px 0;
  }
  &:hover {
    @media (hover: hover) {
      opacity: 1;
      .news-detail-aside__item-txt {
        color: var(--main_c);
        text-decoration: underline;
        text-underline-offset: .2em;
      }
    }
  }
}
.news-detail-aside__item-date {
  display: inline-block;
  font-family: var(--font_en);
  font-size: var(--fs_s); /* 14~12 */
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--main_c);
}
.news-detail-aside__item-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: calc((4 / 11) * 1em) calc((10 / 11) * 1em);
  background: var(--bg_c);
  border: 1px solid var(--main_c);
  border-radius: 9999px;
  color: var(--main_c);
  font-size: calc((11 / 16) * 1rem); /* 11px */
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
}
.news-detail-aside__item-txt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 6px;
  font-size: var(--fs_s); /* 14~12 */
  line-height: 1.6;
  transition: color .3s ease-out;
}

/* お問い合わせバナー */
.news-detail-aside__cta {
  padding: 32px 24px;
  background: var(--main_c);
  border-radius: 16px;
  text-align: center;
  @media (width <= 896px) {
    padding: 24px 16px;
  }
}
.news-detail-aside__cta-txt {
  margin-bottom: 20px;
  color: #fff;
  font-size: var(--fs_m); /* 16~14 */
  line-height: 1.8;
  @media (width <= 896px) {
    margin-bottom: 16px;
  }
}
.news-detail-aside__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: calc((16 / 16) * 1em) calc((24 / 16) * 1em);
  background: #fff;
  color: var(--main_c);
  border-radius: 9999px;
  font-size: var(--fs_m); /* 16~14 */
  font-weight: 700;
}
.news-detail-aside__cta-btn-txt {
  flex: 1 0 0;
  text-align: center;
}
.news-detail-aside__cta-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--main_c);
  svg {
    width: 100%;
    height: 100%;
  }
}


/* 一覧に戻る */
/* ============================================ */
.news-detail-back {
  margin-top: 64px;
  text-align: center;
  @media (width <= 896px) {
    margin-top: 40px;
  }
}
