@charset "UTF-8";

/* =========================================================
   [ Single / NEWS詳細 ] レイアウト
   既存トンマナ（Marcellus / Zen Old Mincho / 白背景 #1F1F1F）踏襲
========================================================= */
.single-section {
  width: 100%;
  padding: 160px 0 130px;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
}

.single-inner {
  width: 90%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}


/* --- 記事ヘッダー --- */
.single-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid #E5E5E5;
}

.single-date {
  color: #858585;
  font-family: 'Marcellus', serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.single-title {
  color: #1F1F1F;
  font-family: 'Zen Old Mincho', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}


/* --- アイキャッチ --- */
.single-thumb {
  margin-bottom: 40px;
}
.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================================================
   [ Single ] 本文（the_content の出力を整形）
========================================================= */
.single-body {
  color: #333333;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

.single-body p {
  margin: 0 0 1.8em;
}

.single-body a {
  color: #1F1F1F;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}
.single-body a:hover {
  opacity: 0.6;
}

.single-body h2 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  margin: 2em 0 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid #E5E5E5;
}
.single-body h3 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin: 1.8em 0 0.6em;
}

.single-body img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
}

.single-body ul,
.single-body ol {
  margin: 0 0 1.8em;
  padding-left: 1.5em;
}
.single-body li {
  margin-bottom: 0.5em;
}

.single-body blockquote {
  margin: 1.5em 0;
  padding: 16px 24px;
  background-color: #F8F8F8;
  border-left: 3px solid #D9D9D9;
  color: #555555;
}


/* =========================================================
   [ Single ] 前後記事ナビ
========================================================= */
.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #E5E5E5;
}
.single-nav a {
  color: #555555;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.single-nav a:hover {
  color: #1F1F1F;
}
.single-nav-next {
  margin-left: auto;
  text-align: right;
}


/* =========================================================
   [ Single ] 一覧へ戻る
========================================================= */
.single-back {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}


/* =========================================================
   [ Single ] ページ送り（home.php の一覧用）
========================================================= */
.news-pagination {
  margin-top: 60px;
}
.news-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  color: #555555;
  font-family: 'Marcellus', serif;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid #D9D9D9;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.news-pagination .page-numbers:hover {
  border-color: #1F1F1F;
  color: #1F1F1F;
}
.news-pagination .page-numbers.current {
  background-color: #1F1F1F;
  color: #ffffff;
  border-color: #1F1F1F;
}
.news-pagination .page-numbers.dots {
  border: none;
}

.news-empty {
  color: #555555;
  font-family: 'Zen Old Mincho', serif;
  font-size: 15px;
  text-align: center;
  padding: 40px 0;
}


/* =========================================================
   [ スマホ対応 ]
========================================================= */
@media (max-width: 768px) {
  .single-section {
    padding: 120px 0 90px;
  }
  .single-inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .single-title {
    font-size: 22px;
  }
  .single-body {
    font-size: 15px;
  }
  .single-nav {
    flex-direction: column;
    gap: 12px;
  }
  .single-nav-next {
    margin-left: 0;
    text-align: left;
  }
}


