/* 
- 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 */

body {
	font-family: 'Source Sans Pro', sans-serif;
}

* {
	box-sizing: border-box;
}

a {
	color: #343e7c;

}

.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 */

.head2-container {
	width: 100%;
	margin: 0 auto;
	background: #fff;
}

.head2{
	float: left;
	font-size: 14px;
}

.head2-mobile {
	display: none;
	padding: 20px;
}

.head2-mobile:after {
	content: "\f394";
	font-family: "Ionicons";
	font-size: 2.5rem;
	padding: 0;
	float: right;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-25%);
	-ms-transform: translateY(-25%);
	transform: translateY(-25%);
}

.head2-dropdown-icon:before {
	content: "\f489";
	font-family: "Ionicons";
	display: none;
	cursor: pointer;
	float: right;
	padding: 1.5em 2em;
	background: #fff;
	color: #343e7c;
}

.head2 > ul {
	margin: 0 auto;
	width: 100%;
	list-style: none;
	padding: 0;
	position: relative;
/* IF .head2 position=relative -> ul = container width, ELSE ul = 100% width */
	box-sizing: border-box;
}

.head2 > ul:before,
.head2 > ul:after {
	content: "";
	display: table;
}

.head2 > ul:after {
	clear: both;
}

.head2 > ul > li {
	float: left;
	background: #fff;
	padding: 0;
	margin: 0;
}


.head2 > ul > li a {
	text-decoration: none;
	padding: 0.5em 2.4em;
	display: block;
	position: relative;
	line-height: 12px;
    color: #343e7c;
}

.head2 > ul > li a:after {
	content: '';
	width: 0;
	left: 50%;
	transition: all 0.3s ease;
	border-bottom: 1px solid #343e7c;
	display: block;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	position: absolute;
}

.head2 > ul > li a:hover:after {
	width:100%;
}

.head2 > ul > li:hover > ul {
    display: block;
}


/*全体のサイズ*/
.daikate {
    width: 100px;
    height: 20px;
    overflow: hidden;
    position: relative;
    text-align: center;
}
 
/*マウスオーバーするマスク*/
.daikate .mask{
    width: 100px;
    height: 20px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
 
/*見出し*/
.daikate p {
    color: #fff;
    position: relative;
    font-size: 14px;
    text-align: center
}
 

/*黒にする*/
.daikate-view .mask {
    opacity: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}
 
/*マウスオーバーしたとき　不透明度を下げる*/
.daikate-view:hover .mask {
    opacity: 0.8;
}









.head2 > ul > li > ul {
	display: none;
	width: 195%;
	background-color: rgba(255,255,255,0.95);
	padding: 20px;
	position: absolute;
	z-index: 99;
	left: 0;
	margin: 0;
	list-style: none;
	box-sizing: border-box;
}

.head2 > ul > li > ul:before,
.head2 > ul > li > ul:after {
	content: "";
	display: table;
}

.head2 > ul > li > ul:after {
	clear: both;
}

.head2 > ul > li > ul > li {
	margin: 0;
	padding-bottom: 0;
	list-style: none;
	width: 16%;
	background: none;
	float: left;
}

.head2 > ul > li > ul > li a {
	color: #343e7c;
	padding: .2em 0 0;
	width: 75%;
    display: block;
    border-bottom: 1px solid #c8c8dc;
}


.head2 > ul > li > ul > li > ul {
	display: block;
	padding: 0;
	margin: 10px 0 0;
	list-style: none;
	box-sizing: border-box;
}

.head2 > ul > li > ul > li > ul:before,
.head2 > ul > li > ul > li > ul:after {
	content: "";
	display: table;
}

.head2 > ul > li > ul > li > ul:after {
	clear: both;
}

.head2 > ul > li > ul > li > ul > li {
	float: left;
	width: 100%;
	padding: 2px 0;
	margin: 0;
	font-size: .8em;
}

.head2 > ul > li > ul > li > ul > li a {
	border: 0;
}

.head2 > ul > li > ul.normal-sub {
	width: 300px;
	left: auto;
	padding: 10px 20px;
}

.head2 > ul > li > ul.normal-sub > li {
	width: 100%;
}

.head2 > ul > li > ul.normal-sub > li a {
	border: 0;
	padding: 1em 0;
}




