* {
    touch-action: pan-y;  
    outline: none;
}
body, html{
    font-family: "微軟正黑體","Microsoft JhengHei",'Noto Sans TC', 'Roboto' ,Helvetica, sans-serif;
    background-color: #fafafa;
    position: relative;
    margin: auto;
    outline: none;
}
ul, li {
	list-style: none;
}
a {
	text-decoration: none;
}

body {
    background-image: url('../images/web/background.jpg');
    /* z-index: 22; */
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: cover;
    /* background-position:left top; */
    /* overflow-y: scroll;
    overflow-x: hidden; */
    /* -ms-overflow-style: none; */
    height: 100%;
	/* overflow: auto; */
    /* scroll-behavior: smooth; */
    background-size: contain;
    /* background-repeat: no-repeat; */
}
body::-webkit-scrollbar {
    display: none;
}
html{
    height: 100%;
    scroll-behavior: smooth;
    overflow: -moz-hidden-unscrollable; /*注意！若只打 hidden，chrome 的其它 hidden 會出問題*/
    height: 100%;
    min-height: 100%;
    position: relative;
}

header {
    background-color: #fff;
    width: 100%;
    height: 85px;
    position: relative;
}

.top_img {
    position: absolute;
    top: -7px;
    left: 0;
    width: 100%;
}
.top_img img {
    width: 100%;
}
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
}
.logo img {
    width: 100%;
}

section {
    max-width: 768px;
    margin: auto;
    position: relative;
    height: 70%;
}
.main-area  {
    width: 90%;
    margin: 27px auto;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main-area img {
    width: 100%;
}
.start_button {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    text-align: center;
    cursor: pointer;
}
.start_button img {
    width: 75%;
}

.start_button:hover {
    -webkit-filter:brightness(1.1);
}

.section-message {
    margin: 1.125rem .5rem 0;
    padding: .1rem 0;
    background: #fff;
    border-radius: .5rem;
    border: 3px solid #1899B2;
    background-image: url(../images/web/area_background.png);
    background-size: contain;
    box-shadow: 0px 5px 0px 0px rgb(0 0 0 / 30%);
    width: 90%;
    margin: 27px auto;
    position: absolute;
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 0px;
}
.section-message p {
    font-size: 14px;
    text-align: center;
    line-height: 24px;
}

#footer { 
    height: 100px; 
    background: #FFFCDD;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90px;
    /* position: relative; */
}
#footer_main {
    position: relative;
    width: 100%;
    height: 90px;
    height: 130px; 
    background: #FFFCDD;
}
.bottom_img {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
}
.bottom_img img {
    width: 100%;
}

.footer_content {
    margin: auto;
    text-align: center;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    padding-top: 10px;
}
.footer_copyright {
    font-size: 12px;
}
.footer_logo {
    width: 50%;
    margin: auto;
}
.footer_logo img {
    width: 100%;
}
.footer_inf {
    font-size: 12px;
}
.footer_inf p {
     margin: 3px auto;
     color: #4C4B4C;
}
.footer_inf2 {
    font-size: 12px;
    text-align: center;
}
.footer_inf2 p {
     margin: 3px auto;
     color: #4C4B4C;
}
.fotter_line {
    display: none;
}

/* 製圖頁面 */
.m-section {
    background-image: url(../images/web/area_background.png);
}
.b-subtitle {
    display: none;
}

