.header_wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  /* justify-content: space-between; */
  align-items: center;
  width: 100%;
  /* max-width: 1640px; */
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}

.header_wrap .header_wrap-logo {
  display: flex;
}
@media screen and (max-width: 767px) {
  .header_wrap {
    padding: 0;
  }
  .header_wrap .header_wrap-logo {
    justify-content: space-between;
  }
}

#header_logo {
  float: none;
}
#header_logo .hdr-left {
  float: none;
}
#header_logo .hdr-left h1 {
  padding-bottom: 10px;
}
#header_logo .hdr-right {
  float: none;
}

#header_info {
  float: none;
  margin-top: 0;
}
#header_info ul {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}
@media screen and (max-width: 1240px) {
  #header_info ul {
    gap:10px;
  }
}
#header_info ul li {
  display: inline-flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  position: relative;
  width:auto;
  padding: 10px 33px 10px 27px;
  background-color: #fff;
  border: 2px solid #e87a12;
  border-radius: 30px;
  box-sizing: border-box;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}
@media screen and (max-width: 996px) {
  #header_info ul li {
    font-size: 13px;
    padding: 5px 30px 5px 22px;
  }
}
#header_info ul li.course-form_btn {
  min-width: 300px;
}
@media screen and (max-width: 1240px) {
  #header_info ul li.course-form_btn {
    min-width: 100%;
  }
}
#header_info ul li::after {
  content: "";
  width: .8vw;
  max-width: 8px;
  height: .8vw;
  max-height: 8px;
  display: block;
  border-top: 2px solid #e87a12 !important;
  border-right: 2px solid #e87a12 !important;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 18px;
  bottom: 0;
}
#header_info ul li a {
  display: block;
  color: #e87a12;
}
#header_info ul li:hover {
  opacity: 0.8;
  cursor: pointer;
}
#header_info ul li:last-child {
  background-color: #e87a12;
  border: 2px solid #fff;
}
#header_info ul li:last-child::after {
  border-top: 2px solid #fff !important;
  border-right: 2px solid #fff !important;
}
#header_info ul li:last-child a {
  display: block;
  color: #fff;
}

.nav-inner {
  width: 100%;
  position: relative;
}

#menu-wrap {
  position: absolute;
  z-index: 3;
  width: 100%;
  background: #fff;
  box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
}

nav {
  height: auto;
  margin-top: 0;
  border-bottom: 0;
}

@media screen and (min-width: 768px) {
  #menu {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
  }
}
#menu li {
  float: none;
  font-size: 18px !important;
  color: #000000 !important;
}
#menu li .navname {
  border-left: 0;
  border-right: 0;
}
#menu li .navname_e {
  display: none;
}
@media screen and (max-width: 767px) {
  #menu li .navname_e {
    display: block;
  }
}
#menu li:hover {
  background: none;
  color: #e87a12 !important;
}
#menu li .boxa {
  color: #000000 !important;
}
#menu li .boxa:hover {
  background: none;
  color: #e87a12 !important;
}
#menu li p:hover {
  color: unset;
}
#menu li ul {
  top: 55px !important;
}
#menu li ul li {
  border-bottom: 0;
}
#menu .wide-children2 {
  left: 0px !important;
  top: 55px !important;
}
#menu .wide-children2 li {
  border-bottom: 0;
}

.sp-nav__btn .js-close-btn {
  background: #fff !important;
  padding: 15px;
  text-align: center;
  display: block;
  color: #e87a12 !important;
  font-size: 16px;
  line-height: 20px;
  position: relative;
  border: 1px solid #e87a12 !important;
  border-radius: 30px;
  z-index: 1;
}

.sp-nav__btn .js-close-btn::after {
  content: "";
  width: 6px;
  height: 6px;
  display: block;
  border-top: 2px solid #e87a12 !important;
  border-right: 2px solid #e87a12 !important;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 15px;
  bottom: 0;
  margin: auto;
}
@media screen and (max-width: 1024px) {
  #menu {
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #menu li {
    float: none;
    font-size: 12px !important;
    color: #000000 !important;
  }
}
/* Tablet */

