/* common */
#main{ position: relative; }
#scT{ position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
#scB{ background: #FFF; position: relative; z-index: 100; }
#sticky{ position: sticky; position: -webkit-sticky; top: calc(var(--stickyT) * -1); left: 0; }


/* title-box */
.title-box{ margin-bottom: 60px; }
.title-box span{ display: block; font-family: var(--engFont); font-size: 20px; font-weight: 500; color: var(--mainColor); text-transform: uppercase; margin-bottom: 20px; }
.title-box h3{ font-size: 5.2rem; font-weight: 600; color: #111; line-height: 1.5; }

.title-box.white span{ font-weight: 400; color: #FFF; }
.title-box.white h3{ font-weight: 500; color: #FFF; }


/* btn */
.btns{ display: flex; }
.btns > *:not(last-of-type){ margin-right: 10px; }
.btns button{ width: 80px; height: 80px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 50%; padding: 0; transition: background 0.3s, border-color 0.3s; }
.btns button i{ display: inline-block; width: 24px; height: 24px; vertical-align: middle; transition: filter 0.3s; }

.btns button.play i{ background: url("/img/main/icon_play.svg") no-repeat center center / contain; }
.btns button.stop i{ background: url("/img/main/icon_stop.svg") no-repeat center center / contain; }
.btns button.prev i{ background: url("/img/main/icon_prev.svg") no-repeat center center / contain; }
.btns button.next i{ background: url("/img/main/icon_next.svg") no-repeat center center / contain; }


/* viewmore */
.viewmore{ display: inline-flex; align-items: center; font-family: var(--engFont); font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, 0.6) !important; transition: color 0.4s; }
.viewmore i{ width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; background: transparent; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; margin-left: 15px; transition: background 0.4s; }
.viewmore i::before{ content: ""; display: block; height: 12px; background: url("/img/main/viewmore.svg") no-repeat center center / contain; transition: filter 0.4s; }

@media screen and (hover: hover) and (pointer: fine){
	/* btn */
	.btns button:hover{ background: #FFF; }
	.btns button:hover i{ filter: invert(1); -webkit-filter: invert(1); }
	
	/* viewmore */
	.viewmore:hover{ color: #FFF !important; }
	.viewmore:hover i{ background: #FFF; }
	.viewmore:hover i::before{ filter: invert(1); -webkt-filter: invert(1); }
}

@media screen and (max-width: 1700px){
	/* title-box */
	.title-box{ margin-bottom: 40px; }
	.title-box span{ font-size: 18px; margin-bottom: 15px; }

	/* btns */
	.btns button{ width: 70px; height: 70px; }

	/* viewmore */
	.viewmore i{ width: 35px; height: 35px; }
}

@media screen and (max-width: 1280px){
	/* title-box */
	.title-box{ margin-bottom: 20px; }
	.title-box span{ font-size: 16px; margin-bottom: 10px; }

	/* btns */
	.btns button{ width: 60px; height: 60px; }

	/* viewmore */
	.viewmore{ font-size: 17px; }
	.viewmore i{ width: 30px; height: 30px; margin-left: 10px; transform: translateY(-1px); }
	.viewmore i::before{ height: 10px; }
}

@media screen and (max-width: 900px){
	/* common */
	#main{ padding-top: 0 !important; }
	#scT{ position: static; }
	#scB{ background: #FFF; position: relative; z-index: 100; }
	#sticky{ position: static; }

	/* title-box */
	.title-box h3{ font-size: 5.5rem; }

	/* btns */
	.btns button{ width: 55px; height: 55px; }
}


/* visual */
#visual{ position: relative; }
#visual::before{ content: ""; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); position: absolute; top: 0; left: 0; z-index: 50; }
#visual .visual{ max-height: 100dvh; height: 100vh; position: relative; }
#visual .visual::after{  }
#visual .visual video{ 
	min-height: 110vh;
	min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
	width: 100vw;
	height: 60vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); 
	pointer-events: none;
}

#visual .cover{ position: absolute; top: 48.5%; left: 0; right: 0; z-index: 100; transform: translateY(-50%); }
#visual .cover *{ font-size: 24px; color: rgba(255, 255, 255, 0.8); }
#visual .txt span{ display: block; font-family: var(--engFont); font-weight: 400; text-transform: uppercase; }
#visual .txt h2, 
#visual .txt p{ transform: translateY(100%); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
#visual .txt h2{ font-size: 8rem; font-weight: 600; color: #FFF; margin: 40px 0 37px; }
#visual .txt h2 br{ display: none; }
#visual .txt p{ font-weight: 300; line-height: 1.8; }
#visual .slick-active h2{ animation: textClip var(--aosT) both; }
#visual .slick-active p{ animation: textClip var(--aosT) var(--aosT) both; }

#visual .btns{ margin-top: 70px; }
#visual .btns > *:not(last-of-type){ margin-right: 25px; }
#visual .btns div{ display: flex; }
#visual .btns div button:not(:last-of-type){ margin-right: 5px; }


/* scrollDown */
#visual .scrollDown{ position: absolute; bottom: 0; left: 0; right: 0; z-index: 100; }
#visual .scrollDown .flex-box{ display: flex; justify-content: flex-end; }
#visual .scrollDown p{ font-family: var(--engFont); font-size: 18px; font-weight: 500; color: #FFF; padding-right: 17px; opacity: 1; }
#visual .scrollDown p span{ display: inline-block; }
#visual .scrollDown .bar{ width: 2px; height: 100px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
#visual .scrollDown .bar div{ height: 0; background: #FFF; transform: translateY(0); }

#visual .scrollDown.off p{ opacity: 0; transform: translateX(-10px); transition: opacity 0.7s, transform 0.7s; }

#visual .scrollDown.on p span{ animation: scrollDown01 var(--duration) var(--delay) both; }
#visual .scrollDown.on .bar div{ animation: scrollDown02 var(--duration) both; }

@media screen and (max-width: 1700px){
	#visual .cover *{ font-size: 22px; }
	#visual .txt h2{ margin: 30px 0 25px; }

	#visual .btns{ margin-top: 50px; }

	/* scrollDown */
	#visual .scrollDown p{ font-size: 17px; }
	#visual .scrollDown .bar{ height: 80px; }
}

@media screen and (max-width: 1280px){
	#visual .cover *{ font-size: 20px; }
	#visual .txt h2{ margin: 10px 0 20px; }

	#visual .btns{ margin-top: 30px; }
	#visual .btns > *:not(last-of-type){ margin-right: 15px; }

	/* scrollDown */
	#visual .scrollDown p{ font-size: 16px; }
	#visual .scrollDown .bar{ height: 60px; }
}

@media screen and (max-width: 900px){
	#visual .cover *{ font-size: 18px; }
}

@media screen and (max-width: 700px){
	#visual .txt h2 br{ display: block; }
}

@media screen and (max-width: 499px){
	#visual .cover *{ font-size: 19px; }
}


/* business */
#business{
	--width: calc(100% / 3);
	--height: 536px;
	--gap: 70px;
}
#business{ height: 250vh; position: relative; z-index: 10; }
#business .sticky{ height: 100vh; display: flex; flex-direction: column; justify-content: center; position: sticky; position: -webkit-sticky; top: 0; left: 0; opacity: 1 !important; overflow: hidden; }
#business .sticky .img{ width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; z-index: -1; overflow: hidden; }
#business .sticky .img + div{ height: 100%; }
#business .sticky .img > div:not(.bg-box){ width: var(--width); height: var(--height); position: absolute; top: calc(50% + var(--gap)); z-index: -1; transform: translateY(-50%); transition: top var(--aosT); }
#business .sticky .bg01{ background: url("/img/main/business_img01_01.jpg") no-repeat center center / cover; left: -40px; }
#business .sticky .bg02{ background: url("/img/main/business_img02_01.jpg") no-repeat center center / cover; right: -40px; }

#business .sticky .bg-box,
#business .sticky .bg-box .bg,
#business .sticky .bg-box .bg img{ width: 100%; height: 100%; }
#business .sticky .bg-box{ width: var(--width); height: var(--height); background: #FFF; position: relative;  transition: width 1s calc(var(--aosT) * 2), height 1s calc(var(--aosT) * 2); }
#business .sticky .bg-box .bg{ position: absolute; top: 0; left: 0; }
#business .sticky .bg-box .bg:not(:first-of-type){ display: none; }
#business .sticky .bg-box .bg img{ object-fit: cover; }

#business .grid-box{ height: 100%; display: grid; grid-template-columns: calc(100% - 800px) 800px; align-items: center; padding-right: 60px; }
#business .grid-box > *{ opacity: 0; transition: opacity var(--aosT) calc(1s + (var(--aosT) * 2)), transform var(--aosT) calc(1s + (var(--aosT) * 2)); }
#business .grid-box .left{ transform: translateX(var(--aosM)); }
#business .grid-box .right{ height: 100%; overflow: hidden; transform: translateY(var(--aosP)); }
#business .btns button i{ transform: rotate(90deg); }

#business .business-wrap, 
#business .business-wrap .slick-list{ overflow: visible; }
#business .business-wrap{ height: 100%; display: flex; flex-direction: column; justify-content: center; }
#business .business{ height: auto; position: relative; }
#business .business a{ width: 100%; height: 100%; display: flex !important; flex-direction: column; justify-content: center; background: #FFF; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); padding: 50px; margin-bottom: 20px; float: unset !important; position: relative; transition: background 0.5s; }
#business .business::after{ content: ""; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
#business .business p{ font-family: var(--engFont); font-size: 20px; font-weight: 400; color: #999; text-stroke: 0.015em #999; -webkit-text-stroke: 0.015em #999; text-transform: uppercase; transition: color 0.5s, text-stroke-color 0.5s; }
#business .business p span{ display: inline-block; color: var(--mainColor); text-stroke: 0.015em #111; -webkit-text-stroke: 0.015em #111; padding-right: 20px; transition: color 0.5s, text-stroke-color 0.5s; }
#business .business dl dt{ font-size: 4rem; font-weight: 600; color: #111; text-stroke: 0.015em #111; -webkit-text-stroke: 0.015em #111; transition: color 0.5s, text-stroke-color 0.5s; }
#business .business dl dt .icon{ margin: 60px 0 30px; }
#business .business dl dd{ font-size: 20px; font-weight: 400; color: #333; line-height: 1.6; text-stroke: 0.015em #333; -webkit-text-stroke: 0.015em #333; margin-top: 20px; transition: color 0.5s, text-stroke-color 0.5s; }
#business .business div{ text-align: right; margin-top: 80px; }


#business .business.slick-center a{ background: rgba(0, 0, 0, 0.1); }
#business .business.slick-center::after{ display: none; }
#business .business.slick-center p, 
#business .business.slick-center p span, 
#business .business.slick-center dl dd{ color: rgba(255, 255, 255, 0.8); text-stroke-color: transparent; -webkit-text-stroke-color: transparent; }
#business .business.slick-center dt{ color: #FFF; text-stroke-color: transparent; -webkit-text-stroke-color: transparent; }

#business .business.slick-now a{ background: rgba(0, 0, 0, 0.1); }
#business .business.slick-now::after{ display: none; }
#business .business.slick-now p, 
#business .business.slick-now p span, 
#business .business.slick-now dl dd{ color: rgba(255, 255, 255, 0.8); text-stroke-color: transparent; -webkit-text-stroke-color: transparent; }
#business .business.slick-now dt{ color: #FFF; text-stroke-color: transparent; -webkit-text-stroke-color: transparent; }


#business .aos-animate .img > div:not(.bg-box){ top: 50%; }
#business .aos-animate .bg-box{ width: 100%; height: 100%; }
#business .aos-animate .grid-box > *{ opacity: 1; transform: translate(0, 0); }

@media screen and (max-width: 1700px){
	#business{
		--gap: 40px;
		--height: 450px;
	}
	#business .grid-box{ grid-template-columns: calc(100% - 650px) 650px; }
	#business .business a{ padding: 40px; }
	#business .business dl dt .icon{ margin: 40px 0 25px; }
	#business .business p{ font-size: 18px; }
	#business .business dl dd{ font-size: 18px; }
	#business .business div{ margin-top: 60px; }
}

@media screen and (max-width: 1280px){
	#business{
		--gap: 20px;
		--height: 400px;
	}
	#business .grid-box{ grid-template-columns: calc(100% - 550px) 550px; padding-right: 30px; }
	#business .business a{ padding: 30px; }
	#business .business p{ font-size: 17px; }
	#business .business p span{ padding-right: 10px; }
	#business .business dl dt{ font-size: 4.5rem; }
	#business .business dl dt .icon{ margin: 25px 0 15px; }
	#business .business dl dt .icon img{ height: 50px; }
	#business .business dl dd{ font-size: 17px; margin-top: 10px; }
	#business .business div{ margin-top: 40px; }
}

