/* °øÅë ¸®¼Â */
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
}
html, body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.5;
  scroll-behavior: smooth; /* ºÎµå·¯¿î ½ºÅ©·Ñ */
}
a {
  text-decoration: none;
  color: inherit;
}
ul, li {
  list-style: none;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: none;
}
h1, h2, h3, h4, h5 {
  margin: 0; 
  padding: 0;
}
p {
  margin: 0; 
  padding: 0;
}

/* ½ºÅ©·Ñ ÁøÇà ¹Ù & ¸ÇÀ§·Î ¹öÆ° */
#progressContainer {
  position: fixed;
  top: 0; left: 0; 
  width: 100%;
  height: 4px;
  background: #eee;
  z-index: 99999;
}
#progressBar {
  width: 0;
  height: 100%;
  background: #ff4500;
  transition: width 0.25s;
}
#backToTop {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px; 
  height: 40px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 99999;
  transition: background 0.3s;
}
#backToTop:hover {
  background: rgba(0,0,0,0.8);
}

/* fadeIn ¾Ö´Ï¸ÞÀÌ¼Ç (Intersection Observer) */
.fadeIn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}
.fadeIn.show {
  opacity: 1;
  transform: translateY(0);
}

/* »ó´Ü ¿µ¿ª */
.top_con_zone {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.top_fix_zone {
  background-color: #fff;
  width: 100%;
  z-index: 9999;
  transition: box-shadow 0.3s;
  position: relative; /* µå·Ó´Ù¿î À§ÇØ relative */
}
.top_bar_fix {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: slideDown 0.4s ease forwards;
}
@keyframes slideDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}
.pd_top_100 {
  padding-top: 70px; /* ¸Þ´º ³ôÀÌ¿¡ ¸ÂÃç Á¶Àý */
}

/* »ó´Ü ¸Þ´º */
#topmenu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 9999; /* µå·Ó´Ù¿îÀÌ °¡·ÁÁöÁö ¾Êµµ·Ï */
}
#logo { }

/* ÇÜ¹ö°Å Ã¼Å©¹Ú½º */
#toggle {
  display: none; /* Ã¼Å©¹Ú½º ¼û±è */
}
label {
  display: none; /* µ¥½ºÅ©Å¾¿¡¼­´Â ¼û±è */
}

/* µ¥½ºÅ©Å¾ ¸Þ´º */
#nav {
  display: inline-flex;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
  position: relative;
  z-index: 9999;
}
#nav li {
  display: inline-block;
}
#nav li a {
  display: block;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}
#nav li a:hover {
  background-color: #f0f0f0;
}

/* ¸ð¹ÙÀÏ ½ºÅ¸ÀÏ */
@media all and (max-width: 768px) {
  /* ÇÜ¹ö°Å ¾ÆÀÌÄÜ (¡Õ) */
  label {
    display: block;
    cursor: pointer;
    font-size: 35px;  /* ´õ Å©°Ô Ç¥½Ã */
    font-weight: bold;
    color: #333;
    background: none; /* ¹è°æ Á¦°Å */
    border: none;    /* Å×µÎ¸® Á¦°Å */
    margin-right: 10px;
  }
  label:hover {
    color: #555; /* È£¹ö ½Ã »ö»ó º¯°æ µî */
  }

  /*
    #toggleÀÌ Ã¼Å©µÇ¸é ~ #nav°¡ º¸ÀÌµµ·Ï
  */
  #toggle:checked ~ #nav {
    display: flex; /* flex·Î º¯°æ */
  }

  /* ¼û±è -> º¸ÀÓ */
  #nav {
    display: none;
    position: absolute;
    top: 60px;   /* Çì´õ ¾Æ·¡ */
    left: 0;     /* ÁÂÃøºÎÅÍ ½ÃÀÛ */
    width: 100%; /* ÀüÃ¼ Æø */
    background-color: #fff;
    border: none;       /* Å×µÎ¸® Á¦°Å */
    border-radius: 0;   /* µÕ±Ù ¸ð¼­¸® Á¦°Å */
    flex-direction: column;
    align-items: center; /* °¡¿îµ¥ Á¤·Ä */
    z-index: 99999;
  }
  #nav li {
    width: 100%;
    border-bottom: 1px solid #eee;
    text-align: center;
  }
  #nav li a {
    display: block;
    padding: 12px 0;
    width: 100%;
    color: #333; /* ¸Þ´º ±ÛÀÚ»ö */
  }
}

/* Hero (page00) : Parallax */
/* => ¿©±â¸¸ Ç®³Êºñ (°¡·Î Æø Á¦ÇÑ ¾øÀ½) */
#page00 {
  min-height: 80vh;
  background: url('/imgs/img4.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
#page00t {
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 6px;
  animation: fadeInTop 1s ease forwards;
  opacity: 0;
}
@keyframes fadeInTop {
  0% {
    opacity: 0; 
    transform: translateY(-20px);
  }
  100% {
    opacity: 1; 
    transform: translateY(0);
  }
}
.page00t01 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}
.page00t02 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.page00t03 {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* =========================================
   ¿©±âºÎÅÍ #page01, #page02, #page03, #page04 µî
   ÃÖ´ë 1200px Á¦ÇÑ + °¡¿îµ¥ Á¤·Ä
========================================= */
#page01,
#page02,
#page03,
#page04 {
  max-width: 1200px;
  margin: 0 auto;
  /* ÇÊ¿ä ½Ã, ÁÂ¿ì ¿©¹é
     padding: 0 1rem; */
}

