@charset "utf-8";
/*
Theme Name: tpl_045_rwd
Theme URI: http://theme.o2gp.com/
Description: tpl_045_rwd
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:t
	http://www.opensource.org/licenses/gpl-license.php

*/

/* =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:inherit;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;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
/* -------------------------------------------------------------- */

body{
color:#333;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#fff;
-webkit-text-size-adjust:100%;
}

html{background:#164272;}


/* リンク設定
------------------------------------------------------------*/
a{color:#164272;text-decoration:none;}
a:hover{color:#002855;}
a:active, a:focus{outline:0;}


/* フォーム
------------------------------------------------------------*/
input, textarea{
vertical-align:middle;
max-width:90%;
line-height:24px;
height:24px;
padding:1px 5px;
border:1px solid #ccc;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background:#164272;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
height:auto;
font-size:110%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background:#1f1f1f;
cursor:pointer;
}


/* clearfix
------------------------------------------------------------*/
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto 30px;
padding:0 1%;
width:90%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
/*
h1{
font-size:12px;
line-height:1.6;
font-weight:normal;
color:#fff;
}*/
h1 img{
 width: 300px;
 height: auto;
}

#header{
padding:5px 0 0;
color:#fff;
background:#002855;
	
}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:20px 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
color:#fff;
font-family:"Palatino Linotype", "Book Antiqua", Palatino,"ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.logo span{
font-size:12px;
font-weight:normal;
}

.info{
float:right;
text-align: right;
padding:25px 0 20px;
}
.info a {
display: inline-block;
color:#fff;
font-size:15px;
margin: 5px 10px 0;
}
.info a img {
 width: 40px;
 height: auto;
}

.tel a strong{
font-size:17px;
font-weight:bold;
}

@media screen and (min-width:768px) {
a[href^="tel:"] {
    pointer-events: none;
}
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
clear:both;
line-height:0;
background:#002855;
}

#mainBanner .inner{position:relative;}

#mainBanner img{
max-width:100%;
height:auto;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
z-index:100;
background:url(images/tp2.png);
}

.slogan h2{
padding-bottom:5px;
color:#fff;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#ccc;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
clear:both;
padding:20px 0;
overflow:hidden;
}

.gridWrapper{
display:table;
border-collapse:separate;
border-spacing:0;
}

.grid{display:table-cell;}

#toppage .grid{
padding-bottom:5px;
color:#fff;
background:#002855;
}

#toppage .grid:nth-child(2n){background:#164272;}

#toppage .grid h3{
margin:10px 10px 5px;
font-size:14px;
border-bottom:1px solid #fff;
}

#toppage .grid a{
display:block;
color:#ccc;
}

#toppage .grid a:hover{
color:#fff;
}

#footer .logo img {
 display: inline-block;
 vertical-align: top;
 width: 150px;
 height: auto;
}

.grid p{
padding:5px 10px;
}

.grid li{
border-bottom:1px dashed #ebebeb;
}
#sidebar .grid li{
/*新着の日付とタイトル上下入れ替え*/
	display:-webkit-box;
	display: -webkit-flex;
	display:-ms-flexbox;
	display: flex;
	-webkit-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
}

#sidebar .grid li a{
	display: block;
	font-weight: bold;
	font-size: 14px;
/*新着の日付とタイトル上下入れ替え*/
	-webkit-box-ordinal-group:2;
	-ms-flex-order:2;
	-webkit-order:2;
	order:2;

}
#sidebar .grid li span.post-date{
	display: block;
	color: #555;
	width: 100%;
/*新着の日付とタイトル上下入れ替え*/
	-webkit-box-ordinal-group:1;
	-ms-flex-order:1;
	-webkit-order:1;
	order:1;

}

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

/* フッター内のグリッド(3カラム) */
#footer .grid{
color:#fff;
background:transparent;
}

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
font-size:14px;
overflow:hidden;
}
#home section.content{
margin:20px 0 0;
}

/* アーカイブページ */
section.content .archive{
padding:20px 0 0;
border-bottom:1px dotted #ccc;
}

section.content p{margin: 0 0 5px 10px; word-break: break-all;}
section.content p a{font-size: 14px;}

