﻿@charset "utf-8";


/*全体の設定
---------------------------------------------------------------------------*/
body {
	color: #666666;	/*全体の文字色*/
	margin: 0px;
	padding: 0px;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";	/*文字サイズ、行間、フォントファミリー*/
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img {
	border: none;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;	/*リンクテキストの色*/
}
a:hover {
	color: #000;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*bodyの直接の子要素のh1タグ設定
---------------------------------------------------------------------------*/
body > h1 {
	font-size: 10px;	/*文字サイズ*/
	color: #FFF;		/*文字色*/
	background: #000;	/*背景色*/
	text-align: right;	/*右寄せ*/
}
body > h1 a, body > h1 a:hover {
	color: #FFF;
	text-decoration: none;
}

/*コンテナー（HP最上段のh1タグ以外を囲むボックス）
---------------------------------------------------------------------------*/
#container {
	width: 100%;	/*コンテナー幅*/
	margin-right: auto;
	margin-left: auto;
}


/*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	width: 100%;	/*コンテンツ幅*/
	background-color: #FFF;	/*背景色*/
	padding: 10px;	/*コンテンツ内の余白*/
	overflow: hidden;
}

img.thumbnail {
	width: 62px;
	height: 62px;
	border: none;
}

/*list.html内の中古車紹介の各ブロック
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#main section.list article {
	border: 1px solid #999;	/*枠線の幅、線種、色*/
	margin-bottom: 1em;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#e3e3e3));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#FFF, #e3e3e3);									/*同上*/
	background-image: linear-gradient(#FFF, #e3e3e3);											/*同上*/
	-webkit-box-shadow: 0px 2px 5px #CCC, 0px 0px 1px 1px #FFF inset;	/*影の設定。右・下・ぼかし幅・色の設定, ＋内側への影を右・下・ぼかし幅・色を設定*/
	box-shadow: 0px 2px 5px #CCC, 0px 0px 1px 1px #FFF inset;			/*同上*/
	position: relative;
	overflow: hidden;
}
/*ボックス内の段落タグ設定*/
#main section.list article p {
	padding: 0px;
	margin-left: 120px;	/*左の写真とのバランスをとって設定*/
}
/*ボックス内の写真設定*/
#main section.list article figure img {
	float: left;			/*画像を左へ回り込み*/
	background-color: #FFF;	/*画像の背景色。ここでは枠線と画像の間の色になります。*/
	padding: 5px;			/*余白。ここに上の行で設定した背景色が出ます。*/
	border: 1px solid #CCC;	/*枠線の幅、線種、色*/
	vertical-align: bottom;
}
/*ボックス内のh1タグ設定*/
#main section.list article h3 {
	font-size: 100%;
	border-left: 3px solid #000;	/*左側の線の幅、線種、色*/
	margin-bottom: 0.5em;
	color: #000;	/*文字色*/
	padding-left: 5px;
	background-color: #FFD633;	/*背景色*/
}
/*リンクの設定*/
#main section.list article a {
	padding: 10px;	/*ボックス内の余白*/
	text-decoration: none;
	display: block;
	overflow: hidden;
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s;			/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
#main section.list article a:hover {
	background-color: #ffea99;	/*マウスオン時のボックス色*/
}

/*list.html内のおすすめ表示*/
.osusume {
	font-size: 10px;
	color: #FFF;
	background: #F00;
	text-align: center;
	display: block;
	width: 120px;
	position: absolute;
	right: 0px;
	bottom: 0px;
	-webkit-transform: rotate(-45deg) translate(37px,20px);
	-ms-transform: rotate(-45deg) translate(37px,20px);
	transform: rotate(-45deg) translate(37px,20px);
}
/*フレーム
---------------------------------------------------------------------------*/

#frame {
	margin-right: auto;
	margin-left: auto;
}

#frame article.box1 {
	font-size: 11px;	/*文字サイズ*/
	width: 100%;	/*ボックスの幅*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#e3e3e3));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#FFF, #e3e3e3);									/*同上*/
	background-image: linear-gradient(#FFF, #e3e3e3);	
	border-bottom: 1px solid #999;	/*下の線の幅、線種、色*/
	line-height: 1.6;	/*行間*/
	position: relative;
	overflow: hidden;
}
#frame article.box1 a {
	padding: 10px;	/*ボックス内の余白*/
	text-decoration: none;
	display: block;
	overflow: hidden;
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s;			/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
#frame article.box1 a:hover {
	background-color: #ffea99;	/*マウスオン時のボックス色*/
}
/*h3見出しタグ*/
#frame article.box1 h3 {
	margin-left: 75px;	/*左の画像とバランスをとって設定する*/
	border: none;
	text-align: left;
	padding: 0;
	background: none;
}

#frame article.box1 p {
	margin-left: 75px;	/*左の画像とバランスをとって設定する*/
	padding: 0px;
}
/*サムネイル画像設定*/
#frame article.box1 figure {
	float: left;	/*左に回り込みさせる設定*/
	padding: 0px;
}
/*サムネイル画像のフチ*/
#frame article.box1 figure img {
	width: 62px;
	height: 62px;
	border: 1px solid #999;	/*枠線の幅、線種、色*/
	vertical-align: bottom;
}



