@charset "UTF-8";
@import "style";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@500&display=swap");

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 微軟正黑體, Arial;
  background-color: #fff;
}

img {
  max-width: 100%;
  border: 0;
}

ul li {
  margin-left: 10px;
}

a {
  text-decoration: none;
  cursor: pointer;
}

a:visited {
  color: rgb(0, 0, 238);
}

.link-black {
  color: #000;
}

.bold-text {
  font-weight: 800;
}

.text-center {
  text-align: center;
}

._20px-padding {
  padding-left: 20px;
  padding-right: 20px;
}

._10px-padding-top {
  padding-top: 10px;
}

._10px-divider {
  width: 10px;
  height: 10px;
}

._20px-divider {
  width: 10px;
  height: 20px;
}

._30px-divider {
  width: 10px;
  height: 30px;
}

._40px-divider {
  width: 10px;
  height: 30px;
}

._50px-divider {
  width: 10px;
  height: 30px;
}

._p-prequel {
  text-indent: 32px;
  line-height: 40px;
}

.milestones_date_td {
  width: 270px;
}

.milestones-list li {
  list-style: disc;
  padding-bottom: 5px;
}

/* 新增：數字列表 */
.milestones-list.num-list {
  list-style-type: decimal !important;      /* 數字 1., 2., 3... */
   margin-left: 2.5em !important;
  padding-left: 0 !important;             
}

.milestones-list.num-list li {
  list-style: none!important;             /* 移除 li 的原點 */
  padding-bottom: 5px;
  padding-left: 0 !important;  /* 避免 li padding 壓數字 */
}


.index-divider {
  height: 60px;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-right: 40px;
  padding-left: 40px;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-right: auto;
  margin-left: auto;
  background-image: url("../images/background02.png");
  background-repeat: repeat;
}

.banner {
  height: 150px;
}

