/* ======= reset ======= */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,
big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,
form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,
figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/*html,body {
  overflow-x: hidden;
}*/

body {
  overflow-x: hidden;
}

*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

b {
	font-weight: bold;
}

img,svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button,input,select,textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ======= font ======= */
@font-face {
  font-family: 'SCDream1';
  src: url('../fonts/SCDream1.otf');
}

@font-face {
  font-family: 'SCDream2';
  src: url('../fonts/SCDream2.otf');
}

@font-face {
  font-family: 'SCDream3';
  src: url('../fonts/SCDream3.otf');
}

@font-face {
  font-family: 'SCDream4';
  src: url('../fonts/SCDream4.otf');
}

@font-face {
  font-family: 'SCDream5';
  src: url('../fonts/SCDream5.otf');
}

@font-face {
  font-family: 'SCDream6';
  src: url('../fonts/SCDream6.otf');
}

@font-face {
  font-family: 'SCDream7';
  src: url('../fonts/SCDream7.otf');
}

@font-face {
  font-family: 'SCDream8';
  src: url('../fonts/SCDream8.otf');
}

@font-face {
  font-family: 'SCDream9';
  src: url('../fonts/SCDream9.otf');
}


/* ======= default ======= */
body {
  font-family: 'SCDream3';
  box-sizing: border-box;
  color: #333;
}


/* ======= common ======= */
.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  /* 클리핑 */
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
}

.hidden {
  display: none !important;
}

.red {
  color: #f03a3a;
}

.blue {
  color: #3b5bdb;
}


/* 버튼 */
.btn {
  font-family: 'SCDream5';
  border-radius: 8px;
  height: 48px;
}

.primary_btn {
  background-color: #eb4545;
  color: #fff;
}

.primary_line_btn {
  border: 1px solid #eb4545;
  color: #cd3131;
}

.primary_alt_btn {
  background-color: #eb4545;
  color: #fff;
}

.secondary_btn {
  background-color: #555;
  color: #fff;
}

.secondary_line_btn {
  border: 1px solid #9e9e9e;
  color: #555;
}


/* padding */
.pl-1 {
  padding-left: 4px !important;
}
.pl-2 {
  padding-left: 8px !important;
}
.pl-3 {
  padding-left: 12px !important;
}
.pl-4 {
  padding-left: 16px !important;
}
.pl-5 {
  padding-left: 20px !important;
}
.pl-6 {
  padding-left: 24px !important;
}
.pl-7 {
  padding-left: 28px !important;
}
.pl-8 {
  padding-left: 32px !important;
}
.pl-9 {
  padding-left: 36px !important;
}

.pr-1 {
  padding-right: 4px !important;
}
.pr-2 {
  padding-right: 8px !important;
}
.pr-3 {
  padding-right: 12px !important;
}
.pr-4 {
  padding-right: 16px !important;
}
.pr-5 {
  padding-right: 20px !important;
}
.pr-6 {
  padding-right: 24px !important;
}
.pr-7 {
  padding-right: 28px !important;
}
.pr-8 {
  padding-right: 32px !important;
}
.pr-9 {
  padding-right: 36px !important;
}

.pt-1 {
  padding-top: 4px !important;
}
.pt-2 {
  padding-top: 8px !important;
}
.pt-3 {
  padding-top: 12px !important;
}
.pt-4 {
  padding-top: 16px !important;
}
.pt-5 {
  padding-top: 20px !important;
}
.pt-6 {
  padding-top: 24px !important;
}
.pt-7 {
  padding-top: 28px !important;
}
.pt-8 {
  padding-top: 32px !important;
}
.pt-9 {
  padding-top: 36px !important;
}

.pb-1 {
  padding-bottom: 4px !important;
}
.pb-2 {
  padding-bottom: 8px !important;
}
.pb-3 {
  padding-bottom: 12px !important;
}
.pb-4 {
  padding-bottom: 16px !important;
}
.pb-5 {
  padding-bottom: 20px !important;
}
.pb-6 {
  padding-bottom: 24px !important;
}
.pb-7 {
  padding-bottom: 28px !important;
}
.pb-8 {
  padding-bottom: 32px !important;
}
.pb-9 {
  padding-bottom: 36px !important;
}


