@charset "utf-8";

html {
    overflow-y: scroll;
}

@media screen and (min-width:0px) { 

   
	#logo-site{
	    width: 300px;
	    height: 44px;
	    background-image: url(img/logo-site_b_2.png);
	    margin: 0px 0px 10px 0px;
	    background-size: cover;
        }

	#main-img {
   	    background-image: url(img/top_b_568px539px_1.jpg);
   	    background-position:center;
   	    width: 100% max-width: 651px; 
   	    height: 539px;
   	    background-size: cover;
   }
 
 
	#main-img-sub {
    	    background-image: url(img/top-sub_b_568-160px_1.jpg);
    	    width: 100%;
    	    height: 160px;
    	    }
 
 .news-content{
 	width: 48%; 
 }
 
 
 
	img.size-a{
     	max-width: 33.33333333333%;
     	height: auto;
     	}
    
     	
	img.size-b{
     	max-width:66.66666666666%;
     	height: auto;
     	}
     	
     
     	
}





@media screen and (min-width: 650px) {


#logo-site{
	width: 480px;
	height: 19px;
	background-image: url(img/logo-site_4.png);
	background-size: cover;
	}

#main-img {
	background-image: url(img/top5_1080-539.jpg);
	background-position:left;
	width: 100%; max-width: 1080px;
	height: 539px;
	background-size: cover;
	}
	
#main-img-sub {
	background-image: url(img/top-sub_a_1080-160px_1.jpg);
	width: 100%; max-width: 1080px;
	height: 160px;
		}
			
.news-content{
	width: 23%; 
}

	
img.size-a{
	max-width: 20%;
	height: auto;
	}
	
img.size-b{
	max-width:40%;
	height: auto;
	}

#boxB {
 float: left;
 margin-left: -300px;
 }
	
#article_diary{
	margin-left: 300px;
}	
	
#boxC {
 float: right;
}	
	
}
	

	
body{
	  -webkit-text-size-adjust: 100%;
	  text-align:center;
}

#top-line {
    width: 100%; max-width: 1080px;
	height: 12px;
	margin: 0px;
	padding: 0px;
	background-image: url(img/obi.jpg);
	border:1px solid #000;
	background-size: cover;
	}



#title {
	width: 100%;
	height: 72px;
	margin: 2px 0px 2px 0px;
	padding: 0px;
	position: relative;
	background-color:#ffffff;
	}
	
#logo-site{
	position: absolute;
	top: 32px;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
	
#title img {
	width: 528px;
	height: 19px;
	position: absolute;
	top: 32px;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	
	}

nav{
	width: 100%; max-width: 1080px;
	height: 72px;
	background-color:#fff;
}



nav ul {
	width: 100%;	
	font: 16px 'Open Sans', sans-serif;
	height: px;
	list-style-type: none;
	margin: 0px 0% 0px 0%;
	padding: 0px 0% 0px 0%;
	text-align: center;
}

nav ul li {
	display: inline-block;
	width: 28%;
	height: px;
	background-color:#00;
}



nav ul li a {
	
	display: block;
	line-height:72px;
	height: px;
	padding: 0px 0px 0px 0;
	background-color: #;
	left: px;
	position: relative;
}



	
#main-img {
    height: 539px;
	background-color: #F8F8FF;
	background-size: cover;
	border:1px solid #000;
		}
	

#top-news{
	width: 100%;
	height: 100%;
	color: #666666;
	text-align: center;
	font-family: arial, sans-serif;
	margin: 0px 0px -20px 0px; 
	}

#top-news-text{
	width: 100%; max-width: 600px;
	display: inline-block;
	text-align: left;
}

p.top-news {
	
	line-height: px;
	font-size: 13px;
	display: inline-block;
	text-align: left;
}


	
#main-img-sub {
	background-color: #F8F8FF;
	background-size: cover;
	border:1px solid #000;
	margin-bottom: 10px;
	padding: 0px;
	}
	
#thumbnail{
    width: 100%; max-width: 1080px;
	line-height: 0;
	border:1px solid #000;
	
}

#thumbnail2{
    width: 99.1%;
    margin: 0.5%;
}

 /*--------------------------------index_news--------------------------------*/

#news{
	width: 100%; max-width: 1080px;
	height: %;
	color: #666666;
	font-family: arial, sans-serif;
	margin-top: 40px;
	border:px solid #000;
	display: inline-block;
	
	text-align: ;
}

.news-content{
	
	margin: 10px 0.5% 0.5px 0%; 
	border:px solid #000;
	display: inline-block;
	vertical-align: top;
	
}


.news-img img
{
	width: 100%; max-width: px;
	border:1px solid #000;
}


#news p{
	margin-top: 0px;
	line-height: px;
	font-size: 13px;
	display: inline-block;
	text-align: left;
}

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

#about{
	width: 100%;
	height: 100%;
	color: #666666;
	text-align: center;
	font-family: arial, sans-serif;
	margin-top: 45px;
}

h1.name{
    font-size: 16px;
	margin: 0px 0px 2px;
	padding: 0;
}



h3.top-news{
    font-size: 15px;
	margin: 0px 0px 0px 0px;
	padding: 0;
}

h3{
    font-size: 16px;
	margin: 0px 0px 2px;
	padding: 0;
}


img.add{
	height: 25px;
}


#about-text{
	width: 100%; max-width: 600px;
	display: inline-block;
	text-align: left;
}

#black-line{
    width: 100%;
    height: 3px;
	background-color: #666666;
}


p.profile {
	line-height: 22px;
	font-size: 13px;
	display: inline-block;
	text-align: left;
}


p.mywork {
	line-height: 35px;
	font-size: 13px;
}


#footer{
	width: 100%;
	height: 100px;
	background-color:#ffffff;
	margin-top: 60px;
	padding-top: px;
	line-height: 0;
	clear: both;
}


#footer small	{
		width: 100%;
		height: 14px;
		padding: 0px;
		font-size: 10px;
		line-height: 18pt;
		font-style:normal;
		border-color:#ffcc00;
		border-top:solid px #000;
		}


#container {
 width:100%; max-width: 1080px;
 background-color:;
}

#boxB {
 width:100%;
}

#article_diary{
	color: #666666;
	text-align: center;
	font-family: arial, sans-serif;
}

.article{
	width: 90%;
	display: inline-block;
	text-align: left;
	margin-top: 30px;
}




#boxC {
 width:300px;
 margin-top: 30px;
 border: 0px solid #000;
text-align: left;
 color: #666666;
 font-family: arial, sans-serif;
}




.diary_top {
border-bottom: 1px solid #000;
}


.diary_title {
		font-size: 14px;
		font-family: arial, sans-serif;
		}
		
.diary_date {
		font-size: 10px;
		font-family: arial, sans-serif;		
		}

.diary_main p {
		font-size: 12px;
		font-family: arial, sans-serif;		
		}

.diary_date_right {
		font-size: 12px;
		font-family: arial, sans-serif;
		list-style-type: none;	
		padding: 0px;
		margin: 20px 0px 0px 0px;
		}

.diary_imgA{
	width: 100%; 
	margin-top: 5px;
	margin-bottom: px;
	
}

.right_img{
		width: 100%;
		border: 1px solid #000;
		margin: 2px 0px 2px 0px;
}





a:link {
		color:#666666;
		text-decoration:none;
		}
a:visited {
		color:#666666;
		text-decoration:none;
		}
a:hover {
		color: #8b8b8b;
		text-decoration:none;
		background-color: #fff;
		}

