@charset "UTF-8";

h2 {
	background: white;
}
h2 img {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}
@media (max-width: 1200px) {
	#contact {
		width: calc(100% - 10vw);
		margin: 5vw auto calc(7.5vw + 2.5rem);
		max-width: 40rem;
	}
	#contact p:first-child {
		font-size: 1.125rem;
		line-height: 1.5;
		margin-bottom: 1rem;
	}
	#contact div#txt {
		line-height: 1.75;
	}
	#contact dl {
		margin: 2rem 0;
	}
	#contact dl dt#tel_info::before {
		content: '';
		display: inline-block;
		width: 2.5rem;
		height: 2.5rem;
		margin-right: 0.5rem;
		background: url(../contact/img/icon_tel.svg);
		background-size: cover;
	}
	#contact dl dt#pc::before {
		content: '';
		display: inline-block;
		width: 2.5rem;
		height: 2.5rem;
		margin-right: 0.5rem;
		background: url(../contact/img/icon_pc.svg);
		background-size: cover;
	}
	#contact dl dt {
		font-size: 1.125rem;
		line-height: 1;
		display: flex;
		align-items: center;
		border-bottom: solid calc(1rem / 8) #F39939;
		padding-bottom: 0.25rem;
		margin-bottom: 0.25rem;
	}
	#contact dl dd {
		line-height: 1.75;
		font-size: 0.95rem;
	}
	#contact dl dd#r60 {
		margin-left: 5vw;
	}
	#contact dl dd#r60 a {
		color: #333;
		text-decoration: none;
	}
	#contact table {
		width: 100%;
		max-width: 90vw;
		border-top: solid thin #999;
	}
	#contact table td {
		width: 100%;
		max-width: 90vw;
		display: block;
		font-size: 0.95rem;
		border-top: none;
		padding: 0.5rem 1rem;
		line-height: 1.5;
		background: white;
	}
	#contact table td.bg {
		background-color: #FDEBD7;
		border-bottom: solid thin #999;
	}

	#contact table td * + * {
		margin-top: 0.25rem;
	}
	#contact .hixtusu {
		display: inline-block;
		font-size: smaller;
		color: #F00;
		padding-left: 0.25rem;
	}












/*送信ボタン
------------------------------------*/

#a_form_btn {
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	font-size: 1.1em;
	width: 410px;
	overflow: hidden;
}
#a_form_btn ul {
	margin: 0px;
	padding: 0px;
}
#a_form_btn li {
	float: left;
	width: 174px;
	text-align: center;
	padding: 10px;
	list-style-type: none;
	color: #666;
	/* border-radius */
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#a_form_btn ul li#back {
	border: 1px solid #0C57A7;
	margin-right: 8px;
	background-color: #FFF;
}
#a_form_btn ul li#back a:link {
	color: #333;
	text-decoration: none;
}
#a_form_btn ul li#back a:visited {
	color: #333;
}
#a_form_btn ul li#back a:hover {
	color: #999999;
}


#a_form_btn ul li#next {
	background-color: #0C57A7;
	color: #FFF;
	margin-left: 8px;
	border: 1px solid #0C57A7;
}
#a_form_btn ul li#next a:link {
	color: #FFF;
	text-decoration: none;
}
#a_form_btn ul li#next a:visited {
	color: #FFF;
}
#a_form_btn ul li#next a:hover {
	color: #CCCCCC;
}


#form_btn ul {
	display: flex;
	justify-content: center;
}
#form_btn ul li {
	list-style-type: none;
	margin: 1.5rem 0.5rem;
}
#form_btn ul li button {
	display: block;
	text-align: center;
	width: 30vw;
	max-width: 10rem;
	padding: 0.5rem 0;
	font-size: 1rem;
	border: solid thin #999;
	border-radius: 0.25rem;
	text-decoration: none;
	box-sizing: border-box;
}
#form_btn ul #back button {
	border-color: #0C57A7;
	background: white;
	color: #0C57A7;
	transition: .2s;
}
#form_btn ul #back button:hover {
	opacity: 0.5;
}
#form_btn ul #next button {
	border-color: #0C57A7;
	background: #0C57A7;
	color: white;
	transition: .2s;
}
#form_btn ul #next button:hover {
	opacity: 0.5;
}



td input[type=text],
td input[type=email],
td input[type=tel],
textarea {
	display: inline-block;
	margin: 0.25rem;
	font-size: 1.125rem;
	padding: 0.25rem;
	line-height: 1.5;
	border: solid thin #999;
	border-radius: 0.25rem;
	box-sizing: border-box;
	max-width: 100%;
}
td input[type=checkbox] {
	margin-right: 0.5rem;
}
#name1,
#name2,
#ruby1,
#ruby2 {
	width: 12rem;
}
#txt1,
#txt2,
#txt3 {
	width: 100%;
}
#txt4 {
	width: 4.5rem;
}
#txt5 {
	width: 6rem;
}
#area1 {
	display: block;
	width: 100%;
	height: 5rem;
}

#txt6,
#txt7,
#tel {
	width: 4.5rem;
}

#txt8,
#txt9,
#fax {
	width: 4.5rem;
}
#email1,
#email2 {
	width: 24rem;
}

#area2 {
	display: block;
	width: 100%;
	height: 12rem;
}

.confirmation {
	font-size: 1.125rem;
}
.name_set .confirmation {
	display: inline-block;
	width: 6rem;
}
.name_set span {
	display: inline-block;
	width: 2rem;
}
/* 不備がない時のメッセージ */
#att #allgreen_message {
	display: flex;
	border: solid medium #090;
	padding: 0.5rem;
	background: white;
	box-shadow: 0.5rem 0.5rem 0.5rem rgba(0,0,0,0.125);
}
#att #allgreen_message span {
	margin: 0.5rem;
	color: #090;
	font-size: 1rem;
	display: block;
}
#att #allgreen_message strong {
	font-size: 1.25rem;
}
#att #allgreen_message .blink {
	font-size: 2rem;
	width: 3rem !important;
	height: 3rem !important;
	color: white;
	background: #090;
	border-radius: 50%;
	line-height: 1 !important;
	text-align: center;
	padding: 0.5rem 0 0;
	font-family: serif;
	flex-shrink: 0;
	flex-grow: 0;
	animation: rotate-anime 5s linear infinite;
	box-sizing: border-box;
}
@keyframes rotate-anime {
  0%  { transform: rotateY(0); }
  100%  { transform: rotateY(360deg); }
}

#att {
	padding: 1rem 0;
}
/* 不備がある時のメッセージ*/
#att #alert_message {
	display: flex;
	background: #FFE2B2;
	padding: 0.5rem 1rem;
	align-items: center;
}
#att #alert_message span {
	margin: 0.5rem 0.25rem;
	color: #e5700c;
	font-size: 1.125rem;
	display: block;
}
#att #alert_message .blink {
	font-size: 1.5rem;
	width: 2rem !important;
	height: 2rem !important;
	color: white;
	background: #e5700c;
	border-radius: 50%;
	line-height: 1 !important;
	text-align: center;
	padding: 0.25rem 0 0;
	font-family: serif;
	font-weight: bold;
	flex-shrink: 0;
	flex-grow: 0;
	box-sizing: border-box;
}

/*送信完了
------------------------------------*/




