@charset "UTF-8";

/*================================================
 *  contactページ用
 ================================================*/
.contact_area {
	width: 490px;
	margin: 0 auto;
}
.contact_area > p,
.contact_area table {
	font-size: 15px;
}
.contact_area > p {
	line-height: 1.6;
}
.contact_area h2 + p {
	margin: 0 -0.5em;
}
.contact_area h2 + p img {
	vertical-align: 0.2em;
}

/*******テーブル*******/
.contact_area table {
	width: 100%;
	margin: 20px 0 40px;
}
.contact_area table tbody th,
.contact_area table tbody td {
	padding: 1em 0;
	text-align: left;
}
.contact_area table tbody th {
	color: #3fa7f3;
	font-weight: bold;
	width: 80px;
	position: relative;
}
.contact_area table tbody th span {
	vertical-align: middle;
}
.contact_area table tbody th span:before,
body:not(.confirm) .contact_area table tfoot td.textarea:before {
	background: url(../images/contact/contact_asterisk.png) top right no-repeat;
	position: absolute;
	top: 27px;
	left: -14px;
	content: '';
	width: 7px;
	height: 8px;
}
body:not(.confirm) .contact_area table tfoot td.textarea:before {
	top: 12px;
}
.contact_area table tbody tr:last-of-type th,
.contact_area table tbody tr:last-of-type td {
	padding-bottom: 3em;
}

.contact_area table tfoot th {
	background-color: #979797;
	color: #fff;
	font-weight: bold;
	text-align: left;
	padding: 0.7em 0.8em 0.5em;
}
.contact_area table tfoot td.radio {
	line-height: 2;
	padding: 1em 0;
}
.contact_area table tfoot td.radio label {
	display: block;
}
/*確認画面用*/
.confirm .contact_area table tbody th,
.confirm .contact_area table tbody td {
	line-height: 1.6;
	border-bottom: 1px solid #cacaca;
	padding: 1.4em 0;
}
.confirm .contact_area table tbody tr:last-of-type th,
.confirm .contact_area table tbody tr:last-of-type td {
	border-bottom: none;
}
.confirm .contact_area table tfoot td {
	border-bottom: 1px dashed #cacaca;
	line-height: 1.6;
	padding: 1.4em 0.8em;
}

/*******フォーム*******/
/*調整・デザイン用*/
input:not([type=radio]),textarea,select{
	font-size:16px;
	 -moz-box-sizing: border-box;
	  -webkit-box-sizing: border-box;
	  box-sizing: border-box;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	vertical-align: middle;
}
select{
	padding: 0.5em 2.5em 0.3em 0.5em;
	background: transparent;
	border: 1px solid #979797;
	color: #b1b1b1;
	position: relative;
    z-index: 1;
}
select.active{
	color: #4d4d4d;
}
input[type=text],
input[type=tel],
input[type=email],
input[type=number],
input[type=url]{
	padding: 0.3em 0.5em 0.2em;
	background-color: #f0f0f0;
	border: 1px solid #cacaca;
	line-height: 1;
	width: 100%;
	height: 34px;
}
input:not([type=submit]).active,
input:not([type=submit]):focus {
	background-color: #fff;
}
input[type=radio] {
	margin-right: 0.5em;
}
textarea {
	padding: 0.5em;
	background: transparent;
	border: 1px solid #979797;
	width: 100%;
	height: 150px;
}

/*placeholder*/
:placeholder-shown {
    color: #b1b1b1; }
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
    color: #b1b1b1; }
/* Firefox 18- */
:-moz-placeholder {
    color: #b1b1b1; opacity: 1; }
/* Firefox 19+ */
::-moz-placeholder {
    color: #b1b1b1; opacity: 1; }
/* IE 10+ */
:-ms-input-placeholder {
    color: #b1b1b1; }

.contact_area table td:not(#add_number) input:nth-child(2) {
	margin-left: 10px;
}
/*select矢印*/
.selectWrap{
    position: relative;
    display: inline-block;
}
.selectWrap::before{
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    background: #979797;
    height: 100%;
    width: 22px;
}
.selectWrap::after{
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 6px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #cacaca transparent transparent transparent; 
}

.btn a,
.btn div a,
.btn input {
    font-size: 13px;
}


/*サイズ*/
.contact_area #name input,
.contact_area #name_furi input {
	width: 200px;
}
.contact_area #add_number input {
	width: 80px;
}





/*================================================
 *  タブレット/スマートフォン向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:799px) {

.contact_area {
	width: 90%;
}
.contact_area > p,
.contact_area table {
	font-size: 4vw;
}
.contact_area h2 + p {
	margin: 0;
}
.contact_area h2 + p img {
	vertical-align: 0.1em;
	width: 2vw;
}

/*******テーブル*******/
.contact_area table {
	margin: 8 0 10vw;
}
.contact_area table tbody th {
	width: 20vw;
}
.contact_area table tbody th span:before,
body:not(.confirm) .contact_area table tfoot td.textarea:before {
	background: url(../images/contact/contact_asterisk_sp.png) top right no-repeat;
	background-size: contain;
	left: -3vw;
	top: 8.5vw;
	width: 2vw;
	height: 2vw;
}
body:not(.confirm) .contact_area table tfoot td.textarea:before {
	top: 5vw;
}

/*******フォーム*******/
/*調整・デザイン用*/
select{
	padding: 0.5em 2.5em 0.5em 0.5em;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=number],
input[type=url]{
	padding: 0.3em 0.5em;
}
textarea {
	height: 50vw;
}

/*placeholder*/
:placeholder-shown{
	font-size: 4vw;
}
::-webkit-input-placeholder{
	line-height:1.9;
	font-size: 4vw;
}
:-moz-placeholder{
	font-size: 4vw;
}
::-moz-placeholder{
	font-size: 4vw;
}
:-ms-input-placeholder {
	font-size: 4vw;
}

.contact_area table td:not(#add_number) input:nth-child(2) {
	margin-left: 3vw;
}

.btn a,
.btn div a,
.btn input {
    font-size: 4.5vw;
}


/*サイズ*/
.contact_area #name input,
.contact_area #name_furi input {
	width: 33.4vw;
}
.contact_area #add_number input {
	width: 20vw;
}





	
}