@charset "UTF-8";

@media screen and (min-width: 770px) {
	
	/* ヘッドライン　*/
	#headline{
		width: 100%;
		background-color: #1F5C7B;
		text-align: center;
		background-image: url("../image/contact/headline.jpg");
		background-position: center;
		background-size: cover;
		z-index: 15;
		position: relative;
	}
	#headline div{
		margin: auto;
		padding: 100px 0;
		width: 20%;
	}
	#headline h2{
		padding: 40px 0;
		font-size: 25px;
		font-weight: 900;
		color: #fff;
		background: rgba(31,92,123,0.7);
	}
	
/* メニューバー　*/
#menu{
	width: 100%;
	height: 200px;
	background-color: #1F5C7B;
	transform:skew(0deg, -5deg);
	-webkit-transform: skew(0deg, -5deg);
    -moz-transform: skew(0deg, -5deg);
}
.menu_child{
	width: 100%;
	background-color: #fff;
	transform:skew(0deg, 5deg);
	-webkit-transform: skew(0deg, 5deg);
    -moz-transform: skew(0deg, 5deg);
}
.dropdwn{
    display: flex;
	width: 80%;
	margin: 0 auto;
}
.dropdwn li{
	width: 20%;
	text-align: center;
	position: relative;
	border-left: 2px solid #ddd;
}
	.dropdwn a{
		display: block;
	}
	.dropdwn img{
		padding: 20px 0;
	}
.dropdwn li:first-child{
	border: none;
}
.dropdwn a:hover{
	opacity: 0.5;
}
.dropdwn_menu{
    width: 100%;
    display: none;
    position: absolute;
    padding: 0;
    background: #fff;
}
.dropdwn_menu li{
    width: 100%;
	padding: 0;
	border: none;
}
.dropdwn_menu li a{
    padding: 10px 0;
    display: block;
    color: #000;
	font-size: 13px;
}
.dropdwn_menu li a:hover{
	background-color: #1F5C7B;
	color: #fff;
}

/* 現在のページのメニューの背景色を変更　*/
#thispage{
	background-color: #399F4A;
}
#thispage img{ 
	filter: invert(100%);
}
	
	.text{
		width: 50%;
		margin: auto;
		text-align: center;
	}
.text h3{
	margin-top: 100px;
	font-size: 20px;
	font-weight: 900;
	color: #1F5C7B;
}
.text p{
	margin-top: 50px;
	font-size: 15px;
	text-align: left;
	line-height: 20px;
}
	
form{
	width: 100%;
	margin: auto;
	margin: 100px auto;
}
}

@media screen and (max-width: 769px) {
	
	/* ヘッドライン　*/
	#headline{
		width: 100%;
		background-color: #1F5C7B;
		text-align: center;
		background-image: url("../image/contact/headline.jpg");
		background-position: center;
		background-size: cover;
		z-index: 15;
		position: relative;
	}
	#headline div{
		margin: auto;
		padding: 80px 0 100px;
		width: 40%;
	}
	#headline h2{
		padding: 20px 0;
		font-size: 25px;
		font-weight: 900;
		color: #fff;
		background: rgba(31,92,123,0.7);
	}
	
/* メニューバー　*/
#menu{
	width: 100%;
	height: 80px;
	margin-top: -5%;
	background-color: #1F5C7B;
	position: relative;
	z-index: 15;
	transform:skew(0deg, -5deg);
}
.menu_child{
	display: none;
}
	
	.text{
	width: 95%;
	margin: auto;
	text-align: center;
	}
.text h3{
	margin-top: 100px;
	font-size: 1.3em;
	font-weight: 900;
	color: #1F5C7B;
}
.text p{
	margin-top: 50px;
	font-size: 1em;
	text-align: left;
	line-height: 20px;
}
}
	
form{
	width: 95%;
	margin: auto;
	margin: 100px auto;
}


.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
@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-left: 14px;
    padding-right: 14px;
    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: #399F4A;
  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-Wrap {
  width: 100%;
  margin-left: 40px;
}
@media screen and (max-width: 480px) {
  .Form-item-Input-Wrap {
    margin-left: 0;
  }
}
.Form-item-Input-Wrap .error-msg {
  font-size: 12px;
  margin-top: 5px;
  color: rgb(182, 68, 68);
}
.Form-Item-Input,.Form-Item-serect{
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  width: 100%;
  background: #eaedf2;
  font-size: 18px;
  box-sizing: border-box;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input,.Form-Item-serect{
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 16px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  background: #eaedf2;
  font-size: 18px;
  box-sizing: border-box;
}
@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-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #1F5C7B;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
.Form-Btn:hover{
  background: #399F4A;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
.Form .back_btn {
  text-align: center;
  margin-top: 32px;
}
@media screen and (max-width: 480px) {
  .Form .back_btn {
    margin-top: 24px;
  }
}

.Form .back_btn a {
  text-align: center;
  margin-top: 50px;
  color: #0000ee !important;
  text-decoration: underline;
}
.Form .back_btn a:hover {
  text-decoration: none;
}
@media screen and (max-width: 480px) {
  .Form .input-confirm {
    margin-top: 16px;
  }
}
