/******************************************************************************************************************************************
****************************************************-----       Common CSS       -----*****************************************************
******************************************************************************************************************************************/
body,div,pre,p,blockquote,form,fieldset,input,
textarea,select,option,dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,table,th,td,embed,object{
	margin: 0;
	padding: 0;
}
body{
	padding: 0;
	margin: 0 auto;
	font-family: Arial,Helvetica,sans-serif;
	line-height: 150%;
	line-break: normal;
	background-color: #FFFFFF;
}

#wrapper2{
	position: relative;
	width: 970px;
	margin: 0 auto;
	padding: 0;
	border: solid 1px #0066CC;
	font-size: 90%;
	text-align: left;
	background-color: #FFFFFF;
}

/*-------------------- header --------------------*/
#header{
	position: relative;
	width: 100%;
	height: 105px;
	margin: 0 auto;
}
.logo{
	position: absolute;
	top: 10px;
	left: 3px;
	padding-left: 10px;
}
.logo a{
  text-decoration: none;
}
#siteinfo{
	float: right;
	clear: both;
	width: 250px;
	margin-top: 8px;
	line-height: 20px;
	text-align: right;
}
#siteinfo .lang{
	margin:0 15px 5px 0;
}
#font ul{
	float: right;
	clear: both;
	display: inline;
	width: 138px;
	margin-left: 0px;
	padding: 0;
}
#font li{
	float: left;
	margin-right: 5px;
	padding: 3px 5px 5px 5px;
	list-style-type: none;
	color: #FFFFFF;
	font-size: 20x;
	font-weight: bold;
	line-height: 1.0;
	cursor: pointer;
	background-color: #8D8D8D;
}
#font li.hover{
	background-color: #F7A001;
}
#font li.active{
	background-color: #0066CC;
}
#search{
	float: right;
	clear: both;
	display: inline;
	width: 240px;
	margin-right: 4px;
	vertical-align: top;
}

/*-------------------- nav --------------------*/
#nav{
	clear: both;
	position: relative;
	width: 950px;
	margin: 0 auto;
	font-size: 110%;
}
#nav a{
	border: none;
}
#MenuBar li ul li a{
	padding: 7px 0 3px 3px;
	color: #0000FF;
	text-decoration: underline;
	background-color: #EEEEEE;
}
#MenuBar li ul li a:hover{
	padding: 7px 0 3px 3px;
	color: #FFFFFF;
	background-color: #0000FF;
}
#nav #MenuBar li ul li a{
	margin-left: 0px;
	padding: 7px 0 3px 3px;
	color: #0000FF;
	text-decoration: underline;
	background-color: #EEEEEE;
}

#nav #MenuBar li ul li a:hover{
	padding: 7px 0 3px 3px;
	margin-left: 0px;
	color: #FFFFFF;
	text-decoration: underline;
	background-color: #0000FF;
}
#nav #MenuBar .gaiyou .submenu li a{
	display: block;
	width: 158px;
	background-color: #EEEEEE;
}
#nav #MenuBar .gaiyou .submenu li a:hover{
	color: #FFFFFF;
	background-color: #0000FF;
}

/*-------------------- main --------------------*/
#main{
	clear:both;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}

