﻿/* Reset style */

/* feature area */
.hero_img{
  background:url(images/heroimage.jpg) no-repeat center center / cover;
  height:400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature_area {
  display: flex; 	
  justify-content: center;
  align-items: center;
  width:100%;  		
}
.feature_area h1{
	margin: 0;
	text-align:center;
	font-size:3rem;
	color:#FFF;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.56);
}
.midashi_bg {
	background-color:#F2F2F2;
	width:100%;
	text-align:center;
	padding:4rem;
	margin-top:8rem;
}
.midashi_bg span {
	font-size:1.2rem;
	color:#1E579C;
}
.midashi_bg h2 {
	font-size:2.2rem;
	margin-top:0.5rem;
}

#contact_cnt01 {
	width:960px;
	margin:0 auto;
	margin-top:8rem;	
}
#contac_cnt01_inner{
	display:flex;
	padding-top:3rem;
}
#contact_cnt01_inner div {
	margin:10px;
}
#contact_cnt01_inner p {
	line-height:170%;
	font-size:1.3rem;
}
#contact_cnt01_inner h4 {
	font-size:2rem;
}
#contact_cnt01_inner h5 {
	font-size:1.2rem;
	margin-top:1rem;
}
.Form {
	margin-top: 80px;
	margin-left: auto;
	margin-right: auto;
	max-width: 720px;
  }
.sended {
	margin: 3rem 0;
	font-size: 1.5rem;
}
  @media screen and (max-width: 480px) {
	.Form {
	  margin-top: 40px;
	}
  }
  .Form-Item {
	border-top: 1px solid #ddd;
	padding-top: 24px;
	padding-bottom: 24px;
	width: 100%;
	display: flex;
	align-items: center;
  }
  @media screen and (max-width: 480px) {
	.Form-Item {
	  padding-top: 16px;
	  padding-bottom: 16px;
	  flex-wrap: wrap;
	}
  }
  .Form-Item:nth-child(5) {
	border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
	width: 100%;
	max-width: 248px;
	letter-spacing: 0.05em;
	font-weight: bold;
	font-size: 18px;
  }
  @media screen and (max-width: 480px) {
	.Form-Item-Label {
	  max-width: inherit;
	  display: flex;
	  align-items: center;
	  font-size: 15px;
	}
  }
  .Form-Item-Label.isMsg {
	margin-top: 8px;
	margin-bottom: auto;
  }
  @media screen and (max-width: 480px) {
	.Form-Item-Label.isMsg {
	  margin-top: 0;
	}
  }
  .Form-Item-Label-Required {
	border-radius: 6px;
	margin-right: 8px;
	padding-top: 8px;
	padding-bottom: 8px;
	width: 48px;
	display: inline-block;
	text-align: center;
	background: #004DA0;
	color: #fff;
	font-size: 14px;
  }
  @media screen and (max-width: 480px) {
	.Form-Item-Label-Required {
	  border-radius: 4px;
	  padding-top: 4px;
	  padding-bottom: 4px;
	  width: 32px;
	  font-size: 10px;
	}
  }
  .Form-Item-Input {
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-left: 40px;
	padding-left: 1em;
	padding-right: 1em;
	height: 48px;
	flex: 1;
	width: 100%;
	max-width: 410px;
	background: #eaedf2;
	font-size: 18px;
  }
  @media screen and (max-width: 480px) {
	.Form-Item-Input {
	  margin-left: 0;
	  margin-top: 18px;
	  height: 40px;
	  flex: inherit;
	  font-size: 15px;
	}
  }
  .Form-Item-Textarea {
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-left: 40px;
	padding-left: 1em;
	padding-right: 1em;
	height: 216px;
	flex: 1;
	width: 100%;
	max-width: 410px;
	background: #eaedf2;
	font-size: 18px;
  }
  @media screen and (max-width: 480px) {
	.Form-Item-Textarea {
	  margin-top: 18px;
	  margin-left: 0;
	  height: 200px;
	  flex: inherit;
	  font-size: 15px;
	}
  }
  .Form-Btn {
	border-radius: 6px;
	margin-top: 32px;
	margin-bottom:60px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 280px;
	display: block;
	letter-spacing: 0.05em;
	background: #004DA0;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
  }
  @media screen and (max-width: 480px) {
	.Form-Btn {
	  margin-top: 24px;
	  padding-top: 8px;
	  padding-bottom: 8px;
	  width: 160px;
	  font-size: 16px;
	}
  }



/* Responsive style */
@media screen and (max-width: 992px) {
	h1 a {
		position: relative;
		z-index: 1;
	}
	.feature_area h1{
		position:relative;	
		top:40%;
		left:50%;
		width:100%;
		text-align:center;
		transform:translate(-50%,-50%);
		font-size:3rem;
		color:#FFF;
		  text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.56);
	}
	.hero_img {
		height: 300px;
	}
	#contact_cnt01 {
		width: 100%;
		margin: 0 auto;
		margin-top: 2rem;
		padding: 0 15px 0 15px;
	}
}
