html,
body {
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

/* 導覽列 */

/* header */

.header {
    max-width: 100vw;
    height: 80px;
    background-color: #fff;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.header li a {
    display: block;
    padding: 20px 20px;
    border-right: 1px solid #f4f4f4;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.header li a:hover,
.header .menu-btn:hover {
    color: #8E12A1;
}

.header .logo {
    padding: 10px 20px;
    cursor: pointer;
    width: 200px;
    display: inline-block;
}


/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: block;
    padding: 10px 20px;
    position: relative;
    user-select: none;
    float: right;
    margin-top: 30px;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: all .2s ease-out;
    width: 30px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 8px;
}

.header .menu-icon .navicon:after {
    top: -8px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked~.menu {
    max-height: 400px;
    text-align: center;
}

.header .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    top: 0;
}

@media (min-width: 992px) {
    .header li {
        float: left;
    }

    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header li a {
        padding: 20px 30px;
    }

    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }

    .header .menu-icon {
        display: none;
    }
}


/* 導覽列結束 */

.layout_container {
    min-height: calc(100% - 240px);
}


footer {
    position: relative;
    z-index: 1;
    color: white;
    bottom: 0;
    width: 100%;
    height: 240px;
}

#footer_div {
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    padding: 5rem 0 0 0;
    text-align: center;
    clip-path: polygon(66% 36%, 100% 16%, 100% 100%, 0 100%, 0 0);
}

.footer_company_name {
    font-size: 18px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_content {
    max-width: 1280px;
    margin: auto;
}

@media screen and (max-width:992px) {
    .footer_company_name {
        font-size: 12px;
    }
    .header .logo{
        width: 150px;
    }
}