@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{
border:0;
font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
font-size:100%;
font-style:inherit;
font-weight:inherit;
margin:0;
outline:0;
padding:0;
vertical-align:baseline;
}

:focus{
outline:0;
}

ol, ul{
list-style:none;
}

table{
border-collapse:separate;border-spacing:0;
}

caption, th, td{
font-weight:normal;text-align:left;
}

blockquote:before, blockquote:after,q:before, q:after{
content:"";
}

blockquote, q{
quotes:"" "";
}

a img{
border:0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{
display:block;
}

body{
background:#f8f8ff;
font:15px/2.0 "Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
-webkit-text-size-adjust:100%;
}


/* リンク設定
------------------------------------------------------------*/

a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
font-weight:bold;
color: #a9a9a9;
}

a:hover, a:active{
outline:none;
color:#cdcdcd;
}

/**** Clearfix ****/

nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after,nav#mainNav .inner:after{
content:""; display:table;clear:both;
}

nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li,nav#mainNav .inner{
zoom:1;
}


/* レイアウト
------------------------------------------------------------*/

#wrapper, .inner{
margin:0 auto;
width:1110px;
}

#header{
text-align:center;
}

#content{
float:right;
width:790px;
padding:40px 0 50px;
}

#sidebar{
float:left;
width:280px;
padding:40px 0 50px;
}

#footer{
clear:both;
padding:20px 0 30px;
} 


/* ヘッダー
------------------------------------------------------------*/

#header h1{
padding:10px 0;
font-size:80%;
font-weight:bold;
text-align:left;
}

.contact{
float:right;
text-align:right;
font-size:80%;
margin-top:-32px;
font-weight:bold;
}

.contact .tel{
margin-top:-5px;
font-size:130%;
background-color: #3cb371;
text-align:center !important;
margin-top:8px;
padding:2px 0;
color:#FFF;
}
.contact .tel a {
	color: #fff;
	display: block;
}
.contact .tel a:hover {
	opacity: 0.8;
}

#header h2{
clear:both;
margin-bottom:20px;
text-align:center;
color:#000000;
font-size:160%;
font-weight:bold;
}

#header h2 img{
	width: 220px;
}

#mainImg img{
width:100%;
height:auto;
}

.post{
margin:0 0 20px 0;
}

/* 記事ループ
------------------------------------------------------------*/

.list{
padding:10px 0;
}

.post .list p{
padding:0;
}

.list span{
padding-left:10px;
}


/* タイポグラフィ
------------------------------------------------------------*/

h2.title{
clear:both;
margin-bottom:50px;
padding-bottom:7px;
text-align:center;
font-size:150%;
font-weight:bold;
}

h2.title span{
padding-bottom:10px;
border-bottom:3px solid #000000;
}

h2.recentpost{
margin:15px 0 25px;
padding:15px 0;
font-size:150%;
font-weight:bold;
border-bottom:3px solid #000000;
}

.post p{
padding-bottom:15px;
}

.post ul{
margin:10px 0 20px 20px;
}

.post ul li{
padding-left:5px;
list-style:disc;
}

.post ol{
margin:0 0 10px 30px;
}

.post ol li{
list-style:decimal;
}

.post h1{
margin:15px 0 25px;
padding:15px 0;
font-size:150%;
font-weight:bold;
border-bottom:3px solid #000000;
}

.post h2{
margin:15px 0 25px;
padding:15px 0;
font-size:130%;
font-weight:bold;
border-bottom:2px solid #000000;
}

.post h3{
margin:15px 0 25px;
padding:15px 0;
font-size:120%;
font-weight:bold;
border-bottom:1px solid #000000;
}

.post h4{
margin:15px 0 10px;
padding:15px 0;
font-size:110%;
font-weight:bold;
}

.post h5{
margin:15px 0 10px;
padding:15px 0;
font-size:110%;
font-weight:bold;
}

.post h6{
margin:15px 0 10px;
padding:15px 0;
font-size:110%;
font-weight:bold;
}
 
.post blockquote {
clear:both;
padding:10px 0 10px 25px;
margin:10px 0 25px 0px;
border-left:5px solid #e9e9e9;
}
 
.post blockquote p{
padding:5px 0;
}

.post table{
border:1px #cccccc solid;
border-collapse:collapse;
border-spacing:0;
margin:10px 0 30px;
width:100%;
}

.post table th{
padding:15px;
border:#cccccc solid;
border-width:0 0 1px 1px;
font-weight:bold;
}

.post table td{
padding:15px;
border:1px #cccccc solid;
border-width:0 0 1px 1px;
}

.post dt{
font-weight:bold;
}

.post dd{
padding-bottom:10px;
}

