@charset "utf-8";
/** reset.css **/
html {
	overflow-y:scroll; 
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { 
	margin:0;
	padding:0;
	border: 0;
	outline: 0;
	vertical-align:baseline;
	text-decoration:none;
	font-size: 100%;
	color:#454545;
	line-height:140%;
}
body {
	line-height: 1;
	font-family: "メイリオ", Meiryo,"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro",  "ＭＳ Ｐゴシック", sans-serif;
	
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
address,caption,cite,code,dfn,em,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
blockquote, q {
	quotes: none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
/* テキストエリアのブラウザ間のフォントサイズを統一 */
textarea { font-size: 100%; 
}
/* イメージ下の余白をなくす */
img { vertical-align: bottom; 
}
/* remember to define focus styles! */
:focus {
	outline: 1;
}
/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
a:link {
	color:#3366FF;
}
a:visited {
	color:#3366FF;
}
a:hover {
	color:#FF9933;
	text-decoration:underline;
}
*:first-child+html body {
	font-family:'メイリオ','Mayryo','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}

/* Clear Floated Elements */
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}


.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

/** ここからページのCSS **/

.description {
	width:180mm;
	margin:30px auto;
	border:dotted 3px #F36;
}
h1 {
	margin:5px 20px 0px;
	font-size:22px;
	font-weight:bold;
	color:#000;
	border-left:solid 10px #f36;
	border-bottom:solid 1px #f36;
	padding:2px 0px 2px 10px;
}
span {
	font-size:12px;
	color:#F36;
	font-weight:nomal;
}
.description p{
	padding:10px 0px 10px 40px;
	font-weight:bold;
}
.description strong {
	color:#36F;
}
.description span {
	font-weight:normal;
}
.print {
	margin:0px auto;
	height: 260mm;
	width: 180mm;
}
.item table {
	margin-bottom:30px;
	border:solid 3px #000;
	width:100%;
}
.customer {
	position:relative;
	width:675px;
	height:305px;
	border:solid 3px #000;
	margin-bottom:15px;
}
.customer p,.customer table {
	font-family:HG教科書体;
}
p.come1 {
	position:absolute;
	top:10px;
	left:60px;
	font-size:12px;
}
p.come2 {
	position:absolute;
	top:10px;
	left:345px;
	font-size:12px;
}
.customer .up p {
	font-size:20px;
	margin:22px 0px 20px 30px;
}
.customer .up span {
	font-size:24px;
	border:solid 1px #ccc;
}
p.date {
	margin-left:30px;
}
p.date span{
	border-bottom:solid 1px #ccc;
}
.customer .down table {
	font-size:16px;
	margin-left:113px;
}
.customer .down th {
	vertical-align:middle;
	text-align:right;
}
.customer .down td {
	height:46px;
	border-bottom:solid 1px #ccc;
	width:350px;
}
td.in {
	text-align:right;
	color:#ccc;
	vertical-align:middle;
}
.item th,.address th {
	text-align:center;
	width:100px;
	font-size:16px;
	font-weight:bold;
	background-color:#f7f7f7;
	border-right:dotted 1px #999;
	padding:3px;
	vertical-align:middle;
	border-bottom:solid 1px #777;
}
.item td,.address td{
	vertical-align:middle;
	padding-top:3px;
	padding-bottom:3px;
	font-size:14px;
	border-bottom:solid 1px #777;
}
td.left {
	padding-left:10px;
}
/** インプットの下書き **/
input.grey {
	color:#999;
}
input:focus, input.focused,input.print_btn {
	color:#000;
}
/** インプットここまで **/
h2 {
	font-size:20px;
	font-weight:bold;
	text-align:center;
	margin-bottom:10px;
}
h2 img {
	vertical-align:middle;
}
h3 {
	font-weight:bold;
}
h3 span {
	font-weight:normal;
}
.header p {
	text-align:center;
	text-decoration:underline;
	margin-bottom:20px;
}
.btn p{
	text-align:center;
	margin-bottom:30px;
}
/** フッター **/
.address table {
	width:280px;
	border:solid 3px #000;
}
.address td {
	padding-left:10px;
	border-bottom:none;
}
td.center {
	text-align:center;
	font-weight:bold;
}
td.right {
	text-align:right;
	padding-right:10px;
	font-size:12px;
}
.address,.text {
	float:left;
}
ul {
	margin-top:8px;
	margin-bottom:5px;
}
li {
	font-size:14px;
	font-weight:bold;
	list-style-position: inside;
	list-style-type: square;
}
.text {
	margin-left:25px;
	width:360px;
}
h4 {
	border-left:solid 8px #000;
	border-bottom:solid 1px #000;
	padding-left:8px;
	font-weight:bold;
	width:100%;
}
.text p {
	font-size:14px;
}
.line_up {
	padding-bottom:30px;
	border-bottom:solid 1px #000;
	margin-bottom:10px;
}
.line_down table {
	font-size:13px;
	margin-left:130px;
	margin-bottom:15px;
}
.line_down th{
	text-align:right;
}
.line_down p {
	text-align:center;
}
@media print{
	.description ,.btn{
		display:none;
	}
	span {
		color:#ccc;
	}
	a.hogo {
		border:solid 1px #ccc;
		background-color:#f6f6f6;
		color:#333;
	}
}
/* IE6 hack */
*html body {
	margin-left:172px;
}