/*
Theme Name: sagaseikyo
Description: 佐賀県精神病院協会様Webサイト専用テーマ
Version: 1.0
 */
@charset "utf-8";

*{margin:0;padding:0;}

html{background:#ffffff;}

body{
font: 13px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#252525;
background:#ffffff url("images/header.png") repeat-x top center;
}

body#sub {
background: url("images/header_sub.png") repeat-x;
}

/*******************************
テキストカラー
*******************************/
.color_lg{
	color: #7cc229;
	}
.color_gd{
	color: #857d53;
	}
.color_rd{
	color: #f00;
	}

/*******************************
clearfix
*******************************/
.cf:before,
.cf:after {
	content:"";
	display:table;
}
.cf:after {
	clear:both;
}
.cf {
	zoom:1;
}

/*******************************
リンク
*******************************/
a{color:#e5b67a;}
a:hover{color:#585a40;text-decoration:none;}
a:active, a:focus {outline: 0;}
img{border:0;}
.clear{clear:both;}
p{margin-bottom: 10px;}
.center{text-align:center;}
.right{text-align:right;}

.go_gaibu{
background: url("images/ico_gaibu.gif") no-repeat right center;
padding: 5px 15px 5px 0;
color: #e5b67a;
}
.go_gaibu:hover{
color: #585a40;
}

.go_pdf{
background: url("images/ico_pdf.gif") no-repeat right center;
padding: 5px 18px 5px 0;
}

a:hover img{
	opacity: 0.8;
	filter: alpha(opacity=30);
	-ms-filter: "alpha( opacity=30 )";
	background: #fff;
	}


/*******************************
注意事項
*******************************/
.focus{
margin: 10px 0;
padding: 15px;
background: #e9f4de;
}

.attention{
margin: 10px 0;
padding: 15px;
background: #ffb8c4;
font-weight: bold;
}

.kome{
text-indent:-1em;
padding-left:1em;
}


/*******************************
全体幅
*******************************/
#header, #container, .inner{
margin: 0 auto;
width: 960px;
}


/*******************************
/* ヘッダー
*******************************/
#header{
position:relative;
height: 130px;
}

#header h1,#header h2, #header h3, #header ul, #header .banners{
font-weight:normal;
position:absolute;
top:0;
color: #333;
font-size: 10px;
line-height: 21px;
}

#header h2{right:0;}

/* ロゴの位置 */
#header h3{top: 50px;}


/************************************
/* メインナビゲーション
************************************/
ul#mainnav{
margin: 0 auto;
width: 960px;
height: 60px;
background:url("images/mainnav.png") no-repeat 0 0;
}

ul#mainnav li{float:left;list-style:none;width:192px;}

ul#mainnav a{
text-indent: -9999px;
text-decoration: none;
display: block;
width: 192px;
height: 60px;
background:url("images/mainnav.png") no-repeat 0 0;
}

ul#mainnav a#home{background-position:0 0;}
ul#mainnav a#menu1{background-position:-192px 0;}
ul#mainnav a#menu2{background-position:-384px 0;}
ul#mainnav a#menu3{background-position:-576px 0;}
ul#mainnav a#menu4{background-position:-768px 0;}


ul#mainnav a#home:hover, ul#mainnav li.active a#home{background-position:0 -60px;}
ul#mainnav a#menu1:hover, ul#mainnav li.active a#menu1{background-position:-192px -60px;}
ul#mainnav a#menu2:hover, ul#mainnav li.active a#menu2{background-position:-384px -60px;}
ul#mainnav a#menu3:hover, ul#mainnav li.active a#menu3{background-position:-576px -60px;}
ul#mainnav a#menu4:hover, ul#mainnav li.active a#menu4{background-position:-768px -60px;}



/*******************************
メイン画像
*******************************/

#slideshow {
   position: relative;
   width:  960px; 
   height: 300px;
   margin: 0 auto; 
}
#slideshow img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 8;
   opacity: 0.0;
}
#slideshow img.active {
   z-index: 10;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 9;
}

