:root {
  --color-waseda: #8c0000;
  --color-waseda-dark: #5f0000;
  --color-gold: #c9a646;
  --color-text: #222222;
  --color-muted: #666666;
  --color-bg: #ffffff;
  --color-bg-light: #f8f4ef;
  --color-border: #e5ddd4;
  --color-white: #ffffff;

  --font-base: "Inter", "Noto Sans JP", sans-serif;

  --container: 1120px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-card: 0 16px 40px rgba(64, 32, 24, 0.08);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
}

a:hover {
  opacity: 0.75;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  width: min(100% - 32px, var(--container));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  color: var(--color-waseda);
  letter-spacing: 0.02em;
}

.site-logo span {
  font-size: 0.82rem;
  color: var(--color-text);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(120deg, rgba(95, 0, 0, 0.92), rgba(140, 0, 0, 0.75)),
    url("../img/top_bg.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(201, 166, 70, 0.25);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  color: var(--color-waseda-dark);
  background: var(--color-gold);
  border-radius: 999px;
  font-weight: 800;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  font-weight: 900;
}

.hero__title span {
  color: #ffe9a6;
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.hero__info {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
}

.hero__info div {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.hero__info span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
  color: #f1d98a;
  font-weight: 700;
}

.hero__info strong {
  display: block;
  font-size: 1.12rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__flyer {
  position: relative;
  z-index: 2;
  justify-self: end;
}

.hero__flyer img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  transform: rotate(1.5deg);
}

.hero__flyer::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  z-index: -1;
}

@media screen and (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 80px 0 64px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__flyer {
    width: 100%;
    justify-self: auto;
  }

  .hero__flyer img {
    max-width: 520px;
    margin: 0 auto;
    transform: none;
    border-radius: 14px;
  }

  .hero__flyer::before {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .hero__inner {
    padding: 64px 0 48px;
  }

  .hero__info div {
    padding: 16px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .button {
    width: 100%;
  }

  .hero__flyer img {
    max-width: 100%;
  }
}

/* Common */
.section {
  padding: 72px 0;
}

.section--light {
  background: var(--color-bg-light);
}

.section--dark {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-waseda-dark), var(--color-waseda));
}

.section__inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section-title {
  position: relative;
  margin: 0 0 36px;
  padding-bottom: 16px;
  color: var(--color-waseda);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  text-align: center;
  font-weight: 900;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-gold);
  transform: translateX(-50%);
}

.section-title--light {
  color: var(--color-white);
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  color: var(--color-waseda-dark);
  background: var(--color-gold);
}

.button--secondary {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

/* Message */
.message {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.message p {
  margin: 0;
}

.message p + p {
  margin-top: 1.2em;
}

.note {
  padding: 18px;
  color: var(--color-muted);
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
}

/* News */
.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.news-item time {
  color: var(--color-waseda);
  font-weight: 800;
}

.news-category {
  width: fit-content;
  padding: 2px 10px;
  color: var(--color-white);
  background: var(--color-waseda);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.news-item p {
  margin: 0;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.info-table th,
.info-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table th {
  width: 220px;
  color: var(--color-waseda);
  background: #fbf0eb;
  text-align: left;
  font-weight: 800;
}

/* Access */
.map-grid {
  display: grid;
  gap: 24px;
}

.map-box,
.campus-map {
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.map-box iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
}

.campus-map {
  padding: 16px;
}

.campus-list {
  display: grid;
  gap: 8px 20px;
  margin-top: 28px;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.campus-list li {
  font-size: 0.94rem;
}

.access-info {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.access-info div {
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.access-info dt {
  margin-bottom: 8px;
  color: var(--color-waseda);
  font-weight: 900;
}

.access-info dd {
  margin: 0;
}

/* Reports */
.reports-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.reports-card p {
  margin: 0 0 20px;
}

.report-links {
  display: grid;
  gap: 10px;
}

.report-links a {
  color: var(--color-waseda);
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 24px;
}

.contact-card {
  padding: 28px;
  color: var(--color-text);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  margin: 0 0 12px;
  color: var(--color-waseda);
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: var(--color-waseda);
  font-weight: 800;
}

/* Footer */
.site-footer {
  padding: 48px 0 24px;
  color: var(--color-white);
  background: #1f1f1f;
}

.site-footer__inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.footer-brand img {
  width: 180px;
  max-width: 100%;
}

.footer-brand p {
  margin: 16px 0 0;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 24px;
}

.footer-links h3 {
  margin: 0 0 12px;
  color: var(--color-gold);
  font-size: 1rem;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
}

.copyright {
  width: min(100% - 32px, var(--container));
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #cccccc;
  font-size: 0.86rem;
  text-align: center;
}

/* Page top */
.page-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--color-white);
  background: var(--color-waseda);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (min-width: 640px) {
  .hero__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-item {
    grid-template-columns: 110px 90px 1fr;
    align-items: start;
  }

  .campus-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .section {
    padding: 96px 0;
  }

  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .site-footer__inner {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 639px) {
  body {
    font-size: 15px;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .hero {
    min-height: 620px;
  }

  .message,
  .reports-card,
  .contact-card,
  .access-info div,
  .campus-list,
  .news-item {
    padding: 20px;
  }

  .page-top {
    width: 48px;
    height: 48px;
  }
}


