@charset "utf-8";
/* お知らせ個別（記事詳細）用スタイル。
   文字色は dark-theme.css の .t-article-* 側（!important）で指定済み。
   ここでは主にレイアウト・余白・装飾のサイズを定義する。 */

.t-article {
  max-width: 80rem;
  margin: 0 auto;
}

/* --- ヘッダー（カテゴリ・日付・タイトル） --- */
.t-article-header {
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #cacaca;
}
.t-article-info {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.t-article-info__cat {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  background: #383838;
  color: #ffffff !important;
}
.t-article-info__time {
  font-size: 1.3rem;
  font-family: var(--font-en), var(--font-jp-medium);
  letter-spacing: 0.03em;
}
.t-article-header__title {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .t-article-header__title {
    font-size: 2.2rem;
  }
}

/* --- 本文 --- */
.t-article-body {
  font-size: 1.5rem;
  line-height: 2;
}
.t-article-body > * + * {
  margin-top: 1.6rem;
}
.t-article-body a {
  text-decoration: underline;
}
.t-article-body h2 {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 4.5rem;
  padding-left: 1.6rem;
  position: relative;
}
.t-article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  border-radius: 2px;
}
.t-article-body h3 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.6;
  margin-top: 3.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #cacaca;
}
.t-article-body ul,
.t-article-body ol {
  margin-top: 1.6rem;
}
.t-article-body ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
  list-style: none;
}
.t-article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.t-article-body ol {
  padding-left: 2.2rem;
}
.t-article-body ol li {
  list-style: decimal;
  margin-bottom: 0.6rem;
}
.t-article-body blockquote {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: 8px;
}
.t-article-body blockquote p {
  margin: 0;
}
.t-article-body figure,
.t-article-body__figure {
  margin: 2.8rem 0;
}
.t-article-body figure img,
.t-article-body__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.t-article-body figcaption {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  text-align: center;
}

/* --- 一覧に戻る --- */
.t-article-nav {
  text-align: center;
}
.t-article-back {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 3.5rem;
  border: 1px solid #383838;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #383838;
  text-decoration: none;
  transition: all 0.3s ease;
}
.t-article-back:hover {
  background: #383838;
  color: #ffffff;
}
.t-article-back i {
  font-size: 1.2rem;
}

/* ===== お知らせ一覧: 2カラム（左サイドバー＋右リスト） ===== */
.news-layout {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  .news-layout { flex-direction: column; gap: 3rem; }
}

/* --- 左サイドバー --- */
.news-side {
  flex: 0 0 24rem;
  width: 24rem;
}
@media screen and (max-width: 768px) {
  .news-side { flex: none; width: 100%; }
}
.news-side__box { margin-bottom: 3.5rem; }
.news-side__head {
  background: #383838;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  padding: 1.1rem 1rem;
  border-radius: 4px;
}
.news-side__list { margin-top: 0.5rem; }
.news-side__list li a {
  display: block;
  padding: 1.3rem 0.6rem;
  font-size: 1.4rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #d5d5d5;
  transition: color 0.3s ease;
}
.news-side__list li a:hover,
.news-side__list li a.is-current {
  color: #000;
  font-weight: bold;
}

/* --- 右メイン（お知らせリスト） --- */
.news-main { flex: 1 1 auto; min-width: 0; }
.news-main__head {
  font-size: 2rem;
  font-weight: bold;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid #383838;
  margin-bottom: 0.5rem;
}
.news-list__item { border-bottom: 1px solid #d5d5d5; }
.news-list__link {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.8rem 0.4rem;
  text-decoration: none;
}
.news-list__date {
  flex: 0 0 10rem;
  font-size: 1.3rem;
  color: #666;
  font-family: var(--font-en), var(--font-jp-medium);
  letter-spacing: 0.02em;
}
.news-list__cat {
  flex: 0 0 auto;
  display: inline-block;
  min-width: 9rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #383838;
  color: #fff;
  white-space: nowrap;
}
.news-list__title {
  flex: 1 1 auto;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #333;
  transition: color 0.3s ease;
}
.news-list__link:hover .news-list__title {
  color: #000;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .news-list__link { flex-wrap: wrap; gap: 0.8rem 1.2rem; padding: 1.6rem 0.2rem; }
  .news-list__title { flex: 1 1 100%; }
}

/* --- ページネーション --- */
.news-pager { text-align: center; margin-top: 3.5rem; }
.news-pager__count { font-size: 1.3rem; color: #666; }
.news-pager__nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.news-pager__nav li span,
.news-pager__nav li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid #cacaca;
  border-radius: 4px;
  font-size: 1.3rem;
  color: #333;
  text-decoration: none;
}
.news-pager__nav li span.is-current {
  background: #383838;
  color: #fff;
  border-color: #383838;
}
