@charset "utf-8";

/* 
 Head [ 
----------------------------------------------------------- */  
#head {
	background-color: #CCFFFF;
	margin-right: auto;
	margin-left : auto;
	display: block;
	height: 320px;
	background-repeat: no-repeat;
	background-origin: content-box;
	background-position: 50% 0%;
	background-attachment: scroll;
	margin-top: -20px;
}
#top_img {
	position: relative;
	margin-right: auto;
	display: block;
	margin-left: auto;
	width: 960px;
}



#tagengo {
	width: 950px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 5px;
	position: absolute;
	top: 0px;
	right: 0px;
	left: 0px;
}

#tagengo ul {
	width: 950px;
	text-align: right;
}

#tagengo ul li {
	display: inline-block;
	margin-left: 0px;
	margin-right: 0px;
}

#tagengo ul li a {
	font-size: 13px;
	font-weight: normal;
	background-color: #FFF9FD;
	display: block;
	width: 70px;
	height: 25px;
	text-align: center;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	line-height: 25px;
	border-radius: 5px;
}

#tagengo ul li a:hover {
	color:#fff;
	background-color:#7A9D4C;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
}




#top_menu {
	position: absolute;
	background-repeat: no-repeat;
	width: 960px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 190px;
	height: 100px;
	top: 0px;
	left: 0px;
	right: 0px;

}

/* 
poyon:アニメーション;[ 
----------------------------------------------------------- */  
@keyframes poyon {
  0%   { transform: scale(0.8, 1.4) translate(0%, -100%); }
  10%  { transform: scale(0.8, 1.4) translate(0%, -15%); }
  20%  { transform: scale(1.4, 0.6) translate(0%, 30%); }
  30%  { transform: scale(0.9, 1.1) translate(0%, -10%); }
  40%  { transform: scale(0.95, 1.2) translate(0%, -30%); }
  50%  { transform: scale(0.95, 1.2) translate(0%, -10%); }
  60%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
  70%  { transform: scale(1.0, 1.0) translate(0%, 0%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}






/*イベント情報
******************************************************/
.event {
	line-height: 140px;
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;
	float: left;
	background-image: url(../images/top_menu_event_on.png);
	animation: poyon 1.1s linear 0s 1;
	margin-left: 15px;

}

.event:hover {
	-webkit-transform: scale(1.1) rotate(-15deg);
	transform: scale(1.1) rotate(-15deg);
}

.event:hover img{
	opacity: .10;
	-webkit-opacity: .0;
	-moz-opacity: .10;
	filter: alpha(opacity=1000);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=100)"; /* IE 8 */
	background-image: url(url);
	background-image: url(../images/top_menu_event_on.png);
}
 
.event img{
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}



/*大村市ってこんなところ
******************************************************/
.oomura {
	line-height: 140px;
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;
	float: left;
	background-image: url(../images/top_menu_oomura_on.png);
	margin-left: 85px;
	animation: poyon 1.1s linear 0s 1;

}

.oomura:hover {
	-webkit-transform: scale(1.1) rotate(-15deg);
	transform: scale(1.1) rotate(-15deg);
}

.oomura:hover img{
	opacity: .10;
	-webkit-opacity: .0;
	-moz-opacity: .10;
	filter: alpha(opacity=1000);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=100)"; /* IE 8 */
	background-image: url(url);
	background-image: url(../images/top_menu_oomura_on.png);
}
 
.oomura img{
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}


/*大村市の歴史
******************************************************/
.rekishi {
	line-height: 140px;
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;
	float: left;
	background-image: url(../images/top_menu_rekishi_on.png);
	margin-left: 220px;
	animation: poyon 1.1s linear 0s 1;
}

.rekishi:hover {
	-webkit-transform: scale(1.1) rotate(-15deg);
	transform: scale(1.1) rotate(-15deg);
}

.rekishi:hover img{
	opacity: .10;
	-webkit-opacity: .0;
	-moz-opacity: .10;
	filter: alpha(opacity=1000);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=100)"; /* IE 8 */
	background-image: url(url);
	background-image: url(../images/top_menu_rekishi_on.png);
}
 
.rekishi img{
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}



