body{	
	overflow-y:auto;
	width:100%;
}
.works_wrap{
	display:flex;
	position:relative;
	top: 30px;
	left:23%;
	width:77%;
	z-index:190;
	gap:50px;
}
#category{
	width:130px;
	font-size:16px;
	color:#333 !important;
	font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}
#category h3{
	font-size:18px;
	margin:0 0 10px 0;
}
#category ul{
	list-style:none;
	padding:0;
	margin:0;
}

#category li{
	margin:0 0 10px 0;
}
#category a{
	color:#333;
	text-decoration:none;
}
#workslist{
	width: 450px;
}
#workslist ul{
	list-style:none;
	width: 450px;
	min-height:450px;
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	padding:0 !important;
	align-items:flex-start;
	align-content:flex-start;
}
#workslist li{
	width:calc((100% - 20px) / 3);
	aspect-ratio: 1 / 1;
	flex:none;
}
#workslist li a{
	display:block;
	width:100%;
	height:100%;
}
#workslist li img{
	display:block;
	width:100%;
	height:100%;
	max-width:none;
	object-fit:cover;
}
.pageswitch{
	clear:both;
}
.npsb_nextlink{
/*width:50px;
height:580px;
display:block;
background:url('../images/works/next.png') no-repeat;*/
}


#gnav.item_page{
	float: left;
	width: 180px;
	position: fixed;
	margin: 0 0 0 2%;
	z-index: 100000;
}

.works_item{
	overflow: auto !important;
	background-position: top center !important;
	/*background-size: 180% !important;*/
}

#container{
	height: auto;
	min-height:calc(100dvh - 140px);
}

#item_wrap{
	position: relative;
	z-index: 90;
	float: right;
	margin: 0 16% 0 0;
}

#container{
	min-width: 960px
}
#works_item{
	max-width:840px;
	min-width: 740px;
	/*position:absolute;*/
	/*z-index:90;*/
	/*top:25px;*/
	/*left:23%;*/
	color:#333 !important;
	padding: 0 10px 0 0;
}

#works_item h3{
	margin: 0 0 1em 0;
}

#goback{
	float:right;
}

#works_name{
	font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
	font-size:24px;
	clear:both;
}
#works_left{
	width:540px;
}
#works_left img{
	display:block;
	width:100%;
	height:auto;
}
#works_right{
	width:270px;
	padding: 0 0 0 0px;
	font-size:16px;
	line-height:1.8em;
	box-sizing:border-box;
}
#thumbnail{
	list-style:none;
	padding:20px;
	margin:0;
	overflow:hidden;
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	background:#ccc;
}
#thumbnail li{
	width:calc((100% - 40px) / 5);
	height:100px;
	flex:none;
}
#thumbnail li a{
	display:block;
	width:100%;
	height:100%;
}
#thumbnail li img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}
#works_contents{
	margin:0 0 40px 0;
	display:flex;
	justify-content:space-between;
}
.showcase-thumbnail-container{
	background-color:rgba(150,150,150,0.5) !important;
}
.showcase-button-wrapper{
	display:none;
}
.showcase-content-container{
	background:transparent !important;
}
.showcase-content{
	width:540px !important;
	background:transparent !important;
}
.showcase-content img{
	max-width:540px !important;
	max-height:540px !important;
}
.pageswitch{
	text-align:center;
}

.pageswitch:nth-child(1){
	position: absolute;
	top: -7px;
	left: 500px;
	color: #fff;
	margin: 20px 0 0 0;
}

.pageswitch a{
	display: inline-block;
}

.pageswitch:nth-child(1) a{
	display: block;
}

.pageswitch a{
	width: 100px;
	border: 1px solid #999;
	border-radius: 2px;
	background: #fff;
	margin: 0 0 10px 0;
	padding: 1px 10px;
	text-decoration: none;
}

.pageswitch a:link,
.pageswitch a:visited{
	background: #fff;
	color: #444;
}

.pageswitch a:hover,
.pageswitch a:active{
	background: #999;
	color: #fff;
}



@media screen and (max-height: 700px) {
	#works_contents{
		/*height:380px;*/
		/*overflow:auto;*/
	}
}

@media screen and (max-width:1224px) {
	#item_wrap {
	    z-index: 90;
	    float: right;
	    margin: 0 3% 0 0;
	}
}


@media screen and (min-width:1225px and max-width:1400px;) {
	#item_wrap {
	    z-index: 90;
	    float: right;
	    margin: 0 15% 0 0;
	}
}

@media screen and (min-width:1401px) {
	#item_wrap {
	    z-index: 90;
	    float: right;
	    margin: 0 25% 0 0;
	}
}
