input[type="button"], input[type="submit"], input[type="reset"] {
    -webkit-appearance: none;  /* Safari 和 Chrome，常用於iOS下移除內建樣式 */
    -moz-appearance: none;     /* FireFox */
//    appearance: none;
}

textarea {
    -webkit-appearance: none;
} 

html {
    -webkit-text-size-adjust: none;
    font-size: 16px;
}

body {
    margin: 0px;
    background-color: #eeeeee;
    font-family: "Abhaya Libre", "微軟雅黑";
    touch-action: manipulation;
}



.home {
    width: 100%;
}

/*  1st  */

.home-1 {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.image_full {
    display: block;
}

.image_mobile {
    display: none;
}

.slideshow {
    width: 100%;
    position: relative;
    z-index: 1;
}

.slideshow img {
    color: transparent;
    opacity: 0;
    z-index: 0;
    animation: slideshow_fade 30s ease infinite;
    backface-visibility: hidden;
}

.slideshow img:not(:first-child) {
    position: absolute;
    top: 0px;
    left: 0px;
}

.slideshow img:nth-child(1) {
    animation-delay: 0s;
}

.slideshow img:nth-child(2) {
    animation-delay: 10s;
}

.slideshow img:nth-child(3) {
    animation-delay: 20s;
}

@keyframes slideshow_fade {  
    0% {
        opacity: 0;
        animation-timing-function: ease;
    }
    8.33% {
        opacity: 1;
        animation-timing-function: ease;
    }
    25% {
        opacity: 1;
    }
    33.33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.home-1-font1 {
    font-size: 1.5rem; // 24px;
    color: white;
    position: absolute;
    z-index: 2;
    top: 10%;
    left: 3.125%;
    margin-top: 0px;
    word-spacing: 1.25rem; // 20px; // 1.875em; // 30px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.home-button1 {
    background: none;
    font-size: inherit;
    color: black;
    border: none;
    font-family: inherit;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
    cursor: pointer;
    padding: 0;
}

.home-button1:hover {
    font-weight: bold;
}

.home-1-font2 {
    font-size: 1.5rem; // 24px;
    color: white;
    position: absolute;
    z-index: 2;
    display: flex;
    top: 10%;
    left: 3.125%;
    margin-top: 3.5rem; // 56px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.home-1-font3 {
    font-size: 1.5rem; // 24px;
    color: white;
    position: absolute;
    z-index: 2;
    display: flex;
    top: 10%;
    left: 3.125%;
    margin-top: 7rem; // 112px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.home-1-font4 {
    font-size: 1.5rem; // 24px;
    color: white;
    position: absolute;
    z-index: 2;
    display: flex;
    top: 10%;
    left: 3.125%;
    margin-top: 10.5rem; // 168px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.home-1-font5 {
    font-size: 1.5rem; // 24px;
    color: white;
    position: absolute;
    z-index: 2;
    display: flex;
    top: 10%;
    left: 3.125%;
    margin-top: 14rem; // 224px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.home-1-logo {
    position: absolute;
    z-index: 2;
    width: 5rem; // 80px;
    right: 3.125%;
    top: 10%;
}

/*  mobile hamburger  */

#toggle {
    position: absolute;
    z-index: 3;
    display: none;
}

.hamburger {
    position: absolute;
    top: 4.17%;
    right: 8%;
    width:  2.4em;
    height: 34px;
    z-index: 3;
    display: none;
}

.hamburger div {
    top: -0.7rem; // -0.7em;
    position: relative;
    width: 2.375rem; // 38px;
    height: 0.25rem; // 4px;
    border-radius: 0.3125rem; // 5px;
    background-color: #ffffff;
    margin-top: 0.6875rem; // 11px;
    transition: all 0.3s ease-in-out;
    z-index: 3;
}

/*  animations  */

#toggle:checked + .hamburger .top-bun {
    transform: rotate(-41deg);
    margin-top: 1.625rem; // 26px;
    width: 128%;
    margin-left: -0.375rem; // -6px;
    background-color: #000000;
}

#toggle:checked + .hamburger .bottom-bun {
    opacity: 0;
    transform: rotate(41deg);
    width: 128%;
    margin-left: -0.375rem; // -6px;
    margin-top: -0.625rem; // -10px;
    background-color: #000000;
}

#toggle:checked + .hamburger .meat {
    transform: rotate(41deg);
    margin-top: -0.25rem; // -4px;
    width: 128%;
    margin-left: -0.375rem; // -6px;
    background-color: #000000;
}

#toggle:checked + .hamburger + .nav {
    top: 0px;
    transform: scale(1);
}

