/**
 * Place your custom styles here.
 */


/*Default*/

a {
	color: #268BC3;
	outline: none;
}

a:hover {
	color: #ff5726;
	outline: none;
	text-decoration: underline;
}

a:active {
	color: #ff5726;
	outline: none;
	text-decoration: underline;
}

a:focus {
	outline:none;
}

img {
	-ms-interpolation-mode: bicubic;
}

h1, .h1, h2, .h2, h3, .h3 {
	margin-top: 20px;
}

html {
	height: 100%;
}

body {
	font-size: 16px;
	font-family:Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
	height: 100%;
	line-height: 1.6em;
}

body.navbar-is-fixed-top {
	margin-top: 64px;
}

.contents-wrapper {
	position: relative;
	min-height: 100%;
}

a.site-logo {
	display: block;
	width: 200px;
	height: 45px;
	margin: 8px 10px;
	background:url(../gankyoku-logo.png) no-repeat center center;
	background-size: contain;
	float: left;
}

.highlighted {
	border-bottom: 1px solid #ccc;
	background: #fff;
	/*margin-bottom: 20px;*/
}

.highlighted #block-di38huiribenaijusuoliaofayanjiuhuinokoannei {
	padding: 20px;
}

.footer {
   	background: #333;
	margin-top: 0;
	position: absolute;
	/*bottom: 0px*/;
	width: 100%;
}


/*footer #block-gk-footer {
	float: left;
	width: 50%;
}

footer #block-shiwuju {
	float: left;
	width: 50%;
}*/

header.navbar {
	background: #fff;
	margin-bottom: 0;
}

.navbar-header a.logo img {
	height: 45px;
}

.navbar-nav > li > a {
	font-size: 14px;
}

.row {
	margin-left: 0;
	margin-right: 0;
}

.main-container {
	background: #fff;
	padding: 20px 0px;
	margin: 0 auto 0;
	/*padding-bottom: 290px;*/
}

.main-container .block {
	background: #fff;
	padding: 20px;
	margin: 20px auto;
	border: 1px solid #eee;
}

.main-container #block-views-block-info-block-1 {
	margin-top: 0;
}

h2.block-title {
	font-size: 16px;
	margin-top: 0;
	/*background: #ff5726;*/
	background: #999;
	color: #fff;
	padding: 6px 10px;
	display: inline-block;
	position: relative;
}

/*h2.block-title:after {
	content: "";
	width: 0;
	height: 0;
	border: 16px solid transparent;
	border-top: 0px solid transparent;
	border-right: 16px solid transparent;
	border-bottom: 16px solid transparent;
	border-left: 16px solid #999;
	position: absolute;
	top: 0px;
	right: -30px;
}*/

article.contextual-region {
	padding: 20px;
}

.region-content {
	background: #fff;
	border: 1px solid #eee;
	padding: 10px;
}

h1,h2,h3,h4 {
	font-weight: bold;
	padding: 10px;
}

h1 {
	font-size: 24px;
}

h1.page-header {
	font-size: 30px;
}

h3 {
	background: #f2f2f2;
}

.block h3 {
	background: none;
	margin-top: 20px;
}

.path-frontpage .main-container ul {
	padding-left: 0;
}

.path-frontpage .main-container ul li {
	list-style: none;
	border-bottom: 1px solid #eee;
	padding: 10px 0;
}

.path-frontpage .main-container ul li:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.views-field-created {
	display: inline-block;
	font-size: 12px;
}

figure.align-left,
img.align-left {
	margin-right: 20px;
	margin-bottom: 10px;
}

figure.align-right,
img.align-right {
	margin-left: 20px;
	margin-bottom: 10px;
}

/*Node*/

table.yakuin tr td:nth-child(1) {
	width: 120px;
	max-width: 120px;
}

table.yakuin tr td:nth-child(2) {
	text-align: left;
}

table.yakuin tr:nth-child(1) td {
	border-top: none;
}

table.kaisoku {
	font-size: 14px;
	margin-bottom: 0;
}

table.kaisoku tr td:nth-child(1) {
	width: 60px;
	max-width: 60px;
}

table.nenkaihi tr th:nth-child(1) {
	width: 120px;
	max-width: 120px;
	text-align: center;
}

table.nyukai tr th:nth-child(1) {
	width: 70px;
	max-width: 70px;
	text-align: center;
}

.captcha {
	margin-bottom: 20px;
}

#edit-submit {
	margin-right: 10px;
}

/*背景*/

