@charset "utf-8";

/***************** 基本構造 *****************/

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	width: 100%;
	height: 100%;
}


/* ------------------------------------------------------------------------------------------------------ Pagetop */


#pagetop {
	display: none;
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 99;
	width: 60px;
	height: 60px;
	overflow: hidden;
	}

	#pagetop a {
		display: block;
		height: 100%;
		background:url(https://fmk.fm/common/btn_pagetop.gif);
		text-decoration: none;
		text-indent: -9999px;
		background-position: center;
		background-repeat: no-repeat;
		
		filter: alpha(opacity=80);
		-moz-opacity: 0.8;
		opacity: 0.8;
		
		-webkit-transition: 0.5s;
		-moz-transition: 0.5s;
		-ms-transition: 0.5s;
		-o-transition: 0.5s;
		transition: 0.5s;
		}
	
		#pagetop a:hover {
			filter: alpha(opacity=100);
			-moz-opacity: 1.0;
			opacity: 1.0;
		}

@media screen and (max-width: 768px) {


#pagetop {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 99;
	width: 100%;
	height: 40px;
	background-position: center;
	background-repeat: no-repeat;
	
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
	}

	#pagetop a {
		display: block;
		height: 100%;
		text-decoration: none;
		text-indent: -9999px;
		background-color: #000;
		background-size: 38px 20px;
		background-image: url(https://fmk.fm/common/sp_pagetop.png);
	}
}

/* ------------------------------------------------------------------------------------------------------ Footer */

#footer {
	margin:10px 0 40px;
	padding:0;
	text-align: center;
	}

/* ------------------------------------------------------------------------------------------------------ ページ共通 */

body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-family: 'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
	overflow: scroll;
	overflow-x: auto;
	}

a:link {
	color:#003399;
	text-decoration:none;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}
a:hover {
	color:#ee0000;
	}
a:visited {
	color:#006633;
}
a:active {
	color:#003399;
}

img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
	border: none;
	vertical-align: text-bottom;
}

.clear {clear:both;}

.ftxt {
	display:inline-block;
	}

#wapper {
	width:100%;
	margin:30px auto 0;
	padding:0;
	}

 #wapper a img {
	 border:none;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
	}

#inner {
	width:920px;
	margin:0 auto;
	padding:0;}

#container {
	width: 920px;
	text-align: left;
	margin: 0px auto;
	padding-bottom:10px;
	background: #99cccc url(../images/bg_side2.gif) repeat-y right top;
	line-height: 1.3em;
	}

#header {
	margin:0 auto;
	padding:20px 0 40px;
	text-align:center;
	}

#headmanu { display:none; }

/*---- 戻る ----*/
 .return {
	 margin:20px auto;
	 text-align:center;
	 }
  .return ul {
	  margin:0 auto;
	  padding:0;
	  list-style:none;
	  }
  .return li {
	  display:inline-block;
	  margin:10px 20px;
	  font-size:1.1em;
	  }	
  .return li a {
	  padding:5px 7px;
	  background-color:#24a540;
	  border: none;
	  border-radius: 3px;
	  text-align: center;
	  color: #fff !important;
	  }
  .return li a:hover {
	  background-color:#ee0000;
	  }

/* ----------------- トップページ ----------------- */ 

#columnmain {
	width:920px;
	margin:0 auto;
	}

#columnleft {
	width:550px;
	height:250px;
	float:left;
	background:url(../images/c-left_bg.png) no-repeat;
	margin:0 0 0 80px;
	}
  #columnleft .bnrlink {
	  background:url(../images/c-left_bg2.png) no-repeat;
	  margin:200px 0 0;
	  padding:0;
	  }
  #columnleft .bnrlink a:hover img {
	  filter: alpha(opacity=0);
	  -moz-opacity:0;
	  opacity:0;
	  }

#columnright {
	width:176px;
	float:right;
	padding:0;
	margin:0 70px 0 0;
	}
  #columnright img {
	  margin:0;
	  }
  #columnright a:hover img {
	  background:#FFF;
	  }

#columnunder {
	margin:30px auto;
	text-align:center;
	clear:both;
	}
  #columnunder dl {
	  width:75%;
	  margin:0 auto 1px;
	  overflow: hidden;
	  background:#BFFFF2; /* dt背景色 */
	  }

  #columnunder dt {
	  float: left;
	  width: 140px;
	  padding:10px;
	  font-weight: bold;
	  font-size:1.2em;
	  white-space:nowrap;
	  }
  #columnunder dd {
	  margin:0 0 0 150px;
	  padding: 10px;
	  line-height:1.7em;
	  border-left: 1px solid #99cccc; /* 枠線色 */
	  background:#fff; /* 背景色 */
	  text-align:left;
	  }

.fmklink {
	text-align:center;
	border-bottom: 1px dotted #333333;
}


