@charset "UTF-8";

/* =========================
   Header / Footer
========================= */

/* --- PCは現状維持 --- */
.site-header {
  background: #fff;
  z-index: 1030;
  border-bottom: 1px solid #e8e8e8;
}

.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 24px;
  padding-right: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.site-header .navbar {
  min-height: 100px;
}

.site-header .navbar-nav .nav-link {
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: #333;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header .navbar-nav .nav-link:hover {
  color: #2f7bc2;
}

.site-header .nav-recruit .nav-link {
  background: #2f7bc2;
  color: #fff;
}

.site-header .nav-entry .nav-link {
  background: #173f78;
  color: #fff;
}

/* =========================
   Tablet / Mobile
========================= */
@media (max-width: 991.98px) {
  .site-header {
    background: #fff;
  }

  .header-inner {
    position: relative;
    min-height: 72px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-logo {
    display: flex;
    align-items: center;
    margin: 0;
    flex: 0 0 auto;
  }

  .site-logo img {
    height: 40px;
    width: auto;
    max-width: none;
  }

  .site-header .navbar {
    position: static;
    min-height: 72px;
    height: auto;
    display: flex;
    align-items: center;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .site-header .navbar-toggler {
    padding: 6px 8px;
    border: 0;
    background: transparent;
  }

  .site-header .navbar-toggler:focus {
    box-shadow: none;
  }

  /* ハンバーガー展開部分 */
  .site-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    z-index: 1050;
  }

  /* 右に細くなる原因を強制解除 */
  .site-header .navbar-nav {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
    align-items: stretch !important;
  }

  .site-header .navbar-nav.ms-auto {
    margin-left: 0 !important;
  }

  .site-header .navbar-nav .nav-item {
    display: block;
    width: 100%;
    margin: 0;
  }

  .site-header .navbar-nav .nav-link {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    text-align: left;
    white-space: normal;
  }

  .site-header .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  /* モバイルではCTAも通常メニュー化 */
  .site-header .nav-recruit .nav-link,
  .site-header .nav-entry .nav-link {
    background: #fff;
    color: #333;
  }
}

/* =========================
   Small Mobile
========================= */
@media (max-width: 575.98px) {
  .header-inner {
    min-height: 68px;
    padding: 0 10px;
  }

  .site-logo img {
    height: 34px;
  }

  .site-header .navbar {
    min-height: 68px;
  }

  .site-header .navbar-nav .nav-link {
    padding: 13px 14px;
    font-size: 14px;
  }
}

/* =========================
   Footer
========================= */
.site-footer {
  background: #2f7bc2;
  color: #fff;
  padding-top: 8px;
}

.footer-top-link {
  text-align: center;
  padding: 6px 0 2px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.footer-top-link a {
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.footer-inner {
  max-width: 1160px;
  padding-top: 26px;
  padding-bottom: 18px;
}

.footer-company {
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li a {
  color: #fff;
  font-size: 12px;
}

.footer-address p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

.footer-copy {
  text-align: center;
  margin-top: 22px;
  font-size: 10px;
  opacity: .9;
}

@media (max-width: 767.98px) {
  .footer-company,
  .footer-nav,
  .footer-address,
  .footer-copy {
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}