@charset "utf-8";
/* 서브 페이지: 회사소개·서비스·후기·채용 */

/* 인사말 */
.greetings .section {padding: var(--sub-padding);}
.greetings .section:first-child {padding-top: 0;}
.greetings .circle-txt {padding: 45px; border-radius: 106px;}
.running-business {display: flex; gap: 40px;}
.running-business .item {flex: 1; overflow: hidden; border-radius: var(--radius);}
.running-business .txt {padding: 35px 35px 25px; background: var(--orange);}
.work-items {display: flex; flex-wrap: wrap; gap: 40px;}
.work-items .item {width: calc((100% - 40px) / 2); padding: 38px; text-align: center; border-radius: var(--radius); background: var(--bg-gray);}
.work-items .item img {border-radius: 16px; box-shadow: 14px 14px 28px rgba(0,0,0,.16);}
.flex-event {display: flex;}
.flex-event h3 {position: relative; width: 33.3333333%; padding-right: 60px;}
.flex-event h3::before {content: ''; position: absolute; top: -25px; left: 0; width: 7px; height: 7px; border-radius: 100%; background: var(--orange);}
.flex-event .sec-cnt {flex: 1;}
.flex-event .flex-wrap {gap: 30px;}
.flex-wrap {display: flex;}
.flex-wrap > * {width: 50%;}
.circle-img {overflow: hidden; border-radius: 190px;}
.desc p:not(:last-child) {margin-bottom: 27px;}

