@charset "Shift_JIS";

body {
	margin-top:0;
	color: #333;
	background-color: #FFF;
}

h1, h2, h3, h4, h5 {
	margin:0;
	padding:0;
}

#wrap {
	width: 800px;
	height:auto;
	margin: 0 auto;
	background-color:#FFF;
}

#wrap2 {
	width: 800px;
	margin: 0 auto;
	background-image:url(../imgs/toyogawa/toyagawa_bg.png);
	background-repeat:no-repeat;
}

#header {
	margin-left:10px;
	width:785px;
	height:85px;
}

.headcopy {
	display:none;
}

#sidebar {
	width:271px;
	float:left;
	margin-bottom:10px;
	height:auto;
}



/* --- left_banner -------- */

#left_banner {
	margin:10px 0 0 10px;
	width: 260px;
	height: auto;
	float:left;
	background-color:#fff;
	display: inline;
}

.banner_left {
	float:left;
	margin-top:5px;
}

.banner_right {
	float:right;
	margin-top:5px;
}


/* --- navi -------- */

#navi01 {
	margin:10px 0 0 10px;
	padding:10px 0 0 0;
	width: 260px;
	height: 1000px;
	float:left;
	background-color:#EBF6FD;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	display: inline;
}

#navi01 a, a:link, a:visited {
	text-decoration:none;
}


/* --- according menu -------- */

.vmenuitem {
	cursor:pointer;
	width:236px;
	margin-left:12px;
	}
	
.vmenu_on, .vmenu_off {
	margin:2px 0px;
	}
	
.vmenu_on ul {
	display:auto;
	margin:2px auto;
	margin-left:12px;
	}
	
.vmenu_off ul {
	display:none;
	}

ul {
	margin:0;
	padding:0;
	}

li {
	list-style:none;
	}

ul.menu {
	font-size: small;
	}

ul.menu li a {
	width:210px;
	margin-left:8px;
	padding: 5px 0 5px 8px;
	display:block;
	background-color: #9CF;
	border-bottom:1px dotted #EFEFEF;
	}

ul.menu li a:hover {
	background: #36C;
	color:#FFF;
}

ul.menu li.mTitle {
	width:210px;
	margin-left:8px;
	padding: 5px 0 5px 8px;
	display:block;
	background-color: #9CF;
	border-bottom:1px dotted #EFEFEF;
	}

/* --- �h�Џ�� -------- */

#disaster_info_mado {
	width:494px;
	height:auto;	float:right;
	border-left:3px solid #0068B7;	border-right:3px solid #0068B7;
	border-bottom:3px solid #0068B7;
	padding:10px 0 10px 0;}

#disaster_info_window {
	width:494px;
	height:auto;
	float:right;
	border-left:3px solid #E60012;
	border-right:3px solid #E60012;
	border-bottom:3px solid #E60012;
	padding:10px 0 10px 0;
}

.old_info {
	margin:-15px 0 0 5px;
}


/* --- whats new -------- */

#whats_new {
	width:500px;
	height:auto;
	float:right;
	line-height:130%;
	margin-top:10px;
}

#whats_new dl dt {
	font-weight:bold;
	color: #F63;
}

#whats_new dl dd {
	margin:0.8em 0 0.8em 0;
	border-bottom: 1px dotted #CCC;
}

/* --- press_release -------- */

#press_release {
	width:500px;
	height:auto;
	float:right;
	line-height:130%;
	margin-top:10px;
}

#press_release dl dt {
	font-weight:bold;
	color: #F63;
}

#press_release dl dd {
	margin:0.8em 0 0.8em 0;
	border-bottom: 1px dotted #CCC;
}

#main_contents h1 {
	width:700px;
}

/* --- main contents -------- */

#main_contents {
	width: 505px;
	float:right;
	margin:10px 10px 10px 0;
	padding-left:3px;
}

.clearfloat {
	clear: both;
}

#main_contents h2 {
	font-size:16px;
	width: 700px;
	height: auto;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

#main_contents h3 {
	margin:10px 0 0 15px;
	font-size:16px;
}

#main_contents h4 {
	margin:10px 0 0 15px;
	font-size:14px;
}

#main_contents p {
	line-height:120%;
}

.title_image {
	margin:15px 0;
}

.imgNone {
	float: none;
	text-align:center;
}

.imgLeft {
	float:left;
}

.imgRight {
	float:right;
}

.center {
	text-align:center;
}

.imgover a:hover img {
	opacity:0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
	background: #fff;
}

.btn_01_design {
    padding: 15px 20px 12px 20px;
    text-decoration: none;
    border-radius: 15px;
    color: #0000aa;
    background-color: #f0f0ff;
    border: solid 3px #0000aa;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: 0.3s;
    font-weight: bold;
    margin-top: 1em;
}




/* --- page -------- */

#page {
	width:565px;
	height:auto;
	margin:0 auto;
}

.pink li {
	margin:5px 0 5px 25px;
	list-style-image: url(../imgs/toyogawa/bullet_pink.png);
}

.green li {
	margin:5px 0 5px 25px;
	list-style-image: url(../imgs/yahagi/bullet_green.png);
}

#col_Left {
	width:250px;
	height:auto;
	float:left;
}

