@charset "utf-8";

/************************************************
 本文へ移動（スキップメニュー）
************************************************/

p.skipmenu {
	position: absolute;
	right: 0;
	top: -10em;
}

#header .search .subBtn:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
	opacity: 0.75;
}

    #gnavi .new_attention {
		background-image: url(../images/common/new_attention.png);
        background-position: 4px 4px;
		background-repeat: no-repeat;
    }
    .sp_nav a.new_attention {
		background-image: url(../images/common/new_attention.png);
        background-position: 2px 2px;
		background-repeat: no-repeat;
    }
ul li::before {
    background:none;
}

/* 768px以下の記述
------------------*/
@media screen and (max-width:767px){

	#gnavi {
		display: none;

		-webkit-transition: all 500ms;
		-moz-transition: all 500ms;
		transition: all 500ms;
	}
    #nav {
        position: relative;
    }
    .sp_nav {
        padding-top: 7px;
        background: #006dd9;
        overflow-x: scroll;
    }
    .sp_nav.fixed {
        position: fixed;
        top: 0;
        z-index:10001;
        width: 100%;
    }
    .sp_nav a {
        color: #333;
        display: inline-block;
        background: #dde9f5;
        padding:0.5em 1em;
        border-radius: 4px 4px 0 0;
        font-size: 81.3%;
        font-weight: bold;
		width:6em;
		height:2em;
		line-height: 2em;
		vertical-align:middle;
		text-align:center;
    }
    .sp_nav a:hover,
    .sp_nav a:active {
        text-decoration: none;
    }
    .sp_nav a.current {
        background: #f9f4e2;
    }
    .sp_nav ul {
        font-size: 0;
		max-width:1372px;
		/*1272pxが正確な数値ですが、100ピクセル余裕を持たせてあります。*/
    }
    .sp_nav li {
        font-size: 15px;
        display: inline;
        margin-left: 4px;
    }

	.nav_open #gnavi {
		display: block;
		position: fixed;
		right: 0;
		top: 0;
		z-index: 10000;
		width: 280px;
		height: 100%;

		color: #fff;
		background: #050c8a;
		overflow: auto;
	}

	.nav_open #gnavi {
		-webkit-transition: all 500ms;
		-moz-transition: all 500ms;
		transition: all 500ms;
	}
    .header_option1, .header_option2 {
        display:none;
    }

	.container {
		-webkit-transition: all 500ms;
		-moz-transition: all 500ms;
		transition: all 500ms;

		-webkit-transform: translate( 0, 0 );
		-moz-transform: translate( 0, 0 );
		transform: translate( 0, 0 );
	}

	.nav_open .container {
		-webkit-transform: translate( -280px, 0 );
		-moz-transform: translate( -280px, 0 );
		transform: translate( -280px, 0 );
	}

	.nav_open .disable_container {
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		display: block;
		background: rgba( 0, 0, 0, 0.4 );
		box-shadow: -4px 0 4px rgba( 0, 0, 0, 0.2 ) inset;
		cursor: pointer;
		z-index: 9999;
	}

	#header {
		width: 100%;
		overflow: hidden;
		padding: 0;
		z-index: 900;
		background: #fff;
		height: 100px;
	}
	#header .header_block {
		text-align: center;
		border-bottom: 1px solid #d3d3e8;
		padding: 15px;
		position: relative;
	}
	#header .header_block .logo {
		max-width: 170px;
		padding: 5px 0 0 0;
	}
	#header .header_block .logo img {
		width: 100%;
	}

    
