/* ==========================================================================
   Gannon University 中国語サイト — デザインシステム
   Palette (元デザインから抽出): maroon #64031A / gold #EDB54F / cream #F4F1EB
   ========================================================================== */

:root {
  /* Brand colors */
  --maroon-900: #4E0919;
  --maroon-800: #64031A;
  --maroon-700: #7A0F2B;
  --maroon-600: #8F1A38;
  --gold-500: #EDB54F;
  --gold-600: #D99A2E;
  --gold-700: #B9801F;

  /* Neutrals */
  --cream: #F4F1EB;
  --cream-deep: #ECE6DB;
  --white: #FFFFFF;
  --ink-900: #2A2019;
  --ink-700: #4A3F36;
  --ink-500: #6E6255;
  --line: #E4DBCB;
  --line-strong: #D8CBB2;

  /* Type
     中国本土からのアクセスを前提に、Google Fonts等の外部CDNには一切依存しません。
     各OSに標準搭載されている中国語フォントのみを指定します（Web字体のダウンロード無し）。
     - macOS/iOS  : PingFang SC / Songti SC
     - Windows    : Microsoft YaHei（微软雅黑）/ SimSun（宋体）
     - Android等  : Noto Sans CJK SC（端末プリインストールのもの。CDN読込はしない） */
  --font-display: "Songti SC", "STSong", "SimSun", "Microsoft YaHei", "PingFang SC", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 14px rgba(42, 32, 25, 0.07);
  --shadow-hover: 0 10px 30px rgba(100, 3, 26, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  line-height: 1.35;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold-500);
  color: var(--maroon-900);
}
.btn-gold:hover { background: var(--gold-600); box-shadow: var(--shadow-hover); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.85);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-outline-maroon {
  background: transparent;
  border-color: var(--maroon-700);
  color: var(--maroon-700);
  padding: 10px 22px;
  font-size: 14px;
}
.btn-outline-maroon:hover { background: var(--maroon-700); color: var(--white); }
.btn-maroon {
  background: var(--maroon-800);
  color: var(--white);
}
.btn-maroon:hover { background: var(--maroon-900); box-shadow: var(--shadow-hover); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--maroon-700);
  font-size: 14px;
  transition: gap 0.15s ease;
}
.link-arrow:hover { gap: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--maroon-800);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--maroon-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  border: 2px solid #fff3da;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.logo-word small { display: block; font-size: 11px; letter-spacing: 0.18em; color: var(--gold-500); font-weight: 400; }

/* Official logo assets */
.logo-badge-img { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-wordmark-img { height: 24px; width: auto; display: block; }
.logo-text small {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  white-space: nowrap;
}
.footer-logo .logo-wordmark-img { height: 30px; margin-bottom: 4px; }

.utility-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.utility-nav a {
  color: var(--gold-500);
  font-size: 14.5px;
  font-weight: 700;
  transition: color 0.15s ease;
}
.utility-nav a:hover { color: var(--white); }
.icon-btn {
  background: none;
  border: none;
  color: var(--white);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn svg { width: 20px; height: 20px; }

/* Mega menu */
.main-nav-bar {
  background: var(--maroon-900);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 13px 16px;
  color: rgba(255,255,255,0.92);
  font-size: 14.5px;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.main-nav > li:hover > a,
.main-nav > li > a:focus-visible {
  border-color: var(--gold-500);
  background: rgba(255,255,255,0.05);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.16s ease;
  z-index: 50;
}
.main-nav > li:hover .dropdown,
.main-nav > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: 14px;
}
.dropdown a:hover { background: var(--cream); color: var(--maroon-800); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  width: 26px;
  height: 26px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media .ph-fill {
  width: 100%; height: 100%;
}
.hero-media .ph-fill .ph-label {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: auto;
  top: auto;
  transform: none;
  flex-direction: row;
  font-size: 11px;
  opacity: 0.55;
}
.hero-media .ph-fill .ph-label svg { width: 16px; height: 16px; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,7,14,0.86) 0%, rgba(30,7,14,0.55) 38%, rgba(30,7,14,0.08) 62%, rgba(30,7,14,0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 80px 0;
}
.hero-content h1 {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 6px;
}
.hero-content .hero-sub {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold-500);
  margin-bottom: 22px;
}
.hero-content p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 28px;
}
.hero-content p span { color: var(--gold-500); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--maroon-800);
  color: var(--white);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
}
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-item svg { width: 34px; height: 34px; color: var(--gold-500); flex-shrink: 0; }
.stat-item .num { font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.stat-item .cap { font-size: 13.5px; color: rgba(255,255,255,0.82); }

/* ---------- Section shell ---------- */
.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 34px;
}
.section-title.left { text-align: left; margin-bottom: 22px; }
.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Why cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 14px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--gold-500); }
.why-card svg { width: 36px; height: 36px; color: var(--maroon-700); margin: 0 auto 12px; }
.why-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.why-card p { margin: 0; font-size: 12.5px; color: var(--ink-500); }
.center-link { text-align: center; margin-top: 24px; }

