﻿@charset "utf-8";

body{
	margin-top: 0px;
	font-family: "Rounded Mplus 1c", "游ゴシック Medium", "Yu PGothic Medium","游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	color: #333;
//	background-image:url(../bg/top_photo_bg.gif);
}
@font-face {
	font-family: 'Kaisei_Opti';
	  src: url('../fonts/Kaisei_Opti/KaiseiOpti-Medium.ttf')format('truetype');
}
h1,h2,h3 {
	letter-spacing: 2px;
}
p {
	color: #444;
	letter-spacing: 1px;
	text-align: justify;
}
a{
	color:royalblue;
	transition:all ease 0.4s;
	-webkit-transition:all ease 0.4s;
}
a:hover{
	color:tomato;
}
img, video {
	max-width:100%;
	height:auto;
	width/***/:auto;
}
#container {
	margin:0 auto;
	width:94%;
	background-color: #FFF;
//	behavior: url("/PIE.htc");
}
header {
	width:100%;
	height:auto;
	text-align:right;
	font-family: "Rounded Mplus 1c";
	background-image: url(../bg/title_bg.jpg);
	background-size: cover;
}
#header_box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
	width: 94%;
}
header h1 {
	padding:2%;
	font-size:3rem;
	color:#FFF;
	text-shadow:3px 3px 2px #333;
}
header h1 a {
	color: #FFF;
}
header h1 a:hover {
	color: #FFF;
}
header h1 span {
	display: block;
	font-size:1.2rem;
	line-height: 1.4;
}
header h2 {
	margin: 0 2%;
	padding: 4px;
	align-self: flex-start;
	font-size: 2rem;
	border-radius: 8px;
	background: rgba(255,255,255,0.8);
	box-shadow: 0 0 10px #FFF;
}
header p a {
	display: block;
	width: 100px;
	font-size: 0.9em;
	line-height: 1.2em;
	text-align:center;
	background-color: #EAEAEA;
}
header p a:hover {
	background-color:azure;
}
.drawerBt {
	display:none;
}
.dNavWrapper{
	width: 100%;
	margin:20px auto;
}
.dNav{
	display: flex;
	justify-content: space-between;
	margin:0 auto;
	width:100%;
}
.dNav li{
	width:calc(100%/7);
	font-size: 0.9rem;
	line-height: 1.6;
	text-align: center;
	color: #FFF;
	border-bottom:1px solid #060;
	border-right:2px solid #060;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	box-sizing:border-box;
}
.dNav li:last-child{
	margin: 0;
}
.dNav li a {
	display: block;
	color: #063;
	text-decoration: none;
	background: #FFF;
}
.dNav li a:hover {
	background:#E7CDE7;
	color:tomato;
}
#messe{
	width:200px;
}
#messe p a{
	display:block;
	margin:10px;
	font-size: 1em;
	line-height: 2em;
	text-align: center;
	color: #666;
}
#messe p a:hover{
	color: #FFF;
	background:lightseagreen;
}
footer {
	width: 100%;
	padding: 20px 0;
}
#footer_box {
	margin: 0 auto;
	width: 90%;
	border-top:1px dotted #666;
}
footer ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin:10px 4% 0 auto;
	width:60%;
}
footer li{
	font-size: 0.85rem;
	line-height: 2;
}
footer li a{
	display: block;
	padding: 0 10px;
	color: #96C;
}

footer li a:hover {
	padding: 0 10px;
	color: #FFF;
	background:seagreen;
}

footer p{
	padding-bottom: 30px;
	font-size: 0.85rem;
	line-height:1.6;
}

.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 20px;
}
.pagetop a {
	display: block;
	background-color: rgba(55,120,235,0.7);
	text-align: center;
	color: #FFF;
	font-size: 12px;
	text-decoration: none;
	padding: 16px 10px;
	border-radius: 50%;
}
 
.pagetop a:hover {
	display: block;
	background-color: rgba(195,28,28,0.7);
	text-align: center;
	color: #FFE6D9;
	font-size: 12px;
	text-decoration: none;
	padding:18px 10px;
	border-radius: 50%;
}

/*Responsive===========================================================*/

@media screen and (max-width:1026px){
	#container {
		width:98%;
	}
}
@media screen and (max-width:970px){
	#container {
		width:100%;
	}
}
@media screen and (max-width:800px){
	header h1{
		font-size:2.2em;
	}
	a:hover{
		color:royalblue;
	}
}
@media screen and (max-width:642px){
	header h1{
		width:60%;
		font-size:1.6em;
	}
	.drawerBg {
		width: 100%;
		height: 100%;
		position: fixed;
		z-index: 999;
		background-color: rgba(120, 120, 120, 0.6);
		display: none;
		top: 0;
		left: 0;
	}
	.drawerBt {
		display: block;
		background: rgba(25,25,112,0.7);
		color:#FFF;
		border-radius: 4px;
		border: none;
		padding: 0 10px;
		width: 28px;
		letter-spacing: 0.1em;
		cursor: pointer;
		position: fixed;
		top: 20px;
		right: 20px;
		z-index: 1001;
		text-align: center;
		outline: none;
	}
	.drawerBt.active .drawerBar {
		width: 49px;
	}
	.drawerBt.active .drawerBar1 {
		transform: rotate(30deg);
	}
	.drawerBt.active .drawerBar2 {
		opacity: 0;
	}
	.drawerBt.active .drawerBar3 {
		transform: rotate(-30deg);
	}
	.drawerBt.active .drawerMenuText {
		display: none;
	}
	.drawerBt.active .drawerClose {
		display: block;
	}
	.drawerBar {
		display: block;
		height: 3px;
		margin: 8px 0;
		transition: all 0.2s;
		transform-origin: 0 0;
	}
	.drawerText {
		text-align: center;
		font-size: 8px;
	}
	.drawerClose {
		letter-spacing: 0.08em;
		display: none;
	}
	.drawerMenuText {
		display: block;
	}
	.dNavWrapper {
		width: 310px;
		height: 100%;
		transition: all 0.2s;
		transform: translate(312px);
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1000;
		background: rgba(25,25,112,0.7);
	}
	.dNavWrapper.open {
		transform: translate(0);
	}
/*+++ Default Navigation CSS +++*/
	.dNav {
		flex-direction: column;
		padding: 60px 0;
	}
	.dNav li {
		width:100%;
		font-size: 1rem;
		line-height:3.2;
		border:none;
//		background: rgba(25,25,112,0.8);
	}
	.dNav li a{
		display: block;
		color: #FFF;
		background: none;
		text-decoration: none;
	}
/*+++ Default Button Color +++*/
	.drawerBt .drawerBar {
		background:#FFF;
	}
	footer ul {
		width:70%;
}

}
