@charset "utf-8";
/************************

 ハンバーガーメニュー

 **************************/

 /* アイコン */
.icon_box {
	position: fixed;
	right: 0;
	z-index: 125;
	transform: translate3d(0, 0, 10px);
}

.hamburger_icon {
	display: inline-block;
	width: 76px;
	height: 30px;
	margin: 10px;
	cursor: pointer;
	position: relative;
}

@media (min-width:680px) {
	.hamburger_icon {
		width: 100px;
		height: 44px;
		margin: 20px;
	}
}

.hamburger_icon img {
	left: 0;
	height: 100%;
}

.hamburger_icon .lines {
	width: 50%;
	height: 3px;
	background: black;
	border-radius: 4px;
	position: absolute;
	transition: all .6s;
	margin: 0 auto;
	right: 0;
}

.lines:nth-of-type(1) {
	top: 10%;
}

.lines:nth-of-type(2) {
	top: 50%;
}

.lines:nth-of-type(3) {
	top: 90%;
}

/* アイコンのアクティブ化 */
.hamburger_icon.in .lines:nth-of-type(1) {
	transform: rotate(45deg);
	top: 50%;
}

.hamburger_icon.in .lines:nth-of-type(2) {
	opacity: 0;
}

.hamburger_icon.in .lines:nth-of-type(3) {
	transform: rotate(-45deg);
	top: 50%;
}


/* ハンバーガーメニュー */
.hamburger_nav {
	position: fixed;
	top: 0;
	left: 100%;
	z-index: 120;
	transform: translate3d(0, 0, 10px);
	opacity: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	background: white;
	max-height: 95vh;
	overflow-y: auto;
}

.hamburger_nav .nav_wrapper {
	text-align: center;
	margin-top: 68px;
}

.hamburger_nav .nav_wrapper ul {
	list-style: none;
	padding: 16px;
}

.hamburger_nav .nav_wrapper li {
	padding: 1em 0;
	padding: 1em 20%;
}

.hamburger_nav .nav_wrapper li a {
	display: block;
	position: relative;
	text-decoration: none;
}

.hamburger_nav .nav_wrapper li a::after {
	position: absolute;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #ea8d0b;
	bottom: -2px;               /*アンダーラインがaタグの下端から現れる*/
	transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
	transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
	transition: transform 0.4s; /*変形の時間 */
}

.hamburger_nav .nav_wrapper li a:hover:after {
	transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
	transform-origin: left top;
}

/* ハンバーガーメニューのアクティブ化 */
.hamburger_nav.in {
	left: auto;
	right: 0;
	width: 100%;
	opacity: 1;background: linear-gradient(to bottom, rgb(239, 251, 251), white);
}

@media (min-width:640px) {
	.hamburger_nav.in {
		width: 300px;
	}
}