@media screen and (max-width: 1100px){
	#business .grid-box{ grid-template-columns: calc(100% - 470px) 470px; padding-right: 0; }
	#business .business br{ display: none; }
	#business .business dl dd{ min-height: 4.8em; }
}

@media screen and (max-width: 900px){
	#business{ height: auto; }
	#business .sticky{ height: auto; padding: 70px 0; }
	#business .grid-box{ display: block; }
	#business .grid-box > *{ transition-delay: var(--aosT); }
	#business .grid-box .right{ width: calc(100% + 40px); height: auto; margin-top: 30px; margin-left: -20px; padding-left: 20px; }

	#business .sticky .img + div{ height: auto; }
	#business .sticky .img > div:not(.bg-box){ top: 50%; transition: unset; }
	#business .sticky .bg-box{ transition-delay: unset; }

	#business .title-box br:not(.m){ display: none; }
	#business .btns button i{ transform: unset; }

	#business .business-wrap{ height: auto; display: block; }
	#business .business-wrap .slick-list{ margin-right: -20px; }
	#business .business-wrap .slick-track{ display: flex; }
	#business .business a{ width: 350px; justify-content: flex-start; padding: 25px; margin-right: 20px; }
	#business .business dl{ flex: 1 0 auto; }
	#business .business div{ margin-top: 20px; }

	#business .business.slick-active a{ background: rgba(0, 0, 0, 0.1); }
	#business .business.slick-active::after{ display: none; }
	#business .business.slick-active p, 
	#business .business.slick-active p span, 
	#business .business.slick-active dl dd{ color: rgba(255, 255, 255, 0.8); text-stroke-color: transparent; -webkit-text-stroke-color: transparent; }
	#business .business.slick-active dt{ color: #FFF; text-stroke-color: transparent; -webkit-text-stroke-color: transparent; }
}


