@charset 'UTF-8';
*{
	margin: 0;
	padding: 0;
	text-decoration: none;
	box-sizing: border-box;
	font-family: 'Noto Sans JP', sans-serif;
	color: #212121;
}
ul{
	list-style-type: none;
}
p{
	font-size: 15px;
}

.margin-h{
	margin: 50px 0 30px;
}
/*************************************************/
/*header*/
/*************************************************/
.nav-bar{
	height: 80px;
	width: 100%;
	display: flex;
	padding-left: 20px;
	padding-right: 20px;
	z-index: 999;
	position: fixed;
	background-color: white;
}
.nav-unshown{
	display: none;/*チェックボックスを非表示*/
}
.header-left{
	margin-left:30px; 
}
h1 img{
	vertical-align: middle;
}
h1 a{
	display: block;
	height: 0;
}
.header-right{
	width: 70%;
}
nav{
	width: 100%;
	display: flex;
	justify-content: flex-end;
	
}
ul{
	display: flex;
}
li{
	display: block;
	margin-left:30px; 
	padding-top: 32px;
	padding-bottom: 32px;
}
/*トップ画面の画像*/
.top-img{
	height: 100vh;
	width: 100%;
	background-image: url(img/kitakyushu-top.jpg);
	background-size: cover;
	position: relative;
}
.top-img img{
	max-width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	
}
/***********************************************************/
/*main*/
/************************************************************/

.content{
	max-width: 980px;
	margin: 0 auto;
}
section{
	padding:0 20px 100px 20px;
	position: relative;
}
section p{
	padding-top: 10px;
}
section#about::before,section#news::before{
	content:'';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 100px 100vw;
	border-color: transparent transparent #EBF1F3 transparent; 
}
section#attraction::before{
	content:'';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 100vw 100px 0;
	border-color: transparent transparent #fff transparent; 
}
section#text::before{
	content:'';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 100vw 100px 0;
	border-color: transparent transparent #EBF1F3 transparent; 

}
/*******************************************************
about
********************************************************/
#about .bg-c{
	background-color: white;
}
/**********************************************************/
/*attraction*/
/*********************************************************/
.content{
	width: 100%;
}
#attraction{
	background-color: #EBF1F3;
}
#attraction .at-right{
	display: flex;
	flex-direction: row-reverse;
}
#attraction .at-left{
	display: flex;
}
#attraction>div + div{
	margin-top: 50px;
}
#attraction .content img{
	width: 100%;
}
.right,.left{
	width: 50%;
	padding: 20px;
}
/***********************************************************/
/*site*/
/*************************************************************/
.site-list{
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	margin: 0 auto;
	align-self: stretch;
	padding: 0;

}
.site-list>div{
	margin: 10px;
}
.site-content{
	width: 33%;
	box-shadow: 1px 1px 5px #ccc;
	position: relative;
}
.site-img{
	width: auto;
	overflow: hidden;
}
.site-list img{
	width: 100%;
}
.text{
	padding: 0 10px 10px 10px;
	height: 100%;
}
.text p{
	padding-bottom: 50px;
}
.btn a{
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	display: block;
	text-align: center;
	padding: 10px 20px;
	background-color: rgba(0,0,0,0.7);
	color: white;
	margin: 20px auto;

}
/***********************************************************/
/*bottom-img*/
.bottom-img{
	height: 100vh;
	width: 100%;
	background-image: url(img/bottom-img.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
.bottom-img p{
	background-color: rgba(255,255,255,0.6);
	position: absolute;
	display: inline-block;
	z-index: 10;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding: 30px;

}

/*****************************************************/
/*news*/
/*****************************************************/
.topics{
	width: 100%;
	height: 50vh;
	overflow: scroll;
}
#news{
	background-color: #EBF1F3;
}
.topics dl {
padding: 15px 0;
border-bottom: 1px solid #ccc;
}

.topics dt {
padding-bottom: 5px;
}

.new{
	display: inline-block;
	padding: 0 5px;
	margin-left: 5px;
	border:1px solid red;
	border-radius: 10px;
	color: red;
}
/*****************************************************/
/*footer*/
/*****************************************************/

footer{
	text-align: center;
}

/*******************************************************
Jquery
*******************************************************/
.fadein{
	opacity: 0;
	transform: translateY(20px);
	transition: all 1s;
}
/******************************************************/
/*responsive*/
/******************************************************/

@media screen and (max-width: 799px){
	#attraction .at-right,#attraction .at-left{
		flex-direction: column-reverse;
	}
	.right,.left{
		width: 100%;
	}
	.site-list{
		display: block;
	}
	.site-content{
		width: 100%;
	}
#nav-drawer{
	display: block;
	line-height: 3.0;
	float: right;
}

#nav-open{
	display: inline-block;
	width: 63px;
	height: auto;
	vertical-align: middle;
}
#nav-open span, #nav-open span:before,#nav-open span:after{
	position: absolute;/*3本線の作成*/
	height: 3px;
	width: 40px;
	border-radius: 3px;
	background:#555;
	display: block;
	content: '';
	cursor: pointer;
}
#nav-open span:before{
	bottom: -12px;
}
#nav-open span:after{
	bottom: -24px;
}
#nav-close{
	display: none;/*はじめは隠しておく*/
	position: fixed;
	z-index: 99;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background:black;
	opacity: 0;
	transition: .3s ease-in-out;
}

/*中身*/
#nav-content{
	overflow: auto;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width:90%;
	max-width: 300px;
	height: 100%;
	background:#fff;
	transition: .3s ease-in-out;
	-webkit-transform:translateX(150%);
	transform: translateX(150%);
}
#nav-input:checked ~ #nav-close{
	display: inline-block;
	opacity: .5;
	width: 100%;
}
#nav-input:checked ~ #nav-content{
	-webkit-transform:translateX(0%);
	transform: translateX(0%);
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
	z-index: 9999;
}
nav{
	width: 100%;
	display: block;
}
ul{
	display: block;
}
li{
	display: block;
	width: 100%;
	text-align: center;
	margin: 0 auto;
}
nav a{
	width: 100%;
	display: block;
}
.nav-bar li+li{
	border-top: 1px dotted #333;
}

/*ここまでナビゲーションメニュー*/
h1 img{
	max-width: 100%;
	vertical-align: middle;
	margin-top: 5px;
}
}