 @charset "utf-8";

/* ========================================
   기본 레이아웃
   ======================================== */
.sub_content_wrap {
    padding: 8rem 0 20rem;
}

/* ========================================
   공통 버튼 스타일
   ======================================== */
.btn {
    font-size: 1.8em;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    color: #fff;
    background: #6b26fe;
}

.cont04 .btn:hover {
    background-color: #9cb200;
}

.cont06 .btn:hover {
    background-color: #c84700;
}

/* ========================================
   게시판 목록
   ======================================== */
#bo_list {
    margin-bottom: 7.5rem;
}

.blist_wrap {
    margin-bottom: 5rem;
}

/* 목록 헤더 */
.list_head {
    display: grid;
    grid-template-columns: 4rem 8rem 1fr 10rem 10rem;
    padding: 20px 0;
    text-align: center;
    font-weight: 700;
    border-top: 2px solid #333;
    border-bottom: 1px solid #333;
}

.list_head > div {
    font-size: 1.8em;
    border-right: 1px solid #ddd;
}
.list_head .hd_date,
.admin_check .list_body .datetime
{
    border-right: 0;
}

/* 목록 본문 */
.list_body .list_row {
    display: grid;
    grid-template-columns:6rem 1fr 14rem 10rem 10em;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.list_body .list_row:hover {
    background-color: #f5f5f5;
}

.cont06 .list_body .list_row:hover .bd_subject {
    color: #c84700;
    text-decoration: underline;
}

.list_body .list_row .bd_subject {
    color: #333;
    font-weight: 500;
    text-align: left;
    padding-left: 2rem;
}

.list_body .list_row .bd_subject:hover {
	color:#6b26fe;
	text-decoration:underline;
}

/* 관리자 체크박스 */
.admin_check .list_body .list_row {
    color: #777;
    grid-template-columns: 4rem 8rem 1fr 10rem 10rem;
}

/* 답변 상태 */
.reply {display:none;}

.reply span {
    display: inline-block;
    width: 80px;
    text-align: center;
    line-height: 1em;
    padding: 5px 0;
    border-radius: 2rem;
}

.reply .wait {
    color: #777;
    border: 1px solid #ddd;
}

.reply .com {
    color: #fff;
    background-color: #333;
}

/* 목록 없음 메시지 */
.list_none {
    color: #777;
    padding: 4rem 0;
    text-align: center;
}

/* ========================================
   게시판 상세보기
   ======================================== */
#bo_v {
    margin-bottom: 13rem;
}

/* 프로필 정보 */
#bo_v .profile_info {
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 6em;
    background-color: #f4f4f4;
    border-radius: 20px;
}

#bo_v .profile_info h5 {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

#bo_v .info_detail .if_date {
    position: relative;
    padding-right: 15px;
    margin-right: 15px;
	font-size:1.6em;
}

#bo_v .info_detail .sv_guest {
	font-size:1.6em;
}

#bo_v .sv_member {
	font-size:16px;
}

#bo_v .info_detail .if_date:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1rem;
    background-color: #333;
}

.con_info_tbl {
	border:2px solid #333;
	border-radius:20px;
}

/* 글 내용 */
#bo_v_atc {
    margin-bottom: 6rem;
}

#bo_v_con {
    line-height: 1.625em;
}

#bo_v_con img {
    max-width: 100%;
}

/* 사용자 버튼 */
#bo_v_info .btn_bo_user {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#bo_v_info .btn_bo_user a {
    display: block;
    width: 250px;
    font-weight: 600;
    text-align: center;
    padding: 20px 0;
    border: 2px solid #333;
    border-radius: 10px;
    font-size: 1.8em;
    transition: all 0.3s ease;
}

#bo_v_info .btn_bo_user a:hover {
    color: #fff;
	 background-color: #6b26fe;
    border: 2px solid transparent;
}

.cont04 #bo_v_info .btn_bo_user a:hover {
    background-color: #6b26fe;
}

.cont06 #bo_v_info .btn_bo_user a:hover {
    background-color: #6b26fe;
}

/* ========================================
   게시판 글쓰기
   ======================================== */
#bo_w {
    margin-bottom: 17rem;
}


.at-symbol {
	font-size:1.6rem;
}

.write_div input,
.write_div textarea {
    border: none !important;
}

/* 쓰기 헤더 */
.write_header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    color: #333;
    padding-bottom: 3rem;
    border-bottom: 3px solid #333;
    margin-top: 8rem;
}

.write_header p {
    font-size: 1.6rem;
}

.write_header h3 {
    font-size: 3em;
}

.write_header strong {
    color: #6b26fe;
}

/* 옵션 */
.bo_v_option {
    display: flex;
    gap: 1rem;
}

/* 입력 필드 */
.write_div {
    display: grid;
    grid-template-columns: 12rem 1fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.write_div > label {
    font-weight: bold;
    font-size: 1.8em;
}

.write_div > label > strong {
    color: #6b26fe;
}

.write_div #ca_name {
    height: 5rem;
    width: 100%;
    padding: 0 2rem;
    border: 1px solid #ddd;
}