/* overview */
#overview{
	--width: 160px;
	--gap: 20px;
	--padding: 50px;

	--before: 20px;
	--after: 24rem;

	--top: 40px;
	--left: 15px;
}
#overview{ padding-top: 160px; position: relative; }
#overview::before{ content: ""; width: 100%; height: 520px; background: url("/img/main/symbol_bg.svg") no-repeat center right / contain; position: absolute; top: 70px; left: 0; z-index: -1; }
#overview .overview-wrap{ display: flex; }

#overview .overview{ width: var(--width); position: relative; overflow: hidden; margin-right: var(--gap); cursor: pointer; transition: width var(--aosT); }
#overview .overview:last-of-type{ margin-right: 0; }
#overview .overview .bg, 
#overview .overview .bg img{ width: 100%; height: 100%; }
#overview .overview .bg{ width: calc(1820px - (var(--width) * 5) - (var(--gap) * 5)); position: absolute; top: 0; left: 50%; z-index: -1; transform: translateX(-50%); }
#overview .overview .bg::after{ content: ""; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, #000); position: absolute; top: 0; left: 0; opacity: 0.5; transition: opacity var(--aosT); }
#overview .overview .bg img{ object-fit: cover; }

#overview .overview .over{ width: var(--width); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: var(--padding) 0; position: absolute; top: 0; left: 0; z-index: 50; opacity: 1; transition: opacity 0.5s 0.3s; }
#overview .overview .over h6{ font-size: 36px; font-weight: 500; color: #FFF; writing-mode: sideways-lr; }

