@charset "UTF-8";
/* CSS Document */

/*メガメニュー*/
header {
	width: 100%;
	background: rgba(255,255,255,0.95) ;
	box-shadow: 0px 7px 7px 0 rgba(100, 100, 100, 0.1);
	z-index: 999;
	box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    position: fixed; /* ウィンドウを基準に画面に固定 */
    top: 0; /* 上下の固定位置を上から0pxにする */
    right: 0 !important; /* 左右の固定位置を左から0pxにする */
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
}

.mega_menu {
    position: relative;
    width: 100%;
    margin: 0 auto;
	text-align: left;	
	line-height: 1.3em;
}
.mega_menu span {
	font-size: 0.8em;
	color: #9A9A9A;
	letter-spacing: 0.1em;
}

.mega_menu > li {
    float: left;
    width: 10%;
	text-align: center;
}
.mega_menu > li a {
	display: block;
	padding: 15% 0 18%;
}
.mega_menu > li:nth-child(1) {
	width: 25%;
	margin: 1% 0 1% 5%;
}
.mega_menu > li:nth-child(1) a{padding: 2% 0 0;}

.mega_menu > li a:hover {
}

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
	font-size: 90%;
	line-height: 1em;
}

ul.menu__third-level {
    visibility: hidden;
    opacity: 0;
}

ul.menu__fourth-level {
    visibility: hidden;
    opacity: 0;
}

.mega_menu > li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
}
.menu__second-level li a {
	padding: 0 !important;
	display: block;
}

.menu__second-level li:last-child a {border-right: none;}

.menu__third-level li {
    border-top: 1px solid #111;
}

.menu__second-level li a:hover {
	background: none !important;
}

.menu__third-level li a:hover {

}

.menu__fourth-level li a:hover {

}

/* 下矢印
.init-bottom:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
 */
/* floatクリア */
.mega_menu:before,
.mega_menu:after {
    content: " ";
    display: table;
}

.mega_menu:after {
    clear: both;
}

.mega_menu {
    *zoom: 1;
}
li.menu__mega ul.menu__second-level {
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
    padding: 0 3% 1% !important;
    background: rgba(235,235,235,0.9);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
	width: 100%;
}

li.menu__mega:hover ul.menu__second-level {
    top: 100%;
    visibility: visible;
    opacity: 1;
	width: 100%;
}

li.menu__mega ul.menu__second-level > li {
    float: left;
    width: 18%;
    border-left: 1px solid #333;
	padding-left: 1%;
	text-align: left;
	margin: 1% 0;
}

li.menu__mega ul.menu__second-level > li a {display: block;}



/*===============================================
画面の横幅が641px以上769px以下　タブレット
===============================================*/
@media only screen and (min-width:600px) and (max-width:1024px){

.mega_menu {font-size: 0.9em;}
.mega_menu li:nth-child(4) {
	width: 13%;
	margin-top: -0.5%;
}
.mega_menu > li:nth-child(1) {margin: 1% 0 1% 2%;}
	
    
}
