@charset "UTF-8";

header{
	position: relative;
	overflow: hidden;
	height: 100vh;
	width: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
}
/*
header video{
	margin: 0 auto;
	overflow: hidden;
	z-index: 1;
	position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
}
*/
header .text{
	z-index: 3;
	position: absolute;
	top:45%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
	width: 100%;
	padding: 10px;
	box-sizing:border-box;
    animation: titleAnimation 10s;
	animation-fill-mode: forwards;
}
/*
@keyframes titleAnimation { 
	0% {

		top:-13%;
		left:50%;
		transform: translate(-50%,-50%);
	}
	40% {
	    opacity: 1;
		top:45%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	70% { opacity: 1 ;
		top:45%;
		left:50%;
		transform: translate(-50%,-50%)scale(1.1);
	}
	100% { opacity: 1 ;
		top:45%;
		left:50%;
		transform: translate(-50%,-50%)scale(1);
	}
	
}
*/
header .header-title{
	position:relative;
	z-index:5;
	color:#DD1F26;
	font-family:"Times New Roman", Times, "serif";
	letter-spacing: 0.1em;
	line-height: 1.5em;
	font-weight: 800;
	font-size: 200%;
	text-shadow:1px 1px 0px white;
	text-align: center;
	margin: auto;
	

}
header span{
	color:white;
	text-shadow:2px 2px 2px hsla(0,0%,3%,1.00);
}
header h2{
	position:relative;
	z-index: 3;
	color: white;
	text-align: center;
	border: 1px solid gray;
	background:hsla(0,0%,5%,0.9);
	font-size: 120%;
	padding: 10px;
	font-weight: 500;
	margin: auto;
	margin-top: 20px;
	max-width: 90%;
	font-family:YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
/*ーーーーーーーーーーーーーーーSERVICE ここからーーーーーーーーーーーー*/

main .main-title{
	text-align: center;
	font-size: 150%;
	color:#DD1F26;
	font-weight: 900;
	
}
main h2{
	text-align: center;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 120%;
}
main h3{
	width: 100px;
	margin: auto;
	background: hsla(217,100%,25%,1.00);
	height: 3px;
	margin-top: 10px;
	margin-bottom: 30px;
}
#service {
	padding: 15px;
	padding-top: 40px;
	overflow: hidden;
	padding-bottom: 50px;
}
#service img{
	width: 100%;
	height: auto;
	margin-top: 15px;
	margin-bottom: 15px;
	transition: transform 1s;
}
#service h4{
	font-family: 游ゴシック;
	font-size: 130%;
/*	font-style:italic;*/
	font-weight: 600;
}
#service h5{
	margin: 20px 0;
}
#service p{
	color: hsla(0,0%,8%,1.00);
}
#service h5 a {
	border: solid 1px hsla(217,100%,25%,1.00);
	padding: 10px 30px;
	font-size: 100%;
  	display: inline-block;
    background: -webkit-linear-gradient(left, hsla(217,100%,25%,1.00) 50%, transparent 50%);
    background: -o-linear-gradient(left, hsla(217,100%,25%,1.00) 50%, transparent 50%);
    background: linear-gradient(to right, hsla(217,100%,25%,1.00) 50%, transparent 50%);
  	background-size: 200% 100.5%;
  	background-position: right bottom;
  	text-align: center;
  	color:black;
  	width: 170px;
  	transition: all .3s; }
#service h5 a:hover {
    background-position: left bottom;
    color: white;
    opacity: 1; }
