 #timeline .timeline-item:after,#timeline .timeline-item:before {
    content: '';
    display: block;
    width: 100%;
    clear: both;
}
*, *:before, *:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}
h1, h2, h3, h4 {
    font-family: Heiti TC, 'Noto Sans TC', "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif;
}

#timeline {
    width: 90%;
    margin: 30px auto;
    position: relative;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
#timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    background: #7D0000; /**2018-04-12編輯**/
    left: 50%;
    top: 0;
    position: absolute;
}
#timeline:after {
    content: "";
    clear: both;
    display: table;
    width: 100%}
#timeline .timeline-item {
    margin-bottom: 50px;
    position: relative;
}
#timeline .timeline-item .timeline-icon {
    background: #7D0000; /**2018-04-12編輯**/
    width: 80px; /**2018-04-12編輯**/
    height: 80px;/**2018-04-12編輯**/
    position: absolute;
    top: 0;
    left: 48.5%; /**2018-04-12編輯**/
    text-align: center; /**2018-04-12編輯**/
    overflow: hidden;
    margin-left: -23px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    display: table;
}
#timeline .timeline-item .timeline-icon img {
    position: relative;
    top: 14px;
    left: 14px;
}


#timeline .timeline-item .timeline-icon2 {
    background: #DB992D; /**2018-04-12編輯**/
    width: 60px; /**2018-04-12編輯**/
    height: 60px;/**2018-04-12編輯**/
    position: absolute;
    top: 0;
    left: 49.5%; /**2018-04-12編輯**/
    text-align: center; /**2018-04-12編輯**/
    overflow: hidden;
    margin-left: -23px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    display: table;
}
#timeline .timeline-item .timeline-icon2 img {
    position: relative;
    top: 14px;
    left: 14px;
}




#timeline .timeline-item .timeline-content {
    width: 43%;
    padding: 1em 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#timeline .timeline-item .timeline-content h2 {
    font-size: 18px;
    padding: 0.5em 1em 0.5em 4em;
    letter-spacing: 1px;
    line-height: 2;
    background: url(../../images/timelineboxbg-l.png) top left no-repeat;
    background-color: #7D0000;
    color: #fff;
    font-weight: 400;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: right;
    float: right;
    
}
#timeline .timeline-item .timeline-content:before {
    content: '';
    position: absolute;
    left: 43%;
    top: 35px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #7D0000;
}
#timeline .timeline-item .timeline-content.right {
    float: right;
}
#timeline .timeline-item .timeline-content.right:before {
    content: '';
    right: 45%;
    left: inherit;
    border-left: 0;
    border-right: 7px solid #7D0000;
}





#timeline .timeline-item .timeline-content2 {
    width: 43%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#timeline .timeline-item .timeline-content2 h2 {
    font-size: 18px;
    padding: 0.5em 4em 0.5em 1em;
    letter-spacing: 1px;
    line-height: 2;
    background: url(../../images/timelineboxbg-r.png) top right no-repeat;
    background-color: #7D0000;
    color: #fff;
    font-weight: 400;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: left;
    float: left;
}
#timeline .timeline-item .timeline-content2:before {
    content: '';
    position: absolute;
    left: 45%;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #7D0000;
}
#timeline .timeline-item .timeline-content2.right {
    float: right;
}
#timeline .timeline-item .timeline-content2.right:before {
    content: '';
    right: 43%;
    left: inherit;
    border-left: 0;
    border-right: 7px solid #7D0000;
}



.btn {
    padding: 5px 15px;
    text-decoration: none;
    background: transparent;
    border: 2px solid #f27c7c;
    color: #f27c7c;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    transition: background 0.3s ease;
    -webkit-box-shadow: 2px 2px 0 #f27c7c;
    -moz-box-shadow: 2px 2px 0 #f27c7c;
    -ms-box-shadow: 2px 2px 0 #f27c7c;
    box-shadow: 2px 2px 0 #f27c7c;
}
.btn:hover {
    box-shadow: none;
    top: 2px;
    left: 2px;
    -webkit-box-shadow: 2px 2px 0 transparent;
    -moz-box-shadow: 2px 2px 0 transparent;
    -ms-box-shadow: 2px 2px 0 transparent;
    box-shadow: 2px 2px 0 transparent;
}
@media screen and (max-width: 1023px) {
    #timeline {
        padding: 0;
    }
    #timeline:before {
        left: 0;
    }
    #timeline .timeline-item .timeline-content {
        width: 90%;
        float: right;
    }
    #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
        left: 10%;
        margin-left: -6px;
        border-left: 0;
        border-right: 7px solid #7D0000;/**2018-04-12編輯**/
    }


    #timeline .timeline-item .timeline-content2 {
        width: 90%;
        float: right;
    }
    #timeline .timeline-item .timeline-content2:before, #timeline .timeline-item .timeline-content2.right:before {
        left: 10%;
        margin-left: -6px;
        border-left: 0;
        border-right: 7px solid #7D0000;/**2018-04-12編輯**/
    }

    #timeline .timeline-item .timeline-content h2 {
        text-align: center;
        padding: 0.5em 1em;
        float: unset;
    }


    #timeline .timeline-item .timeline-content2 h2 {
        background: url(../../images/timelineboxbg-l.png) top left no-repeat;
        background-color: #7D0000;
        text-align: center;
        padding: 0.5em 1em;
        float: unset;
    }





    #timeline .timeline-item .timeline-icon {
        left: -16px;
    }
    #timeline .timeline-item .timeline-icon2 {
        left: -6px;
    }
}




@media screen and (max-width: 567px) {
    #timeline:before {
        left: 50%;
    }
    #timeline .timeline-item .timeline-icon {
        position: unset;
        margin: 0 auto;
    }
    #timeline .timeline-item .timeline-icon2 {
        position: unset;
        margin: 1em auto;
    }
    #timeline .timeline-item .timeline-content {
        width: 100%;
        float: unset;
    }
    #timeline .timeline-item .timeline-content2 {
        width: 100%;
        float: unset;
    }
    #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
        display: none;
    }
    #timeline .timeline-item .timeline-content2:before, #timeline .timeline-item .timeline-content2.right:before {
        display: none;
    }
}
