@charset "utf-8";
/* SIR 지운아빠 */

/* ### 기본 스타일 커스터마이징 시작 ### */

/* 게시판 버튼 */
/* 목록 버튼 */
#bo_gall a.btn_b01 {}
#bo_gall a.btn_b01:focus, #bo_gall a.btn_b01:hover {}
#bo_gall a.btn_b02 {}
#bo_gall a.btn_b02:focus, #bo_gall a.btn_b02:hover {}
#bo_gall a.btn_admin {} /* 관리자 전용 버튼 */
#bo_gall a.btn_admin:focus, #bo_gall .btn_admin:hover {}

/* 읽기 버튼 */
#bo_v a.btn_b01 {}
#bo_v a.btn_b01:focus, #bo_v a.btn_b01:hover {}
#bo_v a.btn_b02 {}
#bo_v a.btn_b02:focus, #bo_v a.btn_b02:hover {}
#bo_v a.btn_admin {} /* 관리자 전용 버튼 */
#bo_v a.btn_admin:focus, #bo_v a.btn_admin:hover {}

/* 쓰기 버튼 */
#bo_w .btn_confirm {} /* 서식단계 진행 */
#bo_w .btn_submit {}
#bo_w button.btn_submit {}
#bo_w fieldset .btn_submit {}
#bo_w .btn_cancel {}
#bo_w button.btn_cancel {}
#bo_w .btn_cancel:focus, #bo_w .btn_cancel:hover {}
#bo_w a.btn_frmline, #bo_w button.btn_frmline {} /* 우편번호검색버튼 등 */
#bo_w button.btn_frmline {}

/* 기본 테이블 */
/* 읽기 내 테이블 */
#bo_v .tbl_head01 {}
#bo_v .tbl_head01 caption {}
#bo_v .tbl_head01 thead th {}
#bo_v .tbl_head01 thead a {}
#bo_v .tbl_head01 thead th input {} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
#bo_v .tbl_head01 tfoot th {}
#bo_v .tbl_head01 tfoot td {}
#bo_v .tbl_head01 tbody th {}
#bo_v .tbl_head01 td {}
#bo_v .tbl_head01 a {}
#bo_v td.empty_table {}

/* 쓰기 테이블 */
#bo_w table {}
#bo_w caption {}
#bo_w .frm_info {}
#bo_w .frm_address {}
#bo_w .frm_file {}

#bo_w .tbl_frm01 {}
#bo_w .tbl_frm01 th {}
#bo_w .tbl_frm01 td {}
#bo_w .tbl_frm01 textarea, #bo_w tbl_frm01 .frm_input {}
#bo_w .tbl_frm01 textarea {}
/*
#bo_w .tbl_frm01 #captcha {}
#bo_w .tbl_frm01 #captcha input {}
*/
#bo_w .tbl_frm01 a {}

/* 필수입력 */
#bo_w .required, #bo_w textarea.required {}

#bo_w .cke_sc {}
#bo_w button.btn_cke_sc{}
#bo_w .cke_sc_def {}
#bo_w .cke_sc_def dl {}
#bo_w .cke_sc_def dl:after {}
#bo_w .cke_sc_def dt, #bo_w .cke_sc_def dd {}
#bo_w .cke_sc_def dt {}
#bo_w .cke_sc_def dd {}

/* ### 기본 스타일 커스터마이징 끝 ### */

/* 게시판 목록 */
.cate_select{
	position:relative;
	width:20%;
}
#bo_cate{
	position:absolute;
	top:100%;
	left:0;
	width:100%;
	display:none;
	z-index:10
}
#bo_cate h2 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin-bottom:10px;padding-left:1px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px;width:100%;}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:100%;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold}
#bo_cate a:hover,#bo_cate #bo_cate_on:hover{
	background:#000;
	color:#fff;
}
.cate_top{
	display: block;
    position: relative;
    margin-left: -1px;
    padding: 6px 0 5px;
    width: 100%;
    border: 1px solid #ddd;
    background: #f7f7f7;
    color: #888;
    text-align: center;
    letter-spacing: -0.1em;
    line-height: 1.2em;
    cursor: pointer;
}
	.cate_top:after{
		content:'▼';
		position:absolute;
		top:50%;
		right:5%;
		transform:translateY(-50%);
		-webkit-transform:translateY(-50%);
		-moz-transform:translateY(-50%);
		-o-transform:translateY(-50%);
		-ms-transform:translateY(-50%);
	}


.td_subject img {margin-left:3px}

/* 갤러리 목록 */
/* #bo_gall h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden} */
#bo_gall #gall_ul {margin:10px 0 0;padding:0;list-style:none;zoom:1}
#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_gall .gall_li {float:left;margin:0 10px 30px 0}

#bo_gall .gall_con {margin:0;padding:0;list-style:none}
#bo_gall .gall_con li {margin:0 0 4px}
#bo_gall .gall_con .gall_subject {display:inline-block;width:50px}

#bo_gall .gall_now .gall_text_href a {color:#ff3061}

#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none}
#bo_gall .gall_href strong, #bo_gall .gall_href span {display:inline-block;background:#f7f7f7;text-align:center;line-height:10em}

#bo_gall .gall_text_href {margin:10px 0 !important}
#bo_gall .gall_text_href a {font-weight:bold}
#bo_gall .gall_text_href span {display:inline !important}
#bo_gall .gall_text_href img {margin:0 0 0 4px}

