@charset "UTF-8";
/* CSS Document */

html {
	box-sizing: border-box;
}
body {
	background: url(img/eightG-bgimg-b.png) no-repeat center bottom;
	background-size: 100vw auto;
	background-attachment: fixed;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}
header {
	text-align: center;
}
header h1 {
	margin: 1em 0 0 0;
	font-size: 21px;
	line-height: 1.3;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
header h1 span {
	display: block;
	margin: 0.2em 0 0 0;
	line-height: 1.2;
	color: #0035b2;
	font-size: 36px;
	font-weight: bold;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}
header h2 img {
	display: block;
	width: 25vw;
	min-width: 250px;
	margin: 30px auto 5px auto;
}
header h2 a {
	display: block;
	color: #000;
	line-height: 1.3;
	text-decoration: none;
	font-size: 21px;
	font-weight: bold;
}
header h2 a:hover {
	color: #0035b2;
	transition: .5s;
}
header h2 a span {
	font-weight: normal;
	font-size: .8em;
}
nav {
	width: 95%;
	max-width: 1170px;
	margin: 0 auto;
}
nav h3 {
	color: #0035b2;
	text-align: center;
	margin: 20px 0 5px 0;
}
nav li a {
	display: block;
	color: #000;
	text-decoration: none;
	line-height: 1.2;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	background: rgba(255,255,255,0.6);
	padding: .3em;
	margin: 0 0 .5em 0;
}
nav li a:hover {
	background: rgba(255,255,255,0.9);
	transition: .5s;
}
nav li a span {
	font-weight: normal;
	font-size: .8em
}
@media screen and (min-width: 560px) {
	
}
@media screen and (min-width: 960px) {
	
}

@media screen and (orientation: portrait) {
/* 縦向き専用の装飾 */
	.landscapeOnly {
		display: none;
	}
}

@media screen and (orientation: landscape) {
/* 横向き専用の装飾 */
.portraitOnly {
	display: none;
}
header h1 {
	margin: 1em 0 0 0;
	font-size: 2.5vw;
	line-height: 1.3;
}
header h1 span {
	margin: 0.2em 0 0 0;
	line-height: 1.2;
	font-size: 3.5vw;
}
header h2 img {
	max-width: 300px;
	margin: 30px auto 5px auto;
}
header h2 a {
	line-height: 1.3;
	font-size: 2vw;
}
nav {
	position: absolute;
	bottom: 1vh;
	right: 0;
	left: 0;
}
nav h3 {
	color: #FFF;
	font-weight: bold;
}
nav h3+ul {
	display: flex;
	justify-content: space-between;
}
nav h3+ul li {
	width: calc(32.5%);
}
}

@media all and (orientation: landscape) and (max-width: 960px) {
	/* 横向きで幅960px以下　スマホ横向き */
	header h2 a {
		color: #FFF;
	}
	header h2 img {
		width: 150px;
		min-width: 150px;
		margin: 15px auto 3px auto;
	}
	nav h3 {
		font-weight: normal;
	}
	nav h3+ul li:nth-of-type(1) {
		width: calc(29%);
	}
	nav h3+ul li:nth-of-type(2) {
		width: calc(40%);
	}
	nav h3+ul li:nth-of-type(3) {
		width: calc(29%);
	}
}

@media all and (orientation: landscape) and (min-width: 960px) {
	/* 横向きで幅960px以上　関連会社マーク表示 */
nav li a span::before {
	content: '';
  display: block;
  width: 35px;
  height: 50px;
	background-image: url(img/svg/shosei-mark.svg);
	background-position: center;
	background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto;
}
nav li:nth-of-type(2) a span::before {
	width: 50px;
	background-image: url(img/svg/ne-mark.svg);
}
nav li:nth-of-type(3) a span::before {
	width: 90px;
	background-image: url(img/svg/kenshin-logo.svg);
}
}

@media all and (orientation: portrait) and (max-width: 560px) {
	 body {
		background: url(img/eightG-bgimg-s@2x.png) no-repeat center bottom;
		background-size: 100vw auto;
		background-attachment: fixed;
	}
}


