/*
Theme Name: 道辻洋平研究室
Theme URI: https://railway-bogie.jp/
Author: 道辻洋平研究室
Author URI: https://railway-bogie.jp/
Description: 茨城大学 工学部 機械システム工学科 道辻洋平研究室（車両計測・制御研究室）公式サイト用 WordPress テーマ。静的サイトのデザインを忠実に再現し、新着情報を投稿、各固定ページ本文を the_content() で管理可能にしています。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: railway-bogie
Tags: education, custom-menu, featured-images, translation-ready
*/

/* ════════════════════════════════════════════════════════════
   以下、静的サイト HTML/css/style.css の全内容（無改変コピー）
   ════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════
   Reset & Base
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium',
               'Yu Gothic', 'Meiryo', sans-serif;
  color: #333;
  line-height: 1.75;
  font-size: 14px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ════════════════════════════════════════
   Variables
════════════════════════════════════════ */
:root {
  --navy:   #1a3a5c;
  --gold:   #c8922a;
  --gold-d: #a87422;
  --gray-bg:#e8e8e8;
  --text:   #333333;
  --text-s: #555555;
}

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  background: #fff;
  padding: 18px 24px 16px;
  position: relative;
  border-bottom: 1px solid #eee;
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-logo {
  flex-shrink: 0;
  display: block;
  margin-right: 24px;
}
.header-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.header-title {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.header-sub {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.header-main {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  line-height: 1.3;
}
.header-main .lab-sub {
  color: var(--gold);
  font-size: 20px;
  margin-left: 8px;
}
.header-lang {
  flex-shrink: 0;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 8px 18px;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}
.header-lang:hover {
  background: var(--navy);
  color: #fff;
}
/* ハンバーガー（SP用） */
.hamburger {
  display: none;
  position: absolute;
  top: 6px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #444;
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ════════════════════════════════════════
   GLOBAL NAV
════════════════════════════════════════ */
.global-nav { background: #000; }
.global-nav__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  list-style: none;
}
.global-nav__item {
  flex: 1;
}
.global-nav__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.global-nav__item a:hover { background: rgba(255,255,255,0.12); }
.global-nav__item + .global-nav__item a {
  border-left: 1px solid rgba(255,255,255,0.12);
}

/* ════════════════════════════════════════
   HERO (infinite marquee)
════════════════════════════════════════ */
.hero {
  position: relative;
  box-sizing: content-box; /* border-top(32px)を高さに含めず、画像表示領域を確実に150pxにする（下切れ防止） */
  height: 150px;
  overflow: hidden;
  background: #2c4a68;
  border-top: 32px solid #2c4a68;
}
.marquee {
  display: flex;
  width: max-content;
  height: 100%;
  gap: 20px;
  padding-right: 20px;
  animation: marquee-scroll 60s linear infinite;
}
.marquee__item {
  height: 150px;
  flex-shrink: 0;
}
.marquee__item img {
  height: 150px;   /* 高さ150pxで統一 */
  width: auto;     /* 元画像が950×700(=95:70)なので幅は自動で約204px・全体表示／切れ・余白なし */
  display: block;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero { pointer-events: none; }

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about-section {
  background: var(--navy);
  padding: 28px 24px;
}
.about-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-text {
  background: #fff;
  padding: 40px 44px;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.about-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.4;
}
.about-body {
  font-size: 14px;
  color: var(--text-s);
  line-height: 2;
}

/* ════════════════════════════════════════
   TOPICS
════════════════════════════════════════ */
.topics-section {
  background: #fff;
  padding: 64px 24px;
}
.topics-inner {
  max-width: 820px;
  margin: 0 auto;
}
.topics-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
}
.topics-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  padding: 8px 20px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-navy:hover { background: #0e2540; }
/* ボタンの文字色は全状態で白を維持（リンクの訪問済み色などに上書きされないように） */
a.btn-navy,
a.btn-navy:link,
a.btn-navy:visited,
a.btn-navy:hover,
a.btn-navy:active { color: #fff; }
/* コンテンツ内リンク用ボタン（btn-navy をベースに少し大きめ） */
.btn-lg {
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 4px;
  color: #fff;
}
/* PDFリンク用ボタン（研究の概要など）: 先頭にPDFアイコン */
.btn-pdf::before {
  content: "📄";
  margin-right: 8px;
}
/* 外部リンク用ボタン（researchmapなど）: 先頭にリンクアイコン */
.btn-extlink::before {
  content: "🔗";
  margin-right: 8px;
}
.topics-list {
  list-style: none;
  margin-top: 16px;
}
.topics-list li {
  display: grid;
  grid-template-columns: 48px 140px 1fr;
  align-items: baseline;
  column-gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px dashed #ccc;
}
.topics-list li:first-child { border-top: 1px dashed #ccc; }
.topics-new {
  justify-self: start;
  display: inline-block;
  background: #d9534f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1;
  position: relative;
  top: -2px;
}
.topics-list li:not(:has(.topics-new)) .topics-date { grid-column: 2; }
.topics-date {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}
.topics-text { font-size: 14px; color: var(--text); line-height: 1.8; }
.topics-text a { color: var(--navy); text-decoration: underline; word-break: break-all; }
.topics-text a:hover { color: var(--gold); }

/* ════════════════════════════════════════
   FOOTER BANNER
════════════════════════════════════════ */
.banner-section {
  background: var(--gray-bg);
  padding: 48px 24px;
}
.banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.banner-item {
  min-width: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 12px 8px;
  transition: box-shadow 0.2s, color 0.2s;
}
.banner-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  color: var(--gold);
}
.banner-item--logo { padding: 10px; }
.banner-item--logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}
.banner-inner--sub {
  margin-top: 14px;
}
.banner-item--sm {
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ════════════════════════════════════════
   PAGE TOP
════════════════════════════════════════ */
.pagetop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 70px;    /* 丸を約1.2倍に拡大（58px→70px）。文字サイズは据え置き */
  height: 70px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8px;   /* 文字サイズは変更なし */
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
}
.pagetop.is-visible { opacity: 1; pointer-events: auto; }
.pagetop:hover { background: var(--gold-d); }
.pagetop__arrow {
  font-size: 10px;   /* ▲を小さく（15px→10px） */
  line-height: 1;
  margin-bottom: 2px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 24px 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-left {
  flex: 1;
  min-width: 0;
}
.footer-brand {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand__sub {
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.footer-brand__main {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.footer-brand__lab {
  color: #fff;
  font-size: 16px;
  margin-left: 6px;
}
.footer-contact {
  text-align: left;
  color: #d4e0ee;
  font-size: 13px;
  line-height: 1.9;
}
.footer-contact__block {
  margin-bottom: 10px;
}
.footer-contact__block:last-child { margin-bottom: 0; }
.footer-contact__title {
  display: block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.footer-nav {
  flex-shrink: 0;
}
.footer-nav ul {
  list-style: none;
  display: grid;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  grid-auto-columns: auto;
  gap: 10px 28px;
  justify-content: start;
  text-align: left;
}
.footer-nav a {
  color: #d4e0ee;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  padding: 2px 0;
}
.footer-nav a::before {
  content: '＞';
  color: var(--gold);
  margin-right: 6px;
  font-size: 11px;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 12px;
  color: #b0c4d8;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ════════════════════════════════════════
   RESPONSIVE  ≤ 768px
════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-header { padding: 12px 16px 10px; }
  .header-inner { gap: 12px; }
  .header-logo img { height: 40px; }
  .header-sub { font-size: 11px; }
  .header-main { font-size: 16px; }
  .header-main .lab-sub { font-size: 12px; display: block; margin-left: 0; margin-top: 2px; }
  .header-lang { display: none; }
  .hamburger { display: block; position: static; }

  .global-nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }
  .global-nav.is-open { max-height: 560px; }
  .global-nav__inner { flex-direction: column; }
  .global-nav__item a {
    justify-content: flex-start;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-left: none !important;
  }

  .hero { height: 150px; border-top-width: 20px; }
  .marquee, .marquee__item, .marquee__item img { height: 150px; }
  .marquee__item img { width: auto; }

  .about-section { padding: 20px 16px; }
  .about-text { padding: 28px 22px; }
  .about-title { font-size: 20px; }

  .topics-section { padding: 48px 16px; }
  .topics-title { font-size: 22px; }
  .topics-list li {
    grid-template-columns: 44px auto;
    row-gap: 6px;
    column-gap: 10px;
  }
  .topics-list li .topics-text { grid-column: 1 / -1; }
  .topics-list li:not(:has(.topics-new)) .topics-date { grid-column: 1 / -1; }

  .banner-section { padding: 32px 16px; }
  .banner-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .banner-item { min-height: 60px; }

  .pagetop { bottom: 20px; right: 16px; width: 60px; height: 60px; }

  .footer-top { flex-direction: column; gap: 20px; }
  .footer-brand__main { font-size: 18px; }
  .footer-brand__lab { font-size: 14px; display: block; margin-left: 0; margin-top: 2px; }
  .footer-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    gap: 10px 16px;
  }
}

/* ════════════════════════════════════════════════════════════
   SUBPAGE 共通レイアウト
   （各固定ページ HTML の <head> 内 <style> を統合してここに集約）
   ════════════════════════════════════════════════════════════ */

/* --- ページヒーロー / パンくず / 本文枠（全サブページ共通） --- */
.page-hero { background: var(--navy); padding: 40px 24px 36px; }
.page-hero__inner { max-width: 820px; margin: 0 auto; }
.page-hero__label { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 8px; }
.page-hero__title { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: 0.06em; line-height: 1.3; margin: 8px 0 0; }
.breadcrumb { font-size: 12px; color: #888; display: flex; gap: 6px; align-items: center; max-width: 868px; margin: 0 auto; padding: 8px 24px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: #7090a8; }

.subpage-main { background: #fff; padding: 56px 24px 72px; }
.subpage-inner { max-width: 820px; margin: 0 auto; }

.subpage-inner h2 { font-size: 22px; font-weight: 700; color: var(--navy); border-left: 4px solid var(--gold); padding-left: 16px; margin: 40px 0 16px; line-height: 1.4; }
.subpage-inner h2:first-child { margin-top: 0; }
.subpage-inner h3 { font-size: 17px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 6px; margin: 32px 0 12px; }
.subpage-inner p { font-size: 14px; color: var(--text-s); line-height: 2; margin-bottom: 12px; }
.subpage-inner a { color: var(--navy); text-decoration: underline; }
.subpage-inner a:hover { color: var(--gold); }
/* the_content() が出力するリスト等の基本余白 */
.subpage-inner ul, .subpage-inner ol { margin: 0 0 16px 1.4em; }
.subpage-inner img { max-width: 100%; height: auto; }

/* --- 新着情報一覧（archive） --- */
.archive-list .topics-text a { color: var(--navy); text-decoration: underline; word-break: break-all; }
.archive-list .topics-text a:hover { color: var(--gold); }

/* --- メンバー（member） --- */
.member-table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; font-size: 14px; }
.member-table th, .member-table td { border: 1px solid #ccc; padding: 10px 14px; vertical-align: top; }
.member-table th { background: var(--navy); color: #fff; font-weight: 700; text-align: center; width: 120px; }
.member-table td { color: var(--text-s); line-height: 1.9; }
.member-table tr:nth-child(even) td { background: #f7f9fc; }
.prof-block { background: #f0f4f9; border-left: 4px solid var(--navy); padding: 20px 24px; margin: 20px 0 32px; }
.prof-block p { margin-bottom: 6px; }
.prof-block .prof-name { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }

/* --- 研究テーマ（research） --- */
.research-img { margin: 24px 0; }
.research-img img { max-width: 100%; border: 1px solid #e0e0e0; }
.research-img figcaption { font-size: 12px; color: #888; margin-top: 6px; }
.theme-list { list-style: none; margin: 0 0 24px; padding: 0; }
.theme-list li { font-size: 14px; color: var(--text-s); padding: 6px 0 6px 20px; border-bottom: 1px dashed #ddd; position: relative; line-height: 1.8; }
.theme-list li::before { content: '・'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* --- 研究成果（results） --- */
.results-section { margin-bottom: 40px; }
.award-list { list-style: none; margin: 0 0 24px; padding: 0; }
.award-list li { font-size: 14px; color: var(--text-s); padding: 6px 0 6px 0; border-bottom: 1px dashed #ddd; line-height: 1.8; }
.pub-list { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: pub-counter 26; }
.pub-list li { font-size: 13px; color: var(--text-s); padding: 8px 0 8px 36px; border-bottom: 1px dashed #ddd; position: relative; line-height: 1.8; counter-increment: pub-counter -1; }
.pub-list li::before { content: '[' counter(pub-counter, decimal) ']'; position: absolute; left: 0; color: var(--navy); font-weight: 700; font-size: 12px; }
.pdf-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 16px 0 24px; }
.subpage-inner .pdf-link { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; text-decoration: none; transition: background 0.2s; }
.subpage-inner .pdf-link:hover { background: var(--gold); color: #fff; }

/* --- アクセス（access） --- */
.access-info { background: #f0f4f9; padding: 24px 28px; margin: 20px 0 32px; border-left: 4px solid var(--navy); }
.access-info p { margin-bottom: 8px; }
.subpage-inner .access-map-link { display: inline-block; margin: 16px 0; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; text-decoration: none; transition: background 0.2s; }
.subpage-inner .access-map-link:hover { background: var(--gold); color: #fff; }
.access-img { float: right; margin: 0 0 16px 24px; max-width: 280px; border: 1px solid #ddd; }
.access-img img { max-width: 100%; }
.clearfix::after { content: ''; display: table; clear: both; }
.notice { color: #c0392b; font-weight: 700; font-size: 14px; line-height: 1.8; margin-bottom: 24px; padding: 14px 18px; background: #fff5f5; border-left: 4px solid #c0392b; }

/* --- 講義・授業関連（lecture） --- */
.lecture-list { list-style: none; margin: 0 0 24px; padding: 0; }
.lecture-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed #ddd; font-size: 14px; color: var(--text-s); }
.lecture-list li:first-child { border-top: 1px dashed #ddd; }
.lecture-list .lec-name { font-weight: 700; color: var(--navy); min-width: 200px; }
.lecture-list .lec-info { color: #777; font-size: 13px; }
.notice-box { background: #f0f4f9; border-left: 4px solid var(--navy); padding: 16px 20px; margin: 24px 0; font-size: 13px; color: var(--text-s); line-height: 2; }

/* --- リンク（links） --- */
.link-list { list-style: none; margin: 16px 0 32px; padding: 0; }
.link-list li { border-bottom: 1px dashed #ddd; }
.link-list li a { display: flex; align-items: center; gap: 10px; padding: 16px 8px; font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; transition: color 0.2s, background 0.2s; }
.link-list li a:hover { color: var(--gold); background: #f7f9fc; }
.link-list li a::before { content: '＞'; color: var(--gold); font-size: 12px; flex-shrink: 0; }

/* --- OB・OG（ob-og） --- */
.ob-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 13px; }
.ob-table th, .ob-table td { border: 1px solid #ccc; padding: 8px 10px; vertical-align: top; }
.ob-table th { background: var(--navy); color: #fff; font-weight: 700; text-align: center; white-space: nowrap; }
.ob-table td { color: var(--text-s); line-height: 1.8; }
.ob-table tr:nth-child(even) td { background: #f7f9fc; }
.ob-table .year { text-align: center; white-space: nowrap; width: 48px; }
.career-box { background: #f0f4f9; border-left: 4px solid var(--gold); padding: 16px 20px; margin: 8px 0 28px; font-size: 13px; color: var(--text-s); line-height: 2; }
.note-small { font-size: 11px; color: #888; margin-top: 4px; }

/* --- 研究室の風景（scenery） --- */
.photo-block { margin: 28px 0; }
.photo-block img { width: 100%; max-width: 520px; height: auto; display: block; border: 1px solid #ddd; }
.photo-block figcaption { margin-top: 10px; font-size: 13px; color: var(--text-s); line-height: 1.8; }
/* 研究室の風景: PC端末では写真を2列で表示 */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin: 28px 0; }
.photo-grid .photo-block { margin: 0; }
.photo-grid .photo-block img { max-width: 100%; }
@media (max-width: 768px) { .photo-grid { grid-template-columns: 1fr; } } /* スマホ等では1列 */

/* --- サイトマップ（sitemap） --- */
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li { border-bottom: 1px dashed #ddd; }
.sitemap-list li:first-child { border-top: 1px dashed #ddd; }
.sitemap-list li a { display: block; padding: 12px 4px; font-size: 15px; color: var(--navy); text-decoration: none; }
.sitemap-list li a:hover { color: var(--gold); text-decoration: underline; }

/* --- 投稿単体（single） --- */
.single-content { margin-top: 8px; }
.single-content p { font-size: 14px; color: var(--text-s); line-height: 2; margin-bottom: 16px; }
.single-content a { color: var(--navy); text-decoration: underline; word-break: break-all; }
.single-content a:hover { color: var(--gold); }
.single-date { font-size: 13px; color: #d4e0ee; letter-spacing: 0.08em; }
.back-to-list { margin-top: 40px; }
.back-to-list a { display: inline-block; background: var(--navy); color: #fff; font-size: 13px; padding: 10px 24px; letter-spacing: 0.06em; transition: background 0.2s; text-decoration: none; }
.back-to-list a:hover { background: #0e2540; color: #fff; }

/* --- ページネーション（home/archive） --- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: inline-block; min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid #ccc; color: var(--navy); font-size: 13px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination a.page-numbers:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* --- レスポンシブ（各サブページ <style> 内 @media を統合） --- */
@media (max-width: 768px) {
  .page-hero__title { font-size: 20px; }
  .subpage-inner h2 { font-size: 18px; }
  .member-table th { width: 80px; }
  .pdf-links { flex-direction: column; }
  .access-img { float: none; margin: 0 0 16px 0; max-width: 100%; }
  .lecture-list li { flex-direction: column; gap: 4px; }
  .lecture-list .lec-name { min-width: auto; }
  .link-list li a { font-size: 14px; }
  .ob-table { font-size: 12px; }
  .sitemap-list li a { font-size: 14px; }
}