h3.heading,#sidebar .grid h3{
padding:5px 10px;
margin-bottom:10px;
font-size:16px;
color:#fff;
background:#164272;
border-left:7px solid #002855;
border-right:7px solid #002855;
}

section.content img{
display: block;
max-width:100%;
height:auto;
margin: 0 auto 5px;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

.border,ul.list img{border:4px solid #ebebeb;}


/*************
/* サイドバー
*************/
#sidebar article{
padding:7px;
margin-bottom:20px;
border:1px solid #ebebeb;
overflow:hidden;
}

#sidebar ul{padding-top:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #ebebeb;
}

#sidebar li:last-child{
border:0;
margin-bottom:0px;
}

#sidebar li a{display:block;}

ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

ul.list li{height:1%;}

ul.list li img{
float:left;
margin-right:10px;
}

ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#164272;
border-top:1px solid #002855;
}

* html #footer{height:1%;}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer .col3 ul{margin:0 0 10px;}

#footer .col3 li{
padding:0 6px 0 5px;
margin-bottom:3px;
list-style:none;
border-bottom:0;
display:inline-block;
border-right:1px solid #fff;
}

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

#copyright{
clear:both;
margin-left:5px;
font-size:11px;
}


/*************
サブ（フッター前）コンテンツ
*************/
#sidebar ul{padding:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sidebar li:last-child{
border:0;
margin-bottom:0;
}

#sidebar li a{display:block;}

#sidebar ul.list{padding-bottom:7px;}

#sidebar ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

#sidebar ul.list li img{
float:left;
margin-right:10px;
}

#sidebar ul.list li{
font-size:12px;
line-height:1.35;
}

#sidebar .grid h3{border-radius:0;}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width:100%;
height:30px;
margin:5px 0 20px;
}

.prev{float:left}
.next{float:right;}

#pageLinks{
clear:both;
text-align:center;
}


/* タイポグラフィ
*****************************************************/
.dateLabel{
margin:0 0 10px;
text-align:right;
font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

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

.post p time{
	display: block;
}
.post p a{
	font-size: 16px;
	font-weight: bold;
}

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

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

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

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

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color:#000;
border-bottom:3px solid #3f4360;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color:#333;
border-bottom:2px solid #3f4360;
}

.post h3{
margin:10px 0;
font-size:120%;
font-weight:normal;
color:#777;
border-bottom:1px solid #3f4360;
}

.post blockquote{
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}

.post blockquote p{padding:5px 0;}

.post table{
border-collapse:collapse;
margin: -10px 0 30px;
}

.post table th,.post table td{
padding:5px;
border:1px solid #002855;
}
/*
.post table tr:first-child th,.post table tr:first-child td{
border-top:#002855 4px solid;
}
*/
.post table th{
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#164272;
}
	/* table 青 */
	.post .price-table th, .post .price-table td {
	border:1px solid #002855;
	}
	.post .price-table tr:first-child th,.post .price-table tr:first-child td{
	border-top:#002855 4px solid;
	}
	.post .price-table th {
	background:#164272;
	}

	/* table 緑 */
	.post .table2 th, .post .price-table2 td {
	border:1px solid #00221e;
	}
	.post .table2 tr:first-child th,.post .table2 tr:first-child td{
	border-top:#00221e 4px solid;
	}
	.post .table2 th {
	background:#00554c;
	}

.post .price-table{
	width: 100%;
}
.post .price-table th,
.post .price-table td{
	text-align: center;
}

.post dt{font-weight:bold;}

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

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

img.aligncenter{
display:block;
margin:5px auto;
}

img.alignright, img.alignleft{
padding:4px;
margin:0 0 2px 7px;
display:inline;
}

img.alignleft{margin:0 7px 2px 0;}

