header {
	background: #252a2f;
}
.main {
	grid-template-columns: auto 1140px auto;
	-ms-grid-columns: auto 1140px auto;
	overflow-x: hidden;
}
.banner-top {
	position: relative;

	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	animation: ani-banner-top 3s ease;
}
@keyframes ani-banner-top {
	0% {
		background-size: auto 130%;
	}
	100% {
		background-size: auto 100%;
	}
}
.wrap .mb{
	background-image: url(/images/relation/banner_relation.jpg);
}
.banner-top__content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto;

	color: #fff;
	text-align: center;
}
.banner-top__content h1 {
	padding-bottom: 12px;
	animation: banner-txt 2s ease;

	font-size: 36px;
	font-weight: 500;
	line-height: 42px;
	letter-spacing: 0px;
}
.banner-top__content p {
	animation: banner-txt 2s ease;

	font-size: 24px;
	font-weight: 500;
	line-height: 22px;
	letter-spacing: 0px;
}
@keyframes banner-txt {
	0% {
		opacity: 0;
		transform: translateY(40%);
	}
	50% {
		opacity: 0;
		transform: translateY(40%);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
.inner-sub-nav {
	grid-column: 1/4;
	-ms-grid-column: 1/4;
	height: 70px;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.13);
}
.inner-sub-nav ul {
	height: 100%;
	display: flex;
	display: -ms-flexbox;

	text-align: center;
}
.inner-sub-nav__item {
	width: 33%;
	padding: 1px;

	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 0px;
}
.inner-sub-nav__item a {
	position: relative;
	display: inline-block;
	height: 100%;
	width: 100%;
	padding-top: 22px;

	color: #1e1e1e;
}
.inner-sub-nav__item a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -1px;
	transform: translateY(-50%);
	width: 1px;
	height: 80%;
	background: #626262;
}
.inner-sub-nav__item:nth-last-child(1) a::after {
	content: none;
}
.inner-sub-nav__item--active {
	background: #014783;
}
.inner-sub-nav__item--active a {
	color: #fff;
	font-weight: 500;
}

.inner-sub-nav__item--active a::after {
	right: -2px;
}

/* relation contents S */
.relations-banner {
	height: 800px;
	background-image: url(/images/relation/banner_relation.jpg);
	background-size: auto 100%;
}
.relation__contents {
	width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 100px;
	margin-bottom: 120px;
}
.top-box {
	position: relative;
	height: 100px;
	width: 100%;
	margin-bottom: 20px;
}
.top-box::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 100%;
	background: #084a8a;
}
.contents__title {
	margin-bottom: 20px;

	font-size: 48px;
	font-weight: 500;
	line-height: 56px;
	letter-spacing: 0px;
	text-align: center;
	color: var(--primary);
}
.contents__title+p{
	text-align: center;
	margin-bottom: 70px;
}
.contents__subtitle {
	margin-bottom: 50px;

	/* font-family: Noto Sans KR; */
	font-size: 36px;
	font-weight: 500;
	line-height: 22px;
	letter-spacing: 0px;
	text-align: center;
	color: #084a8a;
}
.content__itr-img {
	width: 100%;
	margin-bottom: 70px;
	background: rgba(0, 0, 0, 0.7);
}
.content__itr-img img {
	width: 100%;
}

/* relation list S */
.relation__list {
	width: 100%;
	display: grid;

	grid-template-columns: repeat(2, 1fr);
	/* grid-template-rows: repeat(2, 1fr); */
	gap: 8px 4px;

	text-align: center;
}
.relation__item {
	position: relative;
	height: auto;
	height: 350px;
	overflow: hidden;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.13);
}
.relation__item input {
	display: none;
}
.relation__item-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	padding-top: 120px;
	padding-bottom: 60px;
	opacity: 0;
	transition: 0.5s;
	backdrop-filter: blur(5px);

	text-align: center;
	color: var(--pri-white);
	overflow: hidden;
}

.relation__item-title {
	margin-bottom: 15px;

	font-size: var(--font-size-body1);
	font-weight: var(--font-weight-body1);
	line-height: var(--font-lh-body1);
	letter-spacing: var(--font-ls-body1);
}
.relation__item-content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;

	font-size: var(--font-size-body2);
	font-weight: var(--font-weight-body2);
	line-height: var(--font-lh-body2);
	letter-spacing: var(--font-ls-body2);
}
.relation__item-content address>a{
	color: #fff;
}
.relation__item-tel {
	position: absolute;
	left: 0;
	bottom: -40px;
	width: 100%;
	height: 40px;
	transition: 0.5s;

	display: flex;
	justify-content: center;
	align-items: center;
}
/* hover시 애니메이션 S */
.relation__item-wrap:hover {
	padding-top: 120px;
	opacity: 1;
}
.relation__item-wrap:hover .relation__item-tel {
	bottom: 12px;
}
/* hover시 애니메이션 E */
.relation__item-tel span {
	position: relative;
	padding-left: 36px;
	padding-bottom: 40px;
}
.relation__item-tel span::before {
	content: url(/images/relation/icon_tel.svg);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	padding-bottom: 40px;
}
.relation__item-tel span:nth-of-type(2):before{
	content: url(/images/relation/icon_tel_f.svg);
}
.relation__item-tel span:nth-child(2) {
	margin-left: 10px;
}

.relation__img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 105%;
	z-index: -1;
}
.relation__item:nth-of-type(1)>.relation__img{
	width: 230px;
}
/* .relation__item:nth-of-type(2)>.relation__img{
	width: 170px;
}
.relation__item:nth-of-type(3)>.relation__img{
	width: 157px;
} */
.relation__item:nth-of-type(2)>.relation__img{
	width: 100px;
}
.relation__item:hover .relation__img {
	z-index: -1;
}
/* relation list E */ ;
