
/* ===== CSS VARIABLES（共通デザイントークン） ===== */
:root {
  --white: #ffffff;
  --off-white: #f7f8f9;
  --blue-gray-light: #eef1f5;
  --blue-gray: #d4dbe6;
  --charcoal: #2c3340;
  --charcoal-mid: #4a5568;
  --charcoal-light: #6b7a90;
  --clear-blue: #2b7cd3;
  --sky-blue: #a8c8e8;
  --coral: #e07060;
  --apricot: #f0a878;
  --green: #4a8c70;
  --green-light: #6aaa88;
  --font-ja: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  --font-en: 'Georgia', 'Times New Roman', serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --max-width: 1160px;
  --header-height: 84px;
  --text-max: 740px;
  /* 研修ページ識別色（控えめなアプリコット／コーラル）*/
  --apricot-deep: #D9855C;
  --apricot-bg: #F6E8DE;
  --apricot-border: #e8c4a8;
  --sage-light: #EEF4F1;
  --sage-mid: #C9D9D1;
  --warm-bg: #FFF8F3;
  --border-warm: #DCE3DF;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  color: var(--charcoal);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== FOCUS ===== */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: #448167;
  color: white;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 4px;
  font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }
.sc-page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 4px;
  color: var(--green);
  font-size: 1.125rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}
.sc-page-top:hover,
.sc-page-top:focus-visible {
  background: var(--green);
  color: var(--white);
}
@media (max-width: 767px) {
  .sc-page-top { right: 14px; bottom: 14px; }
}

/* ===== SR-ONLY ===== */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue-gray);
  z-index: 100;
  display: flex;
  align-items: center;
}
.header-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ===== HEADER NAV ===== */
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
}


/* Secondary nav */
.header-nav-secondary {
  display: flex;
  align-items: center;
  gap: 0;
}
.header-nav-secondary a,
.header-nav-secondary button,
.header-nav-secondary .header-contact-link {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  height: var(--header-height);
  font-size: 0.8125rem;
  color: var(--charcoal-mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-ja);
}
.header-nav-secondary a:hover,
.header-nav-secondary button:hover {
  color: var(--charcoal);
  border-bottom-color: var(--green);
}
.header-search-btn {
  padding: 0 0.875rem !important;
  width: auto;
  min-width: 44px;
  gap: 6px;
}
.header-search-btn-label {
  white-space: nowrap;
}

/* ===== お問い合わせ：正式URL確定までの非リンク状態 =====
   見た目はCTAのまま維持しつつ、実体はリンクを持たないspan要素にする。
   正式URL確定後は、この要素をa要素へ差し替えるだけで有効なリンクになる。 */
.header-contact-link.is-disabled,
.footer-contact-link.is-disabled,
.btn-outline.is-disabled {
  cursor: default;
  pointer-events: none;
}
.header-contact-link.is-disabled,
.footer-contact-link.is-disabled {
  color: var(--charcoal-light) !important;
  border-bottom-color: transparent !important;
}
.btn-outline.is-disabled {
  opacity: 0.55;
}

/* 現在地表示：色だけでなく下線・太字を併用 */
.header-nav-secondary a[aria-current="page"] {
  color: var(--charcoal);
  font-weight: 600;
  border-bottom-color: var(--green);
}

/* ===== 新着情報ナビ（PC）：シンプルなCTAボタン ===== */
.header-nav-secondary a.nav-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin: 0 12px 0 4px;
  padding: 0 16px;
  background: #326d5a;
  border: 1px solid #326d5a;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease;
}
.header-nav-secondary a.nav-news .nav-news-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-nav-secondary a.nav-news:hover,
.header-nav-secondary a.nav-news:focus-visible {
  background: #285a4a;
  border-color: #285a4a;
  color: #ffffff;
}
.header-nav-secondary a.nav-news[aria-current="page"] {
  background: #326d5a;
  border-color: #326d5a;
  color: #ffffff;
}

/* ===== SP：ヘッダー右側のアクション群（新着ショートカット＋ハンバーガー） ===== */
.header-sp-actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.header-news-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 0.9rem;
  background: #326d5a;
  border: 1px solid #326d5a;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.header-news-shortcut .nav-news-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-news-shortcut:hover,
.header-news-shortcut:focus-visible {
  background: #285a4a;
  border-color: #285a4a;
}
@media (max-width: 359px) {
  .news-shortcut-full { display: none; }
  .news-shortcut-short { display: inline; }
}
@media (min-width: 360px) {
  .news-shortcut-short { display: none; }
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
}
.hamburger__icon span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--green);
  transition: transform 0.25s;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--blue-gray);
  z-index: 99;
  padding: 0;
}
.mobile-nav.open { display: block; }
/* Secondary links in mobile nav: 編集的なサイト案内リスト */
.mobile-nav-guide-head {
  padding: 4px 4px 20px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 4px;
}
.mobile-nav-guide-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #326D5A;
  margin: 0 0 6px;
}
.mobile-nav-guide-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2C3340;
  margin: 0 0 10px;
  line-height: 1.4;
}
.mobile-nav-guide-desc {
  font-size: 0.8125rem;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}
