/* header-202608.css — head-new.css / pt.css より後に読み込むこと */

#headerNew.header-202608 {
  --h2026-gold: #d29c09;
  --h2026-dark: #1a1a1a;
  --h2026-text: #444444;
  --h2026-text-light: #777777;
  --h2026-white: #ffffff;
  --h2026-transition: 0.3s ease;
  --h2026-blue: #003fab;

  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 60px !important;
  z-index: 1000 !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: block !important;
  /* ページ側のbody font-familyに依存すると読み込むCSSの組み合わせでフォントが変わってしまうため、
     ヘッダー自身でサイト標準の書体スタックを固定する（2026-08-24）。
     Noto Sans JPを先頭にする：OSフォント（ヒラギノ/メイリオ等）にはfont-weight:500に相当する
     真のMedium字形が無いことが多く、500指定がブラウザ内部で400や別の太さに丸められてしまうため、
     common.cssで読み込み済みの400/500/700/900を持つWebフォント（Noto Sans JP）を優先する。 */
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", YuGothic, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

#headerNew.header-202608 .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

#headerNew.header-202608 .header-logo {
  flex-shrink: 0;
  margin-right: 28px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

#headerNew.header-202608 .header-logo svg {
  height: 24px;
  width: auto;
  display: block;
}

#headerNew.header-202608 .header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

#headerNew.header-202608 .header-nav > ul {
  display: flex;
  align-items: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

#headerNew.header-202608 .header-nav > ul > li {
  display: flex;
  align-items: flex-end;
}

#headerNew.header-202608 .header-nav > ul > li > a {
  font-size: 13px;
  font-weight: 500;
  color: var(--h2026-dark);
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--h2026-transition), color var(--h2026-transition);
}

#headerNew.header-202608 .header-nav > ul > li > a:hover {
  background: rgba(0, 63, 171, 0.07);
  color: var(--h2026-blue);
}

/* 2段ナビ(ブランド名+カテゴリ)の下段文字を、1段ナビ(事例など)と同じ行高・下余白にして下端を揃える */
#headerNew.header-202608 .mega-trigger[style*="flex-direction:column"] {
  padding-bottom: 5px !important;
}
#headerNew.header-202608 .mega-trigger[style*="flex-direction:column"] > span:last-child {
  line-height: normal !important;
}
/* 行高・余白を整数pxに固定し、フォントやサイズ差・小数丸めで下端がずれないようにする */
#headerNew.header-202608 .header-nav > ul > li:not(.nav-cta-group) > a,
#headerNew.header-202608 .header-nav > ul > li > .mega-trigger:not([style*="flex-direction:column"]) {
  line-height: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
}
#headerNew.header-202608 .mega-trigger[style*="flex-direction:column"] {
  line-height: 18px !important;
  padding-top: 4px !important;
  gap: 0 !important;
}
#headerNew.header-202608 .mega-trigger[style*="flex-direction:column"] > span:first-child {
  line-height: 12px !important;
  margin-bottom: 1px;
}
#headerNew.header-202608 .mega-trigger[style*="flex-direction:column"] > span:last-child {
  line-height: 18px !important;
}
@media (max-width: 1400px) and (min-width: 1201px) {
  #headerNew.header-202608 .mega-trigger[style*="flex-direction:column"] > span:last-child {
    font-size: 12px !important;
  }
}

#headerNew.header-202608 .nav-cta-group {
  align-self: flex-end;
  margin-left: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

#headerNew.header-202608 .has-mega {
  display: flex;
  align-items: center;
}

#headerNew.header-202608 .mega-trigger {
  font-size: 13px;
  font-weight: 500;
  color: var(--h2026-dark);
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: background var(--h2026-transition), color var(--h2026-transition);
  user-select: none;
}

#headerNew.header-202608 .has-mega:hover .mega-trigger,
#headerNew.header-202608 .has-mega.mega-open .mega-trigger {
  background: rgba(0, 63, 171, 0.07);
  color: var(--h2026-blue);
}

.mega-panel.header-202608-panel {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--h2026-blue, #003fab);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  z-index: 999;
}

.mega-panel.header-202608-panel.open {
  display: block;
}

.mega-panel.header-202608-panel .mega-panel-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px 32px;
  display: grid;
  gap: 2px 40px;
}

#mega-resources .mega-panel-inner {
  grid-template-columns: repeat(3, auto);
  justify-content: center;
}

