* {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Noto Sans TC', sans-serif;
}

html {
    background-color: #fef7ea;
    font-size: 100%;
    letter-spacing: 0.5px;
}

h4 {
    color: #3d3939;
    font-size: 31px;
    text-align: center;
}

p {
    color: #3d3939;
    font-size: 21px;
}

img {
    vertical-align: middle;
}

a {
    color: #0091bc;
    text-decoration: none;
}

table{
    border-collapse: collapse;
}

.wrap {
    width: 100%;
    margin: auto;
    height: auto;
    overflow: hidden;
}

/* header */
.header {
    width: 100%;
    margin: auto;
    position: fixed;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 500;
}

.header.scrolled {
    background-color: rgba(255, 245, 238, 0.8);
}

.header .item {
    max-width: 1200px;
    margin: auto;
}

.header .item img {
    width: 248px;
    margin: 35px 0 25px 4px;
}

/* water */
.water{
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 1000;
    transition: .3s ease-in-out;
    animation-name: bright;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
}
.water:hover{
    transform: translateY(-7px);
}
.water img{
    width: 168px;
}

@keyframes bright{
    0%  {filter: brightness(1.2);}
    60% {filter: brightness(1.0);}
    100%{filter: brightness(1.2);}
}

/* kv */
.kv {
    background: url(../img/kv.jpg) no-repeat bottom center;
    background-size: cover;
    width: 100%;
    height: 690px;
    position: relative;
    overflow: hidden;
}

.kv > div{
    position: absolute;
}

.kv_title{
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 152px;
    left: calc(50% - 500px);
}
.kv_t1{
    background: url(../img/kv-t1.png) no-repeat center;
    background-size: contain;
    width: 335px;
    height: 57px;
}
.kv_t2{
    background: url(../img/kv-t2.png) no-repeat center;
    background-size: contain;
    width: 460px;
    height: 190px;
    margin: 20px 0 30px;
}
.kv_t3,.kv_t4{
    background: url(../img/kv-t3.png) no-repeat center;
    background-size: contain;
    width: 362px;
    height: 53px;
}
.kv_t4{
    background: url(../img/kv-t4.png) no-repeat center;
    margin-top: 20px;
}
.kv_t5{
    background: url(../img/kv-t5.png) no-repeat center;
    background-size: contain;
    width: 302px;
    height: 18px;
    bottom: 30px;
    right: calc(50% - 737px);
}

@media screen and (max-width:1500px){
    .kv_t5 {
        right: 3%;
    }
}
@media screen and (max-width:1200px){
    .header .item img {
        margin: 35px 0 25px 25px;
    }
}
@media screen and (max-width:1024px){
    .kv {
        background: url(../img/kv-1024.jpg) no-repeat top center;
        background-size: cover;
        width: 100%;
        height: 1041px;
    }
    .kv_title{
        top: 122px;
        left: 50%;
        transform: translateX(-50%);
    }
}
@media screen and (max-width:650px){
    .water{
        bottom: 50px;
        right: 10px;
    }
    .water img{
        width: 135px;
    }
}
@media screen and (max-width:550px) {

    h4{
        font-size: 28px;
    }
    .header .item img {
        width: 165px;
    }
    .kv {
        background: url(../img/kv-550.jpg) no-repeat top center;
        background-size: cover;
        width: 100%;
        height: 803px;
    }
    .kv_title{
        top: 102px;
        transform: scale(0.8) translateX(-63%);
        transform-origin: top center;
    }
    .kv_t2{
        margin: 10px 0 20px;
    }
    .kv_t5 {
        bottom: 40px;
    }
}


/* content */
.content {
    max-width: 1200px;
    margin: auto;
    /* padding: 0 20px; */
}

.content4 {
    width: 100%;
    background-color: #0091BC;
}