.frm_input,
.bo_w_link input,
.file_wr .input_file {
	font-size:1.6em;
    height: 6rem;
    line-height: 3rem;
    padding: 0 2rem;
    background: #f5f5f5;
}

.wr_content textarea {
    background: #f5f5f5;
	line-height: 1.625em;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wr_content textarea::placeholder {
	font-size:1.6rem;
}

.full_input {
    width: 100%;
}

#wr_content {
    padding: 2rem;
    border: none;
}

/* 특정 입력 필드 */
.name_box input,
.phone_box input {
    max-width: 500px;
}

.email_box #autosave_wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
	flex-wrap:wrap;
}

.email_box input {
	font-size:1.6em;
    max-width: 350px;
    background: #f5f5f5;
    height: 6rem;
    line-height: 3rem;
    padding: 0 2rem;
}

/* 도메인 선택 드롭다운 */
.email_box .domain-dropdown {
    position: relative;
    width: 180px;
    height: 6rem;
    padding: 0 2rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.6em;
    color: #999;
    cursor: pointer;
	border:none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
	background:url('/theme/basic/img/select_arrow.png') no-repeat 85% 50%/10px auto #f5f5f5;
}

select::-ms-expand {
   display:none;
}

/* 링크 입력 */
.bo_w_link {
    position: relative;
}

.bo_w_link input {
    padding-left: 2rem;
}

/* 파일 업로드 */
.file_wr {
    display: flex;
    gap: 1rem;
}

.file_wr .input_file {
    display: block;
    max-width: 35rem;
    width: 100%;
}

.file_wr .file_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #333;
    border-radius: 5px;
    width: 15rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file_wr .file_btn:hover {
    color: #fff;
    background-color: #333;
}

.file_wr .hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

/* 확인 버튼 */
.btn_confirm {
    margin-top: 4rem;
    text-align: center;
}

/* ========================================
   연락처 컨테이너
   ======================================== */
.contact-container {
    margin: 0 auto;
    border: 5px solid #333;
    border-radius: 20px;
    padding: 60px 80px;
    text-align: center;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    margin-bottom: 35px;
    letter-spacing: -0.01em;
}

.contact-description {
    margin-bottom: 40px;
}

.contact-description p {
    font-size: 1.8em;
    color: #333;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #f4f0fb;
    padding: 30px 50px;
	border-radius:1rem;
}

.info-item {
    display: flex;
	gap:10px;
	flex-wrap: wrap;
}

.contact-container .info-label {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.01em;
}

.info-value {
    font-size: 1.8em;
    font-weight: 400;
    color: #333;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.info-value a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #333;
}

#bo_v_con ul {
	padding:38px;
	margin:0;
}

#bo_v_con ul li {
	position:relative;
	display:flex;
	gap:20px;
	font-size:1.6em;
	margin-bottom:20px;
	color:#333;
	padding-left:15px;
}
#bo_v_con ul li:last-child {
	margin-bottom:0;
}

#bo_v_con ul li::before {
	content:'';
	display:block;
	position:absolute;
	top:5px;
	left:0;
	width:5px;
	height:5px;
	border-radius:50%;
	background:#6b26fe;
}

#bo_v_con ul li .tit {
	color:#6b26fe;
	font-weight:500;
	min-width: 40px;
}

.view_box textarea {
	display:none;
}

.view_box .subjecct_box {
	margin-top:60px;
}

.view_box .subjecct_box p {
	font-size:1.6em;
	color:#333;
	line-height:1.625;
	letter-spacing:-0.01em;
	white-space: pre-line;
	word-wrap: break-word;
}

/* ========================================
   개인정보 동의 폼 스타일
   ======================================== */

.privacy-container {
	margin-top:80px;
}

/* 헤더 섹션 */
.privacy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 42px;
    border-bottom: 3px solid #333;
	flex-wrap:wrap;
}

.privacy-title {
    font-size: 3.4em;
    font-weight: 700;
    color: #333;
}

.required-notice {
    font-size: 1.6em;
    color: #666;
    margin: 0;
}

.required-notice strong {
	color: #6b26fe;
}

/* 테이블 스타일 */
.privacy-content {
    margin-bottom: 30px;
}

.privacy-content table {
	color:#333;
	font-size:1.6em;
	text-align:left;
	border-collapse: collapse;
}

.privacy-content table tr td {
	padding:20px;
	border:1px solid #ddd;
	border-top:unset;
}

.privacy-content table tr td.bold {
	background:#f5f5f5;
}

.privacy-content table tr td.bold.bln {
	border-left:none;
}

.privacy-content table tr td.brn {
	border-right:none;
}

/* 동의 섹션 */
.consent-section {
    margin-bottom: 80px;
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
}

.consent-question {
    font-size: 1.8em;
    font-weight: 500;
    color: #333;
}

.consent-question strong {
	color:#6b26fe;
}

.consent-options {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
	 accent-color: #6b26fe;
}