/* 게시판 목록 공통 */
.bo_fx {margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_list_total {float:left;padding-top:5px}
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;margin-left:5px}
.btn_bo_adm {float:left}
.btn_bo_adm li {float:left;margin-right:5px}
.btn_bo_adm input {}
.bo_notice td {background:#f7f7f2}
.bo_notice td a {font-weight:bold}
.td_num strong {color:#000}
.bo_cate_link {display:inline-block;margin:0 3px 0 0;padding:0 6px 0 0;border-right:1px solid #e7f1ed;color:#999 !important;font-weight:bold;text-decoration:none} /* 글제목줄 분류스타일 */
.bo_current {color:#e8180c}

#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
#bo_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}

#bo_gall li.empty_list {padding:85px 0;text-align:center}

/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrap {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}

#autosave_wrapper {position:relative}
#autosave_pop {display:none;z-index:10;position:absolute;top:24px;right:117px;padding:8px;width:350px;height:auto !important;height:180px;max-height:180px;border:1px solid #565656;background:#fff;overflow-y:scroll}
html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:right}
#autosave_pop button {margin:0;padding:0;border:0;background:transparent}
#autosave_pop ul {margin:10px 0;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid #e9e9e9;zoom:1}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right}
.autosave_close {cursor:pointer}
.autosave_content {display:none}

/* 게시판 읽기 */
#bo_v {margin-bottom:20px;padding-bottom:20px}

#bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em}

#bo_v_title {padding:10px 0;font-size:1.2em}

#bo_v_info {padding:0 0 10px;border-bottom:1px solid #ddd}
#bo_v_info h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_info strong {display:inline-block;margin:0 15px 0 5px;font-weight:normal}
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest {font-weight:bold}

#bo_v_file {}
#bo_v_file h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;padding:0;list-style:none}
#bo_v_file li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
#bo_v_file a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active {text-decoration:none}
#bo_v_file img {float:left;margin:0 10px 0 0}
.bo_v_file_cnt {display:inline-block;margin:0 0 3px 16px}

#bo_v_link {}
#bo_v_link h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_link ul {margin:0;padding:0;list-style:none}
#bo_v_link li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
#bo_v_link a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active {text-decoration:none}
.bo_v_link_cnt {display:inline-block;margin:0 0 3px 16px}

#bo_v_top {margin:0 0 10px;padding:10px 0;zoom:1}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_top ul {margin:0;padding:0;list-style:none}

#bo_v_bot {zoom:1}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_bot ul {margin:0;padding:0;list-style:none}

.bo_v_nb {float:left}
.bo_v_nb li {float:left;margin-right:5px}
.bo_v_com {float:right}
.bo_v_com li {float:left;margin-left:5px}

#bo_v_atc {min-height:200px;height:auto !important;height:200px}
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden;zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img img {margin-bottom:20px;max-width:100%;height:auto}

#bo_v_con {margin-bottom:30px;width:100%;line-height:1.7em;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}

#bo_v_act {margin-bottom:30px;text-align:center}
#bo_v_act .bo_v_act_gng {position:relative}
#bo_v_act a {margin-right:5px;vertical-align:middle}
#bo_v_act strong {color:#ff3061}
#bo_v_act_good, #bo_v_act_nogood {display:none;position:absolute;top:30px;left:0;padding:10px 0;width:165px;background:#ff3061;color:#fff;text-align:center}

#bo_v_sns {margin:0 0 20px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 5px 0 0}

/* 게시판 댓글 */
#bo_vc {margin:0 0 20px;padding:20px 20px 10px;border:1px solid #e5e8ec;background:#f5f8f9}
#bo_vc h2 {margin-bottom:10px}
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:15px 0 5px}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .sv_wrap {margin-right:15px}
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc a {color:#000;text-decoration:none}
#bo_vc p {padding:0 0 5px;line-height:1.8em}
#bo_vc p a {text-decoration:underline}
#bo_vc p a.s_cmt {text-decoration:none}
#bo_vc_empty {margin:0;padding:20px !important;text-align:center}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc footer {zoom:1}
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}

.bo_vc_act {float:right;margin:0;list-style:none;zoom:1}
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act li {float:left;margin-left:5px}

#bo_vc_w {position:relative;margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc_w #char_cnt {display:block;margin:0 0 5px}

#bo_vc_sns {margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 20px 0 0}
#bo_vc_sns input {margin:0 0 0 5px}

.gallery-thumbs_wrap{
	position:relative;
	padding:10px 0;
}

.swiper-slide-thumb-active{
	/* border:3px solid #161f4a; */
	box-sizing:border-box;
}

.gall_thumbname{
	background:rgba(0,0,0,.8);
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	opacity:0;
}
.swiper-slide-thumb-active .gall_thumbname{
	opacity:1;
}


.gall_thumbname_in{
	position:absolute;
	width:100%;
	top:50%;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	-moz-transform:translateY(-50%);
	-o-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	color:#fff;
	text-align:center;
	padding:0 10px;
	box-sizing:border-box;
	font-size:14px;
	white-space: nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis;
}

.tub_ca{
	font-size:12px;
}

.gall_thumbname_in div{
	font-size:14px;
}

.swamp_prev{
	left:-4% !important;
}
.swamp_next{
	right:-4% !important;
}



/* =========================================================
   GALLERY SLIDE
   WRITE
========================================================= */

#bo_w.gallery_write {
    --gallery-primary: var(--color-primary, #76bc38);
    --gallery-text: var(--color-text, #171617);
    --gallery-sub: var(--color-text-sub, #666);
    --gallery-bg: var(--color-bg, #fff);
    --gallery-gray: var(--color-bg-gray, #f8f8f8);
    --gallery-border: var(--color-border-gray, #dcdcdc);

    width: 100%;
    padding: 0 0 60px;
    color: var(--gallery-text);
}


#bo_w.gallery_write * {
    box-sizing: border-box;
}


#bo_w.gallery_write form {
    width: 100% !important;
    margin: 0;
}


/* =========================================================
   HEADER
========================================================= */

.gallery_write_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 35px;
}


.gallery_write_label {
    display: block;

    margin-bottom: 12px;

    font-size: 12px;
    line-height: 1;

    font-weight: 700;
    letter-spacing: 1.4px;

    color: var(--gallery-primary);
}


.gallery_write_head h2 {
    margin: 0;

    font-size: 32px;
    line-height: 1.35;

    font-weight: 700;
    letter-spacing: -1.2px;

    color: var(--gallery-text);
}


.gallery_write_head p {
    margin: 10px 0 0;

    font-size: 14px;
    line-height: 1.7;

    color: var(--gallery-sub);
}


/* =========================================================
   FORM BOX
========================================================= */

.gallery_write_box {
    overflow: hidden;

    width: 100%;

    border-top: 2px solid var(--gallery-text);
    border-bottom: 1px solid var(--gallery-border);

    background: var(--gallery-bg);
}


.gallery_write_table {
    width: 100%;
}


.gallery_form_row {
    display: grid;

    grid-template-columns: 170px minmax(0, 1fr);

    min-height: 82px;

    border-bottom: 1px solid #ececec;
}


.gallery_form_row:last-child {
    border-bottom: 0;
}


/* =========================================================
   TITLE
========================================================= */

.gallery_form_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 22px 25px;

    background: var(--gallery-gray);

    font-size: 14px;
    line-height: 1.5;

    font-weight: 600;

    color: var(--gallery-text);
}


.gallery_form_title label {
    font-size: inherit;
    font-weight: inherit;

    color: inherit;
}


.gallery_form_title small {
    display: block;

    margin-top: 5px;

    font-size: 11px;
    line-height: 1.5;

    font-weight: 400;

    color: #999;
}


.gallery_required {
    display: inline-block;

    margin-left: 5px;

    font-size: 10px;
    font-weight: 600;

    color: var(--gallery-primary);

    vertical-align: 1px;
}


/* =========================================================
   FIELD
========================================================= */

.gallery_form_field {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    padding: 17px 25px;
}


/* 모든 기본 input */

#bo_w.gallery_write .gallery_form_field .frm_input {
    width: 100%;
    max-width: 600px;
    height: 46px;

    padding: 0 15px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    background: var(--gallery-bg);

    font-size: 14px;
    line-height: 44px;

    color: var(--gallery-text);

    transition: border-color .2s ease,
                box-shadow .2s ease;
}


#bo_w.gallery_write .gallery_form_field .frm_input:hover {
    border-color: #aaa;
}


#bo_w.gallery_write .gallery_form_field .frm_input:focus {
    border-color: var(--gallery-primary);

    box-shadow:
        0 0 0 3px
        color-mix(
            in srgb,
            var(--gallery-primary) 12%,
            transparent
        );
}


#bo_w.gallery_write .gallery_form_field .required {
    background-image: none !important;
}


/* 제목 */

#bo_w.gallery_write .gallery_subject {
    max-width: 100%;
}


/* =========================================================
   SELECT
========================================================= */

#bo_w.gallery_write .gallery_select {
    width: 100%;
    max-width: 300px;
    height: 46px;

    padding: 0 42px 0 15px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    background-color: var(--gallery-bg);

    font-size: 14px;

    color: var(--gallery-text);

    cursor: pointer;
}


#bo_w.gallery_write .gallery_select:focus {
    border-color: var(--gallery-primary);
}


/* =========================================================
   OPTION
========================================================= */

.gallery_option {
    display: flex;
    flex-flow: row wrap;
    align-items: center;

    gap: 18px;
}


.gallery_option input[type="checkbox"] {
    width: 17px;
    height: 17px;

    margin: 0 6px 0 0;

    accent-color: var(--gallery-primary);

    vertical-align: -3px;
}


.gallery_option label {
    margin-right: 15px;

    font-size: 13px;

    cursor: pointer;
}


/* =========================================================
   AUTOSAVE
========================================================= */

#bo_w.gallery_write #autosave_wrapper {
    position: relative;

    display: flex;

    width: 100%;
    max-width: 100%;

    gap: 8px;
}


#bo_w.gallery_write #autosave_wrapper .gallery_subject {
    flex: 1;
}


