/* 0923新規追加修正ここから */
.about-block:nth-of-type(2) img,
.about-block:nth-of-type(3) img,
.about-block:nth-of-type(4) img
{
    margin-top: 0;
    display: none;
}
/* 0923新規追加修正ここから */


.about-block:nth-of-type(2) img {
    margin-top: 0;
}

.mejs-controls{
	display: none !important;
}

.mv{
	margin-bottom: 0!important;
}

.mv__thumnails li{
	cursor: pointer;
}

.mv__thumnails p,
.mv__thumnails li
{
/* 	width: 24.9%; */
	width: 25%;
/*    max-height: 193px; */
	border: 1px solid #222222;
}

.mv__thumnails li{
   height: 14vw;	
}

.grid-overay-clicked{
	opacity: 1 !important;
	display: block !important; 
	left: initial !important
}

.works .works-item{
	 border: 3px solid #222222;
}
		
.works .works-item__title{
	opacity: 0 !important
}

.works-item.swiper-slide{
/* 	position: initial !important; */
	    filter: grayscale(1);
}

.swiper-slide-active{
	filter: inherit !important;
}

.works-item__overay{
/* 	display: block !important; */
}

.syutoku-overay-block section{
	display: none;
	position: absolute;
	position: fixed;
    overflow-y: scroll;
}

.overay-item__titleBlock{
	overflow: hidden;
	border-top: 2px solid #ffffff;
   border-bottom: 2px solid #ffffff;
/*    margin-top: 36px; */
	 position: sticky;
    top: 0;
    background: #111111;
    z-index: 100;
}

.works-item__overay.target-overay{
	display: flex !important;
	opacity: 1 !important;
	left: initial !important;
}

.about-item__txt p{
    margin-top: 12px;
	line-height: 1.6;
}

.about-item__txt p:nth-of-type(2){
	text-align: justify;
}

.works-item:hover .works-item__title p{
	animation-name: bg-line-animation;
   animation-duration: 2s;
   animation-iteration-count: 1;	
}

.works-item__title p{
	width: 100%;
	margin-top: 6px;
	border: none;
	position: relative;
	background: rgba(255,255,255,.7);
/* 	display: table-row-group; */
/* 	display: revert; */
	display: inline;
/*	animation-name: bg-line-animation;
   animation-duration: 2s;
   animation-iteration-count: 1;
*/	
}

.works-item__title p:first-of-type{
	margin-top: 0;
}

.works-item__title p:before{
	content: "";
	display: inline-block;
	position: absolute;
}

@keyframes bg-line-animation {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}

.mv__thumnails img{
	width: 100% !important;
	height: 160px !important;
	object-fit: cover;
	overflow: hidden;
}

aside #text-2,
aside #text-3,
aside #text-4
{
	display: none;
}

.about-block img{
/* 	max-width: 300px !important; */
/* 	width: 36%; */
	width: 56%;
   display: block;
/*    margin: 48px auto; */
	margin: 130px auto 42px;
}

.category-list{
	margin-top: 42px;
/* 	padding-bottom: 12px; */
/* 	border-top: 2px solid #222222; */
	cursor: pointer;
}

.category-main{
	height: 0px;
   margin-top: -1px;
	overflow: hidden;
   background: #000000;
   transition: .4s all ease-in-out;
}

.swiper-container{
	width: 84%;
	margin: 0 auto;
}

.category-main.clicked{
/* 	padding: 0 0 492px; */
	padding: 0 0 300px;
/* 	margin-top: -24px; */
}

.category-list:first-of-type{
	margin-top: 0;
}

.category-block__title{
	font-size: 18px;
	font-weight: 400;
	position: relative;
/*    font-weight: bold; */
/* 	opacity: .8; */
	opacity: 0;
}

.category-block .category-block__title{
	position: absolute;
/*    display: flex; */
   width: 100%;
   height: 100%;
	padding-left: 0;
	color: #ffffff;
   z-index: 2;
   align-items: center;
	justify-content: center;
/*    padding-left: 18px; */
}