/*-------------------- sidebar --------------------*/
#sidebar{
	position: relative;
	width: 190px;
	margin: 7px 6px 10px 6px;
	float: left;
	font-family: Arial,Helvetica,sans-serif;
}
#sidebar ul{
	list-style-type: none;
}
#sidebar .emergency{
	margin-bottom: 10px;
	border: solid 1px #CC0000;
	line-height: 130%;
}
#sidebar .emergency h2{
	padding: 4px 4px 4px 5px;
	border-bottom: solid 1px #CC0000;
	color: #ffffff;
	font-size: 1em;
	background-color: #CC0000;
}
#sidebar .emergency ul{
	padding: 4px;
}
#sidebar .emergency ul li{
	padding: 3px 0 3px 3px;
	border-bottom: dotted 2px #E4DFDE;
}
#sidebar .emergency ul li.emergency-none{
	padding: 10px 3px!important;
	border-bottom: dotted 2px #E4DFDE;
	line-height: 1.3em;
}
#sidebar .emergency ul li.emergency-list{
	margin-bottom: 0.2em;
}
#sidebar .emergency ul li.emergency-list a{
	background-color: #FFFF00;
}
#sidebar .attention-info img,
#sidebar .attention-info a{
	display: block;
	margin-bottom: 3px;
	border: none;
}
#sidebar .section{
	margin-bottom: 5px;
	border: solid 1px #0066CC;
	border-bottom: none;
}
#sidebar .section h2{
	margin-bottom: 0.1em;
	padding: 4px 5px;
	color: #FFFFFF;
	font-size: 100%;  
	background-color: #0066CC;
}
#sidebar .topics{
	border-bottom: solid 1px #0066CC;
}
#sidebar .topics div{
	text-align: center;
}
#sidebar .topics b{
	display: block;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#sidebar .topics p{
	padding: 0 0 0.7em 5px;
}
#sidebar ul.localnavi li{
	padding: 2px 0;
	border-bottom: solid 1px #0066CC;
	line-height: 150%;
	font-family: Arial, Helvetica, sans-serif;
}
#sidebar .menu ul.localnavi li a,
#sidebar .normal ul.localnavi li a{
	padding: 2px 5px;
}

/*-------------------- contents --------------------*/
#contents{
	float: left;
	position: relative;
	width: 550px;
	margin: 7px 0 7px 8px;
}
#contents #slider2 .sliderhover:hover span{
	bottom: 0;
	left: 0;
}
#contents #slider2 .sliderhover > span{
	position: absolute;
	left: 0;
	bottom: -34px;
	padding: 5px;
	width: 550px;
	box-sizing: border-box;
	color: #FFF;
	font-family: Arial;
	font-size: 1.3em;
	background-color: rgba(80, 80, 80, 0.75);
	background-color: #666\9;
	z-index: 10000;
	-webkit-transition: all linear 0.3s;
	-moz-transition: all linear 0.3s;
	-ms-transition: all linear 0.3s;
	-o-transition: all linear 0.3s;
	transition: all linear 0.3s;
}
#contents .logbox,
#contents .switchstyle{
	display: block;
}
#contents .logbox{
	margin-top: 11px;
}
#contents .logbox .information .infobar{
	width: 534px;
	height: 20px;
	padding: 5px 8px;
	color: #FFFFFF;
	font-size: 1.1em;
	background-image: url("main/images/newbg.png");
	background-repeat: repeat-x;
}
#contents .logbox .information .newinfo{
	background-image: url("main/images/newbg.png");
	background-repeat: repeat-x;
}
#contents .logbox .information .pastinfo{
	background-image: url("main/images/pastbg.png");
	background-repeat: repeat-x;
}
#contents .logbox .information .overflow{
	/* 2017/3/2 危機管理情報が多い時に町議会のボタンが見えなくなるため、新着情報の縦幅を修正 修正前→height: 376px;*/
	height: 404px;
	padding: 0.5em;
	border: dotted 1px #0066CC;
	overflow: auto;
}
#contents .logbox .information .overflow ul.list li{
	clear: both;	
	display: block;
	padding-left: 8px;
    border-bottom: dotted 1px #CCCCCC;
	line-height: 2em;
    list-style-type: none;
}
#contents .logbox .information .overflow ul.list li p{
	display: inline-block;
	vertical-align: top;
}
#contents .logbox .information .overflow ul.list li p:first-child{
	width: auto;
}
#contents .logbox .information .overflow ul.list li p:first-child:after{
	content: "：";
}
#contents .logbox .information .overflow ul.list li p + p{
	width: 372px;
	margin-left: -3px;
}
#contents .logbox .information .overflow ul.list li a{
	font-family: Arial, Helvetica, sans-serif;
}
#contents .switchstyle{
	position: relative;
	border: solid 1px #aaa;
	border-top: none;
	background-color: #F3F3F3;
}
#contents .switchstyle div{
	display: table-cell;
	width: 265px;
	padding: 0 5px;
}
#contents .switchstyle div span{
	color: #0000DE;
	text-decoration: underline;
	cursor: pointer;
}
#contents .switchstyle div span:hover{
	color: #FF3300;
}

