@charset "utf-8";

/*視窗背景色設定：改為簡約的淺灰色底*/
body {
  background-color: #f4f7f6;
  font-family: "微軟正黑體", sans-serif;
  color: #333;
}

/*連結顏色設定*/
a {
  color: #3b82f6;
}
a:hover {
  color: #2563eb;
  text-decoration: none;
}

/*頁首,導覽,頁尾的共通設定*/
header, nav, footer {
  text-align: center;
}

/*導覽樣式設定*/
.menu li {
  list-style-type: none;
  display: inline-block;
  width: 150px;
  margin: 0 10px;
}
.menu a {
  display: block;
  padding: 10px;
  background: #3b82f6;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.menu a:hover {
  background: #60a5fa;
}

/*頁面標題設定 (保留 LOGO 的立體感與漸層)*/
h1 {
  width: 320px;
  margin: 40px auto;
  padding: 30px;
  border: 5px solid #bfdbfe;
  color: #fff;
  font-size: 300%;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  text-shadow: 1px 1px 3px #1e3a8a;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  background-image: linear-gradient(to bottom, #60a5fa, #2563eb);
  font-family: 'Limelight', cursive;
}

/*次標題設定*/
.h {
  padding: 10px;
  margin-bottom: 30px;
  border: 1px dotted #93c5fd;
  border-left: 10px solid #2563eb;
  color: #1e40af;
  border-radius: 5px 0 0 5px;
}

/*小標題設定*/
.h-sub {
  padding: 10px;
  background-color: #eff6ff;
  color: #1e3a8a;
  border-radius: 10px;
  box-shadow: 0 0 5px 2px #dbeafe inset;
}
.h-sub span {
  font-weight: normal;
}

/*區塊間分隔*/
#contents > section + section {
  margin-top: 60px;
}

/*內容區塊邊框設定*/
#contents {
  width: 798px;
  margin: 40px auto;
  padding: 40px 80px;
  border: 1px solid #bfdbfe;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/*定義清單 dl dt dd 排版*/
dl {
  line-height: 2;
}
dt {
  float: left;
  font-weight: bold;
  color: #1e40af;
}
dd {
  margin-left: 80px;
}

/*連結圖示設定*/
a[target="_blank"]::after {
  content: " ↗"; /* 用純文字箭頭取代原來的圖片，看起來更乾淨 */
  color: #9ca3af;
  font-size: 0.8em;
}
a[href^="mailto:"]::after {
  content: " ✉";
  color: #9ca3af;
  font-size: 0.8em;
}

/*文繞圖設定*/
.imgL {
  float: left;
  margin-right: 25px;
  border-radius: 50%; /* 讓大頭照變圓形 */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.clear {
  clear: both;
}
/*「查看更多」連結設定*/
.more {
  text-align: right;
}

/* 在連結後方加入箭頭小圖 */
.more::after {
  content: url(img/ico_arrow.png); /* 請確保 img 資料夾內有 ico_arrow.png 這個圖檔 */
  margin-left: 3px;
  vertical-align: middle;
}