/*---------------------------------
	HOME mainvisual
-----------------------------------*/
#mainvisual {
	clear: both;
	height: 90px;
	padding: 10px 0px 0px;
	background: url("../img/bg_mainvisual_sec.jpg") repeat-x;
}
#mainvisual h1 {
	width: 900px;
	margin: 20px auto;
}

.home #mainvisual {
	clear: both;
	height: 300px;
	padding: 10px 0px 0px;
	background: url("../img/bg_mainvisual.jpg") repeat-x;
}
.home .touchcarousel {
	margin: 0 auto;
}
.home #mainvisual .touchcarousel-container img {
	border: 5px solid #fff;
}
@media all and (max-width: 480px) {
	#mainvisual h1 {
		width: auto;
	}
	#carousel-gallery {
		width: 320px;
	}
	.home #mainvisual {
		height: 110px;
	}
	.home #mainvisual .touchcarousel-container {
		width: 320px;
		margin: 0 auto;
	}
	.home #mainvisual .touchcarousel-container img {
		width: 320px;
		height: 100%;
		border: none;
	}
	.arrow-icon {display: none;}
	.touchcarousel .touchcarousel-wrapper {
		height: 100px !important;
	}
}

/*---------------------------------
	HOME contents-aisatu
-----------------------------------*/
.contents-aisatu {
	margin: 10px 20px 0 0;
	padding: 10px 25px;
	background: #faffe8;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #eee;
}
.contents-aisatu .attention-pic {
	float: right;
	width: 229px;
	height: 179px;
	margin: -25px -20px 10px 20px;
	background: url("../img/bg_aisatu_pic.png") no-repeat;
}
.contents-aisatu .attention-pic img {
	padding: 10px 15px;
}
@media all and (max-width: 480px) {
	.contents-aisatu {
		width: auto;
		margin: 10px 0px;
	}
	.contents-aisatu .attention-pic {
		float: none;
		margin: 10px auto;
	}
}
/*---------------------------------
	HOME news01 news02
-----------------------------------*/
.news01,
.news02 {
	margin: 0 20px 0 0;
}
ul.ul-news {
	margin: 0px 0px 0px 0px;
	padding: 15px 10px 10px 10px;
	background: #fff;
	border: 1px solid #eee;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
ul.ul-news:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* IE6 */ 
* html ul.ul-news {height: 1%;}
/* IE7 */
*:first-child+html ul.ul-news {min-height: 1px;}

ul.ul-news li {
	padding: 5px 0 5px 25px;
	list-style-type: none;
	background: url("../img/poti_01.jpg") 10px 12px no-repeat;
	border-bottom: 1px dotted #ccc;
}
ul.ul-news li:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* IE6 */ 
* html ul.ul-news li {height: 1%;}
/* IE7 */
*:first-child+html ul.ul-news li {min-height: 1px;}

ul.ul-news li a {
	float: left;
	display: block;
	width: 30em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
}
ul.ul-news li .date {
	float: left;
	display: block;
	width: 7em;
	padding-right: 10px;
	color: #888;
}
ul.ul-news li.old-news {
	float: right;
	width: 8em !important;
	padding: 10px 0 0 15px;
	background: url("../img/poti_02.jpg") 0px 14px no-repeat;
	border: none;
}
ul.ul-news li.old-news a {
	width: 8em !important;
}
@media all and (max-width: 480px) {
	.news01,
	.news02 {width: 100%;}
	ul.ul-news li a {
		width: 17em;
	}
}
/*---------------------------------
	HOME contents-picture-news
-----------------------------------*/
.contents-picture-news {
	margin: 10px 20px 0 0;
	padding: 10px 25px;
	background: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #eee;
}
.contents-picture-news .attention-pic {
	float: right;
	width: 229px;
	height: 179px;
	margin: -25px -20px 10px 20px;
	background: url("../img/bg_aisatu_pic.png") no-repeat;
	text-align: center;
}
.contents-picture-news .attention-pic img {
	padding: 10px 15px;
}
@media all and (max-width: 480px) {
	.contents-picture-news {
		width: auto;
		margin: 10px 0px;
	}
	.contents-picture-news .attention-pic {
		float: none;
		margin: 10px auto;
	}
}
/*---------------------------------
	HOME picture-news
-----------------------------------*/
.picture-news {
	margin: 20px 0px;
	padding: 0px;
}
.picture-news li {
	float: left;
	width: 225px;
	list-style-type: none;
}
.picture-news li .attention-pic {
	width: 229px;
	height: 179px;
	margin: 0px;
	background: url("../img/bg_aisatu_pic.png") no-repeat;
	text-align: center;
}
.picture-news li .attention-pic img {
	padding: 10px 15px;
}
.picture-news li p {
	margin: 0px 10px;
}
@media all and (max-width: 480px) {
	.picture-news li {
		float: none;
		width: 100%;
	}
	.picture-news li .attention-pic {
	margin: 0 auto;
	}
}
/*---------------------------------
	SIDECONTENTS 
-----------------------------------*/
.submenu-box {
	padding-bottom: 1px;
	/*background: url("../img/sidebar_menu_bottom.png") bottom no-repeat;*/
}
.sidecontents h3.title {
	margin-bottom: 0px;
	padding: 10px 0px 5px 10px;
	color: #00a753;
	border-top: 5px solid #00a753;
	border-right: 5px solid #00a753;
	border-bottom: 2px solid #00a753;
	border-left: 5px solid #00a753;
	-moz-border-radius: 6px 6px 0 0;
	-webkit-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
	background: #fff;
}
.submenu-box ul {
	margin: 0px;
	padding: 0px 5px;
	border-right: 5px solid #00a753;
	border-bottom: 5px solid #00a753;
	border-left: 5px solid #00a753;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
	background: #fff;
}
.submenu-box ul li {
	padding: 10px 10px 10px 30px;
	border-bottom: 1px solid #00a753;
	list-style-type: none;
	background: url("../img/poti_02.jpg") 10px 14px no-repeat;
}
.submenu-box ul li:last-child {
	border: none;
}
.submenu-box ul li a {
	display: block;
	text-decoration: none;
}
.submenu-box ul li a:hover {
	text-decoration: underline;
}

.calendar-box {
	padding-bottom: 1px;
	background: url("../img/sidebar_cal_bottom.png") bottom no-repeat;
}
h3.calendar-box-title {
	background: url("../img/sidebar_cal_title.png") top no-repeat;
	margin-bottom: 0px;
	padding: 30px 0px 0px 15px;
	color: #379cee;
	text-align: left;
}
table.calendar {
	width: 80%;
	margin: 0 auto 10px;
}
table.calendar thead th {
	border-bottom: 2px solid #888888;
	color: #666;
	border-collapse: collapse;
}
table.calendar tbody td {
	text-align: right;
	color: #666;
	font-weight: normal;
	border: 2px solid #fff;
}
table.calendar tbody td.today {
	background: #fcd87b;
	font-weight: bold;
}
.calendar-today {
	margin: 10px;
	padding: 10px;
	background: #bed8ef;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.map-box {
	padding-bottom: 20px;
	background: url("../img/sidebar_map_bottom.png") bottom no-repeat;
}
h3.map-box-title {
	background: url("../img/sidebar_map_title.png") top no-repeat;
	margin-bottom: 0px;
	padding: 30px 0px 0px 15px;
	color: #b62c2a;
	text-align: left;
}
.map-box iframe {
	margin: 10px;
	border: 1px solid #CCC;
}
.map-box small {
	padding: 0px 10px;
}
.banner-box ul {
	margin: 20px 0px;
	padding: 0px;
}
.banner-box ul li {
	margin: 0px 0px 10px;
	padding: 0px;
	list-style-type: none;
}

ul.link-list {
	margin: 0;
	padding: 0;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
}
ul.link-list li {
	padding: 5px 0 5px 25px;
	list-style-type: none;
	background: url("../img/poti_01.jpg") 10px 12px no-repeat;
	border-bottom: solid 1px #ccc;
}
ul.link-list li:last-child {
	border-bottom: none;
}

@media all and (max-width: 480px) {
	.sidecontents {display: none;}
	.home .sidecontents {display: block;}
	.calendar-box,
	.map-box {
		background: none;
		border: 3px solid #bdd8ee;
		margin-bottom: 10px;
		text-align: center;
	}
	.map-box {
		border: 3px solid #f9a2a2;
		text-align: center;
	}
	.submenu-box {
		/* border: 3px solid #1e7236; */
		display: none;
	}
	h3.calendar-box-title,
	h3.map-box-title,
	.sidecontents h3.title {
		background: none;
		margin: 10px 0 10px 0;
		padding: 10px;
		border: none;
	}
	h3.calendar-box-title {
		padding: 15px 20px 10px 70px;
		background: #EFEFEF url("../img/ico_cal.png") 10px -3px no-repeat;
	}
	h3.map-box-title {
		padding: 15px 20px 10px 70px;
		background: #EFEFEF url("../img/ico_map.png") 10px 1px no-repeat;
	}
	.map-box iframe {
		width: 80%;
	}
	.map-box iframe img {
		width: auto !important;
	}
	.banner-box {
		text-align: center;
	}
	.calendar th,.calendar td {
		display: table-cell;
	}
}
/*---------------------------------
	pages contents
-----------------------------------*/
.contents {
	margin: 10px 20px 0 0;
	padding: 25px;
	background: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #eee;
}
/* =Clearfix (all browsers)
--------------------------------*/
.contents:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* IE6 */ 
* html .contents {height: 1%;}
/* IE7 */
*:first-child+html .contents {min-height: 1px;}

@media all and (max-width: 480px) {
	.contents {
		margin-right: 0px;
		padding: 10px 0px;
	}
	.contents img {width: 100%;}
}

/*---------------------------------
	ca_tableh
-----------------------------------*/
tr.ca_tableh table td {
	display: table-cell;
}

/*---------------------------------
	asp_news
-----------------------------------*/
.nw_bodym,
.nw1_bodym,
.nw2_bodym,
.nw3_bodym,
.nw4_bodym,
.nw99_bodym {
	width: 100px;
	border-right: 1px solid #eee;
}
.nw_bodym a,
.nw1_bodym a,
.nw2_bodym a,
.nw3_bodym a,
.nw4_bodym a,
.nw99_bodym a {
    display: block;
    border-bottom: 1px dotted #ccc;
}
.nw_date,
.nw1_date,
.nw2_date,
.nw3_date,
.nw4_date,
.nw99_date {
	padding: 0px 0px 10px 0px;
	color: #666;
}
.nw_photo,
.nw1_photo,
.nw2_photo,
.nw3_photo,
.nw4_photo,
.nw99_photo {
	padding-right: 10px;
}
td.nw_title,
td.nw1_title,
td.nw2_title,
td.nw3_title,
td.nw4_title,
td.nw99_title {
    padding: 5px 5px 5px 5px;
    color: #666;
    font-size: 14px;
    border: 1px solid #EEE;
    border-left: 10px solid #efcf02;
    background: #FFF;
    text-align: left;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
td.nw_doc,
td.nw1_doc,
td.nw2_doc,
td.nw3_doc,
td.nw4_doc,
td.nw99_doc {
	text-align: left;
}
@media all and (max-width: 480px) {
	.nw_bodym,
	.nw1_bodym,
	.nw2_bodym,
	.nw3_bodym,
	.nw4_bodym,
	.nw99_bodym {
		width: auto;
		border-right: 1px solid #EEE;
		text-align: left;
		display: table-cell !important;
		white-space: inherit;
		width: 100px !important;
		text-align: left !important;
	}
	tr.nw_search th,
	tr.nw1_search th,
	tr.nw2_search th,
	tr.nw3_search th,
	tr.nw4_search th,
	tr.nw99_search th {
		display: block;
	}

	tr.nw_search th:last-child,
	tr.nw1_search th:last-child,
	tr.nw2_search th:last-child,
	tr.nw3_search th:last-child,
	tr.nw4_search th:last-child,
	tr.nw99_search th:last-child {
		padding-bottom: 10px;
		margin-bottom: 10px;
	}
	.nw_bodym+td,
	.nw1_bodym+td,
	.nw2_bodym+td,
	.nw3_bodym+td,
	.nw4_bodym+td,
	.nw99_bodym+td {
		display: table-cell;
	}

	.nw_bodym img,
	.nw1_bodym img,
	.nw2_bodym img,
	.nw3_bodym img,
	.nw4_bodym img,
	.nw99_bodym img,
	.nw_date img,
	.nw_menu img,
	.nw_doc img,
	.nw1_date img,
	.nw1_menu img,
	.nw1_doc img,
	.nw2_date img,
	.nw2_menu img,
	.nw2_doc img,
	.nw3_date img,
	.nw3_menu img,
	.nw3_doc img,
	.nw4_date img,
	.nw4_menu img,
	.nw4_doc img,
	.nw99_date img,
	.nw99_menu img,
	.nw99_doc img {
		width: auto;
	}
	td.nw_date+td,
	td.nw1_date+td,
	td.nw2_date+td,
	td.nw3_date+td,
	td.nw4_date+td,
	td.nw99_date+td {
		width: 190px !important;
		border-bottom: 1px dotted #ccc;
	}

}