.post img{
max-width:100%;height:auto;
}

img.aligncenter {
display:block;
margin:5px auto 30px auto;
text-align:center;
}

img.alignright{
margin:5px 0 30px 30px;
}

img.alignleft{
margin:5px 30px 30px 0;
}

.alignright{
float:right;
}

.alignleft{
float:left;
}


/* サイドバー　ウィジェット
------------------------------------------------------------*/

section.widget ul{
margin:0 0 10px 0;
}

p.banner{
padding-bottom:20px;
}

p.banner img{
max-width:280px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{
clear:both;
margin:0 0 10px;
padding:5px 0;
font-size:130%;
font-weight:bold;
border-bottom:3px solid #000000;
}

section.widget ul{
margin:30px 0 30px 0;
}

section.widget li a{
display:block;
margin-top:15px;
color:#000000;
font-weight:bold;
}

section.widget li a:hover{
color:#cdcdcd;
}

.newsTitle{
clear:both;
margin:0 0 10px;
padding:5px 0;
font-size:130%;
font-weight:bold;
border-bottom:3px solid #000000;
}

.newsTitle h3{
float:left;
}

.newsTitle p{
float:right;
padding:5px 10px 0 10px;
font-size:70%;
}

.newsTitle p a{
color:#000000;
}

.newsTitle p a:hover{
color:#cdcdcd;
}

.news{
margin:30px 0 30px 0;
}

.news p{
clear:both;
margin-top:15px;
}

.news p a{
display:block;
color:#000000;
font-weight:bold;
}

.news span{
padding-left:10px;
}

.news a:hover span{
color:#cdcdcd;
}


/* フッター
------------------------------------------------------------*/
#footer {
	background: #a9a9a9;
}
#footer ul{
padding:15px 0 25px;
text-align:center;
}

#footer li{
display:inline-block;
padding:5px 16px;
}
*:first-child+html #footer li{
display:inline;
}

#footer li:first-child{
border:0;
}

#footer li a{
text-decoration:none;
font-weight:bold;
color:#000000;
}

#footer li a:hover{
color:#cdcdcd;
}

#footer ul ul{
display:none;
}

#copyright{
clear:both;
padding:30px 0 37px;
text-align:center;
font-size:10px;
}

#pagetop{
position:fixed;
right:30px;
bottom:0px;
font-size:40px;
cursor: pointer;
}

#pagetop:hover {
	cursor: pointer;
}
#copyright a {
	color:#21a1d0;
}

/* トップページ 最新記事4件
------------------------------------------------------------*/

ul.post{
padding:0;
}

ul.post li{
padding:20px 0 15px;
}

ul.post img{
float:left;
margin:5px 25px 5px 0;
}

ul.post h3{
margin:-15px 0 5px 0;
border:0;
font-size:130%;
font-weight:bold;
}

ul.post h3 a{
color:#000000;
}

ul.post h3 a:hover{
color:#cdcdcd;
}

/* index.html
------------------------------------------------------------*/

.btn-more {
	margin: 50px auto 40px;
}

.simple_square_btn5 {
	display: block;
	position: relative;
	width: 180px;
	padding: 0.8em;
	/*border: solid 1px; #000;*/
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #228b22;
	border-radius: 10px;
}

.simple_square_btn5:hover {
	 opacity:0.8;
	 cursor: pointer;
	 text-decoration: none;
}

.tright {
	text-align: right;
}
.post .eigyo {
	padding-bottom: 0;
}
.post .tellto {
	font-size: 20px;
	padding-bottom: 0px;
}
.post .tellto i {
	padding-right: 10px;
}

/* concept.html
------------------------------------------------------------*/
.post .flex-concept {
	display: flex;
	/*justify-content: space-between;*/
	flex-wrap: wrap;
	align-items: center;
}
.flex-concept dt {
	width: 30%;
	text-align: center;
}
.flex-concept dd {
	width: 60%;
}
/* menu.html
------------------------------------------------------------*/
.menu-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: top;
	padding: 20px 0;
	border-top:1px solid #a9a9a9;
}
.menu-box:last-of-type {
	border-bottom: 1px solid #a9a9a9;
}
.menu-box-left {
	width: 50%;
	font-size: 20px;
	font-weight: bold;
}
.menu-box-left p {
	padding: 20px;
}
.menu-box-left span {
	font-size:  14px;
	font-weight: normal;
	vertical-align: top;
}
.menu-box-right {
	width: 50%;
}
.flex-menu {
	display: flex;
	flex-wrap: wrap;
}
.flex-menu dt {
	width: 10em;

}
.flex-menu dt::after {
	content:'・・・・・・・';
	vertical-align: middle;
}
.flex-menu dd {
	width: calc(100% - 10em);
}