#overview .overview .content{ height: 100%; display: flex; flex-direction: column; }
#overview .overview .content span{ flex: 1 0 auto; display: block; font-family: var(--engFont); font-size: var(--after); font-weight: 500; color: transparent; line-height: 1; letter-spacing: 0;  margin-bottom: 110px; position: relative; }
#overview .overview .content span::before,
#overview .overview .content span::after{ content: attr(data-num); font-size: var(--before); position: absolute; top: 15px; left: 15px; transition: all var(--aosT); }
#overview .overview .content span::before{ color: #FFF; opacity: 1; }
#overview .overview .content span::after{ color: rgba(255, 255, 255, 0.5); mix-blend-mode: overlay; opacity: 0; }
#overview .overview .content span.softlight::after{ mix-blend-mode: soft-light; }
#overview .overview .grid{ width: calc(1820px - (var(--width) * 5) - (var(--gap) * 5)); display: grid; grid-template-columns: calc(100% - 150px) 150px; align-items: flex-end; padding: var(--padding); padding-top: 0 !important; transition: width var(--aosT); }
#overview .overview dl{ opacity: 0; transition: opacity 0.5s; }
#overview .overview dl dt{ font-size: 4rem; font-weight: 500; color: #FFF; margin-bottom: 30px; }
#overview .overview dl dd{ font-size: 20px; font-weight: 200; color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

