#hdgNav {
  width: 100%;
  min-width: auto;
  background-color: #282828;
  font-family: 'Noto Sans JP', sans-serif;
}

#hdgNav.fixed {
  position: fixed;
  top: -1px;
}

#hdgNav .sp_nav_btn,
#hdgNav .close_wrap {
  display: none;
}

#hdgNav .list {
  width: min(80%, 1540px);
  height: 70px;
  justify-content: center;
}

#hdgNav .list > .item {
  height: 100%;
  border-left: 1.5px solid #606060;
  position: relative;
  flex: 1;
}

#hdgNav .list > .item.btn_download {
  display: flex;
  align-items: center;
  flex: none;
  min-width: 177px;
  border-right: none;
  padding: 0 min(calc(16 / 1920 * 100vw), 16px) 0 min(calc(18 / 1920 * 100vw), 18px);
}

#hdgNav .list > .item.btn_download .btn {
  width: 100%;
  height: 48px;
  border-radius: 7px;
  background: #1967CC;
}

#hdgNav .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  font-size: 1rem;
  color: #fff;
  background-color: rgba(40, 40, 40, 0.9);
  transition: all 0.4s;
  line-height: 1.1;
}

#hdgNav .list > .item:last-child {
  display: flex;
  align-items: center;
  flex: none;
  min-width: 275px;
  border: none;
}

#hdgNav .list > .item:last-child .btn {
  background-color: rgba(194, 108, 20, 0.9);
  width: 100%;
  height: 48px;
  border-radius: 7px;
  padding: 0 10px;
}

#hdgNav .list > .item:last-child .btn::before {
  content: "";
  display: inline-block;
  min-width: 25px;
  max-width: 25px;
  height: 24px;
  background: url(../images/common/icon_external_link.png) no-repeat;
  background-size: contain;
  margin-right: 4px;
}

#hdgNav .item:hover .btn {
  background-color: rgba(25, 103, 204, 0.9);
  opacity: 1;
}

#hdgNav .list > .item:last-child:hover .btn {
  background-color: rgba(232, 134, 34, 1);
}

@media (max-width: 1162px) {
  #hdgNav .list > .item {
    flex: 1;
  }
}

#hdgNav .list > .item .br820,
#hdgNav .list > .item .br940,
#hdgNav .list > .item .br1000,
#hdgNav .list > .item .br1020,
#hdgNav .list > .item .br1215,
#hdgNav .list > .item .br1315,
#hdgNav .list > .item .br1200,
#hdgNav .list > .item .br1625,
#hdgNav .list > .item .br1632,
#hdgNav .list > .item .br1920 {
  display: none;
}

@media (max-width: 820px) {
  #hdgNav .list > .item .br820 {
    display: block;
  }
}

@media (max-width: 850px) {
  #hdgNav .btn {
    font-size: 0.99em;
  }
}

@media (max-width: 940px) {
  #hdgNav .list > .item .br940 {
    display: block;
  }
}

@media (max-width: 970px) {
  #hdgNav .list > .item.btn_download {
    min-width: auto;
  }
  #hdgNav .list > .item.btn_download .btn {
    padding: 0 10px;
  }
}

@media (max-width: 1000px) {
  #hdgNav .list > .item .br1000 {
    display: block;
  }
}

@media (max-width: 1020px) {
  #hdgNav .list > .item .br1020 {
    display: block;
  }

  #hdgNav .list > .item:last-child {
    min-width: auto;
  }
}

@media (max-width: 1215px) {
  #hdgNav .list > .item .br1215 {
    display: block;
  }
}

@media (max-width: 1315px) {
  #hdgNav .list > .item .br1315 {
    display: block;
  }
}

@media (max-width: 1200px) {
  #hdgNav .list > .item .br1200 {
    display: block;
  }
}

@media (max-width: 1625px) {
  #hdgNav .list > .item .br1625 {
    display: block;
  }
}

@media (max-width: 1632px) {
  #hdgNav .list > .item .br1920 {
    display: block;
  }
}

.dropmenu {
  max-height: calc(100vh - 135px);
  overflow-y: auto;
  background-color: rgba(40, 40, 40, 0.9);
  border: 1.5px solid #606060;
  position: absolute;
  left: -1px;
  top: 70px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
  z-index: 10001;
}

#hdgNav.fixed .dropmenu {
  max-height: calc(100vh - 70px);
}

.dropmenu .sp_scroll_wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 40px 0 40px;
}

#hdgNav .dropmenu .in_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
}

#hdgNav .dropmenu .in_list .item {
  float: none;
  padding-left: 1em;
}

#hdgNav .dropmenu a {
  padding: 0 3em 0 2em;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.4s;
}

#hdgNav .dropmenu a.first_link {
  font-weight: 500;
}

#hdgNav .dropmenu a:hover {
  background-color: transparent;
  color: #4fa0ff;
}

#hdgNav .list > .item:last-child .dropmenu a:hover {
  color: #e88622;
}

#hdgNav .dropmenu a:not(.not_anchor):not(.first_link) {
  padding-left: 3.1em;
  font-size: 14px;
}

#hdgNav .item.pc_menu:hover .dropmenu {
  visibility: visible;
  opacity: 1;
}