#service .all{
	margin-bottom: 20px;
}
/*----------------------------------SERVICE ここまでーーーーーーーーーーーー*/
/*----------------------------------ABOUT ここからーーーーーーーーーーーー*/
#about{
	background:hsla(0,0%,97%,1.00);
	padding: 15px;
	padding-top: 50px;
	padding-bottom: 60px;
}
#about h4{
	font-size: 125%;
	font-weight: 600;
	margin-top: 50px;
	margin-bottom: 7px;
}
#about h5{
	font-family:"Times New Roman", Times, "serif";
	font-size: 120%;
	font-weight: 500;
	border-bottom: solid 1px hsla(208,97%,31%,1.00);
	padding-bottom:15px;
}
#about ul{
	max-width: 1100px;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	margin: auto;
}
#about ul li{
	border: 1px solid hsla(217,100%,25%,1.00);
	width: 31%;
	text-align: center;
	padding:8px 7px;
	margin-bottom: 15px;
	box-sizing: border-box;
	cursor:pointer;
  	display: inline-block;
    background: -webkit-linear-gradient(left, hsla(217,100%,25%,1.00) 50%, transparent 50%);
    background: -o-linear-gradient(left, hsla(217,100%,25%,1.00) 50%, transparent 50%);
    background: linear-gradient(to right, hsla(217,100%,25%,1.00) 50%, transparent 50%);
  	background-size: 200% 100.5%;
  	background-position: right bottom;
	transition: all .3s; 
}
#about ul li:hover {
    background-position: left bottom;
    color: white;
    opacity: 1; 
}
#about .active{
	background: hsla(217,100%,25%,1.00);
	color: white;
}
#about p.bold{
	margin-top: 8px;
	color: hsla(0,0%,16%,1.00);
	font-weight: 600;
}
#about p{
	color: hsla(0,0%,21%,1.00);
	margin-top: 7px;
	line-height: 1.7em;
}
#about .about-fade{
	max-width: 1100px;
	margin: auto;
	display: none;
}
/*---------------------------aboutここまでーーーーーーーーーーーーー*/
/*---------------------------crewここからーーーーーーーーーーーーー*/
#crew{
	margin-top: 40px;
}
#crew h2{
	font-size: 106%;
	width: 90%;
	margin: auto;
	max-width: 750px;
	text-align: center;
	margin-top: 8px;
	letter-spacing: 0.05em;
}
#crew ul{
	padding: 10px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	
	
}
#crew ul li{
	margin-bottom: 40px;
}
#crew dt img{
	display: block;
	overflow: hidden;
	width: 100%;
	height: auto;
	transition: transform 1s;
	cursor:pointer;
}
#crew dt{
	height: auto;
	position: relative;
	overflow: hidden;
	padding-bottom: -5px;
	box-sizing: border-box;
	display: flex;
	flex-direction:column;
	align-items: center;
	text-align: center;
	transition: transform 1s;
	margin-bottom: 20px;

}
#crew dt:hover img{
  	transform: scale(1.2);

}
#crew li dt::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-image: linear-gradient(to right bottom, #485563 0%, hsla(217,100%,29%,0.6) 100%);
	opacity: .3;
	z-index: 1;
		cursor:pointer;
}
 #crew dt p{
	font-style: italic;
	font-family: "Times New Roman", Times, "serif";
	position: absolute;
  	color:#DA1F25;
  	font-size: 32px;
  	font-weight: 700;
  	letter-spacing: 0.05em;
  	text-indent: 0.05em;
  	text-align: center;
 	top:0;
	left: 0;
	bottom:0;
	right: 0;
  	margin: auto 0;
  	height: 1em;
  	text-shadow: 1px 1px 2px white;
	z-index:2 ;
}
#crew dd{
	color: hsla(0,0%,8%,1.00);
}
#crew dd:nth-child(2){
	color: hsla(0,0%,5%,1.00);
	border-left: solid 7px hsla(217,100%,25%,1.00);
	font-weight: 600;
	font-size: 20px;
	padding-left: 10px;
	margin: 8px 0;
}

