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

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

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

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

*/

/* =Reset default browser CSS.
Based on work by Eric Meyer:https://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-size:0.86em;
font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
line-height:1.5;
background:#fef4f5;
-webkit-text-size-adjust:100%;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#466eeb;text-decoration:none;}
a:hover{color:#200c8b;}
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;
width:90%;
line-height:1.5;
}

/*input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background:#cf6a88;
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:#a74864;
cursor:pointer;
}
*/

/* 全体
------------------------------------------------------------*/

strong {
    background: linear-gradient(transparent 80%, #ffff66 80%);
}

#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
background:#fff;
}

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

h1{
display:inline; 
}

h2{
clear:both;
font-weight:bold;
font-size:1.3em;
padding:0 10px;
line-height:36px;
color:#666;
background:#666;
text-align: center;
padding-top:25px;
border-bottom: 2px solid #dddddd;
background:url(images/title_bg.png) no-repeat 0 100%;
height:60px;
}

#sptopmidashi h1.sptoph{
display:block;
clear:both;
font-weight:normal;
font-size:1.2em;
margin:0;
padding:0;
line-height:0px;
color:#000000;
background:#000000;
text-align: left;
padding-top:15px;
padding-left:10px;
margin-bottom:10px;
border-bottom: 0px solid #dddddd;
border-left:20px solid #dccfb8;
background:url() no-repeat 0 100%;
height:18px;
}



#topmidashi h2.midashi2{
clear:both;
font-weight:normal;
font-size:1.2em;
padding:0;
line-height:0px;
color:#000000;
background:#000000;
text-align: left;
padding-top:15px;
padding-left:10px;
border-bottom: 0px solid #dddddd;
border-left:20px solid #dccfb8;
background:url() no-repeat 0 100%;
height:18px;
}

#topmidashi h3.midashi3{
clear:both;
font-weight:normal;
font-size:1.2em;
padding:0;
line-height:0px;
color:#000000;
background:#000000;
text-align: left;
padding-top:15px;
padding-left:10px;
margin-bottom:10px;
border-bottom: 0px solid #dddddd;
border-left:20px solid #dccfb8;
background:url() no-repeat 0 100%;
height:18px;
}


#main h3{
font-size:150%;
border-bottom:1px solid #FF0000;
margin-bottom:20px;
}

#main h4{
background: url(images/h4marker.png) no-repeat 0 0px;
padding-left:35px;
font-size:130%;
margin-bottom:20px;
}


#main .main-box h3{
disply:block;
width:610px;
height: 45px;
background: url(images/main_h4_bc.jpg) no-repeat 0 0px;
color:#000;
font-size: 16px;
padding:16px 0 0 40px;
margin-left:20px;
border-bottom:0px solid #FF0000;
}

#main .main-box h4{
background: url(images/h4marker.png) no-repeat 0 0px;
padding-left:35px;
font-size:110%;
margin-bottom:20px;
}


/*************
/* ヘッダー
*************/
#header{
height:110px;
}

#header h1{
padding:5px 0 10px 10px;
font-size:12px;
font-weight:normal;
}

/*************
/* ロゴ
*************/
.logo{
float:left;
}

.logo2{
float:left;
margin-top:20px;
margin-left:10px;
}

.logo p{float:left;}

.logo img{
width:auto;
float:left;
padding:0 5px 0 10px;
}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
float:right;
margin-top:20px;
padding-right:20px;
padding-left:20px;
text-align:center;
}

.info .open{font-size:1.1em;}


/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
color:#cf6a88;
font-size:24px;
font-weight:bold;
}

.logo span,.info span{
color:#333;
font-size:.6em;
font-weight:normal;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:17px auto;
padding:0;
width:100%;
position:relative;
line-height:0;
z-index:0;
}

#mainBanner img{
max-width:100%;
height:auto;
border:4px solid #ebebeb;
}

/*.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
color:#fff;
background-color:rgba(0,0,0,0.4);
}

.slogan h2{
padding-bottom:5px;
font-size:20px;
}
*/

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

* html .gridWrapper{height:1%;}
	
.grid{
overflow:hidden;
background:#fff;
border:1px solid #ebebeb;
}

.box{
margin:0 5px;
padding:10px;
}

.box img{
max-width:100%;
height:auto;
border:4px solid #ebebeb;
}

.box h3{padding:10px 0 5px;}

.box h3, .box p{text-align:left;}

.box p.readmore{
padding:10px 5px 5px;
text-align:right;
}