/* ---------- Major cards ---------- */
.major-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.major-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.major-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.major-card-body { padding: 20px 20px 6px; flex: 1; }
.major-card h3 {
  display: flex; align-items: center; gap: 9px;
  font-size: 16.5px; margin-bottom: 12px;
}
.major-card h3 svg { width: 22px; height: 22px; color: var(--gold-600); flex-shrink: 0; }
.major-card ul { margin-bottom: 4px; }
.major-card li {
  font-size: 13.5px;
  color: var(--ink-700);
  padding: 3px 0 3px 14px;
  position: relative;
}
.major-card li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--maroon-600);
}
.major-photo { aspect-ratio: 16/10; }
.major-card-foot { padding: 16px 20px 20px; }

/* ---------- Placeholder photo blocks ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(100,3,26,0.06) 0 10px, rgba(100,3,26,0.02) 10px 20px),
    linear-gradient(160deg, #E9E2D4, #DDD3BE);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-700);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px dashed rgba(100,3,26,0.28);
  margin: 6px;
  border-radius: inherit;
}
.ph-label {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 0 12px;
  color: var(--maroon-800);
  opacity: 0.75;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ph-label svg { width: 26px; height: 26px; opacity: 0.7; }
.ph-fill { border-radius: 0; }
.ph.rounded { border-radius: var(--radius-md); }

/* ---------- Scholarship band ---------- */
.scholar-band {
  background: linear-gradient(120deg, var(--maroon-900), var(--maroon-700));
  color: var(--white);
}
.scholar-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 30px;
  align-items: center;
  padding: 40px 0;
}
.scholar-title { display: flex; align-items: center; gap: 14px; }
.scholar-title svg { width: 44px; height: 44px; color: var(--gold-500); flex-shrink: 0; }
.scholar-title h3 { color: var(--white); font-size: 21px; }
.scholar-amount .label { font-size: 14px; color: rgba(255,255,255,0.85); }
.scholar-amount .amount { font-family: var(--font-display); font-size: 44px; color: var(--gold-500); font-weight: 700; }
.scholar-amount .amount sup { font-size: 16px; font-weight: 400; color: var(--white); margin-left: 4px; }
.scholar-detail p { margin: 0 0 4px; font-size: 14.5px; }
.scholar-detail strong { color: var(--gold-500); }
.scholar-detail .note { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-bottom: 14px; }

/* ---------- Experience strip ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.exp-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.exp-photo { aspect-ratio: 4/3; }
.exp-cap { padding: 10px 6px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-700); }

/* ---------- Campus life split ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.split-photo { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.mini-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mini-icon { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 6px; }
.mini-icon svg { width: 24px; height: 24px; color: var(--maroon-700); margin: 0 auto 6px; }
.mini-icon .num { font-weight: 700; font-size: 15px; color: var(--ink-900); }
.mini-icon .cap { font-size: 11.5px; color: var(--ink-500); }

.feature-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; font-size: 14.5px; }
.feature-list svg { width: 22px; height: 22px; color: var(--maroon-700); flex-shrink: 0; margin-top: 2px; }
.feature-list-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }

/* ---------- Support icons ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.support-card {
  text-align: center;
  padding: 26px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.support-card svg { width: 32px; height: 32px; color: var(--maroon-800); margin: 0 auto 12px; }
.support-card p { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-700); }
.support-card small { display:block; font-size: 11px; font-weight: 400; color: var(--ink-500); margin-top: 3px; }

/* ---------- Ranking band ---------- */
.rank-band { background: var(--maroon-800); color: var(--white); padding: 46px 0 0; }
.rank-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.rank-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rank-item { display: flex; gap: 12px; }
.rank-item svg { width: 30px; height: 30px; color: var(--gold-500); flex-shrink: 0; }
.rank-item p { margin: 0; font-size: 14px; font-weight: 700; }
.rank-item span { display: block; font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.75); margin-top: 3px; }

