@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Do+Hyeon&family=Noto+Sans+KR:wght@100..900&display=swap");

a {
  text-decoration: none;
  color: #47474f;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  color: #47474f;
  line-height: 28px;
  font-weight: 400;
  background: #f5f5f5;
}
/* 브라우저 기본 세팅에 폰트 사이즈 16에 줄 높이 28로 설정 되있음
  다만 리셋css를 하게되면 위 설정이 다 사라지게 됨 */

.wrapper {
  width: 100%; /* 브라우저에 전체를 차지 */
  height: auto;
  /* overflow: hidden;  자식에 맞춰서 높이가 늘어나라 */
}

header {
  width: 100%; /* 브라우저에 100%를 차지해라 */
  height: 60px;
  background-color: #fff;
  box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.3);
  /* x축(가로) y축(세로) 번짐정도 투명도 */
  box-sizing: border-box;
  padding: 0 24px;
  position: fixed; /* 헤더 고정하기 position: fixed는 절대좌표에서 네가지 좌표를 다 넣기 가능*/
  top: 0;
  left: 0;
  right: 0;
  z-index: 999; /* 헤더 앞으로 나오게 하기 */
  display: flex;
  column-gap: 24px;
}
/* 로고 */
h1 {
  width: fit-content;
  height: fit-content;
  padding: 15px 0;
}

h1 img {
  height: 30px;
}

#gnb {
  width: fit-content;
  height: 100%;
}

#gnb > ul {
  width: fit-content;
  display: flex; /* 가로 정렬 */
  column-gap: 20px; /* 넓이가 정해져있지 않을 때 */
  line-height: 60px; /* 헤더 높이 만큼 */
}

/* 1차 메뉴 */
#gnb > ul > li {
  padding: 0 20px; /* 1. 위아래 2. 양옆 */
  position: relative;
  text-align: center;
}

#gnb > ul > li .sm_3 {
  display: inline-block;
  position: relative;
  font-size: 9px;
  top: -2px;
  margin-left: 5px;
  color: #47474f;
  text-decoration: none;
}

#gnb > ul > li > a {
  text-transform: uppercase; /* 글자 대문자로 바꿔주기 */
  font-size: 14px;
  font-weight: 500;
}

/* 2차 메뉴 */

#gnb > ul > li:nth-child(4) > div,
#gnb > ul > li:last-child > div {
  background-color: antiquewhite;
  width: 180%; /* 물리적으로 넓이 주기 */
  height: 0;
  overflow: hidden;
  position: absolute; /* 부모가 기준에 맞추기 */
  left: -50px;
  top: 70px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transition: 0.3s;
  /* 마우스를 올렸을 때 펼쳐져 보이게 하기 위해 0.3초를 줍니다 */
}

.submenu {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 18px;
  text-align: left;
  line-height: 50px;
  font-size: 13px;
  font-weight: 600;
}

.submenu > h2 {
  color: #707078;
}

.submenu > li {
  box-sizing: border-box;
  padding-left: 40px;
  position: relative;
  border-radius: 8px;
}

.submenu > li:hover {
  background-color: #f5f5f5;
}

.submenu > li a:hover {
  color: #e5322d;
}

/* a태그 앞에 아이콘 영역 공통설정 해주기 */
.submenu > li > a::before {
  content: "icons";
  font-size: 0;
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 10px;
  top: 15px;
  background: url(../img/sprite.svg) no-repeat; /* back 관련 된 모든 속성을 설정하기 */
  background-position-x: -5px;
}

/* 네번째 네비 2차 메뉴 */
.submenu > li > a.jpg::before {
  background-position-y: -180px;
}

.submenu > li > a.word::before {
  background-position-y: -205px;
}

.submenu > li > a.power::before {
  background-position-y: -230px;
}

.submenu > li > a.excel::before {
  background-position-y: -255px;
}
.submenu > li > a.htmls::before {
  background-position-y: -530px;
}

/* 다섯번째 네비 이차 메뉴 */
.submenu > li > a.merge::before {
  background-position-y: -5px;
}

.submenu > li > a.split::before {
  background-position-y: -30px;
}

.submenu > li > a.remove::before {
  background-position-y: -55px;
}

.submenu > li > a.extract::before {
  background-position-y: -80px;
}
.submenu > li > a.organize::before {
  background-position-y: -105px;
}
.submenu > li > a.scan::before {
  background-position-y: -680px;
}

#gnb > ul > li:hover > a {
  color: #bd060a;
}

#gnb > ul > li:nth-child(4):hover > div {
  height: 320px;
}

#gnb > ul > li:last-child:hover > div {
  height: 370px;
}

/* 오른쪽 아이콘 버튼 */

.action {
  width: fit-content;
  height: 100%; /* 헤더 높이 만큼 */
  margin-left: auto;
  position: relative;
  column-gap: 5px;
  display: flex;
  align-items: center;
}

.action > a {
  display: block;
  width: 60px;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}

.action > a::before {
  content: "";
  display: block; /* 가상 요소는 인라인 속성잉라 블록으로 변경 */
  background-image: url(../img/sprite.svg);
  background-repeat: no-repeat;
}

.action > a.icon_desk {
  padding: 16px 14px;
}

.action > a.icon_desk::before {
  width: 32px;
  height: 28px;
  background-position: -55px -30px;
}

.action > a.icon_desk::after {
  content: "ILovePDF 데스크톱, 오프라인 작업 ";
  display: block;
  font-size: 14px;
  width: 230px;
  line-height: 32px;
  background-color: #47474f;
  color: #fff;
  text-align: center;
  font-weight: 500;
  position: absolute;
  top: 70px;
  left: -80px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3; /* 0.3초동안 나타나게 해라 */
}

