/*
Theme Name: Lightning Child - JSSPOT
Theme URI: https://jsspot.info
Template: lightning
Description: 日本スポーツ整復療法学会 公式サイト用子テーマ
Author: JSSPOT
Version: 1.2.1
Text Domain: lightning-child
*/

/* ============ Lightning Theme Overrides ============ */
/* Hide Lightning's default page header & breadcrumb (we use our own) */
.page-header { display: none !important; }
#breadcrumb { display: none !important; }
.jsspot-breadcrumb { display: none !important; }

/* Force 1-column layout on JSSPOT pages (hide sidebar) */
body.page .site-body-container { display: block; }
body.page .main-section.main-section--col--two {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  flex: none !important;
}
body.page .sub-section { display: none !important; }

/* Remove Lightning's default content padding conflicts */
.entry-body { padding: 0; }
.main-section { padding-top: 0; }

/* Lightning primary color override */
:root {
  --vk-color-primary: #1a3a5c;
  --vk-color-primary-dark: #142d47;
  --vk-color-primary-vivid: #5b9ad7;
}

/* ============ Variables ============ */
:root {
  --jsspot-primary: #1a3a5c;
  --jsspot-secondary: #5b9ad7;
  --jsspot-accent: #3a8ad3;
  --jsspot-light: #f5f8fb;
  --jsspot-text: #333;
  --jsspot-text-light: #666;
  --jsspot-white: #fff;
  --jsspot-border: #e0e6ed;
}

/* ============ Base ============ */
body {
  font-family: "BIZ UDGothic", "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--jsspot-text);
  line-height: 1.8;
  background: #fff;
  font-weight: 400;
}

a { color: var(--jsspot-accent); }

