@charset "utf-8";

/*- Table Of Contents -------------------
	1.Default
	2.Outline
	3.Header
	4.Visual
	5.Contents
	6.Footer
	7.Semantic object
	8.Layout object
	9.List
	10.Form
	11.Media
---------------------------------------*/

/*--------------------------------------
	1.Default
--------------------------------------*/
body {
	color: #333;
	font: 98%/1.6 Meiryo, "メイリオ", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", Verdana, Arial, sans-serif;
}

body,div,iframe,
dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,
form,fieldset,input,textarea,button,
table,caption,tbody,tfoot,thead,tr,th,td,
pre,p,blockquote {
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,h6,
small {
	font-weight: normal;
	font-size: 100%;
}

rt {
	font-size: 96%;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,th {
	text-align: left;
}

address,caption,cite,code,dfn,b,em,strong,th,var {
	font-style: normal;
	font-weight: normal;
}

img,abbr,acronym,fieldset {
	border: 0;
}


/*--------------------------------------
	2.Outline
--------------------------------------*/
body {
	background: #f7f7f5;
}

#container {
	border-top: 7px #c90101 solid;
	min-width: 971px;
}


/*--------------------------------------
	3.Header
--------------------------------------*/
header {
	width: 871px;
	margin: 0 auto;
}

header h1 {
	display: inline;
	float: left;
	height: 80px;
	padding: 17px 0 0 73px;
	background: url(/img/jidoushazei/bg_h1.png) no-repeat left top;
}

header h1 a,
header h1 a:link,
header h1 a:focus,
header h1 a:hover
header h1 a:visited {	
	color: #c00;
	font-size: 90%;
	text-decoration: none;
}

header h1 strong {
	font-weight: normal;
}

#contact {
	display: inline;
	float: right;
	margin-top: 26px;
}


/* adg */
#contact .tel {
	position: relative;
}
#contact .tel span {
	position: absolute;
	top: -46px;
	left: 43px;
	font-size: 31px;
	font-family: arial;
	letter-spacing: -1px;
	color: #222;
}


#contact ul {
	float: right;
	list-style: none;
	margin: 0 24px;
	font-size: 88%;
}

#contact ul li:first-child {
	margin-bottom: 10px;
}

#pages,
header nav {
	clear: both;
	padding-bottom: 5px;
	background: url(/img/jidoushazei/bg_header_nav.png) no-repeat bottom;
}

#pages ul,
header nav ul {
	display: inline-block;
	list-style:none;
}

#pages ul:after,
header nav ul:after {
	content: ".";
	display: block;
	height: 0;
	font-size:0;
	clear: both;
	visibility:hidden;
}

#pages li,
header nav li {
	display: inline;
	float: left;
	padding: 4px 0;
}

#pages li a,
header nav li a {
	display: block;
	padding: 5px 28px 5px 26px;
	background: url(/img/jidoushazei/bg_header_nav_a.png) repeat-y right;
	text-align: center;
	font-size: 87%;
}

/*
#pages li.uketoru a,
header nav li.uketoru a {
	width: 172px;
}

#pages li.keisan a,
header nav li.keisan a {
	width: 142px;
}

#pages li.zeijimusho a,
header nav li.zeijimusho a {
	width: 180px;
}

#pages li.case a,
header nav li.case a {
	width: 174px;
}
*/
#pages li.m345 a,
header nav li.m345 a {
	padding-right: 13px;
	background: none;
}

#pages li a:link,
#pages li a:visited,
header nav li a:link,
header nav li a:visited {
	color: #fff;
}

#pages li#now a,
header nav li#now a {
	cursor: default;
}


/*--------------------------------------
	4.Visual
--------------------------------------*/



/*--------------------------------------
	5.Contents
--------------------------------------*/
#contents {
	clear: both;
	width: 871px;
	margin: 0 auto 64px;
}

h2 {
	height: 83px;
	margin-bottom: 15px;
	padding-top: 35px;
	padding-left: 170px;
	background: url(/img/jidoushazei/bg_h2.png) no-repeat;
	color: #fff;
	font-size: 2.3em;
}

h2.unique {
	height: auto;
	padding: 0;
	background: none;
}

#contents>section {
	margin-bottom: 47px;
}

#contents>section>div {
	padding: 19px;
	border: 1px #ccc solid;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	background: #fff;
}

#contents section section {
	margin-bottom: 19px;
	padding: 0 22px;
}

h3 {
	margin-bottom: 10px;
}

h3.f1 {
	height: 35px;
	margin-bottom: 12px;
	padding: 13px 0 0 99px;
	background: url("/img/jidoushazei/bg_h3_f1.png") no-repeat bottom;
	color: #fff;
	font-size: 1.45em;
	font-weight: bold;
}

