@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');
/* ==========================================================================
   全ページ共通ヘッダー / フッター
   inc/header.html・inc/footer.html と対になる共通スタイル。
   BiND標準ページと独立LP(clearA/)の双方から読み込む。
   ========================================================================== */

:root {
  --brand-blue: #1c6fa0;
  --brand-blue-tint: #eaf6fc;
  --muted-text: #526a78;
  --line-color: #d7e7ef;
  --surface: #fff;
  --common-font-sans: "YakuHanJP", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", YuGothic, "Meiryo", sans-serif;
}

#area-header,
#area-header *,
#area-footer,
#area-footer * {
  box-sizing: border-box;
}

#area-header,
#area-header.noskin,
#area-footer,
#area-footer.noskin {
  width: 100% !important;
  max-width: none;
  margin-right: auto !important;
  margin-left: auto !important;
}

#area-header-wrap {
  padding-bottom: 0;
  background: transparent;
}

#area-header {
  overflow: hidden;
  color: #333;
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--line-color);
  border-radius: 0;
  font-family: var(--common-font-sans);
}

/* 旧BiNDテーマがリンクへ付ける点線のborderを共通パーツ内では無効化する。 */
#area-header a,
#area-footer a {
  border: 0 !important;
}

.site-header-inner {
  display: grid;
  grid-template-columns: 210px 1fr;
  grid-template-areas:
    "brand tagline"
    "navigation navigation";
  width: 100%;
  max-width: 1137px;
  margin: 0 auto;
}

.site-header-top {
  display: flex;
  grid-area: tagline;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 18px 10px;
  text-align: right;
}

.site-header-top p {
  margin: 0;
  padding: 0;
  color: #607480;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.site-brand-row {
  display: flex;
  grid-area: brand;
  align-items: center;
  min-height: 64px;
  padding: 13px 18px 11px;
}

.site-brand-logo {
  display: inline-block;
  border: 0 !important;
  text-decoration: none !important;
  line-height: 0;
}

.site-brand-logo:hover,
.site-brand-logo:focus,
.site-brand-logo:focus-visible {
  color: inherit !important;
  background: transparent !important;
  opacity: 1 !important;
  text-decoration: none !important;
  outline: none;
}

.site-brand-logo img {
  display: block;
  width: 184px;
  height: auto;
  border: 0;
}

.site-nav-panel {
  grid-area: navigation;
  padding: 0;
  border-top: 0;
}

.site-nav-shell,
.menu-c {
  width: 100%;
}

#site-nav {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line-color);
  border-radius: 0;
}

#site-nav li {
  float: none;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
  border-right: 0;
}

#site-nav li:last-child {
  border-right: 0;
}

#site-nav a.mn1,
#site-nav .nolink {
  display: block;
  height: auto;
  position: relative;
  padding: 13px 12px 12px;
  color: #314b59;
  background: transparent;
  border: 0 !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#site-nav a.mn1:hover,
#site-nav a.mn1:focus-visible {
  color: var(--brand-blue);
  background-color: #f5fafc;
}

#site-nav a.mn1.cr,
#site-nav a.mn1.cr:hover {
  color: var(--brand-blue);
  background-color: #fff;
  font-weight: 700;
}

#site-nav a.mn1.cr::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 3px 3px 0 0;
}

.nav-toggle {
  display: none;
}

#area-footer {
  margin-top: 44px !important;
  color: #465e6b;
  background: #fff;
  border-top: 1px solid #b9ccd7;
  border-radius: 0;
  font-family: var(--common-font-sans);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1137px;
  margin: 0 auto;
  min-height: 78px;
  padding: 18px 24px;
}

.site-footer-company,
.site-footer-meta {
  margin: 0;
  line-height: 1.6;
}

.site-footer-company {
  color: #184f6f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer-meta {
  color: #647782;
  font-size: 12px;
  text-align: right;
}

.site-footer-meta a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: rgba(28, 111, 160, 0.35);
  text-underline-offset: 3px;
}

.site-footer-meta a:hover {
  color: #154f72;
  text-decoration-color: #154f72;
}

@media (max-width: 768px) {
  .site-header-inner {
    display: block;
    position: relative;
  }

  #area-header-wrap {
    padding-bottom: 0;
  }

  .site-header-top {
    display: none;
  }

  .site-header-top p {
    font-size: 10px;
    letter-spacing: 0.025em;
  }

  .site-brand-row {
    justify-content: center;
    min-height: 58px;
    padding: 11px 12px 9px;
  }

  .site-brand-logo img {
    width: 176px;
  }

  .site-nav-panel {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 12px;
  }

  .site-nav-shell {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 76px;
    min-height: 36px;
    position: absolute;
    top: -47px;
    right: 10px;
    z-index: 2;
    margin: 0;
    padding: 3px 0;
    color: #fff;
    background: var(--brand-blue);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: -4px;
  }

  .nav-toggle-bar {
    display: block;
    width: 23px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  .nav-toggle-label {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
  }

  .menu-c {
    overflow: visible;
  }

  .menu-c ul#site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
    border-radius: 6px;
  }

  .menu-c ul#site-nav.is-open {
    display: flex;
  }

  .menu-c ul#site-nav li {
    width: 100% !important;
    float: none !important;
    border-right: 0;
    border-bottom: 1px solid var(--line-color);
  }

  .menu-c ul#site-nav li:last-child {
    border-bottom: 0;
  }

  .menu-c ul#site-nav a.mn1 {
    display: block;
    width: 100%;
    padding: 8px 12px 7px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
  }

  .menu-c ul#site-nav a.mn1.cr::after {
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 22px 16px;
    text-align: center;
  }

  .site-footer-meta {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-nav a.mn1 {
    transition: none;
  }
}
