/* ÃÊ±âÈ­ (reset) */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* »ó´Ü ÀüÃ¼ ÄÁÅ×ÀÌ³Ê */
.top_con_zone {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* »ó´Ü ÀüÈ­¹®ÀÇ ¾ÆÀÌÄÜ (¿¹: #call) */
#call {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
}
#call a img {
  width: 40px;
  height: auto;
  transition: transform 0.3s;
}
#call a img:hover {
  transform: scale(1.1);
}

/* »ó´Ü ¸Þ´º ¿µ¿ª */
.top_fix_zone {
  background-color: #fff;
  width: 100%;
  z-index: 9998;
  transition: box-shadow 0.3s;

  /* ÀÚ½Ä ¸Þ´º°¡ ¹Ù±ùÀ¸·Î ÆîÃÄÁ®µµ º¸ÀÌµµ·Ï */
  position: relative;
  overflow: visible;
}

/* ½ºÅ©·Ñ ³»¸± ¶§ °íÁ¤µÇ´Â Å¬·¡½º */
.top_bar_fix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);

  /* µå·Ó´Ù¿îÀÌ Çì´õ ¹ÛÀ¸·Î ³ª¿Ã ¼ö ÀÖ°Ô */
  z-index: 9999;
  overflow: visible;
}

/* °íÁ¤ µÚ ¾Æ·¡ ÄÁÅÙÃ÷°¡ °¡·ÁÁöÁö ¾Êµµ·Ï padding Ãß°¡ÇÒ °÷ */
.pd_top_100 {
  padding-top: 80px; /* ¸Þ´º ³ôÀÌ¸¸Å­ Á¶Á¤ */
}

/* ½ÇÁ¦ ¸Þ´º ³»ºÎ (PC) */
#topmenu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 1rem;
  display: flex; /* PC ±âº»: °¡·Î¹èÄ¡ */
  align-items: center;
  justify-content: space-between;
  position: relative; /* µå·Ó´Ù¿î(#nav) Àý´ë¹èÄ¡ ±âÁØ */
}

/* ·Î°í */
#logo {
  display: flex;
  align-items: center;
}

/* ¸ð¹ÙÀÏ Åä±Û Ã¼Å©¹Ú½º´Â ¼û±è */
#toggle {
  display: none;
}
/* ÇÜ¹ö°Å ¶óº§Àº PC¿¡¼­´Â ¼û±â°í, ¸ð¹ÙÀÏ¿¡¼­ º¸ÀÓ */
.hamburger {
  display: none;
}

/* nav (PC: °¡·Î ¸Þ´º) */
#nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-weight: 500;
}
#nav li a {
  padding: 8px 12px;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 4px;
}
#nav li a:hover {
  background-color: #f0f0f0;
}

/* Hero ¼½¼Ç (#page00) */
#page00 {
  min-height: 60vh; 
  background: url('/imgs/img5.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

#page00 article {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem 1rem;
  border-radius: 8px;
}

#page00 article h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
#page00 article h2 span {
  color: #ffd460;
  font-weight: bold;
  font-size: 2.2rem;
}

/* Hero ³»ºÎ ÀÛÀº Æ÷ÀÎÆ® ±¸¿ª */
#page00 article > div {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
#page00 article > div figure {
  background-color: #ffd460;
  color: #000;
  border-radius: 8px;
  padding: 1rem 2rem;
  min-width: 150px;
}
#page00 article > div figure h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

/* ====== Page01 ¼½¼Ç ====== */
#page01 {
  padding: 4rem 1rem;
  background-color: #fafafa;
}
#page01 .title h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
#page01 .title span {
  color: #ff7f50;
  font-weight: bold;
}
#page01 .title h5 {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}
#page01 .bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
#page01 .bar > div {
  width: 50px;
  height: 4px;
  background-color: #ff7f50;
  border-radius: 2px;
}
#page01 .con h2 {
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}
#page01 .con > div {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
#page01 .con > div figure {
  width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
#page01 .con > div figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
#page01 figure h3 {
  font-size: 2rem;
  color: #ff7f50;
  margin-bottom: 0.5rem;
}
#page01 figure h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
#page01 figure h5 {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* ====== Page02 ¼½¼Ç (Æ¯º°»óÇ°) ====== */
#page02 {
  padding: 4rem 1rem;
  background-color: #fff;
}
#page02 .title h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}
#page02 .title span {
  color: #ff7f50;
  font-weight: bold;
}
#page02 .title h5 {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}
#page02 .bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
#page02 .bar > div {
  width: 50px;
  height: 4px;
  background-color: #ff7f50;
  border-radius: 2px;
}
#page02 .con h2 {
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}
#page02 .icon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
#page02 .icon figure {
  width: 240px;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #fafafa;
}
#page02 .icon figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
#page02 .icon figure img {
  width: 100%;
  height: auto;
  display: block;
}
#page02 .icon figure h3 {
  padding: 1rem;
  font-size: 1.1rem;
  color: #555;
}