.mobile-nav-secondary {
  display: flex;
  flex-direction: column;
}
.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 4px;
  border-bottom: 1px solid var(--blue-gray-light);
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}
.mobile-nav-item:last-of-type { border-bottom: none; }

.mobile-nav-item__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav-item__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
}
.mobile-nav-item__en {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5C6B82;
}
.mobile-nav-item__desc {
  font-size: 0.8125rem;
  color: var(--charcoal-mid);
  line-height: 1.5;
}
.mobile-nav-item__arrow {
  flex: 0 0 auto;
  font-size: 1.125rem;
  color: #5C6B82;
  transition: transform 0.18s, color 0.18s;
}
.mobile-nav-item:hover,
.mobile-nav-item:focus-visible {
  background: var(--off-white);
}
.mobile-nav-item:hover .mobile-nav-item__arrow,
.mobile-nav-item:focus-visible .mobile-nav-item__arrow {
  transform: translateX(3px);
  color: var(--green);
}
.mobile-nav-item[aria-current="page"] {
  background: var(--off-white);
}
.mobile-nav-item[aria-current="page"] .mobile-nav-item__title {
  color: #326D5A;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
}
.search-overlay.open { display: flex; }
.search-box {
  background: white;
  padding: var(--space-lg);
  width: min(560px, 90vw);
  border-radius: 6px;
}
.search-box label {
  display: block;
  font-size: 0.875rem;
  color: #5C6B82;
  margin-bottom: 0.5rem;
}
.search-box input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--blue-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-ja);
}
.search-box input:focus-visible { border-color: var(--clear-blue); outline: 2px solid var(--green); outline-offset: 2px; }
.search-close {
  display: block;
  margin-top: var(--space-sm);
  color: #5C6B82;
  font-size: 0.875rem;
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #F5F7F6;
  color: #4A5568;
  padding: 32px 0;
  border-top: 1px solid #D8E0DC;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 0;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-dcnet {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #5C6B82;
}
.footer-dcnet-link {
  color: inherit;
  text-decoration: none;
}
.footer-dcnet-line {
  display: block;
}
.footer-dcnet-link:hover,
.footer-dcnet-link:focus-visible {
  color: #326D5A;
}
.footer-logo-link {
  display: inline-block;
  width: 100%;
  max-width: 220px;
}
.footer-logo-image {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  object-position: left top;
}
.footer-logo-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 2px;
}
.footer-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2C3340;
  margin: 0 0 0.875rem;
  line-height: 1.4;
}
.footer-nav-group li { margin-bottom: 0.125rem; }
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 500;
  color: #4A5568;
  text-decoration: none;
  transition: color 0.18s;
}
a.footer-link:hover { color: #326D5A; }
a.footer-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}
.footer-link[aria-current="page"] {
  color: #2C3340;
  font-weight: 700;
}
.footer-link.is-pending {
  cursor: default;
  pointer-events: none;
}
.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #D8E0DC;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-legal .footer-link {
  font-size: 0.9375rem;
  font-weight: 600;
}
.footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #326D5A;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .site-footer { padding: 52px 0; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 36px;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .footer-legal {
    flex-direction: row;
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
    column-gap: 56px;
    row-gap: 0;
  }
}

/* ===== SHARED COMPONENTS ===== */
.section-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A15B30;
  font-family: var(--font-ui), sans-serif;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rp-chapter-group--warm .section-label {
  color: #A15B30;
}
.section-label::after {
  content: '';
  display: block;
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: #C8D2CC;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 3px;
  font-size: 0.9375rem;
  font-family: var(--font-ja);
  font-weight: 600;
  min-height: 44px;
  transition: background 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary:hover { background: #326D5A; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--blue-gray);
  border-radius: 3px;
  font-size: 0.9375rem;
  font-family: var(--font-ja);
  min-height: 44px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--clear-blue); color: var(--clear-blue); }
/* R8.9.15追加修正：「全国の指導者一覧・名簿」CTAのみのデザイン強化。
   このリンク専用クラスとして新規追加し、.btn-outline本体・他のCTAへは影響させない。 */
.rp-instructor-search-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  min-height: 52px;
  background: #326D5A;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-ja);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.rp-instructor-search-cta-arrow {
  transition: transform 0.2s;
}
.rp-instructor-search-cta:hover {
  background: #285A4A;
}
.rp-instructor-search-cta:hover .rp-instructor-search-cta-arrow {
  transform: translateX(3px);
}
.rp-instructor-search-cta:focus-visible {
  outline: 3px solid #326D5A;
  outline-offset: 3px;
}
/* === 17．関連ページ導線 ===
   PPTX（センターHP修正R8.8.192, スライド31）のコールアウトは吹き出しの位置から
   「あわせてご覧ください」内の3ボタン中「お問い合わせ」のみを指しており、
   「研修について見る」「研究について見る」は指示対象外だったため、
   前回ラウンドで本セクションごと削除していたのは過剰対応と判明。
   「お問い合わせ」ボタンのみ削除した状態で本セクションを復元する。
   ボタンは他ページのCTA強調（研究・研修ページ限定）を適用せず、
   サイト共通の.btn-outlineのまま。 */