#header .header_block {
    text-align: center;
    border-bottom: none;
    padding: 0;
    position: relative;
}
#header .header_block .header_main {
    padding: 10px;
}
#header .header_block .header_sub {
    position: relative;
    background: #006dd9;
    height: 48px;
    width: 100%;
    margin-top: 3px;
}
#header .header_block .header_sub .search {
    position: relative;
}
#header .header_block .header_sub .search #q {
    font-size: 12px;
    padding: 8px;
    width: 70%;
    position: absolute;
    top: 6px;
    left: 10px;
}
#header .header_block .header_sub .search .subBtn {
    position: absolute;
    top: 10px;
    right: 10px;
}


    
    #btn_gnavi {
		position: absolute;
		right: 15px;
		top: 25px;
		display: block;
		width: 31px;
		height: 32px;
        background:url(../images/common/btn_menu_sp.png) no-repeat;
		margin-top: -10px;
		outline: none;
		-webkit-appearance: button;
		-moz-appearance: button;
		appearance: button;
        border:none;
	}
	.btn_header_sp {
		position: absolute;
		right: 0;
		top: 25px;
		display: block;
		width: 140px;
		height: 32px;
		margin-top: -10px;
	}
	.btn_header_sp img.margin {
        margin-right: 2px;
	}
	#btn_gnavi:before,
	#btn_gnavi:after {
		content: "";
		position: absolute;
		left: 0;
		display: block;
		width: 100%;
		height: 4px;
	}
	#btn_gnavi:before {
		top: 0px;
	}
	#btn_gnavi:after {
		bottom: 0px;
	}

	.nav_open #btn_gnavi {
		background-image: url(../images/common/icon_close.png);
		background-repeat: no-repeat;
		background-size: 20px;
		border: none;
		margin-right: -5px;
	}
	.nav_open #btn_gnavi:before,
	.nav_open #btn_gnavi:after {
		border: none;
		background: none;
	}

/* #gnavi
----------------------------------------------------------------------------------------------*/
	#gnavi a {
		position: relative;
		display: block;
		padding: 15px 45px;
		color: #fff;
		text-decoration: none;
	}
	#gnavi ul li a {
		border-bottom: 1px solid #d3d3e8;
		font-size: 14px;
	}
	#gnavi a:after {
		content: ""; 
		position: absolute;
		top: 50%;
		display: block;
		background-repeat: no-repeat;
		background-size: 100% auto;
	}
	#gnavi ul li a:after {
		left: 15px;
		width: 14px;
		height: 12px;
		margin-top: -6px;
		background-image: url( "../images/common/gnavi_ico_arrow.png" );
	}
	#gnavi ul li a.sub:after {
		width: 15px;
		height: 15px;
		margin-top: -8px;
		background-image: url( "../images/common/gnavi_ico_onoff.png" );
		background-position: center bottom;
	}
	#gnavi ul li.open a.sub:after {
		background-position: center top;
	}
	#gnavi ul li ul {
		background: #767cf2;
		overflow: hidden;
	}
	#gnavi ul li ul a {
		border-bottom: 1px dotted #d3d3e8;
		font-size: 12px;
	}
	#gnavi ul li ul a:after {
		right: 15px;
		width: 14px;
		height: 12px;
		margin-top: -6px;
		background-image: url( "../images/common/gnavi_ico_arrow.png" );
	}

	#gnavi #btn_gnavi_close {
		box-sizing: border-box;
		display: block;
		width: 100%;
		padding: 15px;
		border: none;
		margin-top: 10px;
	
		color: #fff;
		font-size: 14px;
		text-align: center;
		letter-spacing: 0.1em;
	
		background: none;
		outline: none;
	}
	#gnavi #btn_gnavi_close:before {
		content: "";
		display: inline-block;
		width: 11px;
		height: 11px;
		margin-right: 10px;
		background-image: url( "../images/common/gnavi_ico_close.png" );
		background-size: contain;
	}

	#header .header_option {
		display: none;
	}

/* #header .sns
------------------*/
	#header .sns {
		position: absolute;
		top: 8px;
		right: 8px;
	}
	#header .sns .label {
		display: none;
	}
	#header .sns ul li {
		float: left;
		margin-right: 8px;
	}
	#header .sns ul li.twitter img {
		width: 32px;
	}
	#header .sns ul li.facebook img {
		width: 32px;
	}
}


/* 768px以上の記述
------------------*/
@media screen and (min-width:768px){

	#header {
        background:#fff;
        height:85px;
	}
    .english {
    }
    .sp_nav {
        display: none;
    }
    #nav {
        background-color:#050c8a;
    }
    #gnavi {
        position:absolute;
        top: 0;
        background-color:#050c8a;
    }
    #nav.fixed {
        position: fixed;
        top: 0;
        left: auto;
        z-index:10001;
        width: 100%;
    }
	#header .wrap {
		position: relative;
		width: 960px;
	}
	#header .header_block {
		position: relative;
		height: 76px;
		width: 960px;
		padding: 0;
	}
	#header .english {
	}

	#header .header_option {
		position: absolute;
		display: block;
		top: 0;
		right: 0;
		width: 320px;
		height: 87px;
	}

	#header .logo {
		position: abolute;
		top: 0;
		left: 0;
		padding-top: 22px;
		height: 67px;
		width: 280px;
	}
	#header .logo img {
		width: 280px;
		height: auto;
	}

