/* ------------------------------
　　ナビゲーション
------------------------------ */
.nav-wrap {
	display: none;
}

.nav {
	font-size: 14px;
}

.nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	padding: 0;
	@include clearfix();

	li {
		display: block;
		padding: 13px 20px;
		list-style-type: none;
	}

	a {
		display: block;
		margin: -13px -20px;
		padding: 13px 20px;
		border-bottom: 2px solid transparent;
		@include link-color($text-color-light, $text-color-base);
		@include text-decoration-none();
		@include roll-over-border-color($nav-border-color, $key-color, $transition-speed);
	}
}

#nav-list-wrap {
	display: inline;
}

.nav-title {
	display: none;
	margin: 0;
	padding: 10px;
	color: $text-color-light;
	font-weight: bold;
	font-size: 16px;
}

@media screen and (min-width: $breakpoint-md-min) {
	.nav-wrap {
		display: block;
		border-bottom: 1px solid $border-color-base;
	}
}

/* ------------------------------
　　オフキャンバスナビゲーション
------------------------------ */
.nav-sp-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-sp-item {
	padding: 20px 12px;
	color: $text-color-base;
	font-size: 14px;
	border-bottom: 1px solid $border-color-base;

	a {
		color: $text-color-base;

		&:link,
		&:visited,
		&:focus,
		&:hover,
		&:active {
			color: $text-color-base;
			text-decoration: none;
		}
	}
}


/* ----------------
シリアルナビ
------------------ */
.serial-nav {
	position: static;
	min-height: 34px;
	margin-bottom: 80px;
	font-size: 14px;

	& a {
		display: block;
		width: 100%;
		overflow: hidden;
		color: #ffffff;
		white-space: nowrap;
		text-decoration: none;
		-ms-text-overflow: ellipsis;
		text-overflow: ellipsis;
		border: 1px solid $btn-color;
		border-radius: 5px;
		@include link-color($text-color-light);
		@include text-decoration-none();
		@include roll-over-border-color($btn-color, $btn-color-on-hover, $transition-speed);
	}
}

.serial-nav-list {
	margin: 0;
	padding: 0;
}

.serial-nav-prev,
.serial-nav-next {
	display: block;
	list-style-type: none;
}

.serial-nav-prev {
	width: 100%;
	margin-bottom: 10px;

	& a {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		height: 75px;
		padding: 16px 20px 16px 38px;
		white-space: normal;
		text-align: left;
	}
}

.serial-nav-prev-icon {
	position: absolute;
	top: 30px;
	left: 15px;
}

.serial-nav-index {
	display: none;
}

.serial-nav-next {
	float: right;
	width: 100%;
	text-align: right;

	& a {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		height: 75px;
		padding: 16px 38px 16px 20px;
		white-space: normal;
		text-align: left;
	}
}

.serial-nav-next-icon {
	position: absolute;
	top: 30px;
	right: 15px;
}

@media screen and (min-width: $breakpoint-md-min) {

	.serial-nav {
		position: relative;
		min-height: 75px;
	}

	.serial-nav-prev {
		float: left;
		width: calc(50% - 34px);
		margin-bottom: 0;
		
	}

	.serial-nav-next {
		width: calc(50% - 44px);
	}

	.serial-nav-index {
		position: absolute;
		top: 0;
		left: 50%;
		display: block;
		width: 70px;
		margin-left: -30px;
		text-align: center;
		list-style-type: none;

		a {
			display: flex;
			align-items: center;
			justify-content: center;
			height: 75px;
			padding: 27px 5px;
		}
	}
}

@media screen and (min-width: $breakpoint-md-min) {
	.serial-nav-prev-title {
		width: 100%;
	}
}