.mega-panel.header-202608-panel .mega-panel-inner.mega-panel-inner--branded {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mega-brand-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  width: auto;
  padding: 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 130ms ease;
}
.mega-brand-card:hover {
  background: rgba(0, 63, 171, 0.07);
}
.mega-brand-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
.mega-brand-card__logo {
  height: 20px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.mega-brand-card__label {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
.mega-brand-card .mega-link__arrow {
  display: none;
}
.mega-brand-card__label::before,
.mega-brand-card__name::before {
  content: "›";
  display: inline-block;
  margin-right: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.75;
  transition: transform 130ms ease;
}
.mega-brand-card:hover .mega-brand-card__label::before,
.mega-brand-card:hover .mega-brand-card__name::before {
  transform: translateX(2px);
  opacity: 1;
}
.mega-brand-card--blue:hover .mega-brand-card__label {
  color: #2f6fed;
}
.mega-brand-card--purple:hover .mega-brand-card__label {
  color: #8b3df0;
}
.mega-brand-card--gold:hover .mega-brand-card__label {
  color: #b5860a;
}

.mega-links-grid {
  display: grid;
  border-top: 1px solid #e3e5e8;
  padding-top: 8px;
  margin-top: 4px;
  gap: 2px 40px;
  flex: 0 0 auto;
  align-content: flex-start;
}
#mega-buildup .mega-links-grid {
  grid-template-columns: repeat(3, auto);
}
#mega-skillup .mega-links-grid {
  grid-template-columns: repeat(3, 220px);
}
#mega-setup .mega-links-grid {
  grid-template-columns: repeat(3, auto);
}

.mega-panel.header-202608-panel .mega-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: color 130ms ease, background 130ms ease, border-color 130ms ease;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
}

.mega-panel.header-202608-panel .mega-link:hover {
  color: #003fab;
  border-left-color: #003fab;
  background: rgba(0, 63, 171, 0.07);
}

.mega-panel.header-202608-panel .mega-link__arrow {
  margin-left: 6px;
  font-size: 9px;
  opacity: 0;
  transition: opacity 130ms ease;
}

.mega-panel.header-202608-panel .mega-link:hover .mega-link__arrow {
  opacity: 0.7;
}

.mega-panel.header-202608-panel .mega-link__ext {
  margin-left: 5px;
  opacity: 0.45;
  vertical-align: middle;
  flex-shrink: 0;
}

.mega-panel.header-202608-panel .mega-link:hover .mega-link__ext {
  opacity: 0.8;
}

#headerNew.header-202608 .btn-header {
  font-size: 12px;
  font-weight: 600;
  height: 32px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid #003fab;
  color: #003fab;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
}

#headerNew.header-202608 .btn-header:hover {
  background: #003fab;
  color: #fff;
}

#headerNew.header-202608 .btn-header--primary {
  background: linear-gradient(135deg, #003fab 0%, #2b7fff 100%);
  border-color: transparent;
  border-width: 1px;
  border-style: solid;
  color: #ffffff !important;
}

#headerNew.header-202608 .btn-header.btn-header--primary:hover {
  background: linear-gradient(135deg, #003fab 0%, #2b7fff 100%);
  opacity: 0.7;
  color: #ffffff !important;
}

#headerNew.header-202608 .btn-header--ghost {
  border-color: rgba(0, 0, 0, 0.15);
  border-width: 1px;
  border-style: solid;
  color: #777777;
  font-weight: 400;
}

#headerNew.header-202608 .btn-header--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #444444;
}

#headerNew.header-202608 .header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

#headerNew.header-202608 .header-hamburger span {
  display: block;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

#headerNew.header-202608 .header-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#headerNew.header-202608 .header-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#headerNew.header-202608 .header-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobileNav.header-202608-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  z-index: 998;
  padding: 24px 24px 40px;
  overflow-y: auto;
  flex-direction: column;
  box-sizing: border-box;
}

#mobileNav.header-202608-mobile.open {
  display: flex;
}

#mobileNav.header-202608-mobile .mobile-nav__links {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

#mobileNav.header-202608-mobile .mobile-nav__links a {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  text-decoration: none;
}

#mobileNav.header-202608-mobile .mobile-nav__group {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

#mobileNav.header-202608-mobile .mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

#mobileNav.header-202608-mobile .mobile-nav__toggle-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#mobileNav.header-202608-mobile .mobile-nav__toggle-eyebrow {
  font-size: 11px;
  font-weight: 400;
  color: #7a828c;
}

#mobileNav.header-202608-mobile .mobile-nav__chevron {
  flex-shrink: 0;
  margin-left: 12px;
  color: #7a828c;
  font-size: 14px;
  transition: transform 0.2s ease;
}

#mobileNav.header-202608-mobile .mobile-nav__toggle[aria-expanded="true"] .mobile-nav__chevron {
  transform: rotate(180deg);
}

#mobileNav.header-202608-mobile .mobile-nav__submenu {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

#mobileNav.header-202608-mobile .mobile-nav__submenu.open {
  max-height: 640px;
}

#mobileNav.header-202608-mobile .mobile-nav__submenu a {
  font-size: 14px;
  font-weight: 500;
  color: #4a5460;
  padding: 12px 0 12px 16px;
  border-bottom: none;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

#mobileNav.header-202608-mobile .mobile-nav__cta {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
  margin-top: 32px;
}

#mobileNav.header-202608-mobile .mobile-nav__cta .btn-header {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #003fab;
  color: #003fab;
  background: transparent;
}

#mobileNav.header-202608-mobile .mobile-nav__cta .btn-header--primary {
  background: linear-gradient(135deg, #003fab 0%, #2b7fff 100%);
  border-color: transparent;
  color: #fff !important;
}

#mobileNav.header-202608-mobile .mobile-nav__cta .btn-header--ghost {
  border-color: rgba(0, 0, 0, 0.15);
  color: #777;
}