#overview .overview.on{ flex: 1 0 auto; width: calc(100% - (var(--width) * 5) - (var(--gap) * 5)); }
#overview .overview.on .bg::after{ opacity: 1; }
#overview .overview.on .over{ opacity: 0; transition-delay: unset; pointer-events: none; }
#overview .overview.on .content span::before,
#overview .overview.on .content span::after{ font-size: var(--after);  letter-spacing: -0.02em; top: calc(var(--top) * -1); left: calc(var(--left) * -1); }
#overview .overview.on .content span::before{ opacity: 0; }
#overview .overview.on .content span::after{ opacity: 1; }
#overview .overview.on dl{ opacity: 1; transition-delay: 0.3s; }


#overview .slide-info{ display: none; align-items: center; margin-top: 20px; }
#overview .slide-info .bar{ flex: 1 0 auto; background: #DDD; border-radius: 99px; }
#overview .slide-info .bar div{ width: 0; height: 2px; background: var(--mainColor); border-radius: 99px; }

#overview .slide-info .btns{ padding-left: 15px; }
#overview .slide-info .btns button{ border-color: #BBB; }
#overview .slide-info .btns button:not(:last-of-type){ margin-right: 5px; }
#overview .slide-info .btns button i{ filter: brightness(0.5); -webkit-filter: brightness(0.5); }

@media screen and (hover: hover) and (pointer: fine){
	#overview .slide-info .btns button:hover{ background: var(--mainColor); border-color: var(--mainColor); }
	#overview .slide-info .btns button:hover i{ filter: unset; -webkit-filter: unset; }
}

@media screen and (max-width: 1860px){
	#overview .overview .bg{ width: calc(var(--vw) - (var(--width) * 5) - (var(--gap) * 5) - 40px); }
	#overview .overview .grid{ width: calc(var(--vw) - (var(--width) * 5) - (var(--gap) * 5) - 40px); }
}

@media screen and (max-width: 1700px){
	#overview{
		--width: 130px;
		--padding: 40px;

		--before: 18px;
		--after: 20rem;

		--top: 30px;
		--left: 10px;
	}
	#overview{ padding-top: 120px; }
	#overview .overview .over h6{ font-size: 32px; }
	#overview .overview dl dt{ margin-bottom: 20px; }
	#overview .overview dl dd{ font-size: 18px; }
}

@media screen and (max-width: 1600px){
	#overview .overview br{ display: none; }
	#overview .overview dl{ padding-right: 30px; }
}

@media screen and (max-width: 1400px){
	#overview .overview .grid{ display: block; }
	#overview .overview dl{ padding-right: 0; padding-bottom: 20px; }
	#overview .overview .grid div{ text-align: right; }
}

@media screen and (max-width: 1280px){
	#overview{
		--width: 100px;
		--padding: 25px;
		--gap: 10px;

		--before: 17px;
		--after: 17rem;

		--top: 20px;
		--left: 5px;
	}
	#overview{ padding-top: 80px; }
	#overview .overview .over h6{ font-size: 26px; }
	#overview .overview dl dt{ margin-bottom: 10px; }
	#overview .overview dl dd{ font-size: 17px; }
}