.alignright{float:right;}
.alignleft{float:left;}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:960px){
	#wrapper,.inner{
	width:940px;
	padding:0;
	}

	#wrapper{padding-bottom:20px;}

	.grid{width:235px;}
	.col3{width:705px !important;}
	#sidebar .grid{
	width:100%;
	display:block;
	padding-bottom:30px;
	}

	#main{
	float:right;
	width:690px;
	padding-top:30px;
	}

	#sidebar{
	float:left;
	width:235px;
	padding-top:30px;
	overflow:hidden;
	}

	/* トップナビゲーション */
	nav div.panel{display:block !important;}

	a#menu{display:none;}

	ul#topnav{
	clear:both;
	display: flex;
	background:#164272;
	height:70px;
	border-radius:5px 5px 0 0;
	}

	ul#topnav li{/*
	float:left;*/
	margin:0;
	text-align:center;
	position:relative;
	}

	ul#topnav li a{
	width:156px;
	font-size:12px;
	display:block;
	padding:25px 0 5px;
	color:#fff;
	border-left:1px solid #002855;
	height:40px;
	}/*
	ul#topnav > li:first-child a,ul#topnav > li:last-child a{width:155px;}*/
	ul#topnav > li:first-child a {border: none;}

	ul#topnav li.current-menu-item a,ul#topnav a:hover{
	color:#ccc;
	}

	ul#topnav ul{
	width:160px;
	display:none;
	}

	ul#topnav li:hover ul{
	display:block;
	position:absolute;
	top:70px;
	left:0;
	z-index:500;
	}

	ul#topnav li li{
	margin:0;
	float:none;
	width:158px;
	text-align:left;
	border-top:1px solid #002855;
	}

	ul#topnav li.current-menu-item li a,ul#topnav li li a{
	width:auto;
	border:0;
	padding:10px;
	height:auto;
	background:#164272;
	box-sizing: border-box;
	}

	ul#topnav li li.current-menu-item a,ul#topnav li li a:hover{
	color:#ccc;
	}
}

@media only screen and (max-width:959px){
	#header{padding:10px 0 0;}
	#header h1{text-align: center; padding:0;}
	#header .logo,#header .info{padding:10px;}

	/* トップナビゲーション */
	nav#mainNav{
	clear:both;
	width:100%;
	margin:10px auto 20px;
	padding:0;
	background:#164272;
	}
	#home nav#mainNav{margin-bottom:0;}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight:bold;
	text-align:left;
	color:#fff;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a span:before{content:"→ ";}
	nav#mainNav a.menuOpen span:before{content:"↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display:none;
	width:100%;
	position:relative;
	right:0;
	top:0;
	z-index:1;
	}

	nav#mainNav ul{margin:0;padding:0;}

  nav#mainNav ul li{
	float:none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display:block;
	padding:15px 10px;
	text-align:left;
	color:#fff;
	}

	nav#mainNav ul li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border-bottom:1px dashed #164272;}

 	nav#mainNav ul li a span{display:none;}

	nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:hover,nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:active, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:active{
	color:#ccc;
	}

	nav#mainNav ul li li{
	float:left;
	border:0;
	}

	nav#mainNav ul li li a, nav#mainNav ul li.current-menu-item li a, nav#mainNav ul li li.current-menu-item a{
	padding-left:40px;
	background:url(images/sub1.png) no-repeat 20px -62px;
	}

	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover, nav#mainNav ul li.current-menu-item li a:hover{background:url(images/sub1.png) no-repeat 20px -62px;}

	nav#mainNav ul li li:last-child a{background:#164272 url(images/subLast.png) no-repeat 20px -65px;}
	nav#mainNav ul li li:last-child.current-menu-item a,nav#mainNav ul li li:last-child a:hover,nav#mainNav ul li.current-menu-item li:last-child a:hover{background:url(images/subLast.png) no-repeat 20px -65px;}

  .gridWrapper{display:block;}

	.grid{
	display:block;
	width:100%;
	}

	#toppage .grid{
	padding:10px 0;
	}

	#sidebar .grid{display:inline-table;}

	#footer .grid{
	display:block;
	width:100%;
	margin:0 0 20px;
	text-align:center;
	}
}



@media only screen and (max-width:640px){
  img.alignleft,img.alignright,.alignleft,.alignright{float:none;display:block;margin:0 auto 10px;}
}

@media only screen and (max-width:480px){
	#mainBanner h2,#mainBanner h3{font-size:80%;}
	#header h1,#header .logo, #header .info{float:none;text-align:center;}
}


.pc {display: inline-block;}
.sp,.sp_block {display: none;}

.text-right {
 text-align: right;
 margin: 10px 0;
}
.text-center {
 text-align: center;
 margin: 10px 0;
}

