/* ===========================
   FIND MY JAPAN — news.css
   =========================== */


/* ============================================================
   PAGE HERO（お知らせページ用：contact同様に低め）
   ============================================================ */

#page-hero {
  height: clamp(260px, 36vw, 400px);
}

@media (max-width: 768px) {
  #page-hero {
    height: clamp(220px, 46vw, 300px);
  }
}


/* ============================================================
   NEWS LIST SECTION
   ============================================================ */

.news-archive-section {
  padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 120px);
  background: #fff;
}


/* ============================================================
   BLOG CATEGORY FILTER
   ============================================================ */

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(36px, 4.5vw, 52px);
}

.blog-filter-btn {
  padding: 9px clamp(18px, 2vw, 26px);
  border: 1.5px solid var(--gold);
  border-radius: 9999px;
  background: transparent;
  color: var(--dark);
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(12px, 0.95vw, 13px);
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.blog-filter-btn:hover {
  background: var(--gold);
  color: #fff;
}

.blog-filter-btn.is-active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}


/* 記事カード */
.news-archive-list {
  list-style: none;
}

.news-archive-item {
  border-bottom: 1px solid rgba(145, 115, 71, 0.2);
}

.news-archive-item:first-child {
  border-top: 1px solid rgba(145, 115, 71, 0.2);
}

.news-archive-link {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 2.5vw, 32px);
  padding: clamp(20px, 2.5vw, 28px) 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.news-archive-link:hover {
  opacity: 0.72;
}


/* サムネイル */
.news-thumb {
  flex-shrink: 0;
  width: clamp(100px, 12vw, 140px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
}

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

/* サムネイルなしのプレースホルダー */
.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-thumb-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.3;
}


/* テキストエリア */
.news-archive-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

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

.news-archive-date {
  font-size: clamp(11px, 0.94vw, 13px);
  color: var(--gold);
  letter-spacing: 0.08em;
  white-space: nowrap;
}


.news-archive-title {
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.news-archive-excerpt {
  font-size: clamp(12px, 1vw, 13px);
  color: rgba(45, 45, 45, 0.6);
  line-height: 1.8;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* もっと見るボタン */
.news-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 56px);
}

.btn-load-more {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid var(--dark);
  padding: 16px clamp(48px, 6vw, 80px);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-load-more:hover {
  background: var(--dark);
  color: #fff;
}

.btn-load-more:disabled,
.btn-load-more.hidden {
  display: none;
}

/* 記事が非表示の状態 */
.news-archive-item.is-hidden {
  display: none;
}


/* モバイル */
@media (max-width: 768px) {
  .news-archive-link {
    gap: 14px;
  }

  .news-thumb {
    width: 88px;
  }

  .news-archive-meta {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
}


/* ============================================================
   NEWS DETAIL SECTION
   ============================================================ */

.news-detail-section {
  padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 120px);
  background: #fff;
}

/* 記事ヘッダー */
.news-detail-header {
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid rgba(145, 115, 71, 0.25);
}

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

.news-detail-date {
  font-size: clamp(12px, 1vw, 13px);
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
  text-align: right;
  margin-top: 10px;
}


.news-detail-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.06em;
  line-height: 1.55;
}


/* アイキャッチ画像 */
.news-detail-eyecatch {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-dark);
  margin-bottom: clamp(32px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.news-detail-eyecatch .eyecatch-placeholder {
  opacity: 0.25;
}

.news-detail-eyecatch .eyecatch-placeholder svg {
  width: 64px;
  height: 64px;
}


/* 本文 */
.news-detail-body {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--dark);
  line-height: 2;
  letter-spacing: 0.04em;
}

.news-detail-body p {
  margin-bottom: 1.8em;
}

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

.news-detail-body h2 {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 2.4em 0 1em;
  line-height: 1.5;
}

.news-detail-body h3,
.news-detail-body--case h2 {
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 2.4em 0 1em;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}

.news-detail-body h3 + table.confirm-table,
.news-detail-body--case h2 + table.confirm-table {
  margin-top: 1em;
}

