@charset "utf-8";
/*******************************************************************************

	トップディレクトリ用 スタイル定義

*******************************************************************************/
#contents
{
	padding-top: 0;
}

/*
ヘッダ画像
*************/
#contents .content-head,#contents_sp .content-head
{
	padding: 1em 0;
	background-color: #ecffe5;
}
#contents .content-head > .inner, #contents_sp .content-head > .inner
{
	padding: 0;
}
#contents .content-head #slider img, #contents_sp .content-head .slider img
{
	margin: 0 auto;
	display: block;
	min-height: 290px;
}

#contents .content-head .caption, #contents_sp .content-head .caption
{
	position: absolute;
	right: 40px;
	top: 50px;
}
#contents .content-head .caption > *, #contents_sp .content-head .caption > *
{
}
#contents .content-head .caption > p, #contents_sp .content-head .caption > p
{
	margin: 0;
	padding: .5em 1em .5em 2em;
	font-size: 110%;
	text-align: center;
}

#contents .content-head .caption > blockquote,#contents_sp .content-head .caption > blockquote
{
	margin: 0;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	color: white;
	font-size: 170%;
	line-height: 1.5;
	padding: .5em 0;
}
#contents .content-head .caption > blockquote > span,#contents_sp .content-head .caption > blockquote > span
{
	display: block;
	padding: .5em 1.25em 0em 1em;
	background: url(../theme/images/mark-quote-s.png) no-repeat left top,
              url(../theme/images/mark-quote-e.png) no-repeat right bottom;
}


/*
バナー画像
*************/
a.banner
{
	display: block;
	padding: 0;
	margin: 0 auto;
}
a.banner:hover
{
	opacity: .5;
}
a.banner > img
{
	display: block;
	width: 100%;
	border: none;
}

a.banner.banner-sodan
{
	width: 432px;
}

a.banner.banner-rehabili
{
	width: 670px;
}

/*
各セクション
*************/
.section
{
	border-radius: 7px;
	border: 1px solid #ddd;
	background-color: white;
	margin: .75em 0 !important;
	padding: 1em 2em;
}

.section.section-head
{
	background-color: transparent;	
	margin-top: 0 !important;
}
.section.section-double
{
	border: none;
	background-color: transparent;
	padding: 0;
}
.section.section-double > .block
{
	height: 260px;
	float: left;
	margin: 0;
	background-color: white;
	border: 1px solid #ddd;
	overflow: hidden;
	border-radius: 7px;
}

/*
外来
**********/
.section.section-double > .block-gairai
{
	padding: 4px;
	width: calc(32% - 8px - 2px);
	height: auto;
	margin-right: 1%;
}
.section.section-double > .block-gairai > a
{
	display: block;
	position: relative;
	background: white url(./images/img-gairai.jpg) no-repeat center center;
	background-size: cover;
	height: calc(260px - 8px);
	padding: 0;
	margin: 0;
}
.section.section-double > .block-gairai > a:hover
{
	opacity: .5;
}
.section.section-double > .block-gairai > a > .title
{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1em;
	padding: .75em;
	background-color: rgba(50,222,45,0.75);
	color: white;
	font-size: 140%;
	line-height: 1;
}
.section.section-double > .block-gairai > a > .title > span
{
	display: inline-block;
	padding: .25em 0 0 28px;
	background: url(../theme/images/icon-circle-arrow-red-white-18x18.png) no-repeat left center;
}	

