@charset "UTF-8";

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  --primary:        #003B73;
  --primary-light:  #0057A8;
  --primary-dark:   #002550;
  --accent:         #C8102E;
  --accent-light:   #E8304E;
  --gold:           #B8941A;
  --bg:             #F5F7FA;
  --white:          #ffffff;
  --gray-100:       #f0f2f5;
  --gray-200:       #e2e6ea;
  --gray-400:       #adb5bd;
  --gray-500:       #6c757d;
  --gray-700:       #343a40;
  --text:           #1a1a2e;
  --font-ja:        'Noto Sans JP', sans-serif;
  --font-serif:     'Noto Serif JP', serif;
  --font-en:        'Montserrat', sans-serif;
  --radius:         8px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.10);
  --transition:     0.2s ease;
  --max-width:      1200px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

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

ul, ol { list-style: none; }

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ============================================
   Top Bar
   ============================================ */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,1);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.topbar a:hover { color: #fff; }

/* ============================================
   Header
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-branding {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.site-description {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--transition);
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Navigation
   ============================================ */
.main-navigation ul {
  display: flex;
}
.main-navigation ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  border-left: 1px solid var(--gray-200);
  transition: background var(--transition);
  gap: 3px;
}
.main-navigation ul li:last-child a { border-right: 1px solid var(--gray-200); }
.main-navigation ul li a .nav-ja {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
}
.main-navigation ul li a .nav-en {
  font-family: var(--font-en);
  font-size: 9px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-page-ancestor > a {
  background: var(--primary);
}
.main-navigation ul li a:hover .nav-ja,
.main-navigation ul li a:hover .nav-en,
.main-navigation ul li.current-menu-item > a .nav-ja,
.main-navigation ul li.current-menu-item > a .nav-en,
.main-navigation ul li.current-page-ancestor > a .nav-ja,
.main-navigation ul li.current-page-ancestor > a .nav-en {
  color: var(--white);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb-wrap {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
  font-size: 12px;
}
.breadcrumb-list {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb-list a { color: var(--primary-light); }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list .sep { color: var(--gray-400); }
.breadcrumb-list .current { color: var(--gray-500); }

/* ============================================
   Hero / Slider
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--primary-dark);
}
.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide {
  min-width: 100%;
  position: relative;
}
.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
/* fallback when no image */
.slide-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}
.slide-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,20,60,0.72) 0%, rgba(0,20,60,0.15) 100%);
  display: flex;
  align-items: center;
  padding: 0 80px;
  color: var(--white);
}
.slide-caption h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}
.slide-caption p {
  font-size: 14px;
  opacity: 0.85;
  max-width: 380px;
  line-height: 1.9;
}

/* Slider Controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover,
.slider-next:hover { background: rgba(0,0,0,0.6); }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* ============================================
   Section Heading
   ============================================ */
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.section-heading .en-sub {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  text-transform: uppercase;
  white-space: nowrap;
}
.section-heading .divider {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
  min-width: 20px;
}

/* ============================================
   Information / News List
   ============================================ */
.content-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.news-list { list-style: none; }
.news-item {
  display: grid;
  grid-template-columns: 90px auto 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.news-item:last-child { border-bottom: none; }

.news-date {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}
.news-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  align-self: center;
  text-align: center;
  width: 4.5em;
}
.news-badge.hidden { visibility: hidden; }
.news-title a {
  color: var(--primary-light);
  font-size: 13.5px;
  line-height: 1.6;
  transition: color var(--transition);
}
.news-title a:hover { color: var(--accent); text-decoration: underline; }
.news-title span {
  color: var(--text);
  line-height: 1.6;
}

/* Page content */
.entry-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 14px;
  margin: 32px 0 16px;
}
.entry-content h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin: 32px 0 12px;
  font-weight: 600;
}
.entry-content p { margin-bottom: 16px; line-height: 1.9; }
.entry-content ul, .entry-content ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13.5px;
  border-radius: var(--radius);
  overflow: hidden;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid var(--gray-200);
  padding: 10px 14px;
  text-align: left;
}
.entry-content table th {
  background: var(--primary);
  color: #fff;
}
.entry-content table:not(.no-striped) tr:nth-child(even) td {
  background: var(--gray-100);
}
.entry-content tr.gray td {
  background: var(--gray-100);
}