.top-bunner-block {
	overflow: hidden;
	position: relative;
}
.top-bunner-block-background {
	position: relative;
	height: 320px;
	margin: -10px 0;
	background-size: cover;
	background-position: center 55%;
	/*-webkit-filter: blur(0px);-ms-filter: blur(2px);filter: blur(2px);*/
	overflow: hidden;
}
.top-bunner-block-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 300px;
	/*background-color:rgba(0,0,0,0.4);*/
}
.top-bunner-block-container-main {
	display: table;
	height: 300px;
	padding: 0 10px;
	width: 800px;
	width: 100%;
	margin: 0 auto;
}
.top-bunner-block-logo {
	display: table-cell;
	vertical-align: middle;
	width: 200px;
	/*height: 120px;*/
	line-height: 0;
	background:url(../gankyoku-logo-a-t.png) no-repeat center center;
	background-size: contain;
	display: none;
}
.top-bunner-block-logo img {
	/*border-radius:20px;box-shadow: 0 1px 1px rgba(0,0,0,0.2);*/
	width: 200px;
}
.top-bunner-block-text {
	display: table-cell;
	vertical-align: middle;
	padding-left: 10px;
}
.top-bunner-block-text {
	font-size: 16px;
	font-size: 32px;
	font-weight: normal;
	font-weight: bold;
	color: #999;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
	line-height:1;
	text-align: center;
}
/*.top-bunner-block-text .br {font-size:16px;}*/
.top-bunner-block-text .br:before {
	content: "\A";
	white-space: pre;
}

/*footer*/

.region-footer {
	padding-right: 15px;
	padding-left: 15px;
	overflow: auto;
}

/*.footer #block-footer-site-logo {
	float: right;
}

.footer #block-jimukyoku {
	float: right;
}*/

.footer a:hover {
	/*color: #fff;*/
}

.footer .block {
	/*float: left;
	width: 50%;*/
	padding: 5px 0px;
	color: #fff;
}

.footer #block-shiwuju {
	float: right;
}

.footer #block-kohiraito {
	clear: both;
}

/*.footer-site-logo {
	width: 300px;
}
.footer-site-logo a {
	display: block;
	width: 300px;
	height: 96px;
	background:url(/themes/gk/jrssci-w-600-logo-o.png) no-repeat center center;
	background-size: contain;
}*/

/*sub-menu*/
div.sub-menu {
	padding: 5px 10px 15px;
	overflow: auto;
	background: #268bc3;
}
.sub-menu ul {
	padding-left: 0;
}
.sub-menu li {
	list-style: none;
	display: block;
	float: left;
	margin: 10px 10px 0 0;
}
.sub-menu li a {
	font-weight: bold;
}

.sub-menu li a.btn-default {
	/*border: 2px solid #ddd;
	border: 2px solid #555;*/
	border: none;
}

.sub-menu .btn-default:active:hover,
.sub-menu li a:hover,
.sub-menu li a:focus,
.sub-menu li a:active {
	color: #ff5726;
	background: #268BC3;
	border: none;
}

/*block-gk-main-menu*/

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #ff5726;
}

/*navbar-toggle*/
.navbar-default .navbar-toggle {
	margin-right: 10px;
	margin-top: 14px;
}

/*GoogleMap*/
.gmap {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
 
.gmap iframe,
.gmap object,
.gmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*Responsive*/
@media (min-width: 0px) and (max-width: 768px) {
	.top-bunner-block-logo {
		width: 100px;
	}
	.top-bunner-block-logo img {
		width: 100px;
	}
	.footer-site-logo {
		width: 200px;
	}
	.footer-site-logo a {
		display: block;
		width: 200px;
		height: 64px;
	}
	.footer {
		position: relative;
	}
	footer.container {
    	width: 100%;
	}
	.footer .block {
		float: left;
		width: 100%;
	}

	.main-container {
		padding-bottom: 0;
	}
	figure.align-left,
	img.align-left {
	float: none;
	margin-bottom: 10px;
	}
	figure.align-right,
	img.align-right {
		float: none;
		margin-bottom: 10px;
	}
	article.contextual-region {
		padding: 10px;
	}
	.sub-menu li a:hover,
	.sub-menu li a:focus,
	.sub-menu li a:active {
		color: #fff;
		background: #ff5726;
		border: none;
	}
	.top-bunner-block-text {
		font-size: 16px;
		font-weight: bold;
		color: #999;
		color: #fff;
		text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
		line-height:1;
		text-align: center;
	}
}


@media (min-width: 769px) {
	footer.container {
    	width: 100%;
	}
	.navbar-nav {
		float: right;
		margin: 0 10px;
	}
	.navbar-nav > li > a {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.btn-default {
		color: #fff;
		background: none;
		border: 1px solid #268bc3;
	}
}

@media (min-width: 992px) {
	.container,
	.region-footer {
	    width: 800px;
	    margin: 0 auto;
	}
}

@media (min-width: 1200px) {
	.container,
	.region-footer {
	    width: 800px;
	    margin: 0 auto;
	}
}

footer td {
	border:none;
}	