/* About (page01) */
#page01 {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}
.page01img {
  float: left;
  width: 40%;
  height: 300px;
  background: url('/imgs/img4.jpg') no-repeat center center / cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
}
.page01img:hover {
  transform: scale(1.05);
}
.page01t {
  float: left;
  width: 60%;
  padding: 0 1rem;
}
.page01t .title01 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.page01t .st01 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #555;
}
.page01t .normal {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}
.sp40 {
  height: 40px;
}
#page01::after {
  content: "";
  display: block;
  clear: both;
}

/* Company (page02) */
#page02 {
  padding: 4rem 1rem;
  background-color: #fff;
}
.page02t {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.page02t .title01 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.page02t .st01 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 1rem;
}
.page02t .normal {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.page02img {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.page02img div {
  width: 23%;
  height: 180px;
  background: url('/imgs/img5.jpg') no-repeat center center / cover;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.page02img div:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}
.page02img div:nth-child(2) {
  background-image: url('/imgs/img6.jpg');
}
.page02img div:nth-child(3) {
  background-image: url('/imgs/img7.jpg');
}
.page02img div:nth-child(4) {
  background-image: url('/imgs/img8.jpg');
}
.page02t2 {
  background-color: #f7f7f7;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}
.page02t2::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: url('/imgs/img6.jpg') repeat;
  opacity: 0.06;
  z-index: 0;
}
.page02t2 .st02 {
  font-size: 2rem;
  color: #444;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.page02t2 .normal {
  position: relative;
  z-index: 1;
}

/* Projects (page03) */
#page03 {
  padding: 4rem 1rem;
  background-color: #fafafa;
}
.page03_s01, .page03_s02, .page03_s03 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
}
.page03img {
  width: 40%;
  min-height: 250px;
  background: url('/imgs/img4.jpg') no-repeat center center / cover;
  border-radius: 8px;
  margin-right: 5%;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.page03img:hover {
  transform: scale(1.03);
}
.page03t {
  width: 55%;
}
.page03t .st03 {
  font-size: 1.4rem;
  color: #777;
  margin-bottom: 1rem;
  font-weight: bold;
}
.page03t .st01 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.page03t .normal {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Contact (page04) */
#page04 {
  padding: 4rem 1rem;
  background-color: #fff;
}
.page04map {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}
.page04t {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.page04t .st03 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #777;
  font-weight: bold;
}
.page04t .st01 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 500;
}
.page04t .normal {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* »ó´ã½ÅÃ» Æû */
#online {
  width:100%;
}
#online_body {
  width:100%;
  margin: 0 auto;
  text-align: center;
}
.from_con {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.from_con .title {
  color:#505050; 
  font-size:17px; 
  width: 70px;
  margin-right: 10px;
}
.from_con select, .from_con input {
  width: 200px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border 0.3s;
}
.from_con select:focus, .from_con input:focus {
  border-color: #888;
  outline: none;
}
/* ¹öÆ°À» °¡¿îµ¥ Á¤·Ä */
#from_button {
  margin: 1.5rem 0;
  text-align: center;/* Ãß°¡: ¹öÆ°À» °¡¿îµ¥ Á¤·Ä */
}
#from_button input {
  width: 220px;
  border: none;
  text-align:center; 
  font-size: 16px;
  font-weight: bold; 
  color: #fff; 
  padding: 12px 0; 
  background: #70665d;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
}
#from_button input:hover {
  background: #8b7f75;
  transform: translateY(-3px);
}

/* ¹ÝÀÀÇü */
@media (max-width: 992px) {
  .page01img, .page03img {
    width: 100%;
    margin-bottom: 1rem;
  }
  .page01t, .page03t {
    width: 100%;
  }
}
@media (max-width: 580px) {
  .from_con { 
    flex-direction: column;
    align-items: flex-start;
  }
  .from_con .title {
    margin-bottom: 0.3rem;
  }
  .from_con select, .from_con input {
    width: 100%;
  }
  #from_button input {
    width: 100%;
    font-size: 18px;
  }
}

/* ÇÏ´Ü Ä«ÇÇ¶óÀÌÆ® */
.copy {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  background-color: #f0f0f0;
  padding: 1rem 0;
  margin-top: 2rem;
  position: relative;
}

/* Å¸ÀÌÇÎ È¿°ú ½ºÅ¸ÀÏ */
#typedText {
  display: inline-block;
  border-right: 2px solid #fff;
  white-space: nowrap;
  overflow: hidden;
}

/* ========== °Ô½ÃÆÇ ¹Ì¸®º¸±â ¼½¼Ç (NOTICE) ========== */
#notice {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}
#notice article {
  max-width: 1200px;
  margin: 0 auto;
}
.board_preview_wrap {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
}
.board_preview_wrap h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #424242;
  text-align: center;
  margin-bottom: 2rem;
}
.board_preview_list {
  max-width: 800px;
  margin: 0 auto;
}
.board_preview_list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e1e1e1;
}
.board_preview_list li a {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.board_preview_list li a:hover {
  color: #b5917a;
}
.board_preview_list li .date {
  font-size: 0.85rem;
  color: #999;
  margin-left: 0.5rem;
}
.more_btn {
  text-align: center;
  margin-top: 2rem;
}
.more_btn a {
  display: inline-block;
  background: #b5917a;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s;
}
.more_btn a:hover {
  background: #9e7b63;
}