.category-block .category-block__title a{
	display: block;
	text-decoration: none;
	color: #ffffff;
	height: 144px;
   line-height: 144px;
   text-align: center;
}

.category-bg-video{
	position: relative;	
	height: 144px;
   overflow: hidden;
}

video,
.category-bg-video video
{
	width: 100% !important;
	max-width: 100%;
}

.category-bg-video .click-btn,
.category-bg-video .works-fix-btn,
.category-bg-video .category-block__title
{
   transition: .3s all ease-in-out;
}

.category-bg-video .click-btn,
.category-bg-video .works-fix-btn
{
	opacity: 0;	
}

.category-bg-video .click-btn,
.category-bg-video .works-fix-btn
{
	position: absolute;
	right: 3%;
    width: 66px;
    height: 66px;
    background: #ffffff;
    top: 0;
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	  top: 0;
    bottom: 0;
    margin: auto;
	font-size: 14px;
}

.category-bg-video:hover .click-btn,
.category-bg-video:hover .works-fix-btn,
.category-bg-video:hover .category-block__title
{
	opacity: 1;
}

.category-block__title.clicked{
	opacity: 1;
}



.category-bg-overay{
	width: 100%;
	height: 100%;
	position: absolute;
/*    background: rgba(0,0,0,.3); */
   background: rgba(0,0,0,.15);
	top: 0;
	transition: .3s all ease-in-out;
}

.category-bg-video:hover .category-bg-overay{
   background: rgba(0,0,0,1);	
}

.category-bg-overay.clicked{
   background: rgba(0,0,0,1);		
}


.works{
	margin-top: 0 !important;
}

.works .category-item__wrapper,
.works .acd .category-item__wrapper
{
	display: none;
}

.works .acd__wrapper{
    position: absolute;
    right: 0;
    font-size: 20px;
    border: 1px solid #222222;
    border-radius: 60%;
    padding: 0px 12px;
    top: 6px;
    width: 90px;
}

.works .acd__arrow{
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    top: 4px;
    border-top: 1px solid #222222;
    border-right: 1px solid #222222;
    transform: rotate(135deg);
    right: 13px;
}

.works .work-item a,
.works .works-item a
{
	display: block;
	text-decoration: none;
	position: relative;
}

.works .work-item__title,
.works .works-item__title
{	
	font-size: 18px;
}

.works .work-item>div,
.works .works-item>div
{
	display: none;
	position: absolute;
	position: fixed;
	right: 0;
   width: 90%;
	height: 100%;
	padding: 30px 0;
   top: 0;
   background: #222222;
   color: #dddddd;
   z-index: 100;
	overflow: scroll;
}

.all-overay.actived{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	height: 100vh;
	background: rgb(0,0,0,.8);
   z-index: 70;
}

.syutoku-overay-block{
/* 	display: none; */
   color: #ffffff;
	position: fixed;
	right: 0;
   width: 65%;
	height: 100%;
	padding: 30px 0;
   top: 0;
	overflow: scroll;
	opacity: 0;
	z-index: -1;
}

.syutoku-overay-block.open{
	z-index: 100;
	opacity: 1;
}

.syutoku-overay-block section{
   width: 65%;
	right: 0;
	/* 	position: fixed; */
	height: 100%;
/* 	padding: 30px 0; */
	padding-bottom: 42px;
   top: 0;
   background: #111111;
}

.overay-item__closeBtn{
	/*position: absolute;
   left: -90px;
	top: 0;*/
	position: absolute;
	position: fixed;
/* 	left: 28vw; */
/*    top: 60px; */
	left: 26vw;
	top: 12px;
	opacity: .9;
	transition: .2s all ease-out;
}

.overay-item__closeBtn:hover{
	opacity: 1;
}

.works-item__overay{
	display: block;
}

.works .work-item>div.spb,
.works .works-item>div.spb,
.overay-item__infoBlock,
.overay-item__desc,
.overay-item__backBtn,
.overay-item__imgBlock
{
/* 	padding: 0 42px; */
}

