@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;
		color: black;
}
#inquiry h2 {
	text-align: center;
}

main.info {
	box-sizing:border-box;
	background-color: white;
	color: black;
	padding-bottom:1%;
	overflow: hidden;
	text-align: left;
}

main.info a:link, main.info a:visited {
	color: black;
}

.box-i-1 {
}
.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: 20px 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 {
	box-sizing:border-box;
	padding:10px;
}
.form-col-name {
	width:30%;
	flex-grow: 3;
}
.form-col-require {
	box-sizing:border-box;
	width:3.5em;
	flex-grow: 0;
	flex-shrink: 0; 
	color:red;
	text-align:center;
}
.form-col-require span{
	line-height:2.0;
	}
.form-col-require span:nth-child(2),
.form-col-require span:nth-child(3){
	color:#000;
	}
.form-col-input {
	width:60%;
	flex-grow: 6;
}
.form-col-input span.red,
.form-col-input span.black {
	display: none;
	}


.backtoindex {
	text-align: right;
	padding-right: 10px;
}

a.btn_inquiry {
	display: none;
}

.footer {
	padding-bottom: 30px;
}

.request a:link, .request a:visited {
	color: blue;
}

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

@media screen and (max-width: 768px) {
.form-row {
	flex-wrap:wrap;
	font-size:small;
	}
.form-col-require {
	width:4em;
}
.form-col-input {
    width: 100%;
	}
.form-col-require span:nth-child(2),
.form-col-require span:nth-child(3){
	display: none;
	}
.form-col-input span.red {
	display:inline-block;
	color:red;
	margin-right:0.5em;
	}
.form-col-input span.black {
	display:inline-block;
	color:#000;
	margin-right:0.5em;
	}
}


@media screen and (max-width: 640px){
	.box-i-2{
		margin-top: 3vw;
	}
	.form-row input,.form-row textarea,.form-row select, .form-row option {
		font-size: 1.2rem;
	}
.form-row>div {
	box-sizing:border-box;
	padding:10px 0;
	}
}

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

/*ページの中身*/
.head_navi{
	display:block;
	width:100%;
	background-color:#000;
	color:#fff;
	margin:0;
	padding:5px 10px;
	box-sizing:border-box;
}
.head_navi .line{
	display:block;
	width:100%;
	max-width:1000px;
	margin:0 auto;
	font-size:90%;
	}
.head_navi a,
.head_navi a:visited,
.head_navi a:hover, 
.head_navi a:active, 
.head_navi a:focus{
	color:#fff;
	}
.head_title{
	text-align:center;
	margin:3em auto 0;
	}
.head_title h1{
	font-size:xx-large;
	}
@media screen and (max-width: 768px) {
.head_navi .line{
	font-size:small;
	}
.head_title{
	margin:2em auto 0;
	}
.head_title h1{
	font-size:x-large;
	}
}