/* ============================================
   Sidebar
   ============================================ */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

/* Gutenberg widget 調整 */
.widget_block {
  padding: 0;
}

.widget_block .wp-block-group {
  padding: 0;
}

.widget_block .wp-block-heading {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
}

/* リスト共通 */
.widget_block ul {
  padding: 10px 20px;
}

.widget_block ul li {
  border-bottom: 1px solid var(--gray-200);
}

.widget_block ul li:last-child {
  border-bottom: none;
}

.widget_block ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  font-size: 13px;
  color: var(--primary-light);
  transition: all var(--transition);
}

/* 矢印 */
.widget_block ul li a::before {
  content: '›';
  font-size: 18px;
  color: var(--primary);
  line-height: 1;
}

/* hover */
.widget_block ul li a:hover {
  color: var(--accent);
  padding-left: 8px;
}



.widget {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
}
.widget-body { padding: 16px 20px; }

.widget-nav-list li {
  border-bottom: 1px solid var(--gray-200);
}
.widget-nav-list li:last-child { border-bottom: none; }
.widget-nav-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  font-size: 13px;
  color: var(--primary-light);
  transition: all var(--transition);
}
.widget-nav-list li a::before {
  content: '›';
  font-size: 18px;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}
.widget-nav-list li a:hover { color: var(--accent); padding-left: 8px; }

/* Contact Widget */
.widget-contact {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,59,115,0.3);
}
.widget-contact h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.contact-detail { font-size: 13px; line-height: 1.9; opacity: 0.9; }
.contact-detail .label {
  font-size: 10px;
  font-family: var(--font-en);
  letter-spacing: 0.12em;
  opacity: 0.6;
  display: block;
  margin-top: 10px;
  text-transform: uppercase;
}
.contact-detail a { color: #7ec8f4; }
.contact-detail a:hover { text-decoration: underline; }
.contact-detail .tel {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  display: block;
  margin-top: 4px;
}

/* ============================================
   Page Banner (inner pages)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 48px 0;
}
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}
.page-banner .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.65;
  text-transform: uppercase;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  margin-top: 56px;
}
.footer-top {
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-site-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-address { font-size: 12px; line-height: 2; }
.footer-address a { color: #7ec8f4; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list li a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-nav-list li a::before { content: '› '; }
.footer-nav-list li a:hover { color: #fff; }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  text-align: center;
  padding: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   Page Section Common
   ============================================ */
.page-intro,
.intro,
.content-section,
.program-contact,
.certified-course {
  margin-bottom: 56px;
}
.content-section {
  padding-top: 40px;
}
.content-section + .content-section {
  border-top: 1px solid var(--gray-200);
}
.content-block {
  margin-top: 20px;
}

.signature {
  margin-top: 24px;
  text-align: right;
  font-weight: 500;
}

.pagetop {
  margin-top: 24px;
  text-align: right;
}

.important-info,
.resource-links,
.recruit-info {
  margin-top: 48px;
}

.important-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.important-card h3 {
  margin-top: 0;
}
.info-badge,
.resource-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.info-badge.recruit {
  background: var(--accent);
  color: #fff;
}

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-item {
  border-bottom: 1px solid var(--gray-200);
}

.resource-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
}

.resource-badge {
  background: var(--gray-100);
  color: var(--primary);
  margin-bottom: 0;
  flex-shrink: 0;
}

.resource-title {
  color: var(--primary-light);
  line-height: 1.7;
}

.resource-links {
  margin: 40px 0 48px;
}

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-item {
  border-bottom: 1px solid var(--gray-200);
}

.resource-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
  color: var(--primary-light);
}

.resource-item a:hover {
  color: var(--accent);
}

.resource-badge {
  display: inline-block;
  min-width: 72px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--gray-100);
  border-radius: 4px;
  flex-shrink: 0;
}

.resource-title {
  line-height: 1.7;
}
.resource-links {
  margin: 32px 0 48px;
}

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.resource-item {
  border-bottom: 1px solid var(--gray-200);
}

