@charset "utf-8";
/*
Theme Name: tpl_027_rwd
Theme URI: http://theme.o2gp.com/
Description: tpl_027_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:
	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;
-webkit-text-size-adjust:100%;
background:#fff;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#656565;}
a:hover{
color:#1c1c1c;
background:#eee;
}
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:#eee;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
height:auto;
font-size:110%;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
color:#333;
cursor:pointer;
}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
h1#desc{
font-size:10px;
line-height:1.6;
font-weight:normal;
}

#header{
overflow:hidden;
padding:5px 0 15px;
}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:25px 0 0;
}

.logo a{
font-size:16px;
font-weight:bold;
line-height:1;
color:#333;
text-decoration:none;
}

.logo span{
font-size:10px;
font-weight:normal;
color:#333;
}

.info{
float:right;
padding:20px 0 0;
}

.tel strong{
font-size:16px;
font-weight:bold;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:35px auto 20px;
padding:4px;
position:relative;
line-height:0;
color:#fff;
background:#eee;
}

#mainBanner img{
width:100%;
height:auto;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:10px 15px;
line-height:1.4;
z-index:100;
background:url(images/tp2.png);
}

.slogan h2{
padding-bottom:5px;
color:#fff;
font-size:18px;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
clear:both;
padding:20px 0;
overflow:hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
}

.grid p{
padding:5px 10px;
}

.grid ul{margin:5px 10px;}

.grid li{
padding:5px 0;
list-style:inside;
border-bottom:1px dashed #eee;
}

.grid li a{
text-decoration:none;
}

.gridWrapper img{
max-width:100%;
height:auto;
}


/*************
メイン コンテンツ
*************/
section.content .archive{border:0;}
section.toppage{margin:0 15px;}


/* アーカイブページ */
section.content .archive{
padding:0;
border-bottom:1px dotted #ccc;
}

section.content p{margin-bottom:5px;}

h3.heading{
padding-left:7px;
margin-bottom:17px;
font-size:1.8em;
border-left:10px solid #3B0B0B;
}

#sub .grid h3{
padding-left:7px;
margin-bottom:17px;
font-size:1.8em;
border-left:10px solid #3B0B0B;
}

section.content img{
max-width:90%;
height:auto;
}

.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;}


/*************
/* フッター
*************/
#footer{
clear:both;
padding:10px 0 40px 0;
overflow:hidden;
font-size:11px;
}

#footer .logo{margin-top:-10px;}

ul.footnav{margin:0 0 10px 5px;}
ul.footnav ul{display:none;}

ul.footnav li{
padding:0 6px 0 5px;
margin-bottom:3px;
list-style:none;
border-bottom:0;
display:inline-block;
border-right:1px solid #eee;
}

#copyright{
margin-top:40px;
font-size:10px;
}


/* 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{
margin-bottom:20px;
overflow:hidden;
}

.post p{padding-bottom:15px;}

.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 #eee;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color:#333;
border-bottom:2px solid #eee;
}

.post h3{
margin:10px 0;
font-size:120%;
font-weight:normal;
color:#777;
border-bottom:1px solid #eee;
}

.post blockquote{
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
/*border-left:5px solid #ccc;*/

border-left:10px solid #3B0B0B;
}
 
.post blockquote p{padding:5px 0;}

.post table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

.post th, .post td{
padding:10px;
border:1px solid #dad6bb;
}

.post th{
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
background:#eee;
}