/* ====== Page03 ¼½¼Ç (ºñÁÖ¾óÇü ¼½¼Ç ¿¹½Ã) ====== */
#page03 {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}
#page03 > article > div {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.main01_con {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.main01_con img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}
.main01_con:hover img {
  transform: scale(1.1);
}
.main01_con figcaption {
  position: absolute;
  left: 0; 
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
  background: rgba(0,0,0,0.4);
  color: #fff;
  transition: background 0.3s;
}
.main01_con:hover figcaption {
  background: rgba(0,0,0,0.7);
}
.main01_con figcaption h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}
.main01_con figcaption h2 {
  font-size: 1.6rem;
  margin-top: 0.5rem;
}

/* ====== Page04 ¼½¼Ç (»ó´ã½ÅÃ») ====== */
#page04 {
  background-color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}
#page04 h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}
#page04 h3 span {
  color: #ff7f50;
}

/* »ó´ã Æû ÀüÃ¼ ¹Ú½º */
#online {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background: #f7f7f7;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Æû ³»ºÎ ÄÁÅ×ÀÌ³Ê¸¦ 1¿­(¼¼·Î ¹èÄ¡)·Î º¯°æÇÏ¿© ÀüÃ¼Æø »ç¿ë */
#online_body {
  /* ±âÁ¸: display: flex; flex-wrap: wrap; gap: 2rem; */
  /* ¼öÁ¤ ¡æ ÇÑ ÁÙ·Î ½×ÀÌµµ·Ï */
  display: block;
  /* gap Á¦°Å (ÇÊ¿ä ½Ã ¿øÇÏ´Â marginÀ¸·Î ´ëÃ¼) */
}

/* #from_one ¼½¼Çµµ °¡·ÎÆø 100%·Î */
#from_one {
  width: 100%;
  margin-bottom: 1.5rem; /* ¼½¼Ç °£ °£°Ý */
}

/* ¶óº§/ÀÔ·Â¹­À½ */
.from_con {
  margin-bottom: 1rem;
}

/* ¶óº§ Á¦¸ñ */
.from_title {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* ÅØ½ºÆ® ÇÊµå¸¦ 100%·Î */
.from_con input,
.from_con select,
#from_one input[type="text"],
#from_one textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ¼³¸í¹®±¸ */
.from_text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* textarea */
#from_one textarea {
  resize: vertical;
  min-height: 120px;
}

/* ¹öÆ° ¿µ¿ª */
#from_button {
  text-align: center; /* ¹öÆ° °¡¿îµ¥ Á¤·Ä */
  margin-top: 1rem;
}
#from_button input[type="submit"] {
  padding: 0.8rem 2rem;
  background-color: #ff7f50;
  color: #fff;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}
#from_button input[type="submit"]:hover {
  background-color: #ff9f72;
}

/* ÇªÅÍ (copy) */
.copy {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  background-color: #f0f0f0;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* ====== ¸ð¹ÙÀÏ(<=992px) ÇÜ¹ö°Å µå·Ó´Ù¿î ====== */
@media all and (max-width: 992px) {

  /* ¸ð¹ÙÀÏ¿¡¼­ Çì´õ ¹Ù ¹è°æ ¾îµÓ°Ô */
  .top_fix_zone {
    background-color: #0A1A2A;
  }

  /* #topmenu: ·Î°í¿Í ÇÜ¹ö°Å¸¦ »ó´Ü ¹Ù¿¡ ¹èÄ¡ */
  #topmenu {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 60px;
    width: 100%;
    padding: 0 15px;
    position: relative;
  }

  /* ·Î°í ½ºÅ¸ÀÏ (¾îµÎ¿î ¹è°æ¿¡¼­ º¸ÀÌµµ·Ï) */
  #logo {
    display: block;
    text-align: left;
    margin: 0;
    font-size: 1.7rem;
    color: #fff;
  }

  /* Ã¼Å©¹Ú½º´Â ¼û±â°í, ÇÜ¹ö°Å(label)´Â º¸ÀÌµµ·Ï */
  #toggle {
    display: none;
  }
  label.hamburger {
    display: block; 
    font-size: 30px;
    font-weight: bold;
    color: #F5F9FC; 
    cursor: pointer;
    background: #0A1A2A;
    padding: 5px 10px;
    box-sizing: border-box;
  }

  /* nav: ±âº» ¼û±è, Àý´ë À§Ä¡·Î Çì´õ ³ôÀÌ ¾Æ·¡(top: 60px)¿¡ ÀüÃ¼ Æø */
  #nav {
    position: absolute;
    left: 0;
    top: 60px;  /* Çì´õ ³ôÀÌ¸¸Å­ ¾Æ·¡ */
    width: 100%;
    display: none;
    background: #0A1A2A;
    flex-direction: column; /* ¼¼·Î·Î ÆîÄ§ */
    text-align: center;
    box-sizing: border-box;
    padding: 10px 0;
  }

  /* ¡å ÇÙ½É: #toggle Ã¼Å©µÇ¸é nav Ç¥½Ã (ÀÏ¹Ý ÇüÁ¦ ¼±ÅÃÀÚ ~ »ç¿ë) */
  #toggle:checked ~ #nav {
    display: flex;
  }

  /* nav ¸Þ´º ¾ÆÀÌÅÛ */
  #nav li {
    width: 100%;
    margin: 5px 0;
  }
  #nav li a {
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #0A1A2A;
    background-color: #F5F9FC;
    border-radius: 4px;
    text-decoration: none;
  }
}
