@charset "UTF-8";

#contact {
	width: 900px;
	margin-top: 70px;
	margin-right: auto;
	margin-bottom: 100px;
	margin-left: auto;
}
#contact p {
	font-size: 1.1em;
	margin-bottom: 10px;
	font-weight: 600;
	line-height: 1.75;
}
#contact #txt {
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 40px;
	margin-left: 0px;
	line-height: 1.75;
}
#contact dl {
	padding: 0px;
	margin: 0px;
}
#contact dl dt {
	font-size: 1.2em;
	font-weight: bold;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #F39939;
	margin-bottom: 10px;
	line-height: 1.75;
}
#contact dl dt#tel_info {
	background-image: url(../contact/img/icon_tel.svg);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 60px;
	padding-top: 15px;
	padding-bottom: 15px;
	line-height: 1.75;
}
#contact dl dt#pc {
	background-image: url(../contact/img/icon_pc.svg);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 60px;
	padding-top: 15px;
	padding-bottom: 15px;
}
#contact dl dd {
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 40px;
	margin-left: 0px;
	line-height: 1.75;
}
#contact dl dd#r60 {
	margin-left: 60px;
}

#contact dl dd a:link {
	text-decoration: none;
	color: #333;
}
#contact dl dd a:visited {
	text-decoration: none;
	color: #333;
}
#contact dl dd a:hover {
	color: #999999;
	text-decoration: none;
}



/*フォームのテーブル
------------------------------------*/


#contact .hixtusu {
	font-size: 0.9em;
	color: #F00;
	padding-left: 10px;
}
#contact table {
	padding: 0px;
	width: 100%;
	background-color: #FFF;
	font-size: 0.95em;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999;
	margin-right: 0px;
	margin-bottom: 40px;
	margin-left: 0px;
	margin-top: -20px;
}
#contact table td {
	padding: 15px;
	margin: 0px;
	vertical-align: middle;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	line-height: 1.75;
}
#contact table td.bg {
	background-color: #FDEBD7;
	width: 75%;
}
#contact table td * + * {
	margin-top: 0.5rem;
}




/*フォーム
------------------------------------*/

.form ,#firstname,#lastname,#firstname-furigana,#lastname-furigana {
	background-color: #FFFFFF;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
	color: #555;
	line-height: 1.5em;
	padding: 10px;
	transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;
	font-size: 1.1em;
}
.form:focus {
    border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}
.form::-moz-placeholder {
    color: #999;
    opacity: 1;
}
.zip {
	width: 25%;
	background-color: #FFFFFF;
}
.name {
	width: 95%;
	background-color: #FFFFFF;
}
#firstname,#lastname,#firstname-furigana,#lastname-furigana {
	width: 40%;
	background-color: #FFFFFF;
}
.other {
	width: 95%;
	background-color: #FFFFFF;
}
.tel {
	width: 15%;
	background-color: #FFFFFF;
}
.fax {
	width: 15%;
	background-color: #FFFFFF;
}
.mail {
	width: 80%;
	background-color: #FFFFFF;
}
.address {
	width: 95%;
	background-color: #FFFFFF;
}
.bikou {
	width: 95%;
	height: 10em;
	font-size: 1em;
	background-color: #FFFFFF;
}

#contact table a:link {
	text-decoration: underline;
	color: #333;
}
#contact table a:visited {
	text-decoration: underline;
	color: #333;
}
#contact table a:hover {
	color: #999999;
	text-decoration: underline;
}


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

#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: 0 0.5rem;
}
#form_btn ul li button {
	display: block;
	text-align: center;
	width: 174px;
	padding: 10px;
	font-size: 1.125rem;
	border: solid thin #999;
	border-radius: 5px;
	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 {
	font-size: 1.125rem;
	padding: 0.5rem 0.25rem;
	line-height: 1.5;
	border: solid thin #999;
	border-radius: 0.25rem;
	box-sizing: border-box;
}
td input[type=checkbox] {
	margin-right: 0.5rem;
}
#name1,
#name2,
#ruby1,
#ruby2 {
	width: 12rem;
}
#txt1,
#txt2,
#txt3 {
	width: 100%;
}
#txt4 {
	width: 6rem;
}
#txt5 {
	width: 8rem;
}
#area1 {
	display: block;
	width: 100%;
	height: 5rem;
}

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

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

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

.name_set {
	display: flex;
}
.name_set > div {
	margin-right: 2rem;
	display: flex;
}
.name_set > div span {
	display: inline-block;
	width: 2.5rem;
}
.confirmation {
	font-size: 1.125rem;
}
.name_set .confirmation {
	display: inline-block;
	width: 6rem;
}
/* 不備がない時のメッセージ */
#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: 1.125rem;
	display: block;
}
#att #allgreen_message strong {
	font-size: 1.5rem;
}
#att #allgreen_message .blink {
	font-size: 3rem;
	width: 4rem !important;
	height: 4rem !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 3s 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;
}

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