/* =========================================================
   [ NEWS一覧 / home.php ] セクションスタイル
   home.css から移植し、NEWS一覧・詳細で single.css だけで完結させる。
   （トップページのNEWSセクションは home.css 側の同名スタイルで表示）
========================================================= */
.news-section {
  background-color: #fff;
  display: flex;
  justify-content: center;
  width: 100%;
}
/* 一覧ページのみ：ヘッダー分の上余白を確保 */
.news-section.news-archive {
  padding: 160px 0 160px;
}
.news-inner {
  width: 90%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.news-heading {
  color: #090909;
  font-family: 'Marcellus', serif;
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 40px 0;
}
.news-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.news-item {
  width: 100%;
  border-bottom: 1px solid #BFBFBF;
  padding-bottom: 15px;
}
.news-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.news-link:hover { opacity: 0.6; }
.news-date {
  color: #858585;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
}
.news-title {
  color: #090909;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

@media (max-width: 768px) {
  .news-section.news-archive { padding: 120px 0 90px; }
  .news-inner { width: 100%; padding: 0 20px; box-sizing: border-box; }
  .news-heading { font-size: 24px; margin-bottom: 30px; }
  .news-list { gap: 18px; margin-bottom: 41px; }
  .news-item { padding-bottom: 15px; }
}



/* =========================================================
   [ NEWS一覧ページ ] home.php 専用（.news-archive）
   トップのNEWSセクションと違い、中央寄せ・上下余白を独立管理
========================================================= */
.news-archive {
  padding: 160px 0 160px;
  display: flex;
  justify-content: center;
  background-color: #fff;
}

.news-archive .news-inner {
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央寄せ */
}

/* NEWS見出しを中央に */
.news-archive .news-heading {
  text-align: center;
  font-family: 'Marcellus', serif;
  font-size: 68px;
  font-weight: 400;
  color: #1F1F1F;
  margin: 0 0 150px 0;
  line-height: 1;
}

/* 一覧リスト */
.news-archive .news-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.news-archive .news-item {
  width: 100%;
  border-bottom: 1px solid #E5E5E5;
}
.news-archive .news-item:first-child {
  border-top: 1px solid #E5E5E5;
}

.news-archive .news-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 4px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.news-archive .news-link:hover {
  opacity: 0.6;
}

.news-archive .news-date {
  color: #999999;
  font-family: 'Marcellus', serif;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.news-archive .news-title {
  color: #1F1F1F;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   [ NEWS一覧 ] ページネーション
========================================================= */
.news-archive .news-pagination {
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

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

/* 各ページ番号・PREV/NEXT */
.news-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  color: #1F1F1F;
  font-family: 'Marcellus', serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid #D9D9D9;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.news-archive .page-numbers:hover {
  background-color: #1F1F1F;
  color: #ffffff;
  border-color: #1F1F1F;
}

/* 現在ページ */
.news-archive .page-numbers.current {
  background-color: #1F1F1F;
  color: #ffffff;
  border-color: #1F1F1F;
}

/* PREV / NEXT はやや広め */
.news-archive .page-numbers.prev,
.news-archive .page-numbers.next {
  letter-spacing: 0.08em;
}

/* =========================================================
   [ NEWS一覧 ] お知らせが無い場合
========================================================= */
.news-archive .news-empty {
  width: 100%;
  text-align: center;
  color: #737373;
  font-family: 'Zen Old Mincho', serif;
  font-size: 15px;
  padding: 40px 0;
}

/* =========================================================
   [ スマホ対応 ] NEWS一覧
========================================================= */
@media (max-width: 768px) {
  .news-archive {
    padding: 100px 0 100px;
  }
  .news-archive .news-inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .news-archive .news-heading {
    font-size: 40px;
    margin-bottom: 60px;
  }
  .news-archive .news-link {
    padding: 20px 2px;
    gap: 6px;
  }
  .news-archive .news-date {
    font-size: 12px;
  }
  .news-archive .news-title {
    font-size: 15px;
    line-height: 1.7;
  }
  .news-archive .news-pagination {
    margin-top: 40px;
  }
  .news-archive .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }
  .news-archive .pagination .nav-links {
    gap: 8px;
    flex-wrap: wrap;
  }
}


/* =========================================================
   [ NEWS個別 ] 一覧へ戻るボタン（テキスト＋線矢印）
========================================================= */
.single-back {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.single-back-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* テキスト */
.single-back-text {
  color: #1F1F1F;
  font-family: 'Marcellus', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: opacity 0.3s ease;
}
.single-back-link:hover .single-back-text {
  opacity: 0.6;
}

/* 線矢印（サイト内の統一表現・右向き） */
.single-back-arrow {
  position: relative;
  display: block;
  width: 120px;
  height: 8px;
}
.single-back-arrow::before {
  /* 軸（横線） */
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #1F1F1F;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.single-back-arrow::after {
  /* 矢じり（右端の「>」） */
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid #1F1F1F;
  border-right: 1px solid #1F1F1F;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
/* ホバーで矢印が右に動く（サイト共通挙動） */
.single-back-link:hover .single-back-arrow::before {
  transform: translateY(-50%) translateX(6px);
}
.single-back-link:hover .single-back-arrow::after {
  transform: translateY(-50%) translateX(6px) rotate(45deg);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .single-back {
    margin-top: 40px;
  }
  .single-back-arrow {
    width: 90px;
  }
  .single-back-text {
    font-size: 14px;
  }
}