@charset "UTF-8";
/* =====================================================
   renewal.css — 2026 リニューアル共通スタイル
   Template/sample.html から抽出 + 内ページ用拡張
   修正 2026-05-14: フォント 1.2x / page-hero 黒背景 / リスト記号除去
   ===================================================== */

/* ════════════════════════════════════════
   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: 17px;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; padding-left: 0; }

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

/* ════════════════════════════════════════
   Skip Link
════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  font-size: 16px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  background: #fff;
  padding: 14px 24px 22px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
}
.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.header-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-logo-link { display: flex; align-items: center; }
.header-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.header-logos a:first-child .header-logo-img { height: 26px; }
.header-hdr-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-hdr-link {
  font-size: 13px;
  color: #666;
  border: 1px solid #ccc;
  padding: 4px 12px;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s;
}
.header-hdr-link:hover { border-color: var(--navy); color: var(--navy); }
.header-hdr-link.is-en {
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.header-hdr-link.is-en:hover { background: #0e2540; border-color: #0e2540; }
.header-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.header-sub {
  font-size: 16px;
  color: #767676;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
  line-height: 1.4;
}
.header-main {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* ハンバーガー（SP用） */
.hamburger {
  display: none;
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}
.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: var(--navy); }
.global-nav__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.global-nav__item { flex: 1; }
.global-nav__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 6px;
  color: #fff;
  transition: background 0.2s;
}
.global-nav__item a:hover,
.global-nav__item a[aria-current="page"] { background: rgba(255,255,255,0.12); }