/*-------------------- contents2 --------------------*/
#contents2{
	float: left;
	position: relative;
	width: 940px;
	margin: 0 5px 10px 5px;
	padding: 5px;
}

/*-------------------- contents3 --------------------*/
#contents3{
	position: relative;
	width: 750px;
	margin: 0 10px 10px 5px;
	float: right;
}

/*-------------------- sidebar2 --------------------*/
#sidebar2{
	position: relative;
	width: 190px;
	margin: 7px 5px 10px 5px;
	float: right;
}
#sidebar2 > a.bunner{
	display: block;
	margin-bottom: 5px;
}
#sidebar2 a.bunner img{
	border: none;
}
#sidebar2 > .section{
	margin-bottom: 5px;
	border: solid 1px #0066cc;
}
#sidebar2 .section h2{
	padding: 5px 5px 2px 5px;
	font-size: 1em;
	color: #FFFFFF;
	background-color: #0066CC;
}
#sidebar2 .section p{
	margin: 0.5em auto 0.7em auto;
	text-align: center;
}
#sidebar2 .section p a img {
	padding: 2px;
}

/*-------------------- footer --------------------*/
#footer{
	clear: both;
	position: relative;
	margin: 0 4px;
	padding: 10px 0 5px 20px;
	border-top: solid 3px #2900AD;
	font-size: medium;
	line-height: 140%;
	letter-spacing: normal;
	background-color: #ffffff;
	z-index: 1000;
}
#footer #ft001{
	float: left;
	width: 114px;
	font-size: large;
	font-weight: bold;
}
#footer #ft002{
	float: left;
	width: 800px;
	padding-left: 20px;
	padding-bottom: 5px;
	vertical-align: top;
}
#footer #ft003{
	clear: both;
	margin: 0 auto;
	text-align: center;
	font-size: small;
}

#footer #ft004{
	width: 140px;
	margin-left: 20px;
	padding-bottom: 5px;
	border: 1px solid #999999;
	vertical-align: top;
	text-align: center;
	font-size: small;
}
#footer p{
	text-align: center;
}

/*-------------------- ad --------------------*/
#ad{
	position: relative;
	width: 960px;
	margin: 0 auto;
	padding: 7px 0 10px 0;
	text-align: center;
}
#ad a,
#ad img{
	border: none;
}
#ad ul{
	list-style-type: none;
}
#ad ul li{
	display: inline;
	margin-right: 2px;
}

/*-------------------- #pan(現在地情報) --------------------*/
#pan{
	clear: both;
	width: 100%;
	margin-bottom: 5px;
	padding: 0 10px;
	list-style-type: none;
	text-align: left;
	font-size: medium;
}
#pan .upload-day{
	float: right;
	display: block;
	padding-right: 1em;
	font-size: 0.92em;
}
.no-date > .upload-day{
	display: none!important;
}
#pan .upload-day:before{
	content: "更新日：";
}
#pan > ul{
	float: left;
}
#pan > ul li{
	display: inline;
}
#pan > ul li:last-child{
	font-weight: bold;
}
#pan > ul li a{
	padding-right: 12px;
	background: url("main/images/topic_path.gif") no-repeat right center;
}

/*-------------------- #contact(問合せ先) --------------------*/
#contact{
	margin: 15px 0px;
	border: solid 1px #0066CC;
}
#contact .section h6{
	margin: 0px 0px 2px;
	padding: 5px 5px 1px 10px;
	border-bottom: solid 1px #0066CC;
	color: #FFFFFF;
	font-size: 105%;
	background-color: #0066CC;
}
#contact .section p{
	margin: 0 5px 0.7em;
	padding: 2px 5px;
}

