@charset "utf-8";
/* adiva-template v1.0.0 | (c) adiva | adiva.jp | MIT licensed */

/*
 * Layout
 * ================================================================================
 */

.wrapper {
	max-width:980px;
	width:100%;
	margin:0 auto;
}

/*	Header
	------------------ */
header {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	z-index:1000;
}

#header_wrapper {
	height:100px;
}
#header_wrapper :not(:last-child) {
	margin-right:10px;
}


/*	Main
	------------------ */
#main {
	padding-top:150px;
}

#main_wrapper {

}
#top_image {
	width:100%;
	height:480px;
	background:url(../../images/top_img.jpg) no-repeat;
	background-size:cover;
	background-attachment:-webkit-fixed;
	background-attachment:fixed;
}
@media only screen and (max-width: 979px) {
	#top_image {
		background-size:cover;
		background-attachment:local;
	}
}
@media only screen and (max-width: 735px) {
	#top_image {
/*		background-size:auto 480px;
		background-attachment:local;*/
	}
}

#contents {
	line-height:1.4;
}


/*	Footer
	------------------ */
footer {

}
#secretariat {
	margin:1em 0;
}
#copyright {
	padding-top:3em;
	padding-bottom:1em;
}

/*	Nav
	------------------ */
nav {
	text-align:center;
	width:100%;
}
nav > ul {
	width:100%;
	display:flex;
	align-items:center;
	justify-content:center;
}
nav li > a {
	display:flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	padding:0 20px;
	height:50px;
}


/*	Nav Button
	------------------ */
#nav_btn {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display:block;
	position:absolute;
	top:8px;
	right:8px;
	width:44px;
	height:44px;
	border-radius:5%;
	border:none;
	cursor:pointer;
	outline: none;
}
#nav_icon {
	display:block;
	position:absolute;
	top:50%;
	left:50%;
	width:14px;
	height:2px;
	margin:-1px 0 0 -7px;
	transition:.2s;
}
#nav_icon:before,
#nav_icon:after {
	display:block;
	content:'';
	position:absolute;
	top:50%;
	left:0;
	width:14px;
	height:2px;
	transition:0.3s;
}
#nav_icon:before {
	margin-top:-6px;
}
#nav_icon:after {
	margin-top:4px;
}
#nav_btn .close {
	background:transparent;
}
#nav_btn .close:before,
#nav_btn .close:after {
	margin-top:0;
}
#nav_btn .close:before {
	transform:rotate(-45deg);
	-webkit-transform:rotate(-45deg);
}
#nav_btn .close:after {
	transform:rotate(-135deg);
	-webkit-transform:rotate(-135deg);
}


/*
 * Responsive
 * ================================================================================
 */
body {
	font-size:120%;
}
#header_wrapper {
	padding:0 30px;
}
#nav_btn {
	display:none;
}
#logo {
	height:80px;
}
.paddingbox {
	padding:0 1rem 2rem;
}
.paddingbox > p:not(:last-child) {
	padding-bottom:1em;
}

.wrapper {
	padding:30px;
}
@media only screen and (min-width: 1680px) {

}
@media only screen and (max-width: 1679px) {

}
@media only screen and (max-width: 1279px) {
	body {
		font-size:110%;
	}
	#main {
		padding-top:130px;
	}
	#header_wrapper {
		font-size:80%;
		height:80px;
	}
	#summary_wrapper {
		height:40px;
	}
	#header_wrapper {
		padding:0 20px;
	}
	#logo {
		height:60px;
	}
/*	#contents, 
	#footer_wrapper, 
	.content_left, 
	.content_right {
		padding:20px;
	}*/
}
@media only screen and (max-width: 979px) {
	body {
		font-size:100%;
	}
	#main {
		padding-top:110px;
	}
	#header_wrapper {
		font-size:80%;
		height:60px;
	}
	#logo {
		height:40px;
	}

	#header_wrapper, 
	#summary_wrapper {
		padding:0 10px;
	}
/*	#contents, 
	#footer_wrapper, 
	.content_left, 
	.content_right {
		padding:10px;
	}*/
}
@media only screen and (min-width: 736px) {

}
@media only screen and (max-width: 735px) {
	.wrapper {
		padding:20px;
	}
	.row > * {
		padding: 0 !important;
	}
	#subtitle {
		display:none;
	}
	#nav_btn {
		display:block;
	}
	nav {
		position:fixed;
		width:100%;
		height:100%;
		left:0;
		top:60px;
		z-index:2000;
		display:none;
	}
	nav > ul {
		display:block;
	}
	nav li > a {
		padding:30px;
		margin-bottom:0;
		font-size:24px;
	}
	#contents {
		width:100%;
	}
	#blur_bg {
		display:none;
	}
	#summary_wrapper {
		font-size:90%;
	}
	#main:before {
		background-size: 100% auto;
		background-attachment: scroll;

		width:100%;
		height:300px;
	}
	#main {
		padding-top:60px;
		background:#eee;
	}

	#secretariat {
		font-size:90%;
	}
}
@media only screen and (max-width: 479px) {
/*	#header_wrapper {
		font-size:60%;
	}*/
/*	#summary_wrapper {
		font-size:90%;
	}*/
	#header_wrapper {
		font-size:70%;
	}
	#main:before {
		height:180px;
	}
}