/*------------------------------MESSGE　ここからーーーーーーーーーーーー*/
#message{
	background:hsla(206,100%,98.5%,1.00);
	padding-bottom: 40px;
	border-top:1px solid hsla(206,100%,96.5%,1.00);
	border-bottom: 1px solid hsla(206,100%,96.5%,1.00);
}
#message img{
	width: 100%;
	height: auto;
}
#message strong{
	font-weight: 600;
}
#message img{
	margin-bottom: 30px;
}
#message p{
	padding: 5px 15px;
}
#message h4{
	text-align: right;
	margin: 5px 15px;
}
#message .right{
	display: none;
}
/*-------------------------------COMPANY----------------*/
#company{
	padding-top: 40px;
}
#company table{
	padding: 15px;
	border: none;
	overflow: hidden;
	width: 100%;
	margin: auto;
	box-sizing: border-box;
	
}
#company table tr{
	width: 100%;
	overflow: hidden;
	position:relative;
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	margin: auto;
	padding:0 10px;

}
#company table th{
	border: none;
	font-size: 113%;
	background: hsla(0,0%,93%,1.00);
	font-weight: bold;
	padding: 10px;
	width:100%;
	flex-wrap: wrap;
	margin: 13px 0;
}
#company table td{
	border: none;
	padding: 2px 10px;
}
#company p{
	margin-bottom: 5px;
	color: hsla(0,0%,5%,1.00);
}
#company a{
	color:hsla(238,100%,45%,1.00);
}
#company a:hover{
	text-decoration:underline;
}
#company span{
	margin-left: 40px
}
#access{
	width: 100%;
	overflow: hidden;
	margin-bottom: -6px;
}
#access iframe{
	width: 100%;
}
@media Screen and (min-width:768px){
	header .header-title{
		font-size: 300%;
	}
	header .header-title br:nth-child(1){
		display: none;
	}
	header h2{
		font-size: 135%;
		max-width: 670px;
	}
	/*-----------------------------SER ここからーーーーーーーーー*/
	main .main-title{
		font-size: 180%;
	}
	#about .about-fade{
		max-width: 93%;
		margin: auto;
	}
	#about ul{
		max-width: 93%;
		margin: auto;
	}
	#service h3{
		margin-bottom: 60px;
	}
	#service .all{
		max-width: 93%;
		margin: auto;
	}
	#service img{
		width: 50%;
	}
	#service h4{
		font-size: 140%; 
		margin-bottom: 17px;	
		margin-top: 12px;
	}
	#service .right{
		width: 45%;
		float: right;
	}
	#service .left{
		width: 45%;
		float: left;
	}
	.service1 img,.service3 img,.service5 img{
		float: left;
	}
	.service1 h4,.service3 h4,.service5 h4{
		float: right;
		width: 45%;
	}
	.service2 img,.service4 img{
		float: right;
	}
	.service2 h4,.service4 h4{
		float: left;
		width: 45%;
	}
	.service2,.service3,.service4,.service5{
		padding-top: 30px;
		clear: both;
	}
	/*-----------------------------SER ここまでーーーーーーーーー*/
	/*-----------------------------ABOUT ここからーーーーーーーーー*/
	#about h4{
		font-size: 150%;
		margin-top: 60px;
	}
	#about p.bold{
		margin-top: 30px;
	}
	#about p{
		font-size: 100%;
		margin-top: 15px;
	}
	#about ul li{
		font-size: 110%;
		padding: 11px;
		width: 19%;
	}
	/*-----------------------------CREW ここからーーーーーーーーー*/
	#crew ul{
		width: 93%;
		
	}
	#crew ul li{
		width: 30%;
	}
	#crew dt{
		margin-top: 10px;
	}
	#crew dd:nth-child(2){
		margin-top: 20px;
	}
	#crew dd{
		margin-bottom: 5px;
	}
	/*-----------------------------MESSGE ここからーーーーーーーーー*/
	#message {
		padding-top: 50px;
		overflow: hidden;
		padding-bottom: 50px;
	}

	.message {
		width: 93%;
		margin: auto;
	}
	#message img{
		float:right;
		width: 50%;	
	}
	#message .right{
		padding: 15px;
		display: block;
		padding-top: 30px;
		padding-left: 40px;
		
	}
	#message .left{
		padding-top: 30px;
	}
/*-------------------------------COMPANY-----------------*/
	#company{
		padding-top: 50px;
	}
	#company table tr{
		width: 90%;
		max-width: 1000px;
		overflow: hidden;
		position:relative;
		flex-wrap: nowrap;
		padding:5px 15px;
		margin:10px auto;
		box-sizing: border-box;
	
}
	#company table th{
		font-size: 113%;
		background:none;
		font-weight: bold;
		padding: 5px;
		flex-wrap: wrap;
		margin: 13px 0;
		width: 40%;
		padding-top: 0;
	}
	#company table tr:nth-child(2n-1){
		background: hsla(0,0%,93%,1.00);
	}
	#company table td{
		padding-top: 15px;
		width: 100%;
		padding-bottom: 10px;

	}
	#company .p-item {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#company .p-item p{
		width: 47%;
		font-size: 96%;
		
	}
}