@charset "utf-8";
/* CSS Document */
html,body{
	background-attachment: fixed;
	background-image: url(../img/about/bg4_1.jpg);
	background-repeat: no-repeat;
	background-position: center top;
/*	animation: bgfadeIn 0.8s 1 ease forwards;
	-webkit-animation: bgfadeIn 0.8s 1 ease forwards;
	-moz-animation: bgfadeIn 0.8s 1 ease forwards;
	-o-animation: bgfadeIn 0.8s 1 ease forwards;*/
}

@keyframes bgfadeIn {
  0% {
    opacity: 0.0;
  }
  100% {
    opacity: 1.0;
  }
}
.titlearea{
	clear: both;
	float: right;
	width: 200px;
	margin-bottom: 50px;
	margin-top: 50px;
}
.block1{
	clear: both;
	width: 300px;
	margin-right: auto;
	margin-left: auto;
}
.tag{
	font-size: 2.188em;
	color: #FFF;
	background-color: #d7121d;
	text-align: center;
	padding: 5px;
	clear: both;
}
.row{
	clear: both;
	float: left;
	width: 100%;
	font-size: 1.25em;
	color: #FFF; 
	line-height: 2em;
	text-shadow:0px 0px 15px #000000;
}
.block2{
	clear: both;
	width: 800px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 600px;
	margin-bottom: 300px;
}
.row .col_1{
	text-decoration: underline;
	float: left;
	width: 25%;
}
.row .col_2{float: left;
	width: 75%;}
.block3{
	font-size: 1.875em;
	color: #000;
	text-decoration: none;
	text-align: center;
	clear: both;
	float: left;
	width: 80%;
	padding-top: 100px;
	padding-right: 10%;
	padding-bottom: 100px;
	padding-left: 10%;
	background-color: #FFF;
}
.b3_icon{
	color: #FFF;
	background-color: #d7121d;
	text-align: center;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
	margin-right: 10px;
	margin-left: 10px;
	border:none 5px #000000;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright:5px;
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
	-webkit-border-top-left-radius:5px;
	-webkit-border-top-right-radius:5px;
	-webkit-border-bottom-left-radius:5px;
	-webkit-border-bottom-right-radius:5px;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}
