@charset "utf-8";
@import "reset.css";

* {
	margin: 0;
	padding: 0;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

html,body {
  height: 100%;
}
body {
	font-size: 15px;
	/*
	font-family: 'Lato','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	*/
	font-family: "SF Pro Text","SF Pro Icons",Segoe UI, SegoeUI, Avenir , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴシック", "Hiragino Sans", "ヒラギノ角ゴ ProN W3" , "Hiragino Kaku Gothic ProN" , "メイリオ" , "Meiryo", "Osaka", "ＭＳ Ｐゴシック" ,　 "MS P Gothic" , sans-serif;
	/*background: #eee;*/
	/*background: rgb(2, 104, 163);*/
	background: white;
  	width: 100%;
}


#container {
	background: rgb(246, 246, 246);
	/*background: rgb(255, 255, 255);*/
    margin-left: 260px;
    min-height: 100vh;
    position: relative;
    padding-bottom: 50px;
    box-sizing: border-box;

	-moz-transition: margin-left .25s linear;
	-webkit-transition: margin-left .25s linear;
	transition: margin-left .25s linear;
}
#main {
	background: rgb(255, 255, 255);
	padding-top: 70px;
	padding-left: 5px;
	padding-right: 5px;
	margin: 0 auto 0 auto;
	width: 1024px;
	overflow: hidden;
	display: block;	/* IE対応（mainタグに対応していないため） */

    min-height: 100vh;
    position: relative;/*←相対位置*/    
}
#main p {
	margin-bottom: 1em;
	line-height: 1.9;
}
#main .inner {
	padding: 60px;
}

/*==========================================
  FlexBoxを利用したページのスタイル（サイドバー無し）
===========================================*/
h1.page_title {
	font-size: 150%;
	color: #4682b4;
	margin: 20px 5px 40px 5px;
	padding: 10px 10px 5px 30px;
	border-bottom: 1px solid #aab2b8;
}
#main_flex {
	display: flex;
	flex-wrap: wrap;
	margin-left: 0px;
}
#main_flex section.category {
	width: calc(33.3% - 10px);
	margin: 5px;
}
#main_flex section.category h1 {
	font-size: 110%;
	text-align: center;
	margin: 5px 0;
	padding: 5px;
	color: white;
	background-color: #63a0e6;
	border-radius: 5px 5px 5px 5px;
}
#main_flex section.category ul {
	list-style: none;
	margin-bottom: 30px;
}
#main_flex section.category li {
	padding: 5px 10px;
}

/* main-visual */
#main-visual {
	background: rgb(4, 164, 204);
	
	background: -webkit-linear-gradient(-45deg, rgb(4, 164, 204), rgb(252, 240, 133));
	background: -moz-linear-gradient(-45deg, rgb(4, 164, 204), rgb(252, 240, 133));
	background: -ms-linear-gradient(-45deg, rgb(4, 164, 204), rgb(252, 240, 133));
	background: -o-linear-gradient(-45deg, rgb(4, 164, 204), rgb(252, 240, 133));
	background: linear-gradient(-45deg, rgb(4, 164, 204), rgb(252, 240, 133));

	border-radius: 5px 5px 0px 0px;
	height: 50px;
	display: flex;

	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
#main-visual h1 {
	font-size: 140%;
	color: rgb(255, 255, 255);
	text-shadow: 2px 2px 4px rgb(122, 122, 122);
}

/*==========================================
  表示ページのガイドナビゲーションスタイル
===========================================*/
#main-guide {
	background: rgba(168, 168, 168, 0.670);
	background: -webkit-linear-gradient(-45deg, rgb(51, 51, 51, 0.670), rgba(168, 168, 168, 0.670));
	background: -moz-linear-gradient(-45deg, rgb(51, 51, 51, 0.670), rgb(168, 168, 168, 0.670));
	background: -ms-linear-gradient(-45deg, rgb(51, 51, 51, 0.670), rgb(168, 168, 168, 0.670));
	background: -o-linear-gradient(-45deg, rgb(51, 51, 51, 0.670), rgb(168, 168, 168, 0.670));
	background: linear-gradient(-45deg, rgb(51, 51, 51, 0.670), rgb(168, 168, 168, 0.670));

	height: 30px;
	display: flex;
	margin-bottom: 10px;
	align-items: center;
	border-radius: 3px;	/* BOXの角を丸める */
}
#main-guide h1 {
	margin-left: 30px;
	font-size: 95%;
	color: rgb(255, 255, 255);
	text-shadow: 1px 1px 2px rgb(66, 66, 66);
}
#main-guide h2 {
	margin-left: 30px;
	margin-bottom: 10px;
	font-size: 95%;
	color: rgb(255, 255, 255);
	text-shadow: 1px 1px 2px rgb(66, 66, 66);
	letter-spacing: 0px;
	background: rgba(168, 168, 168, 0.0);
	text-align: center;
}
#main-guide a {
	font-size: 95%;
	color: rgb(255, 255, 255);
	text-shadow: 1px 1px 2px rgb(66, 66, 66);
	text-decoration: none;
}
#main-guide a:hover {
	color: rgb(255, 174, 0);
  cursor: pointer;
}

