@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 1024px){
	
	#default{
		width: 95%;
		margin-left: auto;
		margin-right: auto
	}
#header {
	width: 100%;
	height:88px;
	padding:0; 
	margin-left: auto;
	margin-right: auto
}

#outer {
	width: 100%;
	zoom:1;
	clear:both;
	padding:0;
	margin-left: auto;
	margin-right: auto;
}
#bread {
	overflow: hidden;
	margin: 10px 0 10px;
}
	
	#side{
	width:25%;
		
	}	
	
	.nav-br-bd img{
		width: 100%
	}
#content {
	float:right;
	width:70%;
margin-top: 40px
}
	.logo-area-img{
		width: 95%
	}
.contents-box{
	width: 100%;
	margin-left: auto;
	margin-right: auto
}
.tit-box{
	background-image: url("../img/top.png");
	background-size: cover;
	width: 100%;
	height: 500px;
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat
}

.topnav{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.nav-list {
	position: relative;
	overflow: hidden; /* ulでリスト全体を右に50%移動している分幅が広がりスクロールバーが表示されるのを防ぐ */
	top: 280px
}

.nav-list img{
	width: 200px;
	border-radius: 5px
}
	#nav li img{
		width: 100%
	}
	#nav{
		width:100%
	}
	.megamenu li{
		width: 20%;
	}	
#nav-box {
	background: #fff;
	width: 100%;
}
	
.item-contents{
	width: 30%;
	padding-left: 12px;
	padding-right: 12px;
	margin-bottom: 50px
}
	.topnav{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	height: 1000px
}

	
#footer-in {
	width:100%;
	margin:0 20px;
	padding: 0;
}
#footer ul {
	float:right;
	width:50%;
}
	
	
}




@media screen and (max-width: 768px){
  .pc{
    display:none;
  }
  .sp{
    display:block;
  }
	

	#default{
		width: 100%;
		margin-left: auto;
		margin-right: auto
	}
	
 
#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
	margin-top: 20px
}

/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;

}

/*メニューの中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90%;
  max-width: 280px;/*最大幅（お好みで調整を）*/
  height: 100%;
  background: #fff;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
}

/*チェックがついたら表示させる*/
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

	
	#nav-content	{
	padding: 20px;
    background-color: #006837;
    color: #fff
}
	.sp-tit li{
	border-bottom: 1px solid #fff;
	width: 100%
		
	}
	#nav-content ul a{
    color: #fff;
		line-height: 3em
		
	}	
	
	
#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.header-logo-menu{
 display: flex;
 display: -moz-flex;
 display: -o-flex;
 display: -webkit-flex;
 display: -ms-flex;
 flex-direction: row;
 -moz-flex-direction: row;
 -o-flex-direction: row;
 -webkit-flex-direction: row;
 -ms-flex-direction: row;
}
	.mt50{
		margin-top: 50px
	}
/*ロゴやサイトタイトルをセンタリング*/
.logo-area{
	text-align:center;
	margin:auto;
	margin-top: 10px;
	margin-bottom: 20px
	}
	
	
	
	
	
	

	
	
	
	
	
	
	
#container{
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.tit-font{
		font-size: 1.5em;
		font-weight: bold
	}	


#header {
	width: 100%;
	padding:0;
}
#nav {
		width: 100%
}
#outer {
		width: 100%;
		padding:0;

	}

.contents-box{
	width: 100%;
	margin-left: auto;
	margin-right: auto
}
	
	#content{
		width: 100%;
		height: 100%
	}
	.sub-tit {
width: 100%;
		text-align: center
		
	}
	.sub-tit img{
width: 250px;
	margin-bottom: 10px;
}
#header{
	height: 50px;
}
#header p {
	float:none;
	margin:20px 0 0 10px;
}

	main{
		height: 100%;
				padding-top: 10px; 

	}
/* index
------------------------------------------------*/

.contents-box{
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
}
.tit-box{
	background-image: url("../img/top-sp.png");
	background-size: 100%;
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;


}




.topnav{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.nav-list {
	position: relative;
	overflow: hidden; /* ulでリスト全体を右に50%移動している分幅が広がりスクロールバーが表示されるのを防ぐ */
	top: 300px
}

.nav-list ul {
	width: 70%;
	position: relative;
	left: 0%; /* ulを右に50%移動 */
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.nav-list ul li {
	position: relative;
	left: 0%; /* 左に50%移動 */
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.nav-list img{
	width: 100%;
	border-radius: 5px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}

.nav-list img a:hover{
	  filter: grayscale(70%);
}

	
.main-contents{
	margin-left: auto;
	margin-right: auto;
	margin-top: 80px
	
}
	
.item-contents{
	width: 47%;
	padding-left: 5px;
	padding-right: 5px;
	margin-bottom: 30px
}
	
	
.top-tit{
	margin-top: 5px;
	font-size: 1.1em;
	text-align: center;
	font-weight: bold
}

.mb80{
	margin-bottom: 30px
}

	
	
	
/* 河川
------------------------------------------------*/	
	.flex {
  display: block; /*横並び解除*/
}

.flex .image {
  width: 95%; /*画像サイズ指定*/
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
	margin-left: auto;
	margin-right: auto
}
.image img{
	width: 100%;
	margin-top: 10px
}
.flex .text {
  margin: 0;
  padding: 0;
}
	
.flex2 {
  display: block; /*横並び解除*/
}
	
.flex2 .image2 {
  width: 95%; /*画像サイズ指定*/
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
	margin-right: 0;
		margin-left: auto;
	margin-right: auto

}
.tit-bd-kasen-shigoto img{
	width: 100%;
	margin-bottom: 5px
}
	
.button-kasen a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1em 0 1em 0.2em;
  width: 98%;
  color: #2285b1;
  font-size: 18px;
  font-weight: 700;
  border: 3px solid #a0c4d3;
  border-radius: 10px;
	margin-bottom: 20px
}
.button-kasen a::after {
display: none
}
	.map img{
		width: 100%
	}
	
/* 道路
------------------------------------------------*/		
.tit-bd-douro-shigoto img{
	width: 100%;
	margin-bottom: 5px
}
	
.button-douro a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1em 0 1em 0.2em;
  width: 98%;
  color: #009245;
  font-size: 18px;
  font-weight: 700;
  border: 3px solid #009245;
  border-radius: 10px;
margin-bottom: 20px;
}
.button-douro a::after {
display: none
}

	
	
	
	
#footer-in {
		width: 100%;
	margin:0 auto;
	padding: 0;

}
	
	#footer{
		width: 100%;
		bottom: 0;
	}	
	#footer ul {
	float:none;
		width: 95%;
}
	#footer p#address {
	float:none;
}
#footer p#address span{
	font-weight:bold;
}

	#address{
	text-align:center;
	}
#footer p#copy {
	text-align:center;
	clear:both;
	padding:20px 0 10px 0;
	width: 95%
	}

}
@media screen and (max-width: 540px){
  .pc{
    display:none;
  }
  .sp{
    display:block;
  }
	#default{
		width: 100%;
		margin-left: auto;
		margin-right: auto
	}

.logo-area{
	text-align:center;
	margin:auto;
	margin-top: 0;
	margin-bottom: 20px
	}
	
	
	.topnav{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	height: 600px
}
	
	
	.nav-list {
	position: relative;
	overflow: hidden; /* ulでリスト全体を右に50%移動している分幅が広がりスクロールバーが表示されるのを防ぐ */
	top: 150px
}

	
	
	

}
