﻿@charset "UTF-8";

body {
	font-family: "ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic, "メイリオ", Meiryo, Osaka, "游ゴシック", Yu Gothic, sans-serif;
	color: #333;
}
img, audio, video {
	max-width: 100%;
	height: auto;
	width/***/: auto;
}
a:hover {
	color: red;
}
#wrapper {
	width: 90%;
	margin: 0 auto;
	background-color: #FFF;
}
header {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-end;
	margin: 0 auto;
	padding-top: 20px;
	width: 90%;
	border-bottom: 1px dotted slategray;
}
header h1 {
	margin: 0 4% 4px 0;
	font-family: "游明朝", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", 'Noto Serif JP',serif;
}
header h2 {
	margin: 0 0 8px 2%;
	font-family: "游明朝", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro",'Noto Serif JP', serif;
	font-size: 2.2rem;
	font-weight: lighter;
}
.drawerBt {
	display: none;
}

.dNavWrapper {
	margin: 10px auto;
	width: 86%;
	font-family: "ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", MS PGothic, sans-serif;
}
nav {
//	width: 100%;
//	font-family: "ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", MS PGothic, sans-serif;
}
nav ul.dNav {
	display: flex;
	justify-content: space-between;
	margin: 10px auto;
	width: 90%;
}
nav ul.dNav li {
	position: relative;
	width: 20%;
	font-size: 1rem;
	line-height: 2.4;
	text-align: center;
//	border-right: 1px solid #333;
//	box-sizing: border-box;
}
nav li:last-child {
//	border-right: none;
}
nav ul.dNav li a {
	display: block;
	color: midnightblue;
}
nav ul.dNav li a:hover {
	width: 100%;
	color: purple;
	transition: ease all 0.2s;
	text-decoration: underline;
//	background-color: lightgray;
}
nav ul.dNav li ul {
	display: none;
}
ul.dNav li:hover ul {
	display: block;
	position: absolute;
	width: 100%;
	z-index: 10;
}

ul.dNav li ul li {
	padding: 0;
	margin: 0;
	line-height: 3;
	width: 100%;
	border: none;
}
ul.dNav li ul li a {
//	color: #666;
	background: ghostwhite;
}

footer {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding-top: 40px;
	width: 100%;
	font-family: "游明朝", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro",'Noto Serif JP', serif;
}
footer p {
	padding: 30px 0;
	font-size: 0.8rem;
	color: #333;
}
footer li {
	font-size: 0.77rem;
	line-height: 1.6em;
}

.pagetop {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 20px;
}
.pagetop a {
	display: block;
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.6em;
	text-decoration: none;
}
 
.pagetop a:hover {

}

@media screen and (max-width:1030px){
	#wrapper {
		width: 94%;
//		background: lightpink;
	}
	.bx-wrapper {
		width: 90%;
//		margin: 10px auto;
	}
	main {
//		margin: 0 auto;
//		width: 80%;
	}
}
@media screen and (max-width:780px){
#wrapper {
	width: 98%;
//	background: violet;
}

}

@media screen and (max-width:650px){
#wrapper {
	padding-top: 24px;
	width: 100%;
}
.drawerBg {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 999;
	background-color: rgba(120, 120, 120, 0.4);
	display: none;
	top: 0;
	left: 0;
	}
.drawerBt {
	display: block;
	background: none;
	border: none;
	padding: 0;
	width: 42px;
	cursor: pointer;
	letter-spacing: 0.1em;
	position: fixed;
	top: 3px;
	right: 18px;
	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: 2px;
	margin: 10px 0;
	transition: all 0.2s;
	transform-origin: 0 0;
}

.drawerText {
	text-align: center;
	font-size: 10px;
}

.drawerClose {
	letter-spacing: 0.08em;
	display: none;
}

.drawerMenuText {
	display: block;
}

.dNavWrapper {
	width: 240px;
	height: 100%;
	transition: all 0.2s;
	transform: translate(312px);
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	background-color: #FFF;
}

.dNavWrapper.open {
	transform: translate(0);
}

nav ul.dNav {
	flex-direction:column;
	padding: 60px 0 50px;
	width: 100%;
}

nav ul.dNav li {
	margin-bottom: 0;
	width: 100%;
	font-size: 1rem;
	line-height: 3.4;
	border-bottom: 1px dotted #CCC;
	border-left: none;
}
ul.dNav li ul li {
//	padding-left: 10%;
	width: 100%;
	border-bottom: 1px dotted #CCC;
}

/*+++ Default Button Color +++*/
.drawerBt {
	color: midnightblue;
}

.drawerBt .drawerBar {
	background-color: midnightblue;
}

@media screen and (max-width:490px){
	header {
		flex-direction: column;
		margin: 0 auto;
		width: 80%;
	}
	header h1 {
		order: 0;
	}
	header h2 {
		order: 2;
	}
}
