@charset "UTF-8";

/* =============================================================
   機器・分析技術研究会2027 横浜国立大学
   配色はフライヤー（Canva版）から抽出したキーカラーに準拠
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand: フライヤーの空・海・路線図のティール系 */
  --c-brand-900: #0a2f3c;
  --c-brand-800: #103f50;
  --c-brand-700: #135a6b;
  --c-brand-600: #17788a;
  --c-brand-500: #3e919b;
  --c-brand-300: #95c9d4;
  --c-brand-100: #dceef2;
  --c-brand-050: #f1f8fa;

  /* Accent: フライヤー下部の夕景ゴールド */
  --c-accent-600: #c9862a;
  --c-accent-500: #e8a33c;
  --c-accent-300: #f4c873;
  --c-accent-100: #fdf1dc;

  --c-ink: #16242b;
  --c-ink-soft: #3d5058;
  --c-muted: #6a7d86;
  --c-line: #d9e3e7;
  --c-bg: #f4f8f9;
  --c-surface: #ffffff;

  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;

  --wrap: 1120px;
  --wrap-narrow: 820px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(16, 63, 80, 0.06), 0 2px 8px rgba(16, 63, 80, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 63, 80, 0.08), 0 12px 32px rgba(16, 63, 80, 0.1);

  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-ink);
  background: var(--c-bg);
  font-feature-settings: "palt" 1;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-brand-600);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--c-brand-500);
}

:focus-visible {
  outline: 3px solid var(--c-accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 40px, var(--wrap-narrow));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section--alt {
  background: var(--c-surface);
}

.section__head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section__eyebrow {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brand-500);
  margin-bottom: 6px;
}

.section__title {
  font-size: clamp(1.5rem, 3.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--c-brand-800);
  position: relative;
  padding-left: 18px;
}

.section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--c-brand-500), var(--c-accent-500));
}

.section__lead {
  margin-top: 14px;
  color: var(--c-ink-soft);
  max-width: 60ch;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--c-brand-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--c-accent-500);
  color: #2b1d05;
  box-shadow: 0 6px 18px rgba(232, 163, 60, 0.35);
}

.btn--primary:hover {
  background: var(--c-accent-300);
  color: #2b1d05;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-brand-800);
}

.btn--outline {
  border-color: var(--c-brand-600);
  color: var(--c-brand-600);
  background: transparent;
}

.btn--outline:hover {
  background: var(--c-brand-600);
  color: #fff;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Header / Global nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-brand-800);
}

.brand__sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: var(--c-surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-brand-800);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before {
  transform: translateY(-6px);
}

.nav-toggle__bars::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

.gnav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gnav__link {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
}

.gnav__link:hover {
  color: var(--c-brand-600);
  background: var(--c-brand-050);
}

.gnav__link[aria-current="page"] {
  color: var(--c-brand-700);
}

.gnav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-accent-500);
}

.gnav__link--members {
  color: var(--c-brand-700);
  background: var(--c-brand-100);
}

/* ---------- Hero (top page) ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--c-brand-900);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(10, 47, 60, 0.92) 0%,
      rgba(16, 63, 80, 0.82) 42%,
      rgba(62, 145, 155, 0.45) 100%
    );
}

.hero__inner {
  position: relative;
  padding: clamp(64px, 11vw, 128px) 0 clamp(88px, 12vw, 148px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(149, 201, 212, 0.6);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-brand-300);
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero__title-sub {
  display: block;
  margin-top: 6px;
  color: var(--c-brand-300);
  font-size: clamp(1.25rem, 3.8vw, 2.25rem);
}

.hero__title-year {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-right: 0.35em;
}

.hero__meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.hero__meta-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

.hero__meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-brand-300);
  border: 1px solid rgba(149, 201, 212, 0.5);
  border-radius: 4px;
  padding: 2px 8px;
  flex: none;
}

.hero__date {
  font-family: var(--font-en);
  font-weight: 600;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(40px, 6vw, 72px);
  background: var(--c-bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- Overview + flyer ---------- */
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.overview__list {
  display: grid;
  gap: 2px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.overview__row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  background: var(--c-surface);
}

.overview__row > dt {
  padding: 20px 22px;
  font-weight: 700;
  color: var(--c-brand-800);
  background: var(--c-brand-050);
  border-right: 1px solid var(--c-line);
}

.overview__row > dd {
  padding: 20px 22px;
}

.overview__row strong {
  font-size: 1.1rem;
}

.overview__note {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--c-muted);
}

.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--c-accent-100);
  color: var(--c-accent-600);
}