@media screen and (max-width: 1000px){
	#overview{
		--width: 80px;
	}
}

@media screen and (max-width: 900px){
	#overview{
		--after: 20rem;

		--top: 15px;
	}
	#overview .overview dl dt{ font-size: 5rem; }
}

@media screen and (max-width: 800px){
	#overview .overview-wrap{ width: calc(100% + 40px); margin-left: -20px; }
	#overview .overview-wrap .slick-track{ display: flex; align-items: stretch; }
	#overview .overview{ flex: unset !important; width: 350px !important; height: 100%; float: unset; margin-right: 20px !important; }
	#overview .overview .bg, 
	#overview .overview .grid{ width: 100%; }

	#overview .overview .bg::after{ opacity: 1; }
	#overview .overview .over{ opacity: 0; transition-delay: unset; pointer-events: none; }
	#overview .overview .content span::before,
	#overview .overview .content span::after{ font-size: var(--after);  letter-spacing: -0.02em; top: calc(var(--top) * -1); left: calc(var(--left) * -1); }
	#overview .overview .content span::before{ opacity: 0; }
	#overview .overview .content span::after{ opacity: 1; }
	#overview .overview dl{ opacity: 1; }
	#overview .overview dl dd{ min-height: 6.4em; }

	#overview .slide-info{ display: flex; }
}

@media screen and (max-width: 600px){
	#overview .title-box br{ display: none; }
}


/* portfolio */
#portfolio{
	--side: 160px;
}
#portfolio{ background: url("/img/main/portfolio_bg.jpg") no-repeat bottom center / cover; padding: 220px 0 200px; }
#portfolio .title-box{ text-align: center; }
#portfolio .slide-box{ overflow: hidden; }
#portfolio .slide-box > div{ position: relative; }

#portfolio .btns{ justify-content: space-between; padding: 0 20px; position: absolute; top: 50%; left: 0; right: 0; z-index: 100; transform: translateY(-50%); pointer-events: none; }
#portfolio .btns button{ background: #FFF; border-color: #DDD; position: relative; margin-right: 0; pointer-events: auto; }
#portfolio .btns button i{ filter: brightness(0.5); -webkit-filter: brightness(0.5); }
#portfolio .btns .prev{ left: calc(var(--side) / 2); transform: translateX(-50%); }
#portfolio .btns .next{ right: calc(var(--side) / 2); transform: translateX(50%); }

#portfolio .portfolio-wrap,
#portfolio .portfolio-wrap .slick-list{ overflow: visible; }
#portfolio .portfolio-wrap{ padding: 0 var(--side); }
#portfolio .portfolio-wrap .slick-list{ margin-right: calc(var(--side) * -1); }
#portfolio .portfolio-wrap .slick-track{ display: flex; }

#portfolio .portfolio{ float: unset !important; margin-right: var(--side); background: #F8F8F8; position: relative; opacity: 0.4; transform: scale(0.9) translateX(-5.5%); transition: opacity var(--aosT), transform var(--aosT); }
#portfolio .portfolio::before{ content: ""; width: 100%; height: 100%; background: #F8F8F8; border: 1px solid transparent; border-image: linear-gradient(to right, rgba(var(--mainRGB), 0.5), var(--mainColor)); border-image-slice: 1; opacity: 0.3; position: absolute; top: 0; left: 0; box-sizing: border-box; }
#portfolio .portfolio a{ display: grid; grid-template-columns: repeat(2, 50%); padding: 50px; position: relative; z-index: 10; }

#portfolio .portfolio .img figure, 
#portfolio .portfolio .img figure img{ width: 100%; height: 100%; }
#portfolio .portfolio .img figure{ display: block; padding-bottom: 87.87%; position: relative; overflow: hidden; }
#portfolio .portfolio .img figure img{ object-fit: cover; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

#portfolio .portfolio .text{ padding-right: 60px; }
#portfolio .portfolio .tit h4,
#portfolio .portfolio dl dd p{ display: -webkit-box; white-space: normal; word-break: break-word; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