#main-flexslider {
	height: 450px;
	display: flex;
	margin-bottom: 30px;
	background-color: #4682b4;
	border-radius: 0px 0px 5px 5px;

	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

/*==========================================
  サイドバーとメインコンテンツのスタイル
===========================================*/
/* サイドバー */
#main_sidebar {
	width: 25%;
	float: right;
	margin-left: 2px;
}
#main_sidebar h1, h2 {
	font-size: 100%;
	font-weight: bold;
	color: rgb(255, 255, 255);
/*
	text-shadow: 
	1px 1px 1px rgba(51, 51, 51, 0.6), 
			-1px -1px 1px rgba(254, 255, 215, 0.5);
*/			
	background-color: rgb(194, 192, 192);
	border-bottom-style: none;
	margin: 10px 10px 5px 10px;
	padding: 5px 0px;
	letter-spacing: 3px;
	text-align: center;
	border-radius: 5px;	/* BOXの角を丸める */
}
#main_sidebar ul {
	list-style: none;
}
#main_sidebar li {
	margin: 0px 0px 12px 10px;
}
#main_sidebar li a {
	display: block;
	padding: 4px 0px 5px 18px;
	color: #555;
	width: 95%;
	margin: 1px 0px;
	text-decoration: none;
	border-bottom: 1px dotted #666666;
	border-left: 8px solid #e2e2e2;
	font-size: 93%;
}
#main_sidebar li a:hover {
	cursor: pointer;
	border-left: 8px solid #fd9205;
}
	/* メインコンテンツ */
#main_contents{
	width: 73%;
	padding: 10px 10px 5px 20px;
    float: left;
    min-height: 100vh;
    position: relative;/*←相対位置*/    
}
/* Note */
#main_contents aside h2 {
    padding: 5px 10px;
    letter-spacing: 10px;
    border-radius: 5px 3px 0px 0px;	/* BOXの角を丸める */

    position:relative;
    width:100px;
    margin:0;
    color:#fff;
    background:#f5bd04;
    overflow:hidden;
}
#main_contents aside h2:before {
    content:"";
    position:absolute;
    top:0;
    right:0;
    border-width:0 12px 12px 0; /* This trick side-steps a webkit bug */
    border-style:solid;
    border-color:#fff #fff #c99b06 #c99b06; /* A bit more verbose to work with .rounded too */
    background:#c99b06; /* For Opera when also applying a border-radius */
    display:block; width:0; /* Only for Firefox 3.0 damage limitation */
/* Optional: shadow */
    -webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    -moz-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
}
#main_contents aside.note {
    background-color: rgb(255, 255, 255);
}
#main_contents aside.note p {
	color: rgb(2, 2, 179);
    font-weight: bold;
    background-color: #ebf6fc;
	padding: 10px 10px 10px 10px;
	border: 1px solid #dbdbdb;
    border-radius: 0px 5px 5px 5px;	/* BOXの角を丸める */
}
#main_contents aside.note a {
    text-decoration: none;
	color:blue;
}
#main_contents aside.note a:hover {
    color: #ff9100;
}
#main_contents article h1 {
	color: #ffffff;
	font-size: 108%;
/*	
	color: #f00094;
	text-shadow: 
		1px 1px 1px rgba(51, 51, 51, 0.6), 
		-2px -2px 1px rgba(255, 255, 255, 0.5);
	border-bottom: 3px dotted #01b8f0;
*/		
	padding: 5px 10px 5px 10px;
	background-color: rgb(6, 155, 241);
	border-radius: 5px;	/* BOXの角を丸める */

}
.article_title {
	display: flex;
	color: #ffffff;
	font-size: 108%;
	font-weight: bold;
	padding: 5px 10px 5px 10px;
	background-color: rgb(6, 155, 241);
	border-radius: 5px;	/* BOXの角を丸める */

}


h3 {
	font-size: 131%;
	margin-bottom: .7em;
}
#copyright a {
	color: #666;
	text-decoration: none;
}
#copyright a:hover {
	text-decoration: underline;
}

/* ヘッダーのスタイル */
#global-head {
	font-size: 230%;
	font-style: italic;
	position: absolute;
	top: 0px;
	color: #ffffff;
	width: 100%;
	height: 60px;
	padding: 10px 50px;
	background: rgb(2, 104, 163);
	display: -webkit-flex;
	/*display: flex;*/
	z-index: 5;
	margin: 0px 0px 0px 0px;
	/*transform: translate3d(0, 0, 0);*/
}
#global-head a {
	color: #ffffff;
}
#global-head a hover{
	color: #ffffff;
}

