@charset "utf-8";
/*
Theme Name: 健康ポータル2
Description: 健康ポータル向けレスポンシブ
Version: 1.0
Author: yuji
Author URI: 
*/


/* =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.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.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:small;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
}


/* 共通設定
------------------------------------------------------------*/
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

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


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
background-color:#fff;
	background-image: url(./images/body_bg.gif);
	background-repeat: no-repeat;
	background-position: center 10px;
}

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


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

.logo #description{
padding:0;
font-size:10px;
font-weight:normal;
}

#header a #description{
 color:#333!important;
}

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

.logo #sitetitle{float:left;}

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

.logo span{display:block;}

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

.info .open{font-size:11px;}


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

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

/******************
/* ヘッダーナビゲーション
******************/
#header ul{
	top: 40px;
	min-width: 220px;
	height: 14px;
	line-height:14px;
	text-align: right;
	float: right;
}

#header ul li{
	float:right;
	list-style:none;
	margin-left: 10px;
}

#header ul a{
	text-decoration: none;
	display: block;
	height: 14px;
	color: #999;
	padding-left: 16px;
	font-size: 12px;
}


#header ul a:hover, #header ul li.active a{
	color: #CCC;
	}



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

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

#subpage #mainBanner img{border:4px solid #f1f1f1;}

.slogan{
position:absolute;
max-width:50%;
height:auto;
top:20%;
left:20px;
padding:5px 10px;
line-height:1.4;
color:#333;
/*
background-color:#fff;
     filter: alpha(opacity=60);
    -moz-opacity:0.60;
    opacity:0.60;
border-radius:10px;
*/
}

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


/**************************
/* トップページ2カラム化
**************************/
#top2column{
width:auto;
margin-bottom:20px;
}

#top2column .box{
	float:left;
	padding:10;
	margin:0;
	width:297px;
	margin-left:15px;
}
#top2column .boxarray0{
	margin-left:0;
}

#top2column .box .eyecatch a{
max-width:100%;
height:auto;
border:4px solid #f1f1f1;
display:block;
}
#top2column .box .eyecatch {
position:relative;
}
#top2column .box .eyecatch span{
position:absolute;
top:40%;
left:5%;
}
#top2column .box .eyecatch img{
float:right;
}


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

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.box{
margin:0 5px;
padding:10px;
border:1px solid #f1f1f1;
}
/*
.box img{
max-width:100%;
height:auto;
border:4px solid #f1f1f1;
}
*/

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

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

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

#footer #footer-menu .box {
min-height:180px;
}


/*************
メイン コンテンツ
*************/

#breadcrumb-list ul li {
	float: left;
	font-size: 10px;
	list-style-type: none;
	background-image: url(./images/bullet.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 10px;
	margin-right: 10px;
}

#breadcrumb-list ul{
	margin-right: 10px;
	margin-left: 10px;
}
#breadcrumb-list {
	padding :0 5px ;
	height: 20px;
	margin-bottom:5px;
}
#breadcrumb-list ul  li.top {
	background-image: none;
	padding-left: 0px;
}



section.content article{
padding:20px;
margin-bottom:20px;
border:1px solid #f1f1f1;
overflow:hidden;
font-size:110%;
}

* html section.content article{height:1%;}

section.content p{margin-bottom:2em; line-height:1.8em;}

h3.heading{
font-weight:normal;
padding:0 10px;
line-height:36px;
color:#333;
background:#f1f1f1;
}

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

#gallery .grid img,.border,ul.list img{border:4px solid #f1f1f1;}

#main .column {
	background-color: #EFF;
	padding: 15px;
	border: 1px solid #999;
	margin-bottom: 15px;
	border-radius: 10px 10px 10px 10px;        /* CSS3草案 */
	-webkit-border-radius: 10px 10px 10px 10px;   /* Safari,Google Chrome用 */
	-moz-border-radius: 10px 10px 10px 10px;  /* Firefox用 */
}

#main #books-column a {
	background-color: #F7F7F7;
	float: left;
	margin-right: 2%;
	border: 1px solid #CCC;
	width: 40%;
	margin-bottom: 15px;
	padding: 15px;
	height: 220px;
	font-size: 85%;
	border-radius: 10px;        /* CSS3草案 */
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 10px;   /* Firefox用 */
	overflow:hidden;
}
#main #books-column img {
	display: block;
}
#main #books-column h3 {
	clear: left;
}

