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

form {
  width: 70%;
  margin: 60px auto 40px;
}
.form-row {
  display: flex;
  padding: 20px;
}

.form-row:last-child {
  border-bottom: none;
}

.form-label {
  display: flex;
  align-items: center;
  width: 250px;
}

.form-label label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
}

.form-label span {
  margin-right: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #417ADD;
	
}

.any{margin-right: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: bold;
  color: #417ADD;
  background-color: #fff;
  border: 1px solid #417ADD;
}

/* フォームパーツのデザイン */
input, textarea {
  background-color: #fff;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
  border: 1px solid #bbb;

}

input::placeholder,
textarea::placeholder,
select{
  color: #999;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}

select {
  background-color: #fff;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 14px;
  color: #333;
  border: 1px solid #bbb;
}

button {
	display: block;
    text-align: center;
    width: 130px;
	cursor: pointer;
	margin-top: 10px;
	padding: 15px 0px;
	border: none;
	border-radius: 2px;
	color: #fff!important;
	font-weight: bold;
	background-color:  #61acb0;
	font-family: 'Noto Sans JP', sans-serif;
}

button:hover {
  color: #61acb0!important;
  border: 1px solid #61acb0;
  background-color: #fff;
}

.form-row{
	justify-content: end;
}

/* thanks ページ*/
.thankyou_msg{
	display: block;
	text-align:center;
	margin:0 auto;
	padding:0 20px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	font-weight: 500;
}

.msg_btn{
	text-decoration:none;
	color: #fff;
}

.msg_btn:hover{
	color:#006837;
}

.ps_text{
	display: block;
	width: 50vw;
	max-width:550px;
	text-align:left;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 12px;
	font-weight: 400;
	margin:40px auto;
	color: #777;
	background-color: #fff;
	border: 1px solid #999;
	border-radius: 3px; 
	padding: 15px;
}


/* Thanks Page */
/* ボタン設定 */
.home_back{
	text-align: center;
}

.back_btn{
    position: relative;
	overflow: hidden;
	text-decoration: none;
	display: inline-block;
	border: solid 2px #006837; 
    padding: 10px 40px 12px;
	border-radius: 50px;
    text-align: center;
    outline: none;
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.back_btn span {
	position: relative;
	z-index: 3;
	color:#006837;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 600;	
	font-size: 18px;
	line-height: 35px;
}

.back_btn:hover span{
	color:#fff;
}

/*背景が流れる */
.back_bgcenterx:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #006837;
	width: 100%;
	height: 100%;
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: left top;
}

.back_bgcenterx:hover:before{
	transform:scale(1, 1);
}

/* レスポンシブ　*/


@media only screen and (min-width: 801px) {
	.ti_br{
		display: none;
	}
}

@media only screen and (max-width: 800px) {
	
	#inquiry{
		margin-top: 80px;
		margin-bottom: 0;
    	padding: 0px 0px 20px;
	}

	.inquiry_title img {
		max-width: 300px;
		margin-top: 50px;
		
	}
	
	.inquiry_title h2 {
		font-size: 24px;
		margin-top: 10px;
		margin-bottom: 20px;
	}
	
	.inquiry_content {
		margin: 30px auto;
	}
	
	form {
		width: 100%;
		margin: 0 auto;
	}
	
	.form-row {
		padding: 10px;
    	flex-direction: column;
	}

	.form-label {
		width: 200px;
	}
	
	.form-label label {
		font-size:14px;
		padding-bottom:7px;
	}
	
	.form-label span,  .any{
		margin-left: 0px;
		margin-bottom: 5px;
		padding: 0px 10px;
		font-size: 12px;
	}

	input, textarea, select {
		padding: 5px 10px;
		width:100% !important;
	}
	
	.pagename {
    	padding: 10px 10px;
	}
	
	#name{
		width:100% !important;		
	}
	
	.msg_btn {
		text-align:center;
	}

	.form_btn{
		display: flex;
    	align-items: center;
		margin-top: 0px;
	}
	
	button{
		width:100px;
		padding:10px 0px;
		margin-top: 0px;
		margin-bottom: 50px;
		font-size: 14px;
	}
	
}