.post ul.block {
 margin: 0 0 20px;
}
.post ul.block li {
 display: block;
 float: left;
 text-align: center;
 margin: 0;
 padding: 0;
 background: #f6f6f6;
}
ul.block-4 li {
 width: 25%;
}
ul.block-3 li {
 width: 33.3%;
}
ul.block-2 li {
 width: 50%;
}
.post ul.block li strong {
 display: block;
 color: #fff;
 padding: 5px;
 background: #1C518C;
}
.post ul.block li p,
.post ul.block li div {
 padding: 10px;
}
.staff_img {
 display: block;
 max-width: 350px !important;
 height: auto;
 margin: 0 auto 10px;
}
#news-block ul {
 display: flex;
 flex-wrap: wrap;
 margin: 0 0 30px;
}
#news-block ul li {/*
 display: block;
 float: left;
 min-height: 270px;*/
 width: 20%;
 padding: 0 5px 10px;
 box-sizing: border-box;
}
#news-block ul li span,
#news-block ul li strong {
 display: block;
 word-break: break-all;
}
.post-thumbnail {
 text-align: center;
 margin: 0 auto 20px;
}
.post-thumbnail img {
 max-width: 100%;
 height: auto;
}
.form-block div {
 margin: 0 0 10px;
}
.form-block input,
.form-block textarea {
 box-sizing: border-box;
 width: 100%;
 max-width: inherit;
}
@media screen and (max-width:767px) {
.pc {display: none !important;}
.sp {display: inline-block !important;}
.sp_block {display: block !important;}
.post ul.block-4 li {
 display: block;
 width: 50%;
}
.staff_img {
 max-width: 100% !important;
 margin: 0 auto;
}
#news-block ul {
 margin: 0 -5px 30px;
}
#news-block ul li {
 text-align: center;
 width: 50%;
}
#news-block ul li strong {
 display: inline-block;
 padding: 0 5px;
}
#footer .col3 {
 text-align: left;
}
#footer .col3 li {
 box-sizing: border-box;
 width: 49%;
 padding: 2px 0;
 text-align: center;
}
#footer .col3 li {
 border: none;
}
}


.google-map {
    position: relative;
    width: 100%;    /* 左右に余白が必要なら値を変更してもOK */
    height: 0;
    padding-bottom: 56.25%;    /* padding-topでもOK */
    overflow: hidden;
}
.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    /* 必要であれば!importantを付けてください */
    height: 100%;    /* 必要であれば!importantを付けてください */
}

#top_num{
	text-align: center;
	font-weight: bold;
	margin-bottom: 15px;
}
#top_num h4{
	color: #002855;
	font-size: 18px;
	margin-bottom: 10px;
}

/*
.faq dt {font-weight: normal; margin: 0 0 10px;}
.faq dd {margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px dotted #002855;}
.faq dt span,.faq dd span {color: #5f91c4;}*/

.faq dt ,.faq dd {position: relative; padding: 5px 0 10px 30px;}
.faq dt {font-weight: normal; margin: 0 0 10px;}
.faq dd {margin: 0 0 20px; border-bottom: 1px dotted #002855;}
.faq dt::before, .faq dd::before {display: block; position: absolute; left: 0; top: 0; width: 25px; padding: 3px 0; text-align: center; color: #fff; border-radius: 5px;}
.faq dt::before {content: "Q"; background: #002855;}
.faq dd::before {content: "A"; background: #164272;}


.profile {margin: 0 0 30px;}
.profile ul {margin: 0; padding: 0;}
.profile ul li {margin: 0 0 10px; padding: 0;}
.profile ul li span, .profile strong {display: inline-block; color: #fff; text-align: center; font-weight: normal; width: 90px; margin-right: 5px; padding: 2px 0; background: #164272;}
.profile strong {margin: 0 0 5px;}



.cal_wrapper {
max-width: 960px; /* 最大幅 */
min-width: 235px; /* 最小幅 */
margin: 2.0833% auto;
}
.googlecal {
position: relative;
padding-bottom: 100%; /* 縦横比 */
height: 0;
}
.googlecal iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}
/* 画面幅が768px以上の場合の縦横比の指定 */
@media only screen and (min-width: 768px) {
.googlecal { padding-bottom: 75%; }
#menu-item-5757 {display:none;}
}
