@charset "utf-8";

@import url(base.css);


/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #111;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	
	font-size: 16px;
	line-height: 2;	
	background: #fff;
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}
video,audio {max-width: 100%;}

.br-sm{display:none;}

.att {
padding-left: 1em;
text-indent: -1em;
}


/*リンク
---------------------------------------------------------------------------*/
a {
	color: #000;		
	transition: 0.5s;
}
a:hover {
	color: #ff8000;		
	text-decoration: none;	
}

a:hover img {
	opacity: 0.8;
}

/*inner共通
---------------------------------------------------------------------------*/
.inner {
	max-width: 1300px;
	margin: 0 auto;
}

/*ヘッダー
---------------------------------------------------------------------------*/
header {
	background: #fff;
	height: 100px;	
	color: #333;	
}

header #logo {
	width: 600px;		
	float: left;	
	margin-top: 10px;
	margin-left: 1%;
}



/*メインメニューのブロック
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	clear: both;
	height: 75px;		
	text-align: center;	
	background: #000e78;
	border-bottom: 1px solid #fff;
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;
	width: 20%;	
}
#menubar li a {
	text-decoration: none;display: block;
	line-height: 1.6;	
	color: #fff;	
	height: 60px;		
	padding-top: 15px;
	border-right: 1px solid #fff;
	border-right: 1px solid rgba(255,255,255,0.5);	
}

#menubar li:first-child a {
	border-left: 1px solid #fff;	
	border-left: 1px solid rgba(255,255,255,0.5);	
}

#menubar li span {
	display: block;
	font-size: 9px;		
	font-weight: normal;
	letter-spacing: 0.2em;	
	opacity: 0.5;	
}
/*マウスオン時と、現在表示中(current)のメニューの設定*/
#menubar li a:hover, #menubar li.current a {
	background: #192aa8;
}
/*スマホ用メニューを表示させない*/
#menubar-s {display: none;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}



/*fixmenu設定
---------------------------------------------------------------------------*/
/*上部固定メニュー用fixmenu設定*/
body.is-fixed-menu .nav-fix-pos {
	width: 100%;z-index: 100;position: fixed;top: 0;left: 0;
}
body.is-fixed-menu header {
	margin-bottom: 75px;	
}

body.is-fixed .nav-fix-pos {
	width: 100%;z-index: 100;position: fixed;top: 0;left: 0;
}
body.is-fixed header {
	margin-bottom: 75px;
}

/*contents
---------------------------------------------------------------------------*/
#contents {
	clear: both;overflow: hidden;
	padding-top: 40px;	
	padding-bottom: 40px;
}

/*contents-in
---------------------------------------------------------------------------*/
#contents-in {
	float: left;	
	width: 100%;	
}


/*mainコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: right;	
	width: 100%;	
}

#main h2 {
	clear: both;
	margin-bottom: 20px;
	padding: 10px 20px;
	font-size: 18px;
	color: #fff;	
	background: #000e78;
}

#main h2::first-letter {
	border-left: 3px solid #fff;
	padding-left: 15px;			
}

#main h3 {
	clear: both;
	margin-bottom: 20px;
	padding: 4px 20px;
	font-size: 16px;
	border: 1px solid #ccc;	
	background: #f5f5f5;
}

#main h3::first-letter {
	border-left: 3px solid #000e78;	
	padding-left: 15px;			
}

#main p {
	padding: 0px 20px 20px;	
}

#main p + p {
	margin-top: -5px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section + section {
	margin-top: 30px;
}

#main h4{
    position: relative;
    margin: 0 0 0.8em;
    padding: 0.2em 0.8em;
    background: #ccc;
    color: #222;
    font-size: 1.143em;
    font-weight: bold;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
 
#main h4:after{
    position: absolute;
    bottom: -15px;
    left: 10%;
    z-index: 90;
    margin-left: -15px;
    border-top: 15px solid #ccc;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 0;
    content: "";
}




/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	background: #fff;	
	color: #000;	
}


#footerbox {
	overflow: hidden;
	padding: 20px 0;	
	font-size: 15px;
	border-top: 1px solid #ccc;
}

footer h4 {
	font-size: 20px;
	color: #000e78;
	font-weight: bold;

}


/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #000e78;
	color: #fff;

}
#copyright a {text-decoration: none;}



/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*アニメーションのキーフレーム設定（変更不要）*/
@keyframes scroll {
0% {opacity: 0;}
100% {opacity: 1;}
}
/*デフォルトでは非表示に*/
body .nav-fix-pos-pagetop a {display: none;}
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 100;position: fixed;
	width: 50px;	
	line-height: 50px;
	bottom: 50px;	
	right: 3%;		
	background: #000e78;
	background: rgba(0,14,120,0.8);	
	color: #fff;	
	border: 1px solid #fff;	
	animation-name: scroll;	
	animation-duration: 1S;	
	animation-fill-mode: forwards;
	    border-radius: 10px;
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #999;
}


