/* =============================================================
   rassic / NEWS pages (一覧 + 詳細)
   - シンプルフラット、ミニマル、大きめタイポ、hairline 区切り
   - 2026-05-22 趙
   ============================================================= */

/* ---------- 共通レイアウト ---------- */
.news-page {
  width: min(86vw, 760px);
  margin: 6rem auto 8rem;
  font-family: 'Roboto', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #1a1a1a;
}

/* 詳細はフッター幅に合わせる(70vw、SP は 85vw) */
.news-detail {
  width: 70vw;
  margin: 6rem auto 8rem;
  font-family: 'Roboto', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #1a1a1a;
}

/* ============================================================
   一覧ページ
============================================================ */

.news-page__hero {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ececec;
}

.news-page__title {
  font-size: clamp(1.6rem, 3.8vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin: 0;
  color: #1a1a1a;
}

.news-page__body {
  margin-top: 4rem;
}

.news-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e3e3e3;
}

.news-page__item {
  border-bottom: 1px solid #e3e3e3;
}

.news-page__link {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 4px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, padding 0.2s ease;
}

.news-page__link:hover {
  background: #fafafa;
  padding-left: 12px;
  padding-right: 12px;
}

.news-page__date {
  flex: 0 0 110px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #888;
  padding-top: 0.15rem;
}

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

.news-page__item-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin: 0;
  color: #111;
}

.news-page__excerpt {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #666;
  letter-spacing: 0.03em;
}

.news-page__arrow {
  flex: 0 0 1.6rem;
  color: #ed8936;
  font-size: 1.15rem;
  padding-top: 0.1rem;
  transition: transform 0.2s ease;
}

.news-page__link:hover .news-page__arrow {
  transform: translateX(4px);
}

.news-page__empty {
  padding: 5rem 0;
  text-align: center;
  color: #888;
  font-size: 1rem;
}

/* ============================================================
   詳細ページ
============================================================ */

.news-detail__crumb {
  font-size: 0.82rem;
  color: #888;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.news-detail__crumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-detail__crumb a:hover { color: #ed8936; }

.news-detail__crumb span {
  margin: 0 0.6em;
  color: #ccc;
}

.news-detail__head {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ececec;
}

.news-detail__meta {
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  color: #999;
  letter-spacing: 0.1em;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.news-detail__title {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.55;
  margin: 0;
  color: #1a1a1a;
}

/* 本文 */
.news-detail__body {
  font-size: 1.0625rem;
  line-height: 2.0;
  letter-spacing: 0.08em;
  color: #1a1a1a;
}

.news-detail__body p {
  margin: 0 0 1.8rem;
}

.news-detail__body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 3.5rem 0 1.5rem;
  padding-top: 0.8rem;
  color: #111;
}

.news-detail__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2.5rem 0 1.1rem;
  color: #111;
}

.news-detail__body strong { font-weight: 700; color: #111; }

.news-detail__body a {
  color: #ed8936;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}

.news-detail__body a:hover { opacity: 0.7; }

.news-detail__body img,
.news-detail__body figure {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem auto;
  display: block;
}

.news-detail__body ul,
.news-detail__body ol {
  margin: 1.5rem 0 2rem;
  padding-left: 1.4rem;
  line-height: 1.95;
}

.news-detail__body ul li,
.news-detail__body ol li {
  margin-bottom: 0.55rem;
}

.news-detail__body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.2rem;
  border-left: 3px solid #ed8936;
  color: #666;
  font-style: normal;
}

.news-detail__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.news-detail__body table th,
.news-detail__body table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e7e7e7;
  text-align: left;
  vertical-align: top;
}

.news-detail__body table th {
  background: #fafafa;
  font-weight: 600;
}

/* フッタ + 関連 */

.news-detail__footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e3e3e3;
}

.news-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.news-detail__back:hover { color: #ed8936; }

.news-detail__related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e3e3e3;
}

.news-detail__related-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #888;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.news-detail__related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-detail__related-list li {
  border-bottom: 1px solid #e3e3e3;
}

.news-detail__related-list li:first-child { border-top: 1px solid #e3e3e3; }

.news-detail__related-list a {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.news-detail__related-list a:hover { opacity: 0.7; }

.news-detail__related-list time {
  flex: 0 0 92px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  color: #888;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.news-detail__related-list span {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1a1a1a;
}

/* ============================================================
   モバイル
============================================================ */

@media (max-width: 768px) {
  .news-page,
  .news-detail {
    margin: 4rem auto 5rem;
  }
  .news-detail { width: 85vw; }

  .news-page__hero { margin-bottom: 3rem; }
  .news-page__title { font-size: 1.8rem; }
  .news-page__lead { font-size: 0.88rem; }
  .news-page__body { margin-top: 2.5rem; }

  .news-page__link {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 22px 0;
  }
  .news-page__link:hover {
    padding-left: 0;
    padding-right: 0;
  }
  .news-page__date {
    flex: 0 0 auto;
    font-size: 0.84rem;
  }
  .news-page__text {
    flex: 1 1 100%;
  }
  .news-page__item-title { font-size: 1.02rem; }
  .news-page__excerpt { font-size: 0.85rem; }
  .news-page__arrow { display: none; }

  .news-detail__title { font-size: 1.4rem; }
  .news-detail__body { font-size: 1rem; }
  .news-detail__body h2 { font-size: 1.15rem; margin: 2.5rem 0 1rem; }
  .news-detail__related { margin-top: 3rem; padding-top: 2rem; }
}
