﻿.header {
  margin-top: 6px;
  padding: 0 20px;
  width: 100%;
  height: 84px;
  border-bottom: 1px solid #dfdfdf;
}
@media screen and (max-width: 769px) {
  .header {
    margin-top: 0;
    padding: 0 10px;
    height: calc(70px - 3px * 2);
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
}
.header-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  z-index: 99;
}
@media screen and (max-width: 769px) {
  .header-line {
    position: relative;
  }
}
.header-line::before, .header-line::after {
  content: "";
  width: 100%;
  height: 3px;
}
.header-line::before {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #043492;
}
.header-line::after {
  position: absolute;
  top: 3px;
  left: 0;
  background-color: #0084e2;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 1170px;
  height: 100%;
}
.header-content-inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.header-menuButton {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 42px;
}
@media screen and (max-width: 769px) {
  .header-menuButton {
    display: flex;
  }
}
.header-menuButton-text {
  font-size: 10px;
  font-weight: bold;
}
.header-image {
  object-fit: contain;
  max-width: 204px;
}
@media screen and (max-width: 769px) {
  .header-image {
    /*height: 45px;*/
    max-width: 183px;
  }
}
.header .headerNav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-logo {
  display: inline-block;
  overflow: hidden;
}
.header-alternativeLogin {
  display: inline-block;
  padding: 0.125em 1em;
  margin-left: 20px;
  border-radius: 8px;
  background-color: #C00000;
  font-size: 2rem;
  color: #ffffff;
}
@media screen and (max-width: 769px) {
  .header-alternativeLogin {
    font-size: 1rem;
  }
}

/*
.drawerMenuTitle {
  @include pc {
    background: $color-gray-light !important;
    font-weight: bold;
    color: $color-gray-dark !important;
    height: 50.5px;
  }
}

p.drawerMenuLink {
  font-weight: bold;
  color: $color-gray-3;
}*/
.headerDrawer {
  display: block;
  position: relative;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  z-index: 100;
}
@media screen and (max-width: 769px) {
  .headerDrawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    width: calc(100vw - 64px);
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: none;
    transition: transform 0.3s ease;
    transform: translateX(100%);
  }
  .headerDrawer.m-show {
    opacity: 100;
    transform: translateX(0);
  }
}
.headerDrawer.m-fixed {
  position: fixed;
  top: 6px;
  right: 0;
}
.headerDrawer-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(2, 31, 88, 0.8);
  z-index: 9999;
  display: none;
}
.headerDrawer-mask.m-show {
  display: block;
}
.headerDrawer-closeButton {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}
.headerDrawer-closeButton .x-icon {
  color: #ffffff;
}
.headerDrawer-bottom {
  display: none;
  flex: 0 0 auto;
  padding: 60px 20px 40px 20px;
}
@media screen and (max-width: 769px) {
  .headerDrawer-bottom {
    display: block;
  }
}
.headerDrawer-bottom .x-button {
  box-shadow: none;
  font-size: 16px;
  letter-spacing: 0.1rem;
}

.headerNav-user-name {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 5px;
  padding: 10px;
  height: 100%;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  transition: all 0.3s ease;
}
.headerNav-user-name-iconWrapper {
  position: relative;
}
.headerNav-user-name-iconWrapper .x-noticeBadge {
  top: -6px;
  right: -6px;
}
.headerNav-user-name .x-icon.rank {
  min-width: 1em;
}

.x-button.logout-button {
  height: 35px;
  width: 105px;
  margin: 10px;
  font-size: 14px;
  font-weight: bold;
}

.headerNav-button {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 5px;
  padding: 10px;
  min-width: 101px;
  height: 100%;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  transition: all 0.3s ease;
}
@media screen and (max-width: 769px) {
  .headerNav-button {
    min-width: auto;
  }
}
.headerNav-button:hover {
  background-color: #f2f9fe;
}
.headerNav-button:focus, .headerNav-button:focus-visible {
  border-color: #0084e2;
}
.headerNav-button-iconWrapper {
  position: relative;
}
.headerNav-button-iconWrapper .x-noticeBadge {
  top: -6px;
  right: -6px;
}