#bo_w.gallery_write #btn_autosave {
    flex: 0 0 auto;

    height: 46px;

    padding: 0 17px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: var(--gallery-bg);

    font-size: 12px;

    color: var(--gallery-sub);

    cursor: pointer;
}


#bo_w.gallery_write #btn_autosave:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


#bo_w.gallery_write #autosave_pop {
    z-index: 100;

    position: absolute;

    right: 0;
    top: 54px;

    display: none;

    width: 360px;
    max-width: 100%;
    max-height: 250px;

    padding: 20px;

    border: 1px solid var(--gallery-border);
    border-radius: 8px;

    background: #fff;

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

    overflow-y: auto;
}


/* =========================================================
   CONTENT / EDITOR
========================================================= */

.gallery_content_row {
    min-height: 300px;
}


.gallery_content_row .gallery_form_title {
    justify-content: flex-start;

    padding-top: 28px;
}


.gallery_content_row .gallery_form_field {
    display: block;

    padding-top: 25px;
    padding-bottom: 25px;
}


.gallery_editor {
    width: 100%;
}


#bo_w.gallery_write textarea#wr_content {
    display: block;

    width: 100% !important;
    min-height: 260px;

    padding: 18px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    resize: vertical;

    font-size: 14px;
    line-height: 1.8;

    color: var(--gallery-text);
}


#bo_w.gallery_write textarea#wr_content:focus {
    border-color: var(--gallery-primary);
}


#bo_w.gallery_write .cke {
    border-color: var(--gallery-border) !important;
}


#bo_w.gallery_write #char_count_desc {
    margin: 0 0 10px;

    font-size: 12px;

    color: var(--gallery-sub);
}


#bo_w.gallery_write #char_count_wrap {
    margin-top: 8px;

    font-size: 11px;

    text-align: right;

    color: #999;
}


/* =========================================================
   FILE
========================================================= */

.gallery_file_row {
    min-height: 150px;
}


.gallery_file_box {
    width: 100%;
}


.gallery_file_info {
    margin-bottom: 13px;
}


.gallery_file_info strong {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
    line-height: 1.5;

    color: var(--gallery-text);
}


.gallery_file_info p {
    margin: 0;

    font-size: 12px;
    line-height: 1.6;

    color: #999;
}


#bo_w.gallery_write
.gallery_form_field
.gallery_file_input {
    max-width: 100%;
    height: auto;

    padding: 8px;

    line-height: normal;

    background: var(--gallery-gray);
}


.gallery_file_input::file-selector-button {
    height: 36px;

    margin-right: 13px;

    padding: 0 16px;

    border: 0;
    border-radius: 4px;

    background: var(--gallery-text);

    font-size: 12px;

    color: #fff;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_file_input::file-selector-button:hover {
    background: var(--gallery-primary);
}


#bo_w.gallery_write
.gallery_form_field
.gallery_file_desc {
    max-width: 100%;

    margin-top: 8px;
}


/* 기존 파일 */

.gallery_file_current {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 12px;

    padding: 13px 15px;

    border-radius: 5px;

    background: var(--gallery-gray);
}


.gallery_file_current > div {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 10px;
}


.gallery_file_current > div span {
    flex: 0 0 auto;

    font-size: 10px;
    font-weight: 600;

    color: var(--gallery-primary);
}


.gallery_file_current > div strong {
    overflow: hidden;

    font-size: 12px;
    font-weight: 500;

    color: var(--gallery-text);

    white-space: nowrap;
    text-overflow: ellipsis;
}


.gallery_file_current > div em {
    flex: 0 0 auto;

    font-size: 10px;
    font-style: normal;

    color: #999;
}


.gallery_file_delete {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    gap: 6px;

    font-size: 11px;

    color: var(--gallery-sub);

    cursor: pointer;
}


.gallery_file_delete input {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: var(--gallery-primary);
}


/* =========================================================
   CAPTCHA
========================================================= */

.gallery_captcha {
    display: block;
}


/* =========================================================
   BUTTON
========================================================= */

.gallery_write_btns {
    display: flex;
    justify-content: flex-end;

    gap: 8px;

    margin-top: 30px;
}


#bo_w.gallery_write .gallery_btn_cancel,
#bo_w.gallery_write .gallery_btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 110px;
    height: 48px;

    padding: 0 22px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


#bo_w.gallery_write .gallery_btn_cancel {
    border: 1px solid var(--gallery-border);

    background: var(--gallery-bg);

    color: var(--gallery-sub);
}


#bo_w.gallery_write .gallery_btn_cancel:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


#bo_w.gallery_write .gallery_btn_submit {
    border: 1px solid var(--gallery-text);

    background: var(--gallery-text);

    color: #fff;
}


#bo_w.gallery_write .gallery_btn_submit:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);
}


#bo_w.gallery_write .gallery_btn_submit:disabled {
    opacity: .5;

    cursor: default;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .gallery_form_row {
        grid-template-columns: 145px minmax(0, 1fr);
    }


    .gallery_form_title {
        padding-left: 20px;
        padding-right: 20px;
    }


    .gallery_form_field {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #bo_w.gallery_write {
        padding-bottom: 40px;
    }


    /* HEADER */

    .gallery_write_head {
        margin-bottom: 25px;
    }


    .gallery_write_label {
        margin-bottom: 9px;

        font-size: 10px;
    }


    .gallery_write_head h2 {
        font-size: 26px;

        letter-spacing: -1px;
    }


    .gallery_write_head p {
        margin-top: 7px;

        font-size: 13px;
    }


    /* FORM */

    .gallery_form_row {
        display: block;

        min-height: 0;
    }


    .gallery_form_title {
        display: block;

        padding: 17px 15px 8px;

        background: var(--gallery-bg);

        font-size: 13px;
    }


    .gallery_form_title small {
        display: inline-block;

        margin: 0 0 0 5px;
    }


    .gallery_form_field {
        display: block;

        padding: 0 15px 18px;
    }


    #bo_w.gallery_write
    .gallery_form_field
    .frm_input {
        max-width: 100%;
    }


    #bo_w.gallery_write .gallery_select {
        max-width: 100%;
    }


    /* OPTION */

    .gallery_option {
        display: flex;

        padding-top: 4px;

        gap: 8px 14px;
    }


    /* AUTOSAVE */

    #bo_w.gallery_write #autosave_wrapper {
        display: block;
    }


    #bo_w.gallery_write #btn_autosave {
        width: 100%;

        margin-top: 7px;
    }


    #bo_w.gallery_write #autosave_pop {
        top: 101px;

        width: 100%;
    }


    /* CONTENT */

    .gallery_content_row .gallery_form_title {
        padding-top: 17px;
    }


    .gallery_content_row .gallery_form_field {
        padding-top: 0;
        padding-bottom: 18px;
    }


    #bo_w.gallery_write textarea#wr_content {
        min-height: 220px;

        padding: 14px;

        font-size: 13px;
    }


    /* FILE */

    .gallery_file_row {
        min-height: 0;
    }


    .gallery_file_info {
        margin-bottom: 10px;
    }


    .gallery_file_current {
        display: block;
    }


    .gallery_file_current > div {
        margin-bottom: 10px;
    }


    /* BUTTON */

    .gallery_write_btns {
        margin-top: 20px;
    }


    #bo_w.gallery_write .gallery_btn_cancel,
    #bo_w.gallery_write .gallery_btn_submit {
        flex: 1;

        min-width: 0;
        height: 46px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .gallery_write_head h2 {
        font-size: 23px;
    }


    .gallery_write_head p {
        word-break: keep-all;
    }


    .gallery_file_current > div {
        flex-wrap: wrap;
    }


    .gallery_file_current > div strong {
        width: calc(100% - 50px);
    }

}






