@charset "utf-8";


/*------------------------------------------------------------
	gallery_index
------------------------------------------------------------*/
.showPop .pop {
	visibility: visible;
	opacity: 1;
	z-index: 11;
	transition: visibility .5s ease, opacity .5s ease, z-index 0s ease 0s;
}

.pop {
	position: fixed;
	z-index: -1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
	opacity: 0;
	background-color: rgba(0, 0, 0, .8);
	transition: visibility .5s ease, opacity .5s ease, z-index 0s ease 0.5s;
}

.popBox {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 69%;
	max-width: 945px;
	transform: translate(-50%, -50%);
}

.popBox .slider {
	position: relative;
	padding-bottom: 58.56%;
}

.popBox .slider-item {
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -50%);
	transition: opacity 1s ease, visibility 1s ease;
}

.popBox .slider-item.on {
	z-index: 2;
	opacity: 1;
	visibility: visible;
}

.popBox img {
	display: block;
	width: 100%;
}

.popBox .prev,
.popBox .next {
	position: absolute;
	z-index: 2;
	top: 50%;
	transform: translateY(-50%);
}

.popBox .prev svg,
.popBox .next svg {
	width: 18px;
	height: 35px;
	fill: #fff;
	transform: scale(.89);
}

.popBox .prev {
	left: -45px;
}

.popBox .next {
	right: -45px;
}

.popBox .close {
	position: absolute;
	z-index: 2;
	top: -36px;
	right: 0;
}

.popBox .close svg {
	width: 15px;
	height: 15px;
	fill: #fff;
}

.popBox a:hover svg {
	fill: #999;
}

.popBox a svg {
	transition: fill .5s ease;
}


.popBox .text {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	margin-top: -10px;
	text-align: center;
}

.popBox .text p {
	padding: 22px 0 15px;
	width: 450px;
	display: inline-block;
	text-align: center;
	font-size: 20px;
	letter-spacing: 0.5px;
	background-color: rgba(255,255,255,.8);
}

.popBox .text span {
	margin-top: 5px;
	display: block;
	font-size: 14px;
}

.gallery {
	margin-bottom: 150px;
	text-align: center;
	overflow: hidden;
}

.gallery .graphic {
	margin: 100px 0 145px 0;
	width: 100%;
	position: relative;
}

.gallery .pic {
	width: 41%;
	float: left;
}

.gallery .pic img {
	width: 100%;
}

.gallery .desc {
	margin-left: -18px;
	float: left;
	text-align: left;
}

.gallery .desc h2 {
	margin: 59px 0 39px 0px;
	position: relative;
	font-size: 60px;
	letter-spacing: 6px;
	text-align: left;
	font-family: 'Marcellus', serif;
	font-weight: 400;
}

.gallery .desc h2:before {
	width: 30px;
	height: 1px;
	position: absolute;
	left: 5px;
	bottom: -12px;
	content: "";
	background-color: #9b9b9b;
}

.gallery .desc p {
	margin-left: 5px;
	max-width: 570px;
	font-size: 14px;
	line-height: 2.2;
	letter-spacing: 1px;
}

.gallery .graphic .enWord {
	display: inline-block;
	font-size: 118px;
	color: #f2f2f2;
	position: absolute;
	z-index: -1;
	white-space: nowrap;
	font-family: 'Marcellus', serif;
	letter-spacing: 2px;
}

.gallery .inner {
	margin: 0 auto;
	width: 1100px;
	text-align: center;
}

.gallery .gNavs {
	margin-bottom: 55px;
	display: inline-block;
}

.gallery .gNavs li {
	float: left;
	font-size: 14px;
	letter-spacing:1px;
}

.gallery .gNavs li.active a,
.gallery .gNavs li:hover a {
	position: relative;
	color: #999;
}

.gallery .gNavs li:hover a:before,
.gallery .gNavs li.active a:before {
	width: 48px;
	height: 1px;
	display: block;
	position: absolute;
	top: -2px;
	left: 48%;
	transform: translateX(-50%);
	content: "";
	background-color: #000;
}

.gallery .gNavs a {
	padding: 7px 30px 7px 27px;
	display: block;
	color: #000;
}

/* galleryList */
.outerGallery {
	text-align: center;
}

.outerGallery .galleryList {
	margin: 0 auto;
	width: 846px;
}

