/* http://jigsaw.w3.org/css-validator/ */

/* 本体サイトはbodyの .page-order-form, .page-measurement で切り分け */

form p {
	padding: 0 30px;
}
form table p {
	padding: 0;
}
form .tbl th,
form .tbl td {
	padding: 14px;
}
.mail_confirm .tbl th,
.mail_finish .tbl th,
.mail_confirm .tbl td,
.mail_finish .tbl td {
	padding: 5px 14px;
}
table.tbl th {
	border-right: none;
	background-color: #f3eedf;
	position: relative;
}
form .tbl th.min,
.mail_confirm .tbl th.min,
.mail_finish .tbl th.min {
	white-space: normal;
	min-width: 10em;
}
form .tbl td,
.mail_confirm .tbl td,
.mail_finish .tbl td {
	background-color: #fff;
	color: #40210f;
	padding-right: 2px;
}
form table input[type="text"] {
	max-width: 98%;
}
form table textarea {
	box-sizing: border-box;
	width: 98%;
}

#form_options th label {
	padding-right: 3em;
}
label span.required {
	font-size: .85em;
	font-weight: normal;
	letter-spacing: .125em;
	line-height: 1.5;
	margin: 0.125em 0;
	padding: 0 .25em;
	vertical-align: middle;
	color: #fff;
	background-color: #f07070;
	border-radius: 3px;
	position: absolute;
	white-space: nowrap;
	right: -8px;
	top: auto;
	bottom: auto;
}
label span.required.group {
	letter-spacing: 0;
}
label[for="infos_email"] {
	font-size: .95em;
}
label[for="infos_email"] .required {
	font-size: .88em;
}
label.fb,
.fb label {
	padding-right: 3px;
}
.not_ios label.fb:hover,
.not_ios li.fb:hover,
label.fb:focus,
label.fb.on,
li.fb.on {
/*	background-color: #f6f0e1; */
	background-image: url( '/img/bg_overlay.png' );
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.page-order-form li.fb.on {
	background-image: url( 'https://hiratsuka-barrier-free-order.com/img/bg_overlay_b.png' );
}
form em {
	display: block;
}


/* how_to */
.info {
/*	text-align: center; */
	color: #000;
	background-color: #fff;
	border-radius: 20px;
	-moz-border-radius: 20px;
	margin-bottom: 1em;
	padding: 20px 50px;
}
.page-order-form .info,
.page-measurement .info {
	padding: 20px 30px;
}

/*
.info * * {
	text-align: left;
}
*/
.info h1,
.info h2 {
	color: #3f200d;
}
.info h1 {
	text-align: center;
	margin: 0 auto 1em;
	font-size: 1.75em;
}
.info h1 {
	background-image: url( '/img/deco_rule_w.png' );
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom: .5em;
}
#how_to_measure h1 {
	color: #000;
	background: transparent;
	background-image: none;
	padding-bottom: 0;
}
h1#important_point {
	text-align: left;
	font-size: 1em;
	font-weight: normal;
	color: #000;
	background-color: #fff;
	margin: 0;
}
#important_point +* {
	margin-top: .2em;
}
#how_to_measure section div {
	display: inline-table;
	table-layout: fixed;
	max-width: 290px;
}
#how_to_measure .inline-table {
	width: 100%;
	table-layout: fixed;
	max-width: 310px;
	word-break: break-all;
	padding-right: 10px;
}
#how_to_measure .inline-table:nth-child(odd) {
	padding-left: 10px;
	padding-right: 0;
}
#how_to_measure h2 {
	clear: none;
	border: none;
	font-size: 1.125em;
	position: relative;
	padding: 0;
	background-image: none;
	background-color: transparent;
}
.page-order-form #how_to_measure h2,
.page-measurement #how_to_measure h2 {
	margin-top: 1.75em;
	margin-bottom: .5em;
}
#how_to_measure h2 span,
form #size th span {
	display: block;
	float: left;
	margin: .25em 4px .25em 0;
	padding: .1em .45em .0em;
	line-height: 1.55em;
	border-radius: 2px;
	-moz-border-radius: 2px;
	font-size: .7em;
	background-color: #3f200d;
	color: #fff;
}
#how_to_measure h2 span.woman,
form #size .woman th span {
	border-radius: 50%;
	-moz-border-radius: 50%;
}
#how_to_measure div p {
	max-width: 92%;
	margin: auto;
}
form img.how_to {
	width: 100%;
	max-width: 290px;
}
/* サイズ */
form #size_info {
	display: block;
	max-width: 299px;
	float: right;
	margin: 26px auto;
}
form .tbl#size {
	width: auto;
	max-width: 420px;
	font-size: 1.05em;
}
form .tbl#size th {
	background-color: #ffc;
	min-width: 8.5em;
}
form .tbl#size .woman th {
	background-color: #ffe6e6;
}
form .tbl#size td {
	font-size: .9em;
}
form #size input {
	min-width: 136px;
	margin-right: 5px;
}
/* 立場 */
input#position {
	width: 100%;
}
/* ブランド */
#form_materials {
	margin: 0 -5px;
}
ul#form_materials_items {
	padding-left: 0;
	list-style: none;
}
#form_materials_items li {
	position: relative;
	display: block;
	float: left;
	clear: left;
	margin-bottom: 14px;
	width: 100%;
	min-height: 120px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#form_materials_items li+li:before {
	position: absolute;
	top: -7px;
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: #4b4b4b;
} 
.page-order-form #form_materials_items li+li:before {
	background-color : #d1c0a5;
}
#form_materials_items label,
#form_materials_items p {
	margin-top: 0;
	margin-left: 122px;
	padding-left: 0;
}
#form_materials_items label {
	position: static;
	font-size: 1.1em;
	font-weight: bold;
	padding-top: 10px;
	border-bottom: 1px dashed transparent;
}
#form_materials_items .on label {
	border-bottom-color: inherit;
}
#form_materials_items img {
	display: block;
	max-width: 100px;
	position: absolute;
	left: 10px;
	top: 10px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#form_materials_items p {
	margin-top: 0;
}

