@charset "utf-8";

@media print, screen and (min-width:768px) {
	main {
		padding-top: 0 !important;
	}
}

/* -------------------------------------------------
	first-view
------------------------------------------------- */

#first-view {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}
#first-view .texts {
	text-align: center;
	position: relative;
	z-index: 4;
}
#first-view .texts .text1 {
	font-size: 70px;
	line-height: 1.4;
}
#first-view .texts .text2 {
	margin-top: 1.5em;
	font-size: 38px;
	line-height: 1.5;
}
#first-view video {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	transform: translate(-50%,-50%);
	
	 /* ブラウザ高が、動画よりも、低い */
	width: 100vw;
	height:calc(100vw * 336 / 596);
}
#first-view video.size2 { /* ブラウザ高が、動画よりも、高い */
	height: 100vh;
	width: calc(100vh * 596 / 336);
}

@media print, screen and (min-width:768px) and (max-width:1160px) {
	#first-view .texts .text1 {
		font-size: 6.0vw;
	}
}

@media screen and (max-width:767px) {
	#first-view {
		height: 110vw;
	}
	#first-view video,
	#first-view video.size2 {
		width: auto;
		height: 110vw;
	}
	#first-view .texts .text1 {
		font-size: 6.0vw;
	}
	#first-view .texts .text2 {
		font-size: 15px;
	}
}

/* -------------------------------------------------
	lead-block
------------------------------------------------- */

#lead-block {
	padding: 130px 0 120px;
	text-align: center;
}
#lead-block.en{
	padding: 130px 0 0 0;
}
#lead-block .logo {
	width: 330px;
}
#lead-block .copy {
	margin: 1.5em 0 1em;
	font-size: 38px;
	line-height: 1.6;
}
#lead-block .desc {
	font-size: 20px;
	line-height: 2;
}
#lead-block .body-text {
	width: 940px;
	margin: 0 auto;
	}
#lead-block strong {
	font-weight: 900;
	}
#lead-block .desc2 {
	font-size: 16px;
	line-height: 2;
	text-align: left;
	margin-bottom: 16px;
}
#lead-block .num-list {
	font-size: 16px;
	line-height: 2;
	text-align: left;
	margin-bottom: 16px;
	list-style-type: decimal;
	padding-left: 48px;
}
#lead-block .num-list2 {
	font-size: 16px;
	line-height: 2;
	text-align: left;
	margin-bottom: 16px;
	list-style-type: decimal;
	padding-left: 24px;
}
#lead-block .num-list2 li {
	margin-bottom: 16px;
}
#lead-block .mov {
	width: 96%;
	max-width: 816px;
	height: calc(816px * 1080 / 1920);
	margin: 100px auto 0;
}
#lead-block .mov video {
	width: 100%;
	height: 100%;
}
#lead-block .mov-title {
	margin-top: 1em;
	font-size: 38px;
}

@media print, screen and (min-width:768px) and (max-width:1260px) {
	#lead-block .copy {
		font-size: calc(38px * 0.65);
	}
	#lead-block .desc, #lead-block .desc2, #lead-block .num-list, #lead-block .num-list2 {
		font-size: calc(20px * 0.7);
	}
}

@media screen and (max-width:767px) {
	#lead-block {
		padding: 60px 0;
	}
	#lead-block.en {
		padding: 60px 0 0 0;
	}
	#lead-block .logo {
		width: 100px;
	}
	#lead-block .body-text {
		width: 90%;
		margin: 0 auto;
	}
	#lead-block .copy {
		font-size: 17px;
		font-weight: bold;
	}
	#lead-block .desc, #lead-block .desc2, #lead-block .num-list, #lead-block .num-list2 {
		font-size: 11px;
	}
	#lead-block .mov {
		width: 90%;
		height: 180px;
		margin: 40px auto 0;
	}
	#lead-block .mov-title {
		font-size: 20px;
	}
}

/* -------------------------------------------------
	bottom-nav
------------------------------------------------- */

#bottom-nav ul li a {
	display: block;
}
#bottom-nav ul li a img {
	width: 100%;
}
#bottom-nav ul li a .title {
	margin-top: 0.9em;
	font-size: 38px;
}
#bottom-nav ul li a .title-sub {
	margin-top: 0.8em;
	font-size: 20px;
}
#bottom-nav ul li a .more {
	margin-top: 0.9em;
	font-size: 38px;
}
#bottom-nav ul li.service a .more {
	color: #00aec0;
}
#bottom-nav ul li.case a .more {
	color: #45b035;
}

@media print, screen and (min-width:768px) {
	#bottom-nav ul {
		max-width: 1600px;
		margin: 0 auto;
		display: flex;
	}
	#bottom-nav ul li {
		width: 50%;
	}
	#bottom-nav ul li:first-child {
		text-align: right;
	}
	#bottom-nav ul li a {
		display: block;
	}
	#bottom-nav ul li a .group {
		width: 600px;
		display: inline-block;
	}
	#bottom-nav ul li:first-child a .group {
		text-align: left;
	}
	#bottom-nav ul li:last-child a .group {
		text-align: right;
	}
	
	/* hover */
	
	#bottom-nav ul li a .pic {
		background: #fff;
	}
	#bottom-nav ul li a .pic img {
		transition: opacity 0.2s ease-out;
	}
	#bottom-nav ul li a:hover .pic img {
		opacity: 0.8;
	}
	#bottom-nav ul li a p {
		transition: text-shadow 0.2s ease-out;
	}
	#bottom-nav ul li a:hover p {
		text-shadow: 0px 0px 8px #fff;
	}
}

@media print, screen and (min-width:768px) and (max-width:1260px) {
	#bottom-nav ul li a .group {
		width: 96.5%;
	}
	#bottom-nav ul li a .title,
	#bottom-nav ul li a .more {
		font-size: calc(38px * 0.7);
	}
	#bottom-nav ul li a .title-sub {
		font-size: calc(20px * 0.7);
	}
}

@media screen and (max-width:767px) {
	#bottom-nav ul li {
		padding-bottom: 40px;
	}
	#bottom-nav ul li a .group {
		padding: 0 15px;
	}
	#bottom-nav ul li a .title {
		font-size: 20px;
		font-weight: bold;
	}
	#bottom-nav ul li a .title-sub {
		font-size: 14px;
		line-height: 1.4;
	}
	#bottom-nav ul li a .more {
		margin-top: 0.5em;
		font-size: 16px;
		font-weight: bold;
	}
}