.news-detail-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
}


/* ============================================================
   CASE DETAIL — 本文内画像ブロック
   ============================================================ */

/* 1カラム：2カラム時の1枚と同じ幅（中央寄せ） */
.detail-img {
  margin: 2.4em auto;
  max-width: calc(50% - clamp(6px, 0.75vw, 10px));
}

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

.detail-img figcaption {
  margin-top: 8px;
  font-size: clamp(11px, 0.9vw, 12px);
  color: rgba(45, 45, 45, 0.55);
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}

/* 2カラム：横並び画像グリッド */
.detail-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 20px);
  margin: 2.4em 0;
}

.detail-img-grid .detail-img {
  margin: 0;
  max-width: none;
}

/* 画像の縦横比（クラスで指定） */
.detail-img--wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-img--square img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-img--4x3 img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 600px) {
  .detail-img-grid {
    grid-template-columns: 1fr;
  }
}


/* 前後記事ナビ */
.news-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 40px);
  border-top: 1px solid rgba(145, 115, 71, 0.25);
}

.news-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dark);
  transition: color 0.2s;
  line-height: 1.5;
}

.news-nav-link:hover {
  color: var(--red);
}

.news-nav-link.prev {
  flex-direction: row-reverse;
}

.news-nav-link.prev::before {
  content: '›';
  font-size: 20px;
  flex-shrink: 0;
  color: var(--gold);
  line-height: 1;
}

.news-nav-link.next::before {
  content: '‹';
  font-size: 20px;
  flex-shrink: 0;
  color: var(--gold);
  line-height: 1;
}

.news-nav-back {
  display: flex;
  align-items: center;
}

.news-nav-back a {
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.news-nav-back a:hover {
  color: var(--red);
  border-color: var(--red);
}

@media (max-width: 768px) {
  .news-nav-back {
    order: -1;
  }
}


/* インバウンドショップ企画へのCTAリンク */
.case-service-cta {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
}

.case-service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 2vw, 22px) clamp(32px, 4vw, 60px);
  background: var(--red);
  color: #fff;
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 9999px;
  transition: background 0.2s;
  white-space: nowrap;
}

.case-service-cta-link:hover {
  background: var(--red-btn-hover);
}

.case-service-cta-arrow {
  font-size: 22px;
  line-height: 1;
  opacity: 0.75;
}

@media (max-width: 480px) {
  .case-service-cta-link {
    white-space: normal;
    text-align: center;
  }
}


/* ============================================================
   DATA TABLE（事例詳細ページ用）
   ============================================================ */

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: clamp(36px, 4vw, 48px);
}

.confirm-table tr {
  border-bottom: 1px solid rgba(145, 115, 71, 0.18);
}

.confirm-table th,
.confirm-table td {
  padding: clamp(14px, 1.75vw, 20px) clamp(16px, 2vw, 24px);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.confirm-table th {
  width: 200px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
  padding-left: 0;
}

.confirm-table td {
  color: var(--dark);
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .confirm-table,
  .confirm-table tbody,
  .confirm-table tr,
  .confirm-table th,
  .confirm-table td {
    display: block;
  }

  .confirm-table tr {
    padding: clamp(14px, 3vw, 20px) 0;
  }

  .confirm-table th {
    width: 100%;
    padding: 0 0 4px;
    border-bottom: none;
    font-size: 11px;
  }

  .confirm-table td {
    padding: 0;
  }
}


/* ============================================================
   RELATED SECTIONS（関連事例・参考記事）
   ============================================================ */

.related-section {
  margin-top: clamp(56px, 7vw, 80px);
}

.related-heading {
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dark);
  margin-bottom: clamp(20px, 2.5vw, 28px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(145, 115, 71, 0.3);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.related-card:hover {
  opacity: 0.75;
}

.related-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}

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

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

.related-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card-thumb-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.25;
}

.related-card-body {
  padding: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-card-date {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.related-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  background: var(--cream-dark);
  padding: 1px 8px;
}

.related-card-title {
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.03em;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid .related-card:nth-child(3) {
    display: none;
  }
}
