@charset "UTF-8";

/* ========================================
  News Hero (共通: 一覧・詳細)
======================================== */
.news-hero {
  position: relative;
  padding: 136px 0 24px;
  overflow: hidden;
}

.news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.news-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.news-hero__container {
  position: relative;
  z-index: 1;
}

.news-hero__head {
  margin-bottom: 32px;
}

.news-hero__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 128px;
  line-height: 1.2;
}

.news-hero__copy {
  margin-bottom: 0;
}

.news-hero__catch {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 24px;
}

.news-hero__sub {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 2.2;
  color: #000;
}

.news-hero__breadcrumb {
  margin-top: 64px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2.2;
  color: #444;
}

.news-hero__breadcrumb a {
  text-decoration: underline;
  color: #444;
}

/* ========================================
  News Archive (一覧ページ)
======================================== */
.news-archive {
  padding: 96px 0 136px;
}

/* --- カテゴリフィルター --- */
.news-archive__filter {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.news-archive__filter-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.8px;
  padding: 10px 28px;
  border: 1px solid #ccc;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.25s;
}

.news-archive__filter-btn:hover {
  border-color: #000;
  color: #000;
}

.news-archive__filter-btn.is-active {
  background: #000;
  border-color: #000;
  color: #fff;
}

/* --- 記事一覧 --- */
.news-archive__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}

.news-archive__item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
}

.news-archive__item:hover {
  background: #f8f8f8;
}

.news-archive__item-thumb {
  flex-shrink: 0;
  width: 200px;
  height: 130px;
  overflow: hidden;
}

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

.news-archive__item-thumb--placeholder {
  background: #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-archive__item-thumb--placeholder img {
  width: 56px;
  height: 80px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.news-archive__item-body {
  flex: 1;
  min-width: 0;
}

.news-archive__item-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
}

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

.news-archive__item-date {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #888;
}

.news-archive__item-cat {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 3px 14px;
  display: inline-block;
}

.news-archive__item-cat--news {
  background: #000;
  color: #fff;
}

.news-archive__item-cat--media {
  background: #1d7bb3;
  color: #fff;
}

/* --- ページネーション --- */
/* WP化時: .wp-pagenavi や the_posts_pagination() のクラスに置換 */
.news-archive__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
}

.news-archive__page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #666;
  border: 1px solid #ccc;
  transition: all 0.2s;
}

.news-archive__page:hover {
  border-color: #000;
  color: #000;
}

.news-archive__page.is-current {
  background: #000;
  border-color: #000;
  color: #fff;
}

.news-archive__page--next {
  border: none;
}

.news-archive__page--next img {
  width: 20px;
  height: 20px;
}

/* ========================================
  News Detail (詳細ページ)
======================================== */
.news-detail {
  padding: 80px 0 136px;
}

.news-detail__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* --- 記事ヘッダー --- */
.news-detail__header {
  margin-bottom: 40px;
}

.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.news-detail__date {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #888;
}

.news-detail__cat {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 3px 14px;
  display: inline-block;
}

.news-detail__cat--news {
  background: #000;
  color: #fff;
}

.news-detail__cat--media {
  background: #1d7bb3;
  color: #fff;
}

.news-detail__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.6;
  color: #000;
}

/* --- アイキャッチ --- */
.news-detail__eyecatch {
  margin-bottom: 48px;
}

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

/* --- 記事本文 (the_content 互換) ---
   WP化時: WYSIWYGエディタの出力をそのまま装飾するため
   セマンティックな要素セレクタでスタイリング */
.news-detail__content {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.news-detail__content p {
  margin-bottom: 24px;
}

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

.news-detail__content h2 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.6;
  color: #000;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
}

.news-detail__content h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  margin-top: 36px;
  margin-bottom: 16px;
}

.news-detail__content ul,
.news-detail__content ol {
  margin: 16px 0 24px;
  padding-left: 1.5em;
}

.news-detail__content ul {
  list-style: disc;
}

.news-detail__content ol {
  list-style: decimal;
}

.news-detail__content li {
  margin-bottom: 8px;
  line-height: 2;
}

.news-detail__content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.news-detail__content a {
  color: #1d7bb3;
  text-decoration: underline;
}

.news-detail__content blockquote {
  border-left: 4px solid #ccc;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f8f8f8;
  color: #555;
}

/* --- 前後記事ナビ --- */
.news-detail__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.news-detail__nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #666;
  transition: color 0.2s;
}

.news-detail__nav-link:hover {
  color: #000;
}

.news-detail__nav-link--list {
  padding: 10px 28px;
  border: 1px solid #ccc;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.news-detail__nav-link--list:hover {
  border-color: #000;
}

.news-detail__nav-arrow {
  font-size: 20px;
}

/* ========================================
  Responsive -- Tablet (1200px)
======================================== */
@media (max-width: 1200px) {
  .news-hero__title {
    font-size: 96px;
  }
}

/* ========================================
  Responsive -- SP (767px)
======================================== */
@media (max-width: 767px) {
  /* --- Hero SP --- */
  .news-hero {
    padding: 80px 0 20px;
  }

  .news-hero__title {
    font-size: 48px;
  }

  .news-hero__catch {
    font-size: 24px;
  }

  .news-hero__sub {
    font-size: 15px;
  }

  .news-hero__breadcrumb {
    margin-top: 40px;
    font-size: 13px;
  }

  /* --- Archive SP --- */
  .news-archive {
    padding: 48px 0 64px;
  }

  .news-archive__filter {
    gap: 8px;
    margin-bottom: 32px;
  }

  .news-archive__filter-btn {
    font-size: 13px;
    padding: 8px 18px;
  }

  .news-archive__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0;
  }

  .news-archive__item-thumb {
    width: 100%;
    height: 0;
    padding-bottom: 52%;
    position: relative;
  }

  .news-archive__item-thumb img {
    position: absolute;
    inset: 0;
  }

  .news-archive__item-thumb--placeholder {
    padding-bottom: 52%;
    position: relative;
  }

  .news-archive__item-thumb--placeholder img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 80px;
  }

  .news-archive__item-title {
    font-size: 15px;
  }

  .news-archive__item-date {
    font-size: 13px;
  }

  .news-archive__pagination {
    margin-top: 40px;
    gap: 6px;
  }

  .news-archive__page {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  /* --- Detail SP --- */
  .news-detail {
    padding: 48px 0 64px;
  }

  .news-detail__title {
    font-size: 20px;
  }

  .news-detail__eyecatch {
    margin-bottom: 32px;
  }

  .news-detail__content {
    font-size: 15px;
  }

  .news-detail__content h2 {
    font-size: 18px;
    margin-top: 36px;
    margin-bottom: 16px;
  }

  .news-detail__content h3 {
    font-size: 16px;
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .news-detail__nav {
    margin-top: 48px;
    padding-top: 24px;
  }

  .news-detail__nav-link {
    font-size: 13px;
  }

  .news-detail__nav-link--list {
    padding: 8px 16px;
    font-size: 12px;
  }
}
