
/* =====================================================
   TOKENS（サイト共通）
===================================================== */
:root {
  --ink:       #1a1a1a;
  --muted:     #5f6f7a;
  --gold:      #c8a96e;
  --gold-lt:   #f5ede0;
  --gold-dark: #b8955a;
  --bg:        #f8f7f4;
  --white:     #ffffff;
  --line:      #e2ddd6;
  --max-w:     1080px;
  --ease:      cubic-bezier(.4,0,.2,1);
}



/* =====================================================
   PAGE HERO
===================================================== */
.news-hero {
  position: relative;
  background: var(--bg);
  padding: 72px 40px 56px;
  overflow: hidden;
}
.news-hero::before {
  content: 'NEWS';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 800;
  letter-spacing: .03em;
  color: rgba(200,169,110,.08);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}
.news-hero__inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.news-hero__en {
  display: block;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
}
.news-hero__ja {
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 700; letter-spacing: .08em; color: var(--ink);
  line-height: 1.25; margin-bottom: 20px;
}
.news-hero__lead { font-size: 14px; color: var(--muted); line-height: 2; }

/* =====================================================
   CATEGORY FILTER
===================================================== */
.news-filter {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
}
.news-filter__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- PC/タブレット：タブ群 ---- */
.news-filter__tabs {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news-filter__tabs::-webkit-scrollbar { display: none; }
.news-filter__btn {
  flex-shrink: 0;
  padding: 16px 22px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  font-family: inherit;
}
.news-filter__btn:hover { color: var(--ink); }
.news-filter__btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

/* ---- SP：プルダウン ---- */
.news-filter__select-wrap {
  display: none;            /* PCでは非表示。768px以下で表示に切替 */
  position: relative;
  padding: 14px 0;
}
.news-filter__select-wrap::before {
  /* 左側のラベルアイコン（フィルターマーク） */
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.news-filter__select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 13px 44px 13px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.news-filter__select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,.15);
}
.news-filter__select-wrap::after {
  /* 右側の開閉シェブロン */
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gold-dark);
  pointer-events: none;
}

/* =====================================================
   NEWS GRID
===================================================== */
.news-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

/* =====================================================
   NEWS CARD
===================================================== */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease),
              box-shadow .28s var(--ease);
}
.news-card.is-show { opacity: 1; transform: translateY(0); }
.news-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

/* サムネイル */
.news-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.news-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s var(--ease);
}
.news-card:hover .news-card__thumb img { transform: scale(1.05); }

/* カテゴリバッジ（写真上に重ねる） */
.news-card__cat {
  position: absolute;
  bottom: 0; left: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  color: var(--white);
}
.news-card__cat--sold    { background: var(--ink); }
.news-card__cat--open    { background: var(--gold-dark); }
.news-card__cat--news    { background: var(--muted); }
.news-card__cat--info    { background: #2563a8; }

/* テキストエリア */
.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 20px;
  gap: 8px;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-card__date {
  font-size: 1.3rem;
  color: var(--muted);
  letter-spacing: .06em;
  font-weight: 500;
}
.news-card__area {
  font-size: 1.3rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.news-card__area::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.news-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: .02em;
  flex: 1;
  text-align: justify;
}
.news-card__arrow {
  align-self: flex-end;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  margin-top: 4px;
  transition: gap .2s;
}
.news-card:hover .news-card__arrow { gap: 8px; }
.news-card__arrow svg {
  width: 14px; height: 14px;
  stroke: var(--gold); fill: none;
  stroke-width: 2; stroke-linecap: round;
}

/* =====================================================
   PAGINATION
===================================================== */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 16px;
}
.news-pagination__btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  font-family: inherit;
}
.news-pagination__btn:hover { border-color: var(--gold); color: var(--ink); }
.news-pagination__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.news-pagination__btn--arrow svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}
.news-pagination__dots {
  font-size: 13px; color: var(--muted);
  padding: 0 4px;
}

/* =====================================================
   「記事なし」状態
===================================================== */
.news-empty {
  text-align: center;
  padding: 60px 0;
  display: none;
}
.news-empty.is-show { display: block; }
.news-empty__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.news-empty__icon svg {
  width: 26px; height: 26px;
  stroke: var(--muted); fill: none; stroke-width: 1.5;
}
.news-empty__text { font-size: 14px; color: var(--muted); }

