/* ブリッジ 共通スタイル（案内ページの配色を引き継ぎ） */
:root {
  --bg: #f7f9fb;
  --card: #ffffff;
  --text: #263238;
  --muted: #5b6770;
  --blue: #255892;
  --blue-dark: #2a5c7a;
  --blue-soft: #e8f6ff;
  --sky: #8ed1fc;
  --sky-dark: #54b8f4;
  --yellow-soft: #ffedb3;
  --line: #dde4ea;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }

/* ---------- ヘッダー ---------- */
.site-header { background: var(--card); border-bottom: 3px solid var(--sky-dark); position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: 1000px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; color: var(--blue); line-height: 1.2; }
.logo-sub { display: block; font-size: 12px; color: var(--muted); }
.logo-main { display: block; font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.nav-toggle { display: none; background: var(--blue); color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; font-size: 14px; font-weight: 700; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0 auto; padding: 0 16px 10px; max-width: 1000px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { color: var(--blue-dark); text-decoration: none; font-weight: 700; font-size: 15px; padding: 4px 0; display: inline-block; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--sky-dark); }
.site-nav .nav-contact { background: var(--sky); padding: 4px 12px; border-radius: 6px; border: 0; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 10px 0; border-bottom: 0; }
  .site-nav .nav-contact { text-align: center; margin-top: 8px; }
}

/* ---------- 本文 ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; }
.page-title { font-size: 24px; line-height: 1.5; margin: 0 0 16px; color: var(--blue); }
h2, .block-title {
  font-size: 21px; line-height: 1.5; margin: 40px 0 12px; padding: 10px 14px;
  background: var(--blue); color: #fff; border-radius: 10px;
}
h3 { font-size: 17px; margin: 28px 0 10px; padding-left: 10px; border-left: 4px solid var(--sky-dark); line-height: 1.5; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 1.4em; }
li { margin-bottom: 4px; }
.catch { font-weight: 600; color: var(--blue-dark); margin: 12px 0; }
.small { font-size: 14px; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; margin-bottom: 12px; }
.notice { background: var(--yellow-soft); border: 1px solid #f0d77e; border-radius: 10px; padding: 14px 16px; margin: 0 0 20px; }
.notice p:last-child { margin: 0; }
.back { display: inline-block; margin-top: 16px; font-size: 14px; }

/* ボタン */
.btn {
  display: block; text-align: center; background: var(--sky); color: var(--blue-dark); text-decoration: none;
  font-weight: 700; font-size: 19px; padding: 14px 16px; border-radius: 8px; margin: 16px 0 0;
}
.btn:hover, .btn:focus { background: #b5e2fd; }
.btn.is-full { background: #c9ced3; color: #4a5258; pointer-events: none; cursor: default; }

/* 数字のまとめ */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.fact { background: var(--yellow-soft); border-radius: 10px; padding: 12px; text-align: center; }
.fact .label { font-size: 13px; color: var(--muted); display: block; }
.fact .value { font-size: 20px; font-weight: 700; }

/* 講習の回 */
.session { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 12px; background: var(--card); }
.session-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.session-no { font-weight: 700; font-size: 18px; }
.badge { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); }
.badge.few { background: #fff3c4; color: #7a5b00; }
.badge.full { background: #fde2e1; color: #a4262c; }
dl.info { display: grid; grid-template-columns: 4.5em 1fr; gap: 2px 8px; margin: 8px 0 0; }
dl.info dt { color: var(--muted); }
dl.info dd { margin: 0; }

/* 表 */
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; margin-bottom: 12px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--blue-soft); }
td.num { text-align: right; white-space: nowrap; }

/* 利用者の声 */
.voice { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.voice .who { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.voice .head { font-weight: 700; margin: 0 0 4px; }

/* 開閉 */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
summary { font-weight: 700; cursor: pointer; }

/* ---------- TOP ---------- */
.hero { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; border-radius: 14px; padding: 28px 22px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(19px, 5.4vw, 24px); line-height: 1.5; margin: 0 0 10px; color: #fff; }
.hero p { margin: 0; }
.menu-cards { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 8px; }
@media (min-width: 640px) { .menu-cards { grid-template-columns: repeat(3, 1fr); } }
.menu-card { display: block; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--sky-dark); border-radius: 10px; padding: 14px; text-decoration: none; color: var(--text); }
.menu-card strong { display: block; color: var(--blue); font-size: 17px; margin-bottom: 4px; }
.menu-card span { font-size: 14px; color: var(--muted); }
.news-list { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.news-list li { padding: 10px 14px; border-top: 1px solid var(--line); margin: 0; }
.news-list li:first-child { border-top: 0; }
.news-list time { display: inline-block; min-width: 8.5em; font-size: 14px; color: var(--muted); }

/* ---------- 活動実績 ---------- */
.post-meta { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.tag { display: inline-block; font-size: 13px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; padding: 0 10px; margin-left: 6px; text-decoration: none; }
.tag-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tag-filter .tag { margin: 0; font-size: 14px; padding: 2px 12px; }
.tag-filter .tag[aria-current="page"] { background: var(--blue); color: #fff; }

/* ---------- フッター ---------- */
.site-footer { background: var(--blue); color: #fff; margin-top: 40px; }
.footer-inner { max-width: 760px; margin: 0 auto; padding: 28px 16px; font-size: 14px; }
.site-footer a { color: #fff; }
.footer-name { font-weight: 700; }
.copy { font-size: 12px; opacity: .8; margin: 16px 0 0; }

/* ---------- TOPのスライダー ---------- */
.slider { position: relative; margin-bottom: 24px; }
.slides { position: relative; aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
@media (max-width: 640px) { .slides { aspect-ratio: 4 / 3; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; color: #fff; text-decoration: none; display: block; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(0,0,0,.55)); font-size: 15px; }
.slide-caption strong { display: block; font-size: 20px; }
.slider-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.dot.is-active { background: var(--sky-dark); }
.slider-pause { border: 1px solid var(--line); background: var(--card); color: var(--blue-dark); border-radius: 6px; font-size: 11px; padding: 2px 8px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- TOP（現行サイトの構成に合わせたもの） ---------- */
.wrap-wide { max-width: 1180px; padding-top: 16px; }
.slides { aspect-ratio: auto; background: #fff; }
.slide { position: relative; display: none; opacity: 1; }
.slide.is-active { display: block; }
.slide img { height: auto; object-fit: contain; }
.band { padding: 28px 0; }
.band-blue { background: #336cad; margin: 0 calc(50% - 50vw); padding: 32px calc(50vw - 50%); }
.banner-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .banner-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-banner { position: relative; display: block; border-radius: 3px; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 320 / 227; }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.photo-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.photo-banner:hover img { transform: scale(1.04); }
.photo-banner-text { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 8px; }
.photo-banner-text strong { font-size: 20px; line-height: 1.6; letter-spacing: .03em; }
.photo-banner-text small { font-size: 13px; font-weight: 700; margin-top: 12px; line-height: 1.6; }
@media (max-width: 640px) { .photo-banner-text strong { font-size: 16px; } .photo-banner-text small { font-size: 11px; margin-top: 6px; } }
.image-banner img { display: block; width: 100%; height: auto; }
.section-title { background: none; color: var(--blue); text-align: center; font-size: 24px; padding: 0; margin: 8px 0 20px; }
.news-list .news-meta { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 9.5em; margin-right: 12px; vertical-align: top; }
.news-list .news-title { display: inline-block; max-width: calc(100% - 11em); }
@media (max-width: 640px) { .news-list .news-meta { flex-direction: row; gap: 8px; min-width: 0; margin: 0 0 4px; } .news-list .news-title { display: block; max-width: none; } }
.cat { display: inline-block; font-size: 12px; color: #fff; background: #c8283c; border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.cat-event { background: #3f5a85; }
.news-list time { min-width: 0; font-size: 13px; letter-spacing: .05em; }

/* ---------- 各ページの部品 ---------- */
.table-scroll { overflow-x: auto; }
.photo-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.photo-grid img { width: 100%; border-radius: 8px; }
.profile { display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.profile img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.profile-name { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
@media (max-width: 560px) { .profile { grid-template-columns: 1fr; justify-items: center; } .profile > div { width: 100%; } }
.map { position: relative; aspect-ratio: 16 / 9; margin-bottom: 8px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.voice-img { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
h4 { font-size: 16px; margin: 20px 0 8px; color: var(--blue-dark); }
.header-inner, .site-nav ul { max-width: 1180px; }
.photo-banner.is-soon img, .image-banner.is-soon img { filter: grayscale(.6); opacity: .7; }
.photo-banner .soon { background: rgba(255,255,255,.9); color: var(--blue-dark); border-radius: 999px; padding: 0 10px; }
.image-banner { position: relative; display: block; }
.soon-badge { position: absolute; right: 8px; bottom: 8px; background: rgba(255,255,255,.92); color: var(--blue-dark); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 10px; }
.slide-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #fff; font-weight: 700; font-size: clamp(16px, 2.6vw, 34px); text-shadow: 0 1px 8px rgba(0,0,0,.45); padding: 0 16px; line-height: 1.6; }
.logo img { display: block; height: 52px; width: auto; }
@media (max-width: 720px) { .logo img { height: 40px; } }
.supporters { background: #f2f2f2; margin: 0 calc(50% - 50vw); padding: 24px calc(50vw - 50%); }
.supporters .banner-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .supporters .banner-grid { grid-template-columns: repeat(3, 1fr); } }
.supporters img { width: 100%; height: auto; display: block; }
.grant { text-align: center; }
.grant p { background: #fdf5e8; text-align: left; padding: 8px 16px; margin: 0 0 0; }
.grant img { max-width: 580px; width: 100%; }
.center { text-align: center; }
.history dt { font-weight: 700; color: var(--blue); margin-top: 12px; }
.history dd { margin: 0; }
.history ul { margin: 4px 0 0; }
.btn-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .btn-grid { grid-template-columns: 1fr 1fr; } }
.btn-grid .btn { margin: 0; font-size: 16px; }
.btn-soon { background: var(--line); color: var(--muted); cursor: default; }
.btn-soon small { display: block; font-size: 12px; font-weight: 400; }
.btn-outline { background: var(--card); border: 2px solid var(--sky); }
.btn-row { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 560px) { .btn-row { grid-template-columns: 1fr 1fr; } }
.btn-row .btn { margin: 0; }
.partner-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.partner-list li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.flow { list-style: none; padding: 0; counter-reset: none; display: grid; gap: 0; }
.flow li { background: var(--blue-soft); border-radius: 10px; padding: 12px 16px; text-align: center; font-weight: 700; color: var(--blue-dark); margin: 0; }
.flow li + li { margin-top: 28px; position: relative; }
.flow li + li::before { content: "▼"; position: absolute; top: -24px; left: 0; right: 0; color: var(--sky-dark); font-size: 14px; }
.card-brands { display: flex; flex-wrap: wrap; gap: 12px; }
.card-brands img { max-height: 40px; width: auto; }
.info-list dt { font-weight: 700; color: var(--blue-dark); margin-top: 14px; }
.info-list dd { margin: 4px 0 0; }
.photo-fig { margin: 0; }
.photo-fig img { width: 100%; border-radius: 8px; }

/* ---------- 活動実績の一覧 ---------- */
.filter-panel { position: sticky; top: 64px; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 8px; }
@media (max-width: 720px) { .filter-panel { position: static; } }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { border: 1px solid var(--sky-dark); background: var(--card); color: var(--blue-dark); border-radius: 999px; padding: 4px 12px; font-size: 14px; cursor: pointer; font-family: inherit; }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip:focus-visible, .filter-controls select:focus-visible, .filter-controls input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.filter-controls { gap: 10px 16px; align-items: center; font-size: 14px; }
.filter-controls label { display: flex; align-items: center; gap: 6px; }
.filter-controls select, .filter-controls input { font: inherit; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--text); }
.f-key { flex: 1 1 220px; }
.f-key input { flex: 1; min-width: 0; }
.year-title { margin-top: 28px; }
.activity-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.activity { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; }
.activity-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.act-date { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.act-cat { font-size: 12px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; padding: 1px 10px; }
.act-text { margin: 0; }
.act-links { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.link-soon { color: var(--muted); }
.act-images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.act-images img { width: 140px; height: 100px; object-fit: cover; border-radius: 6px; display: block; }

/* ===== お知らせ・イベント（WordPress投稿から移行） ===== */
.more { text-align: right; margin-top: 10px; font-size: 14px; }
.more a { margin-left: 1em; }
.event-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.event-cards li { margin: 0; }
.event-cards a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--text); text-decoration: none; }
.event-cards a:hover, .event-cards a:focus { border-color: var(--sky-dark); }
.event-cards img, .event-cards .noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--blue-soft); }
.event-cards .ev-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.event-cards .news-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.event-cards .ev-title { font-weight: 700; line-height: 1.6; }
.post-meta .cat { margin-right: 8px; }
.seminar-info { margin-top: 32px; }
.seminar-info th { width: 7em; white-space: nowrap; }
/* WordPressのブロック本文を崩さず表示するための最低限の整え */
.wp-content img { max-width: 100%; height: auto; }
.wp-content figure { margin: 1em 0; }
.wp-content .aligncenter, .wp-content .has-text-align-center { text-align: center; margin-left: auto; margin-right: auto; }
.wp-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.wp-content .wp-block-column { flex: 1 1 240px; min-width: 0; }
.wp-content .wp-block-spacer { height: 24px !important; }
.wp-content table { width: 100%; }
.wp-content .wp-block-table table td, .wp-content .wp-block-table table th { white-space: normal; }
.wp-content .is-style-group__border { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 1em 0; }
.wp-content .epb-box { margin: 1.5em 0; }
.wp-content .epb-box__headline { display: inline-block; padding: 8px 14px; border-radius: 6px 6px 0 0; }
.wp-content .epb-box__body { border-width: 2px; border-radius: 0 6px 6px 6px; }
.wp-content .epb-button, .wp-content .epb-advanced-buttons, .wp-content .wp-block-buttons { text-align: center; margin: 1.2em 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.wp-content .epb-button a, .wp-content .epb-advanced-buttons a, .wp-content .wp-block-button__link { display: inline-block; padding: .7em 1.8em; border-radius: 6px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; }
.wp-content iframe { max-width: 100%; }
.wp-content table th { white-space: nowrap; min-width: 4.5em; vertical-align: top; }

/* ===== Emanonブロック（固定ページ移行分）の見た目 ===== */
.wp-content .epb-button { display: block; }
.wp-content .epb-btn { display: inline-block; min-width: 60%; max-width: 100%; text-align: center; padding: .8em 1.6em; border-radius: 6px; text-decoration: none; font-weight: 700;
  background: var(--epb-button-bg-color, var(--blue)); color: var(--epb-button-text-color, #fff); border: var(--epb-button-border-size, 0) solid var(--epb-button-border-color, transparent); }
.wp-content .epb-btn:hover { opacity: .85; }
.wp-content .epb-btn-size__full .epb-btn { display: block; width: 100%; }
.wp-content .epb-btn-text { display: inline; }
.wp-content mark { background: none; color: inherit; }
.wp-content mark[class*="epb-linemaker"] { background: linear-gradient(transparent 60%, #cfe6ff 60%); }
.wp-content mark.epb-linemaker-yellow { background: linear-gradient(transparent 60%, #fff0a0 60%); }
.wp-content [class*="epb-underline"] { text-decoration: underline; text-underline-offset: 4px; }
/* 吹き出し（企業インタビュー） */
.wp-content .epb-balloon { display: flex; gap: 16px; align-items: flex-start; margin: 20px 0; }
.wp-content .epb-balloon__icon { flex: 0 0 80px; text-align: center; font-size: 12px; }
.wp-content .epb-balloon__icon figure { margin: 0; }
.wp-content .epb-balloon__img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; border: 2px solid #e5e7e8; }
.wp-content .epb-balloon__content { flex: 1; min-width: 0; }
.wp-content .epb-balloon__text { position: relative; padding: 14px 16px; border-radius: 8px; }
.wp-content .epb-balloon__text p:last-of-type { margin-bottom: 0; }
.wp-content .epb-balloon__before, .wp-content .epb-balloon__after { display: none; }
.wp-content .epb-img-center-right { flex-direction: row-reverse; }
/* プロフィールカード */
.wp-content .epb-profile-card { padding: 16px; margin: 20px 0; background: var(--card); }
.wp-content .epb-profile-card .is-style-epb-column__two-left { display: flex; gap: 16px; align-items: flex-start; }
.wp-content .epb-profile-card__icon { flex: 0 0 96px; text-align: center; font-size: 13px; font-weight: 700; }
.wp-content .epb-profile-card__icon figure { margin: 0 auto 4px; }
.wp-content .epb-profile-card__img { object-fit: cover; border-radius: 50%; }
.wp-content .epb-profile-card__sns { display: none; }
/* タイムライン（医療機関の皆さまへ） */
.wp-content .epb-timeline { list-style: none; padding: 0; counter-reset: tl; }
.wp-content .epb-timeline__item { counter-increment: tl; position: relative; padding: 0 0 20px 52px; border-left: 0; }
.wp-content .epb-timeline__item::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--epb-border-color, var(--line)); }
.wp-content .epb-timeline__item:last-child::before { display: none; }
.wp-content .epb-timeline__number { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.wp-content .epb-timeline__number::after { content: counter(tl); }
.wp-content .epb-timeline__headline { font-weight: 700; font-size: 17px; line-height: 36px; margin-bottom: 6px; }
/* 見出し・バナー */
.wp-content .epb-advance-headling__text { font-size: 20px; font-weight: 700; color: var(--blue-dark); text-align: center; }
.wp-content .epb-banner { margin: 24px 0; }
.wp-content .epb-banner img { display: block; width: 100%; }
@media (max-width: 560px) { .wp-content .epb-profile-card .is-style-epb-column__two-left { flex-direction: column; align-items: center; } .wp-content .epb-btn { min-width: 100%; } }

/* ===== ヘッダー・メニュー（現行サイトの構成を再現） ===== */
.site-header { border-bottom: 0; box-shadow: 0 1px 0 rgba(0,0,0,.06); border-top: 3px solid #222; }
.util-links { list-style: none; margin: 0; padding: 4px 24px 0; display: flex; justify-content: flex-end; gap: 14px; font-size: 13px; }
.util-links li { margin: 0; }
.util-links a { color: #333; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; letter-spacing: .08em; }
.util-links a:hover { color: #6195cf; }
.site-header .header-inner { max-width: none; padding: 0 0 0 24px; align-items: stretch; min-height: 84px; }
.site-header .logo { display: flex; align-items: center; padding: 4px 0 10px; }
.site-header .logo img { height: 64px; }
.pc-nav { display: flex; align-items: stretch; }
.pc-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.pc-menu > li { position: relative; margin: 0; display: flex; }
.pc-menu > li > a { display: flex; align-items: center; padding: 0 17px; color: #333; text-decoration: none; font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.pc-menu > li > a span { position: relative; }
.pc-menu > li > a span::after { content: ""; position: absolute; left: calc(50% - 2.5px); bottom: -12px; width: 5px; height: 5px; border-radius: 50%; background: #6195cf; opacity: 0; transition: .3s; }
.pc-menu > li:hover > a, .pc-menu > li:focus-within > a, .pc-menu > li.is-current > a { color: #6195cf; }
.pc-menu > li:hover > a span::after, .pc-menu > li:focus-within > a span::after, .pc-menu > li.is-current > a span::after { opacity: 1; bottom: -10px; }
.pc-menu > li.is-highlight { margin-top: -22px; }
.pc-menu > li.is-highlight > a { background: #7ea6dc; color: #fff; padding: 22px 18px 0; }
.pc-menu > li.is-highlight > a span::after { display: none; }
.pc-menu > li.is-highlight > a:hover { background: #6195cf; color: #fff; }
.pc-sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 280px; background: #6b93cb; box-shadow: 0 4px 10px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 20; }
.pc-menu > li:hover .pc-sub, .pc-menu > li:focus-within .pc-sub { opacity: 1; visibility: visible; transform: none; }
.pc-sub li { margin: 0; }
.pc-sub a { display: block; color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .08em; padding: 10px 24px; }
.pc-sub a:hover, .pc-sub a:focus, .pc-sub a[aria-current] { background: rgba(255,255,255,.15); }
.site-header .nav-toggle { display: none; }
.site-header .site-nav { display: none; }
@media (max-width: 1180px) {
  .pc-nav, .util-links { display: none; }
  .site-header .header-inner { padding: 8px 16px; min-height: 0; align-items: center; }
  .site-header .logo img { height: 44px; }
  .site-header .nav-toggle { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; color: #333; font-size: 10px; letter-spacing: .1em; padding: 4px 6px; }
  .nav-toggle .bars { display: block; width: 24px; height: 2px; background: #333; box-shadow: 0 -7px 0 #333, 0 7px 0 #333; margin: 9px 0 6px; }
  .site-header .site-nav.is-open { display: block; max-height: calc(100vh - 70px); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); }
  .site-header .site-nav ul { flex-direction: column; gap: 0; padding: 0 16px 16px; }
  .site-header .site-nav li { border-top: 1px solid var(--line); }
  .site-header .site-nav li.sub a { padding-left: 1em; font-weight: 400; font-size: 14px; }
  .site-header .site-nav a { display: block; padding: 10px 0; color: #333; }
}
/* フッター */
.site-footer .footer-inner { max-width: 1180px; }
.footer-menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.footer-menu, .footer-menu ul { list-style: none; margin: 0; padding: 0; }
.footer-menu > li { margin: 0 0 8px; }
.footer-menu ul { padding-left: 1em; margin-top: 4px; }
.footer-menu ul li { margin: 0 0 4px; font-size: 13px; }
.footer-menu ul li::before { content: "- "; opacity: .7; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.footer-info { border-top: 1px solid rgba(255,255,255,.3); padding-top: 20px; }
@media (max-width: 720px) { .footer-menus { grid-template-columns: 1fr; gap: 8px; } }
/* 調整：ロゴを縮めない・お問い合わせ枠はメニュー行の高さに */
.site-header .logo { flex-shrink: 0; margin-right: 16px; }
.pc-menu > li.is-highlight { margin-top: 0; }
.pc-menu > li.is-highlight > a { padding: 0 20px; }
.site-header .header-inner { min-height: 96px; }
@media (max-width: 1600px) { .pc-menu > li > a { padding: 0 12px; font-size: 14px; letter-spacing: .03em; } .site-header .logo img { height: 56px; } }
@media (max-width: 1340px) { .pc-menu > li > a { padding: 0 9px; font-size: 13.5px; letter-spacing: 0; } .site-header .logo img { height: 48px; } }
@media (max-width: 1180px) { .site-header .header-inner { min-height: 0; } }

/* ===== 現行サイトの配色・装飾の再現 ===== */
:root { --blue: #235ea1; --blue-mid: #427ab8; --blue-light: #6195cf; --navy: #2b3f54; --accent: #ff9900; --accent-btn: #f2852f; --accent-soft: #ffb74c; }
a:hover, a:active { color: var(--accent); }
/* ページ上部の帯：街並みの画像に、白抜き＋青い縁取りのタイトル（子テーマの設定値） */
.page-hero { position: relative; background: url(../../wp-content/uploads/2023/02/page-header.png) center bottom / cover no-repeat; min-height: 200px; display: flex; align-items: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(255 255 255 / .4), rgb(184 209 237 / .4)); }
.page-hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 24px 16px 60px; text-align: center; }
.page-hero__title { margin: 0; color: #fff; font-size: clamp(22px, 3.4vw, 34px); font-weight: 700; letter-spacing: .06em; line-height: 1.5;
  text-shadow: 1px 1px 0 #235ea1, -1px -1px 0 #235ea1, -1px 1px 0 #235ea1, 1px -1px 0 #235ea1, 0 1px 0 #235ea1, 0 -1px 0 #235ea1, -1px 0 0 #235ea1, 1px 0 0 #235ea1; filter: drop-shadow(0 0 5px #235ea1); }
@media (max-width: 640px) { .page-hero { min-height: 130px; } .page-hero__inner { padding-bottom: 36px; } }
/* 帯にタイトルが出るので、本文先頭の大見出しは隠す（読み上げソフトには残す） */
.page-hero + main .page > .page-title, .page-hero + .layout-2col .page > .page-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 見出し */
.page h2:not([class*="has-"]):not(.bg-678C39):not(.h2-hidden):not(.heading-icon-blue):not(.dot-border), h2.year-title, .seminar-info h2 { background: var(--blue); border-radius: 3px; padding: 8px 12px; font-size: 20px; }
.page h3:not(.dot-border):not(.plus-caption):not(.number):not(.heading-icon-blue) { border-left-color: var(--blue-light); }
/* ロゴマークを使った見出し（TOPの各見出し・子テーマの heading-icon-blue） */
.section-title { color: var(--blue); }
.page .heading-icon-blue { background: url(../img/heading-icon-blue.svg) no-repeat 0 0 / 32px 32px; color: var(--blue); border: 0; border-radius: 0; padding: 4px 0 16px 40px; font-size: 22px; line-height: 1.4; margin-top: 48px; }
/* 差し色のオレンジ */
.btn-accent { background: var(--accent-btn); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent); color: #fff; }
.cat-open { background: var(--accent); }
.slider-dots .dot.is-active { background: var(--accent); }
.chip.is-on { background: var(--blue); border-color: var(--blue); }
.act-links a::before, .more a::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; background: url(../img/circle-arrow-yellow.svg) no-repeat center / contain; }
.site-footer { background: var(--blue); }
.site-nav .nav-contact { background: var(--blue-light); color: #fff; }
/* カテゴリ帯の色（現行サイトの設定値） */
.cat { background: #cc0033; }
.cat-event { background: #3f5973; }
.cat-open { background: var(--accent); }

/* ===== サイドバー（下層ページ） ===== */
.layout-2col { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 0 16px; }
.layout-2col > .wrap { max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.sidebar { padding: 32px 0 56px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1000px) { .layout-2col { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 792px; } .sidebar { padding-top: 0; } }
.side-form { background: #fdfcf8; border: 1px solid #efe5d9; padding: 0 12px 16px; font-size: 14px; }
.side-form__title { background: #335f9e !important; color: #fff; font-size: 15px !important; font-weight: 400; letter-spacing: .08em; border-radius: 0 !important; margin: 16px 0 10px !important; padding: 8px 16px !important; }
.side-form__lead { color: var(--blue); line-height: 1.6; margin: 0 8px 8px; }
.side-form__note { color: #cc0033; line-height: 1.6; margin: 0 8px 12px; padding-bottom: 12px; border-bottom: 1px solid #ccc; }
.side-form__mail { font-size: 13px; line-height: 1.6; color: #333; }
.side-form__soon { text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: 10px; margin: 0; }
.side-banner { aspect-ratio: 600 / 425; border-radius: 4px; }
.side-banner .photo-banner-text strong { font-size: 24px; }
.side-banner .photo-banner-text small { font-size: 14px; }

/* ===== バナーを押す・マウスを乗せたときの変化（現行サイト：内側に白い枠が出る） ===== */
.photo-banner img { transition: none; }
.photo-banner:hover img { transform: none; }
.photo-banner::before { content: ""; position: absolute; inset: 12px; border: 1px solid #fff; z-index: 2; opacity: 0; transition: opacity .3s; pointer-events: none; }
.photo-banner:hover::before, .photo-banner:focus-visible::before, .photo-banner:active::before { opacity: 1; }
.image-banner img { transition: opacity .3s; }
.image-banner:hover img { opacity: .8; }

/* ===== 寄付・会費ページ（Squareの決済ボタン） ===== */
@media (min-width: 782px) { .wp-content .wp-block-columns { flex-wrap: nowrap; } .wp-content .wp-block-column { flex: 1 1 0; } }
.wp-content .wp-block-column div[style*="width: 230px"] { width: 100% !important; max-width: 300px; margin: 0 auto 16px; }
.wp-content .wp-block-column div[style*="width: 230px"] p { margin: 0; }
.wp-content a[href*="checkout.square.site"], .wp-content a[href*="square.link"] { text-decoration: none; display: block !important; min-width: 0 !important; width: 100%; margin-top: 4px; transition: opacity .3s; }
.wp-content a[href*="checkout.square.site"]:hover, .wp-content a[href*="square.link"]:hover { opacity: .8; color: #fff; }
/* リストの〇印（Emanon「グッド」スタイル） */
.wp-content .is-style-item__good { list-style: none; padding-left: 0; }
.wp-content .is-style-item__good > li { position: relative; padding-left: 1.6em; }
.wp-content .is-style-item__good > li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9em; height: .9em; border: 2px solid var(--accent); border-radius: 50%; }
/* チェックマーク付きの帯 */
.wp-content .is-style-paragraph__checkmark { padding: 12px 20px; letter-spacing: .06em; }
.wp-content .is-style-paragraph__checkmark::before { content: "✓ "; }
.wp-content mark.epb-linemaker-yellow { background: #ffff4d; }

.wp-content a[href*="checkout.square.site"], .wp-content a[href*="square.link"] { text-decoration: none !important; }
.photo-banner:hover, .photo-banner:focus { color: #fff; }
/* Emanonの表示切り替え（スマホだけ／タブレット・PCだけ） */
@media (min-width: 600px) { .wp-content .epb-display__sp-only { display: none !important; } }
@media (max-width: 599px) { .wp-content .epb-display__tablet-pc { display: none !important; } }

/* ===== 関連情報ページ：説明文の帯を薄い色・黒文字に、左に余白（約2mm） ===== */
.page-kanren-link .is-style-paragraph__speech-bubble { color: #333 !important; padding: 10px 14px 10px 16px; border-radius: 4px; line-height: 1.8; }
.page-kanren-link .is-style-paragraph__speech-bubble[style*="#91aed0"] { background-color: #e4ebf4 !important; }
.page-kanren-link .is-style-paragraph__speech-bubble[style*="#ffe0b2"] { background-color: #fff4e5 !important; }
.page-kanren-link .is-style-paragraph__speech-bubble[style*="#8bc782"] { background-color: #e6f2e3 !important; }

/* ===== 本文中の写真バナー（活動紹介ページなど）：文字を写真の上に重ね、サイドバーと同じ見せ方に ===== */
.wp-content .epb-banner { margin: 16px 0; }
.wp-content .epb-banner__item { width: 100% !important; }
.wp-content .epb-banner__link { position: relative; display: block; overflow: hidden; border-radius: 4px; color: #fff; text-decoration: none; }
.wp-content .epb-banner__link img { display: block; width: 100%; }
.wp-content .epb-img-overlay .epb-banner__link img { aspect-ratio: 600 / 425; object-fit: cover; }
.wp-content .epb-img-overlay .epb-banner__link::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.wp-content .epb-banner__inner { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px; text-align: center; }
.page .wp-content .epb-banner__title, .wp-content h2.epb-banner__title { background: none !important; color: #fff !important; margin: 0 !important; padding: 0 !important; border: 0; font-size: 24px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.wp-content .epb-banner__title .epb-font-size { font-size: clamp(18px, 2.2vw, 26px) !important; }
.wp-content .epb-img-effect-border .epb-banner__link::before { content: ""; position: absolute; inset: 12px; border: 1px solid #fff; z-index: 2; opacity: 0; transition: opacity .3s; pointer-events: none; }
.wp-content .epb-img-effect-border .epb-banner__link:hover::before { opacity: 1; }
.wp-content .epb-banner__link:hover { color: #fff; }

/* ===== アコーディオン（「続きはこちら」で開閉） ===== */
.wp-content .epb-accordion { margin: 16px 0 0; }
.wp-content .epb-accordion__title { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--blue); font-weight: 700; font-size: 16px !important; padding: 6px 16px; border: 1px solid var(--blue-light); border-radius: 999px; background: #fff; user-select: none; }
.wp-content .epb-accordion__title::after { content: "＋"; font-weight: 400; }
.wp-content .epb-accordion__title[aria-expanded="true"]::after { content: "－"; }
.wp-content .epb-accordion__title:hover, .wp-content .epb-accordion__title:focus-visible { background: var(--blue-soft); }
.wp-content .epb-accordion__content { margin: 12px 0 0; padding: 0; }
.wp-content .epb-accordion__content.is-hidden { display: none; }

/* ===== 本文の小見出し（h4）を読みやすい大きさに ===== */
.page.wp-content h4:not(.has-text-color) { font-size: 19px; font-weight: 700; color: var(--blue); border-left: 5px solid var(--blue-light); padding: 2px 0 2px 12px; margin: 32px 0 12px; line-height: 1.5; }

/* ===== 白い背景の表・枠の中の文字に左右の余白 ===== */
.wp-content .members-table th, .wp-content .members-table td { padding: .55rem .9rem !important; }
.wp-content .members-table { background: #fff; padding: 4px 0; }
.wp-content .has-ep-white-background-color { padding: 24px !important; }

/* ===== ボタン（Emanon アドバンスボタン）：設定された色・幅・角丸をそのまま反映 ===== */
.wp-content .epb-advanced-buttons { display: flex; justify-content: center; margin: 20px 0 32px; }
.wp-content .epb-advanced-button-wrapper { width: min(100%, 360px); }
.wp-content a.epb-advanced-button { display: block; text-align: center; text-decoration: none; padding: .8em 1.8em; border-radius: var(--epb-button-radius, 100px);
  background: var(--epb-button-background, #ffe180); color: var(--epb-button-text-color, #804343) !important; border: 2px solid var(--epb-button-border-color, #fcb900);
  font-size: var(--epb-button-text-font-size-pc, 16px); box-shadow: 0 2px 6px rgba(0,0,0,.12); transition: background .2s, color .2s, box-shadow .2s; }
.wp-content a.epb-advanced-button:hover, .wp-content a.epb-advanced-button:focus-visible { background: var(--epb-button-background-hover, #fcb900); color: var(--epb-button-text-hover-color, #fff) !important; border-color: var(--epb-button-border-hover-color, #ffe180); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.wp-content a.epb-advanced-button strong { color: inherit; }

/* ===== チラシ（表・裏）を中央にぴったり並べる ===== */
.wp-content .wp-block-columns:has(> .wp-block-column > figure.alignright):has(> .wp-block-column > figure.alignleft) { justify-content: center; gap: 0; flex-wrap: nowrap; }
.wp-content .wp-block-columns:has(> .wp-block-column > figure.alignright):has(> .wp-block-column > figure.alignleft) > .wp-block-column { flex: 0 0 auto; }
.wp-content figure.alignright, .wp-content figure.alignleft { float: none; margin: 0; }
.wp-content figure.alignright img, .wp-content figure.alignleft img { display: block; height: 260px !important; width: auto !important; }
@media (max-width: 560px) { .wp-content figure.alignright img, .wp-content figure.alignleft img { height: 190px !important; } }
/* 有識者コメント枠の中の赤い見出しには、左の線を付けない */
.page.wp-content .has-ep-white-background-color h4 { border-left: 0; padding-left: 0; margin-top: 8px; }
.wp-content .members-table caption { padding: 0 .9rem; }

/* ===== 大見出し（h2）はすべて現行サイトと同じクローバー（ロゴマーク）付きに統一 ===== */
.page h2:not([class*="has-"]):not(.bg-678C39):not(.h2-hidden):not(.epb-banner__title), h2.year-title, .seminar-info h2 {
  background: url(../img/heading-icon-blue.svg) no-repeat 0 2px / 32px 32px !important; color: var(--blue) !important;
  border: 0; border-radius: 0 !important; padding: 4px 0 12px 42px !important; font-size: 22px; line-height: 1.5; margin: 48px 0 16px; }

/* ---- 養成講座決済ページ（/navigator_pay/） ---- */
.pay-intro { background: #ffebcc; border-radius: 10px; padding: 16px 20px; margin: 0 0 1.5em; }
.pay-cards img { max-width: 100%; }
.pay-cards .only-sp { display: none; }
@media (max-width: 600px) { .pay-cards .only-pc { display: none; } .pay-cards .only-sp { display: inline; } }
.pay-group { border: 1px solid var(--line, #d6dde5); border-radius: 10px; padding: 16px; margin: 1.5em 0; }
.pay-group__title { background: #ffb74c; color: #fff; text-align: center; border-radius: 6px; padding: 8px; margin: 0 0 16px; font-size: 1.15rem; border: 0; }
.pay-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.pay-cards-grid.is-single { max-width: 320px; margin: 0 auto; }
.pay-card { background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.pay-card img { width: 100%; display: block; }
.pay-card__body { padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; }
.pay-card__name { font-size: 1rem; line-height: 1.5; margin: 0; }
.pay-card__price { font-size: 1.4rem; font-weight: 700; margin: 0; }
