/*1 CSS for PC */
@media screen and (min-width: 481px){
 


#bodier{
background-image:url(bg165_02.gif);
background-repeat:repeat-x;
padding-top: 0px;
}



#container{
background-color:white;
width:1000px;
height:100%;
margin: auto;
padding-bottom:0px;
overflow:hidden;
}

#saiyo{
width: 100%;
height: auto;
background-position:center;
}
      
#back-paint{
display: block;
background-image:url(yu-hi-2.jpg);
width:auto;
height:auto;
    margin-top:110px;
background-position:center;
text-align: center; 
line-height:200%;
color:black;  
}
    

#gaiyo{
color:dimgray;
font-size:25pt;
text-align:left;
text-decoration:none;
padding-top:20pt;
margin-left:50pt;
}



#contents-1{
width:auto;
height:100%;
background-position:center;
font-size: 14px;
padding:10pt;
    
}

}

-----------------------------------------------------------------*/
.ta1 {
width: 100%;
border-top: 1px solid #CCC;
border-left: 1px solid #CCC;
border-spacing:0;
}
.ta1 th, .ta1 td {
border-bottom: 1px solid #CCC;
border-right: 1px solid #CCC;
border-spacing:0;
}
.ta1 th{
text-align: center;
padding: 20px;
background: #ececed;
color:DarkSlateGray;
}

.ta1 td{
text-align: left;
padding: 20px;
color:DarkSlateGray;
}

#to-top{
background:url(to-top.png);
width: 80px;
height: 80px;
margin-left: auto;
margin-top:50pt;
margin-bottom:3pt;
}

.red a:link,.red a:visited,.red a:active {color:#ff0000;}






/*2 CSSforSP */
@media screen and (max-width: 480px){
 
img {max-width: 100%;
      height: auto;
}
    
    
#container{
width: auto;
background-color:white;
height:100%;
}
 
    
 #saiyo{
width:100％;
height:auto;
background-position:center;
}
    
   
#back-paint{
background-image:url(yu-hi-2.jpg);
height: auto;
width:auto;
padding:35px;
margin-top:110px;
text-align: center; 
line-height:200%;
color:black;  
}
    
#comp{
background-position:center;
width:auto;
font-size:11.5pt;
}   
    
#gaiyo{
color:dimgray;
width:250px;
font-size:20pt;
text-align:left;
text-decoration:none;
padding-top:20pt;
margin-left:10px;
}


#contents-1{
width:auto;
height:100%;
background-position:center;
font-size: 13px;
margin: auto;
}   
    
        
table {
  border-collapse: collapse;
}
    

    
table td, table th {
  display: block;
  width: auto;
  line-height:150%;
}
 
table th {
    font-size:15pt;
  background-color: #eee;
     line-height:150%;
}
      

}