.rp-related {
  background: var(--off-white);
  padding: var(--space-xl) 0;
}
.rp-related-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.rp-related h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}
.rp-related-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
/* 「あわせてご覧ください」内の2ボタンのみを対象としたCTA強調（サイト共通.btn-outline本体は変更しない） */
.rp-related-links .btn-outline {
  background: #A15B30;
  border-color: #A15B30;
  color: #FFFFFF;
}
.rp-related-links .btn-outline:hover,
.rp-related-links .btn-outline:focus-visible {
  background: #834723;
  border-color: #834723;
  color: #FFFFFF;
}
@media (max-width: 767px) {
  .rp-related-links { flex-direction: column; }
  .rp-related-links .btn-outline { text-align: center; justify-content: center; }
}
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 3px;
  font-size: 0.9375rem;
  font-family: var(--font-ja);
  font-weight: 600;
  min-height: 44px;
  transition: background 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.btn-green:hover { background: #326D5A; }

/* ===========================
   TRAINING PAGE — PAGE-LEVEL STYLES
   =========================== */

/* === 3．ページイントロ — ヒーロー：白～淡ウォームパネル×写真の非対称2カラム構成 ===
   指導者ページ独自の方向性：暗いオーバーレイに文字の可読性を頼らない。
   パネルを白～淡ウォームの色面として写真から独立させ、文字は常にパネル上に
   置くことで、写真の明暗に関係なく可読性を確保する。パネルと写真の境界には
   アプリコットの縦シームを写真側へわずかにかぶせ、単純な50:50分割にならない
   非対称・オーバーラップ構成にする（研修＝写真+単色パネル、研究＝色面バー+
   グリッド地の白コピーゾーン、のどちらとも異なる第3の構成）。 */
.rp-intro {
  background: transparent;
  border-bottom: none;
}
.rp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 30%) minmax(0, 1fr);
  min-height: 460px;
  overflow: hidden;
}
.rp-hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background: var(--warm-bg);
}
.rp-hero-panel-inner {
  width: 100%;
  padding: var(--space-xl) var(--space-lg) var(--space-xl) var(--space-md);
}
.rp-hero-seam {
  position: absolute;
  top: 0;
  right: -14px;
  bottom: 0;
  width: 14px;
  background: var(--apricot-deep);
  z-index: 3;
}
.rp-hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.rp-intro-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* このヒーロー写真は右側に人物群が集中しているため、右寄りのポジションを指定 */
  object-position: 62% center;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .rp-intro-image {
    object-position: 68% center;
  }
}
.rp-intro-label {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  /* コントラスト確保のため、装飾色のapricot-deepではなく
     サイト既定のラベル色（#A15B30, 淡ウォーム地に対しAA適合）を使用 */
  color: #A15B30;
  font-family: var(--font-ui), sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.875rem;
}
.rp-intro-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--apricot-border);
}
.rp-intro h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1F2933;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1.125rem;
}
.rp-intro-copy {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--charcoal-mid);
  line-height: 1.8;
  font-weight: 400;
}


/* リード文・注記の補足領域 */
.rp-intro-sub {
  background: var(--white);
  border-bottom: 1px solid var(--blue-gray);
  padding: var(--space-md) 0;
}
.rp-intro-sub-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.rp-intro-lead {
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.8;
  max-width: 830px;
  margin-bottom: 0.625rem;
  /* R8.9.11修正依頼P9：research.htmlの.rp-intro-leadにのみ左の縦ラインがあり、
     training/instructorには無く不統一との指摘。research.html本来の実装
     （padding-left:22px; border-left:3px solid <ページ固有色>）を基準として
     太さ・余白・役割を統一。色のみ、本ページで既に採用中のアクセント色
     var(--apricot-deep)（.rp-prose h3 / .rp-training-info-title等で既に
     3px使用中）に合わせており、新規の色は追加していない。 */
  padding-left: 22px;
  border-left: 3px solid var(--apricot-deep);
}
/* リード文の改行はPCのみ意味のまとまりで固定する。SPでは解除し、画面幅に合わせて自然に折り返す */
@media (max-width: 767px) {
  .rp-intro-lead-break {
    display: none;
  }
}
/* === パンくずリスト === */
.rp-breadcrumb-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--blue-gray-light);
  padding-top: var(--header-height);
}
.rp-breadcrumb {
  list-style: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem var(--space-md);
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.8125rem;
  color: var(--charcoal-light);
  flex-wrap: wrap;
}
.rp-breadcrumb a {
  color: #1E6ABF;
  text-decoration: none;
  transition: color 0.18s;
}
.rp-breadcrumb a:hover { color: #1e6abf; }
.rp-breadcrumb-sep { color: var(--charcoal-light); }
.rp-breadcrumb > li + li::before {
  content: "›";
  margin: 0 0.5rem;
  color: var(--charcoal-light);
}
.rp-breadcrumb [aria-current="page"] { color: var(--charcoal); font-weight: 500; }

/* === 5．ページ内案内 === */
.rp-nav-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--blue-gray);
  padding: var(--space-md) 0;
}
.rp-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
/* R8.9.11-03修正：4ページ（sendai-center／research／training／instructor）共通のページ内ナビ
   デザイン統一。「このページの内容」見出しを、目立たない小さいラベルから、濃いベタ背景
   （#326D5A、既存ブランド色var(--text-brand)/var(--brand-strong)と同一）×白文字・太字の
   見出しバッジへ変更し「ここからページ内を選べる」ことを一目で示す。ページ固有のアプリコット
   系hover配色は、4ページ共通デザインルール統一のため本コンポーネントのみ廃止した。 */