.box-items {display: flex; flex-wrap: wrap; gap: 35px;}
.box-items .item {flex: 1 0 auto; width: calc((100% - 105px) / 4); padding: 42px; border-radius: var(--radius); background: #fff;}
.box-items .icon {margin-bottom: 40px;}
.box-items .num {margin-bottom: 5px;}
.business .box-items .item {border: 1px solid #ddd;}

.greetings .sec-sector {padding: 145px 0 135px; background: linear-gradient(150deg, #f9de73, #f9de73, #fba980, #fba980);}
.sector-items {position: relative; z-index: 1; display: flex; gap: 40px;}
.sector-items::before {content: ''; position: absolute; z-index: -1; top: -155px; left: -170px; width: 233px; height: 300px; background: url('../images/sub/bg-sector-logo.png') center / contain no-repeat;}
.sector-items::after {content: ''; position: absolute; z-index: -1; bottom: -50px; right: -260px; width: 701px; height: 80px; background: url('../images/sub/bg-sector-global.png') right bottom / contain no-repeat;}
.sector-items .item {position: relative; display: block; overflow: hidden; border-radius: var(--radius); box-shadow: 14px 14px 28px rgba(0,0,0,.16);}
.sector-items .item img {transition: transform .4s;}
.sector-items .item:hover img {transform: scale(1.04);}
.sector-items .caption {position: absolute; top: 35px; left: 32px; color: #fff; font-weight: 700; font-size: 24px; line-height: 1.58333em;}

/* 서비스 공통 */
.business .section {padding: var(--sub-padding);}
.welcome-photo {display: flex; align-items: center; padding: 12.3055% 0; color: #fff; background-position: center; background-size: cover; background-repeat: no-repeat;}
.welcome-photo .gradient-txt {display: inline-block; background: linear-gradient(to bottom, #fff 20%, var(--orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;}

.sec-lawyer .contain, .sec-agency .contain, .sec-visit .contain {position: relative;}
.sec-lawyer .contain::before, .sec-lawyer .contain::after,
.sec-agency .contain::before, .sec-agency .contain::after,
.sec-visit .contain::before, .sec-visit .contain::after {content: ''; position: absolute; background-position: center bottom; background-size: contain; background-repeat: no-repeat;}
.sec-lawyer .contain::before {left: 0; bottom: -100px; width: 161px; height: 163px; background-image: url('../images/sub/deco-lawyer.png');}
.sec-lawyer .contain::after {right: 24px; bottom: -100px; width: 118px; height: 167px; background-image: url('../images/sub/deco-doctor.png');}
.sec-agency .contain::before {left: 10px; bottom: -100px; width: 154px; height: 162px; background-image: url('../images/sub/deco-people.png');}
.sec-agency .contain::after {right: 0; bottom: -90px; width: 165px; height: 145px; background-image: url('../images/sub/deco-analyze.png');}
.sec-visit .contain::before {left: 0; bottom: -90px; width: 165px; height: 144px; background-image: url('../images/sub/deco-run.png');}
.sec-visit .contain::after {right: 10px; bottom: -100px; width: 144px; height: 162px; background-image: url('../images/sub/deco-happy.png');}

.black-boxes {display: flex; gap: 40px;}
.black-box {overflow: hidden; border-radius: var(--radius);}
.black-box .img {padding: 42px 50px 50px; background: #fff;}
.black-box .txt {position: relative; padding: 31px 50px; background: var(--black); color: #fff;}
.black-boxes .black-box {flex: 1;}
.black-boxes .black-box.active {box-shadow: 14px 14px 28px rgba(0,0,0,.16);}
.black-boxes .black-box .img {position: relative; padding: 0;}
.black-boxes .black-box .img::before {content: ''; position: absolute; inset: 0; border: 1px solid #ddd; border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;}
.black-boxes .black-box.active .img::before {border: 2px solid var(--orange);}
.black-boxes .black-box .caption {display: none; position: absolute; bottom: 100%; left: 0; width: 100%; padding: 12px; background: var(--black); color: #fff; font-size: 17px; line-height: 1.53em;}
.black-boxes .black-box.active .caption {display: block;}
.black-boxes .black-box .txt {display: flex; justify-content: center; align-items: center; gap: 12px; font-weight: 700;}
.black-boxes .steps {padding: 2px 12px; border-radius: 17px; background: #fff;}

.flex-youtube {display: flex; gap: 40px;}
.flex-youtube .item {flex: 1; height: 435px; overflow: hidden; border-radius: var(--radius);}
.flex-youtube iframe {width: 100%; height: 100%; border: 0;}

.hyphen-list li {position: relative; padding-left: 12px; line-height: 1.777em;}
.hyphen-list li::before {content: '-'; position: absolute; left: 0;}

.img-items {display: flex; justify-content: space-between; gap: 20px;}
.img-items .img {overflow: hidden; border-radius: var(--radius);}

.agency-reference {padding: 50px 0 160px;}
.agency-reference .flex-wrap {gap: 40px;}
.reference-item {position: relative; padding-left: 28px;}
.reference-item::before {content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: calc(100% - 19px); border-radius: 2px; background: var(--orange);}
.reference-img {overflow: hidden; border-radius: var(--radius); box-shadow: 14px 14px 28px rgba(0,0,0,.16);}

.brand-fail .item {display: flex; align-items: center;}
.brand-fail .img {width: 48.4%; max-width: 580px; overflow: hidden; border-radius: var(--radius);}
.brand-fail .txt {flex: 1; padding-left: 85px;}
.brand-fail .underline::before {bottom: -15px;}

.store-differ .flex-txt {display: flex; justify-content: space-between; gap: 40px;}
.store-differ .left {flex: 1;}
.store-differ h3 {position: relative;}
.store-differ h3::before {content: ''; position: absolute; top: -25px; left: 0; width: 7px; height: 7px; border-radius: 100%; background: var(--orange);}
.store-differ .right {width: 33.3333333%;}
.store-differ .img-box {overflow: hidden; border: 1px solid #ddd; border-radius: var(--radius);}
.purchase-process {overflow: hidden; border-radius: var(--radius);}
.purchase-process h4 {padding: 20px 50px;}
.purchase-process .items {display: flex; gap: 6px; padding: 70px 50px; border: 1px solid #ddd; border-top: 0; border-radius: 0 0 var(--radius) var(--radius);}
.purchase-process .items .item {flex: 1; padding: 30px 20px; border-radius: 10px; color: #fff;}
.purchase-process h5 {margin-bottom: 5px;}
.purchase-process .num {line-height: 1.5em; opacity: .5;}

/* 채용 */
.flex-tit {display: flex; justify-content: space-between; align-items: center; gap: 60px;}
.career .flex-wrap {gap: 40px;}
.career .flex-wrap .item {flex: 1;}
.career .flex-wrap .fz24 {line-height: 1.5em;}
.career .flex-wrap .img {overflow: hidden; border-radius: var(--radius);}
.career-board {padding: 110px 0;}

/* 게시판 목록 (후기·채용) */
.board-search {display: flex; align-items: center; gap: 15px; margin-bottom: 50px;}
.board-search .total-page {color: var(--gray); font-size: 14px; line-height: 44px;}
.board-search .total-page span {color: var(--text);}
.board-search .search {display: flex; margin-left: auto;}
.board-search .input {height: 44px; padding: 6px 16px; color: var(--text); font-size: 16px; border: 1px solid #ddd; border-radius: 5px; background: #fff; outline: none;}
.board-search .input:focus {border-color: var(--orange);}
.board-search .search .input {width: 300px; border-radius: 5px 0 0 5px;}
.board-search .search button {height: 44px; padding: 0 20px; background: var(--dark); color: #fff; font-size: 16px; border-radius: 0 5px 5px 0;}
.board-empty {padding: 60px 0; text-align: center; color: #999; border-top: 1px solid #505050; border-bottom: 1px solid #ddd;}
[data-board-list].is-empty, .board-empty[hidden], [data-title].is-hidden {display: none !important;}

.board-list table {width: 100%; border-collapse: collapse; border-top: 1px solid #505050;}
.board-list caption {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);}
.board-list thead th {height: 53px; padding: 9px 5px; color: var(--dark); font-size: 17px; font-weight: 700; line-height: 1.5em; border-bottom: 1px solid #505050;}
.board-list tbody td {height: 53px; padding: 9px 5px; color: var(--text); font-size: 16px; line-height: 1.5em; text-align: center; border-bottom: 1px solid #ddd;}
.board-list tbody td.subject {text-align: left; padding-left: 15px;}
.board-list tbody td.subject.empty {text-align: center;}
.board-list tbody td a:hover {text-decoration: underline;}
.board-list tbody tr:hover td {background-color: #fafafa;}
.board-list-m {display: none; border-top: 2px solid #868686;}
.board-list-m li {padding: 14px 0; border-bottom: 1px solid #ddd;}
.board-list-m li.none {padding: 40px 0; text-align: center; color: #999;}
.board-list-m .tit {color: #333; font-size: 15px; font-weight: 500; line-height: 1.4em;}
.board-list-m .info {margin-top: 7px; color: #888; font-size: 12px; line-height: 1.3em;}
.board-list-m .info span {margin-right: 10px;}

.paginate {margin-top: 60px; text-align: center;}
.paginate strong {display: inline-block; width: 38px; height: 38px; margin: 0 3px; color: var(--dark); font-size: 15px; font-weight: 700; line-height: 36px; border: 1px solid var(--dark); border-radius: 100%;}

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
	.sector-items::before {top: -190px; left: -30px; width: 175px; height: 225px;}
	.sector-items::after {right: 0;}
}
@media (max-width: 1280px) {
	.running-business, .work-items, .flex-youtube, .agency-reference .flex-wrap, .black-boxes, .career .flex-wrap {gap: 30px;}
	.running-business p br {display: none;}
	.work-items .item {width: calc((100% - 30px) / 2);}
	.box-items {gap: 20px;}
	.box-items .item {padding: 35px 30px;}
	.box-items .icon {margin-bottom: 20px;}
	.greetings .sec-sector {padding: var(--sub-padding);}
	.sector-items {gap: 30px;}
	.sector-items .caption {left: 20px; top: 30px; font-size: 20px;}
	.sector-items::after {width: 600px; height: 69px;}
	.flex-youtube .item {height: 345px;}
	.agency-reference {padding-bottom: 120px;}
	.brand-fail .img {width: 43.5%;}
	.brand-fail .txt {padding-left: 60px;}
	.desc p:not(:last-child) {margin-bottom: 20px;}
	.black-box .txt {padding: 25px 30px;}
	.store-differ h3::before {top: -15px;}
	.store-differ .right h4 {margin-bottom: 15px !important;}
	.purchase-process .items {padding: 50px 30px;}
	.purchase-process h4 {padding: 15px 30px;}
	.purchase-process .items .item {padding: 20px;}
}
@media (max-width: 1024px) {
	.greetings .section:first-child .flex-wrap {gap: 60px;}
	.greetings .section:first-child .flex-wrap > * {width: auto;}
	.running-business .txt {padding: 25px;}
	.flex-event h3 {width: 30%;}
	.flex-event h3::before {top: -10px;}
	.box-items .icon {margin-bottom: 15px;}
	.box-items .icon img {width: 30px;}
	.box-items .item {padding: 25px 20px;}
	.sector-items::before {top: -140px; left: -15px; width: 145px; height: 187px;}
	.sector-items::after {width: 510px; height: 59px;}
	.sector-items .caption {top: 25px; font-size: 18px;}
	.sec-lawyer .contain::before {bottom: -80px; left: 30px; width: 120px; height: 121px;}
	.sec-lawyer .contain::after {bottom: -80px; width: 85px; height: 120px;}
	.sec-agency .contain::before {bottom: -80px; left: 30px; width: 110px; height: 117px;}
	.sec-agency .contain::after {bottom: -80px; right: 30px; width: 126px;}
	.sec-visit .contain::before {bottom: -80px; left: 30px; width: 110px;}
	.sec-visit .contain::after {bottom: -80px; right: 30px; width: 93px;}
	.flex-youtube .item {height: 305px;}
	.brand-fail .txt {padding-left: 40px;}
	.desc p:not(:last-child) {margin-bottom: 15px;}
	.black-box .txt {padding: 15px 30px;}
	.store-differ .flex-txt {flex-direction: column; gap: 0;}
	.store-differ .right {position: relative; width: 100%; padding-top: 20px; margin-top: 20px;}
	.store-differ .right::before {content: ''; position: absolute; top: 0; left: 0; width: 80px; height: 4px; border-radius: 5px; background: #ccc;}
	.purchase-process h4 {padding: 15px 20px;}
	.purchase-process .items {flex-wrap: wrap; padding: 20px;}
	.flex-tit img {width: 70px;}
	.board-search {margin-bottom: 30px;}
	.career-board {padding: var(--sub-padding);}
	.board-search .search .input {width: 240px;}
	.board-search .input {height: 40px; padding: 5px 14px;}
	.board-search .search button {height: 40px; padding: 0 16px; font-size: 15px;}
	.board-list colgroup col {width: auto !important;}
	.board-list thead th, .board-list tbody td {font-size: 15px;}
}
@media (max-width: 900px) {
	.greetings .section:first-child .flex-wrap {flex-direction: column; gap: 30px;}
	.running-business, .work-items, .flex-youtube, .agency-reference .flex-wrap, .black-boxes, .career .flex-wrap {gap: 20px;}
	.greetings .circle-txt {padding: 25px;}
	.flex-event {flex-direction: column; gap: 30px;}
	.flex-event h3 {width: 100%; padding-right: 0;}
	.box-items .item {width: auto;}
	.box-items {gap: 10px;}
	.sector-items {gap: 10px;}
	.sector-items .caption {top: auto; bottom: 15px; font-size: 16px; text-shadow: 0 0 2px rgba(0,0,0,.5);}
	.sector-items::before {top: -110px; width: 98px; height: 128px;}
	.sector-items::after {width: 380px; height: 44px;}
	.sec-lawyer .contain::before {bottom: -60px; width: 83px;}
	.sec-lawyer .contain::after {bottom: -60px; width: 60px;}
	.sec-agency .contain::before {bottom: -60px; width: 75px;}
	.sec-agency .contain::after {bottom: -60px; width: 80px;}
	.sec-visit .contain::before {bottom: -60px; width: 90px;}
	.sec-visit .contain::after {bottom: -60px; width: 70px;}
	.flex-youtube .item {height: 205px;}
	.brand-fail .item {flex-direction: column; align-items: flex-start; gap: 10px;}
	.brand-fail .txt {padding-left: 0;}
	.work-items .item {width: calc((100% - 20px) / 2);}
}
@media (max-width: 640px) {
	.box-items {flex-direction: column;}
	.box-items .item {width: 100%;}
	.box-items .icon {margin-bottom: 8px;}
	.sector-items {flex-wrap: wrap;}
	.sector-items .item {width: calc((100% - 10px) / 2);}
	.sector-items::before {width: 75px; height: 96px;}
	.sector-items::after {width: 310px;}
	.black-box .img {padding: 15px;}
	.flex-youtube {flex-direction: column;}
	.flex-youtube .item {flex: none; height: auto;}
	.flex-youtube iframe {height: 230px; border-radius: 15px;}
	.img-items {flex-direction: column;}
	.agency-reference {padding-top: 0;}
	.reference-item::before {height: 100%;}
	.agency-reference .flex-wrap {flex-direction: column; gap: 40px;}
	.agency-reference .flex-wrap > * {width: 100%;}
	.black-boxes .black-box {display: none;}
	.black-boxes .black-box.active {display: block;}
	.black-boxes .black-box .caption {position: relative;}
	.black-boxes .black-box .txt {flex-direction: column; padding: 0 0 15px;}
	.black-boxes .black-box.active .img::before {border-bottom: 0;}
	.greetings .desc p br {display: none;}
	.running-business {flex-direction: column;}
	.greetings .circle-txt {border-radius: 30px;}
	.work-items .item {padding: 15px;}
	.flex-event .flex-wrap {flex-direction: column;}
	.flex-event .flex-wrap > * {width: 100%;}
	.sec-agency .contain::before {width: 65px;}
	.sec-agency .contain::after {width: 70px;}
	.brand-fail .img {width: 100%; max-width: none;}
	.sec-visit .contain::before {width: 70px;}
	.sec-visit .contain::after {width: 60px;}
	.flex-tit {flex-direction: column-reverse; align-items: flex-start; gap: 20px;}
	.flex-tit img {width: 45px;}
	.career .flex-wrap {flex-direction: column;}
	.career .flex-wrap .item {width: 100%;}
	.board-search {display: block; margin-bottom: 10px;}
	.board-search .total-page {font-size: 13px;}
	.board-search .cate {margin-bottom: 5px;}
	.board-search .cate .input {display: block; width: 100%;}
	.board-search .search {margin-left: 0;}
	.board-search .input {height: 38px; padding: 0 10px; font-size: 14px;}
	.board-search .search button {height: 38px; padding: 0 14px; font-size: 14px;}
	.board-search .search .input {flex: 1 1 auto; min-width: 0; width: 1%;}
	.board-list {display: none;}
	.board-list-m {display: block;}
	.paginate {margin-top: 20px;}
	.paginate strong {width: 30px; height: 30px; margin: 0 1px; font-size: 14px; line-height: 28px;}
}

/* 전문직 페이지 예시 게시판 (기존 스크린샷 → 텍스트) */
.sample-board {text-align: left;}
.sample-board-title {margin-bottom: 14px; color: var(--black); font-size: 20px; font-weight: 700;}
.sample-board table {width: 100%; border-collapse: collapse; border-top: 2px solid var(--dark); font-size: 16px;}
.sample-board th {padding: 14px 10px; border-bottom: 1px solid #ccc; color: var(--black); font-weight: 500; text-align: center;}
.sample-board td {padding: 16px 10px; border-bottom: 1px solid #e5e5e5; text-align: center; color: var(--text);}
.sample-board th:nth-child(2), .sample-board td.subject {text-align: left;}
.sample-board td.subject {color: var(--black);}
.sample-board .no {display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #eee; color: var(--gray); font-size: 14px; font-weight: 700;}
.sample-board tr.pick .no {background: var(--orange); color: #fff;}
.sample-board tr.pick td.subject {font-weight: 700;}
@media (max-width: 640px) {
	.sample-board-title {font-size: 16px;}
	.sample-board table {font-size: 14px;}
	.sample-board th, .sample-board td {padding: 10px 4px;}
	.sample-board .pc-only {display: none;}
	.sample-board .no {width: 24px; height: 24px; font-size: 12px;}
}

/* 채용 공고가 없을 때 안내 */
.board-list tbody td.subject.empty {padding: 50px 10px; color: var(--gray); line-height: 1.7;}
.board-list tbody td.subject.empty strong {color: var(--black); font-size: 18px;}
.board-list-m li.empty {padding: 36px 0; text-align: center;}
.board-list-m li.empty .tit {color: var(--gray); font-weight: 400; line-height: 1.7;}
.board-list-m li.empty strong {color: var(--black);}
.board-list .empty a, .board-list-m .empty a {color: var(--orange); text-decoration: underline; text-underline-offset: 3px;}

/* 404 페이지 */
.not-found {padding: calc(var(--header-height) + 120px) 0 140px;}
.not-found .code {font-size: 140px; font-weight: 900; line-height: 1; letter-spacing: -.06em; color: var(--orange); margin-bottom: 30px;}
.not-found-links {display: flex; justify-content: center; gap: 12px; margin-bottom: 60px;}
.ghost-btn {display: inline-flex; align-items: center; padding: 16px 36px; border-radius: 40px; border: 1px solid var(--dark); color: var(--dark); font-weight: 700; font-size: 20px; line-height: 1.4; transition: background .2s, color .2s;}
.ghost-btn:hover {background: var(--dark); color: #fff;}
.not-found-menu {display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-top: 40px; border-top: 1px solid #ddd;}
.not-found-menu a {color: var(--text); font-size: 17px;}
.not-found-menu a:hover {color: var(--orange);}
@media (max-width: 640px) {
	.not-found {padding: calc(var(--header-height) + 60px) 0 80px;}
	.not-found .code {font-size: 90px; margin-bottom: 20px;}
	.not-found-links {flex-direction: column; align-items: center; margin-bottom: 40px;}
	.ghost-btn {padding: 13px 26px; font-size: 17px;}
	.not-found-menu {gap: 8px 18px;}
	.not-found-menu a {font-size: 15px;}
}

/* 채용 공고: 상태 표시 · 상세 페이지 */
.job-badge {display: inline-block; margin-right: 8px; padding: 0 9px; border-radius: 4px; background: var(--orange); color: var(--black); font-size: 13px; font-weight: 700; line-height: 22px; vertical-align: 1px;}
.job-badge.closed {background: #e5e5e5; color: var(--gray);}
.job-detail {padding: 100px 0 140px;}
.job-detail .contain {max-width: 960px;}
.job-head {padding-bottom: 30px; margin-bottom: 40px; border-bottom: 2px solid var(--dark);}
.job-meta {display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--gray); font-size: 15px;}
.job-head h2 {font-size: 38px; line-height: 1.35;}
.job-body {color: var(--text); font-size: 18px; line-height: 1.8;}
.job-body h3 {margin: 40px 0 12px; color: var(--black); font-size: 24px; font-weight: 700;}
.job-body h4, .job-body h5 {margin: 28px 0 10px; color: var(--black); font-size: 20px; font-weight: 700;}
.job-body p {margin-bottom: 16px;}
.job-body ul, .job-body ol {margin: 0 0 20px 22px;}
.job-body ul {list-style: disc;}
.job-body ol {list-style: decimal;}
.job-body li {margin-bottom: 6px;}
.job-body a {color: var(--orange); text-decoration: underline; text-underline-offset: 3px;}
.job-actions {display: flex; justify-content: center; gap: 12px; margin-top: 60px; padding-top: 40px; border-top: 1px solid #ddd;}
@media (max-width: 640px) {
	.job-detail {padding: 50px 0 80px;}
	.job-head h2 {font-size: 24px;}
	.job-body {font-size: 16px;}
	.job-body h3 {font-size: 20px; margin-top: 30px;}
	.job-actions {flex-direction: column; align-items: center;}
}