/* =========================================================
   GALLERY SLIDE
   LIST
========================================================= */

#bo_gall.gallery_slide_board {
    --gallery-primary: var(--color-primary, #76bc38);
    --gallery-text: var(--color-text, #171617);
    --gallery-sub: var(--color-text-sub, #666);
    --gallery-bg: var(--color-bg, #fff);
    --gallery-gray: var(--color-bg-gray, #f8f8f8);
    --gallery-border: var(--color-border-gray, #dcdcdc);

    position: relative;

    width: 100% !important;
    margin: 0 auto;

    padding: 0 0 60px;

    color: var(--gallery-text);
}


#bo_gall.gallery_slide_board * {
    box-sizing: border-box;
}


/* =========================================================
   TOP UTIL
========================================================= */

.gallery_top_util {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 7px;

    margin-bottom: 20px;
}


.gallery_util_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 40px;

    padding: 0 16px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: var(--gallery-bg);

    font-size: 12px;
    font-weight: 500;

    color: var(--gallery-sub);

    text-decoration: none;

    transition: var(--transition, all .3s ease);
}


.gallery_util_btn:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


.gallery_util_write {
    border-color: var(--gallery-text);

    background: var(--gallery-text);

    color: #fff;
}


.gallery_util_write:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);

    color: #fff;
}


/* =========================================================
   CATEGORY
========================================================= */

.gallery_category {
    position: relative;

    width: 220px;

    margin-bottom: 20px;
}


.gallery_category_btn {
    position: relative;

    width: 100%;
    height: 44px;

    padding: 0 42px 0 15px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: var(--gallery-bg);

    font-size: 13px;

    text-align: left;

    color: var(--gallery-text);

    cursor: pointer;
}


.gallery_category_btn i {
    position: absolute;

    right: 17px;
    top: 50%;

    width: 7px;
    height: 7px;

    margin-top: -5px;

    border-right: 1px solid var(--gallery-text);
    border-bottom: 1px solid var(--gallery-text);

    transform: rotate(45deg);

    transition: transform .2s ease;
}


.gallery_category_btn.active i {
    margin-top: -2px;

    transform: rotate(225deg);
}


.gallery_category_list {
    z-index: 30;

    position: absolute;

    left: 0;
    top: calc(100% + 5px);

    display: none;

    width: 100%;

    padding: 8px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: #fff;

    box-shadow: 0 10px 30px rgba(0,0,0,.07);
}


.gallery_category_list ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.gallery_category_list li {
    margin: 0;
    padding: 0;
}


.gallery_category_list a {
    display: block;

    padding: 10px 11px;

    border-radius: 4px;

    font-size: 12px;

    color: var(--gallery-sub);

    text-decoration: none;
}


.gallery_category_list a:hover,
.gallery_category_list #bo_cate_on {
    background: var(--gallery-gray);

    color: var(--gallery-primary);
}


/* =========================================================
   MAIN
========================================================= */

.gallery_main {
    position: relative;

    width: 100%;
}


.gallery-top {
    position: relative;

    overflow: hidden;

    width: 100%;

    background: #fff;
}


.gallery_main_slide {
    position: relative;

    width: 100%;
}


.gallery_main_image {
    position: relative;

    overflow: hidden;

    width: 100%;

    background:#fff;
}


/*
    큰 이미지는 강제로 정해진 높이에 자르지 않고
    원본 비율대로 출력
*/

.gallery_main_image > a {
    display: block;

    width: 100%;
}


.gallery_main_image img {
    display: block;

    width: 100%;
		max-width:600px;
    height: auto;

    margin: 0 auto;
}


/* 이미지 정보 */

.gallery_main_info {
    display: flex;
		justify-content:center;
    align-items: center;
    gap: 15px;
    padding: 20px 5px 0;
		text-align:center;
    background: var(--gallery-bg);
}


.gallery_main_category {
    flex: 0 0 auto;

    font-size: 11px;
    font-weight: 700;

    color: var(--gallery-primary);
}


.gallery_main_info strong {
    overflow: hidden;

    font-size: 15px;
    font-weight: 500;

    color: var(--gallery-text);

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   MAIN ARROW
========================================================= */

.gallery_main_prev,
.gallery_main_next {
    z-index: 20;

    position: absolute;

    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-top: -26px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.92);

    box-shadow: 0 3px 15px rgba(0,0,0,.08);

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_main_prev {
    left: 20px;
}


.gallery_main_next {
    right: 20px;
}


.gallery_main_prev:hover,
.gallery_main_next:hover {
    background: var(--gallery-primary);
}


.gallery_main_prev span,
.gallery_main_next span {
    width: 10px;
    height: 10px;

    border-top: 2px solid var(--gallery-text);
    border-right: 2px solid var(--gallery-text);
}


.gallery_main_prev span {
    margin-left: 4px;

    transform: rotate(-135deg);
}


.gallery_main_next span {
    margin-right: 4px;

    transform: rotate(45deg);
}


.gallery_main_prev:hover span,
.gallery_main_next:hover span {
    border-color: #fff;
}


/* =========================================================
   ADMIN CHECK
========================================================= */

.gallery_slide_check {
    z-index: 25;

    position: absolute;

    left: 15px;
    top: 15px;
}


.gallery_slide_check label {
    display: flex;
    align-items: center;

    gap: 5px;

    padding: 7px 10px;

    border-radius: 5px;

    background: rgba(255,255,255,.92);

    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    font-size: 11px;

    cursor: pointer;
}


.gallery_slide_check input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: var(--gallery-primary);
}


/* =========================================================
   THUMBNAIL
========================================================= */

.gallery_thumbs_area {
    position: relative;

    margin-top: 28px;

    padding: 0 48px;
}


.gallery-thumbs {
    overflow: hidden;

    width: 100%;
}


.gallery_thumb_slide {
    height: auto;

    cursor: pointer;
}


.gallery_thumb_image {
    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 16 / 10;

    border: 2px solid transparent;
    border-radius: 5px;

    background: var(--gallery-gray);

    transition:
        border-color .25s ease,
        opacity .25s ease;
}


.gallery_thumb_image img {
    display: block;

    width: 100%;
    height: 100%;
		aspect-ratio: 16 / 10;

    object-fit: cover;

    transition: transform .4s ease;
}


.gallery_thumb_slide:hover
.gallery_thumb_image img {
    transform: scale(1.04);
}


/* 선택된 썸네일 */

.gallery_thumb_slide.swiper-slide-thumb-active
.gallery_thumb_image {
    border-color: var(--gallery-primary);
}


/* =========================================================
   THUMB OVERLAY
========================================================= */

.gallery_thumb_overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px 13px 11px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0),
            rgba(0,0,0,.65)
        );

    opacity: 0;

    transition: opacity .25s ease;
}


.gallery_thumb_slide:hover
.gallery_thumb_overlay,
.gallery_thumb_slide.swiper-slide-thumb-active
.gallery_thumb_overlay {
    opacity: 1;
}


.gallery_thumb_overlay span {
    display: block;

    margin-bottom: 3px;

    font-size: 9px;
    font-weight: 600;

    color: var(--gallery-primary);
}


.gallery_thumb_overlay strong {
    display: block;

    overflow: hidden;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 500;

    color: #fff;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   THUMB ARROW
========================================================= */

.gallery_thumb_prev,
.gallery_thumb_next {
    position: absolute;

    top: 50%;

    width: 35px;
    height: 35px;

    margin-top: -17px;

    padding: 0;

    border: 1px solid var(--gallery-border);
    border-radius: 50%;

    background: #fff;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_thumb_prev {
    left: 0;
}


.gallery_thumb_next {
    right: 0;
}


.gallery_thumb_prev:hover,
.gallery_thumb_next:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);
}


