/* --- html,body,contaierにheight、mainにpaddingボトム、footerにmargin-heght --- */

/* --- 初期値 --- */

* {
	margin:0;
	padding:0;
}
ul {
	list-style-type:none;
}
a img {
	border:none;
}
a:hover {
	color:#ff7500;
}
table {
	border-collapse:collapse;
	border:0px;
}
table tr td {
	padding:0px;
}
img {
	max-width:100%;
}

/* --- レイアウト構成 --- */
html {
	height:100%;
}
body {
	height:100%;
	text-align:center;
}
body > #container { 
	height:auto;
}
#container {
	margin:0px auto 0 auto;
	height:100%;
	min-height:100%;
}
.inner {
	width:100%;
	margin:0 auto;
}
.mobile_bg {
	background:url('images/bg.png') repeat-x center bottom #d0ebfc;
	background-size:100%;
}	

/* --- ヘッダー --- */
header {
	width:100%;
	line-height:26px;
}
header #header_top {
	margin:0em auto 0;
}
header #desc {
	height:100%;
	text-align:left;
	padding:1em 1em 1em 1em;
}
header h1 {
	font-size:0.8em;
	line-height:1.2em;
	color:#2d2d2d;
	font-weight:normal;
	background:url('images/miyazaki_logo.jpg') no-repeat 0px 3em;
}
header #info {
	background:#ed8800;
	margin:0em 0 2em;
	text-align:center;
}
header #info_inner {
	width:88%;
	margin:0 auto 0px;
	padding:10px 0;
	text-align:left;
}
header #info_inner img {
	vertical-align:bottom;
	margin:5px 0 0;
}
header #about {
	font-weight:bold;
	color:#fff;
	font-size:0.9em;
	display:block;
}
header #time {
	color:#fff;
	font-size:0.8em;
	display:block;
}
header #mail {
	margin:5px 0 0;
}
header #mail a:link {
	text-decoration:none;
	color:#fff;
	display:block;
	font-size:0.8em;
	border-radius:50px;
	background:#c8780c;
	border:1px solid #f2a53d;
	text-align:center;
}
header #mail a:visited {
	background:#c8780c;
	border:1px solid #f2a53d;
	color:#fff;
}
header #mail a:hover {
	background:green;
	border:1px solid #00883d;
}

header #mail a span {
	background:url('images/info_mail.png') no-repeat left center;
	padding-left:22px;
}
header #index_logo img {
	margin-bottom:3em;
}

/* --- ナビゲーション --- */
nav {
	width:100%;
	background:url('images/nav_bg.png') repeat;
	border-top:3px solid #7bd4a0;
	border-bottom:2px solid #7bd4a0;
	font-size: 100%;

}
nav ul {
	width:100%;
	display:table;
	background:url('images/line1.png') repeat-y right;
}
nav ul li {
	text-align:center;
	display: table-cell;
	vertical-align: middle;
	background:url('images/line1.png') repeat-y;
	width:100%;
	display:block;
	border-bottom:1px solid #7bd4a0;
}
nav ul li a {
	color:#fff;
	text-decoration:none;
	padding:1em 1em;
	display:block;
	text-align:center;
}
nav ul li a br.br_none {
    display:none;
}
nav ul li a:link .main {
	font-size:1.6em;
	font-weight:300;
}
nav ul li a:link .main6 {
	font-size:1.6em;
	font-weight:300;

}
nav ul li a:hover .main {
	text-shadow:none;
}
nav ul li a .hover {
	font-size:1.6em;
	font-weight:300;
	color:#ff7500;
}
nav ul li a:link .sub {
	font-size:0.7em;
	font-weight:100;
	line-height:1.2em;
	margin:0.5em 0 0 0;
}

/* --- パンくず --- */
#breadcrumb_list ul {
	float:right;
	margin-right:5px;
	margin-bottom:5px;
}
#breadcrumb_list li {
	float:left;
	font-size:0.8em;
	margin-left:7px;
}
#breadcrumb_list li a {
	text-decoration:none;
	background:url('images/breadcrumb_list.gif') no-repeat right center;
	padding-right:10px;
}

/* --- メイン --- */
#main {
	margin:0px auto;
	height:auto;
	padding-bottom:80px;
}

