/* ===== HEADER ===== */
.site-header {
	background: rgb(255 255 254 / 95%);
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 100;
	padding: 28px 0 0;
}

.site-header.is-small {
	padding: 11px 0 0px;
}

.is-small .header-nav__list>li {
	padding-bottom: 28px;
}


.header-inner {
	padding: 0 38px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.header-logo img {
	width: 272px;
	height: auto;
	display: block;
}

.header-nav {
	width: 970px;
}

/* ===== NAV ===== */
.header-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
}

.header-nav__list li {
	display: flex;
	align-items: center;
	position: relative;
	padding-bottom: 35px;
	margin-top: 12px;
}

.head-nav-btn {
	display: block;
	margin: 0 29px;
	font-size: .15rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #111;
	text-decoration: none;
	transition: color 0.2s;
	line-height: 1.6;
	white-space: nowrap;
	position: relative;
}

.head-nav-btn:hover {}

.has-dropdown {
	position: relative;
}

.head-nav-btn::before {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -3px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #003078;
	transition: all .5s;
}

.header-nav__list>li:hover .head-nav-btn::before {
	width: 100%;
}

.header-nav__list li::before {
	content: "";
	background-color: #000;
	position: absolute;
	height: 24px;
	width: 1px;
	left: 0;
	top: 0%;
}


.header-nav__list li:last-child::after {
	content: "";
	background-color: #000;
	position: absolute;
	height: 24px;
	width: 1px;
	right: 0;
	top: 0;
}

.header-nav__list li a:hover {
	color: #003f92;
	opacity: 1;
}
.header-nav__list li a:hover .menu-crystal-logo{
	opacity: 1;
}
.mega-menu__text {
    font-size: .24rem;
    text-align: center;
    color: #fff;
    border-bottom: solid 1px #FF0000;
    padding-bottom: 11px;
    margin-bottom: 20px;
}

/* ===== MEGA MENU TRIGGER ===== */
.has-dropdown {
	position: static;
}

/* 三角マーク */
.has-dropdown>a {
	position: relative;
}

.has-dropdown>a::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -36px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-bottom: 24px solid #003078;
	opacity: 0;
	transition: opacity 0.2s;
	pointer-events: none;
	z-index: 200;
}

.has-dropdown>a::after {
	transition: opacity 0.2s;
}

.has-dropdown:hover>a::after {
	transition: opacity 0.2s;
}

.has-dropdown:hover>a {
	color: #003f92;
}

.has-dropdown:hover>a::after {
	opacity: 1;
}

/* ===== MEGA MENU ===== */
.mega-menu {
    position: fixed;
    left: 0;
    top: 100px;
    width: 100%;
    max-height: 100vh;
    background: #003078;
    z-index: 99;
    padding: 38px 0 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
    pointer-events: none;
}

.is-small .mega-menu {
	top: 73px;
}

.has-dropdown:hover .mega-menu {
	/* display: block; を削除 */
	visibility: visible;
	opacity: 1;
	transition: opacity 0.5s ease, visibility 0s 0s;
	pointer-events: auto;
}

.mega-menu__inner {
	width: 98%;
	margin: 0 auto;
	padding: 0 38px;
}

.mega-menu__list {
	display: flex;
	align-items: flex-end;
	list-style: none;
	justify-content: space-between;
	width: 1200px;
	margin: 0 auto;
}

.mega-menu__list li {
    width: calc((100% - 32px * 3) / 4);
    display: block;
    padding-bottom: 0;
    margin-bottom: 16px;
}

.nav-domestic-btn .mega-menu__list--second li {
	width: calc((100% - 40px * 2) / 3);
}

.nav-domestic-btn .mega-menu__list--second li {
    width: calc((100% - 32px * 2) / 3);
}

.nav-company-btn .mega-menu__list {
	width: 1200px;
}

.nav-overseas-btn .mega-menu__list,
.nav-recruit-btn .mega-menu__list {
	width: 680px;
}
.nav-overseas-btn .mega-menu__list li,
.nav-recruit-btn .mega-menu__list li{
    width: calc((100% - 126px) / 2);
}

.nav-company-btn .mega-menu__list li {
	width: calc((100% - 32px * 3) / 4);
}

.mega-menu__list--first{

}
.mega-menu__list--second {
	width: 890px;
}

.mega-menu__list li::before,
.mega-menu__list li::after {
	display: none !important;
}

.mega-menu__list a {
	display: block;
	color: #fff !important;
	text-decoration: none;
	text-align: center;
	padding: 0;
	transition: opacity 0.18s;
}

.mega-menu__list a:hover {
	opacity: 0.75;
	color: #fff !important;
}

.mega-menu__list .menu-crystal-logo {
    display: block;
    width: 203px;
    margin: 0px auto 5px;
    transform: translateX(-6px);
}

.mega-menu__list img {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    border-radius: 2px;
}

.mega-menu__list span {
	font-size: .18rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.7;
	color: #fff;
	display: block;
	line-height: 1.4;
	margin-bottom: 14px;
}