#brand-logo {
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
	color: white;
}

/* フッターのスタイル */
#footer {
	clear: both;
	font-size: 100%;
	color: #ffffff;
	width: 100%;
	height: 50px;
	padding: 10px 30px;
    background: rgb(2, 104, 163);
    
    position: absolute;
    bottom: 0;
}

/* ヘッダー、フッターのナビリストを横並びにする */
#s_nav {
	font-size: 90%;
	margin: 10px 0;
}
#s_nav ul {
	border: 0px;
}
#s_nav li {
	display: inline-block;
	list-style-type: none;
	/*width: 160px;*/
	height: 10px;
	border: 0px;
}
#s_nav li a:hover {
	color: #fd9205;
}
#s_nav li.copy_right {
	width: auto;
	margin: 0 100px 0 0;
}
#s_nav li.contact a, li.news a, li.about_us a, li.sitemap a {
	text-decoration: none;
	color: #ffffff;
	margin-left: 10px;
	padding-left:  0px;
}
#s_nav li.contact a, li.news a, li.about_us a, li.sitemap a {
	text-decoration: none;
	color: #ffffff;
	margin-left: 10px;
	padding-left:  0px;
}
/*
#s_nav li.contact a {
	background-image:url(../img/icn_contact.jpg);
	background-repeat: no-repeat;
	background-position: left 9px;
}
#s_nav li.news a {
	background-image:url(../img/icn_news.jpg);
	background-repeat: no-repeat;
	background-position: left 9px;
}
#s_nav li.about_us a {
	background-image:url(../img/icn_contact.jpg);	
	background-repeat: no-repeat;
	background-position: left 9px;
}
#s_nav li.sitemap a {
	background-image:url(../img/icn_sitemap.jpg);	
	background-repeat: no-repeat;
	background-position: left 9px;
}
*/

/*==========================================
広告のスタイル(サイドバー)
===========================================*/
.ads_side {
	text-align: center;
}

/*==========================================
 広告のスタイル
===========================================*/
#ads_2col {
	width: 750px;;
	float: left;
	margin: auto;
	overflow: hidden;
	background-color: white;
}
/* 広告（左側） */
#ads2col_left{
	width: 50%;
	margin: auto;
	padding: 20px;
	text-align: center;
	float: left;
	background-color: rgb(255, 255, 255);
}
/* 広告（右側） */
#ads2col_right{
	width: 50%;
	margin: auto;
	padding: 20px;
	text-align: center;
	float: right;
	background-color: rgb(255, 255, 255);
}
mark, ins {
	background: transparent;
	text-decoration: none;
}

/*==========================================
 通常２BOXのスタイル
===========================================*/
#def_2col {
	width: 100%;
	float: left;
	margin: auto;
	overflow: hidden;
	background-color: white;
}
/* BOX（左側） */
#def2col_left{
	width: 50%;
	margin: auto;
	padding: 20px;
	text-align: center;
	float: left;
}
/* BOX（右側） */
#def2col_right{
	width: 50%;
	margin: auto;
	padding: 20px;
	text-align: center;
	float: right;
}
#def_2col li {
	width: 100%;
	height: 50px;
	text-align: left;
	list-style: none;
	line-height: 50px;
	margin: 5px 0px;
}
#def_2col a {
	padding-left: 20px;
	text-decoration: none;
	text-align: center;
	display: block;
	background-color: #63a0e6;
	color: #fff;
	text-shadow: 
		1px 1px 1px rgba(51, 51, 51, 0.6), 
        -1px -1px 1px rgba(254, 255, 215, 0.5);
	border-radius: 5px;	/* BOXの角を丸める */
	border-bottom: 4px #d1d3d4 solid; /* BOXの影 */
}
#def_2col a:hover {
	border-bottom: 0px #d1d3d4 solid; /* BOXの影 */
	background-color: #c5d5e7;
	color: #fff;
}


/*==========================================
 ページトップへボタンのスタイル
===========================================*/
/*
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 77%;
  z-index: 2;
}
#page-top a {
  background: url("../img/page_top.gif");
  width: 50px;
  height: 70px;
  display: block;
  border-radius: 5px;
}
#page-top a:hover {
  background: url("../img/page_top_hover.gif");
  width: 50px;
  height: 70px;
  display: block;
  border-radius: 5px;
  text-decoration: none;
}
*/
#page-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1000;
}
#page-top i {
    display: block;
    padding-top: 8px;
}
#page-top a {
    display: block;
    z-index: 999;
    padding: 8px 0 -8px 0px;
    border-radius: 30px;
    width: 45px;
    height: 45px;
    background-color: #56a4cc;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-size: 28px;
}
#page-top a:hover {
    text-decoration: none;
    opacity: 0.7;
}