.resource-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
  color: var(--primary-light);
  transition: color var(--transition);
}

.resource-item a:hover {
  color: var(--accent);
}

.resource-badge {
  display: inline-block;
  min-width: 72px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  flex-shrink: 0;
  text-align: center;
}

.badge-recruit {
  background: var(--accent);
  color: #fff;
}

.badge-doc {
  background: var(--gray-100);
  color: var(--primary);
}

.resource-title {
  line-height: 1.7;
}

/* ============================================
   Notice / Note / Contact
   ============================================ */
.notice-box {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  line-height: 1.9;
}

.notice-box p + p {
  margin-top: 14px;
}

.note,
.note-box {
  background: var(--gray-100);
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  margin: 20px 0 28px;
  font-size: 13px;
  line-height: 1.8;
}

.contact-box {
  background: var(--gray-100);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-box p {
  margin: 0 0 8px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Content Typography
   ============================================ */
.entry-content .content-block h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin: 32px 0 12px;
  font-weight: 600;
}

.list-basic {
  margin: 0 0 20px 1.2em;
  padding: 0;
}

.list-basic li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.image-block {
  margin: 20px 0;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Topics
   ============================================ */
.topics-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.topic-item {
  list-style: none;
}

.topic-item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.topic-item a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.topic-thumb {
  flex: 0 0 90px;
}

.topic-thumb img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.topic-body {
  flex: 1;
  min-width: 0;
}

.topic-body h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--primary);
  line-height: 1.6;
}

.topic-meta {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   Table Supplements
   既存の .entry-content table を活かして不足分だけ追加
   ============================================ */
.table-wrap {
  overflow-x: auto;
}

.entry-content table th {
  vertical-align: top;
  width: 180px;
}

.entry-content table td {
  vertical-align: top;
  line-height: 1.8;
}

.entry-content table td p {
  margin: 0 0 8px;
}

.entry-content table td p:last-child {
  margin-bottom: 0;
}
.entry-content table.no-margin td p {
  margin: 0;
}

.entry-content table td strong {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--primary);
}

.entry-content table td a {
  color: var(--primary-light);
  word-break: break-word;
}

.entry-content table td a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ============================================
   Event Content Common
   ============================================ */
.event-content,
.event-content--simple,
.event-content--seminar {
  margin-top: 24px;
}

.event-meta {
  margin-bottom: 20px;
}

.event-date {
  display: block;
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c5c85;
}

.event-location {
  margin: 0;
  font-size: 1rem;
  color: #444;
}

.event-description {
  margin-bottom: 24px;
}

.event-description p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

/* ============================================
   Catch Copy
   ============================================ */
.event-catch {
  margin-bottom: 28px;
  text-align: center;
}

.event-catch p {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.8;
  color: #2c5c85;
}

/* ============================================
   Gallery
   ============================================ */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.event-gallery figure,
.event-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}

.event-gallery img,
.event-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.event-gallery__item img {
  transition: transform 0.3s ease;
}

.event-gallery__item:hover img {
  transform: scale(1.05);
}

/* ============================================
   Seminar Table
   ============================================ */
.seminar-schedule {
  margin-bottom: 32px;
}

.seminar-schedule__title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #222;
}

.seminar-table-wrap {
  overflow-x: auto;
}

.seminar-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #d9e1e8;
}

.seminar-table th,
.seminar-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5ebf0;
  text-align: left;
  vertical-align: top;
  font-size: 0.96rem;
  line-height: 1.7;
}

.seminar-table th {
  background: #f4f8fb;
  color: #2c5c85;
  font-weight: 700;
}

.seminar-table tbody tr:nth-child(even) {
  background: #fcfdff;
}

.seminar-table td:first-child {
  width: 110px;
  white-space: nowrap;
}

.seminar-table td:nth-child(2) {
  width: 190px;
  white-space: nowrap;
}

.training-single .news-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  width: auto;
}

.training-single .entry-content {
  line-height: 2;
}

.training-single .entry-content p {
  margin-bottom: 1.4em;
}

.training-single .training-external-link .btn,
.training-single .training-external-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

