body {
  margin: 0;
}

body a {
  text-decoration: none;
}

.header-container {
  width: 100%;
  height: 131px;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 1);
}

.logo-container {
  height: 45px;
  display: flex;
}

.logo-container img {
  height: 100%;
}

.header-content {
  width: 1200px;
  height: 100%;
  padding-top: 16px;
  box-sizing: border-box;
}

.logo-search-container {
  height: 45px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.search-input {
  width: 218px;
  height: 36px;
  border-radius: 2px;
  border: 1px solid rgba(0, 83, 165, 1);
  background: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 8px;
  box-sizing: border-box;
}

.search-input:focus {
  outline: none;
}

.search-button {
  width: 58px;
  height: 36px;
  border-radius: 0 2px 2px 0;
  background: rgba(48, 102, 239, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 8px;
  border: none;
  cursor: pointer;
}

.divider {
  width: 100%;
  height: 0px;
  border-bottom: 1px solid rgba(217, 217, 217, 1);
  margin: 16px 0;
}

.menu-container {
  width: 100%;
  height: 36px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.header-home-title {
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.header-home-title a {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: rgba(25, 25, 25, 1);
}

.header-home-title.on {
  border-bottom: 2px solid rgba(48, 102, 239, 1);
}

.header-home-title.on a {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: rgba(48, 102, 239, 1);
}

.menu-container {
  display: flex;
  align-items: center;
}

.menu-item {
  height: 36px;
  position: relative;
  margin-left: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.menu-item a {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: rgba(25, 25, 25, 1);
}

.menu-item.on {
  border-bottom: 2px solid rgba(48, 102, 239, 1);
}

.menu-item.on.menu-title {
  color: rgba(48, 102, 239, 1);
}

.menu-item:hover .submenu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.submenu-item {
  padding: 12px 16px;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
  color: rgba(25, 25, 25, 1);
}

.submenu-item.on {
  color: rgba(48, 102, 239, 1);
}

.submenu-item:hover {
  background: #f5f5f5;
}

.submenu-divider {
  width: 63%;
  height: 0px;
  border-bottom: 1px solid rgba(217, 217, 217, 1);
}

.submenu-divider:last-child {
  display: none;
}

@media (max-width: 768px) {
  .header-container {
    display: none !important;
  }

  .m-header-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
}

.m-header-container {
  display: none;
  width: 100%;
  height: 54px;
  background: rgba(255, 255, 255, 1);
  position: relative;
  z-index: 1001;
}

.m-logo-container {
  height: 28px;
  position: absolute;
  left: 12px;
}

.m-logo-container img {
  height: 100%;
}

.m-header-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.m-header-search-btn {
  position: absolute;
  right: 52px;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  padding: 0;
}

.m-header-search-btn img {
  width: 100%;
  height: 100%;
}

.m-search-input {
  position: absolute;
  right: 90px;
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
  background: rgba(255, 255, 255, 1);
}

.m-search-input:focus {
  outline: none;
}

.m-search-input.open {
  width: calc(100% - 138px);
  height: 28px;
  border: 1px solid rgba(0, 83, 165, 1);
}

.m-header-menu-btn {
  position: absolute;
  right: 12px;
  width: 30px;
  height: 30px;
}

.m-header-menu-btn img {
  width: 100%;
  height: 100%;
}

.m-header-menu-container {
  position: fixed;
  top: 54px;
  right: -70%;
  height: calc(100vh - 54px);
  overflow: auto;
  width: 70%;
  background: rgba(255, 255, 255, 1);
  transition: all 0.3s ease-in-out;
  z-index: 1001;
  padding: 20px 20px 0 20px;
  box-sizing: border-box;
}

.m-header-menu-container.open {
  right: 0;
}

.m-header-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.m-header-mask.open {
  visibility: visible;
  opacity: 1;
}

.m-menu-title-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: rgba(0, 0, 0, 1);
}

.m-menu-item {
  width: 100%;
  border-bottom: 1px solid rgba(217, 217, 217, 1);
}

.m-menu-item.on {
  background: rgba(0, 83, 165, 0.1);
}

.m-menu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.m-submenu-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.m-menu-item.on .m-submenu-arrow {
  transform: rotate(-135deg);
}

.m-submenu-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 1);
}

.m-submenu-item {
  display: block;
  width: 100%;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 20px;
  box-sizing: border-box;

  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  color: rgba(0, 0, 0, 1);
}

.m-submenu-item.on {
  background: rgba(0, 83, 165, 1);
  color: rgba(255, 255, 255, 1);
}