body.header-202608-active {
  padding-top: 60px;
}

/* 固定ヘッダー(60px)の下に、ページ内アンカー(#id)の着地先が隠れないようにする */
body.header-202608-active [id] {
  scroll-margin-top: 80px;
}

/* 申込・資料請求など: hide-global-header（ヘッダー非表示・上余白は維持） */
body.hide-global-header #headerNew.header-202608,
body.hide-global-header #mobileNav.header-202608-mobile {
  display: none !important;
}

@media (max-width: 750px) {
  body.header-202608-active.hide-global-header {
    padding-top: 0;
  }
}

body.header-202608-active.home,
body.header-202608-active.front-page {
  padding-top: 0;
}

body.header-202608-active .primary-nav,
body.header-202608-active header.header.js-header {
  display: none !important;
}

/* 旧2段ヘッダー余白の打ち消し（hide-global-header 時は template.css 優先） */
body.header-202608-active:not(.hide-global-header) main#main-content {
  padding-top: 0 !important;
}
body.header-202608-active:not(.hide-global-header) #content,
body.header-202608-active.pt:not(.hide-global-header) #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* pt.css `.pt #content section { margin-top: 3.75rem }` 打ち消し */
body.header-202608-active.pt #content section,
body.pt.header-202608-active #content .page-strategy-202608 > section,
.page-strategy-202608 > section {
  margin-top: 0 !important;
}
/* 黄色い帯タイトル直下・事例問い合わせ帯(#ss_contact)上下の余白を復元（依頼値 3.5rem） */
body.header-202608-active.pt #content #title.mod-title + section,
body.header-202608-active.pt #content #ss_contact,
body.header-202608-active.pt #content #ss_contact + section {
  margin-top: 3.5rem !important;
}
@media (max-width: 750px) {
  body.header-202608-active:not(.hide-global-header) #content,
  body.header-202608-active.pt:not(.hide-global-header) #content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}
/* 資料請求 (page-id-36680) の template.css 余白 */
body.header-202608-active.page-id-36680 #content {
  padding-top: 3rem !important;
}
@media (max-width: 751px) {
  body.header-202608-active.page-id-36680 #content {
    padding-top: 7rem !important;
  }
}

@media (max-width: 1400px) and (min-width: 1201px) {
  #headerNew.header-202608 .header-nav > ul > li > a,
  #headerNew.header-202608 .mega-trigger {
    padding: 5px 8px;
    font-size: 12px;
  }
  #headerNew.header-202608 .nav-cta-group {
    padding-left: 12px;
    gap: 6px;
  }
  #headerNew.header-202608 .btn-header {
    height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 1200px) {
  #headerNew.header-202608 .header-nav {
    display: none;
  }

  #headerNew.header-202608 .header-inner {
    padding: 0 32px;
  }
  #headerNew.header-202608 .header-hamburger {
    display: flex;
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 1100;
    margin-left: 0;
  }
}

/* ---- 2026-11: グロナビ2段レイアウト（Copilot業務実装・定着化支援を独立項目化 + CTAを上段へ）。
   全ページ共通の正式スタイル。旧1段レイアウト用の値は上のベース定義に残っているが、
   同一セレクタ・後勝ちでこちらが常に適用される。 ---- */
#headerNew.header-202608 {
  height: 96px !important;
}
#headerNew.header-202608 .header-inner {
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  padding-top: 10px;
  padding-bottom: 8px;
}
#headerNew.header-202608 .header-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
#headerNew.header-202608 .header-nav {
  flex: none;
  width: 100%;
  position: relative;
  top: auto;
  right: auto;
  margin-left: 0;
  transform: none;
}
#headerNew.header-202608 .header-nav > ul {
  justify-content: center;
  gap: 8px;
}
#headerNew.header-202608 .nav-cta-group {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  align-self: center;
}
#headerNew.header-202608 .mega-panel {
  top: 96px;
}
body.header-202608-active {
  padding-top: 96px;
}
body.header-202608-active.home,
body.header-202608-active.front-page {
  /* ヘッダーが60px→96pxに伸びた分（+36px）だけキービジュアルを押し下げ、
     ヘッダーに隠れる量を旧デザインと同じに保つ（完全に0に戻すと今まで以上に上端が隠れてしまう） */
  padding-top: 36px;
}
/* 上記のpadding-top分、#heroのheightを36px減らし、padding+hero=100vhを保って
   ファーストビューからキービジュアルがはみ出さないようにする */
body.header-202608-active.home #hero,
body.header-202608-active.front-page #hero {
  height: calc(100vh - 36px);
  min-height: 564px;
}
@media (max-width: 1200px) {
  #headerNew.header-202608 {
    height: 60px !important;
  }
  #headerNew.header-202608 .header-inner {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    flex-direction: row;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
  #headerNew.header-202608 .nav-cta-group {
    display: none;
  }
  body.header-202608-active {
    padding-top: 60px;
  }
  body.header-202608-active.home,
  body.header-202608-active.front-page {
    padding-top: 0;
  }
}
