/* ============ NEWS FILTER ============ */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.news-filter-chip {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.news-filter-chip:hover {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.2);
}

.news-filter-chip.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ============ NEWS LAYOUT ============ */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- PICK UP card ---- */
.news-pickup {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

a.news-pickup:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.news-pickup-visual {
  position: relative;
  display: block;
  overflow: hidden;
}

.news-pickup-media {
  display: block;
  aspect-ratio: 16 / 8.5;
  border-radius: 0;
  overflow: hidden;
  background: #e8e8e8;
}

.news-pickup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-pickup-media.is-default-thumb {
  background: #fff;
  border: 1px solid var(--line);
  box-sizing: border-box;
}

.news-pickup-media.is-default-thumb img {
  object-fit: contain;
  object-position: center;
  padding: 8% 10%;
  box-sizing: border-box;
}

.news-pickup-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-pickup-label {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 18px 7px 14px;
  color: #ffffff;
  background: #000000;
  border-radius: 0 8px 0 0;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: drop-shadow(0 5px 8px rgba(69, 54, 0, 0.22));
}

.news-pickup-title {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.news-pickup-text {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}

.news-more {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.news-more::after {
  content: "›";
  margin-left: 6px;
}

.news-more:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ---- news meta (shared) ---- */
.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.news-date {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.news-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-deep);
  border: 1px solid var(--brand-deep);
  border-radius: 999px;
  padding: 3px 10px;
}

.news-cat.is-important {
  color: var(--clay);
  border-color: var(--clay);
}

.news-pickup-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  background: var(--brand-deep, #1d4f91);
  color: #fff;
}

/* ---- right column list ---- */
.news-list-area {
  min-width: 0;
}

.news-list-col {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: transform .2s ease;
}

a.news-item:hover {
  transform: translateX(6px);
}

.news-item-thumb {
  flex: 0 0 112px;
  width: 112px;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e8e8;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-item-thumb.is-default-thumb {
  background: #fff;
  border: 1px solid var(--line);
  box-sizing: border-box;
}

.news-item-thumb.is-default-thumb img {
  object-fit: contain;
  object-position: center;
  padding: 10% 8%;
  box-sizing: border-box;
}

.news-item-thumb.img-ph::after {
  font-size: 9px;
}

.news-item-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.news-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

a.news-item:hover .news-item-title {
  color: var(--green-deep);
}

@media (max-width: 520px) {
  .news-filter-chip {
    padding: 8px 14px;
  }

  .news-item {
    gap: 12px;
  }

  .news-item-thumb {
    flex-basis: 92px;
    width: 92px;
  }

  .news-item-title {
    font-size: 13px;
  }
}

.news-empty {
  display: none;
  padding: 40px 4px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---- pagination ---- */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
}

.news-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.news-page-button:hover,
.news-page-button.is-active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.news-page-button.is-active {
  pointer-events: none;
}

.news-page-button:disabled {
  opacity: .35;
  cursor: default;
}

/* ============ TAG ARCHIVE ============ */
.news-tag-archive {
  max-width: 920px;
  margin: 0 auto;
}

.news-archive-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.news-archive-pagination .navigation {
  margin-top: 28px;
}

.news-archive-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.news-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.news-archive-pagination .page-numbers:hover,
.news-archive-pagination .page-numbers.current {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.news-archive-pagination .page-numbers.current {
  pointer-events: none;
}

.news-archive-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-archive-empty {
  margin: 28px 0 0;
  color: var(--ink-soft);
}

/* ============ NEWS DETAIL ============ */
.news-detail {
  max-width: 860px;
  margin: 0 auto;
}

/* 詳細カードと同じ幅・中央寄せに揃える */
.wrap > .breadcrumb {
  max-width: 860px;
  margin: 0 auto 16px;
  padding: 0;
}

.news-detail-head {
  margin-bottom: 28px;
}

.news-detail-title {
  margin: 14px 0 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: .02em;
}

.news-detail-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.news-detail-tags-label {
  margin-right: 2px;
  color: var(--ink-soft);
  font-family: "Jost", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
}

.news-detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  color: var(--clay);
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.news-detail-tags a:hover {
  color: #fff;
  background: var(--clay);
  border-color: var(--clay);
}

.news-detail-lead {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.news-detail-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  margin-bottom: 32px;
  overflow: hidden;
  background: #e8e8e8;
}

.news-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-detail-media.is-default-thumb {
  background: #fff;
  border: 1px solid var(--line);
  box-sizing: border-box;
}

.news-detail-media.is-default-thumb img {
  object-fit: contain;
  object-position: center;
  padding: 8% 12%;
  box-sizing: border-box;
}

.news-detail-body {
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
}

.news-detail-body p {
  margin: 0 0 1.4em;
}

.news-detail-body p:last-child {
  margin-bottom: 0;
}

.news-detail-body a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-detail-body a:hover {
  color: var(--brand);
}

.news-detail-body .news-video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 8px 10px 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--brand-deep);
  background: rgba(29, 79, 145, 0.06);
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.news-detail-body .news-video-link:hover {
  background: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
}

.news-detail-body .news-video-link--contact {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.news-detail-body .news-video-link--contact:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

/* ---- share ---- */
.news-share {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.news-share-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.news-share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.news-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.news-share-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.2);
}

.news-share-btn--x:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.news-share-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.news-share-btn--line:hover {
  background: #06c755;
  border-color: #06c755;
  color: #fff;
}

.news-share-btn--instagram:hover {
  background: #e1306c;
  border-color: #e1306c;
  color: #fff;
}

.news-share-btn--linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}

.news-share-btn--instagram.is-copied,
.news-share-btn--copy.is-copied {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ---- prev / next ---- */
.news-detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.news-detail-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .15s ease, transform .15s ease;
}

.news-detail-nav-link:hover {
  border-color: rgba(59, 170, 72, 0.35);
  transform: translateY(-2px);
}

.news-detail-nav-link.is-disabled {
  visibility: hidden;
  pointer-events: none;
}

.news-detail-nav-link--next {
  text-align: right;
  align-items: flex-end;
}

.news-detail-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-deep);
}

.news-detail-nav-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.news-detail-back {
  margin-top: 28px;
  text-align: center;
}

@media (max-width: 640px) {
  .news-detail-nav {
    grid-template-columns: 1fr;
  }

  .news-detail-nav-link--next {
    text-align: left;
    align-items: flex-start;
  }

  .news-detail-nav-link.is-disabled {
    display: none;
  }

  .news-share-btn span {
    display: none;
  }

  .news-share-btn {
    padding: 0;
    width: 40px;
    justify-content: center;
  }
}

