.title-bn {
	height: 400px;
	background: url("../images/portfolio-bg.png")no-repeat 50% 50% / cover;
}


.portfolio {
	padding-bottom: 95px;
}
.portfolio .big-title {
	font-weight: 500;
	padding-top: 90px;
}
.portfolio .sub-title {
	margin: 30px 0 70px;
}
.portfolio ul {
	font-size: 0;
}
.portfolio ul li {
	display: none;
	position: relative;
    width: 23.111%;
    max-width: 263px;
    margin: 0 2.5% 2.5% 0;
}
.portfolio ul li:nth-child(4n) {
	margin-right: 0;
}
.portfolio ul li img {
	width: 100%;
	box-shadow: 3px 2px 7px rgb(0 0 0 / 35%);
}
.portfolio ul li iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
.portfolio button {
	font-size: 16px;
	background: #fff;
	border: 1px solid #dee2e6;
	display: block;
	width: 120px;
	height: 50px;
	margin: 25px auto;
}

/* grid-item
------------------------- */

.grid-item {
  float: left;
  width: 25%;
  padding: 1%;
    box-sizing: border-box;
}
.grid-item > div {
	position: relative;
}
.grid-item img {
	width: 100%;
}
.grid-item a {
	display: block;
}
.grid-item .youtube {
	position: relative;
}
.grid-item .youtube:after {
	content: '';
    display: block;
    background: url(../images/ico-play.png)no-repeat 50% 50% / 100%;
    width: 25px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 102;
}
.modal-bg {
	display: none;
	position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    z-index: 102;
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 95%;
    max-width: 940px;
    background: #fff;
    padding: 2% 0;
    max-height: 80%;
    overflow-x: hidden;
    overflow-y: visible;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    z-index: 102;
}
.modal-content .close {
    display: block;
    position: absolute;
    width: 36px;
    height: 42px;
    top: 5px;
    right: 5px;
    cursor: pointer;
    background: transparent;
}
.modal-content .close img {
	width: 15px;
}
.gallery-modal .modal-content-img {
    max-width: 70%;
}
.gallery-modal .caption {
    margin: 15px auto;
    max-width: 420px;
    font-size: 17px;
}



@media screen and (max-width: 1024px) {
}
@media screen and (max-width: 768px) {
	.portfolio ul li {
		max-width: none;
		width: 47.75%;
		margin: 0 4.5% 4.5% 0;
	}
	.portfolio ul li:nth-child(2n) {
		margin-right: 0;
	}	

	.grid-item {
		width: 33.333%;
	}
}
@media screen and (max-width: 480px) {
	.portfolio .big-title {
	    padding-top: 15%;
	}
	.portfolio .sub-title {
		margin: 7% 0 12%;
	}

	.grid-item {
		width: 50%;
	}
}