@charset "UTF-8";
/* Shared UI rules used across the top page and lower-level pages. */

:root {
  --wf-font-base: YakuHanJP, "Noto Sans Japanese", "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, Verdana, sans-serif;
  --wf-font-header: "Rajdhani", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

/* Keep lower-level pages on the same base typography as index.html. */
body.site-subpage,
body.site-subpage button,
body.site-subpage input,
body.site-subpage select,
body.site-subpage textarea,
body.site-subpage h1,
body.site-subpage h2,
body.site-subpage h3,
body.site-subpage h4,
body.site-subpage h5,
body.site-subpage h6 {
  font-family: var(--wf-font-base);
}

/* Match the desktop header typography of the current /service/ page. */
.navbar,
.navbar-brand,
.navbar .logo a,
.nav-links a,
.nav > li > a,
.mobile-header__logo,
.mobile-menu__brand,
.mobile-nav__label {
  font-family: var(--wf-font-header);
}

body.site-subpage .navbar .logo a {
  font-weight: 700;
  letter-spacing: .04em;
}

body.site-subpage .nav-links a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
}


/* --------------------------------------------------------------------------
   Shared lower-page header
   Desktop behavior follows index.html:
   - the header keeps its place in normal flow
   - after a short scroll, only the navigation bar becomes fixed
   - the fixed navigation becomes slightly more compact
   Colors remain the lower-page white / dark-text palette.
   -------------------------------------------------------------------------- */
body.site-subpage .site-header {
  position: relative;
  z-index: 1180;
  width: 100%;
  height: 60px;
  background: #fff;
  box-shadow: none;
}

body.site-subpage .site-header .navbar {
  position: absolute !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 3% !important;
  z-index: 1180;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 94%;
  min-height: 60px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e1e7e5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    min-height .22s ease,
    padding .22s ease,
    background-color .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

body.site-subpage .site-header .navbar .logo {
  flex: 0 0 auto;
  margin: 0 auto 0 0;
  padding: 0;
}

body.site-subpage .site-header .navbar .logo a {
  display: flex;
  align-items: center;
  min-height: 60px;
  font-size: 2rem;
  line-height: 1;
  transition: min-height .22s ease, font-size .22s ease;
}

body.site-subpage .site-header .nav-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin: 0 0 0 auto;
  padding: 0;
  transition: gap .22s ease;
}

body.site-subpage .site-header .nav-links a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  transition: min-height .22s ease, font-size .22s ease, opacity .2s ease;
}

body.site-subpage .site-header .mobile-header {
  margin: 0;
}

@media (min-width: 901px) {
  body.site-subpage .site-header.fixed .navbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100%;
    min-height: 50px;
    padding: 0 3%;
    background: rgba(255, 255, 255, .96);
    border-bottom-color: #e1e7e5;
    box-shadow: 0 8px 28px rgba(17, 42, 38, .09), 0 1px 0 rgba(22, 59, 53, .08);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
    backdrop-filter: blur(12px) saturate(125%);
  }

  body.site-subpage .site-header.fixed .navbar .logo a {
    min-height: 50px;
    font-size: 1.65rem;
  }

  body.site-subpage .site-header.fixed .nav-links {
    gap: 24px;
  }

  body.site-subpage .site-header.fixed .nav-links a {
    min-height: 50px;
    font-size: 15px;
  }

  body.site-subpage .site-header .mobile-header {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body.site-subpage .site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: auto;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 0 rgba(22, 59, 53, .08);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
    backdrop-filter: blur(12px) saturate(125%);
  }

  body.site-subpage .site-header .navbar {
    display: none !important;
  }

  body.site-subpage .site-header .mobile-header {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1;
    display: flex !important;
    width: 100%;
  }
}

/* Shared Label & Clients strip. This is the same component used on index.html. */
.lp-logo-bar__wrapper span {
  display: block;
  margin: 10px auto 0;
  color: #444;
  font-size: 14px;
  text-align: center;
}

.lp-logo-bar__wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.lp-logo-bar__content {
  display: flex;
  flex-wrap: nowrap;
  height: var(--lp-logo-bar-height, 60px);
  pointer-events: none;
  animation: wf-logo-scroll-left 30s linear infinite;
  will-change: transform;
}

@keyframes wf-logo-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-logo-bar__content {
    animation: none;
    overflow-x: auto;
  }
}
