
/* Reset Style
========================================================================== */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { 
  margin: 0;
  padding: 0;
}

body{
color:#333;
font-size:14px;
font-family:Helvetica,Verdana,'Gulim', 'Apple Gothic', 'Arial','MS UI Gothic',sans-serif; 
line-height:1.5;
-webkit-text-size-adjust: none;

}

ol, ul {
  list-style: none;
}

img{
	border:0;
	margin:0;
	padding:0;
}
a{
	color:#000;
	text-decoration:none;
}
a:hover{
	color:#555;
}
a:active, a:focus {outline:0;}
 .shadow {
    text-shadow: 
    	/* 上部のシャドウ */
    	0 -1px 1px rgba(0, 0, 0, .4), 
    	/* 下部のハイライト */
    	0 1px 1px rgba(255, 255, 255, .75);
		behavior: url(css/PIE.htc);
}

h3  { color: #473F42;width: 100%;
      font-weight:bold;  
      text-shadow: 0px 1px 1px #fff;
	 
}


/* PC or  SP
========================================================================== */
#PC{
	display: block;
}
@media(max-width:960px){
	#PC{
		display: none;
	}
}
@media(max-width:480px){
	#PC{
		display: none;
	}
}
#SP{
	display: none;
}
@media(max-width:960px){
	#SP{
		display: none;
	}
}
@media(max-width:480px){
	#SP{
		display: block;
	}
}
#TB{
	display: none;
}
@media(max-width:960px){
	#TB{
		display: block;
	}
}
@media(max-width:480px){
	#TB{
		display: none;
	}
}


#selectPC{
	display: block;
}

#selectTB{
	display: none;
}




/* pageContainer
========================================================================== */

#pageContainer{
	width:100%;
	margin:0 auto;
	overflow:hidden;
}

/* headerBlock
========================================================================== */
#headerBlock{
	width:100%;
	height:auto;
	margin:0 auto;
	padding:0px 0 0px;
	border-top:12px solid #88abc2;
	border-bottom:1px solid #f9eece;*border-bottom:0px solid #333;
}







/*************
/* SIDEBAR
*************/
#sidebar ul{
position:fixed;
top:20%;
left:15px;
opacity:;
font-family:Helvetica,Verdana;
}
@media screen and (max-device-width:480px){
#sidebar ul{
top:1%;
left:10px;
}}
ul .pressed {
    
    padding: 20px;
	background: rgba(210,210,210, .1);
	border:1px solid #897858;
	border-bottom: 1px solid #d6c6af;
	border-right: 1px solid #d6c6af;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
    behavior: url(./css/PIE.htc);   /* IE */
    
 
    

}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #f1f1f1;
}

#sidebar li:last-child{
border:0;
margin-bottom:0px;
}

#sidebar li a{
font-size:12px;
display:block;
color:#333;
}

#sidebar li a:hover{
color:lightyellow;
}


#sidebar ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
border:0;
}
/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header,#wrapper,.inner{
	width:100%;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	margin:0 auto;
	margin-top:20px;}
	
	nav#mainNav .inner{
	width:800px;
	padding:0 14px;
	margin:0 auto;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li:last-child{border-right:1px dotted #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:154px;
	height:45px;
	padding-top:9px;
	color:#696969;
	border-left:1px dotted #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#ff7f50;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#fff;
  
	}
	
	#mainBanner{margin-left:15px;}
	#subpage #mainBanner{margin:17px auto;}
	
	#main{
	float:right;
	width:657px;
	padding-right:15px;
	}
	
	#sidebar{
	float:left;
	width:245px;
	padding:25px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding-top:7px;
	margin-bottom:20px;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}


#box3 { width: 100%;
        max-width:700px;
        height: 100%;
        margin: 0 auto;
        

		
		
		
		

}	 
#box3 img{width:310px;padding:20px;
}
#box4 { width: 100%;
        max-width:355px;
        height: 100%;
	    max-height:px;
        margin: 0 auto;
		padding:0px;
}	 
#box4 img{
    width: 100%;
    max-width: 355px;
	height:100%;
	max-height: 523px;
	margin: 0 auto;
	padding-top:20px;
    
}
}

@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
    margin-top:10px;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	margin-left:10px;
	}

	nav#mainNav a#menu span{
	padding-left:30px;
	color:#333;
	}
	nav#mainNav a.menu span:before{content: " ";}
	nav#mainNav a.menuOpen span:before{content: "";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2; 
	margin-left:20px;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	color:#333;
	display: block;
	padding:13px 10px;
	text-align:left;
	border-bottom:1px dashed lightyellow;
	}
	
	nav#mainNav ul li a span{padding-left:15px;color:#ff7f50;}
	
	
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#fff;}
nav#mainNav ul li a:hover{
	color:#fff;
  
	}
	nav div.panel{float:none;}
	
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0 15px;}}

/* entrys
========================================================================== */
#wrapper  {   
 width: 180px;
 height: 200px;
 display: block;
 margin: 0 auto;

  }

