/* みえDXセンター アーカイブサイト — 共通スタイル */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1B3E;
  --teal: #00B4A6;
  --teal-light: #e0f7f5;
  --amber: #F59E0B;
  --amber-bg: #FFFBEB;
  --white: #FAFAF8;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --text: #1A1A2E;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--teal);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 14px; font-weight: 700; color: #fff;
  letter-spacing: .03em; line-height: 1.3;
  text-decoration: none;
}
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 6px 12px; border-radius: 6px;
  transition: all .15s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-link.active { color: var(--teal); }

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 24px;
}
.breadcrumb-inner {
  max-width: 1100px; margin: 0 auto;
  font-size: 13px; color: var(--gray-600);
  display: flex; gap: 6px; align-items: center;
}
.bc-link { color: var(--teal); text-decoration: none; }
.bc-link:hover { text-decoration: underline; }
.bc-sep { color: var(--gray-400); }

/* ── Hero (top) ── */
.hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 72px 24px 64px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,180,166,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,166,.08) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,166,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,166,.15);
  border: 1px solid rgba(0,180,166,.4);
  border-radius: 99px;
  padding: 5px 16px;
  font-size: 13px; font-weight: 500; color: var(--teal);
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.hero-tag::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero-h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900; color: #fff;
  line-height: 1.25; letter-spacing: -.01em;
  margin-bottom: 10px;
}
.hero-h1 em { color: var(--teal); font-style: normal; }
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,.6);
  font-weight: 300; margin-bottom: 32px;
}
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.85);
  line-height: 1.9;
  background: rgba(255,255,255,.05);
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
}
.hero-visual img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  display: block;
  max-height: 420px;
  object-fit: contain;
}

/* ── Hero (detail) ── */
.detail-hero {
  background: var(--navy);
  padding: 48px 24px 40px;
  position: relative; overflow: hidden;
}
.detail-hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
}
.detail-tag {
  display: inline-block;
  background: rgba(0,180,166,.2);
  border: 1px solid rgba(0,180,166,.5);
  color: var(--teal);
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 14px; border-radius: 99px;
  margin-bottom: 14px;
}
.detail-h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900; color: #fff; line-height: 1.3;
  margin-bottom: 8px;
}
.detail-h1 em { color: var(--teal); font-style: normal; }
.detail-tagline { font-size: 16px; color: rgba(255,255,255,.6); }

