@charset 'utf-8';
/*▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼  */

/* contact_form_style.css */

/*★★★★★★★★★★ 共通設定用 ★★★★★★★★★★*/


/*########## 問い合わせフォーム ##########*/

/* 切手 */
.post_stamp {
	position: absolute;
	top: 25px;
	right: 35px;
	width: 130px
}

.post_stamp img {
	width: 100%;
}

/*=====================*/

/* 警告メッセージ */

.alert {
	margin-right: 0.5em;
	padding: 3.5px;
	border-radius: 5px;
	background: yellow;
	color: #000;
}

.balloon {
	position: absolute;
	right: 0.5em;
	bottom: -5.5em;
	z-index: 100;
	display: none;
	box-sizing: border-box;
	margin: 1.5em 0;
	padding: 7px 10px;
	min-width: 120px;
	max-width: 100%;
	border: solid 1px #818181;
	border-radius: 5px;
	background: #FFF;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
	font-size: 16px;
}

.balloon:before {
	position: absolute;
	top: -24px;
	left: 15%;
	z-index: 2;
	margin-left: -15px;
	border: 12px solid transparent;
	border-bottom: 12px solid #FFF;
	content: "";
}

.balloon:after {
	position: absolute;
	top: -28px;
	left: 15%;
	z-index: 1;
	margin-left: -17px;
	border: 14px solid transparent;
	border-bottom: 14px solid #818181;
	content: "";
}

/*=====================*/



#writing_form {
	display: block;
}

#confi_form {
	display: none;
}

#ThankMess,
#dummyiframe {
	display: none;
}

#contact_form .c_box {
	padding: 0;
	max-width: 1000px;
	background: none;
}

#contact {
	position: relative;
	margin: 0 auto;
	padding: 14px;
	max-width: 100%;
	width: 100%;
	border-radius: 3px;
	background: repeating-linear-gradient(135deg, #d43 0px, #d43 20px, #fff 20px, #fff 40px, #226 40px, #226 60px, #fff 60px, #fff 80px);
	box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

#contact .inner {
	padding: 15px;
	min-height: 400px;
	width: 100%;
	height: auto;
	background-color: #FFF;
}

#contact form {
	margin: 15px auto;
	width: calc(100% - 30px);
}

#contact dl {
	margin: 0 auto;
	padding: 0;
}

#contact dl.form {
	float: left;
	width: 50%;
}

#contact dl.mess {
	float: right;
	margin-bottom: 20px;
	width: 50%;
}

#contact dt {
	position: relative;
	padding: 0.8em;
	padding-left: 0;
	height: 4rem;
}

#contact dt label {
	font-weight: bold;
	font-size: 1.8rem;
}

#contact dd {
	position: relative;
	line-height: 2em;
}

#contact dl.form dd {
	margin-bottom: 1em;
}

#contact dl.form dd,
#contact dl.mess dd {
	width: 90%;
	width: calc(100% - 15px);
}

/* 確認画面の体裁 */

#contact #confi_form dd {
	padding: 0.5em;
	height: 4rem;
	border-bottom: 1px dashed #432323;
	background: #fff;
	font-size: 1.8rem;
	line-height: 1em;
}

#contact #confi_form dl.mess dd {
	padding: 0.5em;
	min-height: 138px;
	height: 100%;
	border-bottom: 1px dashed #432323;
	background: #fff;
	font-size: 1.8rem;
}

#confi_form dl.mess dd p {
	white-space: pre-wrap;
	line-height: normal;
}

#contact .form_com {
	clear: both;
}

#contact input {
	display: block;
	padding: 0.5em;
	width: 100%;
	height: 4rem;
	border: 1px solid #999;
	border-bottom: 1px dashed #432323;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5) inset;
	font-size: 1.8rem;
}

#contact textarea {
	display: block;
	padding: 0.5em;
	max-width: 42em;
	width: 100%;
	height: 20em;
	border: 1px solid #999;
	border-bottom: 1px dashed #432323;
	border-radius: 2px;
	background: #fff;
	box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.5) inset;
	font-size: 1.8rem;
}

#contact textarea::placeholder {
	color: #505050;
}

/*########## ボタンなど ##########*/

.form_text {
	width: 100%;
}

.form_button {
	margin-bottom: 10px;
	padding-top: 20px;
	width: 100%;
	text-align: center;
}

.form_button button {
	margin: 5px 30px;
	padding: 10px 0 8px;
	width: 165px;
	outline: none;
	border: 1px solid #0071c9;
	border-radius: 5px;
	background-color: #007fe1;
	box-shadow: 0 3px 0 #005190;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
	font-weight: bold;
	font-size: 100%;
	cursor: pointer;
}

input#send1 {
	display: inline-block;
	margin: 5px 30px;
	padding: 10px 0 8px;
	width: 165px;
	height: auto;
	outline: none;
	border: 1px solid #790b0b;
	border-radius: 5px;
	background-color: #d83f2d;
	box-shadow: 0 3px 0 #790b0b;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
	font-weight: bold;
	font-size: 100%;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

button#confi1 {
	padding: 10px 0 8px 8px;
}

button#back_form {
	padding: 10px 8px 8px 0;
}

.PC form button:hover {
	background-color: #3a9ae5;
}

.PC form input#send1:hover {
	background-color: #ed4e3b;
}

form button:active {
	padding: 10px 0 8px;
	background-color: #007fe1;
	box-shadow: 0 1px 0 #005190;
	-webkit-transform: translateY(2px);
	-ms-transform: translateY(2px);
	transform: translateY(2px);
}

form input#send1:active {
	padding: 10px 0 8px;
	background-color: #d83f2d;
	box-shadow: 0 1px 0 #790b0b;
	-webkit-transform: translateY(2px);
	-ms-transform: translateY(2px);
	transform: translateY(2px);
}

/*### 送信完了メッセージ ###*/

#ThankMess {
	margin: 0 auto;
	padding-top: 20px;
	max-width: 700px;
}

#ThankMess h2 {
	margin-bottom: 20px;
}

/* アニメーション */
.miss_show {
	display: block;
	animation: showop 0.2s linear 0s;
}


@keyframes showop {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.show{
	display: block;
}
.hide{
	display: none;
}