/* 英語版は単一ラベル（1段）のため、JP版の2段ナビと同じ高さになるよう余白を追加 */
html[lang="en"] .global-nav__item a {
  padding-top: 21px;
  padding-bottom: 21px;
}
.global-nav__ja {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.global-nav__en {
  font-size: 11px;
  color: #9ab8d4;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.global-nav__item--lang { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  overflow: clip;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ════════════════════════════════════════
   RESEARCH (TOP)
════════════════════════════════════════ */
.research-section {
  background: #fff;
  padding: 32px 24px;
}
.research-inner {
  max-width: 900px;
  margin: 0 auto;
}
.research-text {
  background: #fff;
  padding: 24px 36px 14px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-d);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.research-title {
  font-size: 29px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.4;
}
.research-catch {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.12em;
  text-align: center;
  padding: 10px 0 10px;
}
.research-body {
  font-size: 16px;
  color: var(--text-s);
  line-height: 1.9;
  margin-bottom: 10px;
}
.research-body a { color: var(--gold); text-decoration: underline; }
.research-list {
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  color: var(--text-s);
  line-height: 1.9;
  margin-bottom: 10px;
}
.research-list li {
  padding-left: 1.4em;
  position: relative;
}
.research-list li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.85em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.research-list strong { font-weight: 700; color: var(--text); }
.research-photo {
  margin: 0 -36px 24px;
}
.research-photo img {
  width: calc(100% + 72px);
  display: block;
  object-fit: cover;
  max-height: 420px;
  object-position: center 30%;
}
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 30px;
  margin-top: 22px;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.btn-gold:hover { background: var(--gold-d); }

/* ════════════════════════════════════════
   ANNOUNCEMENT (TOP)
════════════════════════════════════════ */
.announcement-section {
  background: var(--navy);
  padding: 48px 24px;
}
.announcement-inner {
  max-width: 900px;
  margin: 0 auto;
}
.announcement-card {
  background: #fff;
  padding: 28px 32px;
  position: relative;
  padding-right: 172px;
  min-height: 200px;
}
.announcement-header {
  margin-bottom: 20px;
}
.announcement-label {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 14px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.announcement-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0;
}
.announcement-body {
  display: flex;
  align-items: flex-start;
}
.announcement-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.announcement-link {
  display: inline-block;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.announcement-link:hover { background: var(--navy); color: #fff; }
.announcement-qr {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 120px;
}
.announcement-note {
  font-size: 12px;
  color: var(--text-s);
  margin-top: 8px;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.announcement-qr img { width: 100%; }

/* ════════════════════════════════════════
   TOPICS (TOP)
════════════════════════════════════════ */
.topics-section {
  background: #fff;
  padding: 64px 24px;
}
.topics-inner {
  max-width: 900px;
  margin: 0 auto;
}
.topics-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 36px;
}
.topics-list { padding: 0 36px; }
.topics-title {
  font-size: 29px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-navy:hover { background: #0e2540; }
.topics-list {
  list-style: none;
  margin-top: 16px;
}
.topics-list li {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px dashed #ccc;
}
.topics-list li:first-child { border-top: 1px dashed #ccc; }
.topics-date {
  font-size: 14px;
  color: #767676;
  white-space: nowrap;
  min-width: 100px;
  flex-shrink: 0;
}
.topics-new {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 7px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  align-self: center;
}
.topics-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}
.topics-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topics-text a:hover { color: var(--gold-d); }

/* ════════════════════════════════════════
   RELATED LINKS (TOP)
════════════════════════════════════════ */
.links-section {
  background: var(--gray-bg);
  padding: 56px 24px;
}
.links-inner {
  max-width: 900px;
  margin: 0 auto;
}
.links-head { margin-bottom: 20px; }
.links-title {
  font-size: 29px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
}
.links-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.links-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid #d0d0d0;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* 英語版はラベルが長いため折り返しを許可、かつ短いラベル(Gifu University / iGCORE / LEADER 等)を長いラベルと同じ高さにする */
html[lang="en"] .links-item {
  white-space: normal;
  line-height: 1.4;
  min-height: 80px;
}
html[lang="en"] .links-list { align-items: stretch; }
html[lang="en"] .links-list > li { display: flex; }
html[lang="en"] .links-list > li > .links-item { width: 100%; }
.links-item:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ════════════════════════════════════════
   PAGE TOP
════════════════════════════════════════ */
.pagetop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 62px;
  height: 62px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  cursor: pointer;
  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: 13px; line-height: 1; margin-bottom: 2px; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.footer-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,25,45,0.6), rgba(10,25,45,0.85));
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 24px 28px;
  text-align: center;
}
.footer-univ {
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  line-height: 1.6;
}
.footer-logo-ja {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 22px;
}
.footer-contact {
  font-style: normal;
  font-size: 14px;
  color: #fff;
  line-height: 2;
  margin-bottom: 28px;
}
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: #fff; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid #fff;
  padding-top: 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-size: 14px;
  padding: 6px 14px;
  transition: color 0.2s;
}
.footer-nav a + a { border-left: 1px solid rgba(255,255,255,0.18); }
.footer-nav a:hover { color: #fff; }
.footer-copy {
  font-size: 12px;
  color: #fff;
  padding-bottom: 8px;
}

/* ════════════════════════════════════════
   INNER PAGES (内ページ共通)
   修正 2026-05-14: page-hero 背景を黒に
════════════════════════════════════════ */
.page-hero {
  background: #000;
  padding: 36px 24px;
  color: #fff;
}
.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.page-hero__label {
  font-size: 12px;
  font-weight: 700;
  color: #d6b06a;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.page-hero__title {
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.content-section {
  background: #fff;
  padding: 48px 24px 64px;
}
.content-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 12px;
}
.content-inner h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
}
.content-inner h2:first-child { margin-top: 0; }
.content-inner h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}
.content-inner h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
}
.content-inner p {
  font-size: 16px;
  color: var(--text-s);
  line-height: 1.95;
  margin-bottom: 14px;
}
.content-inner p a,
.content-inner li a,
.content-inner td a { color: var(--gold); text-decoration: underline; }
.content-inner p a:hover,
.content-inner li a:hover { color: var(--gold-d); }
.content-inner ul,
.content-inner ol {
  font-size: 16px;
  color: var(--text-s);
  line-height: 1.95;
  margin: 0 0 16px 1.6em;
  list-style: none;
  padding-left: 0;
}
.content-inner li { margin-bottom: 4px; }
.content-inner img { max-width: 100%; height: auto; margin: 14px 0; }
.content-inner figure { margin: 18px 0; }
.content-inner figure img { margin: 0 auto; }
.content-inner figcaption {
  font-size: 14px;
  color: var(--text-s);
  text-align: center;
  margin-top: 6px;
}
.content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 16px;
}
.content-inner th,
.content-inner td {
  border: 1px solid #d0d0d0;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.content-inner th {
  background: #f0f4f8;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

/* メンバー一覧 */
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
  list-style: none;
  padding-left: 0;
}
.member-grid li {
  background: #f7f7f7;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  font-size: 16px;
}