/* p1 */
.p1{
    background: url(../img/p1_bg.svg) no-repeat top center;
    background-size: cover;
    padding: 118px 0 200px;
}
.p1_t{
    background: url(../img/p1_t.png) no-repeat center;
    background-size: contain;
    width: 402px;
    height: 50px;
    margin: 0 auto 90px;
}
.p1 .box_content{
    display: flex;
    justify-content: center;
    width: 100%;
}
.p1 .box{
    box-sizing: border-box;
    width: 370px;
    height: 340px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 20px rgba(237, 165, 86, 0.75);
    border-radius: 20px 0 20px 0;
    padding: 35px 35px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.p1 .box2{
    margin: 0 40px;
    padding: 35px 19px 0;
}
.p1 .box3{
    padding: 35px 20px 0;
}
.p1_icon1,.p1_icon2,.p1_icon3{
    width: 111px;
    height: 81px;
}
.p1_icon1{
    background: url(../img/p1_icon1.png) no-repeat center;
    background-size: contain;
}
.p1_icon2{
    background: url(../img/p1_icon2.png) no-repeat center;
    background-size: contain;
}
.p1_icon3{
    background: url(../img/p1_icon3.png) no-repeat center;
    background-size: contain;
}

.p1 h4{
    color: #66300c;
    margin: 20px 0;
}
.p1 .box span{
    color: #fc5a1a;
    font-size: 28px;
    font-weight: 700;
}

@media screen and (max-width:1200px){
    .p1 .box_content{
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    .p1 .box{
        width: 100%;
        text-align: center;
        height: 300px;
        padding: 35px 20px 0;
    }
    .p1 .box2{
        margin: 20px 0;
    }
    .p1 h4{
        margin: 10px 0 5px;
    }
}
@media screen and (max-width:550px){
    .p1{
        padding: 60px 0 100px;
    }
    .p1 h4{
        font-size: 28px;
    }
    .p1 .box span{
        font-size: 24px;
    }
    .p1 .box{
        height: 280px;
        padding: 0px 20px 0;
        justify-content: center;
    }
    .p1_t{
        width: 60%;
        margin: 0 auto 40px;
    }
}

/* p2 */
.content2 {
    background: url(../img/p2_bg.svg) no-repeat top center;
    background-size: cover;
    width: 100%;
    margin-top: -50px;
    position: relative;
}
.p2_bg1{
    background: url(../img/p2_bg1.png) no-repeat center;
    background-size: contain;
    width: 512px;
    height: 474px;
    position: absolute;
    top: 334px;
    left: -15%;
}
.p2_bg2{
    background: url(../img/p2_bg2.png) no-repeat center;
    background-size: contain;
    width: 194px;
    height: 138px;
    position: absolute;
    top: 490px;
    right: -5%;
}
.p2_bg3{
    background: url(../img/p2_bg3.png) no-repeat center;
    background-size: contain;
    width: 181px;
    height: 241px;
    position: absolute;
    top: 1293px;
    left: 0;
}
.p2_bg4{
    background: url(../img/p2_bg4.png) no-repeat center;
    background-size: contain;
    width: 301px;
    height: 460px;
    position: absolute;
    top: 1134px;
    right: -5%;
}
.p2_bg5{
    background: url(../img/p2_bg5.png) no-repeat center;
    background-size: contain;
    width: 426px;
    height: 131px;
    position: absolute;
    bottom: 3%;
    left: calc(50% - 800px);
}
.p2_bg6{
    background: url(../img/p2_bg6.png) no-repeat center;
    background-size: contain;
    width: 613px;
    height: 147px;
    position: absolute;
    bottom: 1.5%;
    left: calc(50% + 283px);
}
.p2_bg3,.p2_bg4,.p2_bg5,.p2_bg6{
    z-index: 1;
}
.p2 {
    padding: 114px 0 320px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}
.p2 p{
    font-weight: 500;
    font-size: 18px;
}
.p2 .red{
    display: flex;
    justify-content: center;
}
.p2 .red p{
    font-weight: 700;
    color: #db0b0b;
    line-height: 1.8;
    margin: 20px 0 114px;
}
.p2 h4 span{
    font-size: 36px;
    font-weight: 900;
}
.p2 .p2_btn{
    display: flex;
    justify-content: center;
    max-width: 574px;
    background-color: #fc5a1a;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50px;
    padding: 20px 0px;
    margin: 0 auto;
    transition: .5s;
}
.p2 .p2_btn img{
    width: 39px;
    height: 39px;
    margin-right: 15px;
}
.p2 .p2_btn:hover{
    opacity: 0.8;
    transform: translateY(-5px);
}

.p2_t{
    background: url(../img/p2_t.png) no-repeat center;
    background-size: contain;
    width: 302px;
    height: 51px;
    margin: 0 auto 66px;
}

/* send表單 */
.send .item2 {
    width: 100%;
    background-color: #fff;
    border-radius: 40px 0 40px 0;
    padding: 60px 0;
    margin: 66px auto 84px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.send .detail {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.send .detail .enter form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.send input::placeholder {
    color: #DCDDDD;
}

.send .detail .enter .name {
    width: 100%;
    display: block;
}

.send .detail .enter .text {
    width: 45%;
    display: inline;
}
.send .detail .enter .text.verifi {
    width: 100%;
    display: inline;
}

.send .detail .enter input {
    border: 1px solid #009e9c;
    padding: 20px 8px;
    margin: 8px 0;
}

.send .name input,
.send .text input,
.send .verification input {
    font-size: 17px;
}

.send .detail #Name,
.send .detail .name {
    width: 100%;
}

.send .detail #Telm,
.send .detail .text,
.send .detail .verification {
    width: 100%;
}

.verifi_box{
    display: inline-block;
}
#userInput {
    margin: 8px 0 0 6px;
    display: inline-block;
    width: 20%;
}
#prefixDisplay {
    margin: 8px 0 0 6px;
    width: 20%;
    text-align: center;
}

/* 訊息設定 */
#message {
  white-space: normal;
  /* 允許換行 */
  color: red;
  margin-top: 8px;
  margin-left: 0;
  /* 緊貼左邊 */
}

#login {
    clear: both;
}