/*  mobile dropdown  */

/*  navigation  */

.nav {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #ccd9de;
    top: -60%; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    transform: scale(0);
    opacity: 0.98;
    display: none;
    z-index: 2;
}

nav a {
    text-decoration: none;
    color: black;
}

nav a:hover {
    font-weight: bolder;
}

.nav .font1 {
    font-size: 1.5rem; // 24px;
    position: absolute;
    top: 3.57%;
    left: 7.95%;
    word-spacing: 0.625rem; // 10px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.nav .font2 {
    width: 100%;
    font-size: 1.5rem; // 24px;
    position: absolute;
    text-align: center;
    top: 16.67%;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.nav .font3 {
    width: 100%;
    font-size: 1.5rem; // 24px;
    position: absolute;
    text-align: center;
    top: 16.67%;
    margin-top: 6rem; // 96px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.nav .font4 {
    width: 100%;
    font-size: 1.5rem; // 24px;
    position: absolute;
    text-align: center;
    top: 16.67%;
    margin-top: 12rem; // 192px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.nav .font5 {
    width: 100%;
    font-size: 1.5rem; // 24px;
    position: absolute;
    text-align: center;
    top: 16.67%;
    margin-top: 18rem; // 288px;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
}

.nav .logo {
    width: 4.375rem; // 70px;
    position: absolute;
    left: 50%;
    margin-left: -2.1875rem; // -35px;
    top: 90%;
}

/*  2nd  */

.home-2 {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.home-2-1 {
    width: 100%;
    height: auto;
    margin: 0% auto;
}

.home-2-font1 {
    font-size: 2.625rem; // 42px;
    font-weight: bold;
    width: fit-content;
    height: 1.75rem; // 28px;
    line-height: 1.75rem; // 28px;
    margin: 6.25rem auto 6.25rem auto;
//    margin: 100px auto;
}

.home-2-2 {
    width: 93.75%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.home-2-2a {
    width: 76.67%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* left and right */

.home-2-3 {
    width: 50%;
    height: auto;
    float: left;
}

.home-2-4 {
    width: 87%;
    height: auto;
    margin: 0 auto 0 auto;
}

#container .home-2-img1 {
    width: 100%;
    height: auto;
}

.home-2-5 {
    width: 100%;
    height: auto;
//    display: flex;
    text-align: center;
//display: table;
}

.home-2-font2 {
    font-size: 1.5rem; // 24px;
    width: fit-content;
    margin: 3.75rem auto 0 auto;
//    margin: 60px auto 0px auto;
}

.home-2-6 {
    width: 100%;
    height: auto;
//display: table;
}

.home-2-font3 {
    font-size: 1rem; // 16px;
    width: 70%;
//    height: 60px;
    height: auto;
    margin: 2.8125rem auto 0 auto;
//    margin: 45px auto 0px auto;
    text-align: center;
//    overflow: clip;
}

.home-2-7 {
    width: 100%;
    height: 2.5rem; // 40px;
//    display: flex;
    margin: 2.8125rem 0 0 0;
//    margin: 45px 0 0 0;
//display: table;
}

.home-2-7a {
    width: 18.75rem; // 300px;
    height: 2.5rem; // 40px;
    margin: 0px auto 0px auto;
}

.home-button2 {
    background-color: #00698c; 
    color: white; 
    font-size: 1.125rem; // 18px;
    width: 100%;
    height: 2.5rem; // 40px;
    border: none;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.home-button2:hover {
    background-color: white;
    color: #00698c;
}

.home-2-g {
    width: 100%;
    height: 3.75rem; // 60px;
    display: none;
}

/*  3rd  */

.home-3 {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

.home-3-1 {
    width: 100%;
    height: auto;
}

.home-3-font1 {
    font-size: 2.625rem; // 42px;
    font-weight: bold;
    width: fit-content;
    height: 1.75rem; // 28px;
    line-height: 1.75rem; // 28px;
    margin: 6.25rem auto 6.25rem auto;
//    margin: 100px auto 100px auto;
}

.home-3-2 {
    width: 93.75%;
    height: auto;
    margin: 0 auto 0 auto;
    display: flex;
}

/* left */

.home-3-3 {
    width: 50%;
    height: auto;
}

.home-3-3a {
    width: 95%;
    height: auto;
    margin-top: 0px;
    margin-left: 0px;
}

.home-3-img1 {
    width: 100%;
}

/* right */

.home-3-4a {
    display: none;
}

.home-3a-img2 {
    display: none;
}

.home-3-4 {
    width: 50%;
    height: auto;
}

.home-3-4b {
    position: relative;
    width: 76.67%;
    height: auto;
    margin-top: 0px;
    margin-left: 0px;
}

.home-3-4c {
    position: absolute;
    width: 3.4375rem; // 55px;
    height: 3.4375rem; // 55px;
    top: 58%;
    margin-top: -1.6857rem; // -27px;
    left: 104.5%;
}

.home-3-img2 {
    position: absolute;
    width: 1.5625rem; // 25px;
    height: 2.5rem; // 40px;
    margin-top: 0.5rem; // 8px;
    margin-left: 0.9375rem; // 15px;
}

.home-3-4c .home-button3 {
    position: absolute;
    width: 3.4375rem; // 55px;
    height: 3.4375rem; // 55px;
    opacity: 0.0;
    cursor: pointer;
    border-radius: 50%;
    background-color: #eeeeee;
}

.home-3-4c .home-button3:hover {
    opacity: 1;
    border: 0.125rem solid black;
//    border: 2px solid black;
}

.home-3-5 {
    width: 100%;
    height: auto; // 116px;
    display: flex;
}

.home-3-font2 {
    font-size: 1.5rem; // 24px;
    width: fit-content;
//    height: 1rem; // 16px;
//    line-height: 1rem; // 16px;
    margin: 4.375rem auto 0 auto;
    text-align: center;
//    margin: 70px auto;
}

.home-3-6 {
    width: 100%;
    height: auto; // 57px;
    display: flex;
}

.home-3-font3 {
    font-size: 1.125rem; // 18px;
    width: fit-content;
    height: 0.75rem; // 12px;
    line-height: 0.75rem; // 12px;
    margin: 1.875rem auto 2.8125rem auto;
//    margin: 0px auto;
}

.home-3-7 {
    width: 100%;
    height: auto; // 55px;
    display: flex;
}

.home-3-font4 {
    font-size: 1rem; // 16px;
    width: 31.2rem; // 500px;
//    height: 3.4375rem; // 55px;
height: auto;
    margin: 0 auto 0 auto;
    text-align: center;
//    overflow: clip;
//border: 1px solid red;
}

.home-3-8 {
    width: 100%;
    height: auto; // 85px;
    display: flex;

}

.home-3-8a {
    width: 18.75rem; // 300px;
    height: 2.5rem; // 40px;
    margin: 2.8125rem auto 0 auto;
//    margin: 45px auto;
}

.home-3-9 {
    width: 100%;
    height: 150px;
    display: flex;
//border: 1px solid red;
}

/*  4th  */

.home-4 {
    width: 100%;
    height: auto;
    background-color: #ccd9de;
    display: flex;
//    flex-wrap: wrap;
//border: 1px solid red;
}


/*
.home-4-1 {
    width: 100%;
    height: auto;
    display: flex;
}

.home-4-2 {
    width: 100%;
    height: auto;
    display: flex;
    background-color: #ccd9de;
    margin: 9.375rem auto 0 auto;
//    margin: 150px auto 0px auto;
    flex-direction: column;
}

.home-4-3 {
    width: 100%;
    height: auto; // 116px;
    display: flex;
}

.home-4-font1 {
    font-size: 1.5rem; // 24px;
    width: fit-content;
    height: 1rem; // 16px;
    line-height: 1rem; // 16px;
    margin: 6.25rem auto 0 auto;
//    margin: 100px auto;
}

.home-4-4 {
    width: 100%;
    height: auto; // 90px;
    display: flex;
}

.home-4-4a {
    width: 18.75rem; // 300px;
    height: 2.5rem; // 40px;
    margin: 3.125rem auto 0 auto;
//    margin: 50px auto;
}
*/


.home-button4 {
    background-color: #1c1c1c; 
    color: white; 
    font-size: 1.125rem; // 18px;
    width: 100%;
    height: 2.5rem; // 40px;
    border: none;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.home-button4:hover {
    background-color: white;
    color: #1c1c1c;
}


/*
.home-4-5 {
    width: 100%;
    height: auto;
    display: flex;
}

.home-4-font3 {
    font-size: 1rem; // 16px;
    width: fit-content;
    height: 0.75rem; // 12px;
    line-height: 0.75rem; // 12px;
    margin: 12.5rem auto 5rem auto;
//    margin: 200px auto 80px auto;
}
*/


a:link {
    color: white;
    text-decoration: none;
}

a:visited {
    color: white;
    font-weight: bolder;
    text-decoration: none;
}

a:hover {
    font-weight: bolder;
    text-decoration: none;
}

a:active {
    font-weight: bolder;
    text-decoration: none;
}