/* margin */
.mt-1 {
  margin-top: 4px !important;
}
.mt-2 {
  margin-top: 8px !important;
}
.mt-3 {
  margin-top: 12px !important;
}
.mt-4 {
  margin-top: 16px !important;
}
.mt-5 {
  margin-top: 20px !important;
}
.mt-6 {
  margin-top: 24px !important;
}
.mt-7 {
  margin-top: 28px !important;
}
.mt-8 {
  margin-top: 32px !important;
}
.mt-9{
  margin-top: 36px !important;
}

.mb-1 {
  margin-bottom: 4px !important;
}
.mb-2 {
  margin-bottom: 8px !important;
}
.mb-3 {
  margin-bottom: 12px !important;
}
.mb-4 {
  margin-bottom: 16px !important;
}
.mb-5 {
  margin-bottom: 20px !important;
}
.mb-6 {
  margin-bottom: 24px !important;
}
.mb-7 {
  margin-bottom: 28px !important;
}
.mb-8 {
  margin-bottom: 32px !important;
}
.mb-9{
  margin-bottom: 36px !important;
}

.ml-1 {
  margin-left: 4px;
}
.ml-2 {
  margin-left: 8px;
}
.ml-3 {
  margin-left: 12px;
}
.ml-4 {
  margin-left: 16px;
}
.ml-5 {
  margin-left: 20px;
}
.ml-6 {
  margin-left: 24px;
}
.ml-7 {
  margin-left: 28px;
}
.ml-8 {
  margin-left: 32px;
}
.ml-9{
  margin-left: 36px;
}

.mr-1 {
  margin-right: 4px;
}
.mr-2 {
  margin-right: 8px;
}
.mr-3 {
  margin-right: 12px;
}
.mr-4 {
  margin-right: 16px;
}
.mr-5 {
  margin-right: 20px;
}
.mr-6 {
  margin-right: 24px;
}
.mr-7 {
  margin-right: 28px;
}
.mr-8 {
  margin-right: 32px;
}
.mr-9{
  margin-right: 36px;
}



/* ======= weight ======= */
.font-normal {
  font-family: 'SCDream4';
}
.font-medium {
  font-family: 'SCDream5';
}
.font-bold {
  font-family: 'SCDream7';
}


/* text */
.heading-3{ /* h3 */
  /* font-size: rem; */
  font-family: 'SCDream5';
  
}
.heading-4{  /* h4 */
  /* font-size: rem; */
  font-family: 'SCDream5';
  
}
.heading-5{  /* h5 */
  /* font-size: rem; */
  font-family: 'SCDream5';
  
}
.heading-6{
  /* font-size: rem; */
  font-family: 'SCDream5';
}

.text-title-lg { /* 큰 제목 (페이지 타이틀 등) */
}

.text-title-md { /* 중간 제목 (섹션 타이틀 등) */
}

.text-subtitle-1 { /* 부제목 / 설명 텍스트 */
}

.text-subtitle-2 {

}

.text-body { /* 기본 본문 텍스트 */
  font-size: 1rem;
}

.text-hint { /* 힌트나 서브 설명 */
  font-size: 0.875rem;
  color: #555;
}

.text-error { /* 에러 메시지 */
}

.text-caption { /* 매우 작은 부가 설명 */
  font-size: 0.875rem;
  color: #aaa;
}

.word-break-keep {
  word-break: keep-all;
}
.word-break-all {
  word-break: break-all;
}
.word-break-normal {
  word-break: normal;
}



/* display */
.d-block{
  display: block;
}
.d-inline-block{
  display: inline-block;
}
.d-inline{
  display: inline;
}
.d-grid{
  display: grid;
}
.d-flex{
  display: flex;
}

@media screen and (max-width: 768px) {
  .d-block-m{
    display: block !important;
  }
  .d-inline-block_m{
    display: inline-block;
  }
  .d-inline_m{
    display: inline;
  }
  .d-grid_m{
    display: grid;
  }
  .d-flex_m{
    display: flex;
  }
}