/******************************************************************************************************************************************
****************************************************-----      Pages Making      -----*****************************************************
******************************************************************************************************************************************/
/*-------------------- gaiyou --------------------*/
#town-wrap{
	position: relative;
	display: table;
	width: 750px;
	box-sizing: border-box;
	padding: 0 2px;
}
#town-wrap .townimage,
#town-wrap .detail{
	position: relative;
	display: table-cell;
	vertical-align: middle;
}
.detail .town-name{
	display: block;
}
.detail .town-name > span{
	font-size:18px;
}
.detail .town-name + div{
	box-sizing: border-box;
	padding: 2px;
	border: solid 2px #000;
	background-color: #E3FAFB;
}
#gaiyou-utsumi,#gaiyou-toyohama,
#gaiyou-morozaki,#gaiyou-shinojima,
#gaiyou-himakajima{
	position: relative;
	display: block;
	padding-bottom: 24px;
}
/***内海***/
#gaiyou-utsumi > .townimage{
	width: 300px;
	text-align: right;
}
#gaiyou-utsumi > .detail{
	width: 450px;
}
#gaiyou-utsumi >.detail .town-name + div{
	background-color: #E3FAFB;
}
/***豊浜***/
#gaiyou-toyohama > .townimage{
	width: 270px;
	text-align: left;
}
#gaiyou-toyohama > .detail{
	width: 480px;
}
#gaiyou-toyohama >.detail .town-name + div{
	background-color: #FFC;
}
/***師崎***/
#gaiyou-morozaki > .townimage{
	width: 265px;
	text-align: center;
}
#gaiyou-morozaki > .detail{
	width: 485px;
}
#gaiyou-morozaki >.detail .town-name + div{
	background-color: #E3FAFB;
}
/***篠島***/
#gaiyou-shinojima > .townimage{
	width: 340px;
	text-align: right;
}
#gaiyou-shinojima > .detail{
	width: 410px;
}
#gaiyou-shinojima >.detail .town-name + div{
	background-color: #FFC
}
/***日間賀島***/
#gaiyou-himakajima > .townimage{
	width: 360px;
}
#gaiyou-himakajima > .detail{
	width: 390px;
	text-align: left;
}
#gaiyou-himakajima >.detail .town-name + div{
	background-color: #E3FAFB;
}
#map-access{
	position: relative;
}
#map-access img{
	 width: 272px;
	 height: 244px;
}
#map-access > .pic_minamichita{
	float: left;
	width: 306px;
	text-align: left;
}
#map-access .pic_minamichita img, #map-access .pic_minamichita a{
	display: block;	
}
#map-access > .access{
	float: left;
	margin: 59px 0 0 0;
}
.jinkou > dl,
.jinkou > div{
	float: left;
}
.jinkou div table{
	margin: 0 auto;
	text-align: center;
}
.chikubetsu{
	padding: 1.3em 0;
}
.chikubetsu > div{
	float: left;
}
.chikubetsu div table.chikubetsujinkou thead tr{
	text-align: center;
	background-color: #DFFFFF;
}
.chikubetsu div table.chikubetsujinkou tbody tr,
.chikubetsu div table.chikubetsujinkou tfoot tr{
	text-align: right;
	background-color: #FFFF99;
}
.bg-blue{
	background-color: #DFFFFF;
}
.bg-yellow{
	background-color: #FFFF99;
}
.small-font{
	font-size: x-small;
}
.fixed{
    position: fixed;
    top: 14px;
    width: 190px;
	animation: animation1 0.3s;
	-webkit-animation: animation1 0.3s;
	-moz-animation: animation1 0.3s;
	-o-animation: animation1 0.3s;
	-ms-animation: animation1 0.3s;
    z-index: 10;
}
@keyframes animation1{
	0%{top: 0px;}
	100%{top: 14px;}
}
@-webkit-keyframes animation1{
	0%{top: 0px;}
	100%{top: 14px;}
}
@-moz-keyframes animation1{
	0%{top: 0px;}
	100%{top: 14px;}
}
@-o-keyframes animation1{
	0%{top: 0px;}
	100%{top: 14px;}
}
@-ms-keyframes animation1{
	0%{top: 0px;}
	100%{top: 14px;}
}
#fixedmenu{
	margin-top: -7px;
}
/*-------------------- sitemap --------------------*/
.sitemap-contents{
	margin: 10px 6px 8px 0px;
	padding: 6px 6px 6px 12px;
	border-width: 0px 0px 3px;
	border-style: solid;
	border-color: #9FB7D4;
	color: #3F3F3F;
	font-weight: bold;
	background-color: #F8F8F8;
}
.table-list{
	display: table;
}
.table-list ul{
	display: table-cell;
	width: 310px;
	box-sizing: border-box;
}
.table-list ul li:first-child{
	width: 291px!important;
	margin-left: 12px!important;
	margin-bottom: 4px!important;
	padding-top: 3px!important;
	padding-left: 7px!important;
	border: solid 1px #9FB7D4;
	line-height: normal!important;
	background-color: #F8F8F8;
	background-image: none!important;
}
.sitemap-contents + ul li,
.table-list ul li{
	margin-left: 2px;
	padding-left: 30px;
	list-style-type: none;
	box-sizing: border-box;
	line-height: 26px;
	background-image: url("main/images/c_icon_01.gif");
	background-repeat: no-repeat;
	background-position: 18px 9px;
} 
/*-------------------- kikaku/kohopdf and other year --------------------*/
.woodframe-wrapper{
	position: relative;
	display: table;
	margin: 0 auto;
	width: 600px;
	height: 450px;
	z-index: 1;
}
.woodframe-wrapper > img{
	position: relative;
	z-index: 1;
}
.woodframe-wrapper > a{
	position: absolute;
	top: 52px;
	left: 46px;
	z-index: 100000;
}
.woodframe-wrapper + p{
	margin: 12px 0 3.4em 0;
	text-align: center;
}
.woodframe-wrapper + p span:first-child{
	font-size: 2.3em;
	color: #00f;
}
.woodframe-wrapper-tate{
	position: relative;
	display: table;
	margin: 0 auto;
	width: 450px;
	height: 600px;
	z-index: 1;
}
.woodframe-wrapper-tate > img{
	position: relative;
	z-index: 1;
}
.woodframe-wrapper-tate > a{
	position: absolute;
	top: 46px;
	left: 52px;
	z-index: 100000;
}
.woodframe-wrapper-tate + p{
	margin: 12px 0 3.4em 0;
	text-align: center;
}
.woodframe-wrapper-tate + p span:first-child{
	font-size: 2.3em;
	color: #00f;
}
h3.koho{
	margin-bottom: 2em;
}
.woodrack{
	position: relative;
	width: 880px;
	height: 315px;
	box-sizing: border-box;
	margin: -20px auto 0 auto;
	padding-top: 31px;
	padding-left: 49px;
	list-style-type: none;
	background-image: url(main/kikaku/kouhou/images/woodrack.png);
	background-repeat: no-repeat;
}
.woodrack li{
	display: inline;
	margin-right: 23px;
}
.woodrack li a img{
	box-shadow: 3px 1px 8px #000;
}
.iframe{
	width: 500px;
	height: 170px;
	margin-top: 1em;
	border: none;
}