.b3_icon:hover{background-color: #2fb8df;}
@media screen  and (max-width: 1500px) {
.titlearea{
	clear: both;
	float: left;
	width: 100%;
}
.block1{
	clear: both;
	width: 95%;
	margin-right: auto;
}
.block2{
	clear: both;
	width: 95%;
	margin-right: auto;
	margin-top: 600px;
	margin-bottom: 300px;
	float: left;
}
.tag{
	font-size: 2.188em;
	text-align: center;
	padding: 5px;
	width: 290px;
	float: left;
}
}
@media screen  and (max-width: 1024px) {
	.block2{
	margin-top: 200px;
	margin-bottom: 200px;
	float: left;
}
.block3{
	font-size: 1.3em;
	width: 90%;
	padding-right: 5%;
	padding-left: 5%;
}
.row{
	width: 90%;
	padding-right: 5%;
	padding-left: 5%;
}
.row .col_1{
	text-decoration: underline;
	float: left;
	width: 100%;
	clear: both;
}
.row .col_2{float: left;
	width: 100%;
	clear: both;}
}
@media screen  and (max-width: 750px) {
.block3{
	text-align: left;
}
}
@media screen  and (max-width: 446px) {
.b3_icon{
	color: #d7121d;
	text-align: center;
	margin-right: 0px;
	margin-left: 0px;
	border: none 5px #000000;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 0px;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	text-decoration: underline;
	background-color: transparent;
	padding: 0px;
}
}
@media screen  and (max-width: 400px) {
.tag{
	font-size: 1.8em;
	width: 90%;
	float: left;
	padding-top: 5px;
	padding-right: 5%;
	padding-bottom: 5px;
	padding-left: 5%;
}
}
.nav {z-index: 10; background: #254e8f; display: flex; flex-wrap: wrap;justify-content: center;position: fixed;top:95px;width: 100%;}
  .nav a { color: white; text-decoration: none; padding: 13px 18px; font-size: 14px; display: block; border-right: 1px solid #3a6dbf;}
  .nav a:nth-child(1){ border-left: 1px solid #3a6dbf; }
  .nav a:hover { background: #3a6dbf; }
  .container { width: 100%;}

  /* 區塊 */
  .section { background: white; border-radius: 8px; margin-bottom: 28px; padding: 28px 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
  .section-title { color: #1a3c6e; font-size: 19px; font-weight: bold; border-left: 5px solid #1a3c6e; padding-left: 13px; margin: 0 0 20px; }
  .subsection-title { color: #254e8f; font-size: 15px; font-weight: bold; margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 1px solid #dde; display: flex; align-items: center; gap: 8px; }

  /* 表格 */
  .info-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
  .info-table th { background: #e8eef7; color: #1a3c6e; padding: 9px 13px; text-align: left; border: 1px solid #ccd; }
  .info-table td { padding: 8px 13px; border: 1px solid #dde; vertical-align: top; }
  .info-table tr:nth-child(even) td { background: #f7f9ff; }

  /* 文件清單 */
  .doc-list { list-style: none; padding: 0; margin: 8px 0; }
  .doc-list li { padding: 8px 0; border-bottom: 1px dashed #e5e8f0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
  .doc-list li:last-child { border-bottom: none; }
  .doc-list li::before { content: "📄"; font-size: 13px; }

  /* Badge */
  .badge { display: inline-block; border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: bold; white-space: nowrap; }
  .b-blue { background: #1a3c6e; color: white; }
  .b-green { background: #2d7a4f; color: white; }
  .b-gray { background: #888; color: white; }

  /* 標籤 */
  .tag { border-radius: 3px; padding: 1px 6px; font-size: 11px; font-weight: bold; white-space: nowrap; }
  .t-must { background: #c0392b; color: white; }
  .t-opt  { background: #e67e22; color: white; }
  .t-keep { background: #27ae60; color: white; }

  /* 資訊框 */
  .info-box { background: #f0f4fb; border-radius: 6px; padding: 14px 18px; font-size: 14px; line-height: 2; }
  .fill { color: #c0392b; font-weight: bold; }

  /* 提示 */
  .note  { font-size: 12px; color: #666; background: #fffbe6; border-left: 3px solid #f0ad00; padding: 6px 12px; border-radius: 4px; margin: 8px 0; }
  .warn  { font-size: 12px; color: #c0392b; background: #fdf0f0; border-left: 3px solid #c0392b; padding: 6px 12px; border-radius: 4px; margin: 8px 0; }

  /* 圖例 */
  .legend { background: white; border-radius: 8px; padding: 13px 22px; margin-bottom: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.07); font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

  .footer { text-align: center; padding: 20px; font-size: 12px; color: #aaa; margin-top: 10px; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media(max-width:600px){ .two-col{ grid-template-columns:1fr; } }
  #ConArea{margin-top: 0px !important;}
  .MainWrap{width: auto !important; display: flex; align-items: center;flex-direction: column;margin-top: 160px;}
@media screen and (max-width: 1500px) {
    .MainWrap, #ConAreaInside {
        width: 100% !important;
        padding-right: 0% !important;
        padding-left: 0% !important;
        clear: both;
        float:none;
    }
}
@media screen and (max-width: 1500px) {
    .tag {
        font-size:11px !important;
        text-align: center;
        padding: 5px;
        width: auto;
        float: none;
    }
}
.section
 {
    clear: both;
	float: none !important;
	width: auto !important;
    max-width: 100%;
    position: relative;
}
/* ── 組織架構圖 ── */
.org-chart-wrap {
  margin: 14px auto 8px;
  overflow-x: auto; /* 允許橫向滑動 */
  -webkit-overflow-scrolling: touch; /* 讓 iOS 裝置滑動更順暢 */
  max-width: 900px; /* ← 把這裡調大，電腦版看起來就會放大 */
}

.org-chart-wrap svg {
  display: block;
  width: 100%;       /* 隨容器縮放 */
  min-width: 800px;  /* ← 關鍵！強制圖表不能縮得太小。在手機上會保持 800px 寬，並讓外層出現左右橫向捲軸 */
  max-width: 100%;
  height: auto;      /* 等比縮放高度 */
}

.oc-box-gray   { fill: #F1EFE8; stroke: #888780; stroke-width: 0.5; }
.oc-box-purple { fill: #EEEDFE; stroke: #534AB7; stroke-width: 0.5; }
.oc-box-teal   { fill: #E1F5EE; stroke: #0F6E56; stroke-width: 0.5; }
.oc-box-blue   { fill: #E6F1FB; stroke: #185FA5; stroke-width: 0.5; }
.oc-th-gray    { font: 500 14px sans-serif; fill: #444441; }
.oc-ts-gray    { font: 400 12px sans-serif; fill: #5F5E5A; }
.oc-th-purple  { font: 500 14px sans-serif; fill: #3C3489; }
.oc-ts-purple  { font: 400 12px sans-serif; fill: #534AB7; }
.oc-th-teal    { font: 500 14px sans-serif; fill: #085041; }
.oc-ts-teal    { font: 400 12px sans-serif; fill: #0F6E56; }
.oc-th-blue    { font: 500 14px sans-serif; fill: #0C447C; }
.oc-ts-blue    { font: 400 12px sans-serif; fill: #185FA5; }
.oc-line       { stroke: #B4B2A9; stroke-width: 1;   fill: none; }
.oc-arr        { stroke: #888780; stroke-width: 1.5; fill: none; }
.oc-dash       { stroke: #B4B2A9; stroke-width: 1;   fill: none; stroke-dasharray: 4 3; }
.oc-note       { font: 400 11px sans-serif; fill: #888780; }
li a:hover,td a:hover {
	color: #cf313f;
	text-decoration: underline blue !important;
	transition: color 0.2s ease;
}




