/* ============================================================
   DESIGN TOKENS (shared)
   ============================================================ */
:root {
  --navy:        #161e78;
  --navy-dark:   #070950;
  --navy-deep:   #03032a;
  --navy-mid:    #0c1058;
  --navy-ink:    #033474;
  --navy-link:   #04469d;
  --gold:        #c8a020;
  --gold-light:  #e8c84a;
  --gold-pale:   #f5e9c0;
  --teal:        #0a7a6a;
  --teal-mid:    #086358;
  --teal-light:  #4ecdc0;
  --teal-pale:   #e8f6f4;
  --white:       #ffffff;
  --off-white:   #f4f5fb;
  --gray-light:  #e8eaf5;
  --gray-mid:    #8a9ab8;
  --text-primary:   #1a2540;
  --text-secondary: #4a5870;
  --text-muted:     #8a9ab8;
  --cat-news:       #161e78;
  --cat-seminar:    #a07d12;
  --cat-column:     #0a7a6a;
  --cat-press:      #7c3aed;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 24px rgba(7,9,80,.09);
  --shadow-hover: 0 16px 48px rgba(7,9,80,.16);
  --transition: .25s ease;
  --header-h: 72px;
}

/* ============================================================
   RESET & BASE (shared)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   HEADER (shared – subpages)
   ============================================================ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 rgba(7,9,80,.1);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(200px, 48vw);
}
.logo-img--on-dark { display: none; }
.logo-img--footer {
  height: 44px;
  max-width: min(220px, 70vw);
  margin-bottom: 18px;
}
.footer-brand-logo {
  display: inline-block;
  margin-bottom: 8px;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-sns--icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-sns--icons .social-btn,
.footer-socials .social-btn,
.social-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
  transition: border-color .2s, color .2s;
}
.footer-sns--icons .social-btn:hover,
.footer-socials .social-btn:hover,
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-cert {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 16px;
}
.flink--spaced,
.footer-link-spaced {
  margin-top: 16px;
}
nav { display: flex; align-items: center; gap: 2px; }
nav a {
  font-size: 13px; color: var(--text-secondary);
  padding: 7px 14px; border-radius: var(--radius-sm);
  letter-spacing: .04em; transition: background .2s, color .2s; white-space: nowrap;
}
nav a:hover { background: var(--gray-light); color: var(--navy-link); }
nav a.active { color: var(--navy-link); font-weight: 500; }

/* Nav dropdown – サービス */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  font-size: 13px; color: var(--text-secondary);
  padding: 7px 14px; border-radius: var(--radius-sm);
  letter-spacing: .04em; transition: background .2s, color .2s;
  white-space: nowrap; cursor: default; display: inline-block;
  font-family: inherit; border: none; background: none;
}
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  background: var(--gray-light); color: var(--navy-link);
}
.nav-dropdown.active .nav-dropdown-trigger { color: var(--navy-link); font-weight: 500; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px; margin: 0; padding: 8px 0; list-style: none;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(7,9,80,.14), 0 1px 0 rgba(7,9,80,.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1100;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 13px; color: var(--text-secondary);
  letter-spacing: .03em; line-height: 1.5;
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--gray-light); color: var(--navy-link);
}

.header-cta {
  flex-shrink: 0; font-size: 12px; font-weight: 500;
  color: var(--navy-ink); background: var(--gold);
  border: none; padding: 10px 22px; border-radius: var(--radius-sm);
  cursor: pointer; letter-spacing: .07em; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.header-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ============================================================
   BREADCRUMB (shared)
   ============================================================ */
.breadcrumb {
  background: var(--off-white); border-bottom: 1px solid rgba(7,9,80,.07);
  padding: 0 40px; margin-top: var(--header-h);
}
.breadcrumb-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  height: 44px; font-size: 12px; color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--text-muted); transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--navy-link); }
.breadcrumb-sep, .bc-sep { color: rgba(7,9,80,.25); font-size: 10px; }
.breadcrumb-current { color: var(--text-secondary); }

@media (max-width: 640px) {
  .header-inner { padding: 0 20px; }
  .breadcrumb { padding: 0 20px; }
  .logo-img { height: 34px; }
  .logo-img--footer { height: 36px; }
}