h3.f2 {
	height: 35px;
	margin-bottom: 12px;
	padding: 13px 0 0 99px;
	background: url("/img/jidoushazei/bg_h3_f2.png") no-repeat bottom;
	color: #fff;
	font-size: 1.45em;
	font-weight: bold;
}

h3.f3 {
	height: 35px;
	margin-bottom: 12px;
	padding: 13px 0 0 99px;
	background: url("/img/jidoushazei/bg_h3_f3.png") no-repeat bottom;
	color: #fff;
	font-size: 1.45em;
	font-weight: bold;
}

h3.f4 {
	height: 35px;
	margin-bottom: 12px;
	padding: 13px 0 0 99px;
	background: url("/img/jidoushazei/bg_h3_f4.png") no-repeat bottom;
	color: #fff;
	font-size: 1.45em;
	font-weight: bold;
}

h3.u {
	margin-bottom: 12px;
	padding-bottom: 5px;
	background: url(/img/jidoushazei/bg_h3_u.png) repeat-x bottom;
	color: #6c2413;
	font-size: 1.45em;
	font-weight: bold;
}

div.flow {
	background: url(/img/jidoushazei/img003.jpg) no-repeat left top;
	padding-left: 99px;
}

/* adg */
.banner_contact {
	position: relative;
	display: block;
	width: 820px;
	height: 114px;
	margin: 0 auto 1em;
	background: url(/img/jidoushazei/bg_banner_contact.gif) no-repeat;
}

.banner_contact span {
	position: absolute;
	top: 22px;
	left: 100px;
	font-size: 45px;
	font-weight: bold;
	font-family: arial;
	letter-spacing: 2px;
	color: #222;
	text-shadow: 0 0 7px #fff;
}

.banner_contact a {
	color: #222 !important;
}


/*--------------------------------------
	6.Footer
--------------------------------------*/
footer {
	clear: both;
	min-height: 180px;
	background: #c90101;
	color: #fff;
	font-size: 82%;
}

footer>div {
	width: 871px;
	margin: 0 auto;
}

#mascot {
	display: inline;
	float: left;
	margin: -28px 8px 0 -10px;
}

#copyright {
	display: inline;
	float: left;
	margin-top: 18px;
}

#copyright b {
	font-size: 1.2em;
}

#copyright ul {
	list-style: none;
}

footer nav {
	display: inline;
	float: right;
	margin-top: 18px;
}

footer nav ul {
	display: inline;
	float: left;
	margin-left: 2.2em;
}

footer nav li {
	margin-bottom: 2px;
}

footer a:link,
footer a:visited {
	color: #fff;
}