/*******************************
コンテンツ位置
*******************************/
#container{
padding: 20px 0;
}

#main {
float: left;
width: 715px;
padding-bottom:40px;
}

#sidebar {
float: right;
width: 225px;
padding-bottom:40px;
font-size:13px;
}


/*************************
/* ボックスの囲み
/* .boxContainer
/* 背景画像でボックスの高さを調整
/* 
/* 各ボックス
/* .box1 1番目の2つのbox
/* .box2 2番目の3つのbox（画像）
/* .box3 3番目の2つのbox
/* .box4 4,5番目の1つのbox
/* #sidebar .box1 サイドバーのbox
*************************/
.boxContainer{
width:715px;
margin:0 auto 20px;
background:url("images/box1.gif") 0 100%;
}

.box1,.box2, .box3, .box4{
float: left;
width: 225px;
margin: 0 20px 20px 0;
}

.box1, .box3, .box4{
width:327px;
margin:0 21px 0 0;
padding: 10px;
border-top:1px solid #dadada;
}

#sidebar .box1{
width:209px;
margin: 0 0 20px;
padding: 10px 7px;
border:1px solid #dadada;
background: #fff;
}

.box3{
width:347px;
padding:0 0 10px;
}

.box4{
margin:0 0 20px 0;
padding:0;
width:715px;
border:1px solid #dadada;
background: #fff;
}

/* 最後のbox */
.last{margin-right:0;}


/* 画像を中央表示 */
.box1 .center{padding-bottom:10px;}

/* 画像を左に回りこみ */
.box4 img{
float:left;
margin: 0 10px 10px;
}

.box4 h4 img{float:none;margin:0 0 10px;}

.box4 p{padding: 0 10px 10px;}



#date {
text-align: right;
padding-right: 15px;
padding-top: 5px;
padding-bottom: 10px;
font-weight:bold;
color:#858585;
}

#next {
text-align: center;
padding-top: 30px;
padding-bottom: 30px;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}
img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}

.box_img_border{
   border: 1px solid #cccccc;
   padding: 1px;
  margin: 1px;
}


/*************
/* 見出し
*************/
.box3 h4{margin-bottom:10px;}

#container h3{
margin-bottom:10px;
padding-bottom:5px;
color: #857d53;
font-weight: normal;
border-bottom: 1px solid #dddddd;
}

#container h2{
padding: 0 5px 0 24px;
margin-bottom:10px;
line-height:37px;
font-size: 14px;
font-weight: normal;
color:#857d53;
background:url("images/h2Bg.png") no-repeat 0 100%;
}

#container h4{
margin-bottom:10px;
padding-bottom:5px;
color: #857d53;
font-size:14px;
font-weight: normal;
border-bottom: 1px dotted #dddddd;
}


#container h5{
margin-bottom:10px;
padding-bottom:5px;
font-size: 14px;
color: #857d53;
font-weight: normal;
}


#container .box4 h3{
padding: 7px 5px;
}

.box4 h4{
margin-bottom:10px;
text-decoration:none;
}

/*************
/* リスト
*************/

#container ul.basic {
margin-left: 5px;
}

#container ul.basic li, #footerUpper ul li{
list-style: none;
margin-bottom: 8px;
padding: 0 5px 0 12px;
background:url("images/bullet.gif") no-repeat 0 5px;
}

#container ul {
margin-left: 20px;
}

#container .box3 ul{padding: 0 5px;}

#sidebar ul{margin-left:3px;}

ol{
padding-left: 25px;
}

dl dt{
margin-left:5px;
color: #704d26;
font-weight: bold;
}

dl dd{
margin-left: 20px;
}


/*************
/* テーブル
*************/
caption{
text-align: left;
margin-bottom: 3px;
font-weight: bold;
}

table{
border-collapse: collapse;
margin: 5px 0;
}

table th,td{
padding: 10px;
empty-cells: show;
border: 1px solid #dddddd;
}

table th{
background: #e9f4de;
text-align: center;
color: #704d26;
font-weight: normal;
}