#portfolio .portfolio .tit{ margin-bottom: 70px; }
#portfolio .portfolio .tit p{ font-family: var(--engFont); font-size: 20px; font-weight: 600; color: #BBB; margin-bottom: 30px; }
#portfolio .portfolio .tit p span{ display: inline-block; color: var(--mainColor); padding-right: 15px; }
#portfolio .portfolio .tit h4{ height: 2.8em; font-size: 4.8rem; font-weight: 600; color: #111; line-height: 1.4; }

#portfolio .portfolio .grid{ display: grid; grid-template-columns: repeat(3, calc(100% / 3)); margin: -5px; }
#portfolio .portfolio dl{ display: flex; flex-direction: column; background: #FFF; padding: 30px; margin: 5px; }
#portfolio .portfolio dl:last-of-type{ grid-column: auto / span 3; }
#portfolio .portfolio dl dt{ flex: 1 0 auto; display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--mainColor); margin-bottom: 28px; }
#portfolio .portfolio dl dt i{ display: inline-block; width: 30px; height: 30px; margin-left: 15px; }
#portfolio .portfolio dl:nth-of-type(1) dt i{ background: url("/img/main/portfolio_icon01.png") no-repeat center center / contain; }
#portfolio .portfolio dl:nth-of-type(2) dt i{ background: url("/img/main/portfolio_icon02.png") no-repeat center center / contain; }
#portfolio .portfolio dl:nth-of-type(3) dt i{ background: url("/img/main/portfolio_icon03.png") no-repeat center center / contain; }
#portfolio .portfolio dl:nth-of-type(4) dt i{ background: url("/img/main/portfolio_icon04.png") no-repeat center center / contain; }
#portfolio .portfolio dl dd{ font-size: 17px; font-weight: 300; color: #333; }
#portfolio .portfolio dl dd p{ height: 3em; line-height: 1.5; }
#portfolio .portfolio ul{ display: flex; flex-wrap: wrap; margin: -5px -12px; }
#portfolio .portfolio ul li{ padding-left: 13px; position: relative; margin: 5px 12px; }
#portfolio .portfolio ul li::before{ content: ""; width: 3px; height: 3px; background: #333; border-radius: 50%; position: absolute; top: calc(1.3em / 2); left: 0; transform: translateY(-50%); }

#portfolio .portfolio.slick-prev{ transform: scale(0.9) translateX(5.5%); }
#portfolio .portfolio.slick-active, 
#portfolio .portfolio.slick-now{ opacity: 1; transform: scale(1) translateX(0); }

@media screen and (hover: hover) and (pointer: fine){
	#portfolio .btns button:hover{ background: var(--mainColor); border-color: var(--mainColor); }
	#portfolio .btns button:hover i{ filter: unset; -webkit-filter: unset; }
}

@media screen and (max-width: 1700px){
	#portfolio{
		--side: 120px;
	}
	#portfolio{ padding: 160px 0; }
	#portfolio .portfolio a{ padding: 40px; }
	#portfolio .portfolio .text{ padding-right: 40px; }
	#portfolio .portfolio .tit{ margin-bottom: 40px; }
	#portfolio .portfolio .tit p{ font-size: 18px; margin-bottom: 20px; }

	#portfolio .portfolio dl{ padding: 20px; }  
	#portfolio .portfolio dl dt{ margin-bottom: 20px; }
}

@media screen and (max-width: 1400px){
	#portfolio .portfolio a{ padding: 30px; }
	#portfolio .portfolio .text{ padding-right: 30px; }
	#portfolio .portfolio .tit{ margin-bottom: 20px; }

	#portfolio .portfolio .grid{ grid-template-columns: repeat(1, 100%); }
	#portfolio .portfolio dl{ padding: 15px; }
	#portfolio .portfolio dl:last-of-type{ grid-column: unset; }
	#portfolio .portfolio dl dt{ margin-bottom: 10px; }
	#portfolio .portfolio dl dt i{ width: 24px; height: 24px; }
	#portfolio .portfolio dl dd p{ height: 1.5em; -webkit-line-clamp: 1; }
}