.send .detail .bt1 {
    border: 4px solid #ffab15;
    background-color: #fff;
    border-radius: 50px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    opacity: 1;
    cursor: pointer;
    margin-bottom: 15px;
}

.send .detail .bt1:hover {
    opacity: 0.8;
    transition: .3s;
}

.send .detail .bt1 p {
    color: #ffab15;
    font-weight: 700;
}

.send .detail .bt1 img {
    width: 31px;
}

.send .detail .bt2 {
    border: none;
    background-color: #ffab15;
    border-radius: 5px;
    padding: 20px 30px;
    opacity: 1;
    cursor: pointer;
    color: #fff;
    letter-spacing: 1.5px;
    font-size: 18px;
    font-weight: 500;
}

.send .detail .bt2:hover {
    opacity: 0.8;
    transition: .3s;
}

.send .detail .bt3 {
    border: none;
    background-color: #fc5a1a;
    border-radius: 50px;
    padding: 18px 60px;
    opacity: 1;
    cursor: pointer;
}

.send .detail .bt3:hover {
    opacity: 0.8;
    transition: .3s;
}

.send .detail .bt3 p {
    color: #fff;
    letter-spacing: 1.5px;
    font-size: 24px;
}

.send .detail .hook {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 25px 0 20px;
}

.send .detail .hook .chkform {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.send .detail .hook #male {
    width: 15px;
}

.send .detail .hook input {
    appearance: none;
}

.send .detail .hook input[type="checkbox"] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #3E3A39;
    background-color: #fff;
    color: #fff;
}

.send .detail .hook input[type="checkbox"]:checked {
    background-color: #009e9c;
    color: #fff;
}

.send .detail .hook input[type="checkbox"]:checked::before {
    content: "✓";
    display: block;
    color: #fff;
    text-align: center;
    font-weight: 900;
    line-height: 1;
}

#checkbox1,
#checkbox2 {
    color: #fff;
}

.send .detail .hook label {
    width: 100%;
    margin: -6px 5px 12px 3px;
    letter-spacing: .5px;
}

.send .detail .hook label p {
    font-size: 16px;
}

.send .detail .text .bday {
    width: 100%;
    display: flex;
}

.send .detail .text select {
    width: 100%;
    border: 1px solid #009e9c;
    padding: 20px 8px;
    margin: 8px 10px 8px 0;
    font-size: 17px;
}

/* QA */
.qa-section {
  margin: 0 auto;
}
.qa-item {
  width: 100%;
  margin: 50px auto 30px auto;
  border-radius: 12px;
  overflow: hidden;
}
.qa-question {
  color: rgb(255, 255, 255);
  font-size: 28px;
  padding: 25px 48px;
  background-color: #009e9c;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qa-question:hover{
    background-color: #00b3b0;
    transition: .3s;
}
.qa-answer {
  display: none;
  padding: 25px 48px;
  background-color: #ffffff;
}
.qa-answer p {
  color: #4d4d4d;
  font-size: 21px;
  font-weight: normal;
  margin-left: 8px;
  width: 90%;
}
.qa-answer span {
  color: #afafaf;
  font-size: 28px;
  font-weight: bold;
}
.qa-answer.show {
  display: flex;
  align-items: center;
}
@media screen and (max-width:1200px){
    .p2 {
        padding: 114px 20px 320px;
    }
}
@media screen and (max-width:980px){
    .p2_bg3,.p2_bg4{
        display: none;
    }
    .p2_bg5{
        bottom: 2%;
        left: calc(50% - 500px);
    }
}