/*==========================================
 記事のページ制御スタイル
===========================================*/
.page_feed {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin-bottom: 20px;
}
.page_feed-prev {
	text-align: left;
	color: #56a4cc;
	font-size: 200%;
}
.page_feed-menu {
	color: #3a6f8a;
	font-size: 130%;
}
.page_feed-next {
	text-align: right;
	color: #20aaf0;
	font-size: 200%;
}
.page_feed a {
	color: #5c7b92;
}

/*==========================================
 FixedSliderのスタイル
===========================================*/
.flexslider{
	width: 567px;
	height: 350px;
	/*
	max-width: 567px;
	max-height: 350px;
*/	
}
.flexslider .slides li img{
	width: 560px;
	height: 344px;
}
.flex-caption {
	width: 100%;
	bottom: -13px;
	position: absolute;
  padding: 15px 0px 10px 10px;
  margin-bottom: 0px 0px 0px 0px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
	font-size: 95%;
}

/*==========================================
 サムネイル（イメージギャラリー）
===========================================*/
.thumbnail-EN{
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 40px;
}
.thumbnail-imgSize-EN {
    width: 96px;
    height: 64px;
    margin: 10px 0 40px 10px;
}



/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
  Media Queries による切り替え
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/* タブレット以下向けのスタイル：481px ～ 1284px(1024px + 260px) */
@media screen and (max-width: 1284px) {

	#global-head {
		font-size: 200%;
		padding-top: 15px;
		/*width: calc(100% + (1284px - 100%));*/
		width: 100%;
		left: 0px;
	}

	#container {
		margin-left: 0;
		width: 100%;
	}
	#main-visual {
		margin: 0px;
	}
	#footer {
		/*
		position: absolute;
		bottom: 0;
		*/
		font-size: 100%;
		/*width: calc(100% + (1284px - 100%));*/
		width: 100%;
	}
	
/*

	#nav-toggle span {
		background: #033560;
	}
	.close #nav-toggle span {
		background: #fff;
	}
*/
}

/* タブレット以下向けのスタイル：481px ～ 1284px(1024px + 260px) */
@media screen and (max-width: 1024px) {

	#global-head {
		width: calc(100% + (1024px - 100%));
		/*width: 100%;*/
	}

	#footer {
		width: calc(100% + (1024px - 100%));
		/*width: 100%;*/
	}
	
}


/* スマートフォン向けのスタイル：0px ～ 480px */
@media screen and (max-width: 480px) {
	#footer {
		width: 100%;
	}
	body {
		font-size: 15px;
	}	
	#main {
		margin: 0 auto 0 auto;
		width: auto;
		padding-left: 0px;
		padding-right: 0px;
	 }
	 #main-guide {
		display: none;
	 }
	 #main_sidebar {
		width: 100%;
		height: 100%;
	}
	#main_contents{
		width: 100%;
		padding: 10px 10px 5px 10px;
	}
	#main-visual {
		margin: 0px 5px 0px 5px;
	}
	#main-flexslider {
		height: 310px;
		margin: 0px 5px 30px 5px;
	}
	#main_flex {
		margin: 0px;
		font-size: 90%;
	}
	#main_flex section.category {
		width: calc(50% - 10px);
		margin: 5px;
		font-size: 90%;
	}

	#global-head {
		position: fixed;
	}
	/* フッター */
	#s_nav li.copy_right {
		width: auto;
		margin: 0 20px 0 -20px;
	}
	

	/*==========================================
	広告のスタイル(サイドバー)
	===========================================*/
	.ads_side {
		display: none;
	}

	/*==========================================
	広告のスタイル(メインコンテンツ)
	===========================================*/
	#ads_2col {
		width: auto;
		float: left;
	}
	/* 広告（左側） */
	#ads2col_left{
		width: 100%;
		float: none;
	}
	/* 広告（右側） */
	#ads2col_right{
		width: 100%;
		float: none;
		display: none;
	}

	/*==========================================
	通常２BOXのスタイル
	===========================================*/
	#def_2col {
		width: auto;
		float: none;
	}
		/* BOX（左側） */
	#def2col_left{
		width: 100%;
		float: none;
	}
	/* BOX（右側） */
	#def2col_right{
		width: 100%;
		float: none;
		margin: -45px 0px 0px 0px;
	}
	
	#global-head {
		font-size: 200%;
		padding: 15px 20px;
		text-align: center;
	}
	
	.flexslider{
    width: 90%;
    height: 207px;
  }
  .flexslider .slides li img{
    width: 100%;
    height: 200px;
  }
	.flex-caption {
		bottom: -12px;
	}
	
}