@charset "utf-8";
/* EDIT　SA 20130222, 0226, 0417 */

body{
	background: url(../img/bg.gif) repeat 0 0 #fff;
	line-height: 1.8;
}

div#wrapper{
	width: 960px;
	text-align: left;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0px !important;
	margin-left: auto;
}

div#footer{
	text-align: center;
	background: #333;
	padding: 1px, 5px !important;
	clear: both;
}


div#footer p#copyright{
	text-align: center;
	color: #fff;
	font-family: "lucida grande", tahoma, verdana, arial, sans-serif !important;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
}

/* 追加　SA 20130222 ,, 20130417,  */

/* 外部リンク要素 
----------------------------------------------------------- */ 

a[href^="http"] {   
    background: url(../img/link01.jpg) no-repeat;
	background-position: right center;
	padding-right: 15px;
}  
* html a.external   {   
    background: url(../img/link01.jpg) no-repeat;
	background-position: right center;
	padding-right: 15px;

}  
a[href^="http://www.css-lecture.com/"]  {  
    padding: inherit;  
    background: transparent;  
}  

/* target 別窓
----------------------------------------------------------- */  
a[target="_blank"]{ 
	padding-right:15px;
	background: url(../img/icon_target.png)no-repeat right;
}

/* target  空表示
----------------------------------------------------------- */  
a[target="_self"]{ 
	padding-right:15px;
	background: url(../img/_self.gif)no-repeat right;
}

/* target  所内　表示　左
----------------------------------------------------------- */  
a[target="_local"]{ 
	padding:0 0 0 40px;
	background: url(../img/icon_local.png) no-repeat 1px 50%;
	
}



/* pdf要素 
----------------------------------------------------------- */  
a[href$=".pdf"] {   
	background: url(../img/icon_pdf.gif) no-repeat 100% 50%; 
	padding-right: 20px; 
}  
* html a.pdf{   
	background: url(../img/icon_pdf.gif) no-repeat 100% 50%;
	padding-right: 20px;  
}  

/* Word要素 
----------------------------------------------------------- */  
a[href$=".doc"] {
	background: url(../img/icon_doc.png) no-repeat 100% 50%;
	padding-right: 20px;   
}  
* html a.doc    {
	background: url(../img/icon_doc.png) no-repeat 100% 50%;
	padding-right: 20px;  
}
/*-------------------------------- docx */  
a[href$=".docx"] {
	background: url(../img/icon_doc.png) no-repeat 100% 50%;
	padding-right: 20px;   
}  
* html a.docx    {
	background: url(../img/icon_doc.png) no-repeat 100% 50%;
	padding-right: 20px;  
}

/* Excel要素 
----------------------------------------------------------- */  
a[href$=".xls"] {   
    background: url(../img/icon_xls.png) no-repeat 100% 50%;
	padding-right: 20px;    
}  
* html a.xls{   
    background: url(../img/icon_xls.png) no-repeat 100% 50%;
	padding-right: 20px;    
}  
/*--------------------------------- xlsx */  
a[href$=".xlsx"] {
	background: url(../img/icon_xls.png) no-repeat 100% 50%;
	padding-right: 20px;   
}  
* html a.xlsx    {
	background: url(../img/icon_xls.png) no-repeat 100% 50%;
	padding-right: 20px;  
}

/* PowerPint要素 
----------------------------------------------------------- */  
a[href$=".ppt"] {   
    background: url(../img/icon_ppt.png) no-repeat 100% 50%;
	padding-right: 20px;    
}  
* html a.ppt{   
    background: url(../img/icon_ppt.png) no-repeat 100% 50%;
	padding-right: 20px;    
}  
/*--------------------------------- xlsx */  
a[href$=".pptx"] {
	background: url(../img/icon_ppt.png) no-repeat 100% 50%;
	padding-right: 20px;   
}  
* html a.pptx    {
	background: url(../img/icon_ppt.png) no-repeat 100% 50%;
	padding-right: 20px;  
}


/* zip要素 
----------------------------------------------------------- */  
a[href$=".zip"] {   
    background: url(../img/icon_zip.png) no-repeat 100% 50%;
	padding-right: 20px;  
}  
* html a.zip{ 
    background: url(../img/icon_zip.png) no-repeat 100% 50%;
	padding-right: 20px;  
} 
/* text 要素 
----------------------------------------------------------- */  
a[href$=".txt"] {   
    background: url(../img/icon_txt.png) no-repeat 100% 50%;
	padding-right: 20px;    
}  
* html a.txt{   
    background: url(../img/icon_txt.png) no-repeat 100% 50%;
	padding-right: 20px;    
}  

/* 要素 
----------------------------------------------------------- */  
a[href$=".local"] {   
    padding:0 0 0 40px;
	background: url(../img/icon_local.png) no-repeat 1px 50%;
}  
* html a.local   {   
		padding:0 0 0 40px;
	    background: url(../img/icon_local.png) no-repeat 1px 50%;
	
/* 要素 

----------------------------------------------------------- */  


    a   {  
        padding: 4px 20px 4px 0;  
    }  
    /* IE-6要素 
    ----------------------------------------------------------- */  
    * html a{  
        behavior: expression(  
        this.className += this.getAttribute("href").match(/^http.*/) && (!this.getAttribute("href").match("css-lecture.com")) ? " external" : "",  
        this.className += this.getAttribute("href").match(/\.pdf$/) ? " pdf" : "",  
        this.className += this.getAttribute("href").match(/\.doc$/) ? " doc" : "",  
        this.className += this.getAttribute("href").match(/\.xls$/) ? " xls" : "",  
        this.className += this.getAttribute("href").match(/\.zip$/) ? " zip" : "",  
        this.className += this.getAttribute("href").match(/\.txt$/) ? " txt" : "",  
        this.className += this.getAttribute("href").match(/^mailto.*/) ? " mailto" : "",  
        this.style.behavior = "none"  
        );  
    }  
	
	
	
/* 追加　終わり */
