@charset "UTF-8";
/*
  Reset CSS
-----------------------------------------------------------------------------------------------*/

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
    }

    header {
      background-color: #fff;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      padding: 10px 20px;
      position: relative;
      z-index: 1000;
    }


    .nav-container {
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      gap: 60px;
    }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 10px;
}

/* 左右選單群組 */
.nav-group {
  display: flex;
  gap: 12px;
}

/* 選單按鈕樣式 */
.nav-group a {
  width: 120px;
  text-align: center;
  padding: 8px 12px;
  border: 1px solid #000;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border 0.3s;
}

.nav-group a:hover {
  background-color: #007BFF;
  color: #fff;
  border: none;
}

.nav-group a {
  width: 120px;
  display: inline-block;
  text-align: center;
  padding: 8px 12px;
  border: 1px solid #000;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border 0.3s;
  margin: 0 6px; /* 按鈕間距 */
}

.nav-group a:hover {
  background-color: #0060ba;
  color: #fff;
  border: none;
}

/* LOGO 固定尺寸 */
.logo {
  flex: 0 0 auto;
  width: 142px;
  height: 100px;
  display: flex;
  align-items: center;
  margin: 0 10px; /* 控制 LOGO 左右的空隙 */
  justify-content: center;
  flex-grow: 0;
  flex-shrink: 1;
  max-width: 142px; /* 與 LOGO 實際尺寸一致 */
}

.logo img {
  width: 142px;
  height: 100px;
  object-fit: contain;
}

.logo a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 16px; /* 原本可能是 24px，可縮小 */
}

/* 懸停時放大 + 變亮 */
.logo a:hover img {
  transform: scale(1.05);       /* 微微放大 */

}

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background-color: #333;
      transition: all 0.3s ease;
    }

    .mobile-nav {
      display: none;
      flex-direction: column;
      background-color: #fff;
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      padding: 20px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .mobile-nav a {
      padding: 10px 0;
      text-decoration: none;
      color: #333;
      border-bottom: 1px solid #eee;
    }



@media (max-width: 768px) {
  .nav-group {
    display: none;
      #checkList.sticky {
    position: static;
  }

  }

  header {
    padding: 6px 15px;
    position: relative;
    height: 80px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);

  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
  }

  .logo {
    margin: 0 auto;
    width: 100px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo a img {
    width: 80%;
    height: auto;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-nav.show {
    display: flex;
    top: calc(100% + 0px);
  }
}


#checkList {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#mapCheckList {
  display: block;
  max-width: none; /* 保持原始寬度，讓 image map 正常 */
  height: auto;
}