@media screen and (max-width:640px) {
    .send .detail{
        width: 85%;
    }
    .send .detail .hook label p{
        font-size: 18px;
    }

    .send .detail .enter form {
        flex-direction: column;
    }

    .send .detail #Name,
    .send .detail .name,
    .send .detail #Telm,
    .send .detail .text,
    .send .detail .verification {
        width: 96%;
    }
    .send .detail .enter .text,
    .verifi_box {
        width: 100%;
    }
    #prefixDisplay {
    width: 30%;
    }
    #userInput {
        width: 58%;
    }
    #prefixDisplay{
        margin: 8px 0 0 0;
    }
    .send .detail .bt2{
        width: 100%;
        margin-top: 8px;
        padding: 15px 30px;
        font-size: 22px;
    }

    .send .detail .enter input{
        margin: 8px 0 18px;
    }
    .send .detail .text select {
        margin: 8px 10px 18px 0;
        font-size: 22px;
    }

    .send .detail .text select,.send .detail .enter input {
        padding: 14px 8px;
    }
    .send .name input,
    .send .text input,
    .send .detail .bt1 p,
    .send .detail .bt3 p,
    .send .verification input {
        font-size: 22px;
    }
    .send .detail .bt1 img {
        width: 25px;
    }

    .send .detail .hook input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    .send .detail .hook .chkform:nth-child(2){
        margin-top: 10px;
    }
    
}
@media screen and (max-width:550px) {
    .p2_bg6{
        left: calc(50% + 70px);
    }
    .p2 {
        padding: 80px 20px 200px;
    }
    .p2 p{
        font-size: 21px;
    }
    .p2 .p2_btn{
        font-size: 21px;
        align-items: center;
        width: 90%;
    }
    .p2 .p2_btn img{
        width: 24px;
        height: 24px;
    }
    .send .item2 {
        padding: 60px 0;
        margin: 30px auto 84px;
    }
    .p2 .red{
        padding: 0 16px;
    }
    .p2 .red p{
        margin: 20px 0 90px;
        font-size: 18px;
    }
    .qa-question,.qa-answer{
        padding: 20px;
    }
    .qa-question,.qa-answer span{
        font-size: 24px;
    }
    .qa-item {
        margin: 40px auto 0px auto;
    }
    .qa-answer p {
        width: 85%;
        line-height: 1.6;
    }
    .qa-answer.show{
        justify-content: center;
    }
    .p2_t{
        width: 52%;
        margin: 0 auto;
    }
}

/* p3 */
.p3 {
    background: url(../img/p3_bg.png) no-repeat top center;
    background-size: cover;
    margin-top: -70px;
    padding: 140px 0 200px;
    position: relative;
    z-index: 3;
}
.p3_t{
    background: url(../img/p3_t.png) no-repeat center;
    background-size: contain;
    width: 462px;
    height: 51px;
    margin: 0 auto 30px;
}
.p3 img{
    margin: 80px auto 40px;
    display: block;
}
table{
    margin: 0 auto;
    text-align: center;
}
table th:first-child,table td:first-child{
    padding: 0 60px 0 150px;
}
table th:last-child,table td:last-child{
    padding: 0 150px 0 60px;
}
table th:first-child{
    border-radius: 26px 0 0 0;
}
table th:last-child{
    border-radius: 0 26px 0 0;
}
table td:first-child{
    border-radius: 0 0 0 26px;
}
table td:last-child{
    border-radius: 0 0 26px 0;
}
table th:first-child,table td:first-child{
    text-align: end;
}
table th{
    font-size: 28px;
    font-weight: 600;
    background-color: #a86d45;
    color: #fff;
    padding: 10px 60px;
}
table td{
    font-size: 24px;
    font-weight: 500;
    background-color: #fff;
    color: #3d3939;
    padding: 15px 60px;
}
table td:first-child{
    font-size: 24px;
    font-weight: 700;
    color: #66300c;
}

.p3_m{
    display: none;
}

@media screen and (max-width:1200px){
    table{
        width: 90%;
    }
    table th:first-child,table td:first-child{
        padding: 0 20px 0 50px;
    }
    table th:last-child,table td:last-child{
        padding: 0 50px 0 20px;
    }
    table th,table td{
        padding: 10px 20px;
    }
}
@media screen and (max-width:980px){
    .p3 img{
        width: 90%;
    }
}
@media screen and (max-width:550px){
    .p3{
        padding: 140px 0 150px;
    }
    .p3_t{
        width: 70%;
        margin: 0 auto 20px;
    }
    .p3 img{
        margin: 30px auto 30px;
    }
    .p3_pic,.p3_table{
        display: none;
    }
    .p3_m{
        display: block;
    }
}

/* footer */
.footer {
    padding: 30px 0;
}