.works-fix-btn{
	   position: fixed;
      top: 0px;
      left: 0px;
      background: rgba(0, 0, 0, 0.5);
      border-radius: 50%;
      transition: 0.2s;
      transition-timing-function: ease-out;
      pointer-events: none;
      z-index: 10;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(0,0,0,.8);
    font-weight: 800;
	display: none;
}

.works-fix-btn__inner{
	width: 102px;
   height: 102px;
	display: flex;
   align-items: center;
   justify-content: center;
}

.overay-item__infoBlock,
.syutoku-overay-block .works-item__video,
.syutoku-overay-block .overay-item__imgBlock
{
/* 	margin-top: 36px; */
	margin: 48px !important;
}

.overay-item__imgBlock img{
	width: 100%;
	height: auto !important;
	margin: 18px auto;
}

.overay-item__closeBtn,
.overay-item__backBtn
{
	font-weight: bold;
	color: #ffffff;
	cursor: pointer;
	font-size: 18px;
}

.overay-item__backBtn{
	display: none;
}

.overay-item__backBtn span{
	display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    position: absolute;
    left: 10px;
    top: 12px;
    transform: rotate(-45deg);	
}

.overay-item__infoData,
.overay-item__infoDesc
{
	font-size: 14px;
}

.overay-item__infoDesc p{
	margin-top: 24px;
    line-height: 2;
    opacity: .9;
    font-size: 15px;
}

.data-item__koumoku{
    width: 66px;
    display: inline-block;
}

.overay-item__infoDesc p:first-of-type{
	margin-top: 0;
}

.overay-item__infoData{
	margin: 12px 0 30px;
/* 	opacity: .5; */
   font-weight: 800;
}

.overay-item__infoData .data-item__koumoku{
    opacity: .5;
}

.about{
	margin-top: 0 !important;
}

.about-block>p{
    font-weight: 400;
/*     margin-bottom: 12px; */
	font-size: 16px;
}

.about-item{
/*     margin-top: -30px; */
}

.about-blocks{
	max-width: 576px;
	margin: 0 auto;
}

.about-block{
    margin-top: 36px;
}

.about-block:first-of-type{
	margin-top: 0;
}

.about-block:nth-of-type(4){
    position: sticky;
    top: 50px;
}

.about-block:nth-of-type(5) .about-item__img{
	 width: 24%;
    margin: 0 auto;
}

.contact__txtAnim{
	align-items: center;
    background: #111111;
    color: #fff;
    display: flex;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
/*     margin-top: 100px; */
	margin-bottom: 48px;
	padding: 36px 0;
	z-index: 1;
}

.contact__txtAnim__inner{
	animation: contactTextFlow 238s linear infinite;
}

.contact__txtAnim__inner p{
    display: inline-block;
    padding-right: 10px;
    font-size: 24px;
}

@keyframes contactTextFlow {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}

.overay-item__title>span{
	padding: 12px 0 12px 100%;
	font-size: 30px;
   min-width: 100vw;
    animation: txtLoop 20s -25s linear infinite;
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    display: inline-block;
	 font-weight: bold;
	 color: #ffffff;
}

.overay-item__title{
/* 	animation: txtLoop 50s -25s linear infinite; */
   /* overflow: hidden; */
   justify-content: space-between;
}