#hdgNav .li_parent.on .dropmenu {
  visibility: visible;
  opacity: 1;
}

#hdgNav .sp {
  display: none;
}

#hdgNav .pc {
  display: flex;
}

body.responsive-sp #hdgNav .sp {
  display: flex;
}

body.responsive-sp #hdgNav .pc {
  display: none;
}

/* レスポンシブ */
/* #globalSpHeaderFixed {
  position: fixed;
  width: 100%;
  height: auto;
  top: 0;
  z-index: 1000;
} */

body.responsive-sp #hdgNav {
  width: 100%;
  min-width: 0;
  display: flex;
  /* position: fixed;
  top: 57px; */
}

body.responsive-sp #hdgNav .sp_nav_btn {
  box-sizing: border-box;
  display: block;
  width: 56px;
  height: 56px;
  padding-top: 10px;
  color: #e3e3e3;
  background: rgba(40, 40, 40, 0.9);
  border: 1px solid #e3e3e3;
  position: absolute;
  top: 0;
  right: 0;
  transition: right 0.4s;
}

body.responsive-sp #hdgNav.active .sp_nav_btn {
  right: 100%;
}

body.responsive-sp #hdgNav .sp_nav_btn .text {
  margin-bottom: 2px;
  font-size: 12px;
}

body.responsive-sp #hdgNav .list_wrap {
  width: 100%;
  position: absolute;
  top: 0;
  right: -100%;
  transition: right 0.4s;
}

body.responsive-sp #hdgNav.active .list_wrap {
  right: 0;
  background: rgba(40, 40, 40, 0.9);
}

body.responsive-sp #hdgNav.dblactive .list_wrap {
  right: 100%;
}

body.responsive-sp #hdgNav .list {
  flex-direction: column;
  width: 100%;
  height: auto;
}

body.responsive-sp #hdgNav .list .item {
  position: static;
  width: 100%;
}

body.responsive-sp #hdgNav .list > .item .br820,
body.responsive-sp #hdgNav .list > .item .br940,
body.responsive-sp #hdgNav .list > .item .br1000,
body.responsive-sp #hdgNav .list > .item .br1020,
body.responsive-sp #hdgNav .list > .item .br1215,
body.responsive-sp #hdgNav .list > .item .br1315,
body.responsive-sp #hdgNav .list > .item .br1200,
body.responsive-sp #hdgNav .list > .item .br1625,
body.responsive-sp #hdgNav .list > .item .br1632,
body.responsive-sp #hdgNav .list > .item .br1920 {
  display: none;
}

body.responsive-sp #hdgNav .list > .item.btn_download {
  padding: 0;
}

body.responsive-sp #hdgNav .list > .item.btn_download .btn {
  justify-content: center;
}

body.responsive-sp #hdgNav .list > .item:last-child {
  padding-left: 0;
}

body.responsive-sp #hdgNav .close_wrap {
  display: flex;
  padding: 16px;
  border-bottom: 1px solid #606060;
  background-color: rgba(40, 40, 40, 0.9);
}

body.responsive-sp #hdgNav .list_wrap > .close_wrap {
  justify-content: flex-end;
}

body.responsive-sp #hdgNav .dropmenu .close_wrap {
  justify-content: space-between;
}

body.responsive-sp #hdgNav .close_wrap .close_btn,
body.responsive-sp #hdgNav .close_wrap .prev_btn {
  background: transparent;
  border: none;
  color: #e3e3e3;
  font-size: 16px;
}

body.responsive-sp #hdgNav .list > .item .btn,
body.responsive-sp #hdgNav .list > .item:last-child .btn {
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #606060;
  text-align: left;
  height: 100%;
  border-radius: 0;
  font-size: 16px;
}

body.responsive-sp #hdgNav .list > .item:last-child .btn {
  background-color: #e88622;
  width: 100%;
  justify-content: center;
}

body.responsive-sp #hdgNav .list > .item:last-child .btn::before {
  margin-right: 8px;
}

body.responsive-sp #hdgNav .btn.sp_href_none::after {
  content: '＞';
}

body.responsive-sp #hdgNav .btn {
  line-height: normal;
}

body.responsive-sp #hdgNav .dropmenu {
  display: block;
  width: 100%;
  position: fixed;
  transition: right 0.4s;
  top: 57px;
  left: auto;
  right: -100%;
}

body.responsive-sp #hdgNav.fixed .dropmenu {
  top: 0;
}

body.responsive-sp #hdgNav.dblactive .dropmenu {
  right: 0;
}

body.responsive-sp #hdgNav .dropmenu .sp_scroll_wrap {
  max-height: calc(100vh - 116px);
  padding: 16px 16px 36px;
  overflow-y: auto;
  box-sizing: border-box;
}

body.responsive-sp #hdgNav .dropmenu a,
#hdgNav .dropmenu .in_list .item {
  padding: 0;
}

body.responsive-sp #hdgNav .dropmenu a.not_anchor {
  padding-left: 1em;
}

body.responsive-sp #hdgNav .dropmenu a:not(.not_anchor):not(.first_link) {
  padding-left: 2em;
}

body.responsive-sp #hdgNav .item:hover .btn {
  background-color: rgba(40, 40, 40, 0.9);
}
