@charset "utf-8";

button {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	vertical-align: middle;
	text-align: inherit;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.menu {
	position: fixed;
	right: -100%;
	width: 70%;
	height: 100%;
	transition: .3s;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.menu.open {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	background-color: #337ab5;
	opacity: .9;
}



@media screen and (min-width: 641px) {
.btn {
	display: none;
}
.menu {
	display: flex;
	flex-direction: row;
	top: 0;
	right: 0;
	width: 100%;
	height: 100px;
}
}


/* スマホ */
@media screen and (max-width: 640px) {
.btn {
	position: fixed;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 40px;
    z-index: 101;
    padding: 5px;
    background-color: #dddddd;
	opacity: .9;
}
.btn-line {
	display: block;
	position: relative;
	width: 100%;
	height: 4px;
	background-color: #ffffff;
	transition: .2s;
}
.btn-line::before , .btn-line::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	transition: .5s;
}
.btn-line::before {
	transform: translateY(-12px);
}
.btn-line::after {
	transform: translateY(12px);
}
.btn-line.open {
	background-color: transparent;
}
.btn-line.open::before , .btn-line.open::after {
	content: "";
	background-color: #ffffff;
	transition: .2s;
}
.btn-line.open::before {
	transform: rotate(45deg);
}
.btn-line.open::after {
	transform: rotate(-45deg);
}
}