.close-icon {
	display:none;
  position: relative;
    width: 54px;
    height: 54px;
  cursor: pointer;
  padding: 20px;
  margin: -20px;
  box-sizing: content-box;
    position: absolute;
    right: 52px;
    top: 21px;
}

.close-icon::before,
.close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
    width: 54px;
  height: 1px; /* 線の太さ */
  background-color: #FF0000;
}

.close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}





@media (max-height: 750px) {
	.mega-menu__list {
		width: 77%;
	}

	.mega-menu__list--second {
		width: 57.2%;
	}

	.nav-domestic-btn .mega-menu__text {
		margin-bottom: 20px;
	}

}



#toggle-box {
	position: relative;
	width: 92%;
	height: 100%;
	cursor: pointer;
	margin: 0px auto 0;
	border-radius: 9px;
}


#toggle-box>span {
	width: 100%;
	height: 2px;
	left: 0;
	right: 0;
	margin: auto;
	display: block;
	background: #003F92;
	position: absolute;
	transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle-box>span:nth-child(1) {
	top: 0px;
}

#toggle-box>span:nth-child(2) {
	top: 50%;
	transform: translatey(-50%);
}

#toggle-box>span:nth-child(3) {
	bottom: 0px;
}

#toggle {
	position: fixed;
	right: 20px;
	top: 29px;
	width: 50px;
	margin: 0 auto 0px;
	height: 17px;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}


#nav-content {
	z-index: 900;
	overflow: auto;
	width: 100%;
	height: 100%;
	background: #000;
	color: #fff;
	position: fixed;
	top: 0;
	right: 0;
	text-align: center;
	transform: translateX(100%);
	transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	background-size: cover;
	background-repeat: no-repeat;
}

#nav-content ul {
	list-style: none;
}

#nav-content a {
	display: block;
	color: #fff;
	text-decoration: none;
	transition: opacity .6s ease;
	font-weight: bold;
}

.js-accordion-move {
	padding: 16px 0;
}

#nav-content a:hover {
	opacity: 0.6;
}

.is-open {
	overflow: hidden;
}

.is-open #toggle-box {
	z-index: 1000;
}

.is-open #toggle-box>span {
	background: #fff;
	/* width: 100%; */
	z-index: 3000;
}

.is-open #toggle-box>span:nth-child(1) {
	top: 50%;
	transform: rotate(30deg) translatey(-50%);
	width: 100%;
}

.is-open #toggle-box>span:nth-child(3) {
	width: 0;
}

.is-open #toggle-box>span:nth-child(2) {
	top: 50%;
	transform: rotate(-30deg) translatey(-50%);
	width: 100%;
}

#nav-content {
	padding: 20px;
	z-index: 900;
	overflow: auto;
	width: 100%;
	height: 100%;
	color: #fff;
	position: fixed;
	top: 0;
	right: 0;
	text-align: center;
	transform: translateX(100%);
	transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	background-color: #003078;
}

.is-open #nav-content {
	z-index: 999;
	transform: translateX(0);
}

.is-open #nav-content {
	z-index: 999;
	transform: translateX(0);
}

.sp-nav-li {
	border-bottom: solid 1px #FF0000;
}

.sp-nav-li:first-of-type {
	border-top: solid 1px #FF0000;
}

.sp-nav-a {
	padding: 15px 30px;
	font-weight: 400;
}

.sp-nav-a__child {
	padding: 10px 30px;
	font-weight: 400;
}

#nav-content nav {
	padding: 43px 30px 30px;
	width: 100%;
	margin: 0 auto;
	text-align: left;
}

.effect-accordion-menu {
	margin: 70px auto 0px;
	max-width: 300px;
	width: 100%;
}

.effect-accordion-menu__title {
	padding: 15px 30px;
	cursor: pointer;
	position: relative;
	color: #fff;
	font-weight: bold;
}

.effect-accordion-menu__title:before {
	position: absolute;
	content: '';
	top: 50%;
	right: 25px;
	height: 2px;
	width: 18px;
	background: #FF0000;
	transform: rotate(90deg);
	transition: all .3s ease-in-out;
}

.effect-accordion-menu__title:after {
	position: absolute;
	content: '';
	top: 50%;
	right: 25px;
	height: 2px;
	width: 18px;
	background: #FF0000;
	transition: all .3s ease-in-out;
}

.effect-accordion-menu__title.open:before {
	transform: rotate(180deg);
}

.effect-accordion-menu__title.open:after {
	opacity: 0;
}


.effect-accordion-menu__contents {
	display: none;
	margin-bottom: 22px;
}


.sp-nav-img {
	width: 210px;
	display: block;
}

.sp-nav-a__crystal {
    display: block;
    width: 190px;
    margin: 0 0 6px;
}

#toggle {
	display: none;
}

@media screen and (max-width:1290px) {
	.header-nav {
		display: none;
	}

	#toggle {
		display: block;
	}


	.site-header {
		padding: 20px 0 10px !important;
	}

	.header-inner {
		padding: 0 20px;
	}

	.header-logo img {
		width: 210px;
		height: auto;
		display: block;
	}

}