@charset "utf-8";
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap'); */
/* NotoSans 쓸 경우 주석 풀고, body 적용 */

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}


* {
  word-break: break-word;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

/* 초기화 */
html {
  overflow-y: auto !important;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-family: inherit !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}

label,
input,
button,
select,
img {
  vertical-align: middle;
  font-size: 1em;
}

input,
button {
  margin: 0;
  padding: 0;
  font-family: inherit !important;
}

input[type="submit"] {
  cursor: pointer;
}

button {
  cursor: pointer;
}

textarea,
select {
  font-family: inherit !important;
}

select {
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
  word-break: break-all;
}

pre {
  overflow-x: scroll;
  font-size: 1.1em;
}

a {
  color: inherit;
  text-decoration: none;
}

/*head.sub.php로 셋팅하는 값 = full-h, full-w*/
:root {
  --primary: #002F94;
  --seconday: #666;
  --ca-color: #333;
  --full-h: calc(var(--vh, 1vh) * 100);
  --full-w: calc(var(--vw, 1vw) * 100);
  --header-h: 60px;
  --top-header-h: 100px;
  --lnb-h: 48px;
  --sub-header-h: 260px;
}


.overlay {
  position: relative;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

/* 해더 */
/* 햄버거 메뉴 버튼 스타일 */
.menu-wrap {
  position: relative;
  width: 28px;
  height: 16px;
  cursor: pointer;
}

.menu-wrap .line {
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #222;
  left: 0;
}

.menu-wrap .line:first-child {
  top: 0;
  transform-origin: 25% 50%;
  transition: .3s;
}

.menu-wrap .line:nth-child(2) {
  top: calc(50% - 1px);
}

.menu-wrap .line:last-child {
  bottom: 0;
  transform-origin: 25% 50%;
  transition: .3s;
}


.menu-wrap.open .line:first-child {
  transform: rotate(45deg) translateX(10%);
}

.menu-wrap.open .line:nth-child(2) {
  opacity: 0;
}

.menu-wrap.open .line:last-child {
  transform: rotate(-45deg) translateX(10%);
}

.pc-header.active .bottom-h {
  position: fixed;
  top: 0;
}

.bottom-h {
  position: relative;
  /* height: var(--header-h);
  overflow: hidden; */
  transition: all 0.3s ease;
}


.bottom-h-sub {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.container {
  padding: 0 1rem;
  position: relative;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 991px) {
  .container {
    padding: 0 3rem;
  }
}

@media (min-width: 1440px) {
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 1439px) {
  .container {
    max-width: 100%;
  }
}

.bottom-h.active .bottom-h-sub {
  border-top: 1px solid #e0e0e0;
  opacity: 1;
  visibility: visible;
}

/* 버튼 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}


.btn-primary:focus {
  background: #fff;
  color: var(--primary);
  outline: 1px solid var(--primary);
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
}

.btn-primary:active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary {
  background-color: var(--seconday);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}


.btn-secondary:focus {
  background: #fff;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
}

.btn-secondary:active {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary);
  outline: 1px solid var(--primary);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}


.btn-primary-outline:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
  outline: none;
}

.btn-primary-outline:active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}


.btn-secondary-outline:focus {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
  outline: none;
}

.btn-secondary-outline:active {
  background: #fff;
  color: var(--seconday);
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-animation {
  position: relative;
  overflow: hidden;
  color: var(--primary);
  outline: 1px solid var(--primary);
}

.btn-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary);
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-animation:hover {
  color: #fff;
  outline: 0;
}

.btn-animation:hover::before {
  width: 100%;
}

.button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-primary-outline:disabled,
.btn-secondary-outline:disabled,
.btn-animation:disabled {
  background: #e5e7eb !important;
  /* Tailwind gray-200 */
  color: #b0b0b0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

.sit_icon {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.editor-content img {
  display: initial;
}

#sev_himg * {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif !important;
}

.sev_admin {
  display: none;
}

/* Lnb 관련  */
/* lnb  */
.lnb_wrap {
  position: relative;
}

.lnb {
  background: #fff;

}

.lnb .lnb_map {
  height: var(--lnb-h);
  display: flex;
  align-items: center;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  max-width: 1600px;
  margin: 0 auto;
}

.lnb .lnb_map .home {
  width: var(--lnb-h);
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lnb .lnb_map .home a {
  color: #333;
}


.lnb .lnb_map>li {

  height: 100%;
  border-right: 1px solid #ddd;

  position: relative;
}

.lnb .lnb_map li.dep a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.lnb .lnb_map li.dep a span {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #333;
}


.lnb .lnb_map li.dep ul {
  display: none;
  position: absolute;
  left: 0;
  top: var(--lnb-h);
  width: 100%;
  z-index: 9999;
}

.lnb .lnb_map li.dep ul li {
  width: 100%;
  background: #f9f9f9;
  border-bottom: 1px solid #fff;
}



.lnb .lnb_map li.dep ul li a:hover {
  background: var(--primary);
  color: #fff;
  transition: 0.3s all;
}

.lnb .lnb_map li.dep ul li a.on {
  background: var(--primary);
  color: #fff;
}

/* 구글 번역 부분 커스텀 css - 번역기능 있을 경우만 사용 */

body {
  position: static !important;
  top: 0px !important;
}

.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  display: none !important;
}

body>.skiptranslate,
.goog-logo-link,
.gskiptranslate,
.goog-te-gadget span,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt- {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0px;
  width: 100px;

}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

#google_translate_element select {
  background: transparent;
  color: #000;
  border: none;
  font-weight: bold;
  border-radius: 0px;
  padding: 8px 12px
}

.notranslate {
  translate: no !important;
}

/* Site wrap margin for mobile header */
.site-wrap {
  margin-top: var(--header-h);
}



@media (min-width: 1024px) {
  .site-wrap {
    margin-top: 0;
  }
}

/* PC/Mobile Header visibility */
.pc-header {
  display: none !important;
}

.mobile-menu-offcanvas {
  display: none !important;
}

@media (min-width: 1024px) {
  .pc-header {
    display: block !important;
  }

  .mobile-header {
    display: none !important;
  }

  .mobile-menu-offcanvas {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .mobile-header {
    display: block !important;
  }

  .mobile-menu-offcanvas {
    display: flex !important;
  }
}

.review-content img {
  width: 100%;
  max-height: 120px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.order-inquiry-button {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #C0C0C0;
  color: #696969;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-inquiry-button.active {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

#bo_v img {
  display: initial !important;
}

/* 제작폼 스타일 */
.production-form {
  font-family: "Pretendard", sans-serif;
}

.production-form .form-section {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.production-form .form-label {
  background-color: #f5f5f5;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
}

.production-form .form-content {
  padding: 1rem;
}

.production-form input[type="radio"],
.production-form input[type="checkbox"] {
  accent-color: #1e3a8a;
}

.production-form select,
.production-form input[type="text"] {
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.production-form select:focus,
.production-form input[type="text"]:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.production-form .tip-button {
  background-color: #1e3a8a;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.production-form .tip-button:hover {
  background-color: #1e40af;
}

.production-form .option-button {
  background-color: #f5f5f5;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.production-form .option-button:hover {
  background-color: #e5e7eb;
}

.production-form .image-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.production-form .image-option:hover img {
  transform: scale(1.05);
}

.production-form .image-option img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.production-form .image-option.selected img {
  border: 4px solid #1e3a8a;
}

.production-form .file-upload {
  position: relative;
  background-color: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.production-form .file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* 반응형 그리드 */
@media (max-width: 1023px) {
  .production-form .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .production-form .image-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
  }
}

/* 팝업 스타일 */
.tip-popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.tip-popup-content {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 28rem;
  margin: 1rem;
}

.tip-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tip-popup-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.tip-popup-close {
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tip-popup-close:hover {
  color: #374151;
}

.tip-popup-message {
  color: #374151;
  margin-bottom: 1.5rem;
}

.tip-popup-footer {
  text-align: right;
}

.tip-popup-button {
  background-color: #1e3a8a;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tip-popup-button:hover {
  background-color: #1e40af;
}

.item_consult input[type='text']:disabled {
  background-color: #f5f5f5;
  color: #6b7280;

}

.img-input input[type='radio']:checked+img,
.img-input input[type='checkbox']:checked+img {
  outline: 2px solid #1e3a8a;
}

.img-input input[type='radio']:checked~span,
.img-input input[type='checkbox']:checked~span {
  color: #1e3a8a;
  font-weight: 500;
}

/* 파일 업로드 영역 스타일 */
.item_consult .file-upload-area {
  position: relative;
  background-color: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.item_consult .file-upload-area:hover {
  background-color: #d1d5db;
}

.item_consult .file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.item_consult .file-upload-area span {
  padding: 0 1rem;
  text-align: center;
  word-break: break-all;
  font-size: 0.875rem;
  line-height: 1.25rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rotate {
  transform: rotate(180deg);
  transition: all 0.3s ease;
  display: inline-block;
}

#sct, #forderform {
  max-width: 1440px;
  margin: 0px auto;
}

#forderform {
  margin: 40px auto;
}