@media screen and (max-width: 560px) {
  .d-block-sm{
    display: block !important;
  }
  .d-inline-block_sm{
    display: inline-block;
  }
  .d-inline_sm{
    display: inline;
  }
  .d-grid_sm{
    display: grid;
  }
  .d-flex_sm{
    display: flex;
  }
}


/* select */
select {
  appearance: none;
  border: 1px solid #d3d3d3;
  padding: 8px 16px;
  padding-right: 2.5rem;
  font-size: 0.875rem;
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2013.45%207.36%22%3E%3Cg%3E%3Cpath%20d%3D%22M0%2C.63c0%2D.16.06%2D.32.19%2D.45C.43%2D.06.83%2D.06%2C1.08.19l5.64%2C5.64L12.36.19c.25%2D.25.65%2D.25.9%2C0%2C.25.25.25.65%2C0%2C.9l%2D6.09%2C6.09c%2D.25.25%2D.65.25%2D.9%2C0L.19%2C1.08c%2D.12%2D.12%2D.19%2D.29%2D.19%2D.45Z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 0.625rem;
}


/* input */
input {
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #d3d3d3;
  padding: 0 16px;
}


/* search */
.list_controls {
  width: 100%;
  /* margin: 32px 0; */
  margin-bottom: 32px;
  padding: 0;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list_controls .search_form {
  display: flex;
  gap: 8px;
}

.list_controls .search_input_group {
  background-color: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 0.875rem;
  min-width: 240px;
}

.list_controls .search_input_group input {
  height: 100%;
  border: none;
  padding-left: 16px;
}

.list_controls_form select {
  min-width: 120px;
  height: 40px;
}

.search_input_group .search_btn {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0 16px;
  background-color: #555;
  color: #fff;
  border-radius: 0 8px 8px 0;
}


@media screen and (max-width: 768px) {
  .search_group {
    width: 100%;
  }

  .board_count_select select {
    min-width: auto;
    width: 100%;
  }

  .list_controls .search_input_group {
    min-width: auto;
    width: 100%;
  }
}

@media screen and (max-width: 430px) {
  .list_controls {
    flex-direction: column;
    align-items: flex-start;
    padding: 5%;
    margin: 16px 0;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    gap: 8px;
  }

  .list_controls_count{
    padding-left: 8px;
  }

  .list_controls .search_form {
    flex-direction: column;
  }

  .list_controls_form {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .list_controls_form select {
    min-width: auto;
    flex: 1 1 auto;
  }
}







/* ======= header ======= */
#header {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 10;
  border-bottom: 1px solid #f3f3f3;
}

#header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header .menu_toggle {
  display: none;
  background: none;
  border: none;
}

#header .nav,
#header .nav #menu_gnb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 100%;
}

#header .nav #menu_gnb>li {
  height: 100%;
  position: relative;
  font-size: 1.25rem;
  text-align: center;
  /* padding: 10px 0; */
  width: 130px;
}

#header .nav #menu_gnb>li:hover::after,
#header .nav #menu_gnb>li:focus-within::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #d41421;
}

#header .nav #menu_gnb li a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#header .nav #menu_gnb .menu_depth {
  display: none;
  transition: all 0.3s ease;
  padding: 20px 0;
  position: absolute;
  left: 0;
  top: 100%;
  overflow: hidden;
  width: 100%;
  z-index: 20;
  background-color: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 0 0 16px 16px;
}

#header .nav #menu_gnb>li:hover .menu_depth,
#header .nav #menu_gnb>li:focus-within .menu_depth {
  display: block;
}

#header .nav #menu_gnb .menu_depth li {
  font-size: 1rem;
  text-align: center;
}

#header .nav #menu_gnb .menu_depth li a {
  padding: 10px;
}

#header .nav #menu_gnb .menu_depth li:hover,
#header .nav #menu_gnb .menu_depth li:hover {
  color: #d62430;
  font-family: 'SCDream4';
  background-color: #fff1f2;
}



/* ======= footer ======= */
#footer {
  margin-top: 64px;
  ;
}

#footerTop {
  border-top: 1px solid #c9c9c9;
  border-bottom: 1px solid #c9c9c9;
  padding: 16px 0;
}

#footerTop .wrap {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

#footerTop .ftLinks ul {
  display: flex;
}