article .link-list a{
	font-weight:bold;
	display:block;
	
}

article .link-list li{
    list-style: decimal outside none;
    margin: 0 0 1.5em 1em;
}


/**************************
/* お問い合せボタン
**************************/


.wpcf7-form button, .wpcf7-form input[type=button],  
.wpcf7-form input[type=reset], .wpcf7-form input[type=submit],
input.wpcf7-submit,input.submit {  
border-radius: 5px;
    padding: 10px 25px 8px;  
}  



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

h1.page-title{

	font-size: 18px;
	background-image: url(./images/h1_categorytitle.png);
	background-repeat: no-repeat;
	height: 50px;
	padding-left: 30px;
	margin-bottom: 20px;
	padding-top: 30px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}



.content article h2{
	font-weight:normal;
	margin-bottom:20px;
	line-height:41px;
	font-size: 16px;
	color:#252525;
	background-image: url(./images/h2_point.png);
	background-repeat: no-repeat;
	background-position: left center;
	height: 41px;
	padding-top: 0;
	padding-right: 5px;
	padding-bottom: 0;
	padding-left: 25px;
	
}
.content article h3,
.content article h1.termtitle{
	font-weight:normal;
	margin-bottom:10px;
	padding-bottom:5px;
	color: #252525;
	background:url(images/h3.gif) repeat-x 0 100%;
	font-size:16px;
}
.content article h4{
	font-weight:normal;
	margin-bottom:10px;
	padding-bottom:5px;
	color: #252525;
	border-bottom:2px solid #ccc;
	font-size:16px;
	
}


/*************
テーブル
*************/
table.bordered{
border-collapse:collapse;
margin:5px auto 15px auto;
}

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

table.bordered 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:bold;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}

table.bordered th.col{
text-align:center;
border-top:1px solid #D4D4D4;
border-right:1px solid #D4D4D4;
border-bottom:4px solid #D4D4D4;
border-left:1px solid #D4D4D4;
}



/*************
/* 前後ナビ
*************/


#next-nav {
    padding-bottom: 30px;
    padding-top: 30px;
    text-align: center;
}
#next-nav div {
    background-color: #F9F9F9;
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    width: 300px;
}
#next-nav div a {
    background-repeat: no-repeat;
    display: block;
    height: auto;
    padding-bottom: 10px;
    padding-top: 10px;
    width: auto;
}
#next-nav .prev {
    float: left;
}
#next-nav .prev a {
    background-image: url("images/page-navigation_01.png");
    background-position: 10px center;
}
#next-nav .next a {
    background-image: url("images/page-navigation_02.png");
    background-position: 95% center;
}
#next-nav .next {
    float: right;
}

/*************
/* 広告コード
*************/

.adwidget{
	text-align:center;
	color:#c0c0c0;
	font-size:85%;
	margin-bottom:1.5em;

}



/*************
/* サイドバー
*************/
#sidebar ul{padding:10px;}

#sidebar li{
margin-bottom:0.2em;
padding-bottom:0.2em;
list-style:none;
border-bottom:1px dashed #f1f1f1;
}

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

#sidebar  li a{
display:block;
padding-left: 1em;
padding-top: 0.5em;
height:2em;
    background-image: url("images/bullet2.gif");
    background-position: 2px center;
    background-repeat: no-repeat;
}


#sidebar  li a:hover,
#sidebar  li.current-page-item a{
font-weight:bold;
color:#333;
background-color:#f1f1f1;
}


#sidebar li a{display:block;}

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

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 .textwidget,
#sidebar ul {
	padding:7px;
	margin-bottom:20px;
	border:1px solid #f1f1f1;
	overflow:hidden;
}

#sidebar .adsense{
}

#sidebar .widget h3 {
	 background-color: #FFF;
	color: #666;
	font-size:0.8em;
    display: block;
    height: auto;
    padding: 8px;
    width: auto;
	border:none;
}