.action > a.icon_desk:hover::after {
  opacity: 1;
}

.action > a.login {
  text-align: center;
  line-height: 60px;
  color: #47474f;
  font-weight: 500;
}

.action > a.login:hover {
  color: #e5322d;
}

.action > a.sign_up {
  box-sizing: content-box; /* 박스 사이징 해제해주기 */
  text-align: center;
  height: 35px;
  padding: 0 12px;
  line-height: 35px;
  font-size: 14px;
  font-weight: 600;
  background-color: #e5322d;
  color: #fff;
  border-radius: 8px;
  transition: 0.3s;
}

.action > a.sign_up:hover {
  background-color: #bd060a;
}

.action > a.bar {
  padding: 21px 18px;
}

.action > a.bar::before {
  width: 24px;
  height: 18px;
  background-position: -55px -5px;
}

/* 컨텐츠 영역 */
main {
  width: 100%;
  height: auto;
  background: #f5f5fa url(../img/background.svg) no-repeat fixed center / cover;
  /* 색상 , 이미지, 반복여부, 배경고정 위치, 사이즈 */
}

.home_title {
  position: relative;
  padding: 100px 45px 30px 45px;
  text-align: center;
}

.home_title_title {
  max-width: 1100px;
  font-weight: 600;
  font-size: 42px;
  line-height: 52px;
  color: #33333b;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4px;
}

.sub_title {
  max-width: 980px;
  line-height: 32px;
  font-size: 22px;
  font-weight: 400;
  color: #47474f;
  margin: auto auto 28px;
}

.section2 {
  width: 100%;
  height: auto;
  margin-bottom: 50px;
}

.box {
  width: 1700px;
  height: fit-content;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 10px;
}

.box > div {
  width: 276px;
  height: auto;
  line-height: 45px;
  background: #fff;
  border: 1px solid #f5f5fa;
  box-sizing: border-box;
  padding: 32px 24.5px;
  border-radius: 4px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #33333b;
  margin-bottom: 8px;
}

h4 {
  line-height: 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  font-size: 13px;
  color: #707078;
}

.box > div:hover {
  background-color: #f5f5f5;
}

/*세번째 섹션 */

.con {
  width: 100%;
  height: 100%;
  padding: 96px 0 124px;
  background: #fff;
  text-align: center;
}

.sub_text {
  width: 83%;
  height: auto;
  display: flex;
  margin-top: 55px;
  column-gap: 50px;
  text-align: left;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 91%;
}

.main_text {
  font-weight: 600;
  font-size: 42px;
  line-height: 52px;
  color: #33333b;
}
h5 {
  font-weight: 500;
  font-size: 28px;
  line-height: 30px;
  color: #33333b;
  margin-bottom: 12px;
}

p {
  color: #707078;
  line-height: 28px;
  font-size: 16px;
  font-weight: 400;
}

span {
  font-weight: 500;
  text-decoration: underline;
  color: #e5322d;
  cursor: pointer;
}

span:hover {
  color: #222;
}

/* 네번째 섹션 */

.con2 {
  width: 100%;
  height: 100%;
  padding: 96px 0 124px;
  text-align: center;
}

.main_text2 {
  font-weight: 600;
  font-size: 42px;
  line-height: 52px;
  color: #33333b;
}

.con2 p {
  margin: 0 auto;
  margin-top: 15px;
  width: 59%;
  height: auto;
  text-align: center;
  line-height: 32px;
  font-size: 22px;
  font-weight: 400;
  color: #47474f;
}

.main_icon {
  display: flex;
  width: 450px;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 64px;
}

.main_icon img {
  height: 30px;
}

/* 마지막 섹션 */
.premium {
  background-color: #47474f;
  color: #f5f5fa;
  display: flex;
  justify-content: space-between;
  padding: 80px 200px;
  align-items: center;
}

.left {
  width: 60%;
}

.left h2 {
  font-weight: 600;
  font-size: 42px;
  line-height: 52px;
  margin-bottom: 40px;
}

.left p {
  line-height: 32px;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 60px;
  color: #f5f5fa;
}

.left a {
  background-color: #ffc233;
  display: block;
  width: fit-content;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s;
}

.left a:hover {
  color: #33333b;
  background-color: #ef9e02;
}

/* 풋터 */

footer {
  width: 100%;
  box-sizing: border-box;
  padding: 50px 200px;
  background-color: #f5f5fa;
}

.sitemap {
  width: 100%;
  height: fit-content;
  border-bottom: 1px solid #aaa;
  margin-bottom: 30px;
}

.sitemap #footer_nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

#footer_nav ul {
  /* flex-basis: 25%; 
  flex-grow: 1;
  flex-shrink: 1;*/
  flex: 1 25%;
  line-height: 1;
  font-weight: 400;
}

#footer_nav ul h4 {
  color: #e5322d;
  font-weight: 600;
  margin-bottom: 16px;
}

#footer_nav ul li {
  margin-bottom: 12px;
}

#footer_nav ul li a {
  color: #47474f;
}

#footer_nav ul li a:hover {
  color: #e5322d;
}

.btn_wrap {
  width: 100%;
  height: 40px;
  margin: 30px 0;
}

.btn_wrap a {
  display: block;
  width: 135px;
  height: 40px;
  float: right;
  margin-left: 10px;
}
.btn_wrap a:last-child {
  margin-right: 0;
}
