/* Obaksa global header */
:root {
  --ob-header-ink: #142d3b;
  --ob-header-muted: #617483;
  --ob-header-blue: #1478b8;
  --ob-header-line: #dce5ea;
}

#header.ob-header {
  width: 100%;
  background: #fff;
  border: 0;
}

#header.ob-header #header_top,
.has_header_content #header.ob-header #header_top,
.fix_top.header_fix #header.ob-header #header_top,
.mobile_fix_top.header_fix #header.ob-header #header_top {
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid var(--ob-header-line);
  box-shadow: none;
}

#header.ob-header #header_top .inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 64px);
  max-width: 1224px;
  min-height: 86px;
  margin: 0 auto;
}

#header.ob-header #header_top .inner::before,
#header.ob-header #header_top .inner::after {
  display: none;
  content: none;
}

.ob-header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

#header.ob-header #header_logo {
  float: none;
  flex: 0 0 auto;
  max-height: none;
  margin: 0 12px 0 0;
  position: relative;
  z-index: 21;
}

#header.ob-header #header_logo .logo {
  display: block;
  margin: 0;
  line-height: 1;
}

#header.ob-header #header_logo a {
  display: flex;
  align-items: center;
  color: var(--ob-header-ink);
}

#header.ob-header #header_logo img {
  display: block;
  width: auto;
  height: 48px;
  max-height: 48px;
}

#header.ob-header #header_logo .desc,
#header.ob-header #header_logo_fix {
  display: none !important;
}

.ob-header-name {
  display: flex;
  align-items: center;
  color: var(--ob-header-ink);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ob-header-name:hover {
  color: var(--ob-header-ink);
  text-decoration: none;
}

.ob-header-name strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.ob-header-name span {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--ob-header-line);
  color: var(--ob-header-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

#header.ob-header #global_menu {
  flex: 0 1 auto;
  margin: 0;
  position: relative;
  z-index: 20;
}

#header.ob-header #global_menu > ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  text-align: right;
}

#header.ob-header #global_menu > ul > li {
  display: block;
  margin: 0;
  padding: 0;
}

#header.ob-header #global_menu > ul > li > a,
.fix_top.header_fix #header.ob-header #global_menu > ul > li > a {
  display: block;
  height: 86px;
  padding: 0;
  color: var(--ob-header-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 86px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

#header.ob-header #global_menu > ul > li > a:hover,
#header.ob-header #global_menu > ul > li.current-menu-item > a {
  color: var(--ob-header-blue);
  opacity: 1;
}

@media only screen and (min-width: 1025px) {
  .fix_top.header_fix #header.ob-header #header_top {
    min-width: 0;
  }

  .fix_top.header_fix #header.ob-header #logo_image,
  .fix_top.header_fix #header.ob-header #logo_text {
    display: block;
  }

  .fix_top.header_fix #header.ob-header #global_menu > ul > li:hover > ul {
    top: 86px;
  }

  .fix_top.header_fix {
    padding-top: 86px;
  }
}

@media only screen and (max-width: 1180px) and (min-width: 1025px) {
  #header.ob-header #header_top .inner {
    width: calc(100% - 40px);
  }

  .ob-header-name span {
    display: none;
  }

  #header.ob-header #global_menu > ul {
    gap: 20px;
  }
}

@media only screen and (max-width: 1024px) {
  #header.ob-header #header_top .inner {
    display: flex;
    width: 100%;
    height: 64px;
    min-height: 64px;
    padding: 0 72px 0 20px;
  }

  #header.ob-header #header_logo {
    max-height: 64px;
    margin-right: 9px;
  }

  #header.ob-header #header_logo .logo {
    line-height: 1;
  }

  #header.ob-header #header_logo img {
    height: 40px;
    max-height: 40px;
  }

  .ob-header-name strong {
    font-size: 20px;
  }

  .ob-header-name span {
    margin-left: 10px;
    padding-left: 10px;
    font-size: 11px;
  }

  #header.ob-header a.menu_button {
    background: transparent;
    display: block !important;
    position: absolute;
    top: 0;
    right: 8px;
    width: 56px;
    height: 64px;
    color: var(--ob-header-ink);
    line-height: 64px;
  }

  #header.ob-header a.menu_button:before {
    top: 31px;
    left: 17px;
    width: 22px;
    height: 2px;
    background: var(--ob-header-ink);
    border-radius: 2px;
    box-shadow: 0 -7px 0 var(--ob-header-ink), 0 7px 0 var(--ob-header-ink);
    color: transparent;
    content: '';
    font-family: inherit;
  }

  #header.ob-header #global_menu {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 64px;
    max-height: calc(100vh - 64px);
    background: #fff;
    border-top: 1px solid var(--ob-header-line);
    box-shadow: 0 12px 28px rgba(20, 45, 59, .12);
  }

  #header.ob-header #global_menu > ul {
    display: block;
  }

  #header.ob-header #global_menu > ul > li {
    width: 100%;
  }

  #header.ob-header #global_menu > ul > li > a,
  .fix_top.header_fix #header.ob-header #global_menu > ul > li > a {
    min-height: 48px;
    height: auto;
    padding: 14px 20px;
    color: var(--ob-header-ink);
    font-size: 14px;
    line-height: 20px;
    border-bottom: 1px solid #edf1f3;
  }

  #header.ob-header #global_menu > ul > li > a:hover {
    color: var(--ob-header-blue);
    background: #f5f9fb;
  }

  #header.ob-header #header_top a.search_button {
    right: 56px;
    height: 64px;
    color: var(--ob-header-ink);
    line-height: 64px;
  }

  #header.ob-header #header_top a.search_button:before {
    top: 20px;
    color: var(--ob-header-ink);
  }

  #header.ob-header #header_search {
    top: 64px;
  }
}

@media only screen and (max-width: 620px) {
  #header.ob-header #header_top .inner {
    padding-left: 14px;
  }

  #header.ob-header #header_logo img {
    height: 36px;
    max-height: 36px;
  }

  .ob-header-name strong {
    font-size: 18px;
  }

  .ob-header-name span {
    display: none;
  }
}
