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

main{
	padding:0px 0px 30px;
	margin:0px;	
	animation-name: textanime;
	animation-duration:2.5s;
	animation-iteration-count:1;
}

@keyframes textanime
{
	0%{
	opacity: 0;
	}

	100%{
	opacity: 1;
	}
}

.pagename{
	padding:10px 30px;
	display: flex;
	background-color: #F8F1E1;
	position:relative;
}

.pagename a{
	text-decoration: none;
	margin-right: 50px;
}

.pagename p::before{
	content: '>';
    display: block;
    position: absolute;
    top: 9px;
    left: 100px;
    bottom: 0;
    margin: auto;
	color: #000;
}

.pagename p{
	font-size: 16px;
	font-family: 'Zen Maru Gothic', serif;
	font-weight: 500;	
}

.pagename a p{
	color:#DDA72F;
}

.pagename a:hover{
	border-bottom: solid 1px #DDA72F;
	cursor: pointer;
} 

.inquiry{
	margin: 0px auto;
    padding: 0px 0px 30px;
}

.inquiry_title{
	text-align: center;
	background: linear-gradient(#F8F1E1, #fff);
}

.inquiry_title img{
	width: 350px;
    margin-top: 80px;
}

.inquiry_title h2{
	font-family: 'Zen Maru Gothic', serif;
	font-weight: 600;
	font-size: 28px;
	color:#006837; 
	margin-bottom: 30px;
 	margin-top: 10px;
}

form {
  width: 70%;
  margin: 0 auto;
}
.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-left: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #dda72f;
}

/* フォームパーツのデザイン */
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;
}

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: 10px 35px;
    border: none;
    border-radius: 20px;
    color: #fff !important;
    font-weight: 600;
    background-color: #006837;
    margin: 10px auto;
    letter-spacing: 2px;
}

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

.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;
}



/* ボタン設定 */
.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: 0px;
    	padding: 0px 0px 20px;
	}

	.inquiry_title img {
		max-width: 300px;
		margin-top: 50px;
		
	}
	
	.inquiry_title h2 {
		font-size: 24px;
		margin-top: 0px;
		margin-bottom: 30px;
	}
	
	.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:16px;
	}
	
	.form-label span {
		margin-left: 10px;
		margin-bottom: 5px;
		padding: 5px 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;
	}


	.thankyou_msg{
		display: block;
		text-align:left;
		padding: 0 50px;
		font-size: 16px;
	}

	.ps_text{
		width: 70vw;
		margin-bottom: 0px;
	}
	
	.th_br{
		display: none;
	}

	.pagename a {
		margin-right: 35px;
	}

	.pagename p::before{
		left: 70px;
	}

	.back_btn {
		margin:30px auto 0;
	}

	.back_btn span{
		font-size: 16px;
	}

	.thk_h2{
		margin-top:20px!important;
		font-size: 22px!important;

	}
	
	button {
    width: 100%;
}
}