@charset "utf-8";
@import url("font.css");
@import url("reset.css");

/* ==================================================

    * intro
	
================================================== */
html:has(.intro),
body:has(.intro){
    overflow: hidden;
}
.wrap.intro{
		position: relative;
		display: flex;
		flex-direction: column;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    background-repeat: no-repeat;
    background-position: center 0;
    background-image: url('../image/intro/bg_intro.png');
    background-size: cover;
		transition: ease .3s;
}
.wrap.intro.special{
    background-image: url('../image/intro/bg_intro_special.png');
}
.wrap.intro.eng{
    background-image: url('../image/intro/bg_intro_eng.png');
}
.wrap.intro.general{
    background-image: url('../image/intro/bg_intro_general.png');
}
.wrap.intro.journal{
    background-image: url('../image/intro/bg_intro_journal.png');
}
.intro-bg-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
.intro-bg-wrap > hr {
	position: absolute;
	top: 0;
	left: 33.333%;
	width: 1px;
	height: 100%;
	background-color: #c3c3c3;
	opacity: 0.3;
}
.intro-bg-wrap > hr:nth-child(2) {
	left: 66.666%;
}
.intro-bg-wrap > hr:last-child {
	display: none;
}
.intro-tit-wrap {
	position: relative;
	z-index: 1;
	text-align: center;
}
.intro-logo {
	padding-top: 80px;
	padding-bottom: 80px;
}
.intro-tit {
	font-size: 4rem;
	font-weight:600;
	color: #fff;
	line-height: 1.4;
}
.intro-tit > span {
	display: block;
	font-size: 2rem;
	font-weight: 400;
}
.intro-site-wrap {
	position: relative;
	z-index: 1;
	flex: 1;
}
.intro-site {
	height: 100%;
	margin-top: 100px;
}
.intro-site > li {
	float: left;
	width: 33.333%;
	height: 100%;
	padding-top: 50px;
	text-align: center;
	transition: ease .3s;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: right -30px bottom 50px;
}
.intro-site > li > .img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
}
.intro-site > li > .text-wrap {
	position: relative;
	margin: 50px 0;
	padding-top: 20px;
	font-size: 2.4rem;
	font-weight: 500;
	color: #fff;
}
.intro-site > li > .text-wrap::before{
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	display: block;
	width: 18px;
	height: 2px;
	background-color: #fff;
}
.intro-site > li > .btn {
	opacity: 0;
	display: inline-block;
	width: 50%;
	padding: 27px 15px;
	font-size: 1.8rem;
	font-weight: 500;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 5px;
	transition: ease .3s;
}
.intro-site > li:hover > .btn {
	opacity: 1;
}
.intro-site > li:hover {
	background-image: url('../image/intro/bg_intro_site.png');
}
.intro-site > .special:hover {
	background-color: #592f7d;
}
.intro-site > .eng:hover {
	background-color: #0966c6;
}
.intro-site > .general:hover {
	background-color: #e3853a;
}
.intro-site > .journal:hover {
	background-color: #0096a8;
}
.intro-site > .special:hover > .btn {
	background-color: #713e9d;
}
.intro-site > .eng:hover > .btn {
	background-color: #4293e8;
}
.intro-site > .general:hover > .btn {
	background-color: #f7aa6c;
}
.intro-site > .journal:hover > .btn {
	background-color: #32bdce;
}

/* 인트로 페이지 4개일때 */
.wrap.intro:has(.journal) .intro-bg-wrap > hr {
	left: 25%
}
.wrap.intro:has(.journal) .intro-bg-wrap > hr:nth-child(2) {
	left: 50%;
	transform: translateX(-50%);
}
.wrap.intro:has(.journal) .intro-bg-wrap > hr:nth-child(3) {
	left: 75%;
	display: block;
}
.wrap.intro:has(.journal) .intro-site > li {
    width: 25%;
}

@media screen and (max-width: 1024px){
	.intro-logo {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.intro-tit {
		font-size: 3rem;
	}
	.intro-site {
		margin-top: 80px;
	}
}

@media screen and (max-width: 1024px){
	.intro-logo {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.intro-site {
		margin-top: 80px;
	}
}

@media screen and (max-width: 768px){
	.wrap.intro {
		background: 0 none;
	}
	.intro-bg-wrap {
		display: none;
	}
	.intro-logo {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 75px;
		padding: 0;
		background-color: #fff;
	}
	.intro-logo img {
		height: 42px;
	}
	.intro-tit {
		display: none;
	}
	.intro-site {
		margin-top: 0;
		height: calc(100vh - 75px);
	}
	.intro-site > li {
		float: none;
		width: 100%;
		height: 33.333%;
		padding: 15px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		background-repeat: no-repeat;
		background-position: 0 center;
		background-size: cover;
	}
	.intro-site > .special:hover,
	.intro-site > .special {
		background-color: transparent;
		background-image: url('../image/intro/bg_intro_special_m.png');
	}
	.intro-site > .eng:hover,
	.intro-site > .eng {
		background-color: transparent;
		background-image: url('../image/intro/bg_intro_eng_m.png');
	}
	.intro-site > .general:hover,
	.intro-site > .general {
		background-color: transparent;
		background-image: url('../image/intro/bg_intro_general_m.png');
	}
	.intro-site > .journal:hover,
	.intro-site > .journal {
		background-color: transparent;
		background-image: url('../image/intro/bg_intro_journal_m.png');
	}
	.intro-site > li > .img-wrap {
		display: none;
	}
	.intro-site > li > .text-wrap {
		margin: 0;
		padding-top: 0;
		font-size: 22px;
		text-align: left;
	}
	.intro-site > li > .text-wrap::before {
		display: none;
	}
	.intro-site > li > .btn {
		opacity: 1;
		width: 100px;
		padding: 13px 1px;
		font-size: 12px;
	}
	.intro-site > .special:hover > .btn,
	.intro-site > .special > .btn {
		background-color: rgb(113, 62, 157, 0.85);
	}
	.intro-site > .eng:hover > .btn,
	.intro-site > .eng > .btn {
		background-color: rgb(0, 29, 60, 0.85);
	}
	.intro-site > .general:hover > .btn,
	.intro-site > .general > .btn {
		background-color: rgb(196, 87, 0, 0.85);
	}
	.intro-site > .journal:hover > .btn,
	.intro-site > .journal > .btn {
		background-color: rgb(0, 150, 168, 0.85);
	}
/* 인트로 페이지 4개일때 */
	.wrap.intro:has(.journal) .intro-site > li {
		width: 100%;
		height: 25%;
	}
}