@charset "utf-8";

.container {
	display: flex;
	width: 100%;
	height: 100%;
}
.container.three, .container.four {
  display: grid;
  /* grid-template-rows: 12rem 20rem 1fr 1fr; */
  grid-template-rows: 12rem 20rem 1fr;
  grid-template-columns: repeat(3, 1fr);
}
.container.three, .container.four {
  grid-template-areas:
    "header header header"
    "section section section"
    "article article article";
    /* "footer footer footer"; */
}
.container header {
	grid-area: header;
	width: 100%;
}
.container article { 
	grid-area: article;
	padding: 0 2rem 6rem 2rem;
}
.container footer {
	grid-area: footer;
}
.container section {
	grid-area: section;
	position: relative;
	display:block;
	width: 100%;
	height: 20rem;
	background-repeat: no-repeat;
	background-position: center 40%;
	background-size: cover;
}
.container section:after {
	content: '';
	background-color: rgba(0,0,0,0.3);
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}
.container.three section {
	background-image: url('../../../../../images/com/sooinc/www/common/visual01.jpg');
	background-position: center 40%;
}
.container.four section {
	background-image: url('../../../../../images/com/sooinc/www/common/visual02.jpg');
	background-position: center center;
}
.container.four article {
	padding: 0;
}
.container.four .content-wrap {
	display: grid;
	grid-template-rows: 100%;
	grid-template-columns: 23rem 1fr;
	grid-template-areas: "aside content";
	margin-top: 0;
	height: 100%;
}
.container.four aside {
	grid-area: aside;
	display: block;
	width: 23rem;
	height: 100%;
	border-left: solid 0.1rem #f5f5f5;
	border-right: solid 0.1rem #f5f5f5;
}
.container.four aside button {
	width: 100%;
}
.container.four .mypage-wrap {
	grid-area: content;
}

.nav-wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 2rem;
}
.nav-wrap span {
	font-size: 2.4rem;
	display: flex;
	justify-content: center;
	padding: 5rem 0;
	margin-top: 5rem;
	width: 100%;
	background-color: #f5f5f5;
}
.nav-wrap ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}
.nav-wrap ul li {
	width: 100%;
}
.nav-wrap ul li:hover button, .nav-wrap ul li.on button {
	color: #ffffff;
	background-color: #ea002c;
}
.nav-wrap ul li button {
	text-align: left;
	border-radius: 0;
}

/* 헤더 */
header .gnb-wrap {
	padding: 1rem 2rem;
	background: #f5f5f5;
}
header .gnb-wrap .inner {
	max-width: 120rem;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	gap: 2rem;
	margin: 0 auto;
}
header .gnb-wrap .inner a b {
	margin-left: 1rem;
}
header .gnb-wrap .inner a:not(.user-name):hover {
	text-decoration: underline;
}
header .header-wrap {
	display: flex;
	max-width: 120rem;
	width: 100%;
	height: 100%;
	max-height: 8.2rem;
	justify-content: space-between;
	align-items: center; 
	margin: 0 auto;
}
header .header-wrap .logo {
	width: 100%;
	max-width: 12rem;
	margin-top: -1rem;
}
header .header-wrap .menu-wrap {
	display: flex;
	gap: 3rem;
	width: 100%;
	justify-content: flex-end;
	margin-top: 1rem;
}
header .header-wrap .menu-wrap a{
	font-size: 1.8rem;
	font-weight: 700;
}
header .header-wrap .menu-wrap a:hover, header .header-wrap .menu-wrap a.on {
	color: #ea002c;
}

/* 컨텐츠 */
article .content-wrap {
	max-width: 120rem;
	width: 100%;
	margin: 6rem auto 0 auto;
}
article .content-wrap .content-header {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	justify-content: center;
	align-items: center;
}
article .content-wrap .content-header .title {
	font-size: 3.2rem;
}
article .content-wrap .content-header .text {
	font-size: 1.8rem;
	color: #555555;
}

/* 마이페이지 */
.mypage-wrap {
	margin-top: 6rem;
}

@media screen and (max-width: 1024px) {
	header .header-wrap {padding: 2rem;flex-direction: column; justify-content: flex-start; gap: 2rem; height: auto; max-height: unset;}
	header .header-wrap .logo {margin: 0;}
	header .header-wrap .menu-wrap {justify-content: space-around;}
	.container.three, .container.four{grid-template-rows: 17rem 20rem 1fr 1fr;}
	.container.four .content-wrap {grid-template-rows: unset; grid-template-columns: unset; grid-template-areas: unset; display: flex; flex-direction: column; gap: 2rem;}
	.container.four aside {width: 100%;}
	.nav-wrap span {display: none;}
	.nav-wrap ul {flex-direction: row; background-color: #f5f5f5; padding: 1rem;}
	.nav-wrap ul li button {font-size: 1.4rem; padding: 0; display: flex; justify-content: center; align-items: center; height: 3.2rem;}
	.nav-wrap ul li:hover button, .nav-wrap ul li.on button {border-radius: 1rem;}
	.mypage-wrap.not-mt{margin-top: 0;}
}