.b-cover {
    position: relative;
    margin: 30px .5rem .5rem;
    z-index: 1;
    background-image: url(../images/web/pic_area.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 66px 0px;
    background-position: center;
}
.b-thumb {
    width: 95%;
    margin: 0 auto;
}
.page-view .b-cover .b-thumb>img {
    text-align: center;
    margin: 0 auto;
}
.m-generate {
    background-image: url(../images/web/final_page.png);
    background-size: cover;
    margin: 0.8rem 0;
    padding: 12rem 0 1rem;
    text-align: center;
}

/* 平板 */
@media screen and (min-width:768px) and (max-width:1020px){
    .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12%;
    }

    .main-area  {
        width: 80%;
        margin: 27px auto;
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .start_button {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .start_button img {
        width: 80%;
    }

    .section-message {
        margin: 1.125rem .5rem 0;
        padding: .1rem 0;
        background: #fff;
        border-radius: .5rem;
        border: 3px solid #1899B2;
        background-image: url(../images/web/area_background.png);
        background-size: contain;
        box-shadow: 0px 5px 0px 0px rgb(0 0 0 / 30%);
        width: 80%;
        margin: 27px auto;
        position: absolute;
        top: 88%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .section-message p {
        font-size: 14px;
        text-align: center;
    }

    .footer_logo {
        width: 30%;
        margin: auto;
    }
    .footer_logo img {
        width: 100%;
    }
    .footer_inf {
        font-size: 12px;
    }
    .footer_inf p {
         margin: 2px auto;
    }
    
    .footer_inf2 p {
        font-size: 12px;
         margin: -3px auto;
         color: #4C4B4C;
    }
    .bottom_img {
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
    }
    #footer_main {
        height: 130px;
    }

    .b-cover {
        position: relative;
        margin: 30px .5rem .5rem;
        z-index: 1;
        background-image: url(../images/web/pic_area.png);
        background-size: contain;
        background-repeat: no-repeat;
        padding: 100px 0px;
        background-position: center;
    }
    .m-generate {
        background-image: url(../images/web/final_page.png);
        background-size: cover;
        margin: 0.8rem 0;
        padding: 20rem 0 1rem;
        text-align: center;
    }
}

/* 桌機 */
@media screen and (min-width:1025px){
    body {
        width: 100%;   
        background-size: cover;
    }
    section {
        max-width: 768px;
        margin: auto;
        position: relative;
        height: 75%;
    }
    .top_img img {
        width: 100%;
        height: 7px;
    }
    .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 7%;
    }

    .main-area  {
        width: 85%;
        margin: 27px auto;
        position: absolute;
        top: 36%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .main-area img {
        width: 100%;
    }

    .start_button {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .start_button img {
        width: 90%;
    }

    .section-message {
        margin: 1.125rem .5rem 0;
        padding: .1rem 0;
        background: #fff;
        border-radius: .5rem;
        border: 3px solid #1899B2;
        background-image: url(../images/web/area_background.png);
        background-size: contain;
        box-shadow: 0px 5px 0px 0px rgb(0 0 0 / 30%);
        width: 84%;
        margin: 27px auto;
        position: absolute;
        top: 85%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .section-message p {
        font-size: 16px;
        text-align: center;
    }

    .footer_content {
        margin: auto;
        text-align: center;
        display: flex;
        /* justify-content: center; */
        justify-content: space-around;
        align-self: center;
        padding-top: 15px;
        max-width: 700px;
        vertical-align: middle;
    }
    .footer_copyright{
        padding-top: 14px;
        align-self: center;
        font-size: 12px;
    }
    .footer_logo {
        width: 50%;
    }
    .footer_logo img {
        width: 100%;
    }
    .footer_inf {
        font-size: 14px;
        text-align: left;
        align-self:center;
        
    }
    .footer_inf p {
         margin: 10px auto;
    }
    .footer_inf2 {
        text-align: left;
    }
    .footer_inf2 p{
        font-size: 14px;
    }
    
    .fotter_line {
        display: block;
        width: 3px;
        height: 50px;
        background-color: #4C4B4C;
        margin: 0px 15px;
        align-self:center;
    }
    .bottom_img {
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 100%;
    }
    .bottom_img img {
        width: 100%;
        height: 7px;
    }
    .bottom_img2{
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 100%;
    }
    .bottom_img2 img {
        width: 100%;
        height: 7px;
    }
    #footer_main {
        height: 100px;
    }

    .m-generate {
        background-image: url(../images/web/final_page.png);
        background-size: cover;
        margin: 0.8rem 0;
        padding: 20rem 0 2.2rem;
        text-align: center;
    }

    .b-cover {
        position: relative;
        margin: 30px .5rem .5rem;
        z-index: 1;
        background-image: url(../images/web/pic_area.png);
        background-size: contain;
        background-repeat: no-repeat;
        padding: 100px 0px;
        background-position: center;
    }
}

@media screen and (min-width:400px) and (max-width:767px) {
    .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12%;
    }
    .footer_logo {
        width: 50%;
        margin: auto;
    }

    .main-area  {
        width: 85%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .main-area img {
        width: 100%;
    }
    .start_button {
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: auto;
        text-align: center;
        cursor: pointer;
    }
    .start_button img {
        width: 80%;
    }
    
    .section-message {
        /* margin: 1.125rem .5rem 0; */
        padding: 0.8rem 0;
        width: 85%;
        position: absolute;
        top: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .section-message p {
        font-size: 14px;
        text-align: center;
        line-height: 20px;
    }
}

@media screen and (max-width:720px) {
    header{
        height: 55px;
    }
}

@media screen and (min-width:0px) and (max-width:320px) {
    section {
        height: 85vh;
    }
    .main-area  {
        width: 85%;
        position: absolute;
        top: 18%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .main-area img {
        width: 100%;
    }
    .start_button {
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: auto;
        text-align: center;
        cursor: pointer;
    }
    .start_button img {
        width: 80%;
    }
    
    .section-message {
        /* margin: 1.125rem .5rem 0; */
        padding: 0.8rem 0;
        width: 85%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .section-message p {
        font-size: 12px;
        text-align: center;
        line-height: 20px;
    }
}