/* staff.html
------------------------------------------------------------*/
.staff-post {
	font-size: 18px;
}
.staff-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: top;
	padding: 20px 0;
	/*border-top:1px solid #a9a9a9;*/
}
/*.staff-box:last-of-type {
	border-bottom: 1px solid #a9a9a9;
}*/
.staff-box-left {
	width: 25%;
}
.staff-box-left img {
	padding-right: 20px;
}
.staff-box-right {
	width: 70%;
}
.staff-name {
	font-size: 20px;
}
.staff-name span {
	font-size: 13px;
	color:#a9a9a9;
	display: block;
}
.post .staff-subheader {
	font-size: 17px;
	padding-bottom: 0;
}

/* access.html
------------------------------------------------------------*/
.access-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	padding: 10px 0;
	border-top:1px solid #a9a9a9;
}
.access-box:last-of-type {
	margin-bottom: 20px;
	border-bottom: 1px solid #a9a9a9;
}
.access-box-left {
	width: 40%;
	text-align: center;
	font-weight: normal;
	color: #a9a9a9;
}
.post .access-box-left{
	font-weight: normal;
}

.post .access-box-right {
	width: 60%;
	padding: 0;
}
.post .access-guidance {
	width: 100%;
	text-align: center;
	padding-bottom: 10px;
	border-bottom: 1px solid #a9a9a9;
}
.post .access-guidance i {
	padding-right: 10px;
}
.post .access-guidance-msg {
	padding-top: 10px;
}
.post .map {
	position: relative;
	padding-top: 50%;
}
.post .map iframe {
	position: absolute;
	left: 0;
	top:0;
	width: 100%;
	height: 100%;
}

/* contact.html
------------------------------------------------------------*/

.mfp_buttons p {
	text-align: center;
}

/* メインメニュー　PC用
------------------------------------------------------------*/

@media only screen and (min-width:1025px){

nav#mainnav{
position:relative;
margin-top:40px;
}

nav#mainnav ul{
display:flex;
justify-content:center;
align-items:center;
}

nav#mainnav ul li{
float:left;
}

nav#mainnav ul li a{
display:block;
text-align:center;
_float:left;
height:70px;
padding:10px 40px 0;
line-height:70px;
font-size:120%;
font-weight:bold;
color:#000000;
font-family: "Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}

nav#mainnav ul li a span,nav#mainnav ul li a strong{
display:block;
font-size:90%;
line-height:1.7;
}

nav#mainnav ul li a span{
font-size:50%;
}

nav#mainnav ul li a:hover span, nav#mainnav ul li a:hover{
color:#cdcdcd;
}

nav#mainnav ul ul{
width:160px;
border-top:0;
}

nav#mainnav ul li ul{
display: none;
}

nav#mainnav ul li:hover ul{
display: block;
position: absolute;
top:65px;
text-align:center;
z-index:500;
}

nav#mainnav ul li li{
background:#ffffff;
border-bottom:1px dotted #cdcdcd;
float: none;
width:160px;
height:40px;
line-height:40px;
margin:0;
}

nav#mainnav ul li li:last-child{
border:0;
}

nav#mainnav ul li li a{
width:100%;
height:40px;
padding:0;
line-height:40px;
font-size:95%;
text-lign:center;
}

nav#mainnav ul li li a:hover{
color:#cdcdcd;
}

nav div.panel{
display:block !important;
}

a#menu{
display:none;
}

/*パンくず*/
.cp_breadcrumb *, .cp_breadcrumb *:after, .cp_breadcrumb *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_breadcrumb {
	margin: 1em auto 10px;
	padding: 1em 2em;
	/*background-color: #3949AB;*/
	color: #fff;
	border-radius: 0.5em;
}
.cp_breadcrumb a {
	text-decoration: none;
	color: #a9a9a9;
}
.cp_breadcrumb .breadcrumbs {
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}
.cp_breadcrumb li {
	display: inline-block;
	position: relative;
	padding-right: calc(16px + 8px);
	margin-right: 8px;
	color: #a9a9a9;
}
.cp_breadcrumb li:hover {
	opacity: 0.8;
}
.cp_breadcrumb li::before {
	content: '›';
	width: 1em;
	height: 1em;
	line-height: 1;
	text-align: center;
	font-size: 1em;
	color: inherit;
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
}
.cp_breadcrumb li:last-child {
	margin-right: 0;
	padding-right: 0;
	color: #ffffff;
}
.cp_breadcrumb li:last-child::before {
	content: normal;
}

.cp_breadcrumb i {
	padding-right:  5px;
}

}