/* =====================================================
   REVEAL
===================================================== */
.js-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-reveal.is-show { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media screen and (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 768px) {
  .news-hero { padding: 52px 20px 40px; }
  .news-filter__inner { padding: 0 16px; }
  .news-body { padding: 36px 20px 60px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  #pan > div { padding: 0 20px; }

  /* タブ群を隠してプルダウンに切り替え */
  .news-filter__tabs { display: none; }
  .news-filter__select-wrap { 
    display: block;

   }
   /* ▼ ここに追記：SP時のみ固定位置を上から80pxずらす */
  .news-filter {
    top: 70px;
  }
}
@media screen and (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; gap: 12px; }
}

/*ニュース詳細用CSS*/
/* =====================================================
   DETAIL LAYOUT
===================================================== */
.nd-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px 100px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

/* =====================================================
   ARTICLE（左カラム）
===================================================== */
.nd-article {}

/* ヘッダー */
.nd-article__header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.nd-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.nd-article__date {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .08em;
}
.nd-article__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 14px;
  color: var(--white);
  border-radius: 2px;
}
.nd-article__cat--open { background: var(--gold-dark); }
.nd-article__cat--sold { background: var(--ink); }
.nd-article__cat--news { background: var(--muted); }
.nd-article__cat--info { background: #2563a8; }

.nd-article__area {
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: .06em;
  display: flex; align-items: center; gap: 5px;
}
.nd-article__area::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.nd-article__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: .03em;
}

/* アイキャッチ */
.nd-article__eyecatch {
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 36px;
  background: var(--bg);
}
.nd-article__eyecatch img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* プレースホルダー */
.nd-article__eyecatch-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, var(--bg) 0%, #ede7de 100%);
}
.nd-article__eyecatch-placeholder svg {
  width: 40px; height: 40px;
  stroke: rgba(200,169,110,.4); fill: none; stroke-width: 1.2;
}
.nd-article__eyecatch-placeholder span {
  font-size: 11px; letter-spacing: .18em;
  color: rgba(200,169,110,.5); text-transform: uppercase;
}