/* --- コンテンツ --- */
#contents {
	width:100%;
	margin:0 auto;
}
.index_img1 {

}
#index_about {
	width:100%;
	text-align:center;
}
#index_about img {
	width:96%;
	margin:0 auto 1em;
}
#index_about h2 {
	color:#006bb2;
	margin:30px 0px 15px 0;
}
#index_about p {
	margin:0 0.5em 1em;
	color:#2d2d2d;
	line-height:1.6em;
	text-align:left;
}

#index_feature ul {
	text-align:left;
	list-style-type:disc;
	margin:2em 2em 4em;
}
#index_feature ul li {
	margin-bottom:0.5em;
}
#index_topics {
	width:98%;
	margin:0 auto;
}
#index_topics .topics_title {
	background:url('images/topics_bg.png') repeat;
	border-radius: 10px 10px 0 0;
	height:48px;
	position: relative;
	z-index:1;
	margin-bottom:1px;
}
#index_topics .topics_title h3 {
	height:72px;
	position: relative;
	z-index:2;
	top:-25px;
	width:92%;
	margin:35px auto 0;
	padding-top:25px;
	line-height:48px;
	text-shadow: #fff 1px 1px 0px, #fff -1px 1px 0px,
	             #fff 1px -1px 0px, #fff -1px -1px 0px;
	text-align:center;
	text-indent:2em;
}
#index_topics .topics_title .topics_img1 {
	background:url('images/topics_img1.png') no-repeat;
}


#index_topics dl {
	height: 16em;
	overflow: auto;
}
#index_topics dt {
	float: left;
	width: 7em;
	background:url('images/mark1.png') no-repeat 5px center;
	text-align:left;
	padding:1em 0 1em 20px;
	clear:left;
	display:block;
}
#index_topics dd {
	padding-top:1em;
	padding-bottom:1em;
	text-align:left;
	float:left;
	display:block;

}
#index_topics .new_topics {
	background:url('images/new.gif') no-repeat right;
	padding-right:35px;
}

#index_banner {
	margin-top:2em;
	border-top:1px solid #ceebfb;
}
#index_banner a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}
#index_banner ul {
	margin:2em 0 0 0;
}
#index_banner ul li {
	margin:0px auto 5px;
}
#index_banner ul li a {
	text-decoration:none;
	font-size:0.7em;

}
#index_banner ul li img {
	width:96%;
	display:block;
	margin:0 auto;
}

.menubar1 {
	border-radius:10px;
	background:url('images/nav_bg.png') repeat;
	border:2px solid #7bd4a0;
	color:#fff;
	padding:1em;
	margin:3em 0.5em 0;
	font-size:0.8em;
	text-align:left;
}
.menubar1 h2 {
	background:url('images/menubar1_mark.png') no-repeat 6px center;
	padding-left:36px;
}


#news {
	width:94%;
	margin:0 auto 5rem;
}
#news p {
	text-align:left;
	margin:2rem 0;
}
#news ul {
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	width:100%;
}
#news ul li {
	flex-basis:50%;
	padding:0.5rem;
	box-sizing:border-box;
}
#news ul li img {
	max-width:100%;
	vertical-align:bottom;
}


#voice ul {
	margin:2em 0 0px 0px;
}
#voice ul li {
	width:90%;
	border-radius:14px;
	background:url('images/voice_bg.jpg') repeat;
	box-shadow: 3px 2px 5px 1px #CCC;
	margin:0px auto 3em;
	vertical-align: middle;
	padding-bottom:2em;
}
#voice ul li img {
	width:80%;
	border:5px solid #fff;
}
#contents_left {
	float:left;
}
#contents_right {
	float:right;
}
#voice ul li h3 {
	width:80%;
	padding:1em 0;
	font-size:1em;
	margin:0 auto;
}
#voice ul li h4 {
	width:80%;
	color:#ff921d;
	margin:1em auto;
	line-height:1.4em;
}
#voice ul li p {
	width:80%;
	margin:0px auto;
	line-height:1.8em;
	text-align:left;
	font-size:0.9em;
}
#staff p {
	margin:2em 0;
}
#staff ul {
	width:94%;
	display:table;
	margin:2em auto 0;
}
#staff ul li {
	text-align:center;
	display: table-cell;
	vertical-align: middle;
}
#staff ul li img {
	width:90%;
	border-radius: 180%;
}
#staff ul li h3 {
	margin:0.5em 0 0.2em 0;
	font-size:1em;
}
#staff ul li p {
	font-size:0.65em;
}
.staff_all img {
	max-width:92%;
	margin:1.5em auto 0;
}