.gallery_thumb_prev span,
.gallery_thumb_next span {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 7px;
    height: 7px;

    border-top: 1px solid var(--gallery-text);
    border-right: 1px solid var(--gallery-text);
}


.gallery_thumb_prev span {
    transform:
        translate(-35%, -50%)
        rotate(-135deg);
}


.gallery_thumb_next span {
    transform:
        translate(-65%, -50%)
        rotate(45deg);
}


.gallery_thumb_prev:hover span,
.gallery_thumb_next:hover span {
    border-color: #fff;
}


/* swiper disabled */

.gallery_thumb_prev.swiper-button-disabled,
.gallery_thumb_next.swiper-button-disabled,
.gallery_main_prev.swiper-button-disabled,
.gallery_main_next.swiper-button-disabled {
    opacity: .25;

    cursor: default;
}


/* =========================================================
   NO IMAGE
========================================================= */

.gallery_no_image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 450px;

    background: var(--gallery-gray);
}


.gallery_no_image span,
.gallery_thumb_empty span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    color: #aaa;
}


.gallery_thumb_empty {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: var(--gallery-gray);
}


/* =========================================================
   BOTTOM BUTTON
========================================================= */

.gallery_bottom_util {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 35px;
}


.gallery_admin_btns,
.gallery_user_btns {
    display: flex;
    align-items: center;

    gap: 6px;
}


.gallery_check_all {
    display: inline-flex;
    align-items: center;

    height: 40px;

    gap: 6px;

    padding: 0 13px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    font-size: 11px;

    color: var(--gallery-sub);

    cursor: pointer;
}


.gallery_check_all input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: var(--gallery-primary);
}


.gallery_admin_btn,
.gallery_list_btn,
.gallery_write_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 40px;

    padding: 0 15px;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 500;

    text-decoration: none;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_admin_btn,
.gallery_list_btn {
    border: 1px solid var(--gallery-border);

    background: #fff;

    color: var(--gallery-sub);
}


.gallery_admin_btn:hover,
.gallery_list_btn:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


.gallery_write_btn {
    border: 1px solid var(--gallery-text);

    background: var(--gallery-text);

    color: #fff;
}


.gallery_write_btn:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);

    color: #fff;
}


/* =========================================================
   EMPTY
========================================================= */

.gallery_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 450px;

    padding: 80px 20px;

    border-top: 1px solid var(--gallery-border);
    border-bottom: 1px solid var(--gallery-border);

    text-align: center;
}


.gallery_empty > span {
    margin-bottom: 13px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: var(--gallery-primary);
}


.gallery_empty strong {
    font-size: 22px;

    color: var(--gallery-text);
}


.gallery_empty p {
    margin: 10px 0 0;

    font-size: 13px;

    color: var(--gallery-sub);
}


/* =========================================================
   SEARCH
========================================================= */

#bo_sch.gallery_search {
    margin: 50px auto 0;
    padding: 0;

    border: 0;
}


.gallery_search form {
    display: flex;
    justify-content: center;

    gap: 6px;

    margin: 0;
}


.gallery_search select {
    width: 120px;
    height: 44px;

    padding: 0 12px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    background: #fff;

    font-size: 12px;

    color: var(--gallery-sub);
}


.gallery_search_input {
    display: flex;

    width: 320px;
}


.gallery_search_input input {
    flex: 1;

    min-width: 0;
    height: 44px;

    padding: 0 14px;

    border: 1px solid var(--gallery-border);
    border-right: 0;
    border-radius: 5px 0 0 5px;

    outline: 0;

    font-size: 12px;

    color: var(--gallery-text);
}


.gallery_search_input input:focus {
    border-color: var(--gallery-primary);
}


.gallery_search_input button {
    flex: 0 0 auto;

    width: 65px;

    border: 1px solid var(--gallery-text);
    border-radius: 0 5px 5px 0;

    background: var(--gallery-text);

    font-size: 12px;

    color: #fff;

    cursor: pointer;
}


/* =========================================================
   PAGING
========================================================= */

.gallery_paging {
    margin-top: 40px;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .gallery_main_prev,
    .gallery_main_next {
        width: 46px;
        height: 46px;

        margin-top: -23px;
    }


    .gallery_main_prev {
        left: 15px;
    }


    .gallery_main_next {
        right: 15px;
    }


    .gallery_thumbs_area {
        padding: 0 42px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #bo_gall.gallery_slide_board {
        padding-bottom: 40px;
    }


    /* UTIL */

    .gallery_top_util {
        margin-bottom: 15px;
    }


    .gallery_util_btn {
        height: 36px;

        padding: 0 12px;

        font-size: 10px;
    }


    /* CATEGORY */

    .gallery_category {
        width: 100%;

        margin-bottom: 15px;
    }


    /* MAIN */

    .gallery_main_info {
        gap: 9px;

        padding-top: 14px;
    }


    .gallery_main_info strong {
        font-size: 13px;
    }


    .gallery_main_category {
        font-size: 9px;
    }


    /* MAIN ARROW */

    .gallery_main_prev,
    .gallery_main_next {
        width: 38px;
        height: 38px;

        margin-top: -19px;

        background: rgba(255,255,255,.9);
    }


    .gallery_main_prev {
        left: 10px;
    }


    .gallery_main_next {
        right: 10px;
    }


    .gallery_main_prev span,
    .gallery_main_next span {
        width: 8px;
        height: 8px;
    }


    /* CHECK */

    .gallery_slide_check {
        left: 10px;
        top: 10px;
    }


    .gallery_slide_check label {
        padding: 6px 8px;

        font-size: 10px;
    }


    /* THUMB */

    .gallery_thumbs_area {
        margin-top: 20px;

        padding: 0;
    }


    .gallery_thumb_prev,
    .gallery_thumb_next {
        display: none;
    }


    .gallery_thumb_image {
        border-radius: 4px;
    }


    /* BUTTON */

    .gallery_bottom_util {
        display: block;

        margin-top: 25px;
    }


    .gallery_admin_btns {
        flex-wrap: wrap;

        margin-bottom: 10px;
    }


    .gallery_user_btns {
        justify-content: flex-end;
    }


    /* SEARCH */

    #bo_sch.gallery_search {
        margin-top: 35px;
    }


    .gallery_search form {
        width: 100%;
    }


    .gallery_search select {
        width: 100px;
    }


    .gallery_search_input {
        flex: 1;

        min-width: 0;
    }


    .gallery_search_input button {
        width: 58px;
    }


    .gallery_empty {
        min-height: 300px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .gallery_top_util {
        flex-wrap: wrap;
    }


    .gallery_main_prev,
    .gallery_main_next {
        width: 34px;
        height: 34px;

        margin-top: -17px;
    }


    .gallery_admin_btn,
    .gallery_list_btn,
    .gallery_write_btn,
    .gallery_check_all {
        height: 38px;

        padding-left: 11px;
        padding-right: 11px;

        font-size: 10px;
    }


    .gallery_search form {
        display: block;
    }


    .gallery_search select {
        width: 100%;

        margin-bottom: 6px;
    }


    .gallery_search_input {
        width: 100%;
    }

}


/* =========================================================
   0104 PRODUCTION FACILITY
   LIST
========================================================= */

.facility_board {
    width: 100%;
    padding: 110px 0 140px;
}


/* =========================================================
   INTRO
========================================================= */

.facility_intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
    gap: 80px;
    align-items: end;

    padding: 95px 0 80px;
}

.facility_intro_title {
    min-width: 0;
}

.facility_intro_en {
    display: block;

    margin-bottom: 24px;

    color: var(--color-primary);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .06em;
}