.outerGallery .headLine01.quTitle2 {
	margin-bottom: 46px;
}

.outerGallery .galleryList .galleryImgs .galleryCol {
	width: 280px;
}

.masonryList li {
  opacity: 0;
}

.masonryList li,
.galleryList .galleryImgs .galleryCol {
	margin-right: 3px;
	width: 364px;
	float: left;
}

#galleryListPc.galleryList .galleryCol {
	margin-right: 4px;
}

.masonryList li,
.galleryList .galleryImgs .galleryCol:last-child,
#galleryListPc.galleryList .galleryCol:last-child {
	margin-right: 0;
}

.masonryList li,
.galleryList .galleryCol li {
	margin-bottom: 3px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

#galleryListPc.galleryList .galleryCol li {
	margin-bottom: 4px;
}

.masonryList li img,
.galleryList .galleryCol img {
	width: 100%;
	transition: transform 1.6s ease;
}

.masonryList li:hover img,
.galleryList .galleryCol li:hover img {
	transform: scale(1.2);
}

.masonryList .mask,
.galleryList .galleryCol .mask {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	opacity: 0;
	transition: opacity .5s ease;
	background-color: rgba(0,0,0,.5);
}

.masonryList .mask p,
.galleryCol .mask p{
	padding: 0 20px;
	width: 100%;
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	text-align: center;
}

.masonryList .mask span,
.galleryCol .mask span {
	display: block;
	font-size: 14px;
}

.masonryList li:hover .mask,
.galleryList .galleryCol li:hover .mask {
	opacity: 1;
}

.gallery .sectionMore {
	margin: 95px 0 0;
}

.galleryBox.outerGallery .sectionMore {
	margin: 60px 0 125px;
}

/*------------------------------------------------------------
	condominium  gallery_index
------------------------------------------------------------*/
.condominium.gallery .desc {
	width: 59%;
}

.condominium.gallery .desc img {
	width: 56.65%;
	position: absolute;
	bottom: -60px;
}

/*------------------------------------------------------------
	selectNav
------------------------------------------------------------*/
.selectNav {
	margin: 0 auto 65px;
	max-width: 1100px;
	text-align: right;
}

.selectNav select {
	width: 250px;
	text-align: left;
	font-size: 18px;
	-webkit-appearance: none;
	background-color: transparent;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid #000;
	outline: none;
	background: url(/img/gallery_2nd/img_seleArrow.png) no-repeat;
	box-sizing: border-box;
	padding: 7px 10px 7px 0px;
	letter-spacing: 1.2px;
	background-size: 9px;
	background-position: calc(100% - 4px) center;
	font-family: 'Marcellus', serif;
}