#header .rss {
    float: left;
    margin-right:25px;
    margin-top:10px;
}
#header .sns {
    margin-top:43px;
    float: left;
    margin-right: 10px;
}
#header .sns .twitter img {
    width: 33px;
    height: 27px;
}
#header .sns .facebook img {
    width: 27px;
    height: 27px;
}
#header .info_textsizer {
    margin-top:10px;
    float: left;
}
#header .english_support {
    margin-top:10px;
    float: right;
}
#header .sns li {
    display:inline;
    margin-right:7px;
}
#textsizer {
    float:left;
    display: inline-block;
    padding-top:10px;
    margin-right:10px;
}
#header .header_information {
    display: block;
    color:#fff;
    background:url(../images/common/i_arrow_10-7.png) left center no-repeat;
    padding-left:17px;
    margin-left: 28px;
}
#textsizer li {
    float:left;
}
#textsizer li.label {
    margin-right:3px;
}

#header .support {
    padding-top: 9px;
}

/* #header .search
------------------*/
	#header .search {
		position: absolute;
		top: 28px;
		left: 296px;
		width: 314px;
		height: 44px;
		background: #1170d6;
        border-radius:4px;
	}
	#header .search .label {
		position: absolute;
		top: 8px;
		left: 10px;
	}
	#header .search .label img {
		width: 73px;
	}
	#header .search #q {
		width: 220px;
		margin: 6px 0 0 6px;
		padding: 2px 2px 2px 24px;
		height: 25px;
		border: 1px solid #cccccc;
		background-image: url(../images/common/img_search.png);
		background-repeat: no-repeat;
		background-size: 18px;
		background-position: 5px;
	}
	#header .search .subBtn {
		height: 32px;
		position: absolute;
		top: 6px;
		right: 6px;
	}


