@charset "utf-8";

/* メイン */

h2 {
	margin: 0.5em 0 0 30px;
}

#main {
	text-align: left !important;
}

#box-catchimage {
    background-image: url("../img/inquiry_main.png");
}
#box-catchimage h1 {
    margin-top: 180px;
    color: black;
}

#inquiry {
    max-width: 860px;
    margin: 30px auto 0 auto;
    text-align: left;
    font-weight: 300;
}
#inquiry h2 {
	background-color: #8DC21F;
	color: white;
	text-align: center;
}

.info {
	background-color: white;
	padding-bottom:5%;
	overflow: hidden;
}
.box-i-1 {
	color: white;
}
.box-i-1:before{
    padding-top: 30%;
}
.box-i-1 .fit-box-inner {
	background-image:url(../img/info_title.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: contain;
}
.box-i-1 h2 {
	text-align:center;
	margin:0;
	padding:0;
}

.box-i-2 {
	max-width: 1000px;
	margin: 100px auto;
}
.request {
	background:white;
	margin: 2%;
	padding:1%;
}
.form-row {
	display:-webkit-box;/*--- Androidブラウザ用 ---*/
  display:-ms-flexbox;/*--- IE10 ---*/
  display: -webkit-flex;/*--- safari（PC）用 ---*/
  display:flex;
  -webkit-box-pack:justify;/*--- Androidブラウザ用 ---*/
  -ms-flex-pack:justify;/*--- IE10 ---*/
  -webkit-justify-content:space-between;/*--- safari（PC）用 ---*/
  justify-content:space-between;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap:nowrap;
	border-color: #999999;
	color: black;
	border-top: 1px solid;
	margin:5px;
    line-height: 1.8em;
	height: auto;
}
.form-row input,.form-row textarea,.form-row select, .form-row option {
	font-size: 1.4rem;
}
.form-row>div {
	padding:10px;
}
.form-col-name {
	width:30%;
	flex-grow: 3;
}
.form-col-require {
	width:10%;
	flex-grow: 1;
	color:red;
}
.form-col-input {
	width:60%;
	flex-grow: 6;
}


.container2 {/* ~~ お問い合わせ要素用コンテナ/背景のみ変更~~ */
	background:#fff100 url(../img/main_bg3.gif) repeat left top;
	width: 100%;
	padding: 0 0 0 0;
}


a.btn_inquiry {
	display: none;
}

@media screen and (max-width: 1024px){
	.box-i-2{
		margin-top: 25vw;
	}
	.form-row input,.form-row textarea,.form-row select, .form-row option {
		font-size: 1.4rem;
	}
}

@media screen and (max-width: 640px){
	.box-i-2{
		margin-top: 25vw;
	}
	.form-row input,.form-row textarea,.form-row select, .form-row option {
		font-size: 1.2rem;
	}
}

@media screen and (max-width: 360px){
	.box-i-2{
		margin-top: 27vw;
	}
}