.banner-container {
  display: flex;
  flex-direction: row;
  height: 100%;
  background-image: url("../images/banner.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.banner-container_en {
  display: flex;
  flex-direction: row;
  height: 100%;
  background-image: url("../images/banner_en.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.banner-imgags {
  width: 25%;
}

.banner-blank {
  width: 75%;
  min-width: 75%;
}

.banner-logo {
  height: 60%;
  text-align: center;
}

.banner-text {
  height: 40%;
  width: 55%;
  display: flex;
  flex-direction: row;

  margin: 10px auto 0;
}

.banner-text-div {
  text-align: center;
  margin: 5px 8px 5px 0;
}

.banner-text a {
  color: #f2f2f2;
}

.banner-text-en {
  padding-left: 70px;
  font-size: 18px;
}

.banner-text-en a {
  color: #f2f2f2;
}

.tablist {
  padding-top: 50px;
}

.indent {
  font-size: 18px;      /* 以 px 設定絕對大小 或 font-size: 1.2em; 以父元素的大小相對放大1.2倍 或 font-size: 120%; 以百分比方式設定  或 font-size: large; 直接用關鍵字 */
  text-indent: 2em;      /* 段落首行縮排 */
  margin-top: 0.5em;     /* 段落間距，讓段落更分明 */
  white-space: normal;   /* 自動跳行 */
  line-height: 1.7;      /* 行距舒適 */
}

.anchor {
  padding: 20px;
  padding-left: 40px;
}

.anchor a:link {
  padding-left: 10px;
  color: #595959;
  font-size: 28px;
  font-weight: 600;
  border-left: 4px solid #000;
  border-radius: 2px;
}

.anchor a:visited {
  color: #595959;
}

.content {
  width: 1440px;
  height: 90%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 20px 15px 80px;
  flex: 1;
}

.index-content {
  padding-top: 30px;
}

footer {
  width: 100%;
  height: 50px;
  background-color: #3b6271;
  color: #fff;
}

.grid-layout-4columns {
  display: -ms-grid;
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
}

.grid-layout-5columns {
  display: -ms-grid;
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
}

.w-inline-block {
  width: 100%;
  max-width: 100%;
  display: inline-block;
  padding: 40px 20px;
  border: 3px solid #f6f7fa;
  border-radius: 15px;
  background-color: #fff;
  transition: all 200ms ease;
  color: #333;
  text-decoration: none;
}

.site-description {
  display: -moz-inline-box;
  -moz-box-orient: vertical;
  width: 80%;
  max-width: 80%;
  height: 100%;
  /*background: #FCFCFC;
	border: 1px solid #CCC;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
	*/
  margin: 20px auto;
  position: relative;
  padding: 20px 10px 10px;
}

.image-style {
  display: block;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.page-title {
  font-size: 33px;
  font-weight: 800;
}

.large-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

.middle-title {
  font-size: 22px;
  line-height: 36px;
  font-weight: 600;
  text-align: center;
}

.normal-text {
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  padding-left: 20px;
  padding-right: 20px;
}

.normal-text p {
  line-height: 40px;
  margin-top: 20px;
  font-weight: 500;
}

.light-text {
  color: #666;
  font-size: 14px;
  line-height: 30px;
  font-weight: 400;
  padding-left: 20px;
  padding-right: 20px;
}

.date-text {
  color: #a9a9a9;
  font-size: 14px;
  line-height: 28px;
  font-weight: 400;
  text-align: right;
  text-decoration: none;
}

.content_text {
  border: 2px solid #a9a9a9;
  border-radius: 10px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.2em;
  line-height: 40px;
  width: 90%;
  margin: 20px auto;
  padding: 10px;
}

.content_text_en {
  border: 2px solid #a9a9a9; /* 外框線條：2px、灰色 (#A9A9A9) */
  border-radius: 10px; /* 外框圓角：10px，讓邊角變圓滑 */
  font-family: "Noto Sans TC", sans-serif; /* 英文字型：Arial（無襯線字型），沒有 Arial 時使用系統預設無襯線 */
  font-size: 1.2em; /* 文字大小：相對於父元素的 1.2 倍 */
  line-height: 1.8; /* 行距：1.8 倍字體高度，可依需求調整（1.5~2 間常用） */
  width: 90%; /* 區塊寬度：佔父容器的 90% */
  margin: 20px auto; /* 外距：上下 20px，自動置中 */
  padding: 10px; /* 內距：四周 10px，讓文字不要緊貼邊框 */
}

.search_picture {
  display: flex;

  margin-top: 10px;
  padding: 2px;
  justify-content: space-evenly;
}

.search_picture .imgBox {
  position: relative;
  height: 300px;
  margin: 30px 4px;
  background-color: #fff;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.05);
}

.search_picture img {
  max-width: 100%;
  min-width: 100%;
  height: 270px;
  /* 图片发生裁剪 */
  object-fit: cover;
  vertical-align: bottom;
  cursor: pointer;
}

.search_picture .info {
  position: absolute;
  overflow: hidden;
  visibility: hidden;
  bottom: 0;
  transition: transform 0.35s;
  transform: translate3d(0, 100%, 0);
  height: 30px;
  width: 100%;
  background: rgba(27, 21, 21, 0.5);
}

.imgBox:hover .info {
  transform: translate3d(0, 0, 0);
  visibility: visible;
}

.search_picture .info .title {
  color: #fff;
  font-size: 14px;
  padding: 5px 10px;
  margin: 0;
}

.table-view {
  margin: 20px auto;
  width: 80%;
  /*border: 3px solid #A52A2A;*/
}

.table-view table {
  width: 100%;
}

.table-view thead {
  background-color: #bd4242;
  color: #f0ffff;
  height: 40px;
  line-height: 40px;
}

.table-view td {
  /*border-bottom: 1px solid #A52A2A;*/
  padding: 15px;
}

.table-milestones {
  margin: 20px auto;
  width: 90%;
}

.table-milestones table {
  width: 100%;
}

.table-milestones-3col table {
  width: 100%;
  table-layout: fixed;
}
.table-milestones-3col thead th:nth-child(1),
.table-milestones-3col tbody td:nth-child(1) { width: 16%; }
.table-milestones-3col thead th:nth-child(2),
.table-milestones-3col tbody td:nth-child(2) { width: 42%; }
.table-milestones-3col thead th:nth-child(3),
.table-milestones-3col tbody td:nth-child(3) { width: 42%; }

.table-milestones thead {
  background-color: #87cefa;
  color: #333;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
}

.table-milestones td {
 /* border-bottom: 1px solid #A52A2A;*/
  padding: 15px;
}

.table-list {
  margin: 20px auto;           /* 外邊距：上下 20px，左右自動置中 */
  width: 70%;                 /* 元素寬度為容器的 70% */
  background-color: rgb(232, 247, 247, 0.3);  /* 淺藍綠色背景，30% 透明度 */
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.05);    /* 底部輕微陰影效果 */
  border: 1px solid #f9fbfd;            /* 淺灰藍色實線邊框，1px寬 */
  border-radius: 8px;                    /* 邊角圓弧半徑 8px */
  /*border: 3px solid #A52A2A;*/         /* 設定 3px 寬深褐色實線邊框 */
}

.table-list ul {
  /*border-bottom: 1px solid #A52A2A;*/
  width: 100%;
  padding: 15px;
}


.table-list li {
  /*border-bottom: 1px solid #A52A2A;*/
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* 需要自動換行＋縮排的 li  */
.table-list li.indent-wrap {
  white-space: normal;
  word-wrap: break-word;       /* old name */
  overflow-wrap: break-word;   /* 新標準 */
  padding-left: 2em;     /* 整體往右 */
  text-indent: -2em;     /* 首行往回拉 */
}



.wrap {
  white-space: normal;         /* 允許正常換行 */
  word-break: normal;          /* 不強制在字中間拆開 */
  overflow-wrap: break-word;   /* 單字太長才必要時拆開 */
 /*word-break: break-all;*/
}

.light-blue {
  background-color: rgba(247, 247, 232, 0.2);
}

.light-pink {
  background-color: rgba(247, 232, 232, 0.2);
}

.exit-list {
  width: 90%;
  margin: 20px auto;
}

.exit-img {
  width: 100%;
  margin: 20px auto;
}

.news-container {
  display: flex;
  width: 1200px;
  height: auto;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 0 auto;
}

.news-container-en {
  display: flex;
  width: 1200px;
  height: auto;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 0 auto;
}

.left-content {
  flex: 1;
}

.right-content {
  flex: 1;
}

.left-content-en {
  flex: 1.5;
}

.right-content-en {
  flex: 1;
}

.news-ul-text {
  font-size: 16px;
}

.news-ul-text li {
  margin: 10px 30px 5px 30px;
}

.news-pic-eng {
  margin-left: 10px;
}

@media screen and (max-width: 1600px) {
  .index-content {
    padding-top: 30px;
  }

  .content {
    padding-bottom: 20px;
  }

  .banner-text {
    width: 65%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1440px) {
  .banner-text {
    margin: -10px auto 0;
  }
}

@media screen and (max-width: 1200px) {
  .banner-text {
    margin: -25px auto 0;
  }
}

.h2-inline-block {
  display: inline-block;
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.h2-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.p-meta {
  color: #666;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}

.prequel-text {
  width: 80%;
  margin: 0 auto;
}

@media screen and (max-width: 991px) {
  .banner {
    display: none;
  }

  .header {
    height: 50px;
    background-color: #7b9475;
    position: relative;
  }

  .header h4 img {
    max-width: 100%;
    max-height: 40px;
    padding-top: 5px;
    padding-left: 5px;
  }

  #menu_control {
    position: absolute;
    z-index: -2;
    opacity: 0;
  }

  #menu_control:checked ~ .header nav {
    left: 0;
  }

  .menu-button {
    width: 30px;
    height: 40px;
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
  }

  .menu-button span {
    opacity: 0;
    width: 1px;
    height: 1px;
    display: block;
    overflow: hidden;
  }

  .menu-button::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 26px;
    top: 0;
    bottom: 0;
    left: 2px;
    background-color: #fff;
    margin: auto;
    box-shadow: 0px 8px 0px #fff, 0px -8px 0px #fff;
  }

  nav {
    width: 100%;
    height: calc(100vh - 50px);
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 50px;
    left: -100%;
    transition: 0.5s;
  }

  nav a {
    display: block;
    color: #c5c8c8;
    text-decoration: none;
    padding: 10px 20px;
    border-bottom: 1px solid #a6e22c;
    font-size: 18px;
    font-weight: 400;
  }

  nav .main-active-link {
    background-color: #1c6262;
    color: #fff;
  }

  nav .active-link {
    color: #ffe6b3;
  }

  nav .sub-link {
    padding-left: 55px;
  }

  .footer {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    color: #f5f1f0;
    font-size: 12px;
  }

  .footer .info {
    margin: 0 auto;
  }

  .footer .info .libinfo {
    padding: 20px;
  }

  .footer .info .libinfo ul {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .footer .info .libinfo li {
    line-height: 20px;
  }

  .footer .info .libinfo img {
    width: 20px;
    height: 20px;
    padding-top: 15px;
  }

  .footer .info .title {
    font-weight: 400;
    font-size: 16px;
  }

  .footer .copyright {
    padding: 0 10px 20px;
  }

  .footer .copyright ul {
    margin: 20px;
    text-align: center;
  }

  .footer .copyright a {
    color: #f5f1f0;
  }

  .footer .divider {
    display: none;
  }
}

@media screen and (min-width: 767px) {
}

@media screen and (min-width: 479px) {
}