.rp-nav-title {
  display: inline-block;
  background: #326D5A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.rp-nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
/* ページ内リンクは白背景＋濃い枠線・濃い文字色で「押せる」ことを明確化。
   hover/focus時は背景を見出しと同じ#326D5Aで塗りつぶし、白文字へ反転させることで、
   見出しバッジと視覚的に統一されたアクション表現にした。 */
.rp-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.125rem;
  background: var(--white);
  border: 2px solid #326D5A;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  min-height: 44px;
  white-space: nowrap;
}
.rp-nav-item:hover,
.rp-nav-item:focus-visible {
  border-color: #326D5A;
  color: #FFFFFF;
  background: #326D5A;
}
.rp-nav-item:focus-visible {
  outline: 2px solid #326D5A;
  outline-offset: 2px;
}
.rp-nav-item::after {
  content: '↓';
  font-size: 0.75rem;
  color: var(--charcoal);
  transition: color 0.18s;
}
.rp-nav-item:hover::after,
.rp-nav-item:focus-visible::after {
  color: #FFFFFF;
}

/* === 章バナー：「01」の連番は廃止し、ウォームカラー×写真の色面＋白地の
   非対称構成に置き換える（研修＝単色矩形チップ、研究＝全幅の色面バンド、
   のどちらとも異なる第3の構成。色面には既存写真を暖色でトーンをかけて
   重ね、「人の気配」を色面の中にも残す）=== */
.rp-chapter {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.rp-chapter-banner {
  display: flex;
  align-items: stretch;
  min-height: 168px;
  padding: 0;
  background: transparent;
  color: #2C3340;
}
.rp-chapter-field {
  flex: 0 0 34%;
  max-width: 320px;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  box-sizing: border-box;
  /* R8.9.11修正依頼P11：前ラウンドでは「白文字の可読性を写真の明暗に依存させない」ため
     背景写真の上に94〜96%不透明の単色グラデーションを重ね、質感としてうっすら写真を
     残す判断をしていたが、クライアントより「うっすら下部の画像が浮き出ている意図が
     あるのか」と指摘があり、意図しないバグに見えると判断。背景写真レイヤーを完全に
     撤去し、同じ色（#A15B30→#8C4A26）の完全不透明グラデーションのみに変更した。
     ページ本文側の指導者写真（.rp-instructor-def-figure等の実写真）は本修正の対象外で、
     別要素のため一切変更していない。 */
  background: linear-gradient(180deg, #A15B30, #8C4A26);
  border-radius: 2px;
}
.rp-chapter-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  font-family: var(--font-ui), sans-serif;
}
.rp-chapter-ground {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 0 0 28px;
}
.rp-chapter-title {
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1F2933;
  line-height: 1.5;
}
.rp-chapter-group { background: var(--white); }
.rp-chapter-group--warm { background: var(--warm-bg); }
.rp-chapter-group--sage { background: var(--sage-light); }
.rp-chapter-group .rp-section { background: inherit; }
/* 「全国の指導者一覧・名簿」だけ白背景に戻し、
   暖色（人物・活動エリア）→白（情報・名簿エリア）の切り替えを作る。
   新色は追加せず、既存の境界線色（--border-warm）を上端に1本使用。 */
#sec-national-instructors {
  background: var(--white);
  border-top: 1px solid var(--border-warm);
}
@media (max-width: 767px) {
  .rp-chapter-banner {
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }
  .rp-chapter-field {
    flex: none;
    max-width: none;
    min-height: 84px;
    padding: 16px 18px;
  }
  .rp-chapter-ground {
    padding: 16px 2px 0;
  }
  .rp-chapter-title {
    font-size: 1.375rem;
  }
  .rp-chapter + .rp-section {
    padding-top: 52px;
  }
  .rp-section-head {
    margin-bottom: 30px;
  }
}