.container{
	display:block;
	padding:20px 0;
	margin:0 auto;
	max-width:922px;		/*最大幅　5個*/
	min-height:600px;
	overflow:hidden;
}
@media(max-width:480px){
	.container{
	padding:0 0 20px 0;
	}
}

#container,
.thumb li {
    -webkit-transition-duration: 0.7s;
    -moz-transition-duration: 0.7s;
    -ms-transition-duration: 0.7s;
    -o-transition-duration: 0.7s;
    transition-duration: 0.7s;
}

#container {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.thumb li {
    -webkit-transition-property: left, right, top;
    -moz-transition-property: left, right, top;
    -ms-transition-property: left, right, top;
    -o-transition-property: left, right, top;
    transition-property: left, right, top;
}
/* disable transitions on container */
.motionContainer.infinite-scroll.masonry {
	-webkit-transition-property: none;
	-moz-transition-property: none;
	-o-transition-property: none;
	transition-property: none;
}


.modules {
	margin: 0 auto 0;
	padding: 0;
}
.modules:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.modules li {
	width:210px;
	margin: 10px 10px 10px;
	float: left;
	padding: 0 0 10px;
}
.post{
	position:relative;
	width:210px;
	height:auto;
	*height:330px;
	background:#dcd3b2;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	behavior: url(css/PIE.htc);
	
}

.thumb img{
	position:relative;
	width:210px;
	height:auto;
	
	-webkit-border-radius:8px 8px 0px 0px;
	-moz-border-radius:8px 8px 0px 0px;
	border-radius:8px 8px 0px 0px;
	behavior: url(css/PIE.htc);
}
.modules li .thumb {
	margin:0;
	padding: 0;
	background:#dcd3b2f;
	position:relative;
	-webkit-border-radius:8px 8px 0px 0px;
	-moz-border-radius:8px 8px 0px 0px;
	border-radius:8px 8px 0px 0px;
	behavior: url(css/PIE.htc);
}
	
.modules li .thumb img {
	margin:0;
	padding: 0;
	width: 100%;
	max-width: 100% !important;
	/* May I rot in hell for this IE6 hack */
	_width: 100% !important;
	height: auto !important;
}
.modules li .logo {
	margin:0;
	padding: 0 0 8px;
	display:block;
	width: 100%;
	border-bottom:1px solid #e3e3e3;
}
.modules li .logo img {
	display:block;
	margin:0 auto;
	padding: 0;
	max-width: 100% !important;
	/* May I rot in hell for this IE6 hack */
	_width: 100% !important;
	height: auto !important;
}
@media screen and (max-width: 480px) {
	.modules li .logo img {
	width: 90%;
	}#box3 { width: 100%;
        max-width:700px;
        height: 100%;
        margin: 0 auto;
     


}	 
#box3 img{width:310px;
     padding:20px;
     display: block; 
     margin:auto; 

}
}

a:hover .thumb img {
	opacity:1;
	filter: alpha(opacity=100);
}
/*
.modules li .new {
	position:absolute;
	width:40px;
	bottom:7px;
	right:0px;
	margin:0;
	padding: 0;
	z-index:6;
}
.modules li .new img {
	width:40px;
}
*/

@media screen and (max-width: 320px) {
	.modules li {
	width: 220px;
	}
	#box3 { width: 100%;
        max-width:700px;
        height: 100%;
        margin: 0 auto;
     


}	 
#box3 img{width:310px;
     padding:20px;
     display: block; 
     margin:auto; 

}
}

.modules li .title {
	margin:10px auto 0;
	width:180px;
	font-size:11px;
	line-height:1.6;
	font-weight:bold;
}
.modules li .dates {
	margin:10px auto 0;
	width:180px;
	font-size:11px;
	line-height:1.6;
	color:#999;
	font-weight: normal;
}
.modules li .dates .newmark{
	color:#b11239;
	font-weight: normal;
}


/*************
/* HEADER
*************/
#header{
height:100%;
}

#header h1{
margin:20px 0 5px 0;
font-size:12px;
font-weight:normal;
text-align:center;
}
h1{
margin:20px 0 5px 0;
font-size:12px;
font-weight:normal;
text-align:center;
}

#header a{
color:#333;
}

#header a:hover{
color:#888;
}
/*************
/* LOGO
*************/
.logo{
margin-top:6px;
font-size:20px;
font-weight:bold;
}

.logo p{text-align:center;}
.logo span{
display:block;
color:#333;
font-size:12px;
font-weight:normal;
font-family:"Helvetica,Verdana", sans-serif;
}
/*************
/* Copyright
*************/

#Pagetop {
	width: 100%;
	height: 60px;
	
	
	
	
	padding-top:7px;
	text-align: center;
	z-index:10;
}
#Pagetop a{
	display:block;
	width: 100%;
	height: 60px;
}


address{
clear:both;
padding:20px 0 20px 0;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
background:#88abc2;
border-top:1.5px solid #fff;
}