#footerTop .ftLinks ul li {
  padding: 0 16px;
  font-size: 15px;
  color: #888;
  position: relative;
}

#footerTop .ftLinks ul li:first-child {
  padding-left: 0;
}

#footerTop .ftLinks ul li::after {
  content: '';
  width: 1px;
  height: 75%;
  background-color: #888;
  opacity: .5;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

#footerTop .ftLinks ul li:last-child:after {
  display: none;
}

#footerTop .ftList {
  display: flex;
  column-gap: 32px;
}

#footerBottom {
  padding: 64px 0;
  background-color: #c9c9c9;
}

#footerBottom .footerInfo {
  color: #5e5e5e;
  font-size: 13px;
  line-height: 1.8;
  margin-left: 64px;
}





/* ======= responsive ======= */
@media screen and (max-width: 1200px) {
  .wrap {
    width: 100%;
    padding: 0 2%;
  }
}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 960px) {
  #header {
    height: 80px;
    z-index: 110;
  }

  #header .header_logo {
    height: 40px;
    overflow: hidden;
  }

  #header .header_logo img {
    object-fit: cover;
    height: 100%;
  }

  #header .menu_toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    z-index: 110;
    cursor: pointer;
    gap: 6px;
  }

  #header .menu_toggle span {
    display: block;
    background-color: #333;
    width: 24px;
    height: 2px;
    position: absolute;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  #header .menu_toggle span:nth-child(1) {
    top: 8px;
  }

  #header .menu_toggle span:nth-child(2) {
    width: 16px;
    align-self: flex-start;
    top: 15px;
    left: 4px;
  }

  #header .menu_toggle span:nth-child(3) {
    top: 22px;
  }

  #header .menu_toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(-50%);
    top: 50%;
  }

  #header .menu_toggle.open span:nth-child(2) {
    opacity: 0;
  }

  #header .menu_toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-50%);
    top: 50%;
  }


  /* ----- mobileGnb ----- */
  #header .nav {
    position: absolute;
    top: 100%;
    right: -120%;
    width: 80vw;
    min-height: 100vh;
    background: #fff;
    flex-direction: column;
    transition: right 0.7s;
    z-index: 100;
    padding: 20px 32px;
    box-sizing: border-box;
  }

  #header .nav.active {
    right: 0;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    transition: max-height 0.3s ease;
  }

  #header .nav #menu_gnb {
    width: 100%;
    flex-direction: column;
    align-items: self-start;
    justify-content: start;
  }

  #header .nav #menu_gnb>li {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #f3f3f3;
    padding: 0 8px;
  }

  #header .nav #menu_gnb>li:hover::after,
  #header .nav #menu_gnb>li:focus-within::after {
    background: none;
  }

  #header .nav #menu_gnb li a {
    height: 50px;
    justify-content: flex-start;
  }

  #header .nav #menu_gnb .menu_depth {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background-color: #f3f3f3;
    border-radius: 16px;
    margin-bottom: 8px;
    padding: 16px 8px 16px;
  }

  #header .nav #menu_gnb .menu_depth li {
    padding: 0 32px;
  }

  #header .nav #menu_gnb .menu_depth li a {
    height: 40px;
  }

  #header .nav #menu_gnb .menu_depth li:hover,
  #header .nav #menu_gnb .menu_depth li:hover {
    color: #fff;
    background-color: #3b5bdb;
    border-radius: 16px;
  }

  /* #menu_gnb > li.open .menu_depth {
    display: flex;
    flex-direction: column;
  } */

  .header_dim {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }



  /* ----- footer ----- */
  #footer .wrap {
    flex-direction: column;
    padding: 0 5%;
  }

  #footerBottom .footerInfo {
    margin-left: 0;
  }

  #bottomLogo {
    margin-bottom: 32px;
  }
}

@media screen and (max-width: 540px) {
  #footerTop .wrap {
    padding: 0 2%;
  }

  #footerTop .ftLinks {
    width: 100%;
  }

  #footerTop .ftLinks ul li {
    font-size: 0.75rem;
  }

  #footerBottom {
    padding: 50px 0;
  }

  #bottomLogo {
    margin-bottom: 16px;
  }

  #footerBottom .footerInfo {
    font-size: 0.75rem;
  }
}