/*
@media screen and (min-width: 1024px) {
	.menu_sp_wrapper{
		margin-right: 0 !important;
	}
	.filter{
		display: none !important;
	}
}
*/


html.open .filter {
	position: fixed;
	background-color: rgba(0,0,0,0.5);
	z-index: 300;
	top: -5000px;
	right: -5000px;
	bottom: -5000px;
	left: -5000px;
	backface-visibility: hidden;
	transition: all .3s;
}
.header-menu-smp {
	background-color: #ffffff;
	width: 100%;
	/*display: none;*/
	position: fixed;
	box-sizing: border-box;
	overflow: auto;
	top: 70px;
	right: 0;
	bottom: 0;
	/*left: 0;*/
	/*		color: #fff;*/
	z-index: 500;
	backface-visibility: hidden;
	-webkit-overflow-scrolling: touch;
	transform: translateX(100%);
	transition: all .5s;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding-bottom: 60px;
}
.header-menu-smp-inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
}
.header-menu-smp::-webkit-scrollbar {
	display:none;
}
html.open .header-menu-smp{
	transform: translateX(0%);
}

.header-button-smpmenu-li{
	background-color: #f2f2f2;
}
.header-button-smpmenu-trigger,
.header-button-smpmenu-trigger span {
	transition: all .4s;
	box-sizing: border-box;
}
.header-button-smpmenu-trigger {
	position: relative;
	color: inherit;
	width: 100%;
	height: 70px;
	background-color: #808080;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/*
html.open .sogo .header-button-smpmenu-trigger {
	background-color: var(--cmn);
}
html.open .junior .header-button-smpmenu-trigger {
	background-color: var(--jhsh);
}
html.open .senior .header-button-smpmenu-trigger {
	background-color: var(--hs);
}
*/

.header-button-smpmenu-trigger span {
	position: absolute;
	width: 25px;
	height: 2px;
	background-color: #ffffff;
	border-radius: 1.5px;
}

.header-button-smpmenu-trigger span:nth-of-type(1) {
	top: calc(50% - 13px);
}
.header-button-smpmenu-trigger span:nth-of-type(2) {
	top: calc(50% + -5px);
}
.header-button-smpmenu-trigger span:nth-of-type(3) {
	top: calc(50% + 3px);
}
.header-button-smpmenu-trigger span:nth-of-type(4) {
	top: calc(50% + 12px);
	left: 0;
	width: 100%;
	text-align: center;
	margin: 0;
	height: auto;
	background-color: transparent;
	font-size: 1.0rem;
	line-height: 1;
	color: #ffffff;
}

.header-button-smpmenu-trigger.active span:nth-of-type(1) {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: calc(50% - 6px);
	margin-top: -1px;
}
.header-button-smpmenu-trigger.active span:nth-of-type(2) {
	opacity: 0;
}
.header-button-smpmenu-trigger.active span:nth-of-type(3) {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	top: calc(50% - 6px);
	margin-top: -1px;
}

.header-menu-smp-close{
	cursor: pointer;
}
.header-menu-smp-close-button{
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 0;
}
.header-menu-smp-close-button:before,
.header-menu-smp-close-button:after{
	content: '';
	position: absolute;
	left: 3px;
	width: 34px;
	height: 2px;
	background-color: #fff;
	border-radius: 1px;
}
.header-menu-smp-close-button:before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 50%;
	margin-top: -1px;
}
.header-menu-smp-close-button:after {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 50%;
	margin-top: -1px;
}

.header-menu-smp-close-txt{
	text-align: center;
	padding: 10px;
	margin-top: 1px;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	background-color: #808080;
	margin-top: 20px;
	width: 100%;
	max-width: 350px;
}

/* =================================
   spmenu
================================= */
#menu-global-smp,
#menu-global-smp-junior,
#menu-global-smp-senior{
	padding: 0 20px;
}
#menu-submenu {
	padding: 0 20px;
}
.menu_global_smp a {
	color: inherit;
	display: block;
	padding: 15px 25px 15px 20px;
	font-size: 1.4rem;
}
.menu_global_smp > li > a{
	position: relative;
}
.menu_global_smp > li > a:before {
	content: "";
	position: absolute;
	top: 50%;
	right: 13px;
	transform: translateY(-50%) rotate(45deg);
	width: 6px;
	height: 6px;
	border-top: 1px solid var(--txt);
	border-right: 1px solid var(--txt);
}
.menu_global_smp > li.menu-item-has-children > a{
	position: relative;
}
.menu_global_smp > li.menu-item-has-children > a:before {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	/* font-size: 20px; */
	width: 10px;
	height: 1px;
	background-color: var(--txt);
	border: none;
}
.menu_global_smp > li.menu-item-has-children > a:after {
	content: "";
	position:absolute;
	top: 50%;
	right: 14.5px;
	transform: translateY(-50%);
	/* font-size: 20px; */
	width: 1px;
	height: 10px;
	background-color: var(--txt);
	transition: all 0.5s;
}
.menu_global_smp > li.menu-item-has-children > a.open:after {
	opacity: 0;
}
.header-button-smpmenu {
	display: none;
	width: 100%;
}


.menu_global_smp .sub-menu li a {
	font-size: 12px;
	padding: 15px 10px 15px 25px;
	position: relative;
	border-bottom: 1px dotted rgba(61, 61, 61, 0.6);
}
.menu_global_smp .sub-menu li a:after {
	content: "";
	position: absolute;
	top: 50%;
	right: 13px;
	transform: translateY(-50%) rotate(45deg);
	width: 6px;
	height: 6px;
	border-top: 1px solid var(--txt);
	border-right: 1px solid var(--txt);
}
.menu_global_smp .sub-menu .sub-menu a {
	padding: 10px;
	position: relative;
}
.menu_global_smp .sub-menu .sub-menu a:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 5px;
	height: 1px;
	background-color: #ffffff;
}

.menu_global_smp .sub-menu .sub-menu {
	display: block;
}

.menu_global_smp span.menu-description {
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
	display: block;
	margin-left: 0;
	padding-left: 10px;
	padding-bottom: 10px;
}
.menu_global_smp .sub-menu li a:has(+.menu-description) {
	border-bottom: none;
	padding-bottom: 8px;
}

.bumon__menu {
    display: flex;
    column-gap: 1px;
}
.bumon__menu > li {
    width: 100%;
    display: flex;
}
.bumon__menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0px 15px 0 5px;
    color: #fff;
    width: 100%;
	font-size: 1.4rem;
}
.bumon__menu > li > a:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%) rotate(45deg);
    width: 4px;
    height: 4px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
}

.menu_global_smp {
    display: flex;
    gap: 5px 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.menu_global_smp > .menu-item {
    width: calc((100% / 4) - (60px / 4));
}

@media only screen and (max-width: 767px) {
    .menu_global_smp > .menu-item {
		width: calc((100% / 2) - (20px / 2));
	}
	.menu_global_smp a {
		padding: 10px 15px 10px 15px;
		font-size: 1.2rem;
	}
  .header-menu-smp-inner {
    margin-top: 20px;
  }
}