/* ── Closed banner ── */
.closed-banner {
  background: var(--amber-bg);
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  padding: 20px 24px;
  text-align: center;
}
.closed-banner-inner { max-width: 1100px; margin: 0 auto; }
.closed-icon { font-size: 32px; margin-bottom: 6px; }
.closed-title { font-size: 19px; font-weight: 700; color: #92400E; margin-bottom: 4px; }
.closed-sub { font-size: 15px; color: #B45309; }

/* ── Section ── */
.section {
  max-width: 1100px; margin: 0 auto;
  padding: 64px 24px;
}
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  color: var(--teal); text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; color: var(--navy);
  margin-bottom: 36px; line-height: 1.35;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.location-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none; color: inherit;
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13,27,62,.12);
  border-color: var(--teal);
}
.card-header {
  background: var(--navy);
  padding: 24px;
  position: relative; overflow: hidden;
  min-height: 160px;
}
.card-header-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .35;
}
.card-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, rgba(13,27,62,.8));
  z-index: 0;
}
.card-header-content { position: relative; z-index: 1; }
.card-region {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--teal); text-transform: uppercase;
  margin-bottom: 6px;
}
.card-city { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.card-venue { font-size: 13px; color: rgba(255,255,255,.6); }
.card-body { padding: 22px 26px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.card-row { display: flex; align-items: baseline; gap: 10px; }
.card-row-label { font-size: 12px; font-weight: 600; color: var(--gray-600); letter-spacing: .06em; min-width: 36px; }
.card-row-val { font-size: 16px; font-weight: 700; color: var(--navy); }
.card-row-meta { font-size: 14px; color: var(--gray-600); }
.card-footer { padding: 0 26px 26px; }
.card-btn {
  display: block; width: 100%;
  background: var(--teal); color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px; font-weight: 700;
  border: none; border-radius: 8px;
  padding: 14px; text-align: center;
  text-decoration: none;
  transition: background .15s;
}
.card-btn:hover { background: #00a095; }

/* ── Info table ── */
.info-section { background: #fff; border-radius: 12px; border: 1px solid var(--gray-200); overflow: hidden; margin-bottom: 32px; }
.info-section-header {
  background: var(--navy);
  color: #fff; font-size: 16px; font-weight: 700;
  padding: 14px 22px; letter-spacing: .03em;
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--gray-100); }
.info-table tr:last-child { border-bottom: none; }
.info-table th {
  background: var(--gray-50);
  font-size: 14px; font-weight: 700; color: var(--navy);
  padding: 16px 22px; width: 140px;
  text-align: left; vertical-align: top;
  white-space: nowrap;
}
.info-table td { font-size: 16px; color: var(--gray-800); padding: 16px 22px; line-height: 1.85; }
.badge {
  display: inline-block;
  background: var(--teal-light); color: #0a7a72;
  font-size: 13px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
}
.note-box {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 8px; padding: 16px 18px;
  font-size: 15px; color: #0C4A6E; line-height: 1.8;
}
.venue-photo-wrap {
  margin-bottom: 24px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.venue-photo-wrap img { width: 100%; display: block; max-height: 480px; object-fit: cover; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 12px 22px; font-size: 15px; color: var(--gray-600);
  text-decoration: none; transition: all .15s; margin-top: 8px;
}
.back-link:hover { border-color: var(--teal); color: var(--teal); }

/* ── Instructor ── */
.instructor-section { background: var(--navy); padding: 64px 24px; }
.instructor-inner { max-width: 1100px; margin: 0 auto; }
.instructor-label { font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--teal); margin-bottom: 10px; }
.instructor-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: #fff; margin-bottom: 40px; }
.instructor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.instructor-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 30px;
}
.instructor-card-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--teal); margin-bottom: 12px; }
.instructor-name-row { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.instructor-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(0,180,166,.4); flex-shrink: 0; }
.instructor-name { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.instructor-name-sm { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.55; }
.instructor-role { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.instructor-bio { font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.9; margin-bottom: 18px; }
.instructor-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal); font-size: 14px; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid rgba(0,180,166,.3);
  padding-bottom: 1px; transition: border-color .15s;
}
.instructor-link:hover { border-color: var(--teal); }
.company-links { display: flex; flex-direction: column; gap: 10px; }
.company-link-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.78); font-size: 14px;
  text-decoration: none;
  padding: 12px 14px; border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .15s;
}
.company-link-item:hover { background: rgba(0,180,166,.1); border-color: rgba(0,180,166,.3); color: #fff; }
.company-link-icon { width: 32px; height: 32px; border-radius: 6px; background: rgba(0,180,166,.2); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.company-link-text { flex: 1; line-height: 1.5; }
.company-link-name { font-weight: 600; font-size: 14px; }
.company-link-url { font-size: 12px; color: rgba(255,255,255,.45); }
.company-link-arrow { color: rgba(255,255,255,.35); font-size: 18px; }

/* ── Footer ── */
.site-footer { background: #060e20; padding: 32px 24px; text-align: center; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; }
.footer-link { color: rgba(0,180,166,.7); text-decoration: none; }
.footer-link:hover { color: var(--teal); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .12s; }
.fade-up-3 { animation-delay: .19s; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .instructor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .info-table th { width: 90px; font-size: 13px; padding: 14px 12px; }
  .info-table td { font-size: 15px; padding: 14px 12px; }
}