/* ウインドウサイズ大きいcssここから */
@media screen and (min-width: 790px) {

.works .work-item,
.works .works-item
{
/* 	width: 24%; */
	min-width: 20%;
	max-width: 31%;
	display: inline-block;
	vertical-align: top;
}
	
.swiper-slide-active{
   min-width: 35% !important;
}
	
.works .work-item img,	
.works .works-item img,
{
	height: 180px !important;
   height: auto !important;
}
	
.works .category-item{
/*     display: flex; */
/*     justify-content: space-between; */
/*    	margin-top: 18px; */
    width: 100% !important;
/*     height: auto !important; */

}	
/* ウインドウサイズ大きいcssここまで */

.overay-item__title{
	display: flex;	
/* 	margin-top: 36px; */
/* 	border-top: 3px solid #ffffff; */
/*    border-bottom: 3px solid #ffffff; */
}
	
.gaiyou-block__imgBlock img{
	height: auto !important;
}
	
.grid-item{ 
     width: 140px; 
     margin:5px;
     box-sizing:border-box;   
     padding:2rem;
     font-size:2rem;
     background: white;
     border-radius:6px;
}
	
.grid-item--large{ 
     width: 290px;
}
	
.category-tiles{
	display: flex;
}

.tile{
	border: 2px solid #222222;
}
	
.about-item__txt{
/*    width: 70%; */
/* 	width: 44%; */
}
	
.about-item__img{
    width: 9%;
}
}
	
	
@media screen and (max-width: 789px) {
	
	.mv .works-item{
/* 		width: 33%; */
      width: calc(33.55% - 1px);
		width: 50%;
		height: auto;
	}
	
	.mv .works-item__thumnail img{
		height: 78px;
	}
	
	.mv__thumnails img{
		height: 78px !important;
		height: 128px !important; 
	}
	
	.mv__thumnails p, 
	.mv__thumnails li
	{
		width: 50%;	
	}
	
	.mv__thumnails li{
		width: 50%;		
	}
	
	.about-block>p{
		margin-bottom: 24px;
		font-size: 14px;
	}
	
	.about-block img{
		display: block;
      min-width: 220px !important;
      max-width: 360px !important;
		margin: 60px auto 54px !important;
	}
	
	.contact__txtAnim{
		padding: 30px 0;
	}
	
	.contact__txtAnim__inner{
/* 		animation: contactTextFlow 24s linear infinite; */
	}
	
	.contact__txtAnim__inner p{
		font-size: 20px;
		padding-right: 6px;
	}
	
	.media-item__link{
		padding: 36px !important;
	}
	
	.category-bg-video{
		height: 90px;
	}
	
	.category-main.clicked{
		padding-bottom: 210px;
	}
	
	.overay-item__title>span{
		font-size: 20px;
	}
	
	.works .work-item>div.spb, 
	.works .works-item>div.spb, 
	.overay-item__infoBlock,
	.overay-item__desc, 
	.overay-item__backBtn, 
	.overay-item__imgBlock
	{
/* 		padding: 0 24px; */
	}
	
	.syutoku-overay-block section{
		width: 78%;
	}
	
	.overay-item__infoTitle{
		font-size: 20px;
	}
	
	.overay-item__backBtn{
		background: #ffffff;
    	display: inline;
    	color: #111111;
    	padding: 12px 24px;
    	position: sticky;
    	top: 0;
		font-weight: lighter;
	}
	
	.overay-item__closeBtn{
/* 		display: none; */
		display: block;
		left: 20px;
		font-size: 16px;
	}
	
	.category-block__title{
		font-size: 16px;
	}
	
	.swiper-container{
		width: 90%;
		margin-top: 48px;
	}
	
	.works-item.swiper-slide{
		width: 50% !important;
	}
	
	.data-item__koumoku{
		width: 54px;
	}
	
	.overay-item__infoDesc p{
		font-size: 12px;
		line-height: 1.6;
	}
	
	.overay-item__infoData .data-item{
    line-height: 1.5;
	}
	
	.category-block .category-block__title a{
		height: 90px; 
		line-height: 90px;
	}
	
	.overay-item__infoBlock,
	.syutoku-overay-block .works-item__video,
	.syutoku-overay-block .overay-item__imgBlock,
	.works-item__spViewBtn
	{
/* 		margin: 30px !important; */
		  margin: 6vw !important;
	}
	
/*
	.works-item__spViewBtn{
		margin-top: 36px;
    font-size: 16px;
    text-decoration: underline;
    opacity: .6;
    font-weight: 700;
	}
*/
	
	.overay-item__imgBlock img{
		margin: 12px auto;
	}
	
	.overay-item__titleBlock{
		margin: 36px 0;
	}
	
	.overay-item__title>span{
		padding: 9px 0;
	}


	
}