:root {
  --dc-bg: radial-gradient(circle at top left, rgba(15,111,255,0.10), transparent 28%),
           radial-gradient(circle at top right, rgba(14,165,233,0.10), transparent 24%),
           linear-gradient(180deg, #f6f9fd 0%, #edf3fb 100%);
  --dc-surface-strong: rgba(255, 255, 255, 0.90);
  --dc-surface-soft: rgba(255, 255, 255, 0.74);
  --dc-card-border: rgba(148, 163, 184, 0.22);
  --dc-card-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
  --dc-card-shadow-sm: 0 10px 26px rgba(15, 23, 42, 0.08);
  --dc-radius-xl: 28px;
  --dc-radius-lg: 22px;
  --dc-radius-md: 18px;
  --dc-content-width: min(100% - 28px, 1440px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nanum Gothic', Arial, sans-serif;
  color: #0f172a;
  background: var(--dc-bg);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 25%);
  z-index: -1;
}

#main-contents,
#product-contents,
#tec-content,
#certifi-content,
#history-content,
#data-content,
#picture-content,
#contents_address,
#contents_introduce,
#contents,
#iframe_dcwebcad {
  width: var(--dc-content-width);
  margin: 0 auto;
}

.ma_container,
.middle-container,
.cert-container,
.add_div1,
.board-page {
  width: var(--dc-content-width);
  margin-left: auto;
  margin-right: auto;
}

.ma_box_total,
.te_d2,
.add_div2,
.cert-box {
  width: 100%;
}

/* premium section feeling */
.introduce_1,
.add_div3,
#te_box1,
#pi_box4,
#da_box2,
#da_box3,
#ce_box1,
#ce_box2,
#ce_box3,
#ma_box2,
#ma_bo,
#da_box,
#in_box2,
#in_box3,
.img_group,
#contents {
  box-sizing: border-box;
}

.image-container > img,
.product_img,
.introduce_img,
.introduce_en_img,
.responsive-image,
.certin_img,
#middle-box,
#contents img,
#data_url img,
#daun_url img,
#logo_url img,
#iframe_dcwebcad,
#contents iframe,
iframe {
  border-radius: var(--dc-radius-lg);
}

.image-container,
#ma_box2 > div,
.image-box,
.add_div3,
#te_box1,
#pi_box4,
#da_box2,
#da_box3,
#ce_box2,
#ce_box3,
.introduce_1,
#in_box2,
.img_group,
#data_url,
#daun_url,
#logo_url,
#contents iframe,
#iframe_dcwebcad {
  position: relative;
}

.image-container > img,
.product_img,
.introduce_img,
.introduce_en_img,
.responsive-image,
.certin_img,
#middle-box,
#contents img,
#iframe_dcwebcad,
#contents iframe,
.board-frame-card,
.add_div3,
#te_box1,
#pi_box4,
#da_box2,
#ce_box2,
#ce_box3,
#in_box2,
.introduce_1,
.img_group {
  box-shadow: var(--dc-card-shadow-sm);
}

.image-container {
  overflow: hidden;
  border-radius: var(--dc-radius-xl);
}

.image-container::after,
#ma_box2 > div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 23, 49, 0.12) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.main-img-font1,
.main-img-font2,
.main-img-font3,
.main-img-font4,
.pr_d0,
.pr_d1,
.pr_d2,
.in_txt1,
.in_txt2,
.in_txt3,
.in_txt4,
.t1,
.p12,
.p13,
.te_main_txt1,
.te_main_txt1_en,
.te_main_txt1_jp,
.te__main_txt2,
.te__main_txt2_en,
.te__main_txt2_jp,
.pr_txt1,
.pr_txt1_kr,
.pr_txt2_kr,
.ma__font_txt,
.da_txt1,
.da_txt2,
.ce_txt4,
.ce_txt5,
.cetification1,
.fu_a_txt {
  color: #0f172a;
}

.main-img-font1,
.main-img-font2,
.main-img-font3,
.main-img-font4,
.pr_d0,
.pr_d1,
.pr_d2 {
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(2, 8, 23, 0.45);
  z-index: 2;
}

.pr_d0,
.pr_d1,
.pr_d2 {
  position: absolute;
  left: clamp(20px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 42px);
  max-width: min(70%, 740px);
  font-size: clamp(18px, 2.2vw, 42px);
  line-height: 1.35;
}

.ma__font_txt {
  width: min(100%, 1080px);
  margin: 38px auto 28px;
  padding: clamp(22px, 4vw, 36px);
  font-size: clamp(17px, 2.1vw, 32px);
  line-height: 1.7;
  background: var(--dc-surface-soft);
  border: 1px solid var(--dc-card-border);
  border-radius: var(--dc-radius-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--dc-card-shadow);
}

#middle-box {
  display: block;
  width: var(--dc-content-width);
  margin: 18px auto 0;
}

.introduce_1 {
  width: var(--dc-content-width);
  margin: 0 auto 26px;
  padding: clamp(28px, 4vw, 44px);
  background-color: var(--dc-surface-strong);
  border: 1px solid var(--dc-card-border);
  border-radius: var(--dc-radius-xl);
  background-position-x: right 4vw;
  background-position-y: center;
  background-size: min(34vw, 520px);
  box-shadow: var(--dc-card-shadow);
}