/* === セクション共通 === */
.rp-section {
  padding: var(--space-xl) 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.rp-section:last-of-type { border-bottom: none; }
/* 章見出し直後のセクションは、十分な縦余白を確保する */
.rp-chapter + .rp-section {
  padding-top: 80px;
}
/* ===== FINAL: 章見出し上部の余白 ===== */
main > .rp-chapter-group {
  margin-top: 0;
  padding-top: 72px;
}
/* ページ内目次直後の最初の章 */
.rp-nav-wrap + .rp-chapter-group {
  padding-top: 56px;
}
@media (max-width: 767px) {
  main > .rp-chapter-group {
    padding-top: 48px;
  }
  .rp-nav-wrap + .rp-chapter-group {
    padding-top: 40px;
  }
}
.rp-section-head { margin-bottom: 40px; }
.rp-section-head h2 {
  position: relative;
  padding-left: 22px;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
  color: #1F2933;
  line-height: 1.4;
  margin-top: 10px;
}
.rp-section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 6px;
  height: 1.4em;
  background: #E58C47;
  border-radius: 1px;
}
/* 「認知症介護指導者とは」＝章内でもっとも強く見せたい導入見出し。
   写真・区切り線とあわせて「見出し＋写真＝強／本文＝静か」の
   コントラストをこのセクションだけに与える。 */
.rp-section-head--lead h2 {
  font-size: clamp(2rem, 3.6vw, 2.625rem);
}
.rp-section-lead {
  margin-top: 24px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.85;
  max-width: var(--text-max);
}

/* === 本文エリア === */
.rp-prose { max-width: var(--text-max); }
.rp-prose p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.rp-prose p:last-child { margin-bottom: 0; }
.rp-prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 1.75rem 0 0.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--apricot-deep);
}
.rp-prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.rp-prose ul li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 0.375rem;
}

/* 通常本文の幅を章見出し帯と同じ .section-wrap 内側幅へ揃える。
   .section-wrap の直下にある場合だけを対象にし、
   写真と並ぶ2カラム内（.training-visual-text 配下）の本文は対象外とする。 */
.section-wrap > .rp-prose,
.rp-section-head > .rp-section-lead {
  width: 100%;
  max-width: none;
}

/* === 研修プログラム説明（養成研修／フォローアップ研修／基礎研修）共通 === */
.rp-training-info {
  margin-top: var(--space-lg);
}
.rp-training-info-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--apricot-deep);
}
.rp-training-info-text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--charcoal-mid);
}
/* 全国の指導者一覧・名簿：URL・検索UIが未確定のため、ボタン風の無効UIではなく
   最初から非リンクの「準備中」表示にする（研究ページと同じパターン）。
   a要素へ差し替えやすい構造は維持。 */
.rp-status-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal-mid);
  cursor: default;
}
.rp-status-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: #E7ECF1;
  color: #3D4759;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.rp-region-list p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--charcoal-mid);
  margin-bottom: 0.5rem;
}
.rp-region-list p:last-child { margin-bottom: 0; }
.rp-region-list strong {
  color: var(--charcoal);
  font-weight: 700;
  margin-right: 0.25em;
}
.rp-training-target-list {
  list-style: none;
  counter-reset: target-item;
  padding: 0;
  margin: 0;
}
.rp-training-target-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--charcoal-mid);
  margin-bottom: 0.625rem;
}
.rp-training-target-list li:last-child { margin-bottom: 0; }
.rp-training-target-list li::before {
  counter-increment: target-item;
  content: counter(target-item);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rp-training-note {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  line-height: 1.85;
  color: #5C6B82;
  padding: 0.875rem var(--space-md);
  background: var(--off-white);
  border-left: 3px solid var(--blue-gray);
  border-radius: 2px;
  max-width: var(--text-max);
}

/* === カリキュラム表（開閉UI） === */
.rp-curriculum-details {
  margin-top: var(--space-md);
  border: 1px solid var(--border-warm);
  border-radius: 4px;
  background: var(--white);
}
.rp-curriculum-details + .rp-curriculum-details { margin-top: var(--space-sm); }
.rp-curriculum-summary {
  cursor: pointer;
  list-style: none;
  padding: 0.875rem var(--space-md);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rp-curriculum-summary::-webkit-details-marker { display: none; }
.rp-curriculum-summary::before {
  content: '▸';
  display: inline-block;
  font-size: 0.8em;
  transition: transform 0.18s;
}
.rp-curriculum-details[open] .rp-curriculum-summary::before {
  transform: rotate(90deg);
}
.rp-curriculum-summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.rp-curriculum-body {
  padding: 0 var(--space-md) var(--space-md);
  border-top: 1px solid var(--border-warm);
  padding-top: var(--space-md);
}
.rp-curriculum-note {
  font-size: 0.8125rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
.rp-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-md);
}
.rp-table-scroll:last-child { margin-bottom: 0; }
.rp-table-scroll:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.rp-curriculum-table {
  width: 100%;
  min-width: 960px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.rp-curriculum-table caption {
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.625rem;
  caption-side: top;
}
.rp-curriculum-col-day { width: 12%; }
.rp-curriculum-col-time { width: 12%; }
.rp-curriculum-col-subject { width: 30%; }
.rp-curriculum-col-summary { width: 46%; }
.rp-curriculum-table th,
.rp-curriculum-table td {
  border: 1px solid var(--border-warm);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  color: var(--charcoal-mid);
  line-height: 1.7;
  word-break: normal;
  overflow-wrap: anywhere;
}
.rp-curriculum-table thead th {
  background: var(--off-white);
  color: var(--charcoal);
  font-weight: 700;
}
.rp-curriculum-day,
.rp-curriculum-time {
  text-align: center;
  vertical-align: top;
}
.rp-curriculum-day span {
  display: block;
}
.rp-curriculum-time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rp-curriculum-table tbody + tbody tr:first-child > * {
  border-top-width: 2px;
  border-top-color: #b9c8c0;
}
@media (max-width: 767px) {
  .rp-curriculum-summary { font-size: 0.875rem; padding: 0.75rem var(--space-sm); }
  .rp-curriculum-body { padding: var(--space-sm); padding-top: var(--space-sm); }
  .rp-curriculum-table th,
  .rp-curriculum-table td { padding: 12px 14px; }
}

/* === 写真・イラスト用メディア枠（差し替え前提のプレースホルダー） === */
.training-visual-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: var(--space-lg);
  align-items: start;
}
@media (min-width: 1024px) {
  .training-visual-row {
    grid-template-columns: 52% 1fr;
    gap: 44px;
  }
}
.training-visual {
  margin: 0;
}
.training-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #F1F4F2;
  border: 1px solid var(--blue-gray-light);
  border-top: 3px solid var(--green);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .training-visual-frame {
    aspect-ratio: 16 / 10;
  }
}
.training-visual-placeholder-text {
  font-size: 0.8125rem;
  color: var(--charcoal-light);
  text-align: center;
  line-height: 1.6;
}
.training-visual-frame--photo {
  padding: 0;
  background: #ffffff;
  border: 0;
}
.training-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.training-visual--overview .training-visual-image {
  object-position: 66% center;
}
.training-visual--instructor .training-visual-image {
  object-position: 72% center;
}

