mac=(navigator.appVersion.indexOf('Mac')!=-1)?true:false;

/* Main CSS Ver.2.1 */
document.write('<STYLE TYPE="text/css"><!--');
if(mac){
	//Mac IE NC
	document.write('.t09{font-Size: 9px; line-height:11px;}');
	document.write('.t10{font-Size:10px; line-height:12px}');
	document.write('.t10l{font-Size:10px; line-height:14px;}');
	document.write('.t12{font-Size:12px; line-height:14px}');
	document.write('.t12l{font-Size:12px; line-height:18px}');
	document.write('.t14{font-Size:14px; line-height:16px}');
	document.write('.t14l{font-Size:14px; line-height:20px}');
	document.write('.t18{font-Size:18px; line-height:20px}');
}else{
	if(document.all){
		//WIN IE
	document.write('.t09{font-Size: 9px; line-height:11px;}');
	document.write('.t10{font-Size:10px; line-height:12px}');
	document.write('.t10l{font-Size:10px; line-height:14px;}');
	document.write('.t12{font-Size:12px; line-height:14px}');
	document.write('.t12l{font-Size:12px; line-height:18px}');
	document.write('.t14{font-Size:14px; line-height:16px}');
	document.write('.t14l{font-Size:14px; line-height:20px}');
	document.write('.t18{font-Size:18px; line-height:20px}');
	}else{
		//WIN NC
	document.write('.t09{font-Size: 9px; line-height:11px;}');
	document.write('.t10{font-Size:11px; line-height:12px}');
	document.write('.t10l{font-Size:11px; line-height:14px;}');
	document.write('.t12{font-Size:12px; line-height:14px}');
	document.write('.t12l{font-Size:12px; line-height:18px}');
	document.write('.t14{font-Size:14px; line-height:16px}');
	document.write('.t14l{font-Size:14px; line-height:20px}');
	document.write('.t18{font-Size:18px; line-height:20px}');
	}
}

/* Option CSS */
document.write('a.nav:link{color: #0066FF; text-decoration: underline;}');
document.write('a.nav:visited{color: #0066FF; text-decoration: underline;}');
document.write('a.nav:hover{color: #0066FF; text-decoration: none}');
document.write('a.nav:active{color: #0066FF; text-decoration: underline;}');
document.write('a.black:link{color: #000000; text-decoration: none}');
document.write('a.black:visited{color: #000000; text-decoration: none}');
document.write('a.black:hover{color: #000000; text-decoration: underline;}');
document.write('a.black:active{color: #000000; text-decoration: none}');
document.write('a.red:link{color: #FF0000; text-decoration: none}');
document.write('a.red:visited{color: #FF0000; text-decoration: none}');
document.write('a.red:hover{color: #FF0000; text-decoration: underline;}');
document.write('a.red:active{color: #FF0000; text-decoration: none}');
document.write('A:hover {color: #ff0000;}');