.drawer {
  flex: 1 1 auto;
  width: 100%;
}
.drawer .drawerMenuItem {
  flex: 1 1 25%;
  position: relative;
  line-height: 1;
}
@media screen and (max-width: 769px) {
  .drawer .drawerMenuItem {
    flex: auto;
  }
}
.drawer .drawerMenuItem-title {
  background: #f6f6f6 !important;
  font-weight: bold;
  color: #464646 !important;
  height: 50.5px;
}
@media screen and (max-width: 769px) {
  .drawer .drawerMenuItem-title {
    background: transparent !important;
    font-weight: normal;
    color: #707070 !important;
    height: auto;
  }
}
.drawer .drawerMenuItem-icon {
  margin-left: 0;
  width: 1em;
  height: 1em;
  font-size: 1.25em;
}
@media screen and (max-width: 769px) {
  .drawer .drawerMenuItem-icon {
    margin-left: auto;
    font-size: 24px;
    transition: transform 0.3s ease;
  }
}
.drawer .drawerMenuItem-symbolIcon {
  width: 1em;
  height: 1em;
  font-size: 1.25em;
}
@media screen and (max-width: 769px) {
  .drawer .drawerMenuItem-symbolIcon {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }
}
.drawer .drawerMenuItem-symbolIcon.x-m-sawakami-icon {
  font-size: 24px;
}
.drawer-menu {
  display: flex;
  justify-content: center;
  max-width: 1170px;
  margin: 0 auto;
}
@media screen and (max-width: 769px) {
  .drawer-menu {
    flex-direction: column;
    max-width: none;
  }
}
.drawer-menu.m-children {
  display: block;
  margin: 0;
  height: auto;
  overflow: hidden;
}
.drawer-menu.m-children .drawerMenuItem:not(:first-child) {
  border-top: 1px solid #dfdfdf;
}
@media screen and (max-width: 769px) {
  .drawer-menu.m-children .drawerMenuItem:not(:first-child) {
    border-top: none;
  }
}
.drawer-menu.m-children .drawerMenuItem-title {
  display: flex;
  align-items: center;
  padding: 1rem 10px;
  height: 50.5px;
  font-size: 14px;
  color: #464646 !important;
}
@media screen and (max-width: 769px) {
  .drawer-menu.m-children .drawerMenuItem-title {
    height: auto;
    padding: 20px 20px 20px calc(50px + 2em);
    background-color: #f6f6f6 !important;
    color: #707070 !important;
    font-size: 16px;
    font-weight: bold;
  }
}
.drawer-menu.m-children .drawerMenuItem-link {
  background-color: #ffffff;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 10px;
  padding: 1rem 10px;
  min-width: 200px;
  font-size: 14px;
  border-top: 1px solid transparent;
}
.drawer-menu.m-children .drawerMenuItem-link:hover {
  background-color: #f2f9fe;
}
.drawer-menu.m-children .drawerMenuItem-link:focus, .drawer-menu.m-children .drawerMenuItem-link:focus-visible {
  border-color: transparent !important;
}
.drawer-menu.m-children .drawerMenuItem-link:focus::before, .drawer-menu.m-children .drawerMenuItem-link:focus-visible::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #0084e2;
  border-radius: 4px;
  z-index: 1;
}
@media screen and (max-width: 769px) {
  .drawer-menu.m-children .drawerMenuItem-link:focus::before, .drawer-menu.m-children .drawerMenuItem-link:focus-visible::before {
    border: none;
  }
}
@media screen and (max-width: 769px) {
  .drawer-menu.m-children .drawerMenuItem-link {
    justify-content: flex-start;
    gap: initial;
    padding: 20px 20px 20px calc(50px + 2em);
    background-color: #f6f6f6;
    font-size: 16px;
  }
  .drawer-menu.m-children .drawerMenuItem-link:hover, .drawer-menu.m-children .drawerMenuItem-link:active {
    background-color: #dfdfdf;
  }
}
.drawer-menu .drawerMenuItem {
  position: relative;
  line-height: 1;
  flex: 1 1 25%;
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem {
    flex: auto;
  }
}
.drawer-menu .drawerMenuItem-icon {
  margin-left: 0;
  width: 1em;
  height: 1em;
  font-size: 1.25em;
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem-icon {
    margin-left: auto;
    font-size: 24px;
    transition: transform 0.3s ease;
  }
}
.drawer-menu .drawerMenuItem.userNameArea, .drawer-menu .drawerMenuItem.contactArea {
  display: none;
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem.userNameArea, .drawer-menu .drawerMenuItem.contactArea {
    display: block;
  }
}
.drawer-menu .drawerMenuItem-inner {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  font-weight: bold;
  justify-content: center;
  gap: 0 5px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: 4px;
}
.drawer-menu .drawerMenuItem-inner.x-m-sawkami {
  padding: 12px;
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem-inner.x-m-sawkami {
    padding: 20px;
  }
}
.drawer-menu .drawerMenuItem-inner:hover {
  background-color: #f2f9fe;
  cursor: pointer;
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem-inner:hover {
    background-color: transparent;
    cursor: auto;
  }
}
.drawer-menu .drawerMenuItem-inner:focus {
  border-color: #0084e2;
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem-inner:focus {
    border-color: transparent;
  }
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem-inner {
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 20px;
    font-weight: normal;
    outline: none;
  }
}
.drawer-menu .drawerMenuItem-symbolIcon {
  width: 1em;
  height: 1em;
  font-size: 1.25em;
}
.drawer-menu .drawerMenuItem-symbolIcon.x-m-sawakami-icon {
  font-size: 24px;
}
@media screen and (max-width: 769px) {
  .drawer-menu .drawerMenuItem-symbolIcon {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }
}
.drawer-menu-children {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 1;
  overflow: hidden;
}
@media screen and (max-width: 769px) {
  .drawer-menu-children {
    position: static;
    border-radius: initial;
    box-shadow: none;
  }
}
.drawer-user-icon {
  width: 60px;
  min-width: 60px;
  height: 60px;
  border-radius: 9999px;
  background-color: #f2f9fe;
  font-size: 21px;
}
.drawer-user-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem 0;
  padding-left: 6px;
  font-size: 14px;
}
.drawer-user-name {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: bold;
}
.drawer-user-name .rank {
  min-width: 1em;
  margin-top: -0.125em;
}
.drawer-user-id {
  color: #464646;
}