.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){
	#header,#wrapper,.inner,h1#desc,nav#mainNav{
	width:940px;
	padding:0;
	margin:0 auto;
	}
	
	#header{padding:5px 0 15px;}
	
	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}
	
  nav#mainNav{
	clear:both;
	z-index:200;
	height:27px;
	position:relative;
	margin:20px auto;
	border-left:1px solid #dad6bb;
	}

	nav#mainNav ul li{
	float:left;
	position:relative;
	}
	nav#mainNav li:last-child{border-right:1px dotted #dadada;}

	nav#mainNav ul li a{
	display:block;
	text-align:center;
	_float:left;
	font-size:12px;
	line-height:17px;
	width:155px;
	color:#333;
	padding:5px 0;
	text-decoration:none;
	border-right:1px solid #dad6bb;
	}
	
	nav#mainNav ul ul{width:160px;background:#fff;}
	nav#mainNav ul li ul{display:none;}

	nav#mainNav ul li:hover ul{
	display:block;
	position:absolute;
	top:27px;
	left:-2px;
	z-index:500;
	}
	
	nav#mainNav ul li li{
	margin:0;
	float:none;
	width:160px;
	border:0;
	}
  nav#mainNav li li:last-child{border:0;}
	
	nav#mainNav ul li li a{
	width:auto;
	height:auto;
	padding:10px;
	font-size:95%;
	text-align:left;
	border:0;
	}

	nav#mainNav ul li li span{padding:0 10px;}

	nav#mainNav ul li li a:hover,nav#mainNav ul li a:hover span,nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li.current-menu-item a span{border-color:#dad6bb;
background:#eee;}
	
	nav#mainNav li.current-menu-item li a{color:#333;}

	nav#mainNav li.current-menu-item a,nav#mainNav li a:hover,nav#mainNav li.current-menu-item li a:hover{border-color:#dad6bb;
background:#eee;}

	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	#main{
	float:right;
	width:690px;
	margin-top:20px;
	}
/* for 1colmn */
	#main1{
	float:left;
	width:100%;
	margin-top:20px;
	}

	
	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	margin-top:20px;
	}
	
	/* グリッド */
	.grid{width:235px;}
	.col2{width:470px;}
	.col3{width:705px;}
	
	#subpage #sub .grid{
	width:100%;
	float:none;
	padding-bottom:30px;
	}
	
}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing:border-box;
       -moz-box-sizing:border-box;
         -o-box-sizing:border-box;
        -ms-box-sizing:border-box;
            box-sizing:border-box;
	}
	
	h1#desc {padding:0 10px;width:100%}
	#header .logo{padding-left:10px;}
	#header .info{padding-right:10px;}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background:#eee;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight:bold;
	text-align:left;
	}

	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;
	background:#fff;
	}

	nav#mainNav ul li:first-child{border-top:1px solid #dad6bb;}
	nav#mainNav ul li li:first-child{border-top:0;}
	
	nav#mainNav ul li:last-child{border-bottom:1px solid #dad6bb;}
	nav#mainNav ul li li:last-child{border-bottom:0;}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display:block;
	padding:15px 10px;
	text-align:left;
	text-decoration:none;
	border-bottom:1px dashed #dad6bb;
	}

	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 #dad6bb;}

 	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{
	background:#eee;
	}

	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 18px;
	}
	
	nav#mainNav ul li li.current-menu-item a{background:#eee;}

	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:#eee url(images/sub1.png) no-repeat 20px -62px;}

	nav#mainNav ul li li:last-child a{background:url(images/subLast.png) no-repeat 20px 20px;}
	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:#eee url(images/subLast.png) no-repeat 20px -65px;}

	nav div.panel{float:none;}
	
	#main{padding-top:15px;}
	section.toppage{margin:0;}
	#sidebar{padding-bottom:15px;}
	#sidebar article{padding:7px 8px;}
	
	#footer .grid,#footer ul.footnav{float:none;width:100%;text-align:center;}
	ul.footnav li{float:none;display:inline-block;}
	
	.grid,#subpage #sub .grid{width:100%;margin:10px 0;}
	#sub .grid{width:50%;}
	#sub .col2{width:100%;}

	#footer .grid img,#footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	#footer.logo,#footer .info{width:100%;float:none;}
	#footer .logo p{float:none;display:block;	}
	#footer .logo img{float:none;padding:0;}
}


@media only screen and (max-width:640px){
	#header .logo{padding-top:10px;}
	.info{padding:10px 0 0;}
	h1#desc,.logo,.info{text-align:center;}
	
	#header .logo,.info{clear:both;width:auto;float:none;}
  
	#sub .grid{width:100%;}
	
  .alignleft,.alignright{float:none;display:block;margin:0 auto 10px;}
}

@media only screen and (max-width:480px){
	#mainBanner h2,#mainBanner p{font-size:80%;}
}