@charset "utf-8";

header {
	position: sticky;
	top: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #ccc;
	z-index: 300;
}
header.unpinned {
	transform: translateY(-150%);
}
header a.company {
	font-size: 10px;
	line-height: 1.5;
	text-decoration: none!important;
}
header ul.header-global-navi {
	display: flex;
	flex-wrap: wrap;
}
header ul.header-global-navi li:nth-child(1) {
	background-image: url("/bs/assets/img/common/gnavi_01.svg");
}
header ul.header-global-navi li:nth-child(2) {
	background-image: url("/bs/assets/img/common/gnavi_02.svg");
}
header ul.header-global-navi li:nth-child(3) {
	background-image: url("/bs/assets/img/common/gnavi_04.svg");
}
header ul.header-global-navi li:nth-child(4) {
	background-image: url("/bs/assets/img/common/gnavi_05.svg");
}
header ul.header-global-navi li:nth-child(5) {
	background-image: url("/bs/assets/img/common/gnavi_showroom.svg");
}
header ul.header-global-navi li:nth-child(6) {
	background-image: url("/bs/assets/img/common/gnavi_06.svg");
}
header ul.header-global-navi li:nth-child(7) {
	background-image: url("/bs/assets/img/common/gnavi_07.svg");
}
header ul.header-global-navi li:nth-child(8) {
	background-image: url("/bs/assets/img/common/gnavi_08.svg");
}
header ul.header-global-navi li {
	display: inline-block;
	height: 70px;
	text-align: center;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 120% auto;
	width: 70px;
	padding: 0px 0px;
	margin: 0px;
	transition: .2s;
}
header ul.header-global-navi li:first-child {
	margin-left: 0px;
}
header ul.header-global-navi li a {
	display: inline-block;
	height: 60px;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	overflow: hidden;
	text-indent: -9999px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 120% auto;
	width: 70px;
	padding: 0px 0px;
	margin: 0px;
	transition: .2s;
}
header ul.header-global-navi li:hover {
	cursor: pointer;
	opacity: 0.6;
	transition: .2s;
}
.global-search {
	width: 100%;
	background: #ccc;
	position: fixed;
	top: 90px;
	left: 0;
	z-index: 200;
}
.global-search .search-form {
	width: 100%;
	max-width: 1200px;
	height: auto;
	margin: auto;
	display: flex;
	justify-content: flex-end;
	position: relative;
}
.global-search .search-form::before {
	content: "";
	position: absolute;
	right: 110px;
	top: -8px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-color: transparent transparent #ccc transparent;
	border-width: 0 8px 8px 8px;
}
.global-search .search-form form {
	display: flex;
	width: 360px;
	margin-left: auto;
	background: #fff;
	border-radius: 4px;
	justify-content: space-between;
	margin: 10px;
}
.global-search .search-form input[type="search"] {
	/*display: block;*/
	box-sizing: border-box;
	width: 300px;
	height: 30px;
	background: transparent;
	border: none;
	padding: 10px;
	font-size: 12px;
	line-height: 1px;
}
.global-search .search-form input[type="submit"],
.global-search .search-form button[type="submit"]{
	display: block;
	width: 60px;
	padding: 10px;
	font-size: 12px;
	line-height: 1px;
	background: transparent;
	color: #444;
	border: none;
	border-radius: 0;
	border-left: solid 1px #ccc;
	text-align: center;
	cursor: pointer;
	appearance: none;
}
button.global-header-form-submit {
	font-size: 1rem;
	width: 4rem;
}
#searchOpen:not(:checked) ~ .global-search {
	visibility: hidden;
	opacity: 0;
}
@media screen and (max-width: 959px) {
	header {
		height: 61px;
	}
	header img.logo {
		width: 110px;
		margin: 0;
		padding: 0;
	}
	img.imgNavOpen, img.imgNavClose {
		padding: 10px;
		width: 50px;
	}
	#searchOpen ~ label[for="searchOpen"] .imgNavOpen, #searchOpen:checked ~ label[for="searchOpen"] .imgNavClose {
		display: inline;
	}
	#searchOpen:checked ~ label[for="searchOpen"] .imgNavOpen, #searchOpen ~ label[for="searchOpen"] .imgNavClose {
		display: none;
	}
	header a.company {
		position: fixed;
		top: 100px;
		margin-top: 15px;
		z-index: 20;
		text-align: center;
		width: 100%;
		height: 60px;
	}
	img.inqA {
		width: 50px;
		padding: 4px;
		margin: 0;
	}
	li.searchBtn, li.header-global-inquir {
		display: none !important;
	}
	.global-search {
		top: 60px;
		z-index: 30;
		height: 40px;
	}
	.global-search .search-form {
		padding: 5px 20px;
		display: block;
	}
	.global-search .search-form form {
		width: 100%;
		margin: 0px;
	}
	.global-search .search-form input[type="search"] {
		width: 100%;
	}
	.search-form {
		position: relative;
		width: 100%;
		height: auto;
		margin: auto;
		display: flex;
		background: #ccc;
	}
	.search-form::before {
		display: none;
	}
	header ul.header-global-navi {
		position: fixed;
		justify-content: center;
		align-items: flex-start;
		align-content: flex-start;
		top: 0;
		margin: 100px 0 0;
		padding-top: 60px;
		order: 7;
		width: 100%;
		height: 100vh;
		background: #fff;
	}
	#searchOpen:not(:checked) ~ :where(.header-global-navi, .company) {
		transition: 0s;
		visibility: hidden;
		opacity: 0;
	}
}
@media screen and (min-width: 960px) {
	header {
		margin-inline: auto;
		height: 90px;
		padding: 0px max(calc(50vw - 594px), 10px);
	}
	label[for="searchOpen"] {
		display: none;
	}
	.searchBtn label[for="searchOpen"] {
		display: block;
	}
	header ul.header-global-navi li label {
		display: inline-block;
		height: 60px;
		text-align: center;
		vertical-align: middle;
		cursor: pointer;
		overflow: hidden;
		text-indent: -9999px;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 120% auto;
		width: 70px;
		padding: 0px 0px;
		margin: 0px;
		transition: .2s;
	}
	header ul.header-global-navi li:is(:hover, :focus) {
		cursor: pointer;
		opacity: 0.6;
		transition: .2s;
	}
	header img.logo {
		margin-right: 15px;
		padding-right: 15px;
		border-right: 1px solid #999;
		width: 142px;
	}
	header a.company {
		padding: 0;
		margin: 0;
		margin-right: auto;
	}
	header img.inqA {
		display: none;
	}
	header ul.header-global-navi {
		margin: 0 0 0 auto;
	}
	header ul.header-global-navi li.header-global-inquir {
		display: inline-block;
		text-align: center;
		vertical-align: middle;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 120% auto;
		width: 70px;
		padding: 0px 0px;
		margin: 0px;
		transition: .2s;
	}
	header ul.header-global-navi li.header-global-inquir a {
		display: inline-block;
		overflow: hidden;
		vertical-align: middle;
		background-image: url("/bs/assets/img/common/gnavi_08.svg");
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 120% auto;
		width: 70px;
		padding: 0px 0px;
		text-indent: -9999px;
		background-color: #363a43;
		border-radius: 0 0 4px 4px;
		height: 80px;
		margin-top: -10px;
		cursor: pointer;
		transition: .2s;
	}
	header ul.header-global-navi li.header-global-inquir a:is(:hover, focus) {
		cursor: pointer;
		background-color: #51555e;
		transition: .2s;
	}
}