﻿@charset "utf-8";

* {
	box-sizing: border-box;
}
body {
	min-width: 100%;
}
img {
	max-width: 100%;
	height: auto;
}
input[type="button"],input[type="submit"] {
    -webkit-appearance: none;
}

/*---------------------------------------------
　ヘッダ
---------------------------------------------*/
#header {
	padding: 0px 0px 0px 0px;	
}

/* h1
-----------------------------------*/
h1 {
	background-position: left center;
	background-size: contain;
	float: none;
	margin: auto 10px;
	float: none;
}

/* #header_catch 
-----------------------------------*/
#header_catch p {
	padding: 0px 10px;
	margin: 0px;
	border-left: none;
	line-height: 120%;
	max-width: 100%;
}
#header_catch p:first-child {
	display: none;
}

/* #header_navi 
-----------------------------------*/

#header_navi {
	display: table-cell;
	text-align: left;
	float: none;
	padding-left: 10px;
}
#header_navi ul {
	margin: 0px 0px 5px 0px;
}
#header_navi li {
	margin: 0px 20px 0px 0px;
}
#searchform label.screen-reader-text {
	display: none;
}

/* #global_navi 
-----------------------------------*/

#global_navi  {
	text-align: right;
	margin: 0;
	padding: 0 0 10px 0;
}
#global_navi div {
	display: block;
	margin-top: -50px;
	width: 50px;
	height: 50px;
	position: absolute;
	right: 10px;
}
#global_navi ul  {
	display: none;
	border: none;
	position: absolute;
	z-index: 100;
}
#global_navi li {
	display: block;
	vertical-align: middle;
	border: none;
	border-bottom: 1px solid #FFF8E1;
}
#global_navi li a {
	background:  url(../images/common/bg_blue.jpg);
	color: #FFFFFF;
	padding: 1.5em 1em;
}
#global_navi li.l2 a {
	padding: 1.5em 1em;
}

/*---------------------------------------------
　コンテンツ/サイドバー
---------------------------------------------*/
#content, #sidebar {
	margin-top: 20px;
	max-width: 100%;
	float: none;
	padding: 0px 10px;
	
}

/* #sub_navi
-----------------------------------*/

#sub_navi {
	border: 3px double #CCCCCC;
	background: #FFFFFF;
	margin-bottom: 20px;
}
#sub_navi h3 {
	background: none;
	font-size: 14px;
	margin:0;
	padding: 10px;
	background: url(../images/common/bg_blue.jpg);
	color: #FFFFFF;
}
#sub_navi ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
#sub_navi ul li {
}
#sub_navi ul li a {
	color: #000000;
	display: block;
	background: url(../images/common/icon_arrow.png) no-repeat 10px 14px;
	padding: 10px 10px 10px 28px;
	border-top: 1px solid #CCCCCC;
	text-decoration: none;
	font-weight: bold;
}
#sub_navi ul li a:hover {
	color: #2288AA;
	background-color: #DDF2F5;
}
#sub_navi ul li li a {
	color: #000000;
	display: block;
	background: url(../images/common/icon_list.png) no-repeat 13px 13px;
	padding: 5px 5px 5px 25px;
	border-top: 1px dashed #CCCCCC;
	font-weight: normal;
}

/* #banner_area
-----------------------------------*/
#banner_area {
	text-align: center;
}

/*---------------------------------------------
　フッター
---------------------------------------------*/
#footer {
	padding: 10px;
	background-size: cover;
}

/*---------------------------------------------
　タイトル
---------------------------------------------*/

/* メイン画像
-----------------------------------*/
#main {
	margin-top: 0px;
}
#main h2 {
	background-position: top center;
	padding: 5px 5px 5px 5px;
}

/* ページタイトル
-----------------------------------*/

#pagetitle h2 {
	padding: 15px 10px;
	font-size: 28px;
	
}
#breadcrumbs {
	margin:10px 10px 10px 10px;
}

/* 見出し
-----------------------------------*/

h3 {
	font-size: 24px;
}

/*---------------------------------------------
　固定ページ
---------------------------------------------*/
/* サービス
-----------------------------------*/
.service_list dl {
	width: 45%;
	overflow: hidden;
}
.service_list dl:nth-of-type(2n+1) {
	clear: left;
}
.service_list dt a {
	max-width: 100%;
}
.service_list dt img {
	max-width: 1000%;
	width: auto;
	height: 100%;
}

/* アクティビティ
-----------------------------------*/
ul.activities_list li {
	width: 30%;
	overflow: hidden;
 }
ul.activities_list li:nth-of-type(3n+1) {
	clear: left;
 }
ul.activities_list li a {
	max-width: 100%;
}
ul.activities_list li img {
	max-width: 1000%;
	width: auto;
	height: 100%;
}
@media screen and (max-width:560px){
	 ul.activities_list li {
	width: 45%;
	overflow: hidden;
	}
	ul.activities_list li:nth-of-type(2n+1) {
	clear: left;
	}
	ul.activities_list li:nth-of-type(3n+1) {
	clear: none;
	}
} 
.activities_post .thumbnail {
	margin: auto;
	float: none;
	max-width: 100%;
}