.wechat-card {
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  width: 190px;
}
.wechat-card h5 { font-size: 13.5px; color: var(--maroon-800); margin-bottom: 10px; }
.wechat-qr {
  width: 100%;
  aspect-ratio: 1;
  background: repeating-conic-gradient(#2A2019 0% 25%, #fff 0% 50%) 0 0/12px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.wechat-card .wc-name { font-size: 12px; font-weight: 700; }

.cta-final {
  position: relative;
  padding: 50px 0;
  overflow: hidden;
}
.cta-final .ph { position: absolute; inset: 0; z-index: 0; opacity: 0.35; }
.cta-final-inner { position: relative; z-index: 1; }
.cta-final h2 { color: var(--white); font-size: 27px; margin-bottom: 6px; }
.cta-final .tagline { color: var(--gold-500); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 22px; }
.cta-final .hero-actions { justify-content: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-900); color: rgba(255,255,255,0.82); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; color: rgba(255,255,255,0.82); }
.footer-nav a:hover { color: var(--gold-500); }
.footer-contact { text-align: right; font-size: 12.5px; line-height: 1.6; }

/* ---------- Language switch pill (top-most bar) ---------- */
.lang-bar {
  background: var(--maroon-900);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
}
.lang-bar .container { display: flex; justify-content: flex-end; gap: 14px; padding: 6px 24px; }
.lang-bar span.current { color: var(--gold-500); font-weight: 700; }

/* ---------- Mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--maroon-900);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-close { background: none; border: none; color: var(--white); width: 26px; height: 26px; }
.mobile-nav-list { padding: 10px 12px 40px; }
.mobile-nav-list > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-list > li > a, .mobile-group-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit;
}
.mobile-group-toggle svg { width: 18px; height: 18px; transition: transform 0.2s ease; color: var(--gold-500); }
.mobile-group-toggle.open svg { transform: rotate(180deg); }
.mobile-sub { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.mobile-sub.open { max-height: 400px; }
.mobile-sub a { display: block; padding: 11px 10px 11px 22px; color: rgba(255,255,255,0.78); font-size: 14.5px; }
.mobile-nav-cta { padding: 20px 22px; display: flex; gap: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .major-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .support-grid { grid-template-columns: repeat(3, 1fr); }
  .scholar-grid { grid-template-columns: 1fr; text-align: left; gap: 20px; padding: 32px 0; }
  .rank-top { grid-template-columns: 1fr; }
  .rank-items { grid-template-columns: repeat(3, 1fr); }
  .hero-content { max-width: 560px; }
}

@media (max-width: 860px) {
  .utility-nav a:not(.btn) { display: none; }
  .main-nav-bar { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .lang-bar .container { padding: 6px 20px; }

  .hero { min-height: 480px; }
  .hero-content { padding: 56px 0; max-width: 100%; }
  .hero-content h1 { font-size: 32px; }
  .hero-content .hero-sub { font-size: 25px; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .major-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-list-2col { grid-template-columns: 1fr; }
  .rank-items { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
  .section { padding: 48px 0; }
  .section-title { font-size: 23px; }
}

@media (max-width: 520px) {
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .stat-item svg { width: 26px; height: 26px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; }
  .rank-band { padding-top: 34px; }
  .wechat-card { width: 100%; }
}

/* ==========================================================================
   内部ページ（下層ページ）共通コンポーネント
   ========================================================================== */

/* パンくず + ページヘッダー */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--maroon-900), var(--maroon-700));
  color: var(--white);
  padding: 26px 0 34px;
  overflow: hidden;
}
.breadcrumb {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb .sep { margin: 0 6px; opacity: 0.6; }
.page-hero h1 { color: var(--white); font-size: 30px; margin-bottom: 8px; }
.page-hero .lead { font-size: 15px; color: rgba(255,255,255,0.85); max-width: 720px; margin: 0; }
.page-hero .lead-en { font-size: 12.5px; color: var(--gold-500); margin-top: 6px; letter-spacing: 0.02em; }

/* サブナビ（ページ内タブ） */
.subnav-bar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 90; }
.subnav { display: flex; gap: 4px; overflow-x: auto; }
.subnav a {
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-500);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.subnav a:hover, .subnav a.active { color: var(--maroon-800); border-color: var(--gold-500); }

/* 記事レイアウト */
.article-shell { padding: 44px 0 70px; }
.article-grid { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 48px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.prose > h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose h3 { font-size: 17px; margin: 22px 0 10px; color: var(--maroon-800); }
.prose p { margin: 0 0 14px; font-size: 15px; color: var(--ink-700); }
.prose ul { margin: 0 0 16px; }
.prose li {
  font-size: 14.5px;
  color: var(--ink-700);
  padding: 4px 0 4px 20px;
  position: relative;
}
.prose li::before {
  content: "";
  position: absolute; left: 2px; top: 13px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--maroon-600);
}
.prose strong { color: var(--ink-900); }