@media screen and (max-width: 1280px){
	#portfolio{
		--side: 100px;
	}
	#portfolio{ padding: 100px 0; }
	#portfolio .portfolio .tit p{ font-size: 16px; margin-bottom: 10px; }
	#portfolio .portfolio .tit p span{ padding-right: 10px; }

	#portfolio .portfolio dl dt{ font-size: 17px; }
	#portfolio .portfolio dl dd{ font-size: 16px; }
	#portfolio .portfolio ul{ margin: -5px -7px; }
	#portfolio .portfolio ul li{ margin: 5px 7px; padding-left: 10px; }
}

@media screen and (max-width: 1200px){
	#portfolio{
		--side: 20px;
	}
	#portfolio .btns{ justify-content: center; position: static; transform: unset; margin-top: 20px; }
	#portfolio .btns button{ position: static; transform: unset !important; }
	#portfolio .btns button:not(:last-of-type){ margin-right: 10px; }
}

@media screen and (max-width: 1000px){
	#portfolio .portfolio a{ display: flex; flex-direction: column-reverse; padding: 20px; }
	#portfolio .portfolio .text{ padding-right: 0; padding-top: 20px; }
	#portfolio .portfolio .text br{ display: none; }
	#portfolio .portfolio .tit h4, 
	#portfolio .portfolio dl dd p{ width: 100%; height: auto;  -webkit-line-clamp: 1; }

	#portfolio .portfolio dl{ display: grid; grid-template-columns: 70px calc(100% - 70px); align-items: baseline; padding: 10px 15px; }
	#portfolio .portfolio dl dt{ font-size: 16px; margin-bottom: 0; }
	#portfolio .portfolio dl dt i{ display: none; }
}


/* contact */
#contact{ padding-bottom: 200px; }
#contact .grid-box{ display: grid; grid-template-columns: repeat(3, calc(100% / 3)); margin: -10px; }
#contact .grid-box > *{ --bg: var(--mainColor); margin: 10px; }
#contact .grid-box a{ display: block; padding: 50px; position: relative; }
#contact .grid-box a::before{ content: ""; width: 100%; height: 100%; background: var(--bg) url("/img/main/contact_bg.svg") no-repeat bottom right / contain; position: absolute; top: 0; left: 0; z-index: 10; opacity: 1; transition: opacity 0.4s; }

#contact .grid-box > .green{ --bg: #00A16E; }
#contact .grid-box > .purple{ --bg: #5316A8; }

#contact .bg, 
#contact .bg img{ width: 100%; height: 100%; }
#contact .bg{ position: absolute; top: 0; left: 0; z-index: -1; }
#contact .bg img{ object-fit: cover; }

#contact .txt{ position: relative; z-index: 100; }
#contact .txt > span{ display: block; font-family: var(--engFont); font-size: 20px; font-weight: 400; color: rgba(255, 255, 255, 0.8); text-transform: uppercase; }
#contact .txt h6{ font-size: 4.2rem; font-weight: 500; color: #FFF; margin: 20px 0 70px; }
#contact .txt div{ text-align: right; }

@media screen and (hover: hover) and (pointer: fine){
	#contact .grid-box > *:hover a::before{ opacity: 0; }
	#contact .grid-box > *:hover .viewmore{ color: #FFF !important; }
	#contact .grid-box > *:hover .viewmore i{ background: #FFF; }
	#contact .grid-box > *:hover .viewmore i::before{ filter: invert(1); -webkit-filter: invert(1); }
}

@media screen and (max-width: 1700px){	
	#contact{ padding-bottom: 150px; }
	#contact .grid-box a{ padding: 40px; }
	#contact .txt > span{ font-size: 18px; }	
	#contact .txt h6{ margin: 10px 0 50px; }
}

@media screen and (max-width: 1400px){
	#contact .grid-box a{ padding: 30px; }
}

@media screen and (max-width: 1280px){
	#contact{ padding-bottom: 100px; }
	#contact .grid-box a{ padding: 20px; }
	#contact .txt > span{ font-size: 16px; }	
	#contact .txt h6{ margin: 5px 0 30px; }
}

@media screen and (max-width: 900px){
	#contact .grid-box{ grid-template-columns: repeat(1, 100%); }
	#contact .grid-box > *{ transition-delay: unset !important; }
	#contact .grid-box a{ padding: 15px; }
	#contact .txt > span{ font-size: 15px; }	
	#contact .txt h6{ font-size: 5.5rem; margin-bottom: 10px; }
}