/*
Theme Name: 九州大学 水環境学研究室
Theme URI: Theme URI
Author: Web制作 Eight
Author URI: http://eight-web.com/
Description: Description
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: originale

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*----------------------------------------------------------------------------
******************************************************************************

Style List

* Base
* Wrap
* Header
* Globalnav
* Content
* Footer
* Pager
* Breadcrumb
* Pagetop
* Smartphone
* WP addQuickタグ
* WP 独自クラス

******************************************************************************
----------------------------------------------------------------------------*/

/* ==== Base ==== */

body { background-color: #027FB6; }

/* ==== Wrap ==== */

.wrap {
}
/* ==== Header ==== */

.hd-bg {
	background-color: #FFF;
	border-bottom: 8px solid #009FD1;
	border-top: 2px solid #0F2F41;
}
.hd-con {
	height: 80px;
	margin-left: auto;
	margin-right: auto;
	width: 960px;
}
.hd-con h1 {
	display: inline-block;
	float: left;
	margin-top: 17px;
}
.hd-nav-con{
	background-color: #0F2F40;
	float: right;
	padding: 5px 3px;
	width: 200px;
}
.hd-nav-con a{
	color: #FFF;
	display: block;
	font-size: 12px;
	padding-top: 2px;
	text-align: center;
	text-decoration: none;
	width: 50%;
}
.hd-nav-con a:hover{
	text-decoration: underline;
}
.hd-nav-con a.jp{
	border-right: 1px solid #FFF;
	float: left;
}
.hd-nav-con a.en{
	float: right;
}

/* ==== Globalnav ==== */

.gNav-bg { }
.gNav-con {
	float: left;
	width: 240px;
}
.gNav-con aside {
	background-color: rgba(255, 255, 255, 0.7);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	float: left;
	overflow: hidden;
	margin-bottom: 20px;
	width: 240px;
}
.gNav-con aside ul{
	padding: 20px;
}
.gNav-con aside li{
	margin-bottom: 5px;
}
.gNav-con aside li:nth-last-of-type(1) {
	margin-bottom: 0;
}
.gNav-con aside a{
	background: url(images/gNav-icon2.png) no-repeat 0 3px;
	color: #333;
	display: block;
	padding-left: 20px;
	text-decoration: none;
}
.gNav-con aside a:hover{
	text-decoration: underline;
}
.gNav-con nav {
	background-color: rgba(255, 255, 255, 0.7);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
	margin-bottom: 20px;
}
.gNav-con nav li{
	border-bottom: 1px dotted #333;
}
.gNav-con nav li:nth-last-of-type(1) {
      border-bottom: none;
}
.gNav-con nav a{
	background: url(images/gNav-icon1.png) no-repeat 10px 20px;
	color: #333;
	display: block;
	font-size: 20px;
	height: 60px;
	padding: 18px 10px 0 44px;
	text-decoration: none;
}
.gNav-con nav a:hover,.gNav-con nav a.active{
	background-color: #59C1E1;
	color: #FFF;
}
.gNav-con nav a.font-s{
	font-size: 18px;
}
.gNav-link-ttl{
	background-color: rgba(0, 159, 209, 0.7);
	font-weight: bold;
	padding: 5px 0 3px;
	text-align: center;
}

/* ==== Content ==== */

.con-bg { background-color: #CCECF6;}
.con-con {
	margin-left: auto;
	margin-right: auto;
	padding: 30px 0;
	width: 960px;
}
.sub-con {
	float: left;
	width: 200px;
}
.sNav-con li a {
	display: block;
	padding: 12px 5px 5px 23px;
	text-decoration: none;
	background: url(images/sNav-icon01.jpg) no-repeat left top;
	font-size: 12px;
	color: #333;
}
.main-con {
	float: right;
	width: 690px;
}
.context { 
	background-color: rgba(255, 255, 255, 0.7);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
	padding: 20px;
	width: 100%;
}
/* h */
.main-con h1 {
	background: url(images/h1-bg.png) no-repeat left bottom;
	color: #0F2F41;
	font-size: 50px;
	font-weight: normal;
	height: 105px;
	margin-bottom: 20px;
	padding: 0 0 5px 50px;
	text-shadow:2px 2px 0px #ffffff;
}
.context h2 {
	background: url(images/h2-bg.png) no-repeat left 10px;
	border-bottom: 2px dashed #000000;
	color: #0F2F41;
	font-size: 24px;
	margin: -20px;
	margin-bottom: 20px;
	min-height: 44px;
	padding: 10px 0 5px 40px;
}
.context h3 {
	color: #0F2F41;
	font-size: 20px;
	margin-bottom: 10px;
	margin-top: 20px;
	border-left:#36abcb 0.5em solid;
	padding-left:0.5em;
}
.context h4 {
	margin-bottom: 10px;
	margin-top: 20px;
}
/* ol,ul */
.context ol, .context ul {
	margin-bottom: 20px;
	margin-left: 25px;
	margin-top: 10px;
}
.context ul { list-style-type: disc; }
.context ol li, .context ul li { margin-left: 5px; margin-bottom:1em;}
/* table */
.context table {
	margin-bottom: 20px;
	margin-top: 20px;
}
.context table th, .context table td {
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
}
/* dl */
.context dl {
	margin-bottom: 20px;
	margin-top: 20px;
}
.context dl dt, .context dl dt {
	margin-bottom: 10px;
	margin-top: 10px;
}
/* img */
.context img {
	max-width: 100%;
	height: auto;
}
.context a img:hover {
	opacity: 0.5;
	filter: alpha(Opacity=50);
}
.context hr {
	border: none;
	border-top: 1px dotted rgba(0, 0, 0, 1);
}

/* ==== Footer === */
.ft-bg{
	background: url(images/ft-bg.jpg) repeat-x left top;
}
.ft-con {
	background: url(images/ft-con-bg.jpg) no-repeat right top;
	color: #FFF;
	font-size: 11px;
	margin: 0 auto;
	padding-bottom: 60px;
	padding-top: 10px;
	width: 960px;
}
.ft-con footer{
	background: url(images/ft-con-bg2.png) no-repeat left top;
	padding-left: 30px;
}
.ft-con .copyright { }

/* ==== Pager ==== */
.pager {
	padding: 2em 0;
	text-align:center;
}
a.page-numbers, .pager .current {
	background:rgba(0, 0, 0, 0.02);
	border:solid 1px rgba(0, 0, 0, 0.1);
	border-radius:5px;
	padding: 8px 10px;
	margin:0 2px;
	text-decoration: none;
	color: #000;
	font-size: 0.7em;
}
.pager .current, a.page-numbers:hover {
	background:rgba(0, 0, 0, 1);
	border:solid 1px rgba(0, 0, 0, 1);
	color:rgba(255, 255, 255, 1);
}
/* ==== Breadcrumb === */
.breadcrumb {
	margin-bottom: 1em;
}
.breadcrumb li {
	float: left;
	padding-right: 0.8em;
	color: #999;
	font-size: 0.7em;
}
.breadcrumb a {
	text-decoration: none;
	color: #999;
}
.breadcrumb a:hover {
	color: #333;
}

/* ==== Pagetop === */
.pagetop {
	position: fixed;
	width: 5em;
	height: 5em;
	display: table;
	z-index: 100;
	bottom: 3em;
	right: 3em;
}
.pagetop span {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	background: rgba( 67, 121, 165, 1);/*color*/
	font-size: 0.5em;
	color: #FFF;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	cursor: pointer;
}
.pagetop span:hover {
	background: rgba(67, 121, 165, 0.6);
	-moz-border-radius: 10%;
	-webkit-border-radius: 10%;
	border-radius: 10%;
}

/* ==== Smartphone ==== */

.pc_display{display: block;}
.sp-hd-btn{display: none;}
.sp-hd-con{display: inline-block;}
.sp-home-slide-con{ display: none;}
@media screen and (max-width: 780px) {
	
/* ==== hd ==== */
.hd-con {
height: auto;
margin-left: auto;
margin-right: auto;
width: 100%;
}
.hd-con h1 {
display: table-cell;
float: none;
font-size: inherit;
height: auto;
line-height: normal;
margin-top: 0;
vertical-align: middle;
}
.hd-con h1 img {
height: auto;
width: 300px;
}
.hd-nav-con{
background-color: #0F2F40;
float: none;
padding: 5px 3px;
width: 100%;
}

/* ==== gNav ==== */
.gNav-con{
display: none;
float: none;
padding: 10px;
width: 100%;
}
.gNav-con aside {
display: none;
}
.gNav-con nav {
border: 1px solid #CCC;
background-color: rgba(255, 255, 255, 0.7);
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
float: none;
overflow: hidden;
margin-bottom: 20px;
}
.gNav-con nav li{
border-bottom: 1px dotted #333;
}
.gNav-con nav li:nth-last-of-type(1) {
border-bottom: none;
}
.gNav-con nav a{
background: url(images/gNav-icon1.png) no-repeat 10px center;
color: #333;
display: block;
font-size: 16px;
height: auto;
padding: 8px 10px 8px 44px;
text-decoration: none;
}
.gNav-con nav a:hover{
background-color: #59C1E1;
color: #FFF;
}
.gNav-con nav a.font-s{
font-size: 18px;
}
.gNav-link-ttl{
background-color: rgba(0, 159, 209, 0.7);
font-weight: bold;
padding: 5px 0 3px;
text-align: center;
}

/* ==== con ==== */
.con-con {
background-color: #CCECF6;
margin-left: auto;
margin-right: auto;
padding: 10px 0 30px;
width: 100%;
}
.main-con{
float: none;
padding: 10px;
width: 100%;
position: relative;
}
.context { 
line-height: 1.3em;
}
/* h */
.main-con h1 {
background: url(images/sp-h1-bg.png) no-repeat left top;
color: #0F2F41;
font-size: 30px;
font-weight: bold;
height: auto;
line-height: 33px;
margin-bottom: 20px;
padding: 0 0 0 30px;
text-shadow:2px 2px 0px #ffffff;
}
.context h2 {
background: none;
font-size: 24px;
line-height: 1.3em;
margin: 0;
margin-bottom: 20px;
min-height: inherit;
padding: 5px 0 5px 0;
}
.context h3 {
font-size: 16px;
}
.context h4 {
margin-bottom: 10px;
margin-top: 20px;
}
/* ol,ul */
.context ul {
list-style-type: disc;
}
.context ol li, .context ul li {
line-height: 22px;
}
/* table */
.context table {
line-height: 22px;
}
/* dl */
.context dl {
line-height: 22px;
}
/* img */
.context img {
max-width: 100%;
height: auto;
}

/* ==== ft ==== */
.ft-con {
background: none;
background-color: #009FD1;
color: #FFF;
height: auto;
padding: 10px;
width: 100%;
}
.ft-con footer{
background: none;
padding-left: 0;
text-align: center;
}

/* ==== pagetop ==== */
.pagetop {
width: 4em;
height: 4em;
bottom: 10px;
right: 10px;
}

/* ==== sp ==== */
.pc-display{display: none!important;}
.sp-hd-btn {
display: table-cell;
text-align: center;
vertical-align: middle;
width: 65px;
}
.sp-hd-btn span {
color: #0072BB;
border: 1px solid #0072BB;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
cursor: pointer;
display: block;
font-size: 12px;
font-weight: bold;
padding: 3px 10px;
}
.sp-hd-btn span:hover, .sp-hd-btn span.active {
color: #FFF;
background-color: #0072BB;
}
.sp-hd-con{display: table; padding: 10px; table-layout: fixed; width: 100%;}

.sp-home-slide-con{
display: block;
text-align: center;
}

}

@media screen and (max-width: 420px) {

/* ==== hd ==== */
.hd-con h1 {
padding-right: 10px;
}	
.hd-con h1 img {
height: auto;
width: 100%;
}
.context h2 {
background: none;
font-size: 20px;
margin: 0;
margin-bottom: 20px;
min-height: inherit;
padding: 5px 0 10px 0;
}
}

/*----------------------------------------------------------------------------
******************************************************************************
     WP addQuickタグ
******************************************************************************
----------------------------------------------------------------------------*/
div.border_box{
     padding: 1em;
      margin-bottom: 10px;
     border: 1px solid #ccc;
     -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;
}
/*----------------------------------------------------------------------------
******************************************************************************
     WP 独自クラス
******************************************************************************
----------------------------------------------------------------------------*/

/* --- 配置 --- */
.img.alignnone{}
img.aligncenter,.aligncenter{
     width: auto;
     display: block;
     margin: 1em auto;
}
table.aligncenter{
	display: table;
}
img.alignleft,.alignleft{
     width: auto;
     display: block;
     float: left;
     margin: 0 1em 1em 0;
}
img.alignright,.alignright{
     width: auto;
     display: block;
     float: right;
     margin: 0 0 1em 1em;
}
/* --- code --- */
code{}
/* --- 引用 --- */
blockquote{
     padding: 1em;
      margin-bottom: 10px;
     border: 1px solid #ccc;
     -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;
}
/* --- アライン --- */
.aligncenter, .aligncenter {
	width: auto;
	display: block;
	margin: 10px auto;
}
table.aligncenter { display: table; }
.alignleft, .alignleft {
	width: auto;
	display: block;
	float: left;
	margin: 0 10px 10px 0;
}
img.alignright, .alignright {
	width: auto;
	display: block;
	float: right;
	margin: 0 0 10px 10px;
}
/* --- code --- */
code { }
/* --- 引用 --- */
blockquote {
	padding: 1em;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
/* --- キャプション --- */
.wp-caption {
	background: none;
	border: none;
}
.wp-caption .wp-caption-text {
	font-size: 0.8em;
	padding: 5px 0;
	text-align: center;
}