/* #gnavi
----------------------------------------------------------------------------------------------*/
	#btn_gnavi {
		display: none;
	}
	.btn_header_sp {
		display: none;
	}
	#btn_gnavi_close {
		display: none;
	}

	#gnavi {
		position: relative;
		width: 960px;
		height: 55px;
		margin: 0;
		z-index: 10;
	}
	#gnavi ul {
		border: none;
	}
	#gnavi ul li {
		border: none;
		font-size: 85%;
    }
	#gnavi .main_nav {
        height:46px;
	}
	#gnavi .main_nav li .sub {
	}
	#gnavi .main_nav a {
        color: #fff;
        background:url(../images/common/i_h_arrow_right.png) 10px center no-repeat;
	}
	#gnavi li a.sub {
		display: block;
 		width: auto;
		height: 44px;
		position: relative;
        background:url(../images/common/i_h_arrow_bottom.png) 10px center no-repeat;
	}
	#gnavi li a.nosub {
		display: block;
 		width: auto;
		height: 44px;
	}
	#gnavi li a.sub:hover {
		opacity: 1;
        color:#fff;
        text-decoration:none;
        background:url(../images/common/i_h_arrow_bottom.png) 10px center no-repeat;
	}
	#gnavi li a.sub span {
		display: block;
		width: auto;
        padding:10px 0 10px 27px;
        height:26px;
	}
	#gnavi li a.nosub span {
		display: block;
		width: auto;
        padding:10px 0 10px 27px;
        height:26px;
	}
	#gnavi li a.sub:hover span {
	}
	#gnavi li a.sub.active span {
		background: #006dd9;
        color:#fff;
	}

	#gnavi li a.sub:after {
		background-repeat: no-repeat;
		background-position: center center;
		background-size: auto 16px;
	}
	#gnavi li a.sub:before {
		content: "";
		position: absolute;
		display: block;
		width: auto;
		height: 45px;
		background-image: url(../images/common/i_h_arrow_bottom.png);
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 7px;
		z-index: 1;
	}
	#gnavi li a.sub:hover:before {
		background-image: url(../images/common/i_h_arrow_bottom.png);
	}

	#gnavi li a.sub:after {
		content: "";
		position: absolute;
		top: 2px;
		left: 0;
		display: block;
		width: auto;
		height: 42px;
		z-index: 2;
		background-size: auto 15px;
	}
	#gnavi li.nav_all {
		position: absolute;
		top: 0;
		left: 0px;
		width: 60px;
	}
	#gnavi li.n00 {
		position: absolute;
		top: 0;
		left: 60px;
		width: 60px;
	}
	#gnavi li.n01 {
		position: absolute;
		top: 0;
		left: 125px;
		width: 96px;
	}
	#gnavi li.n02 {
		position: absolute;
		top: 0;
		left: 221px;
		width: 85px;
	}
	#gnavi li.n03 {
		position: absolute;
		top: 0;
		left: 306px;
		width: 70px;
	}
	#gnavi li.n04 {
		position: absolute;
		top: 0;
		left: 380px;
		width: 85px;
	}
	#gnavi li.n05 {
		position: absolute;
		top: 0;
		left: 465px;
		width: 96px;
	}
	#gnavi li.n06 {
		position: absolute;
		top: 0;
		left: 564px;
		width: 80px;
	}
	#gnavi li.n07 {
		position: absolute;
		top: 0;
		left: 644px;
		width: 96px;
	}
	#gnavi li.n08 {
		position: absolute;
		top: 0;
		left: 740px;
		width: 70px;
	}
	#gnavi li.n09 {
		position: absolute;
		top: 0;
		left: 815px;
		width: 65px;
	}
	#gnavi li.n10 {
		position: absolute;
		top: 0;
		left: 880px;
		width: 70px;
	}
	#gnavi li.n10 ul {
		width: 120px;
		margin-left:-50px;
	}


	#gnavi ul li ul li {
		visibility: hidden;
		overflow: hidden;
		height: 0;
		z-index: 100;
		font-size: 88%;
	}

	#gnavi ul li:hover ul li {
		display: block;
		visibility: visible;
		overflow: visible;
		height: auto;
		z-index: 100;
	}

	#gnavi ul li ul li {
        background: #006dd9;
	}
	#gnavi ul li ul li a {
		padding: 10px 5px;
		height: auto;
		display: block;
		padding-left: 32px;
		border: 1px solid #b4daff;
		border-top: none;
		text-align: left;
		text-decoration: none;
        background:url(../images/common/i_arrow_10-7_white.png) 10px center no-repeat #006dd9;
		position: relative;
	}
	#gnavi ul li ul li:first-child a {
		border-top: 1px solid #b4daff;
	}

	#gnavi ul li ul li a:before {
		content: "";
		position: absolute;
		top: 2px;
		left: 5px;
		display: block;
		width: auto;
		height: 39px;
		background-image: url(../images/common/i_arrow_10-7_white.png);
		background-repeat: no-repeat;
		background-position: 10px center;
		background-size: 6px;
		z-index: 1;
	}

	#gnavi ul li ul li.here a,
	#gnavi ul li ul li a:hover {
		color: #333;
		opacity: 1;
        background:url(../images/common/i_arrow_10-7.png) 10px center no-repeat #fff;
	}
	#gnavi ul li ul li.here a:before,
	#gnavi ul li ul li a:hover:before {
		background-image: url(../images/common/i_arrow_10-7.png);
	}
	#gnavi .sub_nav {
        margin:0;
        background-color:#fff;
        padding:5px 0 5px 10px;
        border-bottom:1px solid #a9c9ec;
        border-left:1px solid #a9c9ec;
        border-right:1px solid #a9c9ec;
    }
	#gnavi .sub_nav .border {
        border-left:2px solid #a9c9ec;
        padding-left:15px;
        margin-left: 0;
    }
	#gnavi .sub_nav li {
        display:inline-block;
    }
	#gnavi .sub_nav li a {
		background: url(../images/common/ico_arrow07.png) no-repeat left center;
        color:#000;
        padding: 0 7px 0 10px;
        font-size:13px;
    }
}