/* 「認知症介護指導者とは」導入部：写真を本文より先に・大きく見せ、
   両者の間にウォームカラーの区切りを挟むことで、この章だけの
   「写真＋見出しが強い→本文は静か」というコントラストを作る。 */
.training-visual-row--lead {
  margin-top: var(--space-xl);
}
.training-visual-row--lead .training-visual-text {
  border-top: 4px solid var(--apricot-deep);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
}
@media (min-width: 1024px) {
  .training-visual-row--lead {
    grid-template-columns: minmax(0, 54%) 1fr;
    gap: 0;
    align-items: center;
  }
  .training-visual-row--lead .training-visual-frame {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
  .training-visual-row--lead .training-visual-text {
    display: flex;
    align-items: center;
    border-top: 0;
    border-left: 6px solid var(--apricot-deep);
    padding: 0 0 0 var(--space-lg);
    margin-top: 0;
  }
}

/* === プレースホルダー共通（編集用・公開前に削除） === */
.rp-placeholder {
  border: 1px dashed #c4ced8;
  border-radius: 3px;
  padding: 0.875rem var(--space-md);
  background: #f8fafb;
  text-align: left;
}
.rp-placeholder-label {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--charcoal-light);
  background: #dde3ec;
  padding: 0.2em 0.55em;
  border-radius: 2px;
  margin-bottom: 0.625rem;
  font-family: var(--font-ui), sans-serif;
}
.rp-placeholder-text {
  font-size: 0.875rem;
  color: #566273;
  line-height: 1.7;
}
.rp-placeholder-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--charcoal-mid);
  margin-bottom: 0.375rem;
  font-weight: 600;
}

/* === 仮テキスト表示 === */
.rp-draft-note {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: #eef1f5;
  border: 1px solid #b8c4d4;
  border-radius: 3px;
  font-size: 0.75rem;
  color: var(--charcoal-light);
  font-weight: 500;
  font-family: var(--font-ui), sans-serif;
}
/* === 共通注釈（「掲載内容は現在調整中です」用に統一） === */
.rp-content-note {
  display: block;
  width: 100%;
  margin: 24px 0 0;
  padding: 20px 24px;
  background: #F5F7F9;
  border: 0;
  border-left: 5px solid #D6E0EA;
  border-radius: 0;
  color: #66758A;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}
@media (max-width: 767px) {
  .rp-content-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-left-width: 4px;
    font-size: 0.875rem;
    line-height: 1.75;
  }
}

/* === 指導者の活動紹介（4項目）：カードの2×2グリッドではなく、
   線でつながる一連の流れとして見せる（PC＝横の連なり／SP＝縦の連なり）。
   01〜04の採番は使わず、丸アイコンを線でつなぐ「連結」のモチーフで
   「地域や組織の学びをつなぐ」というテーマそのものを構成で表す。 === */