/* ヘッダメニュー */
document.write('.y_head1 {width:962px;margin:auto;text-align:center;background-color:#FFFFFF;}');
document.write('.y_head1_1 {width:962px;height:18px;background-image:url(http://img.yamada-denkiweb.com/image/head/head_img01.gif);}');
document.write('.y_head1_2_1 {float:left;height:60px;width:21px;background-image:url(http://img.yamada-denkiweb.com/image/head/head_img04.gif);}');
document.write('.y_head1_2_2 {float:left;height:60px;width:195px;}');
document.write('.y_head1_2_2 a {margin-top:4px;display:block;}');
document.write('.y_head1_2_3 {float:left;height:60px;width:731px;}');
document.write('.y_head1_2_3_1 {float:right;width:104px;background:url(http://img.yamada-denkiweb.com/image/head/head_img12.gif) no-repeat;}');
document.write('.y_head1_2_3_2 {float:right;width:94px;background:url(http://img.yamada-denkiweb.com/image/head/head_img12.gif) no-repeat;}');
document.write('.y_head1_2_3_3 {float:right;width:61px;background:url(http://img.yamada-denkiweb.com/image/head/head_img12.gif) no-repeat;}');
document.write('.y_head1_2_3_4 {float:right;width:81px;background:url(http://img.yamada-denkiweb.com/image/head/head_img12.gif) no-repeat;}');
document.write('.y_head1_2_3_5 {float:right;width:105px;}');
document.write('.y_head1_2_3_6 {float:right;width:178px;}');
document.write('.y_head1_2_3_7 {float:right;width:99px;}');
document.write('.y_head1_2_3_8 {float:right;width:94px;}');
document.write('.y_head1_2_3_9 {float:right;width:164px;}');
document.write('.y_head1_2_4 {float:left;height:60px;width:15px;background-image:url(http://img.yamada-denkiweb.com/image/head/head_img05.gif);}');
document.write('.y_head2 {clear:both;}');
document.write('.y_head2 div {float:left;height:54px;}');
document.write('.y_head2 a {display:block;background-image:url(/image/menu.jpg);}');
document.write('.y_head2 span {display:none;}');
document.write('.y_head2_2 {width:18px;background-image:url(/image/menu.jpg);}');
document.write('.y_head2_3 a{width:93px;height:54px;background-position:-18px 0px;}');
document.write('.y_head2_3 a:hover {background-position:-18px -64px;}');
document.write('.y_head2_4 {width:837px;}');
document.write('.y_head2_4 ul {margin:0px;padding:0px;list-style:none;}');
document.write('.y_head2_4 li {margin:0px;padding:0px;float:left;}');
document.write('.y_head2_4 a {width:93px;}');
document.write('.y_head2_4_1 li a {height:24px;}');
document.write('.y_head2_4_1_1 a {background-position:-111px 0px;}');
document.write('.y_head2_4_1_1 a:hover {background-position:-111px -64px;}');
document.write('.y_head2_4_1_2 a {background-position:-204px 0px;}');
document.write('.y_head2_4_1_2 a:hover {background-position:-204px -64px;}');
document.write('.y_head2_4_1_3 a {background-position:-297px 0px;}');
document.write('.y_head2_4_1_3 a:hover {background-position:-297px -64px;}');
document.write('.y_head2_4_1_4 a {background-position:-390px 0px;}');
document.write('.y_head2_4_1_4 a:hover {background-position:-390px -64px;}');
document.write('.y_head2_4_1_5 a {background-position:-483px 0px;}');
document.write('.y_head2_4_1_5 a:hover {background-position:-483px -64px;}');
document.write('.y_head2_4_1_6 a {background-position:-576px 0px;}');
document.write('.y_head2_4_1_6 a:hover {background-position:-576px -64px;}');
document.write('.y_head2_4_1_7 a {background-position:-669px 0px;}');
document.write('.y_head2_4_1_7 a:hover {background-position:-669px -64px;}');
document.write('.y_head2_4_1_8 a {background-position:-762px 0px;}');
document.write('.y_head2_4_1_8 a:hover {background-position:-762px -64px;}');
document.write('.y_head2_4_1_9 a {background-position:-855px 0px;}');
document.write('.y_head2_4_1_9 a:hover {background-position:-855px -64px;}');
document.write('.y_head2_4_2 li a {height:30px;}');
document.write('.y_head2_4_2_1 a {background-position:-111px -24px;}');
document.write('.y_head2_4_2_1 a:hover {background-position:-111px -88px;}');
document.write('.y_head2_4_2_2 a {background-position:-204px -24px;}');
document.write('.y_head2_4_2_2 a:hover {background-position:-204px -88px;}');
document.write('.y_head2_4_2_3 a {background-position:-297px -24px;}');
document.write('.y_head2_4_2_3 a:hover {background-position:-297px -88px;}');
document.write('.y_head2_4_2_4 a {background-position:-390px -24px;}');
document.write('.y_head2_4_2_4 a:hover {background-position:-390px -88px;}');
document.write('.y_head2_4_2_5 a {background-position:-483px -24px;}');
document.write('.y_head2_4_2_5 a:hover {background-position:-483px -88px;}');
document.write('.y_head2_4_2_6 a {background-position:-576px -24px;}');
document.write('.y_head2_4_2_6 a:hover {background-position:-576px -88px;}');
document.write('.y_head2_4_2_7 a {background-position:-669px -24px;}');
document.write('.y_head2_4_2_7 a:hover {background-position:-669px -88px;}');
document.write('.y_head2_4_2_8 a {background-position:-762px -24px;}');
document.write('.y_head2_4_2_8 a:hover {background-position:-762px -88px;}');
document.write('.y_head2_4_2_9 a {background-position:-855px -24px;}');
document.write('.y_head2_4_2_9 a:hover {background-position:-855px -88px;}');
document.write('.y_head2_5 {width:14px;height:54px;background-image:url(http://img.yamada-denkiweb.com/image/menu.jpg);background-position:-948px 0px;}');
document.write('.y_head3 {height:10px;font-size:1px;line-height:1px;clear:both;}');




/* Listページリンク色設定1 */
document.write('A.list1:link { color: #ffffff; text-decoration: underline;}');
document.write('A.list1:visited { color: #ffffff; text-decoration: none;}');
document.write('A.list1:active { color: #0000ff; text-decoration: none;}');
document.write('A.list1:hover { color: #3366ff; text-decoration: underline;background-color:#ffffff;}');