/*************
画像の配置
*************/
.center_img{
	display: block;
	margin: 15px auto;
	text-align: center;
	}
.left_img{
	float: left;
	margin: 0 20px 5px 0;
	text-align: center;
	}
.right_img{
	float: right;
	margin: 0 0 5px 20px;
	text-align: center;
	}

/*************
サイド（右側）コンテンツ
*************/
#sidebar p{margin-bottom:10px;}
#sidebar ul{margin-bottom:10px;}

#sidebar .side_movie{
	padding: 5px;
	border: 1px solid #ddd;
	color: #857d53;
	text-align: center;
}

#sidebar .side_movie p{
	color: #857d53;
	margin: 5px 0 10px;
	font-size: 1.1em;
}

#sidebar .side_movie img{
	margin-bottom: 10px;
}



/*******************************
/* フッター
*******************************/
#footerUpper{
clear:both;
padding: 20px 0;
border-bottom:1px solid #fff;
overflow: hidden;
background:#e4f1d5;
}


#footerUpper .inner .box{
float: left;
width: 250px;
padding-left:10px;
margin:0 20px 10px 0;
line-height: 1.2;
}

#footerUpper .inner .last{
float: right;
width: 220px;
margin-right:0;
}

#footerUpper .inner .last p .houjin{
color: #7fc328;
font-weight: bold;
}

#footerUpper .inner .last p .kyoukai{
font-size: 1.2em;
line-height: 1.7em;
}


#footerUpper ul li{
color:#fff;
background:url("images/bullet.gif") no-repeat 0 3px;
}


#footerUpper a{color:#666;}
#footerUpper a:hover{color:#857d53;}

#footerLower{
clear:both;
padding: 10px;
text-align:center;
border-top:1px solid #fff;
background:#e6e6e6;
}

address{
color: #666;
font-style:normal;
font-size:13px;
}



/*******************************
会長あいさつ
*******************************/

.sentence {
float: left;
width: 490px;
margin: 0 20px 20px 0;
}

.sentence p {
line-height: 220%;
}

.name {
font-size: 1.5em;
padding-right: 10px;}

.sign {
text-align: right;
}


/*******************************
こんな症状でお悩みの方
*******************************/

p.nayami_txt {
padding: 0 20px 0 10px;
}

/* ul_box */

.ul_box {
	float: left;
	width: 100%;
	list-style: none;
	margin: 20px 0 50px;
	padding-left: 0;
}

.ul_box li{
	float: left;
	width: 325px;
	margin: 10px 0;
	padding-left:0;
	list-style: none;
	font-size: 14px;
}

.ul_box li.margin{
	margin-right: 20px;
}


.ul_box li a{
	display: block;
	padding: 7px 10px 7px 35px;
	background-image: url("images/bullet.gif");
	background-position: 20px center;
	background-repeat: no-repeat;
	border: 1px solid #B3B3B3;
	color: #333;
	text-decoration: none;
}

.ul_box li a:hover{
	background-color: #ECD7BD;
}


a.back {
	clear: both;
	display: block;
	width: 150px;
	margin-top: 30px;
	margin-left: 350px;
	margin-bottom: 30px;
}


/*******************************
笑顔を忘れたあなたへ
*******************************/

.movie{
	text-align: center;
	margin: 20px 0;
	max-width: 100%;
}
.movie iframe{ max-width: 100% !important;}

.author{
	margin: 20px 0 0;
}



/*******************************
新着情報
*******************************/

#news{
	clear: both;
	padding-bottom: 10px;
}

#news_list{
	margin: 0px;
	text-align: left;
}

#news_list li{
	list-style: none;
	padding: 10px 0px;
}

#news_list li span{
	width: 530px;
	float: left;
	display: inline-block;
	color: #666;
}
#news_list li span img{
	vertical-align: middle;
	padding: 0 0 3px 10px;
	float: none;
	margin: 0;
}
#news_list li span.date{
	width: 120px;
	margin-right: 1em;
	font-weight: bold;
}