/* フライヤーカード */
.flyer {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.flyer__link {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flyer__link:hover,
.flyer__link:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.flyer__img {
  width: 100%;
  height: auto;
  background: var(--c-brand-050);
}

.flyer__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 34px 12px 14px;
  background: linear-gradient(180deg, rgba(10, 47, 60, 0) 0%, rgba(10, 47, 60, 0.88) 60%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.flyer__caption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--c-muted);
  text-align: center;
}

/* ---------- Lecture cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-brand-100);
}

.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 47, 60, 0.86);
  color: var(--c-brand-300);
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-brand-800);
}

.card__affil {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.6;
}

.card__title {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line);
}

.card__abstract {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
}

/* ---------- Timeline (重要なお知らせ) ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-brand-500), var(--c-brand-100));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}

.timeline__item:last-child {
  border-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 27px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 3px solid var(--c-brand-500);
}

.timeline__item--now::before {
  border-color: var(--c-accent-500);
  box-shadow: 0 0 0 5px rgba(232, 163, 60, 0.2);
}

.timeline__date {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--c-brand-700);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline__label {
  font-family: var(--font-ja);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--c-brand-100);
  color: var(--c-brand-700);
}

.timeline__item--now .timeline__label {
  background: var(--c-accent-500);
  color: #2b1d05;
}

.timeline__title {
  font-weight: 700;
  font-size: 1.02rem;
}

.timeline__desc {
  grid-column: 2;
  font-size: 0.9rem;
  color: var(--c-ink-soft);
}

/* ---------- 実行委員長挨拶 ---------- */
.greeting {
  position: relative;
  color: #fff;
  background: var(--c-brand-800);
  overflow: hidden;
}

.greeting__bg {
  position: absolute;
  inset: 0;
}

.greeting__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.greeting__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 47, 60, 0.95) 30%, rgba(10, 47, 60, 0.65) 100%);
}

.greeting__inner {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.greeting .section__title {
  color: #fff;
}

.greeting .section__eyebrow {
  color: var(--c-brand-300);
}

.greeting__figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(149, 201, 212, 0.35);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}

.greeting__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.greeting__figure figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--c-brand-300);
  line-height: 1.6;
}

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

.greeting__sign {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(149, 201, 212, 0.35);
  font-size: 0.92rem;
  color: var(--c-brand-300);
}

.greeting__sign strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-brand-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.sponsors {
  padding: clamp(40px, 6vw, 64px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sponsors__title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-brand-300);
  margin-bottom: 24px;
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.sponsors__item {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsors__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.sponsors__item img {
  width: 100%;
  height: auto;
}

.footer-main {
  padding: clamp(40px, 6vw, 64px) 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
}

.footer-brand__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.footer-brand__meta {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}

.contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(149, 201, 212, 0.3);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.contact-box__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-brand-300);
  margin-bottom: 10px;
}

.contact-box__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  word-break: break-all;
}

.contact-box__mail:hover {
  color: var(--c-accent-300);
}

.contact-box__note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--c-accent-300);
}

.copyright {
  padding: 14px 0 32px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-en);
}

/* ---------- 下層ページ ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--c-brand-900), var(--c-brand-600));
  color: #fff;
  padding: clamp(44px, 7vw, 76px) 0 clamp(52px, 8vw, 84px);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px dashed rgba(149, 201, 212, 0.35);
}

.page-hero__inner {
  position: relative;
}

.page-hero__eyebrow {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-brand-300);
}

.page-hero__title {
  margin-top: 8px;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-hero__lead {
  margin-top: 14px;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
}

.breadcrumb {
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--c-muted);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--c-brand-300);
}

.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.panel + .panel {
  margin-top: 24px;
}

.panel__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-brand-800);
  margin-bottom: 16px;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + .table-scroll,
.prose .table-scroll + p {
  margin-top: 1.1em;
}

.prose ul.list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.prose ul.list > li {
  position: relative;
  padding-left: 22px;
}

.prose ul.list > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-brand-500);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.94rem;
}

.table th,
.table td {
  border: 1px solid var(--c-line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.table thead th {
  background: var(--c-brand-800);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.table tbody th {
  background: var(--c-brand-050);
  color: var(--c-brand-800);
  white-space: nowrap;
}

.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--c-accent-100);
  border-left: 5px solid var(--c-accent-500);
  font-size: 0.92rem;
  color: #5c4210;
}

.notice--info {
  background: var(--c-brand-050);
  border-left-color: var(--c-brand-500);
  color: var(--c-ink-soft);
}

/* フォーム */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.field--full {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field__label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-brand-800);
}

.field__required {
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fde8e6;
  color: #b3261e;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-surface);
  color: inherit;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-brand-500);
}

.field__help {
  font-size: 0.82rem;
  color: var(--c-muted);
}

.login-card {
  max-width: 480px;
  margin-inline: auto;
}

.login-card .form-grid {
  grid-template-columns: 1fr;
}

.access-map {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: repeating-linear-gradient(
      45deg,
      var(--c-brand-050),
      var(--c-brand-050) 14px,
      var(--c-brand-100) 14px,
      var(--c-brand-100) 28px
    );
  border: 1px dashed var(--c-brand-300);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-brand-700);
  font-weight: 700;
  padding: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .overview,
  .greeting__inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .greeting__figure {
    max-width: 260px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .gnav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .gnav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }

  .gnav__link {
    padding: 16px 8px;
    font-size: 1rem;
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
  }

  .gnav__link[aria-current="page"]::after {
    left: 8px;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 4px;
    height: 22px;
    transform: translateY(-50%);
  }

  .gnav__link--members {
    background: transparent;
  }
}

@media (max-width: 680px) {
  .overview__row {
    grid-template-columns: 1fr;
  }

  .overview__row > dt {
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
    padding-block: 14px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
  }

  .timeline__desc {
    grid-column: 1;
  }

  .brand__title {
    font-size: 0.88rem;
  }

  .brand__sub {
    font-size: 0.66rem;
  }

  .hero__meta-item {
    width: 100%;
  }
}

/* ---------- Motion / Print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__actions,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
