.tree_bg{ width:100%; overflow-x:auto; background:rgba(255,255,255,0.6); padding:20px; -webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px;}
.tree{ margin:0 auto; width:100%; max-width:900px;}
.tree_center{ margin:0 auto; text-align:center;}
.tree_ul:first-child{padding-top:0px;}
.tree_ul { padding-top:20px; position:relative; transition:all 0.5s; -webkit-transition:all 0.5s; -moz-transition:all 0.5s; padding-left:0;}
.tree_li { position:relative; display:inline-block; vertical-align:top;	text-align:center; list-style-type:none; position:relative; padding:20px 5px 0 5px; transition:all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s;}
.tree_li::before, .tree_li::after{ content:''; position: absolute; top: 0; right: 50%;	border-top:1px solid rgba(0%,0%,0%,0.5); width:50%; height:20px;}
.tree_li::after{right:auto; left:50%; border-left:1px solid rgba(0%,0%,0%,0.5);}
.tree_li:only-child::after, .tree_li:only-child::before { display:none;}
.tree_li:only-child{ padding-top: 0;}
.tree_li:first-child::before, .tree_li:last-child::after{ border:0 none;}
.tree_li:last-child::before{ border-right:1px solid rgba(0%,0%,0%,0.5); border-radius:0 5px 0 0; -webkit-border-radius: 0 5px 0 0; -moz-border-radius:0 5px 0 0;}
.tree_li:first-child::after{ border-radius:5px 0 0 0; -webkit-border-radius:5px 0 0 0; -moz-border-radius: 5px 0 0 0;}
.tree_ul .tree_ul::before{ content: ''; position:absolute; z-index:2; top:0; left:50%; border-left: 1px solid rgba(0%,0%,0%,0.5); width:0; height:20px;}
.tree_li span{ border:1px solid rgba(0%,0%,0%,0.5); padding:4px 15px; color:#666666; display:inline-block; border-radius:5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s;}
.tree_li span:hover, .tree_li span:hover+.tree_ul .tree_li span { background:#c8e4f8; color:#000000; border: 1px solid rgba(0%,0%,0%,0.8);}
.tree_li span:hover+.tree_ul .tree_li::after, .tree_li span:hover+.tree_ul .tree_li::before, .tree_li span:hover+.tree_ul::before, .tree_li span:hover+.tree_ul .tree_li::before{ border-color:rgba(0%,0%,0%,0.8);}

@media (min-width:1051px) and (max-width:1600px) {
.tree{ width:860px;}
}

/*===平版型區===*/
@media (min-width: 685px) and (max-width: 1000px) {
.tree{ width:780px;}
}

/*===手機版型區===*/
@media screen and (max-width: 686px) {
.tree{ width:760px;}
}