/* ヘッダー
=========================================================================
=========================================================================*/
header {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 90px;
	z-index: 10;
}

/* ----- ロゴ ----- */
header p.logo {
	position: absolute;
	left: 73px;
	bottom: 20px;
	overflow: hidden;
	width: 167px;
	height: 22px;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	z-index: 3;
}

header p.logo a {
	display: block;
	width: 100%;
	height: 100%;
	background: url(../img/common/header_logo_w.svg) center center no-repeat;
	background-size: contain;
	transition: all .3s;
}

header p.logo a:hover {
	opacity: .6;
}

/* ハンバーガーメニュー部分
------------------------------------------------------- */
.icon_animation {
	display: none;
}

/* ----- グローバルメニュー ----- */
header nav {
	position: absolute;
	right: 177px;
	bottom: 0;
}

header nav ul {
	font-size: 1.4rem;
	color: #FFF;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}

/* ----- トップページ ----- */
header nav ul li.index {
	display: none;
}

header nav ul li.content {
	position: relative;
	margin-right: 42px;
	padding-bottom: 10px;
}

header nav ul li a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: inherit;
	line-height: 1em;
}

header nav ul li a:visited,
header nav ul li a:hover {
	color: #FFF;
}

header nav ul li.content a::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 100%;
	height: 1px;
	background: #FFF;
	transform: scale(0, 1);
	transform-origin: left;
	transition: 0.3s;
}

header nav ul li.content a:hover::before {
	transform: scale(1);
}

/* ----- お問合せ ----- */
header nav ul li.contact {
	display: none;
}

.desktop_contact {
	position: absolute;
	top: 0;
	right: 0;
	width: 177px;
	height: 90px;
	background-color: #0051AF;
	z-index: 11;
}

.desktop_contact a {
	position: relative;
	display: block;
	text-align: center;
	line-height: 90px;
	color: #FFF;
	text-decoration: none;
}

.desktop_contact a:hover {
	color: #FFF;
}

.desktop_contact a::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #8BC4C6;
	transform: scale(0, 1);
	transform-origin: left;
	transition: 0.3s;
	z-index: -1;
}

.desktop_contact a:hover::before {
	transform: scale(1);
}

/* ----- アドレス ----- */
header nav .address {
	display: none;
}

/* トップページ
------------------------------------------------------- */
#home header {
	opacity: 0;
	mix-blend-mode: difference;
}

#home header.scrollin {
	opacity: 1;
}

#home header nav ul li a,
#home header nav ul li a:visited,
#home header nav ul li a:hover,
#home header nav ul li a {
	color: #AAA;
}

#home header nav ul li.content a::before {
	background: #AAA;
}

#home .desktop_contact {
	opacity: 0;
	transition: all 1250ms cubic-bezier(0.000, 0.000, 0.410, 1.475);
}

#home .desktop_contact.scrollin {
	opacity: 1;
}

/* 企業情報：ページ
------------------------------------------------------- */
#company header {
	mix-blend-mode: difference;
}

#company header nav ul li a,
#company header nav ul li a:visited,
#company header nav ul li a:hover,
#company header nav ul li a {
	color: #AAA;
}

#company header nav ul li.content a::before {
	background: #AAA;
}

/* 採用情報：ページ
------------------------------------------------------- */
#recruit header {
	mix-blend-mode: difference;
}

#recruit header nav ul li a,
#recruit header nav ul li a:visited,
#recruit header nav ul li a:hover,
#recruit header nav ul li a {
	color: #FFF;
}

#recruit header nav ul li.content a::before {
	background: #FFF;
}

/* 事業内容／特別対談：ページ
------------------------------------------------------- */
#business header p.logo a,
#talksession header p.logo a {
	display: block;
	width: 100%;
	height: 100%;
	background: url(../img/common/header_logo_b.svg) center center no-repeat;
	background-size: contain;
	transition: all .3s;
}

#business header nav ul li a,
#business header nav ul li a:visited,
#business header nav ul li a:hover,
#talksession header nav ul li a,
#talksession header nav ul li a:visited,
#talksession header nav ul li a:hover {
	color: #333;
}

#business header nav ul li.content a::before,
#talksession header nav ul li.content a::before {
	background: #333;
}

/* 事例紹介／ニュース／新卒採用について／仕事紹介、先輩社員インタビュー／お問合せ／プライバシーポリシー：ページ
------------------------------------------------------- */
#works header,
#news header,
#newgrad header,
#interview header,
#privacy header,
#contact header {
	background-color: #FFF;
}

#works header p.logo a,
#news header p.logo a,
#newgrad header p.logo a,
#interview header p.logo a,
#privacy header p.logo a,
#contact header p.logo a {
	display: block;
	width: 100%;
	height: 100%;
	background: url(../img/common/header_logo_b.svg) center center no-repeat;
	background-size: contain;
	transition: all .3s;
}

#works header nav ul li a,
#news header nav ul li a,
#newgrad header nav ul li a,
#interview header nav ul li a,
#privacy header nav ul li a,
#contact header nav ul li a,
#works header nav ul li a:hover,
#news header nav ul li a:hover,
#newgrad header nav ul li a:hover,
#interview header nav ul li a:hover,
#privacy header nav ul li a:hover,
#contact header nav ul li a:hover,
#works header nav ul li a:visited,
#news header nav ul li a:visited,
#newgrad header nav ul li a:visited,
#interview header nav ul li a:visited,
#privacy header nav ul li a:visited,
#contact header nav ul li a:visited {
	color: #333;
}