/*************
メイン コンテンツ
*************/
section.content article{
padding:20px;
margin-bottom:20px;
border:1px solid #ebebeb;
overflow:hidden;
}

section.toppage article,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{
clear:both;
font-weight:bold;
font-size:1.5em;
padding:0 10px;
line-height:36px;
color:#666;
background:#666;
text-align: center;
padding-top:25px;
border-bottom: 2px solid #dddddd;
background:url(images/title_bg.png) no-repeat 0 100%;
height:60px;
}*/

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;}


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

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

#sidebar li{
margin-bottom:10px;
padding-top:5px;
padding-bottom:5px;
/*padding-bottom:10px;*/
list-style:none;
border-bottom:1px dashed #ebebeb;
border-left:3px solid #867364;
padding-left:10px;
}

#sidebar li:last-child{
border:0;
margin-bottom:10px;
border-left:3px solid #867364;
padding-left:10px;
}

#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;
}

#sidebar a{color:#666;text-decoration:none;}
#sidebar a:hover{color:#a74864;}

#sidebar h3{
color: #fff;
background-color: #a74864;
padding: 3px 0 1px 5px;
margin: 5px; 0 5px 0;
}

#sidebar h4{
color: #fff;
background-color: #a74864;
padding: 3px 0 1px 5px;
margin: 5px; 0 5px 0;
}

#sidebar h5{
color: #fff;
background-color: #000;
padding: 3px 0 1px 5px;
margin: 5px; 0 5px 0;
}

/*************
/* フッター
*************/
#footer{
clear:both;
overflow:hidden;
padding:10px 10px 20px 10px;
background:#e8e8e8;
}

* html #footer{height:1%;}

#footer .grid{
float:left;
padding:10px 0 5px;
margin:0;
background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
clear:both;
padding:10px 0 0 15px;
text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{font-size:12px;}

ul.footnav{
float:right;
width:620px;
padding:10px 0;
}
ul.footnav ul{display:none;}

ul.footnav li{
float:left;
margin-bottom:10px;
padding:0 10px 0 8px;
border-right:1px solid #b6b6b6;
}

#footer a{color:#333;}

#footer a:hover{color:#888;}

#copyright{
clear:both;
padding:5px;
text-align:center;
font-style:normal;
font-size:12px;
color:#fff;
background:#333;
}


/* 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 ul{margin:0 0 10px 20px;}

.post ul li{list-style:circle;}

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

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


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

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



.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:5px auto 15px auto;
}

.post table td{
border-collapse:collapse;
background-color:#f9f9f9;
text-align:left;
padding:8px;
border:1px solid #d6d6d6;
line-height:20px;
}

.post table th{
background-color:#f5f5f5;
text-align:right;
padding:8px;
white-space:nowrap;
color:#151515;
border-top:1px solid #d4d4d4;
border-right:4px solid #d4d4d4;
border-bottom:1px solid #d4d4d4;
border-left:1px solid #d4d4d4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


.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){
	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}
	
  nav#mainNav{
	padding:0 14px;
	clear:both;
	height:60px;
	z-index:200;
	position:relative;
/*	background:url(images/topnavBg.png);*/
background:#f2bdd1;
	}

	nav#mainNav ul li{
	float:left;
	position:relative;
	}
	nav#mainNav li:last-child{border-right:1px solid #ebebeb;}

	nav#mainNav ul li a{
	display:block;
	text-align:center;
	_float:left;
	font-size:13px;
	width:154px;
	height:45px;
	padding-top:15px;
	color:#333;
/*	background:url(images/topnavSep.png);*/
background:#f2bdd1;
	border-left:1px solid #ebebeb;
	}

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

	nav#mainNav ul li a span{
	color:#a74864;
	font-size:10px;
	}
	
	nav#mainNav ul ul{width:160px;}
	nav#mainNav ul li ul{display:none;}

	nav#mainNav ul li:hover ul{
	display:block;
	position:absolute;
	top:58px;
	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 li.current-menu-item a{color:#fff;}
	
	nav#mainNav li.current-menu-item li a{
	background-position:0 0;
	color:#333;
	}

	nav#mainNav li.current-menu-item a,nav#mainNav li a:hover,nav#mainNav li.current-menu-item li a:hover{
	color:#000;
background:#f4e9ef;
	background-position:0 -60px;
	}
	
	#mainBanner{margin-left:15px;}

	#wrapper,.inner{
	width:960px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	#main{
	float:right;
	width:717px;
	padding:15px 15px 15px 0;
	}
	
	#sidebar{
	float:left;
	width:195px;
	padding:15px 0 15px 15px;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	display:table;
	border-collapse:separate;
	border-spacing:20px;
	}
	
	/* グリッド */
	.grid{
	width:300px;
	display:table-cell;
	}
}