.facility_intro_title h2 {
    margin: 0;

    color: #181818;

    font-size: clamp(38px, 3.1vw, 54px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.05em;

    word-break: keep-all;
}

.facility_intro_desc {
    padding-bottom: 7px;
}

.facility_intro_desc p {
    max-width: 480px;

    margin: 0;

    color: #555;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -.025em;

    word-break: keep-all;
}

.facility_intro_desc > span {
    display: block;

    margin-top: 28px;
    padding-top: 20px;

    border-top: 1px solid #ddd;

    color: #999;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .06em;
}



/* =========================================================
   CATEGORY
========================================================= */

.facility_board .gallery_category {
    position: relative;

    width: 220px;

    margin: 0 0 30px auto;
}

.facility_board .gallery_category_btn {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: 48px;

    padding: 0 18px;

    border: 1px solid #ddd;
    border-radius: 0;

    background: #fff;

    color: #333;

    font-size: 14px;
}

.facility_board .gallery_category_btn i {
    width: 7px;
    height: 7px;

    border-right: 1px solid #555;
    border-bottom: 1px solid #555;

    transform: rotate(45deg) translateY(-2px);

    transition: transform .25s ease;
}

.facility_board .gallery_category_btn.active i {
    transform: rotate(225deg) translate(-2px, -2px);
}


/* =========================================================
   MAIN GALLERY
========================================================= */

.facility_board .gallery_main {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.facility_board .gallery-top {
    overflow: hidden;
}

.facility_board .gallery_main_slide {
    position: relative;
}

.facility_board .gallery_main_image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 8.2;

    overflow: hidden;

    background: #f3f3f3;
}

.facility_board .gallery_main_image a {
    display: block;

    width: 100%;
    height: 100%;
}

.facility_board .gallery_main_image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .8s cubic-bezier(.2,.6,.3,1);
}

.facility_board .gallery_main_image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   MAIN INFO
========================================================= */

.facility_board .gallery_main_info {
    display: grid;

    grid-template-columns:
        70px
        minmax(0, 1fr)
        auto;

    gap: 25px;

    align-items: center;

    min-height: 120px;

    padding: 28px 0;

    border-bottom: 1px solid #ddd;
}

.facility_board .gallery_main_number {
    color: #aaa;

    font-size: 14px;
    font-weight: 600;

    line-height: 1;
}

.facility_board .gallery_main_text {
    min-width: 0;
}

.facility_board .gallery_main_category {
    display: block;

    margin-bottom: 8px;

    color: var(--color-primary);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: .04em;
}

.facility_board .gallery_main_text strong {
    display: block;

    color: #181818;

    font-size: clamp(22px, 1.7vw, 28px);
    font-weight: 700;

    line-height: 1.35;
    letter-spacing: -.035em;
}

.facility_board .gallery_main_edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 92px;
    height: 40px;

    padding: 0 18px;

    border: 1px solid #ddd;
    border-radius: 30px;

    background: #fff;

    color: #555;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    transition:
        border-color .25s ease,
        color .25s ease,
        background .25s ease;
}

.facility_board .gallery_main_edit span {
    transition: transform .25s ease;
}

.facility_board .gallery_main_edit:hover {
    border-color: var(--color-primary);

    color: var(--color-primary);
}

.facility_board .gallery_main_edit:hover span {
    transform: translateX(3px);
}


/* =========================================================
   MAIN ARROWS
========================================================= */

.facility_board .gallery_main_prev,
.facility_board .gallery_main_next {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 58px;
    height: 58px;

    margin-top: -60px;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.92);

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;
}

.facility_board .gallery_main_prev {
    left: 25px;
}

.facility_board .gallery_main_next {
    right: 25px;
}

.facility_board .gallery_main_prev:hover,
.facility_board .gallery_main_next:hover {
    background: #fff;

    transform: scale(1.06);
}

.facility_board .gallery_main_prev span,
.facility_board .gallery_main_next span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 10px;
    height: 10px;

    border-top: 1px solid #222;
    border-right: 1px solid #222;
}

.facility_board .gallery_main_prev span {
    transform:
        translate(-35%, -50%)
        rotate(-135deg);
}

.facility_board .gallery_main_next span {
    transform:
        translate(-65%, -50%)
        rotate(45deg);
}


/* =========================================================
   THUMBNAILS
========================================================= */

.facility_board .gallery_thumbs_area {
    position: relative;

    margin-top: 55px;

    padding: 0 45px;
}

.facility_board .gallery-thumbs {
    overflow: hidden;
}

.facility_board .gallery_thumb_slide {
    cursor: pointer;
}

.facility_board .gallery_thumb_image {
    position: relative;

    width: 100%;

    aspect-ratio: 1.45 / 1;

    overflow: hidden;

    background: #f3f3f3;
}

.facility_board .gallery_thumb_image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .65;

    transition:
        opacity .3s ease,
        transform .5s ease;
}

.facility_board .gallery_thumb_slide:hover img,
.facility_board .gallery_thumb_slide.swiper-slide-thumb-active img {
    opacity: 1;
}

.facility_board .gallery_thumb_slide:hover img {
    transform: scale(1.04);
}

.facility_board .gallery_thumb_slide.swiper-slide-thumb-active
.gallery_thumb_image::after {
    content: "";

    position: absolute;

    inset: 0;

    border: 2px solid var(--color-primary);

    pointer-events: none;
}


/* thumbnail title */

.facility_board .gallery_thumb_info {
    display: flex;

    align-items: center;

    gap: 12px;

    padding-top: 14px;
}

.facility_board .gallery_thumb_info span {
    color: #aaa;

    font-size: 14px;
    font-weight: 600;
}