/* 写真ギャラリー */
/* 写真ギャラリー: old フォルダの表示サイズに合わせる方針。
   各 img の width 属性（old から移植した個別幅）で表示し、flex-wrap で旧サイト風に流す。
   指摘4: 縦横比を維持（object-fit: cover を使わない）→ 顔・ロゴが切れない
   指摘5/解像度: 元画像(高解像度)を old の小さめ幅で表示するため粗く見えない */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 18px;
  margin: 16px 0;
  list-style: none;
  padding-left: 0;
}
.photo-gallery li {
  list-style: none;
}
.photo-gallery li img {
  /* width は各 img の HTML 属性（old 準拠の表示サイズ）に従う。CSS では width を指定しない */
  max-width: 100%;
  height: auto;
  display: block;
}
.photo-gallery figcaption {
  font-size: 14px;
  color: var(--text-s);
  text-align: center;
  padding: 4px 8px 10px;
}

/* 年度切替（写真ページ） */
.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
  list-style: none;
  padding: 0;
}
.year-tabs li a {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: #fff;
  transition: background 0.2s, color 0.2s;
}
.year-tabs li a:hover,
.year-tabs li a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

/* 業績リスト（番号は ::before カウンタのみで表示） */
.pub-list,
.content-inner ol.pub-list,
.content-inner ul.pub-list {
  list-style: none;
  counter-reset: pub;
  margin: 0;
  padding: 0;
}
.pub-list > li {
  position: relative;
  padding: 12px 0 12px 48px;
  border-bottom: 1px dashed #ccc;
  font-size: 16px;
  color: var(--text-s);
  line-height: 1.85;
  list-style: none;
}
.pub-list > li::before {
  counter-increment: pub;
  content: counter(pub) ".";
  position: absolute;
  left: 4px;
  top: 12px;
  font-weight: 700;
  color: var(--navy);
}

/* お知らせ／お問い合わせ */
.info-card {
  background: #f7f7f7;
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  margin: 18px 0;
  font-size: 16px;
  color: var(--text-s);
}