/* Headings: Shippori Mincho (明朝体) */
h1, h2, h3, h4,
.jsspot-section-title,
.jsspot-hero h1,
.jsspot-page-header h1,
.jsspot-content-block h2,
.jsspot-article-header h1,
.jsspot-card h3,
.form-section-title {
  font-family: "Shippori Mincho", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ============ Header ============ */
.site-header {
  background: var(--jsspot-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.site-header-logo img { max-height: 50px; }

/* Navigation - Lightning theme compatibility */
.global-nav .nav li a,
.global-nav a {
  color: var(--jsspot-primary);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  white-space: nowrap;
}

.global-nav .nav li a:hover,
.global-nav a:hover,
.global-nav a.active {
  background: var(--jsspot-secondary);
  color: #fff;
}

/* ============ Buttons ============ */
.jsspot-btn {
  display: inline-block; padding: 14px 36px; border-radius: 30px;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s; cursor: pointer;
  border: 2px solid transparent;
}
.jsspot-btn-primary { background: var(--jsspot-secondary); color: #fff; border-color: var(--jsspot-secondary); }
.jsspot-btn-primary:hover { background: var(--jsspot-primary); border-color: var(--jsspot-primary); color: #fff; }
.jsspot-btn-outline { border-color: #fff; color: #fff; background: transparent; }
.jsspot-btn-outline:hover { background: rgba(255,255,255,0.15); }
.jsspot-btn-outline-blue { border-color: var(--jsspot-secondary); color: var(--jsspot-secondary); background: transparent; }
.jsspot-btn-outline-blue:hover { background: var(--jsspot-secondary); color: #fff; }
.jsspot-btn-sm { padding: 8px 20px; font-size: 13px; }
.jsspot-btn-lg { padding: 16px 48px; font-size: 16px; }

/* ============ Section Title ============ */
.jsspot-section-title {
  font-size: 24px; font-weight: 700; color: var(--jsspot-primary);
  text-align: center; margin-bottom: 40px;
}
.jsspot-section-title::after {
  content: ""; display: block; width: 60px; height: 3px;
  background: var(--jsspot-secondary); margin: 12px auto 0;
}

/* ============ Hero ============ */
.jsspot-hero {
  position: relative; color: #fff; text-align: center; padding: 100px 20px;
  background: linear-gradient(135deg, rgba(26,58,92,0.85), rgba(91,154,215,0.85)),
              url('assets/images/hero-sports-medicine.jpg') center/cover no-repeat;
}
.jsspot-hero-subtitle { font-size: 13px; opacity: 0.8; letter-spacing: 0.08em; margin-bottom: 12px; }
.jsspot-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.06em; }
.jsspot-hero-lead { font-size: 16px; opacity: 0.9; }
.jsspot-hero-buttons { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ News ============ */
.jsspot-news-section { padding: 60px 0; }
.jsspot-news-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.tab {
  padding: 8px 20px; border: 2px solid var(--jsspot-border); border-radius: 30px;
  background: #fff; color: var(--jsspot-text-light); font-size: 14px;
  cursor: pointer; transition: all 0.3s; font-family: inherit;
}
.tab.active, .tab:hover { border-color: var(--jsspot-secondary); background: var(--jsspot-secondary); color: #fff; }
.jsspot-news-list { list-style: none; padding: 0; margin: 0; }
.jsspot-news-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--jsspot-border);
}
.news-date { font-size: 13px; color: var(--jsspot-text-light); white-space: nowrap; min-width: 90px; padding-top: 2px; margin-right: 8px; }
.news-cat {
  display: inline-block; padding: 2px 12px; border-radius: 3px;
  font-size: 11px; color: #fff; white-space: nowrap; min-width: 64px; text-align: center;
}
.news-meta { display: flex; align-items: center; gap: 10px; }
.cat-info { background: var(--jsspot-secondary); }
.cat-event { background: #e67e22; }
.cat-journal { background: #27ae60; }
.cat-seminar { background: #8e44ad; }
.cat-news { background: #3498db; }
.news-title a { color: var(--jsspot-text); text-decoration: none; transition: color 0.3s; }
.news-title a:hover { color: var(--jsspot-accent); }

/* ============ Cards ============ */
.jsspot-cards-section { background: var(--jsspot-light); padding: 60px 0; }
.jsspot-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jsspot-card {
  background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 36px 24px; text-align: center; transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; color: inherit; display: block; cursor: pointer;
}
.jsspot-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card-icon { margin-bottom: 16px; }
.card-icon svg { width: 48px; height: 48px; color: var(--jsspot-secondary); }
.jsspot-card h3 { font-size: 18px; font-weight: 700; color: var(--jsspot-primary); margin-bottom: 12px; }
.jsspot-card p { font-size: 14px; color: var(--jsspot-text-light); line-height: 1.7; }

/* ============ CTA ============ */
.jsspot-cta { padding: 60px 0; text-align: center; }
.jsspot-cta p { max-width: 600px; margin: 0 auto 30px; color: var(--jsspot-text-light); }

/* ============ Page Header ============ */
.jsspot-page-header {
  padding: 60px 20px; text-align: center; color: #fff;
  background: linear-gradient(135deg, rgba(26,58,92,0.8), rgba(91,154,215,0.8)),
              var(--page-bg) center/cover no-repeat;
}
.jsspot-page-header h1 { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.jsspot-page-header p { font-size: 14px; opacity: 0.8; letter-spacing: 0.05em; }

/* ============ Page Content ============ */
.jsspot-page-content { padding: 50px 0 80px; }
.jsspot-content-block { margin-bottom: 48px; }
.jsspot-content-block h2 {
  font-size: 22px; font-weight: 700; color: var(--jsspot-primary);
  padding-bottom: 12px; border-bottom: 2px solid var(--jsspot-secondary);
  margin-bottom: 24px;
}
.jsspot-content-block p { margin-bottom: 16px; }

/* ============ Breadcrumb ============ */
.jsspot-breadcrumb {
  padding: 12px 0; font-size: 13px; color: var(--jsspot-text-light);
  border-bottom: 1px solid var(--jsspot-border);
}
.jsspot-breadcrumb a { color: var(--jsspot-accent); text-decoration: none; }
.jsspot-breadcrumb span { margin: 0 8px; color: #ccc; }

/* ============ Requirement List ============ */
.jsspot-requirement-list { margin: 20px 0; }
.requirement-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--jsspot-light); border-radius: 6px; margin-bottom: 8px;
}
.icon-check { width: 24px; height: 24px; color: #27ae60; flex-shrink: 0; }

/* ============ Tables ============ */
.jsspot-table, .jsspot-fee-table table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
}
.jsspot-table th, .jsspot-table td,
.jsspot-fee-table th, .jsspot-fee-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--jsspot-border);
}
.jsspot-table thead th, .jsspot-fee-table thead th {
  background: var(--jsspot-primary); color: #fff; font-weight: 500;
}
.jsspot-table tbody tr:hover, .jsspot-fee-table tbody tr:hover {
  background: var(--jsspot-light);
}
.info-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.info-table th { background: var(--jsspot-light); padding: 12px 16px; text-align: left; font-weight: 600; border: 1px solid var(--jsspot-border); width: 120px; }
.info-table td { padding: 12px 16px; border: 1px solid var(--jsspot-border); }

/* ============ Flow ============ */
.jsspot-flow { margin: 24px 0; }
.flow-step {
  display: flex; gap: 20px; padding: 20px 0;
  border-left: 3px solid var(--jsspot-secondary); margin-left: 20px; padding-left: 30px;
  position: relative;
}
.flow-number {
  position: absolute; left: -18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--jsspot-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.flow-content h3 { font-size: 16px; font-weight: 700; color: var(--jsspot-primary); margin-bottom: 6px; }
.flow-content p { font-size: 14px; color: var(--jsspot-text-light); margin: 0; }

/* ============ Highlight Box ============ */
.jsspot-highlight-box {
  background: var(--jsspot-light); border: 2px solid var(--jsspot-secondary);
  border-radius: 12px; padding: 32px; position: relative;
}
.highlight-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--jsspot-secondary); color: #fff;
  padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.jsspot-highlight-box h2 { border: none; padding: 0; margin-bottom: 20px; }
.conference-details { display: flex; flex-direction: column; gap: 16px; }
.detail-item { display: flex; align-items: flex-start; gap: 12px; }
.detail-item .jsspot-icon { flex-shrink: 0; }
.detail-item strong { display: block; font-size: 13px; color: var(--jsspot-text-light); }
.detail-item p { margin: 0; }

/* ============ Info Box ============ */
.jsspot-info-box {
  background: var(--jsspot-light); border-left: 4px solid var(--jsspot-secondary);
  padding: 20px 24px; border-radius: 0 8px 8px 0;
}
.jsspot-info-box p { margin-bottom: 8px; }

/* ============ Journal Card ============ */
.jsspot-journal-card { display: flex; gap: 30px; align-items: flex-start; }
.journal-info h3 { font-size: 20px; color: var(--jsspot-primary); margin-bottom: 8px; }
.journal-date { font-size: 13px; color: var(--jsspot-text-light); margin-bottom: 16px; }
.journal-info h4 { font-size: 15px; color: var(--jsspot-primary); margin-bottom: 8px; }
.journal-info ul { list-style: disc; padding-left: 20px; color: var(--jsspot-text-light); font-size: 14px; }
.jsspot-member-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.jsspot-member-list li { padding: 10px 16px; background: #f8f9fa; border-left: 3px solid var(--jsspot-secondary); border-radius: 4px; font-size: 14px; color: var(--jsspot-text); }
.journal-info li { margin-bottom: 4px; }

/* ============ Event Card ============ */
.jsspot-event-card {
  display: flex; gap: 20px; padding: 24px;
  background: var(--jsspot-white); border: 1px solid var(--jsspot-border);
  border-radius: 8px; margin-bottom: 16px; transition: box-shadow 0.3s;
}
.jsspot-event-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.event-date-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--jsspot-primary); color: #fff; border-radius: 8px;
  min-width: 70px; padding: 12px 8px;
}
.event-month { font-size: 12px; opacity: 0.8; }
.event-day { font-size: 28px; font-weight: 700; line-height: 1.2; }
.event-branch {
  display: inline-block; padding: 2px 10px; border-radius: 3px;
  font-size: 11px; background: var(--jsspot-secondary); color: #fff; margin-bottom: 6px;
}
.event-info h3 { font-size: 17px; color: var(--jsspot-primary); margin-bottom: 8px; }
.event-meta { display: flex; gap: 20px; color: var(--jsspot-text-light); font-size: 13px; margin-bottom: 12px; }
.event-meta span { display: flex; align-items: center; gap: 4px; }

/* ============ Branch Grid ============ */
.jsspot-branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.branch-item {
  padding: 16px; text-align: center; background: var(--jsspot-light);
  border-radius: 6px; font-weight: 500; color: var(--jsspot-primary);
  border: 1px solid var(--jsspot-border); transition: all 0.3s;
}
.branch-item:hover { border-color: var(--jsspot-secondary); background: #fff; }

/* ============ Contact Card ============ */
.jsspot-contact-card {
  background: var(--jsspot-light); border-radius: 12px; padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item strong { display: block; font-size: 13px; color: var(--jsspot-text-light); margin-bottom: 4px; }
.contact-item p { margin: 0; }

/* ============ Link Cards ============ */
.jsspot-link-cards { display: flex; flex-direction: column; gap: 8px; }
.link-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--jsspot-white);
  border: 1px solid var(--jsspot-border); border-radius: 8px;
  text-decoration: none; color: var(--jsspot-text); transition: all 0.3s;
}
.link-card:hover { border-color: var(--jsspot-secondary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.link-card span { flex: 1; font-weight: 500; }
.link-card .arrow { color: var(--jsspot-text-light); }

/* ============ Sub Navigation ============ */
.jsspot-sub-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.jsspot-sub-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 20px; background: var(--jsspot-light); border-radius: 8px;
  text-decoration: none; color: var(--jsspot-primary); font-weight: 600;
  border: 1px solid var(--jsspot-border); transition: all 0.3s; cursor: pointer;
}
.jsspot-sub-nav-item:hover { border-color: var(--jsspot-secondary); background: #fff; }

/* ============ Greeting ============ */
.jsspot-greeting-box { display: flex; gap: 30px; align-items: flex-start; }
.greeting-name { font-weight: 700; color: var(--jsspot-primary); text-align: right; margin-top: 16px; }

/* ============ Icons ============ */
.jsspot-icon { width: 24px; height: 24px; flex-shrink: 0; }
.jsspot-icon-sm { width: 16px; height: 16px; flex-shrink: 0; }

/* ============ Article Detail ============ */
.jsspot-article { padding: 50px 0 80px; }
.jsspot-article-header { margin-bottom: 32px; }
.jsspot-article-header .news-cat { margin-bottom: 12px; }
.jsspot-article-header h1 { font-size: 26px; font-weight: 700; color: var(--jsspot-primary); line-height: 1.5; margin-bottom: 12px; }
.jsspot-article-meta { display: flex; gap: 16px; color: var(--jsspot-text-light); font-size: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--jsspot-border); }
.jsspot-article-body { padding: 32px 0; line-height: 2; }
.jsspot-article-body h2 { font-size: 20px; font-weight: 700; color: var(--jsspot-primary); margin: 32px 0 16px; padding-left: 14px; border-left: 4px solid var(--jsspot-secondary); }
.jsspot-article-body h3 { font-size: 17px; font-weight: 700; color: var(--jsspot-primary); margin: 24px 0 12px; }
.jsspot-article-body p { margin-bottom: 16px; }
.jsspot-article-body ul, .jsspot-article-body ol { margin: 16px 0; padding-left: 24px; }
.jsspot-article-body li { margin-bottom: 8px; }
.jsspot-article-nav { display: flex; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--jsspot-border); margin-top: 40px; }
.jsspot-article-nav a { color: var(--jsspot-accent); text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.jsspot-article-nav a:hover { text-decoration: underline; }
.jsspot-back-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--jsspot-accent); text-decoration: none; font-size: 14px; margin-top: 20px; }
.jsspot-back-btn:hover { text-decoration: underline; }

/* News List Page */
.jsspot-news-list-page { padding: 50px 0 80px; }
.jsspot-news-list-full li { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--jsspot-border); }
.jsspot-news-list-full .news-date { min-width: 100px; }
.jsspot-news-list-full .news-cat { min-width: 72px; }
.jsspot-news-list-full .news-title a { font-size: 15px; }
.jsspot-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.jsspot-pagination a, .jsspot-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 6px; font-size: 14px;
  text-decoration: none; transition: all 0.3s;
}
.jsspot-pagination a { color: var(--jsspot-text); border: 1px solid var(--jsspot-border); }
.jsspot-pagination a:hover { border-color: var(--jsspot-secondary); color: var(--jsspot-secondary); }
.jsspot-pagination .current { background: var(--jsspot-secondary); color: #fff; border: 1px solid var(--jsspot-secondary); }

/* ============ Form ============ */
.jsspot-form { max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 14px; font-weight: 600; color: var(--jsspot-primary);
  margin-bottom: 8px;
}
.form-label.required::after {
  content: "必須"; display: inline-block; margin-left: 8px; padding: 1px 8px;
  background: #e74c3c; color: #fff; font-size: 11px; font-weight: 500;
  border-radius: 3px; vertical-align: middle;
}
.form-input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--jsspot-border);
  border-radius: 6px; font-size: 15px; font-family: inherit;
  transition: border-color 0.3s; background: #fff;
}
.form-input:focus { outline: none; border-color: var(--jsspot-secondary); box-shadow: 0 0 0 3px rgba(91,154,215,0.15); }
select.form-input { appearance: auto; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-radio-group, .form-checkbox-group { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.form-radio, .form-checkbox {
  display: flex; align-items: center; gap: 6px; font-size: 15px; cursor: pointer;
}
.form-radio input, .form-checkbox input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--jsspot-secondary); }
.form-section-title {
  font-size: 17px; font-weight: 700; color: var(--jsspot-primary);
  padding: 12px 0; margin: 32px 0 20px; border-bottom: 2px solid var(--jsspot-secondary);
}

/* ============ Footer ============ */
.site-footer { background: var(--jsspot-primary); color: rgba(255,255,255,0.8); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 50px 0 30px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); text-align: center; padding: 20px 0; font-size: 12px; }
.site-footer-copyright { font-size: 13px; text-align: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.site-footer a { color: rgba(255,255,255,0.8); transition: color 0.3s; }
.site-footer a:hover { color: var(--jsspot-white); }

/* ============ FP: Numbers Section ============ */
.fp-numbers {
  background: var(--jsspot-primary); padding: 48px 0; color: #fff;
}
.fp-numbers-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center;
}
.fp-number-item { padding: 8px 0; }
.fp-number-value {
  display: block; font-size: 36px; font-weight: 700;
  font-family: "Shippori Mincho", serif; line-height: 1.2;
}
.fp-number-value small { font-size: 16px; font-weight: 500; margin-left: 2px; }
.fp-number-label {
  display: block; font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 6px;
}

/* ============ FP: Event Highlight ============ */
.fp-event-highlight {
  display: flex; gap: 24px; align-items: flex-start;
  background: #fff; border-radius: 10px; padding: 28px; border: 1px solid var(--jsspot-border);
  max-width: 700px; margin: 0 auto;
}
.fp-event-badge {
  flex-shrink: 0; background: var(--jsspot-primary); color: #fff;
  border-radius: 8px; padding: 16px 14px; text-align: center; min-width: 72px;
}
.fp-event-year { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; }
.fp-event-month { display: block; font-size: 13px; opacity: 0.8; }
.fp-event-tag {
  display: inline-block; background: #e67e22; color: #fff; font-size: 11px;
  font-weight: 700; padding: 2px 10px; border-radius: 3px; margin-bottom: 8px;
}
.fp-event-info h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 18px; font-weight: 700; color: var(--jsspot-primary); margin-bottom: 10px;
}
.fp-event-info p { font-size: 14px; margin-bottom: 4px; }

/* ============ FP: Journal Preview ============ */
.fp-journal-preview {
  display: flex; gap: 32px; align-items: flex-start; max-width: 800px; margin: 0 auto;
}
.fp-journal-cover { flex-shrink: 0; }
.fp-journal-cover img {
  width: 180px; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.fp-journal-info h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 20px; font-weight: 700; color: var(--jsspot-primary); margin-bottom: 6px;
}
.fp-journal-issue {
  font-size: 14px; color: var(--jsspot-secondary); font-weight: 600; margin-bottom: 14px;
}
.fp-journal-info p { font-size: 14px; color: var(--jsspot-text-light); line-height: 1.8; }

/* ============ FP: Mid CTA ============ */
.fp-mid-cta {
  background: var(--jsspot-secondary); padding: 40px 0; color: #fff;
}
.fp-mid-cta p {
  font-family: "Shippori Mincho", serif;
  font-size: 20px; font-weight: 700; margin-bottom: 20px; color: #fff;
}

/* ============ FP: Greeting ============ */
.fp-greeting {
  display: flex; gap: 28px; align-items: flex-start; max-width: 800px; margin: 0 auto;
}
.fp-greeting-photo { flex-shrink: 0; }
.fp-greeting-text p { font-size: 14px; color: var(--jsspot-text-light); line-height: 1.9; margin-bottom: 12px; }

/* ============ FP: Timeline ============ */
.fp-timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 100px; }
.fp-timeline::before {
  content: ""; position: absolute; left: 80px; top: 0; bottom: 0;
  width: 3px; background: var(--jsspot-secondary);
}
.fp-timeline-item { position: relative; padding-bottom: 32px; }
.fp-timeline-item:last-child { padding-bottom: 0; }
.fp-timeline-year {
  position: absolute; left: -100px; top: 0; width: 70px; text-align: right;
  font-size: 16px; font-weight: 700; color: var(--jsspot-primary);
  font-family: "Shippori Mincho", serif;
}
.fp-timeline-item::before {
  content: ""; position: absolute; left: -24px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--jsspot-secondary); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--jsspot-secondary);
}
.fp-timeline-content h4 {
  font-size: 16px; font-weight: 700; color: var(--jsspot-primary); margin-bottom: 6px;
}
.fp-timeline-content p { font-size: 14px; color: var(--jsspot-text-light); line-height: 1.7; }

