:root {
  --jp-0721-primary: #100b55;
  --jp-0721-accent: #cc0100;
  --jp-0721-text: #1f2937;
  --jp-0721-secondary: #4b5563;
  --jp-0721-font-jp: 'Noto Sans JP', sans-serif;
  --jp-0721-font-en: 'Inter', sans-serif;
}

.jp-0721-header.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  height: 72px;
  min-height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
  backdrop-filter: blur(8px);
  color: var(--jp-0721-text);
  font-family: var(--jp-0721-font-jp);
}

.jp-0721-header .header-inner {
  display: flex;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0 96px;
  align-items: center;
  justify-content: space-between;
}

.jp-0721-header .header-logo {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.jp-0721-header .header-logo-img {
  display: block;
  width: 164px;
  height: 35px;
  max-width: none;
  transition: opacity .3s ease;
}

.jp-0721-header .header-logo-white { position: relative; opacity: 0; }
.jp-0721-header .header-logo-dark { position: absolute; top: 0; left: 0; opacity: 1; }

.jp-0721-header .header-nav {
  display: flex;
  flex: 1 1 auto;
  margin: 12px 0 0 60px;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
}

.jp-0721-header .header-nav-item {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.jp-0721-header .header-nav-link {
  display: flex;
  margin: 0;
  padding: 10px 24px 10px 0;
  align-items: center;
  gap: 4px;
  color: var(--jp-0721-text);
  font-family: var(--jp-0721-font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}

.jp-0721-header .header-nav-link:hover,
.jp-0721-header .header-nav-item:hover .header-nav-link,
.jp-0721-header .header-nav-item.active .header-nav-link {
  color: var(--jp-0721-accent);
}

.jp-0721-header .header-nav-chevron {
  display: inline-flex;
  margin-left: 2px;
  align-items: center;
}

.jp-0721-header .header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.jp-0721-header .header-language {
  position: relative;
  font-family: var(--jp-0721-font-jp);
}

.jp-0721-header .header-language-toggle {
  display: inline-flex;
  min-height: 32px;
  padding: 6px 8px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--jp-0721-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: color .15s ease;
}

.jp-0721-header .header-language-toggle:hover,
.jp-0721-header .header-language.open .header-language-toggle {
  background: transparent;
  color: var(--jp-0721-accent);
}

.jp-0721-header .header-language-toggle svg {
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.jp-0721-header .header-language.open .header-language-toggle svg {
  transform: rotate(180deg);
}

.jp-0721-header .header-language-toggle:focus-visible,
.jp-0721-header .header-language-option:focus-visible {
  outline: 2px solid var(--jp-0721-accent);
  outline-offset: 2px;
}

.jp-0721-header .header-language-menu {
  position: absolute;
  left: 50%;
  right: auto;
  display: grid;
  width: 136px;
  padding: 8px;

  top: 46px;
  z-index: 98;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  transform: translateX(-50%);
  animation: jp0721LanguageFadeIn .18s ease;
}

@keyframes jp0721LanguageFadeIn {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.jp-0721-header .header-language-option {
  display: flex;
  min-height: 38px;
  padding: 8px 10px;
  align-items: center;
  border-radius: 5px;
  color: var(--jp-0721-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.jp-0721-header .header-language-option:hover {
  background: transparent;
  color: var(--jp-0721-accent);
}

.jp-0721-header .header-language-option.current {
  background: transparent;
  color: var(--jp-0721-accent);
  cursor: default;
}

.jp-0721-header .header-language-option.current:hover,
.jp-0721-header .header-language-option:active {
  background: transparent;
}

.jp-0721-header .header-search {
  display: flex;
  padding: 6px 8px;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--jp-0721-text);
  font-family: var(--jp-0721-font-en);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: color .15s ease;
}

.jp-0721-header .header-search:hover,
.jp-0721-header .header-search.is-open {
  background: transparent;
  color: var(--jp-0721-accent);
}
.jp-0721-header .header-search-label { white-space: nowrap; }
.jp-0721-header .header-search-close-icon { display: none; }
.jp-0721-header .header-search.is-open .header-search-open-icon { display: none; }
.jp-0721-header .header-search.is-open .header-search-close-icon { display: block; }

.jp-0721-header .header-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: none;
  cursor: pointer;
}

.jp-0721-header .header-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--jp-0721-text);
  transition: transform .3s, opacity .3s;
}

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

.jp-0721-mobile-nav.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  margin: 0;
  padding: 88px 24px 48px;
  flex-direction: column;
  overflow-y: auto;
  background: #fff;
  font-family: var(--jp-0721-font-jp);
}

.jp-0721-mobile-nav.mobile-nav.open { display: flex; }
.jp-0721-mobile-nav .mobile-nav-item { margin: 0; padding: 0; border-bottom: 1px solid #f3f4f6; }

.jp-0721-mobile-nav .mobile-nav-link {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: none;
  color: var(--jp-0721-secondary);
  font-family: var(--jp-0721-font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.jp-0721-mobile-nav .mobile-nav-expand-icon { transition: transform .2s; }
.jp-0721-mobile-nav .mobile-nav-toggle.expanded .mobile-nav-expand-icon { transform: rotate(180deg); }
.jp-0721-mobile-nav .mobile-nav-sub { display: none; padding: 0 0 8px; flex-direction: column; }
.jp-0721-mobile-nav .mobile-nav-sub.open { display: flex; }

.jp-0721-mobile-nav .mobile-nav-category-label {
  display: block;
  margin: 12px 0 4px 16px;
  padding: 0;
  color: var(--jp-0721-accent);
  font-family: var(--jp-0721-font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-decoration: none;
}

.jp-0721-mobile-nav .mobile-nav-sub-link {
  display: flex;
  margin: 0;
  padding: 10px 0 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f1f3;
  color: var(--jp-0721-text);
  font-family: var(--jp-0721-font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.jp-0721-mobile-nav .mobile-nav-sub-link svg { flex: 0 0 auto; color: var(--jp-0721-accent); }
.jp-0721-mobile-nav .mobile-nav-sub-link--heading { margin-bottom: 4px; border-top: 1px solid #e5e7eb; border-bottom-color: #e5e7eb; font-weight: 700; }
.jp-0721-mobile-nav .mobile-nav-sub-link:last-child { border-bottom: 0; }

.search-panel {
  position: absolute;
  top: 72px;
  width: 636px;
  padding: 24px;
  z-index: 99;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: none;
  color: var(--jp-0721-text);
  box-sizing: border-box;
  font-family: var(--jp-0721-font-jp);
}

.search-panel-close-sp { display: none; }

.search-panel-input-wrap {
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  border: 1px solid #a5aab1;
  background: #fff;
  box-sizing: border-box;
}

.search-panel-input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--jp-0721-text);
  font-family: var(--jp-0721-font-jp);
  font-size: 16px;
  line-height: 1.5;
}

.search-no-result {
  margin: 16px 0 0;
  color: #6b7280;
  font-family: var(--jp-0721-font-jp);
  font-size: 13px;
  line-height: 1.7;
}

.jp-0721-mega-menu.mega-menu {
  position: fixed;
  top: 72px;
  right: 0;
  left: 0;
  z-index: 98;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  animation: jp0721MegaFadeIn .18s ease;
}

@keyframes jp0721MegaFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.jp-0721-mega-menu .mega-menu-inner {
  display: flex;
  padding: 16px 96px 20px 320px;
  flex-direction: column;
  gap: 10px;
}

.jp-0721-mega-menu .mega-menu-category {
  display: inline-block;
  margin: 0;
  color: var(--jp-0721-text);
  font-family: var(--jp-0721-font-jp);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.jp-0721-mega-menu .mega-menu-category:hover { color: var(--jp-0721-accent); }
.jp-0721-mega-menu .mega-menu-categories { display: flex; align-items: flex-start; gap: 48px; }

.jp-0721-mega-menu .mega-menu-category-group {
  display: flex;
  padding-left: 48px;
  flex-direction: column;
  border-left: 1px solid #e5e7eb;
}

.jp-0721-mega-menu .mega-menu-category-group:first-child { padding-left: 0; border-left: 0; }

.jp-0721-mega-menu .mega-menu-category-label {
  display: flex;
  margin: 0 0 8px;
  align-items: center;
  gap: 10px;
  color: #9a9a9a;
  font-family: var(--jp-0721-font-jp);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}

.jp-0721-mega-menu .mega-menu-category-label:hover { color: var(--jp-0721-accent); }
.jp-0721-mega-menu .mega-menu-category-label--static,
.jp-0721-mega-menu .mega-menu-category-label--static:hover {
  color: #9a9a9a;
  cursor: default;
}
.jp-0721-mega-menu .mega-menu-list { display: grid; margin: 0; padding: 0; grid-template-columns: 1fr; list-style: none; }
.jp-0721-mega-menu .mega-menu-inner > .mega-menu-list {
  grid-template-columns: repeat(3, max-content);
  column-gap: 40px;
}
.jp-0721-mega-menu .mega-menu-category-group--engineering .mega-menu-list { grid-template-columns: repeat(2, max-content); column-gap: 32px; }
.jp-0721-mega-menu .mega-menu-list li { width: max-content; }

.jp-0721-mega-menu .mega-menu-link {
  display: flex;
  padding: 7px 0;
  align-items: center;
  gap: 12px;
  color: var(--jp-0721-text);
  font-family: var(--jp-0721-font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.jp-0721-mega-menu .mega-menu-link:hover { color: var(--jp-0721-accent); }
.jp-0721-mega-menu .mega-menu-arrow { flex: 0 0 auto; color: var(--jp-0721-accent); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.jp-0721-mega-menu .mega-menu-link:hover .mega-menu-arrow { transform: translateX(3px); opacity: 1; }
.jp-0721-mega-menu-backdrop.mega-menu-backdrop { position: fixed; inset: 0; z-index: 97; }

.jp-0721-mega-menu .mega-menu-industries {
  display: flex;
  margin: 16px -96px -20px -320px;
  padding: 20px 96px 20px 320px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #f7f7f7;
}

.jp-0721-mega-menu .mega-menu-industries-label {
  margin-right: 16px;
  color: #9a9a9a;
  font-family: var(--jp-0721-font-jp);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  white-space: nowrap;
}

.jp-0721-mega-menu .mega-menu-industries-link {
  padding: 5px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #4b5563;
  font-family: var(--jp-0721-font-jp);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}

.jp-0721-mega-menu .mega-menu-industries-link:hover {
  border-color: var(--jp-0721-accent);
  color: var(--jp-0721-accent);
}

.footer.jp-0721-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #34383b;
  color: #fff;
  font-family: var(--jp-0721-font-jp);
}

.jp-0721-footer .footer-inner {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px 94px 24px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas: 'logo logo' 'companies sns' 'nav copyright';
  row-gap: 40px;
}

.jp-0721-footer .footer-top { grid-area: logo; }
.jp-0721-footer .footer-logo { display: inline-flex; margin: 0; padding: 0; }
.jp-0721-footer .footer-logo img { display: block; width: 160px; height: 42px; max-width: none; }
.jp-0721-footer .footer-companies { display: flex; grid-area: companies; flex-direction: column; align-self: center; gap: 12px; }

.jp-0721-footer .footer-company-name,
.jp-0721-footer .footer-nav-link {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: var(--jp-0721-font-jp);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}

.jp-0721-footer .footer-company-name {
  letter-spacing: .7px;
  transition: color .2s ease, opacity .2s ease;
}
.jp-0721-footer .footer-company-name:hover {
  color: #fff;
  opacity: .7;
}
.jp-0721-footer .footer-nav-link { letter-spacing: .28px; transition: opacity .2s ease; }
.jp-0721-footer .footer-nav-link:hover { opacity: .7; }
.jp-0721-footer .footer-nav { display: flex; grid-area: nav; align-items: center; gap: 24px; }
.jp-0721-footer .footer-sns { display: flex; grid-area: sns; padding-right: 20px; align-items: center; justify-content: flex-end; gap: 16px; }
.jp-0721-footer .footer-sns-link { position: relative; display: flex; align-items: center; justify-content: center; transition: opacity .2s ease; }
.jp-0721-footer .footer-sns-link:hover { opacity: .7; }

.jp-0721-footer .footer-sns-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 4px 10px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: #fff;
  color: var(--jp-0721-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.jp-0721-footer .footer-sns-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
}

.jp-0721-footer .footer-sns-link:hover .footer-sns-tooltip { opacity: 1; }
.jp-0721-footer .footer-copyright { grid-area: copyright; margin: 0; padding-right: 20px; align-self: center; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: -.12px; text-align: right; }
.jp-0721-footer .footer-copyright a { color: inherit; text-decoration: none; }

html[data-jp-legacy='true'] .jp-legacy-page > .site-content { padding-top: 72px; }

@media (max-width: 1280px) and (min-width: 1025px) {
  .jp-0721-header .header-inner { padding: 0 48px; }
  .jp-0721-header .header-nav { margin-left: 32px; }
  .jp-0721-header .header-nav-link { padding-right: 10px; font-size: 13px; }
  .jp-0721-mega-menu .mega-menu-inner { padding-right: 48px; padding-left: 244px; }
  .jp-0721-mega-menu .mega-menu-industries { margin-right: -48px; margin-left: -244px; padding-right: 48px; padding-left: 244px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .jp-0721-header .header-inner { padding: 0 24px; }
  .jp-0721-header .header-nav { margin-left: 20px; }
  .jp-0721-header .header-nav-link { padding-right: 8px; font-size: 12px; letter-spacing: 0; }
  .jp-0721-header .header-nav-chevron { display: none; }
  .jp-0721-mega-menu .mega-menu-inner { padding-right: 24px; padding-left: 208px; }
  .jp-0721-mega-menu .mega-menu-industries { margin-right: -24px; margin-left: -208px; padding-right: 24px; padding-left: 208px; }
}

@media (max-width: 768px) {
  .jp-0721-header .header-inner { padding: 0 16px; }
  .jp-0721-header .header-logo-img { width: 136px; height: auto; }
  .jp-0721-header .header-nav { display: none; }
  .jp-0721-header .header-search { width: 24px; height: 24px; padding: 0; align-items: center; justify-content: center; }
  .jp-0721-header .header-search-label { display: none; }
  .jp-0721-header .header-search svg { width: 24px; height: 24px; }
  .jp-0721-header .header-hamburger { display: flex; margin-left: 10px; }

  .search-panel {
    position: fixed;
    top: 0;
    right: 0;
    left: 0 !important;
    width: 100%;
    padding: 16px 16px 24px;
    z-index: 200;
    border: 0;
    border-radius: 0;
  }

  .search-panel-close-sp { display: flex; margin-bottom: 12px; justify-content: flex-end; }
  .search-panel-close-sp-btn { padding: 4px; border: 0; background: none; color: #333; cursor: pointer; }

  .jp-0721-footer .footer-inner { display: flex; padding: 36px 32px 24px; flex-direction: column; gap: 0; }
  .jp-0721-footer .footer-top { margin-bottom: 28px; }
  .jp-0721-footer .footer-companies { align-self: flex-start; align-items: flex-start; margin-bottom: 56px; }
  .jp-0721-footer .footer-company-name { font-weight: 700; letter-spacing: -.14px; text-align: left; }
  .jp-0721-footer .footer-nav { margin-bottom: 32px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .jp-0721-footer .footer-sns { margin-bottom: 32px; padding-right: 0; justify-content: flex-start; }
  .jp-0721-footer .footer-copyright { padding-right: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .jp-0721-header *,
  .jp-0721-mobile-nav *,
  .jp-0721-footer * {
    scroll-behavior: auto;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