.radio-option label {
    font-size: 1.6em;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.radio-option input[type="radio"]:checked + label {
    color: #6b26fe;
    font-weight: 600;
}

/* 제출 버튼 섹션 */
.submit-section {
    text-align: center;
}

.submit-button {
    color: #333;
    border: 2px solid #333;
    padding: 20px 0;
    font-size: 1.8em;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
	width:250px;
}

.submit-button:hover {
	color:#fff;
	background:#6b26fe;
}

/* ========================================
   이전글/다음글 네비게이션
   ======================================== */

#bo_vc,
.view_box form
.bo_vc_w_wr {
	display:none;
}

.bo_v_nb {
    border-top: 1px solid #ddd;
    margin-top: 5rem;
    margin-bottom: 6rem;
}

.bo_v_nb li {
    display: grid;
    grid-template-columns: 20rem 1fr;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 1.6rem;
}

.bo_v_nb li .nb_head {
    padding: 2.5rem 0;
    text-align: center;
    background-color: #f4f4f4;
    font-weight: 500;
	font-size:1.6rem;
	line-height: 2.5em;
}

.bo_v_nb li .nb_body {
    padding: 2.5rem 0 2.5rem 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo_v_nb li .nb_body span {
    color: #999;
		font-size:1.6rem;
	line-height: 2.5em;
}

.bo_v_nb li .nb_body a {
	color:#333;
		font-size:1.6rem;
	line-height: 2.5em;
}

.wr_content p {
	font-size:1.6em;
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* ========================================
   반응형 미디어 쿼리
   ======================================== */

/* 1080px 이하 */
@media all and (max-width: 1080px) {
    .list_body .list_row .bd_subject {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

	.contact-container {
		padding: 30px 40px;
	}
	.contact-info {
	flex-direction: column;
		gap:20px;
	}
	.info-item {
		gap:20px;
	}

	.privacy-header,
	.consent-section  {
		row-gap:10px;
	}

	.email_box input {
		width:90%;
	}

	.email_box #email_domain {
		width:100%;
	}

	.email_box .domain-dropdown {
		width:100%;
		background:url('/theme/basic/img/select_arrow.png') no-repeat 95% 50%/10px auto #f5f5f5
	}
	.privacy-title {
		font-size:2.2em;
	}

	.privacy-content table tr td {
		padding:10px;
		text-align:center;
		font-size:1.1rem;
	}
	.write_div > label {
		font-size:1.6em;
	}
	.required-notice {
		font-size:1.4rem;
	}
	.radio-option label {
		font-size:1.4em;
	}

	.consent-question {
		font-size: 1.4em;
	}
}

/* 920px 이하 */
@media all and (max-width: 920px) {
    .write_div {
        grid-template-columns: 9rem 1fr;
    }

	.contact-info {
		padding:25px;
		align-items:unset;
	}
	.info-value {
		text-align:left;

	}

}

/* 720px 이하 */
@media all and (max-width: 720px) {
    /* 게시판 목록 */
    .hd_num, .hd_name, .hd_date, .bd_num, .hd_reply {
        display: none;
    }

    .hd_subject {
        grid-column: 1 / span 4;
    }

    .admin_check .list_head {
        grid-template-columns: 3rem 1fr;
    }

    .admin_check .hd_subject {
        grid-column: 2 / 3;
        border-right: 0 !important;
    }

    .list_body .list_row {
        text-align: left;
        grid-template-columns: 8.5rem 9rem 1fr;
        gap: 1rem;
    }

    .admin_check .list_body .list_row {
        grid-template-columns: 3rem  1fr;
    }

    .list_body .list_row .adminchk {
        grid-row: 1 / span 2;
        text-align: center;
    }

    .list_body .list_row .bd_subject {
        padding: 0;
        grid-column: 1 / span 2;
    }

    .admin_check .list_body .list_row .bd_subject {
        grid-column: 2 / span 2;
    }

    .list_body .list_row .reply {
        grid-column: 3 / 4;
        grid-row: 1 / span 2;
        align-self: center;
        justify-self: end;
    }

    .admin_check .list_body .list_row .reply {
        grid-column: 4 / 5;
    }

    /* 글 상세 */
    #bo_v .profile_info {
        padding: 3.5rem 2rem;
    }

    #bo_v .profile_info h5 {
        font-size: 2rem;
    }
}

/* 640px 이하 */
@media all and (max-width: 640px) {
    .bo_v_nb li {
        grid-template-columns: 13rem 1fr;
    }
}

/* 560px 이하 */
@media all and (max-width: 560px) {
    #bo_v_info .btn_bo_user {
        flex-wrap: wrap;
    }

    #bo_v_info .btn_bo_user li,
    #bo_v_info .btn_bo_user li a {
        width: 100%;
    }
}

/* 480px 이하 */
@media (max-width: 480px) {
    .write_header {
        display: block;
        margin-top: 4rem;
    }
	.write_header > p {
		margin-top:10px;
	}
}

/* 420px 이하 */
@media all and (max-width: 420px) {
    .write_div {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}