/* 本文エリア */
.nd-article__body { font-size: 1.6rem; color: var(--ink); line-height: 2; }
.nd-article__body p { margin-bottom: 24px; }
.nd-article__body p:last-child { margin-bottom: 0; }
.nd-article__body h2 {
  font-size: 18px; font-weight: 700;
  color: var(--ink); letter-spacing: .04em;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.nd-article__body h3 {
  font-size: 16px; font-weight: 700;
  color: var(--ink); letter-spacing: .04em;
  margin: 32px 0 12px;
}
.nd-article__body ul {
  padding-left: 0; list-style: none; margin-bottom: 24px;
}
.nd-article__body ul li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-size: 14px; line-height: 1.7;
}
.nd-article__body ul li:last-child { border-bottom: none; }
.nd-article__body ul li::before {
  content: '';
  position: absolute; left: 0; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.nd-article__body strong { font-weight: 700; color: var(--ink); }
.nd-article__body a { color: var(--gold-dark); text-decoration: underline; }
.nd-article__body a:hover { color: var(--gold); }

/* インフォボックス */
.nd-info-box {
  background: var(--gold-lt);
  border: 1px solid rgba(200,169,110,.4);
  border-radius: 6px;
  padding: 24px 28px;
  margin: 32px 0;
}
.nd-info-box__title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.nd-info-box__title svg {
  width: 16px; height: 16px;
  stroke: var(--gold-dark); fill: none; stroke-width: 2;
}
.nd-info-box__list { list-style: none; padding: 0; margin: 0; }
.nd-info-box__list li {
  display: flex; gap: 16px;
  font-size: 1.4rem; padding: 8px 0;
  border-bottom: 1px solid rgba(200,169,110,.2);
}
.nd-info-box__list li:last-child { border-bottom: none; }
.nd-info-box__list dt {
  flex: 0 0 100px;
  font-weight: 600; color: var(--muted);
  font-size: 1.4rem;
}
.nd-info-box__list dd { color: var(--ink); line-height: 1.7; }

/* SNSシェア */
.nd-share {
  display: flex; align-items: center; gap: 12px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.nd-share__label {
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.nd-share__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em;
  padding: 8px 18px;
  border-radius: 3px;
  text-decoration: none;
  transition: opacity .2s;
}
.nd-share__btn:hover { opacity: .8; }
.nd-share__btn--x { background: var(--ink); color: var(--white); }
.nd-share__btn--line { background: #06c755; color: var(--white); }
.nd-share__btn svg { width: 14px; height: 14px; fill: currentColor; }

/* 前後記事ナビ */
.nd-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.nd-nav__btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.nd-nav__btn:hover { border-color: var(--gold); box-shadow: 0 3px 16px rgba(0,0,0,.07); }
.nd-nav__btn--next { text-align: right; }
.nd-nav__direction {
  font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.nd-nav__btn--next .nd-nav__direction { justify-content: flex-end; }
.nd-nav__direction svg {
  width: 14px; height: 14px;
  stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round;
}
.nd-nav__title {
  font-size: 13px; color: var(--ink);
  font-weight: 600; line-height: 1.6;
}

/* 一覧に戻るボタン */
.nd-back {
  display: flex; justify-content: center;
  margin-top: 20px;
}
.nd-back__btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; color: var(--muted);
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  transition: border-color .2s, color .2s;
}
.nd-back__btn:hover { border-color: var(--ink); color: var(--ink); }
.nd-back__btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}

/* =====================================================
   SIDEBAR（右カラム）
===================================================== */
.nd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* サイドウィジェット共通 */
.nd-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.nd-widget__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 8px;
}
.nd-widget__title svg {
  width: 13px; height: 13px;
  stroke: var(--gold); fill: none; stroke-width: 2;
}

/* カテゴリ一覧 */
.nd-widget__cats { list-style: none; padding: 0; margin: 0; }
.nd-widget__cat-item {
  border-bottom: 1px solid var(--line);
}
.nd-widget__cat-item:last-child { border-bottom: none; }
.nd-widget__cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  font-size: 1.4rem; color: var(--ink);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nd-widget__cat-link:hover { background: var(--gold-lt); color: var(--gold-dark); }
.nd-widget__cat-link span { font-size: 1.3rem; color: var(--muted); }
.nd-widget__cat-link svg {
  width: 12px; height: 12px;
  stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round;
  flex-shrink: 0;
}

/* 最新記事 */
.nd-widget__recent { list-style: none; padding: 0; margin: 0; }
.nd-widget__recent-item { border-bottom: 1px solid var(--line); }
.nd-widget__recent-item:last-child { border-bottom: none; }
.nd-widget__recent-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  text-decoration: none;
  transition: background .2s;
}
.nd-widget__recent-link:hover { background: var(--bg); }
.nd-widget__recent-thumb {
  flex: 0 0 56px; width: 56px; height: 48px;
  border-radius: 3px; overflow: hidden; background: var(--bg);
}
.nd-widget__recent-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.nd-widget__recent-info {}
.nd-widget__recent-date {
  font-size: 1.3rem; color: var(--muted); letter-spacing: .06em; display: block; margin-bottom: 3px;
}
.nd-widget__recent-title {
  font-size: 1.3rem; color: var(--ink);
  font-weight: 600; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* CTAバナー */
.nd-widget__cta {
  padding: 24px 20px;
  background: var(--ink);
  text-align: center;
}
.nd-widget__cta-title {
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); margin-bottom: 6px; letter-spacing: .04em;
}
.nd-widget__cta-text {
  font-size: 12px; color: rgba(255,255,255,.6);
  line-height: 1.8; margin-bottom: 18px;
}
.nd-widget__cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1.4rem; font-weight: 700; letter-spacing: .08em;
  color: var(--ink); background: var(--gold);
  padding: 11px 24px; border-radius: 2px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.nd-widget__cta-btn:hover { background: var(--gold-dark); transform: translateY(-2px); }
.nd-widget__cta-btn svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round;
}

/* =====================================================
   REVEAL
===================================================== */
.js-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-reveal.is-show { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media screen and (max-width: 1024px) {
  .nd-wrap { grid-template-columns: 1fr 260px; gap: 40px; }
}
@media screen and (max-width: 768px) {
  .nd-wrap { grid-template-columns: 1fr; padding: 36px 20px 60px; gap: 48px; }
  .nd-nav { grid-template-columns: 1fr; }
  #pan > div { padding: 0 20px; }
  .nd-article__eyecatch { aspect-ratio: 16 / 9; }
  .nd-info-box { padding: 18px 18px; }
}