/* ============================================================
   お知らせ一覧・詳細ページ
   ============================================================ */

#body_wrap.blog #content.l-content,
#body_wrap.single-post #content.l-content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#body_wrap.blog .l-sidebar,
#body_wrap.blog .c-sidebar,
#body_wrap.blog #breadcrumb,
#body_wrap.blog #top_title_area,
#body_wrap.blog .p-mainVisual,
#body_wrap.blog #post_slider,
#body_wrap.blog #pickup_banner,
#body_wrap.blog .p-pageTitle,
#body_wrap.single-post .l-sidebar,
#body_wrap.single-post .c-sidebar,
#body_wrap.single-post #breadcrumb,
#body_wrap.single-post #top_title_area,
#body_wrap.single-post .p-mainVisual,
#body_wrap.single-post #post_slider,
#body_wrap.single-post #pickup_banner,
#body_wrap.single-post .p-pageTitle {
  display: none !important;
}

.tz-news-archive,
.tz-news-single {
  --news-red: var(--tz-red, #c01818);
  --news-red-bright: var(--tz-red-bright, #ef2b2b);
  --news-paper: #f1efeb;
  --news-ink: #211f1c;
  --news-muted: #625e58;
  --news-line: rgba(255, 255, 255, 0.13);
  background: #080808;
}

.tz-subpage-hero--news-single .tz-subpage-hero__title span {
  font-size: clamp(2.65rem, 4.8vw, 5.4rem);
}

.tz-news-single__hero-inner {
  grid-template-columns: minmax(0, 1060px);
  justify-content: start;
}

.tz-news-single__hero-inner .tz-subpage-hero__copy {
  max-width: 1060px;
}

/* 一覧 */
.tz-news-archive__content {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 5rem) clamp(6rem, 12vw, 10rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    #080808;
  background-size: 72px 72px;
}

.tz-news-archive__inner {
  width: min(100%, 1360px);
  margin: 0 auto;
}

.tz-news-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.tz-news-section-head__label {
  margin: 0 0 1rem;
  color: var(--news-red-bright);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.tz-news-section-head h2 {
  margin: 0;
  color: #f2eee8;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.tz-news-section-head > p {
  margin: 0;
  color: rgba(242, 238, 232, 0.68);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 2;
}

.tz-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.tz-news-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--news-line);
  background:
    linear-gradient(135deg, rgba(192, 24, 24, 0.08), transparent 34%),
    rgba(14, 14, 14, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.tz-news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(12rem, 44%);
  height: 2px;
  background: linear-gradient(90deg, var(--news-red-bright), transparent);
  pointer-events: none;
}

.tz-news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.tz-news-card__body {
  display: flex;
  flex-direction: column;
  min-height: clamp(19rem, 25vw, 23rem);
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.tz-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.tz-news-card__date {
  color: rgba(242, 238, 232, 0.52);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.tz-news-card__cat {
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(239, 43, 43, 0.38);
  color: var(--news-red-bright);
  background: rgba(192, 24, 24, 0.08);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tz-news-card__title {
  margin: 0 0 1rem;
  color: #f2eee8;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

.tz-news-card__excerpt {
  margin: 0 0 1.5rem;
  color: rgba(242, 238, 232, 0.64);
  font-size: 0.9rem;
  line-height: 1.9;
}

.tz-news-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(242, 238, 232, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
}

.tz-news-card__more::after {
  content: "\2192";
  color: var(--news-red-bright);
  font-family: Arial, sans-serif;
  transition: transform 0.22s ease;
}

.tz-news-empty {
  padding: clamp(3rem, 8vw, 6rem);
  border: 1px solid var(--news-line);
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.tz-news-empty span {
  display: block;
  margin-bottom: 1rem;
  color: var(--news-red-bright);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tz-news-empty p {
  margin: 0;
  color: rgba(242, 238, 232, 0.68);
}

/* ページネーション */
.tz-pagination {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.tz-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.tz-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--news-line);
  color: rgba(242, 238, 232, 0.82) !important;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
}

.tz-pagination .page-numbers.current {
  border-color: var(--news-red);
  color: #fff !important;
  background: var(--news-red);
}

.tz-pagination .prev::before {
  content: "\2190";
  margin-right: 0.45rem;
}

.tz-pagination .next::after {
  content: "\2192";
  margin-left: 0.45rem;
}

/* 詳細ヒーロー */
.tz-news-single__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.tz-news-single__hero-meta time {
  color: rgba(242, 238, 232, 0.58);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

.tz-news-single__hero-meta span {
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(239, 43, 43, 0.42);
  color: var(--news-red-bright);
  background: rgba(192, 24, 24, 0.08);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.64rem;
  font-weight: 700;
}

/* 詳細本文 */
.tz-news-single__body {
  padding: clamp(4.5rem, 9vw, 8rem) 1.5rem clamp(5rem, 10vw, 8rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    #090909;
  background-size: 72px 72px;
}

.tz-news-single__body-inner {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.tz-news-single__content {
  padding: clamp(2rem, 6vw, 5rem);
  overflow-wrap: anywhere;
  color: var(--news-muted);
  background:
    linear-gradient(90deg, rgba(192, 24, 24, 0.04), transparent 18%),
    var(--news-paper);
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.42);
}

.tz-news-single__content > *:first-child {
  margin-top: 0;
}

.tz-news-single__content > *:last-child {
  margin-bottom: 0;
}

.tz-news-single__content p,
.tz-news-single__content li {
  color: var(--news-muted);
  font-size: clamp(0.96rem, 1.15vw, 1.04rem);
  line-height: 2.05;
}

.tz-news-single__content p {
  margin: 0 0 1.4em;
}

.tz-news-single__content h2 {
  margin: 2.8em 0 1em;
  padding: 0 0 0.75em;
  border-bottom: 1px solid rgba(33, 31, 28, 0.16);
  color: var(--news-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.tz-news-single__content h2::before {
  display: none;
}

.tz-news-single__content h3 {
  margin: 2.2em 0 0.9em;
  padding: 0.7em 0.9em;
  border: 0;
  border-left: 3px solid var(--news-red);
  color: var(--news-ink);
  background: rgba(192, 24, 24, 0.055);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.tz-news-single__content h4 {
  margin: 2em 0 0.8em;
  color: var(--news-ink);
}

.tz-news-single__content a {
  color: #8e111b !important;
  text-decoration-color: rgba(142, 17, 27, 0.45);
}

.tz-news-single__content ul,
.tz-news-single__content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.tz-news-single__content li {
  margin-bottom: 0.55rem;
}

.tz-news-single__content blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--news-red);
  color: #57524d;
  background: rgba(192, 24, 24, 0.05);
}

.tz-news-single__content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tz-news-single__content figure {
  max-width: 100%;
  margin: 2rem 0;
}

.tz-news-single__content figcaption {
  margin-top: 0.65rem;
  color: #77716a;
  font-size: 0.78rem;
  text-align: center;
}

.tz-news-single__content .wp-block-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.tz-news-single__content table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #faf9f7;
}

.tz-news-single__content th,
.tz-news-single__content td {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(33, 31, 28, 0.14);
  color: #4e4944 !important;
  line-height: 1.7;
}

.tz-news-single__content th {
  color: #fff !important;
  background: #7f151c !important;
}

.tz-news-single__content .wp-block-button__link {
  color: #fff !important;
}

.tz-news-single__page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.tz-news-single__page-links a,
.tz-news-single__page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  min-height: 2.7rem;
  border: 1px solid rgba(33, 31, 28, 0.16);
}

/* 前後記事・一覧戻り */
.tz-news-single__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  padding: 1px;
  background: var(--news-line);
}

.tz-news-single__nav-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 10rem;
  padding: 1.5rem;
  color: rgba(242, 238, 232, 0.88) !important;
  background: #0c0c0c;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.tz-news-single__nav-link:only-child {
  grid-column: 1 / -1;
}

.tz-news-single__nav-link span {
  color: var(--news-red-bright);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tz-news-single__nav-link strong {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.tz-news-single__nav-link--prev strong::before {
  content: "\2190";
  color: var(--news-red-bright);
}

.tz-news-single__nav-link--next {
  text-align: right;
}

.tz-news-single__nav-link--next strong {
  justify-content: flex-end;
}

.tz-news-single__nav-link--next strong::after {
  content: "\2192";
  color: var(--news-red-bright);
}

.tz-news-single__back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 21rem);
  min-height: 3.6rem;
  margin: 2rem auto 0;
  padding: 0.85rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(242, 238, 232, 0.9) !important;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
}

.tz-news-single__back::before {
  content: "\2190";
  color: var(--news-red-bright);
}

/* 関連導線 */
.tz-news-single__related {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid rgba(239, 43, 43, 0.32);
  background:
    radial-gradient(circle at 16% 45%, rgba(192, 24, 24, 0.18), transparent 34%),
    linear-gradient(115deg, #140506, #080808 58%, #050505);
}

.tz-news-single__related-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  width: min(100%, 1360px);
  margin: 0 auto;
}

.tz-news-single__related p {
  margin: 0 0 1rem;
  color: var(--news-red-bright);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tz-news-single__related h2 {
  margin: 0;
  color: #f2eee8;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.tz-news-single__related-links {
  display: grid;
  gap: 1px;
  padding: 1px;
  background: var(--news-line);
}

.tz-news-single__related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.3rem;
  padding: 1rem 1.2rem;
  color: rgba(242, 238, 232, 0.88) !important;
  background: #0c0c0c;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
}

.tz-news-single__related-links a::after {
  content: "\2192";
  color: var(--news-red-bright);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .tz-news-card:hover {
    border-color: rgba(239, 43, 43, 0.42);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    transform: translateY(-3px);
  }

  .tz-news-card:hover .tz-news-card__more::after,
  .tz-news-single__related-links a:hover::after {
    transform: translateX(0.22rem);
  }

  .tz-pagination a.page-numbers:hover,
  .tz-news-single__nav-link:hover,
  .tz-news-single__related-links a:hover {
    color: #fff !important;
    background: rgba(192, 24, 24, 0.13);
  }

  .tz-news-single__back:hover {
    border-color: rgba(239, 43, 43, 0.55);
    color: #fff !important;
    background: rgba(192, 24, 24, 0.1);
  }
}

@media (max-width: 767px) {
  .tz-subpage-hero--news-single .tz-subpage-hero__title span {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .tz-news-archive__content {
    padding: 4.5rem 1.25rem 7rem;
    background-size: 44px 44px;
  }

  .tz-news-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .tz-news-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .tz-news-card__body {
    min-height: 17rem;
  }

  .tz-pagination .page-numbers {
    min-width: 2.9rem;
    min-height: 2.9rem;
  }

  .tz-news-single__body {
    padding: 3.5rem 1.25rem 6rem;
    background-size: 44px 44px;
  }

  .tz-news-single__content {
    padding: 1.5rem;
  }

  .tz-news-single__content h2 {
    font-size: 1.35rem;
  }

  .tz-news-single__content table {
    min-width: 480px;
  }

  .tz-news-single__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .tz-news-single__nav-link {
    min-height: 8.5rem;
  }

  .tz-news-single__nav-link--next {
    text-align: left;
  }

  .tz-news-single__nav-link--next strong {
    justify-content: flex-start;
  }

  .tz-news-single__related {
    padding: 5rem 1.25rem 7rem;
  }

  .tz-news-single__related-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tz-news-card,
  .tz-news-card__more::after,
  .tz-news-single__nav-link,
  .tz-news-single__related-links a::after {
    transition: none;
  }
}
