@charset "UTF-8";
/* ==========================================================================
   layout.css — サイトヘッダー / グローバルナビ / モバイルナビ /
                ページヘッダー / パンくず / 2カラム / フッター
   ========================================================================== */

/* --------------------------------------------------------------------------
   サイトヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-rule);
}

/* スクロールでヘッダーを固定（site.js が付与） */
.site-header.is-fixed {
  position: fixed;
  inset: 0 0 auto 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
}
body.has-fixed-header { padding-top: var(--header-height); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.site-header__logo {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.site-header__logo a { color: var(--color-text); text-decoration: none; }

/* --------------------------------------------------------------------------
   グローバルナビ（PC）
   -------------------------------------------------------------------------- */
.global-nav__list { display: flex; }

.global-nav__list a {
  display: block;
  padding: 14px 18px;
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color .2s, color .2s;
}
.global-nav__list a:hover { color: var(--color-primary); text-decoration: none; }
.global-nav__list a[aria-current="page"] { border-bottom-color: var(--color-primary); }

/* --------------------------------------------------------------------------
   モバイルナビ
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  background: #fff no-repeat center / 24px 24px;
  background-image: url("../img/ui/vk-menu-btn-black.svg");
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] {
  background-image: url("../img/ui/vk-menu-close-black.svg");
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 99;
  overflow-y: auto;
  padding: 8px 0 40px;
  background: #fff;
  border-top: 1px solid var(--color-rule);
}
.mobile-nav.is-open { display: block; }
body.nav-open { overflow: hidden; }

.mobile-nav__label {
  padding: 12px 20px;
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: .08em;
}
.mobile-nav__list a {
  display: block;
  padding: 16px 20px;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-rule);
}
.mobile-nav__list a:hover { background: #f7f7f7; text-decoration: none; }

/* --------------------------------------------------------------------------
   下層ページのページヘッダー
   -------------------------------------------------------------------------- */
.page-header {
  display: flex;
  align-items: center;
  min-height: 128px;
  padding: 24px 0;
  color: #fff;
  background: url("../img/hero/top-company-sns-bg.jpg") no-repeat 50% 50% / cover;
}
.page-header__title {
  width: 100%;
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
}

/* --------------------------------------------------------------------------
   パンくず
   -------------------------------------------------------------------------- */
.breadcrumb { border-bottom: 1px solid var(--color-rule); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12px;
}
.breadcrumb__list li + li::before { content: "/"; margin-right: 8px; color: #aaa; }
.breadcrumb__list a { color: var(--color-text); }
.breadcrumb__list [aria-current="page"] { color: var(--color-muted); }
.breadcrumb__home::before { content: "\f015"; /* fa-house */
  font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 6px; font-size: 11px; }

/* --------------------------------------------------------------------------
   本文レイアウト（下層ページ：本文＋サイドバー）
   -------------------------------------------------------------------------- */
.site-body { padding: 30px 0 60px; }

.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  gap: 30px;
  align-items: start;
}
.layout-single { max-width: 100%; }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--color-primary-vivid);
  color: var(--color-text);
  font-size: 12px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .global-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header__inner { justify-content: space-between; }
  .page-header { min-height: 100px; }
  .page-header__title { font-size: 24px; }
}