#col_right {
	width:283px;
	height:auto;
	float:right;
}



/* --- clearfix -------- */

.clearfix:after {
	content:".";
	display:block;
	clear:both;
	height:0;
	visibility:hidden;
}

.clearfix {
	display:inline-block;
}

/* Hide from MacIE �_*/
* html .clearfix { height:1px; }
.clearfix { display:block; }
/* End Hide from MacIE */


/* --- footer -------- */

#footer {
	clear:both;
	float:left;
	width: 791px;
	height:auto;
	background-color:#FFFFFF;
	/*text-align:center;*/
	padding:10px 0 10px 8px;
}

#footer p {
	font-size: small;
	/*padding: 0.6em;*/
}

/* --- 緊急情報 -------- */
.emergency_information {
	border: 3px solid #E60012;
}
.emergency_information p {
	background-color: #E60012;
	color: white;
}
#emergency_information_content {
	padding: 10px;
}
/* --- 防災関係記者発表 -------- */
.hazard_press {
	border: 3px solid #E60012;
}
.hazard_press p {
	background-color: #E60012;
	color: white;
}
#hazard_press_content {
	padding: 10px;
}

/* --- 災害モード（画像なし） -------- */
.hazard_no_imgage #header div {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.hazard_no_imgage #left_banner {
	display: flex;
    flex-direction: column;
}
.hazard_no_imgage #navi01 {
	height: 360px;
}
.hazard_no_imgage .vmenu_off {
	margin: 10px 0;
}
.hazard_no_imgage .vmenuitem {
	text-align: center;
	border: solid 1px #86B3E0;
	border-radius: 5px;
	background-color: #86B3E0;
}
.hazard_no_imgage .vmenuitem span {
	color:white;
}
.bottom_banners {
	display: flex;
	flex-wrap: wrap;
}
.bottom_banners a {
	width: calc(20% - 10px);
	margin: 5px;
}
.bottom_banners a img {
	width: 100%;
}

/* --- スマホ対応 -------- */
#headerSP {
	display: none;
}#bannerSP {
	display: none;
}
@media screen and (max-width: 767px) {
	#header,
	#left_banner,
	.hazard_no_imgage #left_banner,
	#navi01 {
		display: none;
	}
	#headerSP {
		display: block;
	}
	html,
	body,
	#wrap {
		width: 100%;
	}
	p.whats-new img {
		width: 100%;
	}
	#whats_new {
		width: 100%;
	}
	#main_contents {
		width: calc(100% - 20px);
		padding: 0;
	}
	.disaster_info p img {
		width: 100%;
	}
	#disaster_info_mado {
		width: calc(100% - 6px);
	}
	#disaster_info_mado p iframe {
		width: 100%;
	}
	#disaster_info_window {
		width: calc(100% - 6px);
	}
	#disaster_info_window p iframe {
		width: 100%;
	}
	p.imgover {
		text-align: center;
	}
	#footer {
		width: calc(100% - 20px);
	}
	#mobile-head {
        width: 100%;
        height: 80px;
        z-index: 999;
        position: relative;
		background-color: #EAF6FD;
    }
	#mobile-head {
		display: flex;
	}
	#headerSP #mobile-head a {
		width: 100%;
		background: url("./../top_img/header_01_SP.png");
		background-repeat: no-repeat;
	}
	#headerSP #mobile-head a span {
		display: none;
	}
	.hazard_no_imgage #headerSP #mobile-head a {
		background: none;
		display: flex;
		flex-direction: column;
		align-items: start;
	}
	.hazard_no_imgage #headerSP #mobile-head a span {
		display: block;
		padding-left: 20px;
		font-size: 1.5rem;
		color: black;
	}
	#global-nav{display: none;}

	#nav-toggle {
		position: absolute;
		right: 15px;
		top: 25px;
		width: 38px;
		height: 30px;
		cursor: pointer;
		z-index: 101;
		background:#EAF6FD;
		border:#80cbd8 solid 1px;
		border-radius:5px;
		padding-top:6px;
		padding-left:2px;
		padding-right:2px;
		padding-bottom:2px;
	}
	#nav-toggle div {
		position: relative;
	}
	#nav-toggle span {
		display: block;
		position: absolute;
		height: 4px;
		width: 100%;
		background: #ccc;
		left: 0;
		-webkit-transition: .35s ease-in-out;
		-moz-transition: .35s ease-in-out;
		transition: .35s ease-in-out;
	}
	#nav-toggle span:nth-child(1) {
		top: 0;
	}
	#nav-toggle span:nth-child(2) {
		top: 11px;
	}
	#nav-toggle span:nth-child(3) {
		top: 22px;
	}
	#global-nav {
		display: block;
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #EAF6FD;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
        border-bottom: 1px #999 solid;
        line-height: 2.5em;
        background-color: #fff;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
    }
	/* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
	/* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(580px);
        -webkit-transform: translateY(580px);
        transform: translateY(580px);
    }
	#bannerSP {
		display: block;
	}
	#bannerSP p a img {
		margin-top: 10px;
	}
	.bottom_banners a {
		width: calc(50% - 10px);
		margin: 5px;
	}
}