/* サイトマップ — リンクは全て同色（gold系）に統一 */
.sitemap-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-tree > li {
  border-bottom: 1px dashed #ccc;
  padding: 10px 0;
  font-size: 16px;
  list-style: none;
}
.sitemap-tree a {
  color: var(--gold);
  font-weight: 400;
  text-decoration: underline;
}
.sitemap-tree a:hover { color: var(--gold-d); }
.sitemap-tree ul {
  margin: 6px 0 0 24px;
  list-style: none;
  font-size: 16px;
  padding-left: 0;
}
.sitemap-tree ul li {
  padding-left: 1em;
  position: relative;
}
.sitemap-tree ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* トピックスページ（一覧） */
.topics-archive {
  list-style: none;
  margin: 0;
  padding: 0;
}
.topics-archive > li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 16px;
  align-items: baseline;
  list-style: none;
}
.topics-archive > li:first-child { border-top: 1px dashed #ccc; }
.topics-archive .date {
  color: #767676;
  font-size: 14px;
  white-space: nowrap;
}
.topics-archive .body { color: var(--text-s); line-height: 1.9; }
.topics-archive .body a { color: var(--gold); text-decoration: underline; }

/* ════════════════════════════════════════
   RESPONSIVE  ≤ 768px
════════════════════════════════════════ */
@media (max-width: 768px) {
  body { font-size: 16px; }

  /* header */
  .site-header { padding: 10px 16px; }
  .header-hdr-links { display: none; }
  .header-logos { gap: 12px; }
  .header-logo-img { height: 30px; }
  .header-logos a:first-child .header-logo-img { height: 22px; }
  .header-sub { font-size: 12px; }
  .header-main { font-size: 20px; }
  .hamburger { display: block; }

  /* nav */
  .global-nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }
  .global-nav.is-open { max-height: 760px; }
  .global-nav__inner { flex-direction: column; }
  .global-nav__item a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .global-nav__ja { font-size: 14px; }
  .global-nav__en { font-size: 11px; margin-top: 0; }
  .global-nav__item--lang { display: block; }
  .global-nav__item--lang .nav-lang-inner {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  .global-nav__item--lang .nav-lang-label {
    font-size: 11px;
    color: #9ab8d4;
    letter-spacing: 0.12em;
    margin-right: 16px;
  }
  .global-nav__item--lang .nav-lang-btn {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
    transition: background 0.2s, border-color 0.2s;
  }
  .global-nav__item--lang .nav-lang-btn + .nav-lang-btn { margin-left: 8px; }
  .global-nav__item--lang .nav-lang-btn.is-active,
  .global-nav__item--lang .nav-lang-btn:hover { background: var(--gold); border-color: var(--gold); }

  /* research */
  .research-section { padding: 20px 16px; }
  .research-text { padding: 20px 18px; }
  .research-title { font-size: 24px; }
  .research-photo { margin: 0 -18px 18px; }
  .research-photo img { width: calc(100% + 36px); }

  /* announcement */
  .announcement-section { padding: 36px 16px; }
  .announcement-card { padding: 22px 20px; padding-right: 20px; }
  .announcement-header { white-space: normal; }
  .announcement-title { font-size: 17px; }
  .announcement-body { flex-direction: column; gap: 20px; }
  .announcement-qr { position: static; width: 90px; margin-top: 16px; }

  /* topics */
  .topics-section { padding: 48px 16px; }
  .topics-inner { max-width: 100%; }
  .topics-header { padding: 0 18px; }
  .topics-list { padding: 0 18px; }
  .topics-title { font-size: 24px; }
  .topics-list li { flex-direction: column; gap: 6px; }

  /* links */
  .links-section { padding: 40px 16px; }
  .links-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .links-item { font-size: 12px; padding: 12px 6px; }

  /* pagetop */
  .pagetop { bottom: 20px; right: 16px; width: 54px; height: 54px; }

  /* footer */
  .footer-inner { padding: 40px 16px 20px; }
  .footer-logo-ja { font-size: 20px; }
  .footer-nav a { font-size: 13px; padding: 8px 10px; }

  /* inner pages */
  .page-hero { padding: 28px 16px; }
  .page-hero__title { font-size: 24px; }
  .content-section { padding: 32px 16px 48px; }
  .content-inner { padding: 0; }
  .content-inner h2 { font-size: 22px; }
  .content-inner h3 { font-size: 18px; }
  .member-grid { grid-template-columns: 1fr; }
  /* 写真ギャラリーは flex-wrap。スマホでは中央寄せで折り返す */
  .photo-gallery { justify-content: center; }
  .topics-archive > li { grid-template-columns: 1fr; gap: 4px; }
}

/* ════════════════════════════════════════
   PC（769px以上）: 本文内の図・写真を右フロートし
   テキストを横に回り込ませる（指摘2・3 案A 旧サイト準拠）
   スマホ（768px以下）は中央寄せのまま変更しない
   ※ .content-inner の直接の子 figure のみ対象
     （.photo-gallery 内の figure には適用しない）
   ════════════════════════════════════════ */
@media (min-width: 769px) {
  /* フロート回り込みは .content-inner--wrap を付与したページのみに限定
     （研究内容・教員プロフィールページ。contact/member 等には適用しない） */
  .content-inner--wrap > figure {
    float: right;
    clear: right;
    max-width: 45%;
    margin: 6px 0 16px 28px;
  }
  /* 画像をfigureボックス内で中央寄せし、中央寄せのfigcaptionと
     左右中央位置を揃える（説明文が画像より幅広い図9などのズレ対策） */
  .content-inner--wrap > figure img { display: block; margin: 0 auto; }
  /* 見出しは図の横に回り込ませず、常に全幅で開始する（h4 含む） */
  .content-inner--wrap > h2,
  .content-inner--wrap > h3,
  .content-inner--wrap > h4 { clear: both; }
  /* フロートをセクション内に収める（clearfix） */
  .content-inner--wrap::after {
    content: "";
    display: block;
    clear: both;
  }
}