.rp-role-list {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 0;
}
.rp-role-list--standalone {
  margin-top: var(--space-xl);
}
.rp-role-list--standalone::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 23px;
  height: 2px;
  background: var(--apricot-border);
  z-index: 0;
}
.rp-role-item {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 0 var(--space-sm);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.rp-role-item-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  box-sizing: border-box;
  margin: 0 0 16px;
  flex-shrink: 0;
  background: var(--warm-bg);
  /* コントラスト確保のため、装飾色のapricot-deepではなく#A15B30を使用 */
  border: 2px solid #A15B30;
  border-radius: 50%;
  color: #A15B30;
}
.rp-role-item-body { flex: none; }
.rp-role-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  :root { --space-xl: 2.5rem; --space-2xl: 4rem; }
  .site-logo img { height: 32px; }
  .header-nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  /* ヒーロー：スマートフォン — パネル（上）→写真（下）の縦積みに再構成。
     タイトルが写真の上に重ならないよう、両者を完全に分離する。 */
  .rp-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .rp-hero-panel-inner { padding: var(--space-lg) var(--space-md); }
  .rp-hero-seam {
    top: auto;
    right: 0;
    left: 0;
    bottom: -7px;
    width: auto;
    height: 14px;
  }
  .rp-hero-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .rp-intro-image {
    object-position: 70% center;
  }

  .rp-nav-grid { gap: 0.375rem; }
  .rp-nav-item { font-size: 0.8125rem; padding: 0.5rem 0.75rem; }

  .rp-role-list {
    flex-direction: column;
  }
  .rp-role-list--standalone::before {
    left: 21px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 2px;
    height: auto;
  }
  .rp-role-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    justify-content: flex-start;
    gap: 16px;
    padding: 14px 0;
  }
  .rp-role-item-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    margin: 0;
  }
  .rp-role-item-title {
    font-size: 1rem;
    margin-bottom: 0;
  }

}

/* ===== PC HEADER ADJUSTMENT (min-width: 1220px) ===== */
@media (min-width: 1220px) {
  :root {
    --pc-header-height: 88px;
    --pc-header-max-width: 1380px;
    --pc-header-logo-height: 56px;
    --pc-header-side-padding: 24px;
    --pc-header-nav-font-size: 15px;
    --pc-header-nav-font-weight: 600;
    --pc-header-nav-padding-x: 9px;
    /* ヘッダー高を88pxに統一（固定ヘッダー追従要素はこれを参照）*/
    --header-height: 88px;
  }
  .site-header {
    height: var(--pc-header-height);
  }
  .header-inner {
    max-width: var(--pc-header-max-width);
    padding-left: var(--pc-header-side-padding);
    padding-right: var(--pc-header-side-padding);
    gap: 0;
  }
  .site-logo img {
    height: var(--pc-header-logo-height);
    max-width: 340px;
  }
  /* PC ナビ：二次リンク */
  .header-nav-secondary a,
  .header-nav-secondary button,
  .header-nav-secondary .header-contact-link {
    height: var(--pc-header-height);
    padding-left: var(--pc-header-nav-padding-x);
    padding-right: var(--pc-header-nav-padding-x);
    font-size: var(--pc-header-nav-font-size);
    font-weight: var(--pc-header-nav-font-weight);
    line-height: 1;
  }
  /* 検索ボタン：可視テキスト付きのため幅は可変、タップ領域は44px以上を確保 */
  .header-search-btn {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.75rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}

/* 1220px〜1279px：少し縮小 */
@media (min-width: 1220px) and (max-width: 1279px) {
  :root {
    --pc-header-logo-height: 52px;
    --pc-header-nav-font-size: 14px;
    --pc-header-nav-padding-x: 7px;
    --pc-header-side-padding: 16px;
  }
}

/* ===== PC HEADER NAV GAPS ===== */
/* 1280px以上：ナビ項目間24px */
@media (min-width: 1280px) {
  .header-nav-secondary {
    gap: 24px;
  }
  .header-nav-secondary a,
  .header-nav-secondary button,
  .header-nav-secondary .header-contact-link {
    padding-left: 0;
    padding-right: 0;
  }
  .header-search-btn {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.75rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}

/* 1220px〜1279px：ナビ項目間14px */
@media (min-width: 1220px) and (max-width: 1279px) {
  .header-nav-secondary {
    gap: 14px;
  }
  .header-nav-secondary a,
  .header-nav-secondary button,
  .header-nav-secondary .header-contact-link {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== SP HEADER & MOBILE NAV (max-width: 1219px) ===== */
@media (max-width: 1219px) {

  /* ロゴ：40px */
  .site-logo img {
    height: 40px;
  }

  /* --- フルスクリーンモバイルナビ --- */
  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    background: #ffffff;
    z-index: 99;
    overflow-y: auto;
    border-bottom: none;
    padding: 0;
    /* 閉じているときは非表示 */
    display: none;
  }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* ナビコンテンツの内側ラッパー */
  .mobile-nav-inner {
    width: min(calc(100% - 48px), 560px);
    margin: auto;
    padding-top: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
  }


  /* --- 検索導線（6項目とは分離） --- */
  .mobile-nav-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    padding: 0 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: #2C3340;
    background: transparent;
    border: 1.5px solid #748BAE;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-ja);
    transition: color 0.18s, border-color 0.18s;
  }
  .mobile-nav-search:hover {
    color: #326D5A;
    border-color: #326D5A;
  }
  .mobile-nav-search:focus-visible {
    outline: 2px solid #3F876F;
    outline-offset: 2px;
    border-radius: 2px;
  }
  .mobile-nav-search-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #566273;
  }

  /* bodyスクロール制御 */
  body.mobile-nav-open {
    overflow: hidden;
  }

  /* 560px以下：ロゴ幅を制限し、新ハンバーガーの表示幅を優先確保 */
  @media (max-width: 560px) {
    .header-inner {
      gap: 0.5rem;
    }
    .site-logo {
      flex-shrink: 1;
      min-width: 0;
      overflow: hidden;
    }
    .site-logo img {
      max-width: 180px;
      width: auto;
    }
    .header-news-shortcut {
      display: none;
    }
  }

  /* 340px以下：さらに狭い端末向けにハンバーガー表示をコンパクト化 */
  @media (max-width: 340px) {
    .site-logo img {
      max-width: 140px;
    }
    .hamburger__label-sub {
      display: none;
    }
  }
}

/* ===== HAMBURGER × ANIMATION ===== */
.hamburger {
  position: relative;
  display: none; /* SP: display:flex は max-width:1219px で設定 */
  align-items: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 5px 10px 5px 8px;
  background: #F5F9F7;
  border: 1px solid #DCE8E1;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.18s, border-color 0.18s;
}
.hamburger:hover,
.hamburger:focus-visible {
  background: #EAF2EE;
  border-color: #B9D2C4;
}
.hamburger__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.hamburger__icon span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--green);
  transform-origin: center;
  transition:
    transform 220ms ease,
    opacity 180ms ease,
    background-color 0.18s;
}
.hamburger__icon span:nth-child(1) { transform: translate(-50%, -6px); }
.hamburger__icon span:nth-child(2) { transform: translate(-50%, 0); }
.hamburger__icon span:nth-child(3) { transform: translate(-50%, 6px); }
.hamburger[aria-expanded="true"] .hamburger__icon span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger__icon span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, 0) scaleX(0.6);
}
.hamburger[aria-expanded="true"] .hamburger__icon span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}
.hamburger__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: left;
}
.hamburger__label-closed {
  display: flex;
  flex-direction: column;
}
.hamburger__label-open {
  display: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #2C3340;
}
.hamburger[aria-expanded="true"] .hamburger__label-closed { display: none; }
.hamburger[aria-expanded="true"] .hamburger__label-open { display: block; }
.hamburger__label-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #2C3340;
  white-space: nowrap;
}
.hamburger__label-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #4A5568;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .hamburger,
  .hamburger__icon span {
    transition: none;
  }
}