.training-single .training-external-link .btn:hover,
.training-single .training-external-link a:hover {
  opacity: 0.9;
}


.program-archive {
  margin: 40px 0;
}

.program-year {
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid #d9e2ea;
  border-radius: 12px;
  background: #f8fbfd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.program-year-title {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 5px solid #005b8f;
  font-size: 24px;
  line-height: 1.4;
  color: #1f2d3d;
}

.program-year-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.program-thumb {
  margin: 0;
  flex: 0 0 90px;
}

.program-thumb img {
  display: block;
  width: 90px;
  height: auto;
  border: 1px solid #d5dfe8;
  border-radius: 8px;
  background: #fff;
}

.program-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.program-link-list li {
  margin-bottom: 10px;
}

.program-link-list li:last-child {
  margin-bottom: 0;
}

.program-link-list a {
  display: block;
  position: relative;
  padding: 14px 44px 14px 16px;
  border: 1px solid #d7e3ec;
  border-radius: 8px;
  background: #fff;
  color: #003b5c;
  text-decoration: none;
  line-height: 1.6;
  transition: all 0.25s ease;
}

.program-link-list a span {
  color: #667;
  font-size: 0.92em;
}

.program-link-list a:hover {
  background: #eef7fc;
  border-color: #8fb8d3;
  color: #005b8f;
}

.program-link-list a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: #005b8f;
}

@media screen and (max-width: 767px) {
  .program-year {
    padding: 18px;
  }

  .program-year-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .program-year-inner {
    display: block;
  }

  .program-thumb {
    margin-bottom: 16px;
  }

  .program-thumb img {
    width: 90px;
  }

  .program-link-list a {
    padding: 12px 40px 12px 14px;
    font-size: 14px;
  }
}

.program-archive h3 {
  margin-top: 0;
}
.program-archive ul {
  list-style: none;
}

.contact-info {
  max-width: 500px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
}

.contact-info dt {
  font-weight: bold;
  margin-top: 16px;
  color: #1f2d3d;
}

.contact-info dd {
  margin-left: 0;
  margin-bottom: 8px;
  color: #444;
}

.contact-info a {
  color: #005b8f;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
  .event-catch p {
    font-size: 1.1rem;
  }

  .event-gallery {
    grid-template-columns: 1fr;
  }

  .seminar-table th,
  .seminar-table td {
    padding: 10px 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .topics-list {
    grid-template-columns: 1fr;
  }

  .topic-item a {
    padding: 10px;
  }

  .topic-thumb {
    flex-basis: 72px;
  }

  .topic-thumb img {
    width: 72px;
    height: 72px;
  }

  .entry-content table th,
  .entry-content table td {
    padding: 12px;
    font-size: 13px;
  }

  .entry-content table th {
    width: 140px;
  }

  .notice-box,
  .contact-box,
  .note,
  .note-box {
    padding: 16px;
  }
}
@media (max-width: 1024px) {
  .main-navigation { display: none; }
  .main-navigation.is-open { display: block; }
  .main-navigation.is-open ul {
    flex-direction: column;
    border-top: 1px solid var(--gray-200);
  }
  .main-navigation.is-open ul li a {
    flex-direction: row;
    justify-content: flex-start;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    gap: 8px;
    padding: 14px 24px;
  }
  .main-navigation.is-open ul li:last-child a { border-right: none; }
  .menu-toggle { display: flex; flex-direction: column; }
  .site-header { position: relative; }

  .site-main {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slide img, .slide-placeholder { height: 300px; }
  .slide-caption { padding: 0 40px; }
  .slide-caption h2 { font-size: 26px; }
}

@media (max-width: 640px) {
  .site-title { font-size: 14px; }
  .slide img, .slide-placeholder { height: 220px; }
  .slide-caption { padding: 0 24px; }
  .slide-caption h2 { font-size: 20px; }
  .slide-caption p { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .content-box { padding: 24px 20px; }
  .news-item {
    grid-template-columns: 80px 44px 1fr;
    gap: 8px;
  }
}

/* ============================================
   Movie Responsive
   ============================================ */
.movie-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.movie-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}