#flow {
	width:96%;
	margin:0 auto;
}
#flow dl {
	margin:30px 0 0 0;
}
#flow dt {
	font-size:0.9em;
	text-align:center;
}
#flow .arrow_mb {
	width:100%;
	background:url('images/flow_arrow_mb.png') no-repeat center bottom;
}
#flow dt img {
	width:96%;
	margin:0 auto 1em 0;
	border-radius:4px;
}
#flow dt h3 {
	width:100%;
	border-bottom:1px dotted #bababa;
	padding:0.3em 0;
	margin:0 0em 1em;
	text-align:left;
}
#flow dt span {
	background:#ffae00;
	border-radius: 400px;
	color:#fff;
	font-weight:bold;
	display:inline-block;
	width:1.4em;
	height:1.4em;
	line-height:1.4em;
	text-align:center;
	margin:0 0.5em 0 0.5em;
}
#flow dd {
	width:100%;
	padding-bottom:30px;
}
#flow dd p {
	font-size:0.9em;
	line-height:1.8em;
	text-align:left;
	margin-bottom:1em;
}
#flow dd .caution {
	font-size:0.8em;
	line-height:1.8em;
	color:red;
}
#flow dd .flow_detail a {
	width:50%;
	background:#cbc9c4;
	color:#fff;
	text-decoration:none;
	font-size:0.6em;
	display:block;
	margin:0 auto;
	padding:0.5em;
}
#flow dd .flow_detail a:hover {
	background:#ffae00;
}


#access {
	width:96%;
	margin:30px auto 0;
}
#access iframe {
	width:96%;
	height:340px;
	margin:0 auto;
}
#access #access_info {
	width:100%;
	text-align:left;
}
#access #access_info h3 {
	font-family: 'Noto Sans Japanese', sans-serif;
	font-size: 100%;
	font-size:1.8em;
	margin:1em 0 1em;
}
#access #access_info p {
	line-height:1.6em;
	margin-bottom:1.5em;
}
#index_bottom_banner {
	width:96%;
	margin:1.5em auto 4em;
	border-top:1px dotted #ccc;
}
#index_present {
	width:100%;
	margin:3em auto 0.5em;
}
#index_present img {
	width:100%;
}

#index_tel {
	width:100%;
}
#index_tel a {
	display:block;
	margin-bottom:0.5em;
}
#index_tel a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}
#index_tel a img {
	width:100%;
}

/* --- 管理 --- */
#admin_menu {
	margin:0 auto;
	height:30px;
}
#admin_menu ul {
	margin:0 auto;
	display:table;
}
#admin_menu li {
	font-size:0.7em;
	line-height:1.8em;
	color:#0000ee;
	text-align:center;
	display: table-cell;
}
#admin_menu li a {
	padding:0 0.2em;
}
#admin_menu li a {
	text-decoration:none;
}

/* --- フッター --- */
footer {
	width:100%;
	height:80px;
	margin-top:-80px;
	position:relative;
}
#footer_inner {	
	border-top:3px solid #7bd4a0;
	width:100%;
	height:47px;
	background:url('images/nav_bg.png') repeat;
}
#footer_inner div {
	margin:0 auto;
	width:96%;
	text-align:center;
	color:#fff;
	font-size:0.6em;
	line-height:47px;
}


/* --- float解除 --- */
.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}



/* コンテナのスタイル */
#image-container {
  position: fixed;
  bottom: 0px;
  left: 1rem;
  width: 200px;
  height: auto;
  z-index: 1000;

}

/* 画像のスタイル */
#image-container img {
  width: 100%;
  display: block;

}

/* 閉じるボタンのスタイル */
#close-button {
  position: absolute;
  top: 0%;
  left: 0px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1rem;
  text-align: center;
}