/*
トピックス
**********/
.section-topics
{
	
}
.section-topics > h2
{
	line-height: 1;
	color: #99C13B;
	font-size: 152%;
	border-bottom: 1px solid #a8ca57;
	padding: .5em 0 .5em 50px;
	margin-bottom: .25em;
	background: url(./images/icon-memo.png) no-repeat left center;
	background-size: contain;
}
ul#topics,ul#topics_sp
{
	margin: 0 !important;
}
ul#topics > li,ul#topics_sp > li
{
	line-height: 1.2;
	padding: 1em 0;
	border-bottom: 1px dotted #99c13b;
	position: relative;  
	padding-right: 70px;
	padding-left: 120px;
}
ul#topics > li > *,ul#topics_sp > li > *
{
	display: inline-block;
	vertical-align: middle;
}
ul#topics > li > a.info-title,ul#topics_sp > li > a.info-title
{
}
ul#topics > li > a.info-title:hover,ul#topics_sp > li > a.info-title:hover
{
	text-decoration: underline;
}
ul#topics > li > .info-date,ul#topics_sp > li > .info-date
{
	position: absolute;
	left: 0;
	white-space: nowrap;
	overflow: hidden;
}
ul#topics > li > .info-date:after,ul#topics_sp > li > .info-date:after
{
	content: '　';
	display: inline-block;
	margin-left: 1em;
	background: url(../theme/images/icn-allow02.png) no-repeat left center;
}

ul#topics > li > .notify,ul#topics_sp > li > .notify
{
	position: absolute;
	right: 0;
	top: .5em;
	width: 63px;
	height: 22px;
	padding-left: 7px;
	overflow: hidden;
	white-space: nowrap;
	text-align: center;
	padding-top: 5px;
	color: white;
}
ul#topics > li > .notify.notify-new,ul#topics_sp > li > .notify.notify-new
{
	background: url(./images/icon-notify-new.png) no-repeat right center;
}
ul#topics > li > .notify.notify-important,ul#topics_sp > li > .notify.notify-important
{
	background: url(./images/icon-notify-important.png) no-repeat right center;
}
ul#topics + p,ul#topics_sp + p
{
	text-align: right;
}
ul#topics + p > a,ul#topics_sp + p > a
{
	display: inline-block;
	background: url(../theme/images/icon-circle-arrow-white-green-14x14.png) no-repeat right center;
	padding-top: .25em;
	padding-right: 20px;
}
ul#topics + p > a:hover,ul#topics_sp + p > a:hover
{
	text-decoration: underline;
}

.section h2 > span.barrier-free 
{
	display: block;
	line-height: 1;
	color: #D6808A;
	font-size: 152%;
	border-bottom: 1px solid #D6808A;;
	padding: .5em 0 .5em 50px;
	margin-bottom: .25em;
	background: url(./images/icon-wheelchair.png) no-repeat left center;
	background-size: contain;
}

div.section table.barrier-free
{
	margin-top: 1em;
}

div.section table.barrier-free tbody
{
	text-align: center;
	vertical-align: top;
}

div.section table.barrier-free tbody img
{
  display: block;
  margin-right:5px;
}

table.case {
	font-size: 11px;
}

table.case th{
	margin-bottom: 5px;
	text-align: left;
}

table.case td {
	padding-right: 0.8em;
}

table.case td > img {
	width: 90%;
}

table.case tr td:nth-child(2){
	padding-right: 80px;
}

/*
相談室
**********/
.section.section-double > .block-sodan
{
	padding: 1em 2em;
	width: calc(67% - 4em - 2px);
	height: calc(260px - 2em);
}

.section.section-double > .block-sodan > h2
{
	line-height: 1;
	color: #68A2F0;
	font-size: 152%;
	border-bottom: 1px solid #74aaf1;
	padding: .5em 0 .5em 50px;
	margin-bottom: .25em;
	background: url(./images/icon-clip.png) no-repeat left center;
	background-size: contain;
}
.section.section-double > .block-sodan p
{
	line-height: 1.3;
}


/*
社会復帰部門
**********/
.section-rehabili
{
	
}
.section-rehabili > h2
{
	line-height: 1;
	color: #FCBA33;
	font-size: 152%;
	border-bottom: 1px solid #FCBA33;
	padding: .5em 0 .5em 50px;
	margin-bottom: 1em;
	background: url(./images/icon-comein.png) no-repeat left center;
	background-size: contain;
}
