:root {
  --ink: #111111;
  --text: #4f4f4f;
  --muted: #727272;
  --line: #e1e1e1;
  --line-strong: #c9c9c9;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --orange: #f57e35;
  --max: 1200px;
  --gutter: 32px;
  --duration: 240ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.page-news {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-news a {
  color: inherit;
  text-decoration: none;
}

.page-news img {
  display: block;
  max-width: 100%;
}

.page-news h1,
.page-news h2,
.page-news h3,
.page-news p {
  margin-top: 0;
}

.nobr {
  display: inline;
  white-space: nowrap;
}

.news-container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.news-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.news-hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/images/news/news-hero-updates.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: newsHeroZoom 16s ease-out forwards;
}

@keyframes newsHeroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

.news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(7, 12, 22, 0.96) 0%, rgba(7, 12, 22, 0.86) 42%, rgba(7, 12, 22, 0.58) 72%, rgba(7, 12, 22, 0.82) 100%),
    linear-gradient(180deg, rgba(7, 12, 22, 0.18) 0%, rgba(7, 12, 22, 0.6) 100%);
}

.news-hero__inner {
  position: relative;
  padding-top: 140px;
  padding-bottom: 120px;
}

.news-hero__text {
  max-width: 760px;
}

.news-hero .news-eyebrow {
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.22em;
}

.news-hero h1 {
  margin: 0 0 26px;
  color: #ffffff;
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.news-hero p:not(.news-eyebrow) {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 2;
}

.news-list-section {
  position: relative;
  padding: 96px 0 110px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.news-list-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 56px;
  background: linear-gradient(180deg, rgba(7, 12, 22, 0.06) 0%, rgba(7, 12, 22, 0) 100%);
  pointer-events: none;
}

.news-list-intro {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.news-list-intro .news-eyebrow {
  margin-bottom: 8px;
}

.news-list-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

.news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  margin-bottom: 36px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.04);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.news-featured:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.08);
}

.news-featured > .news-thumb {
  min-height: 360px;
}

.news-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 40px 44px;
}

.news-featured h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.news-featured p,
.news-card p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.news-featured p {
  font-size: 14.5px;
  line-height: 1.95;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--line);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.news-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.06);
}

.news-thumb {
  position: relative;
  background-color: var(--soft);
  background-position: center;
  background-size: cover;
}

.news-card .news-thumb {
  aspect-ratio: 16 / 10;
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 22px;
}

.news-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0;
}

.news-card p {
  font-size: 13.5px;
  line-height: 1.85;
}

.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.news-card .news-meta > :not(.news-date),
.news-featured .news-meta > :not(.news-date),
.news-category,
.news-categories,
.news-tag,
.news-tags,
.news-card__category,
.news-card__tag,
.post-category,
.post-tags {
  display: none !important;
}

.news-date {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.news-card .news-more {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
}

.news-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--orange);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.news-card .news-arrow {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.news-featured:hover .news-arrow,
.news-card:hover .news-arrow {
  color: #ffffff;
  background: var(--orange);
  border-color: var(--orange);
  transform: translateX(2px);
}

@media (max-width: 1366px) {
  .news-list-section {
    padding: 84px 0 96px;
  }

  .news-hero__inner {
    padding-top: 128px;
    padding-bottom: 108px;
  }

  .news-featured__body {
    padding: 36px;
  }

  .news-featured > .news-thumb {
    min-height: 320px;
  }
}

@media (max-width: 1180px) {
  .news-hero__inner {
    padding-top: 116px;
    padding-bottom: 92px;
  }

  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-featured > .news-thumb {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 960px) {
  :root {
    --gutter: 24px;
  }

  .news-list-section {
    padding: 68px 0 80px;
  }

  .news-hero__inner {
    padding-top: 96px;
    padding-bottom: 80px;
  }

  .news-hero h1 {
    font-size: clamp(28px, 6vw, 42px);
  }

  .news-list-intro {
    margin-bottom: 32px;
    padding-bottom: 22px;
  }

  .news-featured__body {
    padding: 30px 28px;
  }

  .news-featured > .news-thumb {
    min-height: 220px;
  }

  .news-grid {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .news-list-section {
    padding: 52px 0 64px;
  }

  .news-hero__inner {
    padding-top: 80px;
    padding-bottom: 64px;
  }

  .news-hero h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  .news-hero p:not(.news-eyebrow) {
    font-size: 14px;
  }

  .news-featured__body {
    gap: 14px;
    padding: 24px 22px;
  }

  .news-featured h3 {
    font-size: 19px;
  }

  .news-featured > .news-thumb {
    min-height: 200px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card__body {
    padding: 22px 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-hero::before {
    animation: none;
    transform: scale(1);
  }

  .news-featured,
  .news-card,
  .news-arrow {
    transition: none;
  }
}