/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 20px 20px 45px;
}
ol {
	padding: 0 20px 20px 47px;
}




/*画面幅1301px以上の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width:1301px){

/*inner共通
---------------------------------------------------------------------------*/
.inner {
	width: 1301px;	
}

/*メインメニューとドロップダウンメニューの設定変更。

---------------------------------------------------------------------------*/
#menubar li, #menubar ul.ddmenu {
	width: 260px;
}

}



/*画面幅1300px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1300px){

#contents {
	margin: 0 1%;
}

}



/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){

/*fixmenu設定（メニューが画面上部に到達した際のスタイル）
---------------------------------------------------------------------------*/
/*fixmenuから折りたたみメニューになるのでリセット。*/
body.is-fixed-menu header,body.is-fixed header {margin-bottom: 0px;}

/*メインメニュー
---------------------------------------------------------------------------*/
@keyframes menu1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

#menubar-s {
	display: block;overflow: hidden;z-index: 10;
	position: absolute;
	top: 100px;
	width: 100%;
	animation-name: menu1;	
	animation-duration: 0.5S;
	animation-fill-mode: both;
}

#menubar-s li a {
	display: block;text-decoration: none;
	padding: 2px 10px 2px 20px;
	border-bottom: 1px solid #fff;	
	background: #000e78;
	font-size: 20px;	
	color: #fff;	
}

#menubar-s li a span {
	display: block;
	font-size: 12px;
}

#menubar {display: none;}



/*３本バーアイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: block;position: absolute;
	top: 24px;
	right: 3%;
	border: 1px solid #fff;	
}

#menubar_hdr.close,
#menubar_hdr.open {
	width: 50px;	
	height: 50px;		
	border-radius: 5%;
}

#menubar_hdr.close {
	background: #000e78 url(../images/icon_menu.png) no-repeat center top/50px;
}

#menubar_hdr.open {
	background: #000e78 url(../images/icon_menu.png) no-repeat center bottom/50px;
}

/*contents
---------------------------------------------------------------------------*/
#contents {
	padding: 0px 2% 20px;	
}

/*main,contents-in
---------------------------------------------------------------------------*/
#main, #contents-in {
	float: none;
	width: auto;
	overflow: hidden;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n #sub,body.s-n #side {display: none;}
.sh {display:block;}
.pc {display:none;}

}

/*画面幅850px以下の設定
-------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

#footerbox {
	text-align: center;
}


}


/*画面幅600px以下の設定
-----------------------------------------------------------------------------*/
@media screen and (max-width:600px){

header {
	text-align: center;
}

header #logo {
	float: left;
	padding-top: 15px;
	width: 78%;
}

.br-sm{display:inline;}

}



/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 15px;
}




/*contents
---------------------------------------------------------------------------*/
#contents {
	line-height: 1.5;
}

#footerbox {
	overflow: hidden;
	padding: 10px 0;	
	font-size: 14px;
	border-top: 1px solid #ccc;
	line-height: 1.5;
}

footer h4 {
	font-size:16px;
	color: #000e78;
	font-weight: nomal;

}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {

        line-height: 1.5;
}


/*mainコンテンツ
---------------------------------------------------------------------------*/
#main h2, #main h3 {
	font-size: 14px;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 10px;
}

#main p {
	padding: 0px 10px 10px;
}



/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 20px 20px 30px;
}
ol {
	padding: 0 20px 20px 30px;
}


}