.introduce_span_font,
.introduce_en_span_font,
.introduce_jp_span_font {
  max-width: min(64%, 760px);
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  font-size: clamp(15px, 1.35vw, 25px);
  line-height: 1.95;
}

.img_group {
  width: var(--dc-content-width);
  margin: 0 auto 22px;
  background: var(--dc-surface-strong);
  border: 1px solid var(--dc-card-border);
  border-radius: var(--dc-radius-xl);
  padding: clamp(12px, 2vw, 20px);
}

.introduce_img,
.introduce_en_img {
  width: min(100%, 980px);
}

#in_box2,
#pi_box4,
#te_box1,
#da_box2,
#ce_box1,
#ce_box2,
#ce_box3,
.add_div3,
#da_box3,
#ma_box2 {
  width: var(--dc-content-width);
  margin: 0 auto 18px;
  background: var(--dc-surface-strong);
  border: 1px solid var(--dc-card-border);
  border-radius: var(--dc-radius-xl);
  box-shadow: var(--dc-card-shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#pi_box4,
#da_box2,
#da_box3,
#ce_box1,
#ce_box2,
#ce_box3 {
  padding: clamp(12px, 2vw, 18px);
}

#ma_box2 {
  width: var(--dc-content-width);
  overflow: hidden;
}

#ma_bo,
#ma_box2 {
  margin-bottom: 18px;
}

#te_box1 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(20px, 3vw, 30px);
  align-items: center;
}

#te_box1 > div {
  overflow: visible;
}

.te_main_txt1,
.te_main_txt1_en,
.te_main_txt1_jp {
  font-size: clamp(24px, 2.1vw, 38px);
  line-height: 1.45;
  margin-bottom: 12px;
}

.te__main_txt2,
.te__main_txt2_en,
.te__main_txt2_jp {
  font-size: clamp(15px, 1.2vw, 21px);
  line-height: 1.9;
  color: #475569;
}

#pi_box4,
#ce_box1,
#ce_box2,
#ce_box3,
#da_box2,
#da_box3,
.add_div2 {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 20px);
}

.add_div1 {
  margin-top: 0 !important;
}

.add_div2 {
  height: auto !important;
  min-height: auto !important;
}

.add_div3 {
  flex: 1 1 0;
  width: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.image-box {
  overflow: hidden;
  border-radius: var(--dc-radius-lg);
}

.t1 {
  padding: 8px 6px 10px;
}

.p12 {
  margin: 0 0 10px;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.8;
  font-weight: 700;
}

.p13 {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.8;
  color: #475569;
  font-weight: 400;
}

.pr_txt1,
.pr_txt1_kr,
.pr_txt2_kr,
.ce_txt4,
.ce_txt5,
.cetification1,
.da_txt1,
.da_txt2 {
  font-size: clamp(15px, 1.15vw, 20px) !important;
  line-height: 1.75;
  text-align: center;
}

.cetification1 {
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, rgba(15,111,255,0.10), rgba(255,255,255,0.82));
}

#ce_box2 img,
#ce_box3 img,
#pi_box4 img,
#da_box2 img {
  width: min(100%, 100%) !important;
  border-radius: 18px;
}

.cert-container {
  margin-top: 18px;
}

.cert-box {
  width: var(--dc-content-width);
}

.ce_txt5 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(15,111,255,0.10), rgba(255,255,255,0.92));
  border-radius: 18px;
  font-size: clamp(17px, 1.4vw, 24px) !important;
}

.timeline {
  width: var(--dc-content-width);
  margin: 0 auto;
  padding: 8px 0 0;
}

.timeline .year {
  display: block;
  margin: 42px auto 22px;
  text-align: center;
}

.timeline .year .inner,
.timeline .year span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline .year span {
  min-width: 150px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f6fff, #0b57d0);
  box-shadow: 0 16px 34px rgba(15, 111, 255, 0.22);
  color: #fff;
  font-size: clamp(24px, 2vw, 38px);
  font-weight: 800;
}

.timeline .days {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline .day {
  width: 100%;
  float: none;
  display: block;
}

.timeline .events {
  position: relative;
  float: none !important;
  width: min(100%, 1040px) !important;
  margin: 0 auto 16px !important;
  padding: 22px 24px 22px 112px !important;
  text-align: left !important;
  border: 1px solid var(--dc-card-border) !important;
  border-left: 6px solid #0f6fff !important;
  border-right: 1px solid var(--dc-card-border) !important;
  border-radius: 24px !important;
  background: var(--dc-surface-strong);
  box-shadow: var(--dc-card-shadow-sm);
  font-size: clamp(14px, 1.05vw, 18px) !important;
  line-height: 1.9;
}

.timeline .events:after {
  display: none !important;
}

.timeline .events .date {
  position: absolute !important;
  top: 20px !important;
  left: 24px !important;
  right: auto !important;
  transform: none !important;
  padding: 0 !important;
  color: #0f6fff !important;
  font-size: clamp(16px, 1.05vw, 19px) !important;
  font-weight: 800;
}

#contents iframe,
#iframe_dcwebcad {
  width: var(--dc-content-width);
  min-height: 78vh;
  border: 0;
  overflow: hidden;
  margin: 0 auto 20px;
  display: block;
  background: #fff;
  box-shadow: var(--dc-card-shadow);
}