#button_area {
	background-image: url( '../img/bg_overlay.png' );
	text-align: center;
	margin-top: 40px;
	padding: 45px 0;
}
#submit {
	-webkit-appearance: none;
	padding: 11px 93px;
	background-color: #c85e00;
	background-image: none;
	border: none !important;
	border-bottom: 5px solid #9f532e !important;
	border-radius: 10px;
	-moz-border-radius: 10px;
	color: #fff !important;
	font-weight: bold;
	font-size: 1.55em;
	-webkit-font-smoothing: antialiased;
}
.not_ios #submit:hover,
#submit:focus {
	background-color: #9f532e;
/*	border-bottom-width: 4px;
	border-top: 1px solid #9f532e;
	*/
}
form .error td {
	padding-top: 10px;
	padding-bottom: 10px;
}
.error input {
	background-color: #ffe6e6;
	margin-top: .25em;
	margin-bottom: .25em;
}
#error_messages {
	background-color: #ffe0e0;
	padding: 20px 20px 30px 40px;
	border: 2px solid #e66;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#error_messages h1 {
	margin: 0 0 .5em;
	background: transparent;
	color: #000;
	font-size: 1.25em;
	font-weight: bold;
	padding: 0;
}
#error_messages ul {
	padding: 0;
	margin: 0;
	color: #000;
	font-weight: bold;
}
#error_messages ul a:link,
#mail table a:link {
	color: #33d;
}
#error_messages ul a:visited {
	color: #515;
}

.err_ret a {
	display: inline-block;
}
.err_ret * {
	vertical-align: middle;
}
.err_ret img.go_top {
	color: #fff;
	width: 1em;
	height: auto;
	background-color: #f88;
	border-radius: 50%;
	margin: 0 2px .25em 4px;
}