/* 
＃cate [ 
----------------------------------------------------------- */  


#cate {
	background-color: #A3D165;
	display: block;
}

#line {
	height: 10px;
	background-image: url(../images/bg_line.gif);
}


#cate ul{
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	overflow: hidden;
	display: block;
	width: 960px;
}

#cate ul li{
	display: inline-block;
	margin-right: 8px;
	margin-left: 8px;
	margin-bottom: 5px;
	margin-top: 5px;
}


.cate_menu01 {
	background-image: url(../images/cate01_on.jpg);
}

.cate_menu02 {
	background-image: url(../images/cate02_on.jpg);
}

.cate_menu03 {
	background-image: url(../images/cate03_on.jpg);
}

.cate_menu04 {
	background-image: url(../images/cate04_on.jpg);
}

.cate_menu05 {
	background-image: url(../images/cate05_on.jpg);
}


.cate_menu01 a:hover img,
.cate_menu02 a:hover img,
.cate_menu03 a:hover img,
.cate_menu05 a:hover img,
.cate_menu04 a:hover img,
.cate_menu05 a:hover img {
	opacity: .10;
	-webkit-opacity: .0;
	-moz-opacity: .10;
	filter: alpha(opacity=1000);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=100)"; /* IE 8 */
	background-image: url(url);
	background-image: url(../images/cate01_on.jpg);
	background-image: url(url);
	background-image: url(../images/cate01_on.jpg);
	background-image: url(url);
	background-image: url(../images/cate01_on.jpg);
}
 
.cate_menu01 a img,
.cate_menu02 a img,
.cate_menu03 a img,
.cate_menu04 a img,
.cate_menu05 a img {
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}



/* 
 main [ 
----------------------------------------------------------- */  
#main {
	margin-top: 30px;
	float: left;
	width: 710px;
	margin-left: 40px;
	height: 900px;
}


/* clearfix */
＃main:before,
＃main:after {
	content: "";
	display: table;
}
＃main:after {
	clear: both;
}


/*-----------------------------------------------------*/

.midashi{
	position: relative;
	padding: 5px 20px;
	background-color: #fff;
	border-top: #9EC965 solid 3px;
	border-bottom: #9EC965 solid 3px;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	background-image: url(../images/bg_sen.gif);
}


.midashi p{
	color: #FF7BAC;
	font-weight: bold;
	font-size: 18px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin-top: 3px;
}

.midashi:before{
	content:" ";
	position:absolute;
	top:100%;
	left:24px;
	width:0;
	height:0;
	border-width:12px;
	border-style:solid;
	border-color:transparent;
	border-top-color:#9EC965;
}
.midashi:after{
	content:" ";
	position:absolute;
	top:100%;
	left:28px;
	width:0;
	height:0;
	border-width:8px;
	border-style:solid;
	border-color:transparent;
	border-top-color:#fff;
	z-index:1;
}

.midashi img{
	float: left;
	display: inline-block;
	margin-right: 12px;
	margin-top: 4px;
	margin-left: 6px;
	
}


/*-------------------------------------------------------------------------*/

#osusume {
	text-align: center;
	height: 200px;
	width: 710px;
	background-color: #fff;
	margin-bottom: 20px;
	padding-top: 10px;
	background-image: url(../images/table_bg.png);
	background-repeat : repeat;
	border-bottom-left-radius: 10px;
}


#osusume_slider {
	padding-right: 0;
	padding-left: 0;
	margin-right: 0;
	border-radius: 10px;
}


#osusume_slider a:link {
	color: #000000;
	transition: 0.5s;
	font-size: 12px;
}

#osusume_slider a:link:hover {
	color:#ACACAC;
	text-decoration: underline;
	transition: 0.5s;
}




/*ランキング装飾
-------------------------------------------------------------------------*/
#osusume_slider li .rank1 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background-repeat: no-repeat;
	background-image: url(../images/ranking01.png);
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
	background-position: 20% 0%;
}
#osusume_slider li .rank2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking02.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}
#osusume_slider li .rank3 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking03.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}
#osusume_slider li .rank4 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking04.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}


#osusume_slider li .rank5 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking05.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}