@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;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background:-webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background:-moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background:-o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background:-ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background:linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
  border:1px solid #e4e4e4;
	}

	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;
	}

	nav#mainNav ul li:first-child{border-top:1px solid #e4e4e4;}
	nav#mainNav ul li li:first-child{border-top:0;}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display:block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}

	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 #e4e4e4;}

 	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:#a74864;
	}

	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,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: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: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{width:100%;margin:10px 0;}
	.box p.readmore{text-align:left;}
	.box img{max-width:180px;float:left;margin:0 10px 10px;}
	
	.box h3{padding-top:0;}

	#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{height:auto;padding-bottom:20px;}
	
	#header h1,.logo,.info{text-align:center;}
	
	.logo,.info{clear:both;width:100%;float:none;}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}

  .alignleft,.alignright{float:none;display:block;margin:0 auto 10px;}
}

@media only screen and (max-width:480px){
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
}

/* カスタマイズ
*******************************/

@media screen and (max-width: 600px){
.screensize {       display:none;}
}

@media screen and (min-width: 600px){
.screensize2 {       display:none;}
}

.headerlogo{
width:100%;
}

.linkbtn{
width:100%;
height:auto;
}

/*トップページ*/

.top-image-margin {
margin-right:8px;
}

#link-right{  
    position:fixed;  
    top:250px;  
    right:0;  
} 

#top-img1{
width:885px;
height:321px;
background-image:url(images/top-img01.jpg);
font-size:12px;
}

.middle-text{
width:400px;
padding-top:50px;
margin-left:300px;
line-height:150%;
}

#top-img2{
width:885px;
height:387px;
background-image:url(images/top-img02.jpg);
font-size:12px;
}

.toptext{
width:700px;
margin-left:130px;
padding-top:100px;
}

.middlepics{
width:885px;
margin-top:20px;
text-align:center;
}

.img-right-margin{
margin-right:50px;
}

.bottomtext{
width:800px;
margin-left:80px;
margin-top: 15px;
}

.img-right-margin{
margin-right: 10px;
}

/*下層ページ*/
.main-box{
width: 680px;
border: solid 1px #ccc;
margin-bottom: 3px;
}

/*.main-box h4{
disply:block;
width:610px;
height: 45px;
background: url(images/main_h4_bc.jpg) no-repeat 0 0px;
color:#000;
font-size: 16px;
padding:16px 0 0 40px;
}*/

.main-text {
width: 620px;
padding-left: 30px;
}

.main-small-box {
width:650px;
margin-left: 40px;
}

.main-small-box .box1, .box2, .box3{
width: 170px;
float:left;
background-color:#eae5d8;
margin-right: 10px;
margin-bottom:20px;
padding:10px;
}

.clear {
clear:both;
}

.main-box-long{
width: 600px;
border: #3E2F42 dashed 2px;
margin: 0 0 20px 30px;
background-color:#F7F9DE;
padding:10px;
}

.top-image-margin {
margin-right:8px;
}

#link-right{  
    position:fixed;  
    top:250px;  
    right:0;  
} 

.text-center{
width:600px;
margin-left:50px;
}

/*フッター*/
#49 {
margin-left:20px;
font-size:11px;
line-height:180%;
color:#999;
}

.clinicname{
font-size:11px;
line-height:180%;
color:#999;
}

/*サイドバー*/

.mail-left{
margin-top:10px;
margin-left:20px;
}

.sidelink{
margin-bottom:10px;
}


/*投稿ページ*/
h2.postmidashi{
clear:both;
font-weight:normal;
font-size:180%;
padding:0 10px;
line-height:36px;
color:#666;
background:#fff;
text-align: left;
padding-top:25px;
border-bottom: 2px solid #dddddd;
background:#fff;
height:65px;
}

h3.postmidashi{
font-size:150%;
border-bottom:1px solid #FF0000;
margin-bottom:20px;
}


h4.postmidashi{
background: url(images/h4marker.png) no-repeat 0 0px;
padding-left:35px;
font-size:140%;
margin-bottom:20px;
}

.wpcf7-submit {
font-size: 17px;
padding: 6px 25px 30px 25px;
background: #DB7093; 
color: #fff;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-top: none;
border-right: none;
border-left: none;
border-bottom: solid 4px #dcdcdc;
}

.wpcf7-submit:hover {
background-color: #ff6699;
color: #fff;
}