.facility_board .gallery_thumb_info strong {
    overflow: hidden;

    color: #555;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.facility_board
.gallery_thumb_slide.swiper-slide-thumb-active
.gallery_thumb_info strong {
    color: #181818;

    font-weight: 700;
}


/* =========================================================
   THUMB ARROWS
========================================================= */

.facility_board .gallery_thumb_prev,
.facility_board .gallery_thumb_next {
    position: absolute;

    top: 35%;

    z-index: 10;

    width: 30px;
    height: 30px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.facility_board .gallery_thumb_prev {
    left: 0;
}

.facility_board .gallery_thumb_next {
    right: 0;
}

.facility_board .gallery_thumb_prev span,
.facility_board .gallery_thumb_next span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 9px;
    height: 9px;

    border-top: 1px solid #555;
    border-right: 1px solid #555;
}

.facility_board .gallery_thumb_prev span {
    transform:
        translate(-35%, -50%)
        rotate(-135deg);
}

.facility_board .gallery_thumb_next span {
    transform:
        translate(-65%, -50%)
        rotate(45deg);
}


/* =========================================================
   EMPTY
========================================================= */

.facility_board .gallery_empty {
    padding: 120px 30px;

    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    text-align: center;
}

.facility_board .gallery_empty span {
    display: block;

    margin-bottom: 15px;

    color: var(--color-primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: .08em;
}

.facility_board .gallery_empty strong {
    display: block;

    color: #181818;

    font-size: 24px;
    font-weight: 700;
}

.facility_board .gallery_empty p {
    margin: 12px 0 0;

    color: #777;

    font-size: 16px;
}


/* =========================================================
   TABLET
========================================================= */

@media all and (max-width:1024px) {

    .facility_board {
        padding: 90px 0 110px;
    }

    .facility_intro {
        grid-template-columns: 1.15fr .85fr;
        gap: 50px;

        padding: 75px 0 65px;
    }

    .facility_intro_title h2 {
        font-size: 38px;
    }

    .facility_board .gallery_main_image {
        aspect-ratio: 16 / 9;
    }

    .facility_board .gallery_main_info {
        grid-template-columns:
            50px
            minmax(0,1fr)
            auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media all and (max-width:767px) {

    .facility_board {
        padding: 65px 0 85px;
    }

    .facility_intro {
        display: block;

        padding: 55px 0 45px;
    }

    .facility_intro_en {
        margin-bottom: 16px;

        font-size: 14px;
    }

    .facility_intro_title h2 {
        font-size: 30px;
        line-height: 1.3;
    }

    .facility_intro_desc {
        margin-top: 28px;
        padding-bottom: 0;
    }

    .facility_intro_desc p {
        font-size: 16px;
    }

    .facility_intro_desc > span {
        margin-top: 22px;
        padding-top: 16px;
    }

    .facility_board .gallery_category {
        width: 100%;

        margin-bottom: 20px;
    }

    .facility_board .gallery_main_image {
        aspect-ratio: 4 / 3;
    }

    .facility_board .gallery_main_info {
        grid-template-columns:
            35px
            minmax(0,1fr);

        gap: 12px;

        min-height: 0;

        padding: 20px 0;
    }

    .facility_board .gallery_main_edit {
        grid-column: 2;

        justify-self: start;

        min-width: 82px;
        height: 36px;

        margin-top: 5px;

        padding: 0 14px;

        font-size: 14px;
    }

    .facility_board .gallery_main_text strong {
        font-size: 20px;
    }

    .facility_board .gallery_main_prev,
    .facility_board .gallery_main_next {
        width: 42px;
        height: 42px;

        margin-top: -50px;
    }

    .facility_board .gallery_main_prev {
        left: 12px;
    }

    .facility_board .gallery_main_next {
        right: 12px;
    }

    .facility_board .gallery_thumbs_area {
        margin-top: 35px;

        padding: 0;
    }

    .facility_board .gallery_thumb_prev,
    .facility_board .gallery_thumb_next {
        display: none;
    }

    .facility_board .gallery_thumb_info {
        gap: 8px;

        padding-top: 10px;
    }

}





/* =========================================================
   PRODUCTION FACILITY
   ADMIN VIEW
========================================================= */

.facility_admin_view {
    width: 100%;

    padding: 100px 0 130px;
}


/* =========================================================
   HEADER
========================================================= */

.facility_admin_head {
    position: relative;

    padding-bottom: 55px;

    border-bottom: 1px solid #ddd;
}

.facility_admin_label {
    display: block;

    margin-bottom: 22px;

    color: var(--color-primary);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: .08em;
}

.facility_admin_category {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    margin-bottom: 18px;
    padding: 5px 14px;

    border: 1px solid #ddd;
    border-radius: 30px;

    color: #777;

    font-size: 14px;
    font-weight: 500;
}

.facility_admin_head h1 {
    max-width: 1000px;

    margin: 0;

    color: #181818;

    font-size: clamp(34px, 3vw, 48px);
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: -.045em;

    word-break: keep-all;
}

.facility_admin_head p {
    margin: 22px 0 0;

    color: #888;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   ACTION
========================================================= */

.facility_admin_actions {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 25px 0 55px;
}

.facility_admin_actions_left,
.facility_admin_actions_right {
    display: flex;

    align-items: center;

    gap: 8px;
}

.facility_admin_btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 78px;
    height: 42px;

    padding: 0 18px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    transition:
        border-color .25s ease,
        background .25s ease,
        color .25s ease;
}

.facility_admin_btn_line {
    border: 1px solid #ddd;

    background: #fff;

    color: #555;
}

.facility_admin_btn_line:hover {
    border-color: #aaa;

    color: #181818;
}

.facility_admin_btn_primary {
    border: 1px solid var(--color-primary);

    background: var(--color-primary);

    color: #fff;
}

.facility_admin_btn_primary:hover {
    color: #fff;

    opacity: .85;
}

.facility_admin_btn_delete {
    border: 1px solid #333;

    background: #333;

    color: #fff;
}

.facility_admin_btn_delete:hover {
    color: #fff;

    background: #111;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.facility_admin_section {
    padding: 75px 0;

    border-bottom: 1px solid #e3e3e3;
}

.facility_admin_section_head {
    display: grid;

    grid-template-columns:
        minmax(240px, .55fr)
        minmax(0, 1.45fr);

    gap: 60px;

    margin-bottom: 40px;
}

.facility_admin_section_head > div > span {
    display: block;

    margin-bottom: 10px;

    color: #999;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: .08em;
}

.facility_admin_section_head h2 {
    margin: 0;

    color: #181818;

    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: -.035em;
}

.facility_admin_section_head > p {
    align-self: end;

    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   IMAGES
========================================================= */

.facility_admin_images {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 45px 24px;
}

.facility_admin_image_item {
    min-width: 0;
}

.facility_admin_image {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #f4f4f4;
}

.facility_admin_image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.facility_admin_image_number {
    position: absolute;

    top: 15px;
    left: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 36px;
    height: 30px;

    padding: 0 9px;

    background: rgba(255,255,255,.9);

    color: #555;

    font-size: 14px;
    font-weight: 700;
}

.facility_admin_image_main {
    position: absolute;

    top: 15px;
    right: 15px;

    display: inline-flex;

    align-items: center;

    height: 30px;

    padding: 0 12px;

    border-radius: 20px;

    background: var(--color-primary);

    color: #fff;

    font-size: 14px;
    font-weight: 600;
}


/* first image */

.facility_admin_image_item.is_main {
    grid-column: 1 / -1;
}

.facility_admin_image_item.is_main .facility_admin_image {
    aspect-ratio: 16 / 8;
}


/* Image information */

.facility_admin_image_info {
    padding-top: 15px;
}

.facility_admin_image_info strong {
    display: block;

    color: #333;

    font-size: 16px;
    font-weight: 600;
}

.facility_admin_image_info > span {
    display: block;

    overflow: hidden;

    margin-top: 5px;

    color: #999;

    font-size: 14px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.facility_admin_image_info p {
    margin: 8px 0 0;

    color: #777;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   CONTENT
========================================================= */

.facility_admin_content_section
.facility_admin_section_head {
    margin-bottom: 30px;
}

.facility_admin_content {
    min-height: 180px;

    padding: 45px;

    border: 1px solid #e5e5e5;

    background: #fff;

    color: #444;

    font-size: 16px;
    line-height: 1.9;

    word-break: keep-all;
}

.facility_admin_content img {
    max-width: 100%;
    height: auto;
}

.facility_admin_content p {
    margin-top: 0;
}

.facility_admin_empty {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 100px;

    color: #aaa;

    font-size: 15px;

    text-align: center;
}


/* =========================================================
   LINKS / FILES
========================================================= */

.facility_admin_links,
.facility_admin_files {
    border-top: 1px solid #ddd;
}

.facility_admin_links a,
.facility_admin_files a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-height: 64px;

    padding: 15px 5px;

    border-bottom: 1px solid #eee;

    color: #444;
}

.facility_admin_links a:hover,
.facility_admin_files a:hover {
    color: var(--color-primary);
}

.facility_admin_links span,
.facility_admin_files strong {
    overflow: hidden;

    font-size: 15px;
    font-weight: 500;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.facility_admin_files div {
    min-width: 0;
}

.facility_admin_files div > span {
    display: block;

    margin-top: 5px;

    color: #999;

    font-size: 14px;
}

.facility_admin_links em,
.facility_admin_files em {
    flex: 0 0 auto;

    color: #999;

    font-size: 14px;
    font-style: normal;
    font-weight: 600;

    letter-spacing: .03em;
}


/* =========================================================
   BOTTOM
========================================================= */

.facility_admin_bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding-top: 55px;
}

.facility_admin_back {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    color: #333;

    font-size: 15px;
    font-weight: 600;
}

.facility_admin_back_icon {
    display: grid;

    grid-template-columns: repeat(2, 5px);

    gap: 3px;
}

.facility_admin_back_icon i {
    display: block;

    width: 5px;
    height: 5px;

    background: #555;
}

.facility_admin_bottom_actions {
    display: flex;

    align-items: center;

    gap: 20px;
}

.facility_admin_bottom_actions a {
    color: #777;

    font-size: 14px;
    font-weight: 500;
}

.facility_admin_bottom_actions a:hover {
    color: var(--color-primary);
}


/* =========================================================
   TABLET
========================================================= */

@media all and (max-width:1024px) {

    .facility_admin_view {
        padding: 80px 0 100px;
    }

    .facility_admin_section {
        padding: 60px 0;
    }

    .facility_admin_section_head {
        grid-template-columns: 220px minmax(0, 1fr);

        gap: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media all and (max-width:767px) {

    .facility_admin_view {
        padding: 60px 0 80px;
    }


    /* Header */

    .facility_admin_head {
        padding-bottom: 35px;
    }

    .facility_admin_label {
        margin-bottom: 16px;
    }

    .facility_admin_head h1 {
        font-size: 28px;
    }

    .facility_admin_head p {
        margin-top: 15px;

        font-size: 14px;
    }


    /* Buttons */

    .facility_admin_actions {
        align-items: flex-start;

        padding: 20px 0 40px;
    }

    .facility_admin_actions_right {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .facility_admin_btn {
        min-width: 64px;
        height: 38px;

        padding: 0 13px;
    }


    /* Sections */

    .facility_admin_section {
        padding: 50px 0;
    }

    .facility_admin_section_head {
        display: block;

        margin-bottom: 25px;
    }

    .facility_admin_section_head h2 {
        font-size: 22px;
    }

    .facility_admin_section_head > p {
        margin-top: 15px;
    }


    /* Images */

    .facility_admin_images {
        display: block;
    }

    .facility_admin_image_item {
        margin-bottom: 35px;
    }

    .facility_admin_image_item:last-child {
        margin-bottom: 0;
    }

    .facility_admin_image,
    .facility_admin_image_item.is_main
    .facility_admin_image {
        aspect-ratio: 4 / 3;
    }

    .facility_admin_image_number {
        top: 10px;
        left: 10px;
    }

    .facility_admin_image_main {
        top: 10px;
        right: 10px;
    }


    /* Content */

    .facility_admin_content {
        min-height: 130px;

        padding: 25px 20px;

        font-size: 15px;
    }


    /* Links */

    .facility_admin_links a,
    .facility_admin_files a {
        gap: 15px;
    }

    .facility_admin_links em,
    .facility_admin_files em {
        font-size: 14px;
    }


    /* Bottom */

    .facility_admin_bottom {
        align-items: flex-start;

        padding-top: 40px;
    }

}






/* =========================================================
   PRODUCTION FACILITY
   WRITE
========================================================= */

.facility_write {
    padding-top: 80px;
    padding-bottom: 120px;
}


/* Header */

.facility_write_head {
    padding-bottom: 50px;

    border-bottom: 1px solid #ddd;
}

.facility_write_head > span {
    display: block;

    margin-bottom: 18px;

    color: var(--color-primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: .08em;
}

.facility_write_head h1 {
    margin: 0;

    color: #181818;

    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: -.04em;
}

.facility_write_head p {
    margin: 16px 0 0;

    color: #777;

    font-size: 15px;
    line-height: 1.7;
}


/* Form */

.facility_write_form {
    border-bottom: 1px solid #ddd;
}

.facility_write_row {
    display: grid;

    grid-template-columns: 260px minmax(0, 1fr);

    gap: 60px;

    padding: 45px 0;

    border-bottom: 1px solid #eee;
}

.facility_write_row:last-child {
    border-bottom: 0;
}


/* Label */

.facility_write_label label,
.facility_write_label_title {
    display: block;

    color: #181818;

    font-size: 16px;
    font-weight: 700;
}

.facility_write_label label > span,
.facility_write_label-title > span,
.facility_write_label_title > span {
    margin-left: 5px;

    color: var(--color-primary);

    font-size: 14px;
}

.facility_write_label p {
    max-width: 210px;

    margin: 12px 0 0;

    color: #999;

    font-size: 14px;
    line-height: 1.6;

    word-break: keep-all;
}


/* Subject */

.facility_write_subject {
    width: 100%;
    height: 52px;

    padding: 0 16px;

    border: 1px solid #ddd;

    background: #fff;

    color: #333;

    font-size: 16px;
}

.facility_write_subject:focus {
    border-color: var(--color-primary);

    outline: 0;
}


/* File List */

.facility_write_file_item {
    padding: 28px 0;
}

.facility_write_file_item.is_main {
    padding-top: 0;
}


/* File Header */

.facility_write_file_head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 16px;
}

.facility_write_file_head > div {
    display: flex;

    align-items: center;

    gap: 12px;
}

.facility_write_file_number {
    color: #aaa;

    font-size: 14px;
    font-weight: 600;
}

.facility_write_file_head strong {
    color: #333;

    font-size: 15px;
    font-weight: 600;
}

.facility_write_main_badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 28px;

    padding: 0 11px;

    border-radius: 20px;

    background: var(--color-primary);

    color: #fff;

    font-size: 14px;
    font-weight: 700;
}


/* File Input */

.facility_write_file_input input[type="file"] {
    display: block;

    width: 100%;

    padding: 11px;

    border: 1px solid #ddd;

    background: #fafafa;

    color: #555;

    font-size: 14px;
}


/* File Description */

.facility_write_file_desc {
    width: 100%;
    height: 44px;

    margin-top: 10px;
    padding: 0 14px;

    border: 1px solid #ddd;

    font-size: 14px;
}


/* Existing */

.facility_write_existing {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 12px;
    padding: 13px 15px;

    background: #f6f7f8;
}

.facility_write_existing_name {
    min-width: 0;
}

.facility_write_existing_name span {
    margin-right: 8px;

    color: #999;

    font-size: 14px;
}

.facility_write_existing_name strong {
    color: #555;

    font-size: 14px;
    font-weight: 500;
}

.facility_write_delete {
    display: flex;

    align-items: center;

    gap: 7px;

    flex: 0 0 auto;

    color: #777;

    font-size: 14px;

    cursor: pointer;
}


/* Notice */

.facility_write_file_notice {
    margin: 12px 0 0;

    color: #999;

    font-size: 14px;
    line-height: 1.6;
}


/* Buttons */

.facility_write_buttons {
    display: flex;

    justify-content: flex-end;

    gap: 8px;

    padding-top: 35px;
}

.facility_write_cancel,
.facility_write_submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 100px;
    height: 46px;

    padding: 0 22px;

    border: 1px solid #ddd;
    border-radius: 3px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.facility_write_cancel {
    background: #fff;

    color: #555;
}

.facility_write_submit {
    border-color: var(--color-primary);

    background: var(--color-primary);

    color: #fff;
}


/* =========================================================
   MOBILE
========================================================= */

@media all and (max-width:767px) {

    .facility_write {
        padding-top: 55px;
        padding-bottom: 80px;
    }

    .facility_write_head {
        padding-bottom: 35px;
    }

    .facility_write_head h1 {
        font-size: 28px;
    }

    .facility_write_head p {
        font-size: 14px;
    }


    .facility_write_row {
        display: block;

        padding: 32px 0;
    }

    .facility_write_label {
        margin-bottom: 20px;
    }

    .facility_write_label p {
        max-width: none;
    }


    .facility_write_existing {
        display: block;
    }

    .facility_write_delete {
        margin-top: 12px;
    }


    .facility_write_buttons {
        padding-top: 25px;
    }

    .facility_write_cancel,
    .facility_write_submit {
        flex: 1;

        min-width: 0;
    }

}