#osusume_slider li .rank6 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking06.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}

#osusume_slider li .rank7 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking07.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}

#osusume_slider li .rank8 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking08.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}

#osusume_slider li .rank9 {
	position: absolute;
	top: 0;
	left: 0;
	width: 78px;
	height: 49px;
	display: block;
	background: url(../images/ranking09.png) no-repeat;
	background-position: 20% 0%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 2;
}


/*-------------------------------------------------------------------------*/

変更後
#new {
    text-align: center;
    height: auto;
    background-color: #fff;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-image: url(../images/table_bg.png);
    background-repeat: repeat;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 5px;
}


/*最新内テキスト枠*/
#new_box {
	height: auto;
	width: 660px;
	margin-top: 5px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 5px;
	background-color: #FFFFFF;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	border-bottom-right-radius: 0px;
	/*-------------------
	overflow: auto;
	scrollbar-face-color: #FFF9FB;
	scrollbar-track-color: #F9B7D4;
	scrollbar-arrow-color: #FFF9FB;
	scrollbar-shadow-color: #FFF9FB;
	-----------------------*/
}

#new_box dl dd a:link {
	color:#000000;
	transition: 0.5s;
}

#new_box dl dd a:link:hover {
	color:#ACACAC;
	text-decoration: underline;
	transition: 0.5s;
}



.link_t a:link{
	border: 2px solid;
	border-color: #9EC965;
	-webkit-appearance: none;
	color: #fff;
	font-size: 14px;
	font-weight: normal;
	background-color: #9EC965;
	height: 35px;
	text-align: center;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	line-height: 24px;
	border-radius: 5px;
	display: block;
	width: 140px;
	margin-left: auto;
	margin-right: 40px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 5px;
	padding-bottom: auto;
}/*ボタン装飾*/

.link_t a:visited {
	border: 2px solid;
	border-color: #9EC965;
	color: #fff;
	background-color: #9EC965;
}

.link_t a:hover{
	color: #9EC965;
	border: 2px solid;
	border-color:#9EC965;
	background-color: #ffffff;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	cursor:pointer;
}
/*マウスオーバー時*/




/*最新情報テキスト*/
dt{
	display: block;
	float: left;
	width: 100px;
	font-style: normal;
	font-weight: bold;
	color: #FF7BAC;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	margin-right: 25px;
}
dd{
	display: block;
	float: left;
	width: 500px;
	padding: 10px 10px 10px 10px;
	text-align: left;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #434343;
	padding-left: 10px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 2px;
}

hr{
	height: 3px;
	background: url(../images/bg_line.gif) repeat-x 0 0;
	border: 0;
}



/*-------------------------------------------------------------------------*/


#tv {
	text-align: center;
	height: 270px;
	background-color: #fff;
	background-image: url(../images/table_bg.png);
	background-repeat : repeat;
	padding-top: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}


#tv table {
	width: 710px;
	margin-top: 20px;
}
#tv table tr td p {
	width: 340px;
	height: 200px;
	padding-top: 10px;
	background-color: #F9B7D4;
	-webkit-box-shadow: 1px 1px 3px #C1C1C1;
	box-shadow: 1px 1px 3px #C1C1C1;
	margin-left: 5px;
}




/* 
 slide
----------------------------------------------------------- */  

#slide {
	height: 190px;
	width: auto;
	margin-top: 40px;
}

.slide_img {
	-moz-transition: -moz-transform 0.2s linear;
	-webkit-transition: -webkit-transform 0.2s linear;
	-o-transition: -o-transform 0.2s linear;
	-ms-transition: -ms-transform 0.2s linear;
	transition: transform 0.2s linear;
	margin-right: 40px;
	display: block;
	margin-top: 0px;
	margin-bottom: 100px;
}

.slide_img:hover {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
}

#slide ul li {
	float: left;
	list-style: none;
	height: 200px;
	padding-top: 20px;
}

.slide_img span {
	display: none;
	text-align: center;
}


.slide_img :hover span {
	color: #7A9D4C;
	display: block;
	position: absolute;
	width: 180px;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: small;
	margin-top: 10px;
	margin-left: 10px;
	margin-right: auto;
}
