@charset "utf-8";

@import url(./common.css);


/* 페이지 속박스 */
.page .inbox {
  position: relative;
  height: auto;
  padding: 100px 0;
  width:90%;
}


/**************************인트로********************/

#pg1 .inbox{
  padding: 0;

}

.intro {
  display: flex;
  height: 100vh;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
}
.profile-box {
  position: relative;
}
.profile-box .txt-box {
  position: absolute;
  bottom: 0;
  right: -230px;
}
.profile-img {
  width: 500px;
  /* width: 100%; */
  height: 500px;
  background-color: #000;
}

.txt-box {
  max-width: 440px;
  width: 100%;
}

.main-txt h2 {
  font-size: 4rem;
  font-weight: bold;
  line-height: 130%;
  margin-bottom: 50px;
}

.sub-txt p {
  font-size: 1.8rem;
  line-height: 180%;
  color: #666666;
  margin-top: 30px;
}

.work-item {
  display: flex;
  margin-bottom: 48px;
}

/* 각 페이지 타이틀 */
.main-tit {
  padding-bottom: 100px;
  text-align: center;
  font-size: 9rem;
  font-weight: bold;
  font-family: "montserrat";
  color: #202020;
}
.sub-tit {
  font-size: 2rem;
  font-weight: bold;
  width: 20%;
}
.work-txt {
  flex: 1;
}
.work-txt p {
  white-space: pre-line;
  line-height: 180%;
  color: #666666;
}

.li-type1 {
  font-size: 1.8rem;
}
.li-type1 li {
  padding-left: 12px;
  position: relative;
  margin-bottom: 20px;
  line-height: 30px;
}
.li-type1 li::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 4px;
  top: 10px;
  left: 0;
  background: #333;
}

/**************************프로필********************/


#pg2 {
  background-color: #FAF3E6;
}

.profile-box {
  display: flex;
  justify-content: space-between;
}

.profile-box .left {
  width: 45%;
}
.profile-box .right {
  width: 45%;
}

/* 날짜 */
.date {
  color: grey;
  font-size: 16px;
}

/* 버튼 */
.item {
  display: inline-block;
  left: 10px;
  color: #fff;
  background: #7ccc35;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 12px;
  outline: none;
  text-decoration: none;
  vertical-align: middle;
  box-sizing: border-box;
  cursor: pointer;
}

/* 교육과정 팝업창 */
.vid-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0;
  /* 높이0으로 해서 안보이게 */
  height: 100vh;
  background: #d8e0a5;
  z-index: 99999;
  flex-direction: column;
  /* 비디오 열고 닫을때 효과 */
  transition: width 0.5s ease-in-out;
}

.vid-popup.on {
  width: 100%;
}

.vid-popup .close-btn {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #154726;
  margin-top: 35px;
  position: absolute;
  bottom: 100px;
}

/* 교육내용 표 */
.vid-popup table {
  border: 1px solid red;
  width: 1000px;
  height: 600px;
  opacity: 0;
}

.vid-popup table tr {
  border-bottom: 1px solid #0e298f;
  line-height: 150px;
}

.vid-popup table tr .t4 {
  border-right: 1px solid #0e298f;
}

.vid-popup table tr th {
  text-align: center;
  font-weight: bold;
  font-size: 25px;
}
.vid-popup table td {
  font-weight: 500;
  line-height: 40px;
}
.vid-popup table .t2 {
  /* border: 1px solid red; */
  width: 200px;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  font-size: 20px;
  border-right: 1px solid #0e298f;
}

/**************************기술********************/
.skill-logo {
  height: 30px;
  margin-right: 5px;
}

.tg {
  font-size: 1.8rem;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
}
.tg td {
  border: 1px solid #c8c8c8;
  padding: 10px 0 10px 20px;
  word-break: normal;
  line-height: 30px;
}
.tg th {
  text-align: center;
  border: 1px solid #c8c8c8;
  font-weight: bold;
  padding: 20px 0;
  background-color: #f6f6f6;
}

.tg .left-th {
  width: 15%;
}

.tg .skill {
  line-height: 40px;
  width: 15%;
}
#pg4 .main-tit {
  position: relative;
  padding-bottom: 0;
}

#pg4 .main-tit:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 5px;
  background: #7ccc35;
  left: 50%;
  top: 130px;
  transform: translate(-50%, 0);
}

#pg4 .tit-desc {
  padding-top: 80px;
  color: #333;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 50px;
}

/**************************포트폴리오********************/

#pg4 {
  background-color: #FAF3E6;
}
/* 카테고리 */
.category{margin-top: 90px;}
.category ul {
  margin-bottom: 70px;
  padding-left: 1px;
  width: 100%;
  display: flex;
  justify-content: center;
  vertical-align: middle;
}
.category li {
  padding-bottom: 10px;
}

.category a {
  cursor: pointer;
  color: #154726;
  display: block;
  padding: 4px 0;
  margin: 0 17.5px;
  font-size: 20px;
}

.category .on {
  z-index: 2;
  padding: 7px 15px;
  background: #7ccc35;
  border-radius: 50px;
  color: #fff;
}

/* 리스트 */

.port-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
}

.port-list li {
  list-style: none;
  margin-bottom: 70px;
  position: relative;
  width: 31.3%;
}

.port-list * {
  transition: all 0.3s ease-out;
}

.port-list li .image {
  overflow: hidden;
  position: relative;
  background-color: #000;

}

.port-list dl.info {
  margin-top: 25px;
  text-align: left;
}

.port-list .image a {
  display: block;
  height: 300px;
  width: 100%;
}

.port-list li .image span {
  align-items: center;
  background: #7ccc35;
  border-radius: 50px;
  color: #fff;
  display: flex;
  font-size: 14px;
  height: 30px;
  justify-content: center;
  position: absolute;
  right: 25px;
  top: 25px;
  width: 76px;
}

.port-list dl.info dt.subject {
  text-align: center;
  word-wrap: normal;
  color: #000;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom:10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.port-list dl.info dd.content {
  text-align: center;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 1.8rem;
  color: #666;
  font-weight: 100;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/************************연락처********************/
#pg5 .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
 
}

/* 왼쪽영역 */

#pg5 .wrap .left{
  width:50%;
}
.sub-tit3 {
  margin-bottom: 50px;
  text-align: center;
}
.sub-tit3 h5 {
  font-size: 3rem;
  margin-bottom: 50px;
  font-weight: bold;
  line-height: 45px;
  position: relative;
}

.sub-tit3 h5:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 5px;
  background: #7ccc35;
  left: 50%;
  top: 100px;
  transform: translate(-50%, 0);


}
.sub-tit3 p {
  font-size: 1.8rem;
  color: #666;
  line-height: 3.3rem;
}

.contact-li{
  background-color: #f6f6f6;
  box-sizing: border-box;
    padding: 20px;
    width: 80%;
    margin: 0 auto;
}

.contact-item {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.8rem;
}
.contact-item span{
  margin-left: 10px;
 
}
.contact-item a{
  margin-left: 10px;

}


#pg5 .fa{
  font-size: 2rem;
  color:#7ccc35;
 
}

/* 오른쪽 영역 */
#pg5 .wrap .right{
  width:45%;
}

.map iframe{
  width: 100%;
}