/* 部品 */
button.link,
#step button.link,
.page-order-form #main_content #step button.link {
	-webkit-appearance: none;
	margin: 0;
	color: #33d;
	background: none;
	border: none;
	font-size: 1em;
	text-align: left;
	text-decoration: underline;
	padding: 0;
}
.not_ios button.link:hover,
button.link:focus {
	text-decoration: none;
}
form button {
	cursor: pointer;
}
a.button,
input.button,
button.button {
	-webkit-appearance: none;
	background-image: none;
	text-decoration: none;
	text-align: center;
	margin: 5px;
	padding: 10px 24px;
	font-weight: bold;
	font-size: 1em;
	background-color: #e6e6e6;
	color: #333 !important;
	border: 2px solid #aaa;
	border-radius: 10px;
	-moz-border-radius: 10px;
}
.not_ios a.button:hover,
.not_ios input.button:hover,
.not_ios button.button:hover,
a.button:focus,
input.button:focus,
button.button:focus {
	background-color: #ccc;
	border: 2px solid #aaa;
}
.info a.button,
.info input.button,
.info button.button {
	border: none !important;
}
.button.min {
	padding: 5px 12px !important;
	font-size: .9em;
	border-radius: 5px;
	-moz-border-radius: 5px;
}
div.hr {
	display: block !important;
	border-top: 1px dashed #7a4700;
	width: 100% !important;
	max-width: 100% !important;
	max-width: initial !important;
	margin: 20px 0;
}
.page-measurement div.hr:last-child {
	display: none !important;
}
.inline-block {
	display: inline-block;
}
.inline-table {
	display: inline-table;
}
span.nobr {
	display: block;
}
img.icon_arrow {
	vertical-align: middle;
	width: .9em;
	margin-bottom: .25em;
	margin-right: 3px;
}
#main_content img.icon_arrow {
	display: inline;
	width: 1.25em;
	margin-right: 7px;
}
ul.float_list {
	padding-left: 0;
}
ul.float_list li {
	display: inline;
	margin-right: 1em;
}
.order_form label {
	margin: .5em 1em .5em 0;
	position: relative;
}
h2 label,
table.tbl th label {
	margin: 0;
	display: block;
}
input[type="text"],
textarea {
	margin-right: 5px;
}
.input_group {
	background-color: #fff;
	padding: 15px;
}
.ac {
	text-align: center !important;
}
.al {
	text-align: left !important;
}
.ar {
	text-align: right !important;
}
.nowrap {
	white-space: nowrap !important;
}
.howto #gotop {
	display: none;
}
form :focus {
	outline:4px solid rgb(153,198,200);
	outline-color: rgba(153,198,200,.6);
	z-index: 99;
}
body:focus {
	outline: none;
}
::-moz-focus-inner {
	border:0;
}
@media print {
	:focus {
		outline: none;
	}
}


/* for wp */

.page-order-form #main_content h2 {
	margin-top : 1.75em;
}
.page-order-form #size_info {
	max-width: 270px;
}
.page-order-form form table {
	table-layout:fixed;
}
.page-order-form form .tbl th.min,
.page-order-form .mail_confirm .tbl th.min,
.page-order-form .mail_finish .tbl th.min {
	width: 12em;
}
.page-order-form label.fb:hover,
.page-order-form label.fb:focus,
.page-order-form label.fb.on {
	background-image: url( '/img/bg_overlay_b.png' );
}
.page-order-form table label.fb:hover,
.page-order-form table label.fb:focus,
.page-order-form table label.fb.on {
	background-image: url( '/img/bg_overlay.png' );
}
.page-order-form .input_group {
	background-color: transparent;
	background-image: url( '/img/bg_overlay_b.png' );
}
.page-order-form #button_area {
/*	background-image: url( '../img/bg_overlay_b.png' );*/
	background: none;
}
.page-order-form #main_content button.link {
	color: #fff;
}
.page-order-form #submit:hover {
	background-color: #9f532e;
}
.page-order-form .info {
	font-size: 0.9em;
}
.page-order-form #how_to_measure section div {
	max-width: 280px;
}
.page-order-form #how_to_measure .inline-table {
	max-width: 290px;
}
.smartphone.page-order-form form {
	font-size: .8em;
}
.page-order-form a.button:hover,
.page-order-form input.button:hover,
.page-order-form button.button:hover,
.page-order-form a.button:focus,
.page-order-form input.button:focus,
.page-order-form button.button:focus {
	background-color: #ccc;
	border: 2px solid #aaa;
}