/* チェックリスト */
.check-list { margin: 14px 0 20px; }
.check-list li { list-style: none; padding: 5px 0 5px 30px; position: relative; font-size: 14.5px; }
.check-list li::before { content: none; }
.check-list li::after {
  content: "✓";
  position: absolute; left: 0; top: 4px;
  color: var(--gold-600);
  font-weight: 900;
}

/* 情報カード（Sidebar） */
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 18px;
}
.side-card h4 { font-size: 15px; margin-bottom: 12px; display:flex; align-items:center; gap:8px; }
.side-card h4 svg { width: 20px; height: 20px; color: var(--maroon-700); }
.side-card p, .side-card li { font-size: 13.5px; color: var(--ink-700); }
.side-card ul { margin: 0; }
.side-card li { padding: 5px 0 5px 16px; position: relative; }
.side-card li::before { content:""; position:absolute; left:0; top:11px; width:4px; height:4px; border-radius:50%; background: var(--maroon-600); }
.side-cta { text-align: center; }
.side-cta .btn { width: 100%; margin-bottom: 8px; }

/* 情報テーブル */
.table-wrap { overflow-x: auto; margin: 6px 0 24px; border: 1px solid var(--line); border-radius: var(--radius-md); }
table.info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--white); min-width: 480px; }
table.info-table th {
  background: var(--maroon-800); color: var(--white);
  text-align: left; padding: 12px 16px; font-weight: 700; font-size: 13px;
}
table.info-table td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-700); }
table.info-table tr:nth-child(even) td { background: var(--cream); }
table.info-table td strong { color: var(--maroon-800); }
table.info-table .num { text-align: right; font-weight: 700; }

/* 統計ミニグリッド（記事内） */
.stat-mini-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 8px 0 26px; }
.stat-mini { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.stat-mini .n { font-family: var(--font-display); font-size: 21px; color: var(--maroon-800); font-weight: 700; }
.stat-mini .l { font-size: 12px; color: var(--ink-500); margin-top: 2px; }

/* プログラムカードグリッド（学部/大学院専攻など） */
.program-block { margin-bottom: 30px; }
.program-block h3 { font-size: 17px; color: var(--maroon-800); margin-bottom: 4px; }
.program-block .zh-name { font-size: 12.5px; color: var(--ink-500); margin-bottom: 12px; }
.program-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.program-tag {
  background: var(--cream);
  border: 1px solid var(--line-strong);
  color: var(--ink-700);
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 999px;
}

/* 引用/ハイライトボックス */
.highlight-box {
  background: var(--cream);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--ink-700);
}
.highlight-box strong { color: var(--maroon-800); }

/* 奨学金 金額ハイライト */
.amount-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 26px; }
.amount-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.amount-card h4 { font-size: 14px; margin-bottom: 12px; }
.amount-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.amount-row:first-of-type { border-top: none; }
.amount-row .v { font-weight: 700; color: var(--ink-900); }
.amount-card.after .v { color: var(--gold-700); }
.amount-total {
  margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--maroon-800);
  display: flex; justify-content: space-between; font-weight: 700; color: var(--maroon-800); font-size: 15px;
}

/* お問い合わせページ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.contact-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-500); color: var(--maroon-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  margin-bottom: 14px;
}
.contact-row { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.contact-row:first-of-type { border-top: none; }
.contact-row svg { width: 20px; height: 20px; color: var(--maroon-700); flex-shrink: 0; }
.wechat-placeholder-note {
  font-size: 12px; color: var(--ink-500); background: var(--cream);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 10px;
}

/* 学生の声 プレースホルダー */
.voice-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; text-align: center;
}
.voice-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; }
.voice-quote { font-size: 14px; color: var(--ink-700); font-style: italic; margin-bottom: 14px; }
.voice-name { font-weight: 700; font-size: 14px; color: var(--maroon-800); }
.voice-major { font-size: 12.5px; color: var(--ink-500); }
.coming-soon-banner {
  background: var(--cream); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; color: var(--ink-500); font-size: 14px;
}

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .stat-mini-grid { grid-template-columns: repeat(2,1fr); }
  .amount-compare { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .subnav-bar { top: 56px; }
}
@media (max-width: 600px) {
  .page-hero h1 { font-size: 24px; }
}