.footer p {
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    color: #fff;
}



/*Start CommonPopup */
.temporary {
    display: none;
    width: 100vw;
    height: 100vh;
    background: rgba(52,73,94,0.7);
    position: fixed;
    top: 0;
    left: 0;
    overflow: scroll;
    z-index: 2000;
}
    /*alert*/
    .temporary div {
        /*        width: 80vw;
        margin: 3.3333vw;*/
        width: 60vw;
        margin: 15.3333vw;
        padding: 6.6666vw 6.6666vw 6vw;
        position: relative;
        background: #fff;
    }

        .temporary div.btns {
            margin: 4vw 0vw 0vw 0vw;
        }

    .temporary a.btn_close {
        display: block;
        width: 8vw;
        height: 8vw;
        position: absolute;
        background: #008fc7 url('../img/delete_w.webp') no-repeat center;
        background-size: 4vw;
        top: 0;
        right: 0;
    }

    .temporary iframe {
        width: 3.3333vw;
        height: 2.6666vw;
        margin-right: 2.1333vw;
    }

    .temporary span.title {
        display: block;
        width: 80vw;
        color: #6a7884;
        font-size: 1.2rem; /*line-height: 4.2666vw;*/
    }

    .temporary strong {
        display: block;
        padding: 6.6666vw 0;
        font-size: 1.2rem;
        color: #34495e;
    }

    .temporary p {
        color: #6a7884;
        font-size: 1.2rem;
        line-height: 1.2rem;
        margin: 0;
    }

        .temporary p.remind {
            color: #6a7884;
            font-size: 1.2rem;
            line-height: 1.2rem;
        }

        .temporary p span {
            line-height: 6vw;
            display: initial;
            font-size: 1.2rem;
            font-weight: 400;
        }

            .temporary p span.red {
                color: #ff5c5c;
                font-weight: 700;
            }

            .temporary p span.blue {
                display: block;
                color: #6a7884;
                width: 65vw;
                white-space: pre-wrap;
                word-break: break-all;
            }

    .temporary input {
        width: 80vw;
    }

    .temporary a.btn_check {
        display: block;
        width: 80vw;
        font-size: 1.2rem;
        line-height: 6vw;
        text-align: center;
        font-weight: 700;
        color: #fff;
        background: #008fc7;
    }

    .temporary a.pre_calc_btn_check {
        display: block;
        width: 80vw;
        font-size: 1.2rem;
        line-height: 6vw;
        text-align: center;
        font-weight: 700;
        color: #fff;
        background: #008fc7;
    }

/* step1 popup 文字樣式　by Ivan */
.popupHeader {
    position: relative;
    left: 50px;
}

@media screen and (min-width: 1024px) {
    .collapse_btn {
        color: #fff;
        padding: 0 0;
        width: 190px;
        border-radius: 30px;
        margin: 0 20% 25px;
        font-size: 18px;
        line-height: 20px;
        background: hotpink;
        float: right;
        text-align: center;
    }

    .temporary {
        display: none;
        width: 100vw;
        height: 100vh;
    }

        .temporary div {
            width: 600px;
            margin: 100px auto 0;
            padding: 50px;
        }

            .temporary div.btns {
                margin: 0;
            }

        .temporary a.btn_close {
            width: 30px;
            height: 30px;
            background-size: 15px;
        }

        .temporary iframe {
            width: 12.5px;
            height: 10px;
            margin-right: 8px;
        }

        .temporary span.title {
            width: 100%;
            font-size: 16px;
            line-height: 16px;
            padding-bottom: 25px;
            border-bottom: solid 1px #e7eaf0;
        }

        .temporary strong {
            padding: 0 0 25px;
            font-size: 16px;
        }

        .temporary p {
            font-size: 16px;
            line-height: 27px;
            margin-bottom: 25px;
        }

            .temporary p.remind {
                font-size: 14px;
                line-height: 24px;
            }

            .temporary p span {
                line-height: 27px;
                font-size: 16px;
            }

                .temporary p span.blue {
                    width: 95%;
                }

        .temporary input {
            width: 380px;
            margin-right: 25px;
            display: inline-block;
        }

        .temporary a.btn_check {
            width: 180px;
            font-size: 16px;
            line-height: 28px;
            display: inline-block;
        }

        .temporary a.pre_calc_btn_check {
            width: 180px;
            font-size: 16px;
            line-height: 45px;
            display: inline-block;
        }
    /* step1 popup 文字樣式　by Ivan */
    .popupHeader {
        position: relative;
        left: 150px;
    }
}
/*End CommonPopup */
