@charset "utf-8";

/*--------------------*/

/*　以下メニューCSS　*/

/*--------------------*/
nav {
	position: fixed;
	top: 0;
	right: 0;
	width: 300px;
	height: 100%;
	background-color: #333;
	transition: all 0.1s;
	transform: translate(300px);
	z-index: 1000;
}

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

nav ul {
	margin: 0;
	padding: 1em;
	list-style-type: none;
	overflow: auto;
}

nav ul li {
	border-bottom: 1px solid #fff;
	text-align: left;
}

nav ul li a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 1em 0;
}

/* 開閉ボタン */
.navBtn button {
	display: block;
	background: #019d97;
	border: none;
	padding: 3px 10px;
	width: 48px;
	color: #333;
	letter-spacing: 0.1em;
	cursor: pointer;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 1001;
	text-align: center;
	outline: none;
}

/* ハンバーガーボタン3本線 */
.navBtn button span.bar {
	display: block;
	height: 3px;
	background-color: #fff;
	margin: 8px 0;
	transition: all 0.1s;
	transform-origin: 0 0;
}

/* メニューアクティブ時 */
.navBtn button.active {
	background-color: #019d97;
}

.navBtn button.active span.bar {
	width: 36px;
}

.navBtn button.active .bar1 {
	transform: rotate(38deg);
}

.navBtn button.active .bar2 {
	opacity: 0;
}

.navBtn button.active .bar3 {
	transform: rotate(-38deg);
	margin-left: -2px;
}

@media screen and (min-width: 1031px) {

	/* PCでメニュボタン非表示 */
	.navBtn {
		display: none;
	}

	/*　PCでメニュー常時表示　*/
	nav {
		position: static;
		transform: none;
		width: calc(100% - 12vw);
		max-width: calc(100% - 196px);
		min-width: calc(100% - 231px);
		background-color: transparent;
	}

	nav ul {
		width: 100%;
		margin: auto;
		overflow: visible;
		padding: 0;
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	nav ul li {
		padding: 0;
		width: auto;
		border-bottom: none;
		text-align: center;
		margin-left: 1.1vw;
		font-size: 14px;
	}

	nav ul li a {
		color: #000;
		padding: 0;
		line-height: 1.2;
	}

	nav ul li a small {
		display: block;
		font-size: 90%;
	}

	nav ul li a:hover {
		color: #019d97;
	}

	nav ul li.sp a {
		display: none;
	}

	nav ul li.toi {
		margin-left: 0.55vw;
	}

	nav ul li.toi a {
		display: block;
		width: 230px;
		height: 64px;
		border-radius: 9px;
		background: url(../img/common/btn_yoyaku.svg) center center no-repeat;
		background-size: contain;
		color: transparent;
	}

	nav ul li.kdtop a {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 8vw;
		max-width: 257px;
		height: 3vw;
		max-height: 58px;
		border-radius: 1px;
		border: 1px solid #c8c8c8;
		font-size: 12px;
	}

	nav ul li.kdtop a:hover {
		border: 1px solid #019d97;
	}
}

@media (min-width: 1031px) and (max-width: 1460px) {

	nav ul li {
		font-size: 0.9vw;
	}

	nav ul li.toi a {
		width: 15.7vw;
		height: 4.06vw;
	}
}

@media screen and (min-width: 1520px) {

	nav ul li {
		margin-left: 2.2vw;
	}

	nav ul li.toi {
		margin-left: 1.1vw;
	}

	nav ul li.kdtop a {
		font-size: 16px;
	}
}

@media screen and (min-width: 1645px) {

	nav ul li.kdtop a {
		width: 13vw;
	}
}

@media screen and (min-width: 1840px) {

	nav ul li {
		font-size: 15px;
	}
}

@media screen and (min-width: 1920px) {

	nav ul li {
		font-size: 16px;
	}

	nav ul li a {
		white-space: nowrap;
	}

	/* nav ul li a small {
		display: inline;
	} */
}
