/* NEWS 一覧・詳細（GFS WordPress 連携） */

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-card {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0 40px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.news-card:hover {
  background: color-mix(in srgb, var(--white) 62%, transparent);
}

.news-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-pale);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.04);
}

.news-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--blue-pale) 84%, transparent), color-mix(in srgb, var(--beige) 74%, transparent));
}

.news-thumb-bar {
  width: 42px;
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 68%, var(--yellow) 68% 100%);
}

.news-body {
  min-width: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-meta time {
  color: var(--blue);
  font-size: var(--fs-ui-c);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-meta span {
  padding: 4px 12px 5px;
  border-radius: var(--radius-btn);
  color: var(--blue-deep);
  background: var(--blue-pale);
  font-size: var(--fs-ui-d);
  font-weight: 700;
}

.news-card h2 {
  margin: 14px 0 0;
  font-size: var(--fs-h4-c);
  line-height: 1.6;
  letter-spacing: -0.03em;
}

.news-excerpt {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: var(--fs-ui);
}

.news-more {
  margin-left: 10px;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.news-more i {
  margin-left: 8px;
  font-style: normal;
}

.news-card:hover .news-more {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-notice {
  margin: 0;
  padding: 46px 0;
  color: var(--muted);
  text-align: center;
}

/* ---------------- 詳細ページ ---------------- */

.breadcrumb {
  max-width: 860px;
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--fs-ui-c);
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb span[aria-current] {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-detail {
  max-width: 860px;
  margin: 0 auto;
}

.news-detail-head {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.news-detail-head h1 {
  margin: 18px 0 0;
  font-size: var(--fs-h3-c);
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.news-hero-image {
  margin: 40px 0 0;
}

.news-hero-image img {
  width: 100%;
  height: auto;
}

.news-content {
  margin-top: 40px;
  font-size: var(--fs-body-e);
  line-height: 2;
}

.news-content p {
  margin: 0 0 26px;
}

.news-content h2,
.news-content h3,
.news-content h4 {
  margin: 44px 0 18px;
  line-height: 1.6;
  letter-spacing: -0.03em;
}

.news-content h2 {
  padding-left: 18px;
  font-size: var(--fs-h4-c);
  border-left: 8px solid var(--blue);
}

.news-content h3 {
  font-size: var(--fs-h4-d);
}

.news-content ul,
.news-content ol {
  margin: 0 0 26px;
  padding-left: 1.4em;
}

.news-content li {
  margin-bottom: 8px;
}

.news-content img {
  width: 100%;
  height: auto;
  margin: 10px 0 26px;
}

.news-content figure {
  margin: 0 0 26px;
}

.news-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--fs-ui-c);
}

.news-content a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-content blockquote {
  margin: 0 0 26px;
  padding: 20px 26px;
  color: var(--muted);
  background: color-mix(in srgb, var(--white) 70%, transparent);
  border-left: 6px solid var(--line);
}

.news-content table {
  width: 100%;
  margin: 0 0 26px;
  border-collapse: collapse;
  font-size: var(--fs-ui);
}

.news-content th,
.news-content td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.news-content th {
  color: var(--blue-deep);
  background: var(--blue-pale);
}

.news-credit {
  margin: 40px 0 0;
  padding: 18px 22px;
  color: var(--muted);
  background: color-mix(in srgb, var(--white) 70%, transparent);
  border-left: 6px solid var(--yellow);
  font-size: var(--fs-ui-c);
}

.news-credit a {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

.news-back {
  margin-top: 54px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .news-card {
    grid-template-columns: 210px 1fr;
    gap: 0 30px;
  }
}

@media (max-width: 768px) {
  .news-card {
    padding: 26px 0;
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

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

  .news-card h2 {
    margin-top: 12px;
    font-size: var(--fs-sp-h4-c);
  }

  .news-excerpt {
    font-size: var(--fs-sp-ui-b);
  }

  .news-more {
    margin-left: 0;
    display: block;
    margin-top: 8px;
  }

  .news-detail-head h1 {
    font-size: var(--fs-sp-h4-d);
  }

  .news-hero-image,
  .news-content {
    margin-top: 30px;
  }

  .news-content h2 {
    padding-left: 14px;
    border-left-width: 6px;
  }
}