/* ============ FP: Merits ============ */
.fp-merits { max-width: 700px; margin: 0 auto; }
.fp-merit-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--jsspot-border); font-size: 15px;
}
.fp-merit-item:last-child { border-bottom: none; }
.fp-merit-icon {
  flex-shrink: 0; width: 24px; height: 24px; display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2327ae60'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ============ FP: FAQ ============ */
.fp-faq { max-width: 700px; margin: 0 auto; }
.fp-faq-item {
  border-bottom: 1px solid var(--jsspot-border); padding: 0;
}
.fp-faq-item summary {
  padding: 16px 0; font-size: 15px; font-weight: 600; color: var(--jsspot-primary);
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px;
}
.fp-faq-item summary::before {
  content: "Q"; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--jsspot-secondary); color: #fff;
  font-size: 13px; font-weight: 700;
}
.fp-faq-item summary::-webkit-details-marker { display: none; }
.fp-faq-item[open] summary { color: var(--jsspot-secondary); }
.fp-faq-item p {
  padding: 0 0 16px 40px; font-size: 14px; color: var(--jsspot-text-light); line-height: 1.8;
}

/* ============ FP: Organization Section ============ */
.fp-org-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.fp-org-card {
  background: #fff; border-radius: 8px; padding: 28px 24px; text-align: center;
  text-decoration: none; color: inherit; display: block;
  border: 1px solid var(--jsspot-border); transition: all 0.3s;
}
.fp-org-card:hover {
  border-color: var(--jsspot-secondary); box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.fp-org-icon {
  width: 32px; height: 32px; display: inline-block; margin-bottom: 12px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.fp-org-card h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 17px; font-weight: 700; color: var(--jsspot-primary); margin-bottom: 10px;
}
.fp-org-card p {
  font-size: 13px; color: var(--jsspot-text-light); line-height: 1.7;
}

/* ============ FP: Admission Section ============ */
.fp-admission-inner { max-width: 700px; margin: 0 auto; }
.fp-admission-lead {
  text-align: center; color: var(--jsspot-text-light); line-height: 1.8; margin-bottom: 28px;
}
.fp-admission-types {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.fp-admission-type {
  background: var(--jsspot-light); border-radius: 8px; padding: 20px 16px;
  text-align: center; border: 1px solid var(--jsspot-border);
}
.fp-admission-name {
  display: block; font-size: 15px; font-weight: 700; color: var(--jsspot-primary); margin-bottom: 6px;
}
.fp-admission-fee {
  display: block; font-size: 14px; color: var(--jsspot-secondary); font-weight: 600;
}

/* ============ About Nav Grid ============ */
.about-nav-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px;
}
.about-nav-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px; background: var(--jsspot-light); border-radius: 8px;
  text-decoration: none; border: 1px solid var(--jsspot-border);
  transition: all 0.3s; cursor: pointer;
}
.about-nav-card:hover {
  border-color: var(--jsspot-secondary); background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.about-nav-icon {
  width: 28px; height: 28px; flex-shrink: 0; display: block;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  opacity: 0.75;
}
.about-nav-card:hover .about-nav-icon { opacity: 1; }
.about-nav-grid br { display: none; }
/* Heroicons: document-text */
.about-nav-icon--teikan {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b9ad7'%3E%3Cpath fill-rule='evenodd' d='M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0016.5 9h-1.875a1.875 1.875 0 01-1.875-1.875V5.25A3.75 3.75 0 009 1.5H5.625zM7.5 15a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5A.75.75 0 017.5 15zm.75 2.25a.75.75 0 000 1.5H12a.75.75 0 000-1.5H8.25z' clip-rule='evenodd'/%3E%3Cpath d='M12.971 1.816A5.23 5.23 0 0114.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 013.434 1.279 9.768 9.768 0 00-6.963-6.963z'/%3E%3C/svg%3E");
}
/* Heroicons: user-group */
.about-nav-icon--directors {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b9ad7'%3E%3Cpath d='M4.5 6.375a4.125 4.125 0 118.25 0 4.125 4.125 0 01-8.25 0zM14.25 8.625a3.375 3.375 0 116.75 0 3.375 3.375 0 01-6.75 0zM1.5 19.125a7.125 7.125 0 0114.25 0v.003l-.001.119a.75.75 0 01-.363.63 13.067 13.067 0 01-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 01-.364-.63l-.001-.122zM17.25 19.128l-.001.144a2.25 2.25 0 01-.233.96 10.088 10.088 0 005.06-1.01.75.75 0 00.42-.643 4.875 4.875 0 00-6.957-4.611 8.586 8.586 0 011.71 5.157v.003z'/%3E%3C/svg%3E");
}
/* Heroicons: building-office */
.about-nav-icon--committees {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b9ad7'%3E%3Cpath fill-rule='evenodd' d='M4.5 2.25a.75.75 0 000 1.5v16.5h-.75a.75.75 0 000 1.5h16.5a.75.75 0 000-1.5h-.75V3.75a.75.75 0 000-1.5h-15zM9 6a.75.75 0 000 1.5h1.5a.75.75 0 000-1.5H9zm-.75 3.75A.75.75 0 019 9h1.5a.75.75 0 010 1.5H9a.75.75 0 01-.75-.75zM9 12a.75.75 0 000 1.5h1.5a.75.75 0 000-1.5H9zm3.75-5.25A.75.75 0 0113.5 6H15a.75.75 0 010 1.5h-1.5a.75.75 0 01-.75-.75zM13.5 9a.75.75 0 000 1.5H15a.75.75 0 000-1.5h-1.5zm-.75 3.75a.75.75 0 01.75-.75H15a.75.75 0 010 1.5h-1.5a.75.75 0 01-.75-.75zM9 19.5v-2.25a.75.75 0 01.75-.75h4.5a.75.75 0 01.75.75v2.25H9z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
/* Heroicons: map-pin */
.about-nav-icon--branches {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b9ad7'%3E%3Cpath fill-rule='evenodd' d='M11.54 22.351l.07.04.028.016a.76.76 0 00.723 0l.028-.015.071-.041a16.975 16.975 0 001.144-.742 19.58 19.58 0 002.683-2.282c1.944-1.99 3.963-4.98 3.963-8.827a8.25 8.25 0 00-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.58 19.58 0 002.682 2.282 16.975 16.975 0 001.145.742zM12 13.5a3 3 0 100-6 3 3 0 000 6z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
/* Heroicons: building-office */
.about-nav-icon--office {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b9ad7'%3E%3Cpath fill-rule='evenodd' d='M4.5 2.25a.75.75 0 000 1.5v16.5h-.75a.75.75 0 000 1.5h16.5a.75.75 0 000-1.5h-.75V3.75a.75.75 0 000-1.5h-15zM9 6a.75.75 0 000 1.5h1.5a.75.75 0 000-1.5H9zm-.75 3.75A.75.75 0 019 9h1.5a.75.75 0 010 1.5H9a.75.75 0 01-.75-.75zM9 12a.75.75 0 000 1.5h1.5a.75.75 0 000-1.5H9zm3.75-5.25A.75.75 0 0113.5 6H15a.75.75 0 010 1.5h-1.5a.75.75 0 01-.75-.75zM13.5 9a.75.75 0 000 1.5H15a.75.75 0 000-1.5h-1.5zm-.75 3.75a.75.75 0 01.75-.75H15a.75.75 0 010 1.5h-1.5a.75.75 0 01-.75-.75zM9 19.5v-2.25a.75.75 0 01.75-.75h4.5a.75.75 0 01.75.75v2.25H9z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
.about-nav-label {
  font-size: 14px; font-weight: 700; color: var(--jsspot-primary); white-space: nowrap;
}
@media (max-width: 767px) {
  .about-nav-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Certification Requirements ============ */
.cert-requirements {
  background: #f5f8fb; border-radius: 8px; padding: 8px 24px;
  border: 1px solid #e0e6ed; margin: 16px 0;
}
.cert-req-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid #e0e6ed;
  font-size: 15px; line-height: 1.6;
}
.cert-req-item:last-child { border-bottom: none; }
.cert-req-icon {
  flex-shrink: 0; width: 24px; height: 24px; display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2327ae60'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ============ Certification Banner ============ */
.jsspot-certification-banner {
  position: relative; padding: 80px 0;
  background: var(--cert-bg) center / cover no-repeat;
  overflow: hidden;
}
.cert-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,36,71,0.93) 0%, rgba(0,36,71,0.7) 45%, rgba(0,36,71,0.15) 100%);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.jsspot-certification-banner .container { position: relative; z-index: 1; }
.cert-banner-text {
  max-width: 560px; color: #fff;
}
.cert-badge {
  display: inline-block; padding: 4px 18px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.cert-banner-text h2 {
  font-family: "Shippori Mincho", "游明朝", serif;
  font-size: 26px; font-weight: 700; margin-bottom: 16px; color: #fff;
}
.cert-banner-text p {
  color: rgba(255,255,255,0.9); line-height: 1.9; margin-bottom: 28px; font-size: 15px;
}
.jsspot-btn-white {
  display: inline-block; padding: 12px 32px; border-radius: 6px;
  background: #fff; color: var(--jsspot-primary); font-weight: 600; font-size: 14px;
  text-decoration: none; transition: all 0.3s;
}
.jsspot-btn-white:hover {
  background: rgba(255,255,255,0.9); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ============ Contact Form ============ */
.fp-contact {
  background: var(--jsspot-primary); padding: 80px 0; color: #fff;
}
.fp-contact-lead {
  text-align: center; color: rgba(255,255,255,0.8); margin-bottom: 40px; font-size: 15px;
}
.fp-contact-wrap {
  display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start;
}
.fp-contact-wrap--center {
  display: block; max-width: 680px; margin: 0 auto;
}
.fp-contact-form {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 36px; backdrop-filter: blur(4px);
}
.fp-form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fp-form-group { margin-bottom: 20px; }
.fp-form-group label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.9);
}
.fp-required {
  font-size: 11px; color: #ff6b6b; margin-left: 4px;
}
.fp-form-group input,
.fp-form-group select,
.fp-form-group textarea {
  width: 100%; padding: 10px 14px; border-radius: 6px; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.fp-form-group input::placeholder,
.fp-form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.fp-form-group input:focus,
.fp-form-group select:focus,
.fp-form-group textarea:focus {
  outline: none; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.1);
}
.fp-form-group select option { color: #333; background: #fff; }
.fp-form-group textarea { resize: vertical; min-height: 120px; }
.fp-form-submit { text-align: center; margin-top: 8px; }
.fp-submit-btn { min-width: 200px; cursor: pointer; border: none; font-size: 15px; padding: 14px 40px; }
.fp-contact-info {
  padding-top: 28px; text-align: center;
}
.fp-contact-info-label {
  font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; font-weight: 600;
}
.fp-contact-info-email { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.fp-contact-info-email a { color: #fff; text-decoration: none; }
.fp-contact-info-email a:hover { text-decoration: underline; }
.fp-contact-info-org { font-size: 13px; color: rgba(255,255,255,0.55); }
.fp-contact-success {
  max-width: 600px; margin: 0 auto; text-align: center;
  background: rgba(255,255,255,0.1); border-radius: 12px; padding: 40px;
  border: 1px solid rgba(255,255,255,0.2);
}
.fp-contact-success p { color: rgba(255,255,255,0.9); line-height: 1.8; }

/* Procedures Section */
.fp-procedures { background: #fff; padding: 70px 0; }
.fp-procedures-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin: 0 auto;
}
.fp-procedure-item {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: #f8f9fb; border: 1px solid #e5e8ed; border-radius: 8px;
  text-decoration: none; color: #1a1a2e; transition: all 0.2s;
}
.fp-procedure-item:hover {
  background: #eef1f6; border-color: #ccd2da; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.fp-proc-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 6px;
  background-color: #eef3fa; background-size: 18px 18px;
  background-position: center; background-repeat: no-repeat;
}
.fp-proc-label { font-size: 14px; font-weight: 600; }
.fp-proc-icon--admission { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zM4 19.235v-.11a6.375 6.375 0 0112.75 0v.109A12.318 12.318 0 0110.374 21c-2.331 0-4.512-.645-6.374-1.766z'/%3E%3C/svg%3E"); }
.fp-proc-icon--documents { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z'/%3E%3C/svg%3E"); }
.fp-proc-icon--change { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10'/%3E%3C/svg%3E"); }
.fp-proc-icon--email { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75'/%3E%3C/svg%3E"); }
.fp-proc-icon--withdrawal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M22 10.5h-6m-2.25-4.125a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zM4 19.235v-.11a6.375 6.375 0 0112.75 0v.109A12.318 12.318 0 0110.374 21c-2.331 0-4.512-.645-6.374-1.766z'/%3E%3C/svg%3E"); }
.fp-proc-icon--office { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3H21m-3.75 3H21'/%3E%3C/svg%3E"); }

/* ============ Download List ============ */
.jsspot-dl-list { display: flex; flex-direction: column; gap: 8px; }
.jsspot-dl-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: #f8f9fb; border: 1px solid #e5e8ed; border-radius: 8px;
  text-decoration: none; color: #333; transition: all 0.2s;
}
.jsspot-dl-item:hover {
  background: #eef1f6; border-color: #ccd2da; transform: translateX(4px);
}
.jsspot-dl-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 6px;
  background-size: 20px 20px; background-position: center; background-repeat: no-repeat;
}
.jsspot-dl-icon--pdf {
  background-color: #fef2f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath fill-rule='evenodd' d='M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0016.5 9h-1.875a1.875 1.875 0 01-1.875-1.875V5.25A3.75 3.75 0 009 1.5H5.625zM7.5 15a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5A.75.75 0 017.5 15zm.75 2.25a.75.75 0 000 1.5H12a.75.75 0 000-1.5H8.25z' clip-rule='evenodd'/%3E%3Cpath d='M12.971 1.816A5.23 5.23 0 0114.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 013.434 1.279 9.768 9.768 0 00-6.963-6.963z'/%3E%3C/svg%3E");
}
.jsspot-dl-icon--word {
  background-color: #eff6ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath fill-rule='evenodd' d='M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0016.5 9h-1.875a1.875 1.875 0 01-1.875-1.875V5.25A3.75 3.75 0 009 1.5H5.625zM7.5 15a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5A.75.75 0 017.5 15zm.75 2.25a.75.75 0 000 1.5H12a.75.75 0 000-1.5H8.25z' clip-rule='evenodd'/%3E%3Cpath d='M12.971 1.816A5.23 5.23 0 0114.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 013.434 1.279 9.768 9.768 0 00-6.963-6.963z'/%3E%3C/svg%3E");
}
.jsspot-dl-info { display: flex; flex-direction: column; gap: 2px; }
.jsspot-dl-name { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.jsspot-dl-meta { font-size: 12px; color: #888; }

/* ============ Office Page ============ */
.office-contact-grid { display: flex; gap: 24px; flex-wrap: wrap; }
.office-contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #f8f9fb; border: 1px solid #e5e8ed; border-radius: 10px; padding: 20px 24px;
  flex: 1; min-width: 240px;
}
.office-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px;
  background-color: #eef3fa; background-size: 22px 22px;
  background-position: center; background-repeat: no-repeat;
}
.office-icon--building {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3H21m-3.75 3H21'/%3E%3C/svg%3E");
}
.office-icon--mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75'/%3E%3C/svg%3E");
}
.office-contact-item strong { display: block; font-size: 13px; color: #888; margin-bottom: 4px; }
.office-contact-item p { margin: 0; font-size: 15px; color: #1a1a2e; line-height: 1.6; }
.office-contact-item a { color: var(--jsspot-primary); text-decoration: none; }
.office-contact-item a:hover { text-decoration: underline; }

.office-link-list { display: flex; flex-direction: column; gap: 8px; }
.office-link-list br { display: none; }
.office-link-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: #fff; border: 1px solid #e5e8ed; border-radius: 8px;
  text-decoration: none; color: #1a1a2e; transition: all 0.2s;
}
.office-link-item:hover { background: #f4f7fa; border-color: #ccd2da; transform: translateX(4px); }
.office-link-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  background-color: #eef3fa; background-size: 20px 20px;
  background-position: center; background-repeat: no-repeat;
}
.office-link-icon--admission {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zM4 19.235v-.11a6.375 6.375 0 0112.75 0v.109A12.318 12.318 0 0110.374 21c-2.331 0-4.512-.645-6.374-1.766z'/%3E%3C/svg%3E");
}
.office-link-icon--documents {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z'/%3E%3C/svg%3E");
}
.office-link-icon--change {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10'/%3E%3C/svg%3E");
}
.office-link-icon--email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75'/%3E%3C/svg%3E");
}
.office-link-icon--withdrawal {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23002447'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M22 10.5h-6m-2.25-4.125a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zM4 19.235v-.11a6.375 6.375 0 0112.75 0v.109A12.318 12.318 0 0110.374 21c-2.331 0-4.512-.645-6.374-1.766z'/%3E%3C/svg%3E");
}
.office-link-label { flex: 1; font-size: 15px; font-weight: 600; }
.office-link-arrow {
  flex-shrink: 0; width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23aaa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 4.5l7.5 7.5-7.5 7.5'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .office-contact-grid { flex-direction: column; }
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
  .fp-numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .jsspot-hero h1 { font-size: 28px; }
  .jsspot-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .jsspot-sub-nav { grid-template-columns: 1fr; }
  .jsspot-branch-grid { grid-template-columns: repeat(2, 1fr); }
  .jsspot-journal-card { flex-direction: column; align-items: center; }
  .fp-contact-wrap { grid-template-columns: 1fr; }
  .fp-contact-wrap--center { max-width: 100%; }
}

@media (max-width: 767px) {
  .jsspot-certification-banner { padding: 60px 0; }
  .cert-banner-overlay { background: linear-gradient(to bottom, rgba(0,36,71,0.9) 0%, rgba(0,36,71,0.7) 100%); }
  .cert-banner-text { max-width: 100%; text-align: center; }
  .cert-banner-text h2 { font-size: 22px; }
  .cert-banner-text br { display: none; }
  .fp-org-grid { grid-template-columns: 1fr; }
  .fp-admission-types { grid-template-columns: 1fr; }
  .fp-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-number-value { font-size: 28px; }
  .fp-event-highlight { flex-direction: column; }
  .fp-journal-preview { flex-direction: column; align-items: center; text-align: center; }
  .fp-journal-cover img { width: 150px; }
  .fp-greeting { flex-direction: column; align-items: center; text-align: center; }
  .fp-timeline { padding-left: 80px; }
  .fp-timeline::before { left: 60px; }
  .fp-timeline-year { left: -80px; width: 55px; font-size: 14px; }
  .fp-timeline-item::before { left: -24px; }
  .fp-mid-cta p { font-size: 17px; }
  .fp-form-row--2col { grid-template-columns: 1fr; }
  .fp-contact-form { padding: 24px; }
  .fp-contact-info { text-align: center; }
  .fp-procedures-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .jsspot-hero { padding: 60px 16px; }
  .jsspot-hero h1 { font-size: 22px; }
  .jsspot-hero-subtitle { font-size: 11px; }
  .jsspot-hero-lead { font-size: 14px; }
  .jsspot-hero-buttons { flex-direction: column; align-items: center; }
  .jsspot-hero-buttons .jsspot-btn { width: 80%; text-align: center; }
  .jsspot-cards { grid-template-columns: 1fr; }
  .jsspot-news-list li { flex-direction: column; gap: 6px; }
  .news-meta { display: flex; align-items: center; gap: 8px; }
  .jsspot-section-title { font-size: 20px; }
  .jsspot-news-section, .jsspot-cards-section, .jsspot-cta { padding: 40px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .jsspot-event-card { flex-direction: column; }
  iframe { height: 200px !important; }
  .jsspot-branch-grid { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .form-row .form-group[style] { flex: 1 !important; }
  .jsspot-page-header { padding: 40px 16px; }
  .jsspot-page-header h1 { font-size: 24px; }
  .jsspot-greeting-box { flex-direction: column; align-items: center; text-align: center; }
  .jsspot-highlight-box { padding: 24px 16px; }
  .conference-details { gap: 12px; }
}
