/* VAR */
:root {

  /* color : 아래 5개만 사용합니다. 그 이상 넘어갈 경우 디자이너에게 수정 요청해주세요. */
  --colorUtilBackground: #575757;
  --colorUtilText: #fff;
  --colorMenuBackground: #fff;
  --colorMenuText: #111;
  --colorMenuTextActive: #f4742a;
}



/* header */
header.forTemplate .header-top-search {display: flex; gap: 0.5rem; height: 2.5rem;}
header.forTemplate .header-top-search .insert-group {width: 14.15rem; height: 100%; position: relative; z-index: 0;}
header.forTemplate .header-top-search .insert-group::before {content: ""; display: block; width: 100%; height: 100%; background-color: var(--colorMenuTextActive); position: absolute; left: 0; top: 0; z-index: -1; opacity: 0.075;}
header.forTemplate .header-top-search .insert-group select {width: 4rem;}
header.forTemplate .header-top-search .insert-group input {width: calc(100% - 4rem);}
header.forTemplate .header-top-search button {width: 2.5rem; height: 100%; border-radius: 0 0.5rem 0.5rem 0.5rem; background-color: var(--colorUtilBackground); font-size: 1rem; color: var(--colorUtilText);}
header.forTemplate .header-top-util button {border-radius: 0.75rem; background-color: var(--colorUtilBackground); color: var(--colorUtilText);}
header.forTemplate .header-bottom {border-top-color: #eeeff1; border-bottom-color: #eeeff1; background-color: var(--colorMenuBackground);}
header.forTemplate .header-bottom-menu .depth-01 > li > a {color: var(--colorMenuText); transition: 0.3s;}
header.forTemplate .header-bottom-menu .depth-01 > li > a span {padding: 0 2px; position: relative; z-index: 0;}
header.forTemplate .header-bottom-menu .depth-01 > li > a span::after {content: ""; display: block; width: 0; height: 0.45em; border-radius: 0.225em; background-color: var(--colorMenuTextActive); opacity: 0.2; position: absolute; right: 0; bottom: 0; z-index: -1; transition: 0.3s;}
/* header : active */
header.forTemplate .header-bottom-menu .depth-01 > li.on > a,
header.forTemplate .header-bottom-menu .depth-01 > li.active > a {color: var(--colorMenuTextActive);}
header.forTemplate .header-bottom-menu .depth-01 > li.on > a,
header.forTemplate .header-bottom-menu .depth-01 > li.active > a span::after {width: 100%; left: 0; right: unset;}



/* main */
main {background-image: url('/static/builder/Templates/T04_D1/image/background_bottom.png'); background-color: #ffece4; background-position: center bottom; background-size: 100% auto; background-repeat: no-repeat; overflow: hidden;}



@media (max-width: 1280px) {

  /* header */
  header.forTemplate .header-util .btn-menu {background-color: var(--colorUtilBackground); color: var(--colorUtilText);}
}



@media (max-width: 768px) {

  /* main */
  main {background-size: 768px;}
}