@media screen and (max-width: 1240px) {
  #header_logo > div.hdr-left > h1 > a > img {
    max-width: 260px;
  }
}
@media screen and (max-width: 767px) {
  #header_logo .hdr-left h1 a img {
    max-width: 180px;
  }
  #header_info ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
  #header_info ul li {
    min-width: 100%;
    font-size: 10px;
    padding: 5px 10px;
  }
  #header_info ul li::after {
    content: "";
    width: 6px;
    height: 6px;
    display: block;
    border-top: 2px solid #e87a12 !important;
    border-right: 2px solid #e87a12 !important;
    transform: rotate(45deg);
    position: absolute;
    top: 41%;
    right: 8px;
    bottom: 0;
  }
  .header_wrap {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px;
  }
  #menu {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  nav #menu {
    background-color: #fff;
  }
  #menu li {
    float: none;
    font-size: 12px !important;
    color: #000000 !important;
  }
  #menu > li {
    width: 100% !important;
  }
  .nav-inner nav {
    background-color: #fff;
  }
}

/* 2025-02-19 */
#header_logo .hdr-left h1 {
  padding-bottom: 10px;
  margin-left: 130px;
}
#header_info {
  margin-left: auto;
  padding: 0 15px;
}
#header_info ul li {
  height: 55px;
}
@media screen and (max-width: 1440px) {
  #header_logo .hdr-left h1 {
    padding-bottom: 10px;
    margin-left: 100px;
  }
}
@media screen and (max-width: 1240px) {
  .header_wrap {
    justify-items: end;
    max-width: 100%;
  }
  #header_info ul li.course-form_btn {
    min-width: 220px;
  }
}
@media screen and (max-width: 1024px) {
  #header_logo .hdr-left h1 {
    padding-bottom: 10px;
    margin-left: 30px;
  }
  .nav-inner,
  .header_wrap {
    width: 1060px;
  }
  #header_info {
    max-width: 540px;
  }
  #header_info ul {

    justify-content: flex-end;
  }
  #header_info ul li.course-form_btn {
    min-width: 220px;
  }
  #menu {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: unset;
    font-family: "Noto Sans JP", "ヒラギノ角ゴシック", "Hiragino Sans",
      "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif !important;
  }
  #menu > li {
    width: unset;
  }
  #menu li {
    font-size: 12px !important;
    flex:1;
  }
}
@media screen and (max-width: 996px) {
  #header_info ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (max-width: 767px) {
  .header_wrap {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px;
    padding: 0;
  }
  .nav-inner,
  .header_wrap {
    width: 100%;
  }
  #header_logo {
    width: 100%;
  }
  #rootnode.header_wrap {
    width: 100%;
  }
  .hdr-left {
/*    padding-left: 0;*/
    padding-left: 10px;
  }
  #header_logo .hdr-left h1 {
    margin-left: 0;
  }
  #header_logo .hdr-left h1 {
    padding-bottom: 10px;
    margin-left: 0;
  }
  .nav-inner,
  .header_wrap {
    width: 100%;
  }
  .header_wrap .header_wrap-logo {
    gap: 10px;
  }
    #menu li {
      flex:auto;
    }
}

/*20250419*/
.hdr-right .header_openseminar_btn {
    display: table-cell;
    vertical-align: middle;
    padding-right: 10px;
}
.hdr-right .header_openseminar_btn img {
    width: 160px;
    vertical-align: bottom;
}

/*
 * 20251022 レスポンシブ調整
 * */
.header_wrap{
	max-width:1240px;
	flex-wrap:nowrap;
	width:auto;
}
#header_logo .hdr-left h1{
	margin-left:0;
}
#header_info{
	padding-right:0;
}
#menu li .navname{
	white-space:nowrap;
}
@media screen and (max-width: 1024px) {
	.header_wrap{
		justify-items: self-start;
		grid-template-columns: calc(100% - 600px) 600px;
	}
	.nav-inner{
		width:100%;
	}
	#header_info {
		max-width:none;
		margin-bottom:10px;
	}
	#header_logo > div.hdr-left > h1 > a > img {
		max-width: 260px;
		width: 100%;
	}
	#header_info ul li{
		min-width:120px;
	}
}
@media screen and (max-width: 767px) {
	#rootnode.header_wrap {
		padding-left:0;
	}
}

@media screen and (max-width: 1440px) {
  .header_wrap{
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (min-width: 768px) {
    #menu .wide-children2 {
        width: 240px;
    }
}