#sidebar .sub_navi-widget h3,
#sidebar .widget_nav_menu h3 {
    /*background-image: url("./images/h1_categorytitle.png");
    background-position: left top;
    background-repeat: no-repeat;*/
 background-color: #F5F5F5;
	font-size:1.12em;
    display: block;
    height: auto;
    padding: 10px;
    width: auto;
}


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

* html #footer{height:1%;}

#footer .grid{
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;
color:#333;
}

.footnav ul{
float:right;
width:auto;
padding:10px 0;
margin-top:20px;
}

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

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

address{
clear:both;
padding:5px;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
background:#dbdbdb;
}


#footer #footer-menu {
	clear:both;
/*    background: url("images/footerBorder.png") repeat-y scroll 0 0 rgba(0, 0, 0, 0);*/
	max-width:960px;
	margin:auto;
}

#footer #footer-menu .box {
    float: left;
    line-height: 1.2;
    margin: 0 10px 10px 0;
    padding: 0 20px 0 10px;
    width: 198px;
	border-right:1px solid #ccc;
}
#footer #footer-menu .last {
	border-right:0px solid #ccc;
}

#footer #footer-menu .box h5 {
	color:#666;
	border-bottom: 1px solid #ccc;
	font-weight:bold;
	font-size:1.1em;
	margin-bottom:0.2em;
}
#footer #footer-menu .box li {
	list-style: disc inside url("./images/bullet2.gif");
}



/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header,#wrapper,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	margin-bottom:10px;
	}
	
	nav#mainNav .inner{
	width:955px;
	/*padding:0 14px;*/
	margin:auto;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li:last-child{border-right:1px dotted #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	height:55px;
	line-height:55px;
	color:#fff;
	border-left:1px dotted #ebebeb;
	}

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

	nav#mainNav ul li a span{
	color:#cdcdcd;
	font-size:10px;
	}

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

	a#menu{display:none;}



	nav#mainNav li.active a, nav#mainNav  li.current_page_item a, nav#mainNav li.current-menu-item a, nav#mainNav li.current-page-ancestor a{
	color:#000;
	background:#e9e9e9;
	}

	nav#mainNav li a:hover{
	color:#000;
	background:#f9f9f9;
	}
	
	#mainBanner{margin-left:15px;}
	#subpage #mainBanner{margin:17px auto;}
	
	#main{
	float:right;
	width:655px;
	padding-right:15px;
	}

	.positionright #main{
	float:left;
	width:655px;
	padding-right:0px;
	padding-left:15px;
	}
	
	#sidebar{
	float:right;
	width:266px;
	padding:0 15px 0 0;
	overflow:hidden;
	}
	.positionright #sidebar{
	float:right;
	width:266px;
	padding:0 15px 0 0;
	overflow:hidden;
	}

	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-right:20px;
	}
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
}


@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;
	}
	body {
		background-image: url(./images/header_responsive.png)!important;
	}
	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.menu 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 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;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#73a51c;}

	nav div.panel{float:none;}

	h1.page-title{

	font-size: 18px;
	background-image: url(./images/h1_categorytitle.png);
	background-repeat: repeat-x;
	height: 3em;
	padding-left: 2em;
	margin-bottom: 2em;
	padding-top: 1em;
	}

	.slogan {
	    left: 10px;
	    max-width: 70%;
	    top: 10%;
	}
	.slogan h2{
		font-size:16px;
	}
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}

	#top2column .box{
	width:48%;
	}

	/*	
	#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 #sitetitle {
	    float: none;
	}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
*/
	.box img{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#gallery .grid{float:left;}
	#header ul{
		display:none;
	}
	.logo #sitetitle {
	    margin-bottom:0.5em;
	}

	.slogan {
	    left: 10px;
	    max-width: 80%;
	    top: 25%;
	}
	.slogan h2{
		font-size:16px;
	}
	.slogan .textwidget{
		display:none;
	}
	#next-nav div {
	    width: 48%;
	}

}



/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner .textwidget{font-size:90%;}

	#footer #footer-menu .box {
		width: 100%;
		border:none;
		min-height:50px;
	}
	#top2column .box{
	width:100%;
	margin-left:0;
	}
	#top2column .boxarray0{
	margin-bottom:15px;
	}
}