#endimg { display:none; }

/*-----------熊本県自治体リンク-----------*/

#columnmain h3 {
	width:100%;
	margin:0 auto 20px;
	background:#FFF;
	padding:7px 0 5px;
	text-align:center;
	letter-spacing:2px;
	color:#369;
	}

#columnmap {
	width:500px;
	float:left;
	text-align:center;
	margin:0 0 0 130px;
	padding:0 0 20px;
	border:solid 1px #FFF;
	}

#columncity{
	width:90%;
	margin:30px;
	}
  #columncity .left-s{
	  width:400px;
	  float:left;
	  }
	#columncity .left-s table {
		width:100%;
		font-size:1em;
		}
	#columncity .left-s th {
		width:20px;
		background:#006666;
		padding:5px;
		vertical-align:top;
		color:#FFF;
		}
	#columncity .left-s td {
		padding:5px;
		vertical-align:top;
		background:#FFF;
		}
  #columncity .right-s{
	  width:400px;
	  float:right;
	  }
	#columncity .right-s table {
		width:100%;
		font-size:1em;
		}
	#columncity .right-s th {
		width:20px;
		background:#006666;
		padding:5px;
		vertical-align:top;
		color:#FFF;
		}
	#columncity .right-s td {
		padding:5px;
		vertical-align:top;
		background:#FFF;
		}
		
 #columncity .entry {
	 background:#FFC !important;
	 }

@media screen and (max-width: 800px) {

#header {
	width:95%;
	padding-bottom:20px;
	}

#inner { width:100%; }

#container {
	width:100%;
	padding-bottom:10px;
	background:;
	line-height: 1.3em;
	background-image:none;
	}

#headmanu {
	display:block;
	width:90%;
	margin:0 auto 15px;
	}
  #headmanu ul {
	  margin:0;
	  padding:0;
	  text-align:center;
	  }

  #headmanu li {
	  display:inline-block;
	  margin:15px 10px;	 
	  }
  #headmanu li a {
	  background:#00b45d;
	  color:#fff;
	  padding:8px 12px 6px;
	  font-size:1.2em;
	  font-weight:bold;
	  border-radius: 3px;
	  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	  }
	#headmanu li a:hover { background:#ee0000; }

/* ----------------- トップページ ----------------- */ 

#columnmain {
	width:100%;
	margin:0 auto;
	}

#columnleft { display:none; }

#columnright { display:none; }

#columnunder { margin:0 auto}
#columnunder dl { width:95%; }

#endimg {
	display:block;
	width:90%;
	margin:30px auto;
	text-align:center;
	}

/*-----------熊本県自治体リンク-----------*/

#columnmap { display:none; }
#columncity { margin:0 auto; }
	}
#columncity .left-s {
	float:none;
	width:100%;
	}
#columncity .right-s {
	float:none;
	width:100%;
	}

@media screen and (max-width: 480px) {
	
#columnunder dt {
	float:none;
	width:100%;
	}
#columnunder dd {
	float:none;
	width:100%;
	margin:0;
	}

/*-----------熊本県自治体リンク-----------*/
	
#columncity { width:98% }

}

/* ------------------------------------------------------------------------------------------------------ FMKラベル */

#fmklbl {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	height: 30px;
	background-color: #252525;
	background-image:url(../../common/img_fmklogo_S.png);
	background-position: 15px center;
	background-repeat: no-repeat;
}

	#fmklbl ul {
		float: right;
		width: 200px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	#fmklbl li {
		float: left;
		width: 100px;
		text-align: center;
		overflow: hidden;
	}

		#fmklbl li a {
			display: block;
			height: 30px;
			line-height: 30px;
			color: #fff;
			text-decoration:none;
			
			-webkit-transition: 0.5s;
			-moz-transition: 0.5s;
			-ms-transition: 0.5s;
			-o-transition: 0.5s;
			transition: 0.5s;
		}

			#fmklbl li a:hover {
				background-color: #fc1b1c;
				text-decoration: none;
			}

@media screen and (max-width: 768px) {

#fmklbl {
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
	height: auto;
	background-image: none;
}

	#fmklbl ul {
		width: 100%;
	}

	#fmklbl li {
		display: block;
		float: left;
		width: 50%;
		background: #fc1b1c;
	}

	#fmklbl li + li {
		background-color: #000;
	}

		#fmklbl li a {
			height: 30px;
			line-height: 30px;
			color: #fff;
		}
		#fmklbl li a:hover {
			height: 30px;
			line-height: 30px;
			background-color: #fff;
			color:#fc1b1c;
			border-bottom:solid 1px #000;
			font-weight:bold;
			}
	    #fmklbl li + li a:hover {
		    background-color: #fff;
			color:#000;
			border-bottom:solid 1px #fc1b1c;
			font-weight:bold;
			}

}