/*-------------------- kikaku/kikaku024 and kikaku/kikaku029 --------------------*/
#dot{
	display: table-cell;
	width: 800px;
	height: 50px;
	margin: 0 auto;
	padding: 10px 0 5px 0;
	border: dotted 2px #000000;
	vertical-align: middle;
	text-align: center;
	line-height: 30px;
}
#fontline{
	line-height: normal;
}

/*-------------------- kurasi/yotei/gyouji Table Making --------------------*/
td.date,td.Mon,td.Tue,
td.Wed,td.Thu,td.Fri,
td.Sat,td.Holiday,
td.contents,td.Holidaycontents{
	text-align: center;
}
td.date{
	width: 10%;
}
td.Sat{
	color: blue;
}
td.Holiday{
	color: red;
}
td.contents{
	width: 77%;
}
td.Holidaycontents{
	color: red;
	width: 77%;
}

/******************************************************************************************************************************************
****************************************************-----      Common Tags      -----*****************************************************
******************************************************************************************************************************************/
/* Image Tags */
img{
	border: none;	
}
/* Heading Tags */
/*
h1{
}
h2{
}
*/
h3{
	padding: 5px 0 0 5px;
	border-top: solid 1px #0066CC;
	border-right: solid 1px #0066CC;
	border-bottom: solid 1px #0066CC;
	border-left: solid 10px #0066CC;
	color: #FFFFFF;
	font-size: 115%;
	font-weight : bold;
	background-color: #0066CC;
}
h4{
	margin: 10px 0;
	padding: 4px 0 2px 8px;
	font-size: 105%;
	font-weight : bold;
	border-top: solid 1px #0066CC;
	border-right: solid 1px #0066CC;
	border-bottom: solid 1px #0066CC;
	border-left: solid 10px #0066CC;
}
h5{
	margin-top: 0.7em;
	margin-left: 7px;
	padding-top: 3px;
	padding-left: 20px;
	font-size: 105%;
	font-weight: bold;
	background-image: url("main/images/h5.png");
	background-repeat: no-repeat;
	background-position: left center;
}
h6{
	margin: 0px 0px 2px;
	padding: 5px 5px 1px 10px;
	border-bottom: 1px #0066CC solid;
	color: #FFFFFF;
	font-size: 105%;
	background-color: #0066CC;
}
/* Anchor Tags */
a{
	text-decoration: underline;
}
a:hover{
	color: #CC0000;
}
/* Table Tags */
th{
	box-sizing: border-box;
	padding: 3px;
	text-align: center;
	font-weight : bold;
	background-color : #F0F0F0;
}
td{
	box-sizing: border-box;
	padding: 0 2px;
}
/* Ordered List Tags */
ol{
	margin-top: 6px;
	margin-left: 2.4em;
}
address{
	font-style: normal;
}
dl{
	margin-left: 1em;
}
dl dt{
	margin-top: 0.7em;
	font-weight: bold;
}
dl dd{
	margin-left: 1em;
}