/*--------------------------------------
	7.Semantic object
--------------------------------------*/
a{ text-decoration: none; }
a:link { color: #c00; }
a:visited { color: #a03; }
a:hover, a:focus { text-decoration: underline; }
a.underline {
	text-decoration: underline;
}

em,
strong {
	font-weight: bold;
}

small {
	font-size: 80%;
}

ins {
	text-decoration: none;
}

del, s {
	text-decoration:line-through;
}

.important,
.mark_required {
	color: #f00;
}

.important2 {
	font-size: 110%;
}

.important3 {
	font-size: 115%;
	font-weight: bold;
	color: #f00;
}

/* link */
.link {
	padding-left: 20px;
	background: url(/img/icon_arrow1.gif) no-repeat 5px 0.3em;
}

.link2 {
	padding-left: 13px;
	background: url(/img/icon_arrow2.png) no-repeat 0 7px;
}

.link4 {
	padding-left: 17px;
	background: url(/img/icon_arrow4.png) no-repeat 0 8px;
}

a.link_blank {
	padding-left: 20px;
	background: url(/img/icon_blank.gif) no-repeat 4px;
}

a.link_blank2 {
	padding-right: 17px;
	background: url(/img/icon_blank.gif) no-repeat right;
}

a.link_pdf {
	padding-left: 20px;
	background: url(/img/icon_pdf2.gif) no-repeat 0 0.1em;
}

a.link_zoom {
	padding-left: 19px;
	background: url(/img/icon_musi.png) no-repeat 0 0.1em;
}

a.link_list {
	padding-left: 19px;
	background: url(/img/icon_list.png) no-repeat 0 3px;
}

/* img */
figure {
	margin: 17px 0;
}

img.frame {
	padding: 3px;
	border: solid 1px #ddd;
	background: #fff;
	box-shadow: 3px 3px 5px -2px rgba(0, 0, 0, 0.2);
}

img.character {
	vertical-align: -0.1em;
}


/*--------------------------------------
	8.Layout object
--------------------------------------*/
.t_right {
	text-align: right;
}
.t_left {
	text-align: left;
}
.t_center {
	text-align: center;
}

.right {
	float: right;
}
.left {
	float: left;
}

.clear {
	clear: both;
}
.clearl {
	clear: left;
}

.indent {
	text-indent: 1em;
}
.flat,
p.flat {
	text-indent: 0;
}

.margin_top {
	margin-top: 1em;
}
.margin_top2 {
	margin-top: 2em;
}

.margin_right {
	margin-right: 1em;
}

.margin_left {
	margin-left: 1em;
}

.margin_bottom {
	margin-bottom: 1em;
}
.margin_bottom2 {
	margin-bottom: 2em;
}


/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	min-height: 1px;
}


/*--------------------------------------
	9.List
--------------------------------------*/
ul.intext,
ol.intext,
section ul,
section ol {
	margin-left: 1.7em;
}

section ul.nomarker,
section ul.nomarker,
section ul.star,
section ol.star {
	margin-left: 0.2em;
}

section ul.nomarker li, 
section ol.nomarker li {
	list-style-type: none;
	background: none;
	padding-left: 0;
}

ul.horizon li,
ol.horizon li {
	display: inline;
	margin-right: 16px;
}

section blockquote ul,
section blockquote ol {
	margin-top: 5px;
	padding-left: 55px;
	margin-bottom: 5px;
}

section blockquote blockquote ul,
section blockquote blockquote ol {
	padding-left: 85px;
}


/*--------------------------------------
	10.Form
--------------------------------------*/
label input {
	margin-right: 0.3em;
}

.btn_large {
	margin-right: 11px;
	padding: 2px 15px 2px 25px;
	font-size: 120%;
	letter-spacing: 10px;
}


/*--------------------------------------
	11.Media
--------------------------------------*/
@media screen and (max-width: 640px) {
	img {
		max-width: 100% !important;
		height: auto;
	}

	/* Outline */
	#container {
		min-width: 0;
	}

	/* Header */
	header {
		width: 100%;
	}

	header h1 {
		display: block;
		float: none;
		height: auto;
		margin-left: 5px;
		padding: 3px 0 0 50px;
		background: url(/img/jidoushazei/bg_h1.png) no-repeat left top;;
		background-size: 44px auto;
		font-size: 13px;
	}

	header h1 img {
		width: auto;
		height: 30px;
	}

	#contact {
		display: block;
		float: none;
		margin-top: 0;
		margin-left: 10px;
	}

	#contact ul {
		list-style: none;
		float: none;
		display: block;
		margin-bottom: 5px;
		text-align: right;
	}

	#contact ul li {
		display: inline;
	}

	#pages,
	header nav {
		clear: both;
		padding-bottom: 5px;
		background: none;
	}

	#pages li,
	header nav li {
		float: left;
		margin: 0;
		padding: 0;
		line-height: 1.2;
	}

	#pages li a,
	header nav li a {
		display: inline-block;
		padding: 1px 4px 1px 2px;
		border-right: 1px solid #eee;
		border-bottom: 1px solid #eee;
		background: #c90101;
		text-align: center;
		font-size: 85%;
	}

	#pages li.m345 a,
	header nav li.m345 a {
		padding-right: 0;
		background: #c90101;
	}

	/* Contents */
	#contents {
		width: 100%;
		margin: 0;
	}

	h2 {
		height: auto;
		margin-bottom: 3px;
		padding: 5px;
		background: #c33320;
		font-size: 17px;
	}

	h3.f1,
	h3.f2,
	h3.f3,
	h3.f4 {
		height: auto;
		padding: 5px;
		background: #c33320;
		font-size: 15px;
		font-weight: normal;
	}

	h3.u {
		font-size: 15px;
	}

	div.flow {
		padding-left: 23px;
		background-size: 20px;
	}

	#contents>section {
		margin-bottom: 20px;
	}

	#contents>section>div {
		padding: 10px;
	}

	#contents section section {
		margin-bottom: 19px;
		padding: 0 5px;
	}

	.banner_contact {
		width: 100%;
		height: 50px;
		background-size: contain;
	}

	.banner_contact span {
		top: 10px;
		left: 35px;
		font-size: 16px;
	}

	/* Footer */
	footer {
		min-height: 0;
	}

	footer>div {
		width: auto;
		padding: 5px;
	}

	#mascot {
		display: none;
	}

	#copyright {
		float: none;
	}

	footer nav {
		float: none;
	}

	footer nav:after {
		content: ".";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
	}

	footer nav {
		min-height: 1px;
	}

	footer nav ul {
		margin-top: 10px;
		margin-left: 10px;
	}

	footer nav ul li {
		list-style: circle;
		margin-left: 1em;
	}
}