@media all and (min-width: 0) and (max-width: 767px) {
  .galleryPage #main {
    opacity: 0;
  }

  #main {
    -webkit-transition: opacity 1.25s ease;
    transition: opacity 1.25s ease;
  }

	.popBox {
		width: calc(100% - 94px);
	}

	.popBox .prev,
	.popBox .next {
		margin-top: 3px;
		top: 50%;
	}

	.popBox .prev svg,
	.popBox .next svg {
		transform: scale(.57);
	}

	.popBox .prev {
		left: -34px;
	}

	.popBox .next {
		right: -34px;
	}

	.popBox .close {
		top: -28px;
		right: 0;
	}

	.popBox .close svg {
		transform: scale(.75);
	}

	.popBox a:hover svg {
		fill: #fff;
	}

	.popBox .text {
		margin-top: -5px;
	}

	.popBox .text p {
		padding: 13px 15px 9px;
		width: 210px;
		font-size: 12px;
	}

	.popBox .text span {
		margin-top: 2px;
		font-size: 10px;
	}

	.gallery {
		margin-bottom: 73px;
	}

	.gallery .graphic {
		margin: 33px 0 49px;
	}

	.gallery .desc {
		margin-left: 0;
		width: 100%;
		float: none;
	}

	.gallery .desc h2 {
		margin: 0;
		text-align: center;
		font-size: 40px;
		letter-spacing: 4px;
	}

	.gallery .desc h2::before {
		display: none;
	}

	.gallery .desc p {
		margin: 4px auto 0;
		text-align: center;
		font-size: 12px;
		line-height: 1.7;
	}

	.gallery .graphic .enWord {
		width: 100%;
		left: -10px;
		bottom: -46px;
		letter-spacing: 1.2px;
		font-size: 55px;
		text-align: center;
	}

	.condominium.gallery .graphic .enWord {
		left: 0;
		letter-spacing: 2.5px;
	}

	div.galleryBox .inner {
		padding: 0 47px;
		width: auto;
	}

	.gallery .gNavs {
		padding: 0 18px;
		margin-bottom: 28px;
		box-sizing: border-box;
		width: 100%;
	}

	.gallery .gNavs li {
		width: 20%;
		font-size: 12px;
	}

	.gallery .gNavs li a {
		padding: 6px 0 8px;
	}

	.condominium.gallery .gNavs,
	.condominium.gallery .gNavs li {
		width: auto;
	}

	.condominium.gallery .gNavs li a {
		padding: 6px 20px 8px;
	}

	.gallery .gNavs li:hover a:before {
		display: none;
	}

	.gallery .gNavs li:hover a {
		color: #000;
	}

	.gallery .gNavs li.active:hover a:before {
		display: block;
	}

	.gallery .gNavs li.active:hover a {
		color: #999;
	}

	.gallery .gNavs li:hover a::before,
	.gallery .gNavs li.active a::before {
		width: 29px;
		top: 2px;
	}

	.outerGallery .headLine01.quTitle2 {
		margin-bottom: 26px;
	}

	.galleryBox .words {
		margin: 20px 5px 24px;
		font-size: 12px;
		line-height: 1.6;
	}

	.spGalleryBox {
		position: relative;
	}

	.spGalleryBox:after {
		position: absolute;
		display: block;
		content: "";
		width: 1px;
		height: 100%;
		left: 50%;
		top: 0;
		background: #fff;
	}

	.masonryList,
	.spGalleryBox ul {
		margin-bottom: 1px;
		position: relative;
		overflow: hidden;
	}

	.masonryList li,
	.spGalleryBox li {
		margin-bottom: 1px;
		width: calc(50% - .5px);
		cursor: pointer;
	}

	.spGalleryBox li:last-child {
		margin-bottom: 0;
	}

	.masonryList .mask {
		display: none;
	}

	.masonryList li:hover img {
		transform: none;
	}

	.spGalleryBox img {
		display: block;
		vertical-align: top;
		width: 100%;
	}

	.spGalleryBox .bigLeft .big {
		margin: 0;
		position: absolute;
		left: 0;
		top: 0;
	}

	.spGalleryBox .bigLeft li {
		margin-left: 50%;
	}

	.spGalleryBox .bigRight li {

		float: none;
	}

	.spGalleryBox .bigRight .big {
		margin: 0;
		position: absolute;
		right: 0;
		top: 0;
	}

	.gallery .galleryImgs .galleryCol {
		margin-right: 0;
		width: 100%;
		overflow: hidden;
	}

	.gallery .galleryCol li {
		margin-bottom: 0;
		width: 50%;
		float: left;
	}

	.gallery .sectionMore {
		margin: 40px 0 0;
	}

	.galleryBox.outerGallery .sectionMore {
		margin: 39px 0 73px;
	}

	.condominium.gallery .desc {
		width: auto;
	}

	.condominium.gallery .desc img {
		width: 100%;
		bottom: -25px;
	}

/*------------------------------------------------------------
	selectNav
------------------------------------------------------------*/
	.selectNav {
		margin: 0 47px 40px;
	}

	.selectNav select {
		width: 100%;
	}

}


@media all and (min-width: 400px) and (max-width: 767px) {
	.gallery .graphic .enWord {
		left: 0
	}
}


@media all and (min-width: 320px) and (max-width: 365px) {
	.gallery .graphic .enWord {
		letter-spacing: 0
	}

	.condominium.gallery .graphic .enWord {
		letter-spacing: 1.5px
	}
}

@media all and (min-width: 0) and (max-width: 355px) {
	.condominium.gallery .gNavs li a {
		padding: 6px 12px 8px;
	}

	.popBox .text p {
		padding: 13px 15px 9px;
		width: 150px;
	}
}

@media all and (min-width: 0) and (max-width: 320px) {
	.gallery .graphic .enWord {
		font-size: 50px;
		letter-spacing: -.5px
	}

	.condominium.gallery .graphic .enWord {
		letter-spacing: .6px
	}
}

