@charset "utf-8";

/*---------------------------------------------

お問い合わせページスタイル

-----------------------------------------------*/

@media print, screen and (min-width: 768px) {

/* ▼タイトル部分 PC */
#pagetitle {
	background: #0084ff;
	background-size: cover;
	image-rendering: -webkit-optimize-contrast;
}

#pagetitle .inner {padding: 55px 0;}

#pagetitle h1 {
	text-align: center;
	font-size: 45px; font-size: 4.5rem;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	color: #fff;
}

/* ▼お問い合わせフォームPC */
#form .inner {padding: 60px 0 40px 0;}

#graybox {
	background: #f2f2f2;
	padding: 65px 85px;
	margin-bottom: 50px;
}

.formtxt1 {
	font-size: 26px; font-size: 2.6rem;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	text-align: center;
	color: #595757;
	margin-bottom: 20px;
}

.formtxt2 {
	font-size: 16px; font-size: 1.6rem;
	font-feature-settings: "palt" 1;
	text-align: center;
	margin-bottom: 50px;
}

.form {
	width: 840px;
	margin: 0 auto;
}

.form th, .form td {
	display: block;
	font-size: 18px; font-size: 1.8rem;
	font-feature-settings: "palt" 1;
	text-align: left;
	vertical-align: top;
}

.form th {
	font-weight: bold;
	padding-top: 20px;
	position: relative;
	padding: 10px 0 8px 0;
}

.form td {padding-bottom: 20px;}

.form input[type='text'] {
	font-size: 18px; font-size: 1.8rem;
	box-sizing: border-box;
	width: 100%;
	padding: 0.2em;
	letter-spacing: 1px;
	border: 1px solid #7f7f87;
	border-radius: 3px;
}

.form textarea {
	font-size: 18px; font-size: 1.8rem;
	box-sizing: border-box;
	width: 100%;
	height: 120px;
	padding: 0.2em;
	letter-spacing: 1px;
	border: 1px solid #7f7f87;
	border-radius: 3px;
}

#kojin {
	width: 840px;
	margin: 10px auto 40px auto;
	box-sizing: border-box;
	border: 1px solid #7f7f87;
	padding: 30px 40px;
	background: #fff;
}

#kojin p:nth-of-type(1) {
	font-size: 16px; font-size: 1.6rem;
	font-weight: bold;
	font-feature-settings: "palt" 1;
	margin-bottom: 20px;
}

#kojin p:nth-of-type(2) {
	font-size: 14px; font-size: 1.4rem;
	font-feature-settings: "palt" 1;
	line-height: 1.8;
}

input[type="submit"] {
	display: block;
	width: 369px;
	height: 87px;
	border-radius: 10px;
	border: none;
	text-align: center;
	margin: 0 auto;
	box-sizing: border-box;
	color: #fff;
	background: url("../img/form_btn_bk.gif") center no-repeat;
	cursor: pointer;
	font-size: 22px; font-size: 2.2rem;
	font-weight: bold;
	font-feature-settings: "palt" 1;
}

.hissu {
	color: #f00;
	margin-left: 10px;
}

}

@media only screen and (max-width: 767px) {

/* ▼タイトル部分 SP */
#pagetitle {
	background: #0084ff;
	background-size: cover;
	image-rendering: -webkit-optimize-contrast;
}

#pagetitle .inner {padding: 15vw 0;}

#pagetitle h1 {
	text-align: center;
	font-size: 6.5vw;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	color: #fff;
}

/* ▼お問い合わせフォームSP */
#form .inner {
	width: 100%;
	padding: 8vw 0 6% 0;
}

#graybox {
	background: #f2f2f2;
	padding: 10% 3%;
	margin-bottom: 5%;
}

.formtxt1 {
	font-size: 4vw;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	text-align: center;
	color: #595757;
	margin-bottom: 4vw;
}

.formtxt2 {
	font-size: 3.5vw;
	font-feature-settings: "palt" 1;
	text-align: center;
	line-height: 1.6;
	margin-bottom: 6vw;
}

.form {width: 100%;}

.form th, .form td {
	display: block;
	font-size: 4vw;
	font-feature-settings: "palt" 1;
	text-align: left;
	vertical-align: top;
}

.form th {
	font-weight: bold;
	position: relative;
	padding-top: 2vw;
}

.form th img {
	position: absolute;
	right: 5%;
	width: 10%;
}

.form td {padding: 2vw 0 6vw;}

.form input[type='text'] {
	font-size: 4vw;
	box-sizing: border-box;
	width: 100%;
	padding: 0.2em;
	letter-spacing: 1px;
	border: 1px solid #7f7f87;
	border-radius: 3px;
}

.form textarea {
	font-size: 4vw;
	box-sizing: border-box;
	width: 100%;
	height: 120px;
	padding: 0.2em;
	letter-spacing: 1px;
	border: 1px solid #7f7f87;
	border-radius: 3px;
}

#kojin {
	width: 100%;
	margin: 2vw auto 8vw auto;
	box-sizing: border-box;
	border: 1px solid #7f7f87;
	padding: 4%;
	background: #fff;
}

#kojin p:nth-of-type(1) {
	font-size: 4vw;
	font-weight: bold;
	font-feature-settings: "palt" 1;
	margin-bottom: 4%;
}

#kojin p:nth-of-type(2) {
	font-size: 3.6vw;
	font-feature-settings: "palt" 1;
	line-height: 1.8;
}

input[type="submit"] {
	display: block;
	width: 100%;
	padding: 6vw 0;
	border-radius: 3vw;
	border: none;
	text-align: center;
	margin: 0 auto;
	box-sizing: border-box;
	color: #fff;
	background: url("../img/form_btn_bk.gif") center no-repeat;
	cursor: pointer;
	font-size: 5.5vw;
	font-weight: bold;
	font-feature-settings: "palt" 1;
}

.hissu {
	color: #f00;
	margin-left: 4%;
}

}
