/*
- Name: megamenu.js - style.css
- Version: 1.0
- Latest update: 29.01.2016.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Body - not related to megamenu
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.description {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
megamenu.js STYLE STARTS HERE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-container {
    width: 100%;
    margin: 0 0 0;
}

.menu-container * {
    box-sizing: border-box;
}

.menu-container a {
    color: #333;
}

.menu-mobile {
    display: none;
}

.menu-mobile:after {
    /* font-family: "Font Awesome 5 Free";
    content: "\f0c9";
    font-weight: 900;
    color: #333;
    padding: 0;
    font-size: 4rem;
    line-height: .9;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100000;
    -webkit-transition: all 1s;
         -o-transition: all 1s;
            transition: all 1s; */
}

.menu-dropdown-icon:before {
    /* content: "\f489";
    font-family: "Ionicons";
    display: none;
    cursor: pointer;
    float: right;
    position: absolute;
    top: 0;
    right: 0;
    padding: 14px 25px 12px;
    background: #162c85;
    color: #fff;
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.5; */
}

.menu > ul {
  display: flex;
	justify-content: space-between;
  width: 900px;
  margin: 0 auto;
	padding: 0;
  /* overflow: hidden; */
  list-style: none;
	position: absolute;
  top: 50%;
  left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-43%, -50%);
	-ms-transform: translate(-50%, -50%);
	z-index: 9;
}

.menu > ul > li {
  margin: 0;
  list-style: none;
	position: relative;
  text-align: center;
}

.menu > ul > li::after {
	content: "";
	width: 9px;
	height: 11px;
	position: absolute;
	top: 50%;
	right: -27px;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	background-image: url(../../img/menu-point.png);
	background-repeat: no-repeat;
	z-index: 9;
}

.menu > ul > li:nth-child(3) {
	margin-right: 125px;
}

.menu > ul > li:nth-child(3)::after {
	content: none;
}

.menu > ul > li:nth-child(4) {
	margin-left: 125px;
}

.menu > ul > li:last-child:after {
	content: none;
}

.menu > ul > li a {
  display: block;
	box-sizing: border-box;
	color: #fff;
	transition: all .3s;
	font-family: "Zen Maru Gothic", serif;
}

.menu > ul > li a:hover,
.menu > ul > li.current a {
	color: #b2b3b9;
}



/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 1024px) {
  .header_logo_area {
    /* position: fixed; */
    z-index: 1000000;
    /* top: 0; */
    /* left: 0; */
		background-color: #1b3858;
    width: 100%;
		height: 120px;
    padding: 0;
  }

	.header_logo_area::after {
		content: none;
	}

  .mobile_header {
    position: relative;
  }
  .menu-container {
    width: 100%;
  }
  .menu-mobile {
    display: block;
  }
  .menu-dropdown-icon:before {
    display: block;
  }
	.menu {
		/* z-index: 99; */
		position: fixed;
		top: 0;
		left: 150%;
		width:100%;
		transition: all 0.5s;
		z-index: 9999;
		background: #fff;
	}

	.menu.panelactive {/* メニューボタンが押されたら左に出す設定 */
		left: 0%;
		transition: all 0.5s;
	}
  .menu > ul {
		width: unset;
		height: unset;
		display: block;
		padding: 0;
		position: unset;
		transform: unset;
    -webkit-transform: unset;
    -ms-transform: unset;
  }
  .menu > ul > li {
    width: 100%;
    float: none;
    display: block;
    position: relative;
    font-size: 1.8rem;
		padding: 0;
  }

	.menu > ul > li:nth-child(3) {
		margin-right: 0;
	}

	.menu > ul > li:nth-child(4) {
		margin-left: 0;
	}

	.menu > ul > li:nth-child(3)::after,
	.menu > ul > li:last-child:after {
		content: "";
	}

  .menu > ul > li a {
		position: relative;
    padding: 25px 0;
    width: 100%;
    display: block;
    /* text-align: left; */
		color: #333;
		background: #fff;
    border-bottom: 1px dotted #ccc;
  }

	.menu > ul > li.current a,
	.menu > ul > li a:hover {
		color: #fff;
		background: #c0a5d4;
	}

	.menu > ul > li.current a::before,
	.menu > ul > li a:hover::before {
		content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
		background-image: url(../../img/menu-point.png);
    background-repeat: no-repeat;
    z-index: 9;
		background-size: contain;
	}

}


/*==================================
グローバルメニューのボタンの設定
==================================*/

.overlay {
	content: "";
	display: block;
	width: 0;
	height: 0;
	background-color: rgba(0,0,0,.7);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 150;
	opacity: 0;
	transition: opacity .5s;
	overflow: hidden;
	/* z-index: 999; */
}

.overlay.open {
	width: 100%;
	height: 100%;
	opacity: 0;
}

@media screen and (max-width : 1024px) {
	.openbtn1{
		position: relative;/*ボタン内側の基点となるためrelativeを指定*/
		position: fixed;
		top: 0;
		right: 0;
		background: #1b3858;
		cursor: pointer;
		width: 65px;
		height: 65px;
		z-index: 9999999999;
	}

	/*ボタン内側*/
	.openbtn1 span {
		display: inline-block;
		transition: all .4s;/*アニメーションの設定*/
		position: absolute;
		left: 52%;
		height: 5px;
		border-radius: 2px;
		background: #fff;
		width: 55%;
		transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	}

	.openbtn1 span:nth-of-type(1) {
		top: 31%;
	}

	.openbtn1 span:nth-of-type(2) {
		top: 50%;
	}

	.openbtn1 span:nth-of-type(3) {
		top: 69%;
	}

	/*activeクラスが付与されると線が回転して×に*/
	.openbtn1.active span:nth-of-type(1) {
    top: 38%;
    left: 25%;
    transform: translateY(6px) rotate(-45deg);
    width: 55%;
	}

	/*真ん中の線は透過*/
	.openbtn1.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn1.active span:nth-of-type(3) {
    top: 57%;
    left: 25%;
    transform: translateY(-6px) rotate(45deg);
    width: 55%;
	}

	/*==================================
	メニューを開いたら背景が暗くなる
	==================================*/
	.overlay.open {
		width: 100%;
		height: 100%;
		opacity: 0.5;
		position: fixed;
		z-index: 9;
	}

}