/*ポップアップ画像用*/
document.write('.popup{position: relative;z-index:0;width:200px;color:#000000;text-decoration:none;}');
document.write('.popup:hover{background-color: transparent;z-index: 50;text-decoration:none;}');
document.write('.popup span{position: absolute;background-color: #ffffff;padding:5px;border:1px solid #aaaaaa;visibility:hidden;color: black;left: -1000px;}');
document.write('.popup span img{border-width: 0;padding: 2px;}');
document.write('.popup:hover span{visibility: visible;top: 0;left: 210px;width:204px;}');

/*メニューカラー*/
document.write('.m_wall1{background-color: #e8000d;}');/*【特集・ピックアップ】*/
document.write('.m_wall2{background-color: #00347b;}');/*【告知・ガイド】*/
document.write('.m_wall3{background-color: #008c19;}');/*【その他】*/




/* 200803リコメンド対応
　　→商品詳細画面「ランキング#areaRecoDetail」「やまだのおすすめ！#areaOsusumeDetail」
　　→カード画面「やまだのおすすめ！areaRecoCar」
----------------------------------------------------------------------*/
/* 共通 */
document.write('.itemBox .itemDetail a:link{color: #002c71; text-decoration: underline;}');
document.write('.itemBox .itemDetail a:visited{color: #002c71; text-decoration: underline;}');
document.write('.itemBox .itemDetail a.:hover{color: #5398ff; text-decoration: underline;}');
document.write('.itemBox .itemDetail a:active{color: #5398ff; text-decoration: none;}');
document.write('div ,ul, li, p, img {margin:0; padding:0; border:0;}');
/* 幅指定 */
document.write('#areaRecoDetail,#areaOsusumeDetail {width:138px; font-size:10px; line-height:1.3em;}');
document.write('#areaRecoCart {width:708px; font-size:10px; line-height:1.3em;}');
/* 背景画像指定 */
document.write('#areaRecoDetail #pushItemOuter {background:url(http://img.yamada-denkiweb.com/image/item_recommend02.gif)  repeat-y; margin-bottom: 11px;}');
document.write('#areaOsusumeDetail #pushItemOuter {background:url(http://img.yamada-denkiweb.com/image/item_osusume02.gif)  repeat-y; margin-bottom: 11px;}');
document.write('#areaRecoCart #pushItemOuter {background:url(http://img.yamada-denkiweb.com/image/cart_recommend02.gif)  repeat-y; margin-bottom: 11px;}');
document.write('#areaRecoDetail #pushItemInner {background:url(http://img.yamada-denkiweb.com/image/item_recommend03.gif) bottom no-repeat; padding: 0 0 9px 0;}');
document.write('#areaOsusumeDetail #pushItemInner {background:url(http://img.yamada-denkiweb.com/image/item_osusume03.gif) bottom no-repeat; padding: 10px 0 9px 0;}');
/*document.write('#areaRecoCart #pushItemInner {background:url(http://img.yamada-denkiweb.com/image/cart_recommend03.gif) bottom no-repeat; padding: 0 0px 9px 0px;}');*/

document.write('#areaRecoCart #pushItemInner {background:url(http://img.yamada-denkiweb.com/image/cart_recommend03.gif) bottom no-repeat; padding: 0 14px 9px 14px; overflow: hidden;}');

document.write('#areaRecoCart #pushItemInner:after {content: ""; display: block; clear: both; height: 1px; overflow: hidden;}');

document.write('* html body #areaRecoCart #pushItemInner {height: 1%; overflow: visible; padding: 0 12px 9px 12px; margin-left:0px;}');




/* 見出し画像 */
document.write('#areaRecoDetail #pushItemOuter img.imgTitle, #areaOsusumeDetail #pushItemOuter img.imgTitle {width:138px; height:29px;}');
document.write('#areaRecoCart #pushItemOuter img.imgTitle {width:708px; height:28px;}');
/* リード文 */
document.write('#areaRecoDetail .recoComment, #areaOsusumeDetail .recoComment {text-align:left; padding:5px 10px;}');
document.write('#areaRecoCart .recoComment {text-align:left; padding:5px 10px 10px 1px;}');
/* 各商品ボックス */
document.write('#areaRecoDetail #pushItemInner .itemBox, #areaOsusumeDetail #pushItemInner .itemBox {padding: 0 10px;}');
document.write('#areaRecoCart #pushItemInner .itemBoxWrapper {width:680px; margin:0 14px;}');
document.write('#areaRecoCart #pushItemInner .itemBox {width:120px; float:left; margin: 0 7px;}');
document.write('#areaRecoDetail .itemBox img.imgRank {text-align:left; margin: 0 0 5px -3px; width:34px; height:23px;}');
document.write('.itemBox li {list-style-type:none; text-align:center;}');
document.write('.itemBox .itemImage img {width:100px; height:100px; margin:0 0 3px 0;}');
document.write('.itemBox .itemName {text-align:left; padding:0 0 7px 0;}');
document.write('.itemBox .itemDetail{text-align:center; padding:0 0 10px 0;}');



document.write('--></style>');