/* ===== PC 二次ナビ文字色 #2C3340 ===== */
@media (min-width: 1220px) {
  .header-nav-secondary a,
  .header-nav-secondary button,
  .header-nav-secondary .header-contact-link {
    color: #2C3340;
  }
  .header-nav-secondary a:hover,
  .header-nav-secondary a:focus-visible,
  .header-nav-secondary button:hover,
  .header-nav-secondary button:focus-visible {
    color: #326D5A;
    border-bottom-color: var(--green);
  }
  .header-search-btn {
    color: #2C3340;
  }
  .header-search-btn svg {
    stroke: currentColor;
  }
}

/* ===== HAMBURGER VISIBILITY CONTROL ===== */
/* 1220px以上：PCナビ表示、ハンバーガー非表示 */
@media (min-width: 1220px) {
  .header-nav {
    display: flex;
  }
  .header-sp-actions {
    display: none;
  }
  .hamburger {
    display: none;
  }
  .mobile-nav {
    display: none !important; /* リサイズ時に開いた状態が残らないよう */
  }
}
/* 1219px以下：PCナビ非表示、ハンバーガー表示 */
@media (max-width: 1219px) {
  .header-inner {
    width: 100%;
  }
  .site-logo {
    flex-shrink: 0;
  }
  .header-nav {
    display: none;
  }
  .header-sp-actions {
    display: flex;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .hamburger {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
  }
}

/* ===== SCROLL REVEAL ===== */
[data-reveal].is-reveal-ready {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="fade"].is-reveal-ready {
  transform: none;
}
[data-reveal].is-reveal-ready.is-revealed {
  opacity: 1;
  transform: none;
}
@media (max-width: 767px) {
  [data-reveal].is-reveal-ready {
    transform: translate3d(0, 10px, 0);
    transition-duration: 500ms;
  }
  [data-reveal="fade"].is-reveal-ready {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].is-reveal-ready,
  [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== COPYRIGHT STYLE ===== */
.copyright,
.top-copyright {
  color: #326D5A;
  font-weight: 700;
}