/******************************************************************************************************************************************
****************************************************-----      Common Class      -----*****************************************************
******************************************************************************************************************************************/
/* new color=red */
.new{
	margin-left: 0.3em;
	color: #f00;
}
.red{
	color: #f00;
}
.green{
	color: #008001;
}
.blue{
	color: #00f;
}
ul.list-type-none li{
	list-style-type: none;
}
/* 丸 */
ul.list-disc{
	margin-top: 6px;
	margin-left: 0.7em;
}
ul.list-disc > li{
	margin: 1px 10px 1px 20px;
	padding: 1px 0px;
	list-style-type: disc;
}
ul.list-link li{
	margin: 1px 10px 1px 25px;
	padding: 1px 0px;
	list-style-type: disc;
}
/* 番号 */
ul.list-num li{
	margin: 1px 10px 1px 30px;
	padding: 1px 0px;
	list-style-type: decimal;
}
ul.contents-navi li{
	margin: 1px 10px 1px 25px;
	padding: 2px 0px;
	list-style-type: disc;
}
ul.contents-navi li a{
	padding: 1px 0;
}
ul.contents-navi li a:hover{
	color: #f00;
	text-decoration: none;
}
li.list-secondary{
	padding-left: 12px;
	list-style-type: none;
}
/* カタカナ */
ul.list-katakana li{
	list-style-type: katakana;
	margin-left: 3em;
}
/* 数字連番 */
.num-counter{
	margin-left: 1em;
	list-style-type: none;
	counter-reset: numbers;
}
.num-counter > li:before,
.num-counter > dd:before{
	counter-increment: numbers;
	content: counters(numbers, ".") ". "; 
}
/* ※連番 */
.attention-counter{
	margin-left: 1em;
	list-style-type: none;
	counter-reset: attention;
}
.attention-counter > li:before,
.attention-counter > dd:before{
	counter-increment: attention;
	content: "※"counters(attention, ".") " "; 
}
p.txt:before{
	content: "　";
}
/*太字*/
.weight{
	font-weight: bold;
}
/*下線*/
.underline{
	text-decoration: underline;
}
/*非表示*/
.hide{
	display: none;
}
#pickup{
	margin: 10px 0;
	padding: 3px 0;
	border: dotted 1px #f00;
	text-align: center;
	background-color: #FFEEE6;
}
#pickup a:link{
	color: #000;
	text-decoration: underline;
}
#pickup a:visited{
	color: #000;
}
#pickup a:hover{
	text-decoration: none;
}