#footer-placeholder {
  margin-top: 26px;
}

.site-footer-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 14px 20px;
}

.site-footer-card {
  border-radius: 30px 30px 0 0;
  background: linear-gradient(135deg, #0f172a 0%, #111827 55%, #1e293b 100%);
  color: #e2e8f0;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.12);
}

.site-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer-logo {
  height: 42px;
  width: auto;
}

.site-footer-title {
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 800;
  color: #f8fafc;
}

.site-footer-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #94a3b8;
}

.fu_a {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fu_a a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.fu_a a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.16);
}

.fu_pic {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(1.05);
}

.fu_a_txt {
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 14px;
  line-height: 1.9;
  color: #cbd5e1;
}

/* mobile & tablet */
@media (max-width: 1100px) {
  .introduce_1 {
    background-size: min(36vw, 360px);
  }

  .introduce_span_font,
  .introduce_en_span_font,
  .introduce_jp_span_font {
    max-width: 60%;
  }

  #pi_box4,
  #ce_box2,
  #ce_box3,
  #da_box2,
  #da_box3,
  .add_div2 {
    flex-wrap: wrap;
  }

  #pi_box4 > div,
  #ce_box2 > div,
  #ce_box3 > div,
  #da_box2 > div,
  #da_box3 > div,
  .add_div2 > div {
    flex: 1 1 calc(50% - 12px);
    min-width: 240px;
  }
}

@media (max-width: 860px) {
  :root {
    --dc-content-width: min(100% - 18px, 1440px);
  }

  .main-img-font1 {
    width: 68%;
    right: 14%;
  }

  .main-img-font2,
  .main-img-font3,
  .main-img-font4 {
    width: 52%;
    right: 4%;
  }

  .introduce_1 {
    background-image: none;
    padding: 24px 18px;
  }

  .introduce_span_font,
  .introduce_en_span_font,
  .introduce_jp_span_font {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.85;
  }

  .timeline .events {
    padding: 58px 18px 18px 18px !important;
  }

  .timeline .events .date {
    top: 18px !important;
    left: 18px !important;
  }

  #te_box1 {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  #contents iframe,
  #iframe_dcwebcad {
    min-height: 72vh;
  }

  .site-footer-top,
  .fu_a {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .main-img-font1,
  .main-img-font2,
  .main-img-font3,
  .main-img-font4 {
    font-size: clamp(10px, 2.8vw, 16px);
    line-height: 1.55;
  }

  .pr_d0,
  .pr_d1,
  .pr_d2 {
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    font-size: clamp(15px, 4.2vw, 22px);
  }

  #pi_box4 > div,
  #ce_box2 > div,
  #ce_box3 > div,
  #da_box2 > div,
  #da_box3 > div,
  .add_div2 > div {
    flex-basis: 100%;
    min-width: 100%;
  }

  .add_div3,
  #pi_box4,
  #ce_box1,
  #ce_box2,
  #ce_box3,
  #da_box2,
  #te_box1,
  #in_box2,
  .img_group,
  #ma_box2 {
    border-radius: 22px;
  }

  .ma__font_txt {
    padding: 20px 16px;
    font-size: 16px;
  }

  .ce_txt5 {
    min-height: 48px;
  }

  .fu_a a {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .fu_a_txt {
    font-size: 13px;
  }
}


/* product page image balance fix */
.page-product #ma_bo,
.page-product #ma_box2 {
  width: min(100%, 1180px);
}

.page-product #ma_bo,
.page-product #ma_box2,
.page-product #pi_box4 {
  margin-bottom: 24px;
}

.page-product #ma_bo > div,
.page-product #ma_box2 > div {
  width: 100%;
}

.page-product .product_img {
  display: block;
  width: 100%;
  max-height: clamp(260px, 34vw, 430px);
  object-fit: cover;
  object-position: center;
}

.page-product #pi_box4 {
  padding: clamp(18px, 2.4vw, 28px);
}

.page-product #pi_box4 > div.pr_txt1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.page-product #pi_box4 img {
  display: block;
  width: 72% !important;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.page-product .pr_txt1 {
  font-size: clamp(14px, 1.05vw, 18px) !important;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .page-product .product_img {
    max-height: 320px;
  }

  .page-product #pi_box4 img {
    width: 64% !important;
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  .page-product #ma_bo,
  .page-product #ma_box2,
  .page-product #pi_box4 {
    margin-bottom: 18px;
  }

  .page-product .product_img {
    max-height: 240px;
  }

  .page-product #pi_box4 {
    padding: 16px 14px;
  }

  .page-product #pi_box4 img {
    width: min(72%, 220px) !important;
    max-width: 100%;
  }

  .page-product .pr_txt1 {
    font-size: 15px !important;
  }
}
