
/*
  Tokyo Gakugei University Mathematics Alumni Association
  Renewal stylesheet
  - Static HTML/CSS/JS only
  - No external libraries required
*/
:root {
  --bg: #f6f2eb;
  --bg-soft: #fbf8f2;
  --ink: #18212f;
  --muted: #667085;
  --line: rgba(24, 33, 47, 0.13);
  --navy: #0f2742;
  --navy-2: #15395c;
  --blue: #2f6fa3;
  --gold: #b98d42;
  --gold-soft: #ead7ae;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 39, 66, 0.14);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(185, 141, 66, 0.18), transparent 31rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 38%, #f2eee5 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0.02em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
code { padding: .12rem .34rem; border-radius: 8px; background: rgba(15,39,66,.08); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: var(--white); border-radius: 999px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 242, .88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(15, 39, 66, .08); }
.header-inner { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 240px; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; box-shadow: 0 12px 26px rgba(15,39,66,.16); background: transparent; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.brand-text { display: grid; line-height: 1.25; }
.brand-title { font-weight: 700; font-size: .96rem; }
.brand-subtitle { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-toggle { display: none; border: 1px solid var(--line); background: rgba(255,255,255,.65); color: var(--ink); border-radius: 999px; padding: .5rem .8rem; font: inherit; }
.site-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 999px; color: #334155; font-size: .92rem; font-weight: 650; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); background: rgba(185,141,66,.14); }
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(15,39,66,.98), rgba(21,57,92,.93)), radial-gradient(circle at 85% 25%, rgba(185,141,66,.34), transparent 32rem); color: var(--white); }
.hero::after { content: ""; position: absolute; inset: auto -8% -34% auto; width: 56vw; height: 56vw; min-width: 420px; min-height: 420px; background: radial-gradient(circle, rgba(185,141,66,.28), transparent 68%); pointer-events: none; }
.hero-home { padding-top: 30px; }
.hero-photo { position: relative; z-index: 1; width: min(1180px, calc(100% - 36px)); margin-inline: auto; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255,255,255,.34); background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(15,39,66,.02), rgba(15,39,66,.18)); }
.hero-photo img { width: 100%; }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - 36px)); margin-inline: auto; padding: 46px 0 68px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 44px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 18px; color: var(--gold-soft); font-size: .83rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(2.35rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.05em; }
.hero-lead { max-width: 43rem; color: rgba(255,255,255,.8); font-size: clamp(1.02rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: 0 1.15rem; border-radius: 999px; border: 1px solid transparent; font-weight: 750; white-space: nowrap; flex-shrink: 0; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--navy); background: var(--white); box-shadow: 0 16px 38px rgba(0,0,0,.16); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.button-dark { color: var(--white); background: var(--navy); box-shadow: 0 14px 30px rgba(15,39,66,.18); }
.hero-card { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); backdrop-filter: blur(18px); border-radius: var(--radius); padding: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.16); }
.hero-card-title { color: var(--gold-soft); font-weight: 750; margin-bottom: 9px; }
.hero-card p { color: rgba(255,255,255,.82); margin-bottom: 12px; }
.hero-card .date { font-size: 1.45rem; line-height: 1.3; font-weight: 800; color: #fff; }
main { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; padding: 72px 0 88px; }
.section { margin-bottom: 68px; }
.section-social { margin-top: -8px; }
.social-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px; border-radius: var(--radius); border: 1px solid rgba(15,39,66,.12); background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(251,248,242,.76)), radial-gradient(circle at 92% 18%, rgba(47,111,163,.18), transparent 18rem); box-shadow: var(--shadow); }
.social-card h2 { margin-bottom: 10px; font-size: clamp(1.35rem, 2.8vw, 2.15rem); }
.social-card p:last-child { margin-bottom: 0; color: #465366; }
.social-button { min-width: 180px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-kicker { margin: 0 0 6px; color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(1.65rem, 3.8vw, 2.65rem); line-height: 1.22; letter-spacing: -.04em; }
h3 { font-size: 1.18rem; line-height: 1.42; }
.lead { color: #465366; font-size: 1.05rem; max-width: 48rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card-muted { background: rgba(255,255,255,.5); box-shadow: none; }
.card p:last-child { margin-bottom: 0; }
.card-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; margin-bottom: 14px; border-radius: 999px; color: var(--navy); background: rgba(185,141,66,.16); font-size: .78rem; font-weight: 800; }
.muted { color: var(--muted); }
.clean-list { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.clean-list li { margin-bottom: .35rem; }
.news-list { display: grid; gap: 16px; }
.news-item { display: grid; grid-template-columns: 10.5rem 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 20px; }
.news-date { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.news-title { font-weight: 760; }
.news-tag { justify-self: start; color: var(--navy); background: rgba(47,111,163,.12); border-radius: 999px; padding: .18rem .58rem; font-size: .78rem; font-weight: 750; }
.page-hero { background: linear-gradient(135deg, rgba(15,39,66,.97), rgba(21,57,92,.9)), radial-gradient(circle at 85% 0%, rgba(185,141,66,.28), transparent 32rem); color: var(--white); }
.page-hero-inner { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; padding: 72px 0 54px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 4rem); margin-bottom: 12px; }
.page-hero p { max-width: 44rem; color: rgba(255,255,255,.78); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 18px; color: rgba(255,255,255,.66); font-size: .88rem; }
.breadcrumb a { color: rgba(255,255,255,.82); }
.article-list { display: grid; gap: 22px; }
.article { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; color: var(--muted); font-size: .92rem; }
.article h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 14px; }
.article-body { color: #465366; }
.article-body p:last-child { margin-bottom: 0; }
.callout { position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); box-shadow: var(--shadow); }
.callout::after { content: ""; position: absolute; inset: auto -40px -90px auto; width: 230px; height: 230px; background: radial-gradient(circle, rgba(185,141,66,.38), transparent 66%); }
.callout > * { position: relative; z-index: 1; }
.callout p { color: rgba(255,255,255,.78); }
.info-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius-sm); background: rgba(255,255,255,.74); }
.info-table th, .info-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 12rem; color: var(--navy); text-align: left; background: rgba(185,141,66,.12); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link-list a { display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.62); font-weight: 700; }
.link-list a::after { content: "→"; color: var(--gold); }
.asset-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.flyer { overflow: hidden; padding: 0; }
.flyer img { width: 100%; border-radius: var(--radius); }
.report-intro { margin-bottom: 34px; }
.report-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.report-index a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.68); font-weight: 750; color: #253247; }
.report-index a:hover { background: rgba(255,255,255,.95); box-shadow: 0 16px 34px rgba(15,39,66,.1); }
.report-index span { color: var(--gold); font-size: .82rem; white-space: nowrap; }
.report-card { scroll-margin-top: 96px; }
.report-card .article-body p { margin-bottom: 1rem; }
.report-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.media-figure { margin: 0; overflow: hidden; border-radius: 18px; background: rgba(15,39,66,.05); border: 1px solid var(--line); }
.media-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.media-figure a:hover img { transform: scale(1.03); }
.report-link { margin-top: 18px; }
.site-footer { color: rgba(255,255,255,.82); background: #0b1728; }
.footer-inner { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; padding: 52px 0 34px; display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: 34px; }
.footer-title { color: var(--white); font-weight: 800; margin-bottom: 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-list a { color: rgba(255,255,255,.78); }
.copyright { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .82rem; }
@media (max-width: 880px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; inset: 68px 18px auto 18px; display: none; padding: 12px; background: rgba(251,248,242,.96); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 4px; }
  .site-nav a { width: 100%; justify-content: center; }
  .hero-home { padding-top: 18px; }
  .hero-photo { border-radius: 20px; }
  .hero-inner { grid-template-columns: 1fr; padding: 38px 0 54px; }
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 7px; }
  .section-header { align-items: start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .social-card { align-items: flex-start; flex-direction: column; }
  .social-button { min-width: 0; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; }
  .report-index { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand { min-width: auto; }
  .brand-subtitle { display: none; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  main { padding-top: 50px; }
  .card, .article, .callout { padding: 22px; }
  .hero-photo { width: min(100% - 24px, 1180px); border-radius: 16px; }
  .report-media-grid { grid-template-columns: 1fr; }
}