.globalNavMobile {
  position: fixed;
  bottom: 0;
  left: 0;
  display: none;
  padding: 10px 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  z-index: 99;
}
@media screen and (max-width: 769px) {
  .globalNavMobile {
    display: flex;
    align-items: center;
  }
}
.globalNavMobile-inner {
  flex: 1 1 20%;
}
.globalNavMobile-inner:not(:last-child) {
  border-right: 1px solid #dfdfdf;
}
.globalNavMobile-inner.m-large {
  flex: 1 1 60%;
}
.globalNavMobile-inner.m-large .globalNavMobile-button {
  flex-direction: row;
  gap: 0 0.25em;
  font-size: 16px;
}
@media screen and (max-width: 769px) {
  .globalNavMobile-inner.m-large .x-icon {
    font-size: 2em;
  }
}
.globalNavMobile-link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 12px;
  font-weight: bold;
}
.globalNavMobile-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border: none;
  outline: none;
  font-size: 12px;
  font-weight: bold;
  color: #000000;
}
.globalNavMobile-button .x-icon {
  font-size: 1.5em;
}

.globalNavDrawerMask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(2, 31, 88, 0.8);
  z-index: 9999;
  display: none;
}

.globalNavDrawer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 10000;
  transition-property: transform, opacity;
  transition-duration: 0.3s, 0s;
  transition-delay: 0s, 0.3s;
  transition-timing-function: ease, unset;
  opacity: 0;
  transform: translateY(100%);
}
.globalNavDrawer.m-show {
  transition-delay: 0s, 0s;
  opacity: 1;
  transform: translateY(0);
}
.globalNavDrawer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px 15px 15px;
  font-weight: bold;
  line-height: 1;
}
.globalNavDrawer-header-close {
  margin-left: auto;
}
@media screen and (max-width: 769px) {
  .globalNavDrawer-header .x-icon {
    font-size: 1.5em;
  }
}
.globalNavDrawer-menu {
  border-top: 1px solid #dfdfdf;
}
.globalNavDrawer .drawerMenuItem {
  position: relative;
  line-height: 1;
}
.globalNavDrawer .drawerMenuItem:not(:first-child) {
  border-top: 1px solid #dfdfdf;
}
.globalNavDrawer .drawerMenuItem-title {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px 20px 15px 50px;
  background-color: #f6f6f6 !important;
  color: #707070;
  font-weight: bold;
}
.globalNavDrawer .drawerMenuItem-link {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px 20px 15px 50px;
}
.globalNavDrawer .drawerMenuItem-link:hover, .globalNavDrawer .drawerMenuItem-link:active {
  background-color: #f2f9fe;
}
.globalNavDrawer .drawerMenuItem-icon {
  margin-left: auto;
}
