/*
Copyright Â© 2013 Adobe Systems Incorporated.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.megamenu{
	position:relative;

/*---- add -----*/
	background:#004430;
	background:#128197;
	background:#006d4d;
	border:solid #fff;
	border-width:1px 0;
	width:auto;
}

.accessible-megamenu{
	position:relative;
	display:block;
	box-sizing:border-box;
	list-style:none;
	margin:0;
	padding:0;
	height:3.077em;
	color:#454545;
	background-color:#dfe2e2;
	border-color:#b3b3b3;
	border-color:rgba(0, 0, 0, 0.3);
	border-style:solid;
	border-width:0 1px 1px;
	border-bottom-left-radius:3px;
	border-bottom-right-radius:3px;
	z-index:2;

/*---- add -----*/
	background:transparent;
	margin:0 auto;
	width:1000px;
	height:50px;
	border:0;
}

.accessible-megamenu h2,
.accessible-megamenu h3,
.accessible-megamenu h4{
	font-size:1em;
/*	display:inline;*/
	margin:0;
	padding:0;
	line-height:inherit;
	border-bottom:0;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item{
/*	position:relative;*/
	display:block;
	box-sizing:border-box;
	list-style:none;
	margin:0;
	padding:0;
	height:3.077em;
	float:left;
	color:#454545 !important;
	text-shadow:0 1px 0 #fff;
	-moz-text-shadow:0 1px 0 #fff;
	border-right:1px solid #b3b3b3;
	border-right-color:rgba(0, 0, 0, 0.3);

/*---- add -----*/
	text-shadow:none;
	-moz-text-shadow:0;
	text-align:center;
	width:33.3333%;
	height:auto;
	border:0;
}

.accessible-megamenu :focus{
	outline: 2px solid rgba(34, 95, 215, 0.3);
	-moz-outline-radius:3px;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]{
	background:url(../img/arrow_megapull.png) no-repeat center bottom;
	position:relative;
	display:block;
	line-height:3em;
	height:3em;
	padding-left:0.769em;
	padding-right:0.769em;
	color:#454545 !important;
	text-decoration:none;
	box-shadow:inset 1px 1px 0 #fff;
	z-index:inherit;

/*---- add -----*/
	color:#fff !important;
	line-height:50px;
	height:50px;
	box-shadow:none;
	padding:2px 0 0;
	font-size:120%;
}


.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:hover,
.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:focus,
.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded].open{
	margin-left:0;
	z-index:1002;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:hover,
.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:focus{
	background-color:#489eaf;
	background-color:#40927A;
	outline-offset:-2px;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded].open{
	background-color:#f5f8fa;
	background-image:url(../img/arrow_megapull_open.png);
	color:#333 !important;
/*	box-shadow:0 -2px 5px rgba(0,0,0,0.2);
	padding-bottom:2px;*/
}

/*
.accessible-megamenu > .accessible-megamenu-top-nav-item:first-child a[aria-expanded]{
	border-bottom-left-radius:3px;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item:first-child a[aria-expanded].open{
	border-bottom-left-radius:0px;
	border-left:1px solid #b3b3b3;
	border-left-color:rgba(0,0,0,0.3);
	left:-1px;
	margin-right:-1px;
}
*/

.accessible-megamenu .accessible-megamenu-panel{
	width:100%;
	position:absolute;
	display:block;
	left:0;
	color:#454545;
	margin:0;
	padding:0 20px 20px;
	line-height:normal;
	background-color:#f5f8fa;
/*	background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f8fa),to(#e3e5e5));
	background-image:-moz-linear-gradient(top,#f5f8fa,#e3e5e5);
	background-image:-ms-linear-gradient(top,#f5f8fa,#e3e5e5);
	background-image:-o-linear-gradient(top,#f5f8fa,#e3e5e5);
*/	cursor:default;
	-webkit-box-shadow:0 4px 6px -2px rgba(0,0,0,.5), inset 1px 1px 0 #fff;
	 -moz-box-shadow:0 4px 6px -2px -moz-rgba(0,0,0,.5), inset 1px 1px 0 #fff;
			box-shadow:0 4px 6px -2px rgba(0,0,0,.5), inset 1px 1px 0 #fff;

	visibility:hidden;
	top:-9999em;
	max-height:0px;
	overflow:hidden;
	opacity:0;
	-webkit-transition:opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
	 -moz-transition:opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
		-ms-transition:opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
		 -o-transition:opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
			transition:opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;

/*	border:1px solid #b3b3b3;
	border-color:rgba(0,0,0,0.3);
	border-top-right-radius:3px;
	border-bottom-right-radius:3px;
	border-bottom-left-radius:3px;
*/

/*---- add -----*/
	text-align:left;
}

.accessible-megamenu .accessible-megamenu-panel.open{
	visibility:visible;
	top:49px;
	max-height:600px;
	opacity:1;
	z-index:1001;
	-webkit-transition:opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
	 -moz-transition:opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
		-ms-transition:opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
		 -o-transition:opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
			transition:opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
}

.accessible-megamenu .accessible-megamenu-panel a{
	padding:15px 15px 15px 50px;
	text-decoration:none;
	border-radius:2px;
	position:relative;
	display:block;
	color:#333;
	width:auto;
}
.accessible-megamenu .accessible-megamenu-panel a :before{
	vertical-align:middle;
	display:inline-block;
	top:calc(50% - 12px);
	margin:-5px 5px 0 0;
	position:absolute;
	text-align:center;
	line-height:32px;
	font-size:32px;
	color:#006d4d;
	height:32px;
	width:32px;
	left:10px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li{	width:25%;}
.accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li{	width:33.33333%;}
.accessible-megamenu .accessible-megamenu-panel.cols-2 > ol > li{	width:50%;}
.accessible-megamenu .accessible-megamenu-panel.cols-1 > ol > li{	width:auto;}
.accessible-megamenu .accessible-megamenu-panel ol{
	display:block;
	list-style:none;
	padding:0;
	margin:0;
}

.accessible-megamenu .accessible-megamenu-panel ol > li{
	position:relative;
	list-style:none;
	padding:0;
	margin:0;
}

.accessible-megamenu .accessible-megamenu-panel > ol > li{
	float:left;
	display:block;
	padding:20px;
}

.accessible-megamenu .accessible-megamenu-panel > ol > li:first-of-type{
/*	padding-left:0;
	border-left:none;
	box-shadow:none;*/
}

.accessible-megamenu .accessible-megamenu-panel > p{
	color:#454545;
	font-size:1.2em;
	line-height:1.1em;
}

.accessible-megamenu .accessible-megamenu-panel > ol > li > h3{
	font-weight:bold;
	color:#454545;
	font-size:1.2em;
	margin-bottom:6px;
	padding-top:.4em;
	padding-bottom:0;

/*---- add -----*/
	border-bottom:3px solid #006d4d;
	font-weight:normal;
	color:#006d4d;
	padding:0 0 5px;
	margin:0 0 15px;
}

.accessible-megamenu .accessible-megamenu-panel ol ol > li > a{
}

.accessible-megamenu .accessible-megamenu-panel a:hover,
.accessible-megamenu .accessible-megamenu-panel a:focus{
/*	text-decoration:underline;
	color:#225FD7;*/
	background:#CFE6EB;
}

.accessible-megamenu .accessible-megamenu-panel > h2 > a{
	font-weight:bold;
	color:#454545;
	font-size:1.5em;
	margin-bottom:0;
	margin-top:.8em;
	padding-bottom:0;
	line-height:1.4em;
}

.accessible-megamenu .accessible-megamenu-panel > h2 > a:hover,
.accessible-megamenu .accessible-megamenu-panel > h2 > a:focus,
.accessible-megamenu .accessible-megamenu-panel > ol > li > h3 > a:hover,
.accessible-megamenu .accessible-megamenu-panel > ol > li > h3 > a:focus{
	color:#333;
}

.accessible-megamenu .accessible-megamenu-panel hr{
	border-width:1px 0px;
	border-style:solid;
	border-top-color:rgba(0,0,0, 0.3);
	border-bottom-color:#fff;
}

/* hides redundant header links in panel when megamenu is not initialized */
.accessible-megamenu:not(.js-accessible-megamenu) .accessible-megamenu-panel > h2{
	display:none;
}

.accessible-megamenu-toggle{
	position:absolute;
	background:none;
	display:none;
	height:33px;
	width:33px;
	padding:0;
	z-index:1;
	top:-55px;
	border:0;
	left:7px;
}

.accessible-megamenu-toggle > span:not(.sr-only){
	display:block;
	width:33px;
	height:4px;
	margin-bottom:5px;
	position:relative;
	background:#006d4d;
	z-index:1;
	transform-origin:0 0;
	transition:transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
			background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
			margin 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
			opacity 0.55s ease;
}

.accessible-megamenu-toggle > span{
	margin-top:5px;
}

.accessible-megamenu-toggle > span:nth-last-child(1){
	transform-origin:0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */

.accessible-megamenu-toggle[aria-expanded=true] > span{
	margin-top:0;
	opacity:1;
	transform:rotate(45deg) translate(4px, -3px);
	background:#006d4d;
	border-radius:0;
}

/*
 * But, hide the middle one.
 */

.accessible-megamenu-toggle[aria-expanded=true] > span:nth-last-child(2){
	opacity:0;
	transform:rotate(0deg) scale(0.2, 0.2);
}

/*
 * the last one should go the other direction.
 */

.accessible-megamenu-toggle[aria-expanded=true] > span:nth-last-child(1){
	transform:rotate(-45deg) translate(0px, 7px);
}



/*****************
 * ã¿ãã¬ããç¨ *
 ****************/
/*
@media (max-width:920px){

	.accessible-megamenu > .accessible-megamenu-top-nav-item{
		position:static;
	}

	.accessible-megamenu .accessible-megamenu-panel.cols-4,
	.accessible-megamenu .accessible-megamenu-panel.cols-3,
	.accessible-megamenu .accessible-megamenu-panel.cols-2,
	.accessible-megamenu .accessible-megamenu-panel.cols-1{
		width:auto;
		left:0;
		right:0;
	}

	.accessible-megamenu .accessible-megamenu-panel.open{
		max-height:inherit
	}

	.accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li,
	.accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li,
	.accessible-megamenu .accessible-megamenu-panel.cols-2 > ol > li{
		width:44%;
	}

	.accessible-megamenu .accessible-megamenu-panel.cols-1 > ol > li{
		width:100%;
	}

	.accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li{
		min-height:256px;
	}

	.accessible-megamenu .accessible-megamenu-panel > ol > li{
		float:left;
		display:block;
		margin-right:1em;
		margin-bottom:1em;
	}

	.accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li:nth-of-type(3),
	.accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li:nth-of-type(3),
	.accessible-megamenu .accessible-megamenu-panel.cols-2 > ol > li:nth-of-type(3) {
		padding:0;
		border-left:none;
		box-shadow:none;
	}
}
*/



/**********************
 * ããããã¢ãã¤ã«ç¨ *
 **********************/
/*
@media (max-width:462px){
}
*/

@media screen and (max-width:768px){

	.accessible-megamenu-toggle{
		display:block;
		z-index:3;
	}

	.sr-only{
		width: 1px;
		height: 1px;
		margin: 0 -1px -1px 0;
		overflow: hidden;
		border: 0;
		padding: 0;
		position: absolute;
	}

	.accessible-megamenu-toggle ~ .accessible-megamenu > .accessible-megamenu-top-nav-item{
		height:0;
		overflow:hidden;
		visibility:collapse;
	}

	.accessible-megamenu-toggle[aria-expanded=true] ~ .accessible-megamenu > .accessible-megamenu-top-nav-item{
		height:auto;
		overflow:visible;
		visibility:visible;
	}

	.accessible-megamenu{
		height:auto;
		width:auto;
/*		padding-top:3.077em;*/
		z-index:2;
	}

	.accessible-megamenu p{
		display:none;
	}

	.accessible-megamenu > .accessible-megamenu-top-nav-item{
		border:solid #fff;
		border-width:1px 0;
		text-align:left;
		border-right:0;
		float:none;
		width:100%;
		height:auto;
	}

	.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]{
		background:url(../img/arrow_megapull_sp.png) no-repeat right center;
		box-shadow:none;
		padding-left:15px;
		padding-right:15px;
	}
	.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:hover,
	.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:focus{
	}
	.accessible-megamenu .accessible-megamenu-panel a:hover,
	.accessible-megamenu .accessible-megamenu-panel a:focus{
		background-color:#01432f;
	}
	.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded].open{
		background-color:#028961;
		background-image:url(../img/arrow_megapull_sp_open.png);
		color:#fff !important;
	}

	.accessible-megamenu .accessible-megamenu-panel,
	.accessible-megamenu .accessible-megamenu-panel.open{
		position:relative;
		top:0;
		border:0;
		box-shadow:none;
		padding-bottom:0;

		background-color:#00573d;
		color:#fff;
	}

	.accessible-megamenu .accessible-megamenu-panel.open{
		padding-bottom:0.769em;
		max-height:350px;
		overflow:auto;
	}
	.accessible-megamenu .accessible-megamenu-panel > ol > li > h3{
		color:#7ae7c7;
	}
	.accessible-megamenu .accessible-megamenu-panel a,
	.accessible-megamenu .accessible-megamenu-panel.open a{
		color:#fff;
	}

	.accessible-megamenu .accessible-megamenu-panel a :before{
		color:#47d7ac;
	}

	.accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li,
	.accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li,
	.accessible-megamenu .accessible-megamenu-panel.cols-2 > ol > li,
	.accessible-megamenu .accessible-megamenu-panel.cols-1 > ol > li{
		width:100%;
		padding-right:0;
	}

	.accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li,
	.accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li,
	.accessible-megamenu .accessible-megamenu-panel.cols-2 > ol > li{
		padding-left:0;
		border-left:none;
		box-shadow:none;
	}
}