#works header nav ul li.content a::before,
#news header nav ul li.content a::before,
#newgrad header nav ul li.content a::before,
#interview header nav ul li.content a::before,
#privacy header nav ul li.content a::before,
#contact header nav ul li.content a::before {
	background: #333;
}


/*  1000px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:1000px) {

	header {
		height: auto;
	}

	header .header_container {
		position: relative;
		width: 100%;
		height: 56px;
		background-color: #FFF;
		z-index: 10;
	}

	/* is_open */
	header .header_container.is_open {
		position: fixed;
		top: 0;
		left: 0;
		background-color: rgba(255, 255, 255, 0) !important;
	}

	/* ----- ロゴ ----- */
	header p.logo {
		left: 20px;
		bottom: 13px;
		width: 139px;
		height: 18px;
	}

	header p.logo a {
		background: url(../img/common/header_logo_b.svg) center center no-repeat;
		background-size: contain;
	}

	header p.logo a:hover {
		opacity: 1;
	}

	/* ハンバーガーメニュー部分
	------------------------------------------------------- */
	.icon_animation {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 65px;
		height: 56px;
		cursor: pointer;
		z-index: 4;
	}

	/* ----- line ----- */
	.icon_animation .bar {
		position: absolute;
		top: 17px;
		left: 15px;
		display: block;
		width: 34px;
		height: 1px;
		background: #1D3E64;
		transition: all .3s;
		transform-origin: left top;
	}

	.icon_animation .bar.middle {
		top: 27px;
	}

	.icon_animation .bar.bottom {
		top: 37px;
		transform-origin: left bottom;
	}

	/* ----- line animation ----- */
	.icon_animation.is_open .bar.top {
		top: 17px;
		left: 20px;
		width: 34px;
		transform: rotate(45deg);
	}

	.icon_animation.is_open .bar.middle {
		opacity: 0;
	}

	.icon_animation.is_open .bar.bottom {
		top: 41px;
		left: 20px;
		width: 34px;
		transform: rotate(-45deg);
	}

	/* メニュー閉じるボタン */
	.icon_close {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 65px;
		height: 56px;
		cursor: pointer;
		z-index: 5;
	}

	/* ----- グローバルメニュー ----- */
	header nav {
		display: none;
		overflow: auto;
		position: fixed;
		top: 0;
		left: 0;
		-webkit-overflow-scrolling: touch;
		width: 100%;
		height: 100vh;
		padding: 120px 0 30px;
		background: linear-gradient(to bottom left, #E2F1FA, #8BC4C6);
		z-index: 9;
	}

	/* is_open */
	header nav.is_open {
		visibility: visible;
	}

	header nav ul {
		margin-bottom: 60px;
		color: #333;
		text-align: center;
		display: block;
	}

	/* ----- トップページ ----- */
	header nav ul li.index {
		display: block;
		margin: 0 auto 10px;
	}

	header nav ul li.content {
		margin: 0 auto 10px;
		padding-bottom: 0;
	}

	header nav ul li a {
		position: relative;
		display: inline-block;
		width: calc(263 / 375 * 100%);
		padding: 10px 0;
		color: #333;
		background-color: rgba(255, 255, 255, 0.12);
	}

	header nav ul li a:visited,
	header nav ul li a:hover {
		color: #333;
	}

	header nav ul li.content a::before {
		display: none;
	}


	/* ----- お問合せ ----- */
	.desktop_contact {
		display: none;
	}

	header nav ul li.contact {
		display: block;
	}

	/* ----- アドレス ----- */
	header nav .address {
		display: block;
		text-align: center;
	}

	header nav .address .logomark {
		overflow: hidden;
		width: 100%;
		height: 59px;
		margin-bottom: 25px;
		text-align: left;
		text-indent: 100%;
		white-space: nowrap;
		background: url(../img/common/header_logomark.svg) center center no-repeat;
		background-size: contain;
	}

	header nav .address address {
		margin-bottom: 5px;
		font-size: 1.0rem;
		line-height: 1em;
	}

	/* ----- 電話番号 ----- */
	header nav .address a.tel {
		position: relative;
		display: inline-block;
		overflow: hidden;
		text-align: left;
		text-indent: 100%;
		white-space: nowrap;
		width: 70px;
		height: 9px;
		background: url(../img/common/header_tel.svg) center top no-repeat;
		background-size: contain;
	}

	/* トップページ
	------------------------------------------------------- */
	#home header {
		mix-blend-mode: initial;
	}

	#home header nav ul li a,
	#home header nav ul li a:visited,
	#home header nav ul li a:hover,
	#home header nav ul li a {
		color: initial;
	}

	#company header nav ul li.content a::before {
		background: initial;
	}

	/* 企業情報：ページ
	------------------------------------------------------- */
	#company header {
		mix-blend-mode: initial;
	}

	#company header nav ul li a,
	#company header nav ul li a:visited,
	#company header nav ul li a:hover,
	#company header nav ul li a {
		color: initial;
	}

	#company header nav ul li.content a::before {
		background: initial;
	}

	/* 採用情報：ページ
	------------------------------------------------------- */
	#recruit header {
		mix-blend-mode: initial;
	}

	#recruit header nav ul li a,
	#recruit header nav ul li a:visited,
	#recruit header nav ul li a:hover,
	#recruit header nav ul li a {
		color: initial;
	}

	#recruit header nav ul li.content a::before {
		background: initial;
	}
}

/*  767px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {}

/*  480px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:480px) {}