/* iPadサイズ以下（1024px）からアコーディオンメニュー
------------------------------------------------------------*/

@media only screen and (max-width:1024px){

#header{
position:fixed;
width:100%;
z-index:500;
}
	
#headerWrap{
position:relative;
width:100%;
height:70px;
background:#eeeeee;
border-bottom:1px solid #cccccc;
}
	
#header h1{
display:none;
}
	
#header h2{
padding-top:13px;
}
	
#header h2 img{
max-height:40px;
width:auto !important;
}

a#menu{
display:inline-block;
position:relative;
width:40px;
height:40px;
margin:10px;
}

#menuBtn{
display:block;
position:absolute;
top:60%;
left:50%;
width:18px;
height:2px;
margin:-1px 0 0 -7px;
background:#000000;
transition:.2s;
}

#menuBtn:before, #menuBtn:after{
display:block;
content:"";
position:absolute;
top:50%;
left:0;
width:18px;
height:2px;
background:#000000;
transition:.3s;
}

#menuBtn:before{
margin-top:-7px;
}

#menuBtn:after{
margin-top:5px;
}

a#menu .close{
background:transparent;
}

a#menu .close:before, a#menu .close:after{
margin-top:0;
}

a#menu .close:before{
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
}

a#menu .close:after{
transform:rotate(-135deg);
-webkit-transform:rotate(-135deg);
}

.panel{
width:100%;
display:none;
overflow:hidden;
position:relative;
left:0;
top:0;
z-index:100;
}

#mainnav{
position:absolute;
top:0;
width:100%;
text-align:right;
z-index:500;
}

#mainnav ul{
background:#eeeeee;
text-align:left;
}

#mainnav li a{
position:relative;
display:block;
padding:12px 25px;
border-bottom:1px solid #dddddd;
color: #000000;
font-weight:bold;
}

#mainnav ul li a span{
display:none;
}

#mainnav ul li li{
border:0;
}

#mainnav ul li li a{
padding-left:40px;
}

}


/* iPadサイズ以下（1024px）から 1カラム表示に切り替え
*****************************************************/

@media only screen and (max-width:1024px){

#wrapper{
padding-top:70px;
}

#wrapper, .inner{
width:100%;
}

#header .contact{
display:none;
}

nav#mainNav ul{
margin:0 auto;
}

nav#mainNav ul ul{
padding:0;
}

nav div.panel{
float:none;
}

#mainImg{
z-index:-100;
margin-bottom:30px;
padding-top:70px;
}

#content, #sidebar{
clear:both;
width:95%;
float:none;
margin:0 auto;
padding:10px 0;
}

h2.first{
margin-top:25px;
}

h2.topFirst{
margin-top:-80px;
}

.banner{
width:100%;
margin:0 auto;
text-align:center;
}

p.banner img{
width:100%;
height:auto;
}

section.widget_search{
text-align:center;
}

#footer li{
margin-bottom:10px;
}

/*パンくず*/
.cp_breadcrumb {
	display: none;
}

/*タブレットバナーサイズ調整*/
.side-flex {
display: flex;
justify-content: space-between;
}

.side-flex p {
width: 31%;
}

}

/* 幅767px以下サイドバナー,フッターメニューサイズ調整
------------------------------------------------------------*/
@media only screen and (max-width:767px){
.side-flex {
display: block;
}
.side-flex p {
width: 100%;
}
#footer ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#footer li {
width: 50%;
margin:0;
padding: 10px 0;
}
.menu-box-left {
	width: 30%;
	font-size: 18px;
	/*width: 50%;
	font-size: 20px;
	font-weight: bold;*/
}
.menu-box-left p {
	padding: 10px 5px;
	/*padding: 20px;*/
}
.menu-box-left span {
	font-size:  14px;
	font-weight: normal;
	vertical-align: top;
}
.menu-box-right {
	width: 70%;
	/*width: 50%;*/
}

}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/

@media only screen and (max-width:644px){

#header h2 img{
max-width:90%;
}

#mainImg{
height:350px;
overflow:hidden;
position:relative;
margin-bottom:35px;
}

#mainImg img{
position:absolute;
top:50%;
left:50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width:auto;
height:100%;
}

h2.title{
margin-bottom:35px;
}

ul.post img{
display:block;
margin:5px auto 20px auto;
float:none;
width:100%;
}

img.alignright, img.alignleft{
display:block;
margin:5px auto 20px auto;
}

.alignright,.alignleft{
float:none;
}

/*staff.html スタッフ紹介*/

.staff-box {
	justify-content: center;
}
.staff-box-left {
	width: 60%;
}
.staff-box-right {
	width:  90%;
}

}