#news_list li a{
	display: block;
	padding: 10px 5px;
	float: left;
	text-decoration: none;
	border-bottom: 1px dotted #DFDFDF;
}

#news_list li a:hover{
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
}

/* 一覧へ */
#news .more{
	clear: both;
	display: block;
	float: right;
	text-align: center;
	margin: 0px 3px 0 0;
}
#news .more a{
	display: block;
	width: 60px;
	text-align: left;
	padding-left: 1.2em;
	height: 34px;
	line-height: 35px;
	text-decoration: none;
	background: url("images/bullet.gif") left center no-repeat;
}

/* pager */

.pager{
	clear: both;
	margin: 0px 20px;
	padding: 20px 0;
	text-align: center;
}
.pager a{
	border: 1px solid #b9d9a5;
	color: #333;
	display: inline-block;
	padding: 5px 10px;
	margin: 0 3px;
	text-decoration: none;
	background-color: #FFF;
}
.pager a:hover, .pager a.current{
	background-color: #E3F7D7;
}


/*******************************
wpコンテンツ
*******************************/

#wp_block{
	clear: both;
	padding: 20px 5px 0;
	margin-bottom: 10px;
	min-height: 450px;
}

#wp_block h3{
	padding-top: 10px;
}

#wp_block .date{
	float: right;
	display: block;
	font-size: 14px;
	color: #857d53;
	margin-bottom: 20px;
}

	
#wp_block ol{
	padding-left: 2.5em;
}
#wp_block ul{
	margin-left: 2em;
	list-style: disc;
}


.sp{ display: none;}
.mb10{ margin-bottom: 10px;}
/*--sp------------------------------*/
@media screen and (max-width: 719px)
{
	#acMenu dt{display:block;width:100%; padding: 15px 5px;text-align:center;background: #E9F4DE;cursor:pointer; margin: 0;}
	#acMenu dd{display:none;margin:0px;padding:0px;}
	#acMenu dd ul{list-style:none;margin:0px;padding:0px;list-style-position:outside;}
	#acMenu dd ul li{margin: 0;padding: 0;list-style-position:outside;}
	#acMenu dd ul li a{ display: block;width:100%;text-align:center;background: #E9F4DE; border-top:1px solid #ddd; padding: 15px 5px; font-weight: bold;color:#7E7345;}
	.sp{ display: block;}
	#slideshow{ height: auto;}
	#header{ height: auto;}
	img{ max-width: 100%; height: auto;}
	
	.boxContainer{ background: none;}
	#main,#sidebar{ width: 94%; margin: 0 3%;}
	#sidebar{ text-align: center;}
	.side_movie a{ display: block; width: 100%;}
	.box1{ border-left: 1px solid #dadada; border-right: 1px solid #dadada;}
	.boxContainer{ border-bottom: 1px solid #dadada;}
	
	#slideshow {
   position: relative;
   margin: 0 auto; 
}
#slideshow img {
   position: relative;
   top: 0;
   left:0;
   z-index: 8;
   opacity: 0.0;
	 position: absolute !important;
}
#slideshow img.active {
   z-index: 10;
   opacity: 1.0;
	 position: relative !important;
}
#slideshow img.last-active {
   z-index: 9; position: absolute !important;
}
	ul#mainnav{ display: none;}
	#header, #container, .inner,ul#mainnav,#slideshow,.boxContainer,.box1,.box2, .box3, .box4,.box1, .box3, .box4,#sidebar .box1,.box3,.box4,#footerUpper .inner .box,.sentence,.ul_box li,#news_list li span,#news_list li span.date,#wp_block{ width: 100%;}
	#header h1,#header h2, #header h3, #header ul, #header .banners{ position: relative !important; top:0px;}
	*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
	
.movie iframe{ max-width: 100% !important; height: auto !important;}
/*	#container ul{ margin-left: 0 !important;}*/
	body#sub{ background: none;}
	a.back {
		width: auto;
		text-align: center;
	clear: both;
	display: block;
	margin-top: 30px;
	margin-left: 0;
	margin-bottom: 30px;
}
	#main img{ max-width: 100%;}
}