/* index, mail_confirm, mail_error （フォームがあるページ） */
.index #main_content,
.mail_confirm #main_content,
.mail_error #main_content {
	width: auto;
	max-width: 100%;
	max-width: initial;
}
.index #main_content .section,
.index #page_title,
.mail_confirm #main_content .section,
.mail_confirm #page_title,
.mail_error #main_content .section,
.mail_error #page_title {
	margin-left: auto;
	margin-right: auto;
	-webkit-box-sizing : border-box;
	-moz-box-sizing : border-box;
	box-sizing : border-box;
	max-width: 750px;
}
.index #main_content div.introduction {
	padding-top: 68px;
	background-image: url( '/img/bg_intro.png' );
	background-repeat: no-repeat;
	background-position: center top;
}
/*.index #step ol,
.mail_confirm #step ol,
.mail_error #step ol */
#step ol {
	list-style-type: none;
	padding-left: 0;
}
/* .index #step ol li,
.mail_confirm #step ol li,
.mail_error #step ol li */
#step ol li {
	min-height: 120px;
}
#step ol h2 {
	position: relative;
	text-align: left;
	background-color: #d9e7d0;
	background-image: none;
	font-size: 1.125em;
	padding: 3px 15px;
	border: none;
	border-radius: 5px;
	-moz-border-radius: 5px;
}
#step .customer h2 {
	background-color: #fff6b2;
}
#step ol div,
#step ol p {
	padding-left: 150px;
	position: relative;
}
#step ol h2+* {
	margin-top: 0;
	padding-top: 2px;
	background-image: url( '/img/arrow_step.png' );
	background-repeat: no-repeat;
	background-position: 20px top;
}
#step ol h2+img {
	display: block;
	float: left;
	padding-left: 70px;
}
#step ol li:last-child h2+p:before {
	background-image: none;
}
#sample_sheeting {
	max-width: 100%;
}
#sample_sheeting img {
	max-width: 50%;
	vertical-align: bottom;
}

/* === howto(new window) === */
body.howto {
	background-color: #fff;
	background-image: none;
	padding: 0;
}
.howto #header,
.howto #page_top,
.howto #footer {
	display: none;
}
.howto #main_content,
.howto #how_to_measure {
	padding: 0;
	width: 650px;
}
.howto #how_to_measure h1 {
	margin-bottom: 0;
}

.howto #how_to_measure section div {
	width: 290px;
}
.hide_if_no_js,
#main_content .hide_if_no_js {
	display: none !important;
}
.forprint {
	display: none;
}

@media print {
	.howto #how_to_measure {
		font-size: .85em;
	}
	.noprint {
		display: none !important;
	}
	.forprint {
		display: block !important;
	}

	/* 範囲指定印刷(送信内容) */
	body.area_print {
	background-color: #fff;
	background-image: none;
	padding: 0;
	font-size: .75em;
	}
	.area_print #header,
	.area_print #page_top,
	.area_print #footer {
		display: none;
	}
	.area_print #main_content {
		display: block;
		padding: 0;
		width: 650px;
	}
	.area_print #print_title {
		margin-top: 0;
		margin-bottom: 10px;
	}
	.area_print #button_area {
		display: none;
	}

}
@media screen and (max-width : 670px) {
	input[type=text] {
		font-size: 16px;
	}
	form #size_info {
		display: block;
		float: none;
		max-width: 240px;
	}
	form .tbl#size {
		width: 100%;
		max-width: 100%;
		max-width: initial;
	}
	.info {
		padding: 10px;
	}
	#step ol div,
	#step ol p {
		padding-left: 120px;
	}
	#step div#sample_sheeting {
		padding-left: 0;
	}
	#step div#sample_sheeting img {
		display: inline;
		margin: 0 !important;
		vertical-align: bottom;
	}
	#step ol h2+* {
	 background-position: 15px 0;
	}
	#step ol h2+img {
		padding-left: 45px;
	}
	span.br {
		display: block;
	}
	span.nobr {
		display: inline;
	}
	

}