

// DHTML用にドキュメントの仕様を判別。
if ( document.getElementById ) { var archdt = 'a' }// IE 5.x 以降、及び NN 6.x 以降
else if ( document.all ) { var archdt = 'b' }// IE 4.x 以前
else if ( document.layers ) { var archdt = 'c' }// NN 4.x 以前

// OSの種類を判別、取得。
if ( navigator.appVersion.indexOf ( 'Win' ) != -1 ) { var archos = 'Win'; }
else if ( navigator.appVersion.indexOf ( 'Mac' ) != -1 ) { var archos = 'Mac'; }

// Browser名を取得。
var archwb = navigator.appName.charAt ( 0 );

// BrowserのVersionを取得。
var archvr = navigator.appVersion.substr ( 0, 3 );

document.open ( );
document.writeln ( '<style type="text/css">' );
document.writeln ( '<!--' );
document.writeln ( 'body { margin: 0px; padding: 0px; text-align: center; background-color: #ffffff; color: #222222; font-family: "ＭＳ Ｐゴシック", Osaka, sans-serif }' );
document.writeln ( 'td { font-size: 16px; line-height: 16px }' );
document.writeln ( '' );
if ( archos == 'Win' ) {
	if ( archdt == 'c' ) {// Win NN 4.x 以前
		document.writeln ( '.text6b { font-size: 22px; line-height: 30px }' );
		document.writeln ( '.text5b { font-size: 14px; line-height: 22px }' );
		document.writeln ( '.text4b { font-size: 20px; line-height: 23px }' );
		document.writeln ( '.text2 { font-size: 11px; line-height: 16px }' );
		document.writeln ( '.text2n { font-size: 11px; line-height: 16px }' );
		document.writeln ( '.text2n a:visited { color: #FF6600 }' );
		document.writeln ( '.text2n a:active { color: #FF6600 }' );
		document.writeln ( '.text3 { font-size: 13px; line-height: 22px }' );
		document.writeln ( '.text2b { font-size: 11px; line-height: 12px }' );
		document.writeln ( '.text3b { font-size: 13px; line-height: 14px }' );
		document.writeln ( '.text2c { color: #408CE8; font-size: 11px; line-height: 12px }' );
		document.writeln ( '.footer { color: #666666; font-size: 11px; line-height: 12px }' );		
		document.writeln ( '.text3c { color: #408CE8; font-size: 13px; line-height: 14px }' );
		document.writeln ( '.text3c2 { color: #5A5A5A; font-size: 13px; line-height: 14px }' );
		document.writeln ( '.text3d { color: #408CE8; font-size: 13px; line-height: 19px }' );
		document.writeln ( '.text2e { font-size: 11px; line-height: 20px }' );
		document.writeln ( '.text3e { font-size: 13px; line-height: 16px }' );
		document.writeln ( '.text_line { font-size: 13px; line-height: 16px }' );
		document.writeln ( '.textdiary { font-size: 11px; line-height: 18px }' );
		document.writeln ( '.textdiary2 { font-size: 11px; line-height: 14px }' );
		document.writeln ( '.text2porter { font-size: 11px; line-height: 16px }' );
		document.writeln ( '.f12 {font-size: 12px}' );
		document.writeln ( '.f12-org {font-size: 12px; color: #CC3300; font-weight: bold; }' );
		document.writeln ( '.f10 {font-size: 10px}' );
		document.writeln ( '.sale-box { margin: 0; line-height:200%; text-align:left; font-size:10px; padding: 5px 0px 5px 0px;} ');
        document.writeln ( '.sale-box img { padding-left:5px;} ');
		document.writeln ( '.sale-box-2 { margin: 0; line-height:200%; text-align:left; font-size:10px; padding:5px;} ');
        document.writeln ( '.sale-space { padding:5px 0px 5px 0px;} ');
		document.writeln ( '.text2_666 { color: #666666; font-size: 11px; line-height: 16px }' );
		document.writeln ( '.textSale { font-size: 10px; line-height: 16px;}' );

	} else {// Win IE 、及び Win NN 6.x 以降
		document.writeln ( '.text6b { font-size: 22px; line-height: 30px }' );
		document.writeln ( '.text5b { font-size: 14px; line-height: 22px }' );
		document.writeln ( '.text4b { font-size: 20px; line-height: 23px }' );
		document.writeln ( '.text2 { font-size: 11px; line-height: 16px }' );
		document.writeln ( '.text2n { font-size: 11px; line-height: 16px; color: #FF6600; }' );
		document.writeln ( '.text2n a:visited { color: #FF6600 }' );
		document.writeln ( '.text2n a:active { color: #FF6600 }' );
		document.writeln ( '.text3 { font-size: 12px; line-height: 22px }' );
		document.writeln ( '.text2b { font-size: 10px; line-height: 12px }' );
		document.writeln ( '.text3b { font-size: 12px; line-height: 14px }' );
		document.writeln ( '.text2c { color: #408CE8; font-size: 10px; line-height: 12px }' );
		document.writeln ( '.footer { color: #666666; font-size: 10px; line-height: 12px }' );		
		document.writeln ( '.text3c { color: #408CE8; font-size: 12px; line-height: 14px }' );
		document.writeln ( '.text3c2 { color: #5A5A5A; font-size: 12px; line-height: 14px }' );
		document.writeln ( '.text3d { color: #408CE8; font-size: 12px; line-height: 18px }' );
		document.writeln ( '.text2d { font-size: 10px; line-height: 20px }' );
		document.writeln ( '.text3e { font-size: 12px; line-height: 16px }' );
		document.writeln ( '.text_line { font-size: 12px; line-height: 16px }' );
		document.writeln ( '.textdiary { font-size: 11px; line-height: 18px }' );
		document.writeln ( '.textdiary2 { font-size: 11px; line-height: 14px }' );
		document.writeln ( '.text2porter { font-size: 11px; line-height: 16px }' );
		document.writeln ( '.f12 {font-size: 12px}' );
		document.writeln ( '.f12-org {font-size: 12px; color: #CC3300; font-weight: bold; }' );
		document.writeln ( '.f10 {font-size: 10px}' );
        document.writeln ( '.sale-box { margin: 0; line-height:200%; text-align:left; font-size:10px; padding: 5px 0px 5px 0px;} ');
        document.writeln ( '.sale-box img { padding-left:5px;} ');
		document.writeln ( '.sale-box-2 { margin: 0; line-height:200%; text-align:left; font-size:10px; padding:5px;} ');
        document.writeln ( '.sale-space { padding:5px 0px 5px 0px;} ');
		document.writeln ( '.text2_666 { color: #666666; font-size: 11px; line-height: 16px }' );
		document.writeln ( '.textSale { font-size: 10px; line-height: 16px;}' );
	}
} else if ( archos == 'Mac' ) {// Mac
	document.writeln ( '.text6b { font-size: 22px; line-height: 30px }' );
	document.writeln ( '.text5b { font-size: 14px; line-height: 22px }' );
	document.writeln ( '.text4b { font-size: 20px; line-height: 23px }' );
	document.writeln ( '.text2 { font-size: 10px; line-height: 15px }' );
	document.writeln ( '.text2n { font-size: 10px; line-height: 15px; color: #FF6600; }' );
	document.writeln ( '.text2n a:visited { color: #FF6600 }' );
	document.writeln ( '.text2n a:active { color: #FF6600 }' );
	document.writeln ( '.text3 { font-size: 12px; line-height: 19px }' );
	document.writeln ( '.text2b { font-size: 10px; line-height: 12px }' );
	document.writeln ( '.text3b { font-size: 12px; line-height: 14px }' );
	document.writeln ( '.text2c { color: #408CE8; font-size: 10px; line-height: 12px }' );
	document.writeln ( '.footer { color: #666666; font-size: 10px; line-height: 12px }' );	
	document.writeln ( '.text3c { color: #408CE8; font-size: 12px; line-height: 14px }' );
	document.writeln ( '.text3c2 { color: #5A5A5A; font-size: 12px; line-height: 14px }' );
	document.writeln ( '.text3d { color: #408CE8; font-size: 12px; line-height: 18px }' );
	document.writeln ( '.text2d { font-size: 10px; line-height: 20px }' );
	document.writeln ( '.text3e { font-size: 12px; line-height: 16px }' );
	document.writeln ( '.text_line { font-size: 12px; line-height: 14px }' );
	document.writeln ( '.textdiary { font-size: 10px; line-height: 17px }' );
	document.writeln ( '.textdiary2 { font-size: 10px; line-height: 13px }' );
	document.writeln ( '.text2porter { font-size: 10px; line-height: 16px }' );
	document.writeln ( '.f12 {font-size: 12px}' );
	document.writeln ( '.f12-org {font-size: 12px; color: #CC3300; font-weight: bold; }' );
	document.writeln ( '.f10 {font-size: 10px}' );
	document.writeln ( '.sale-box { margin: 0; line-height:200%; text-align:left; font-size:10px; padding: 5px 0px 5px 0px; } ');
    document.writeln ( '.sale-box img { padding-left:5px; } ');
    document.writeln ( '.sale-box-2 { margin: 0; line-height:200%; text-align:left; font-size:10px; padding:5px; } ');
    document.writeln ( '.sale-space { padding:5px 0px 5px 0px;} ');
	document.writeln ( '.text2_666 { color: #666666; font-size: 10px; line-height: 15px }' );
	document.writeln ( '.textSale { font-size: 10px; line-height: 16px;}' );
}
document.writeln ( '' );
document.writeln ( 'a { text-decoration: none }' );
document.writeln ( 'a:link { color: #0000CC }' );
document.writeln ( 'a:visited { color: #941D55 }' );
document.writeln ( 'a:active { color: #666666 }' );
document.writeln ( 'a:hover { color:#941D55; text-decoration:none }' );
document.writeln ( 'a.under { text-decoration:underline }' );
document.writeln ( '.black a{ color:#000000; text-decoration:none }' );
document.writeln ( '.black a:link { color: #000000 }' );
document.writeln ( '.black a:visited { color: #000000 }' );
document.writeln ( '.black a:hover { color:#666666;}' );
document.writeln ( '.black a:active { color: #000000 }' );
document.writeln ( '.gray a{ color:#666666; text-decoration:none }' );
document.writeln ( '.gray a:link { color: #666666 }' );
document.writeln ( '.gray a:visited { color: #666666 }' );
document.writeln ( '.gray a:hover { color:#cccccc;}' );
document.writeln ( '.gray a:active { color: #666666 }' );
document.writeln ( '.footer a { color:#666666; text-decoration: none }' );
document.writeln ( '.footer a:link { color: #666666 }' );
document.writeln ( '.footer a:visited { color: #666666 }' );
document.writeln ( '.footer a:active { color: #cccccc }' );
document.writeln ( '.footer a:hover { color:#cccccc; text-decoration:none }' );
document.writeln ( 'form { margin: 0; padding: 0; }' );
document.writeln ( '-->' );
document.writeln ( '</style>' );
document.close ( );



