
#dgm {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

#dgm * {
    margin: 0;
    padding: 0;
    font-family: arial, "Noto Sans TC", sans-serif, "Microsoft JhengHei", "微軟正黑體", sans-serif;
    font-size: 16px;
}

@media only screen and (max-width: 768px) {
    #dgm .pc {
        display: none;
    }
}

#dgm .mb {
    display: none;
}

@media only screen and (max-width: 768px) {
    #dgm .mb {
        display: block;
    }
}

#dgm section {
    position: relative;
}

#dgm img,
#dgm video {
    max-width: 2000px;
    width: 100%;
    vertical-align: middle;
}

#dgm .s-block {
    position: absolute;
    width: 100%;
    word-wrap: break-word;
    padding: 0;
}

#dgm .img-title {
    position: absolute;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    overflow: hidden;
    text-indent: -10000%;
    background-size: contain;
    left: 50%;
    transform: translateX(-50%);
}

#dgm .text-justify {
    text-justify: distribute;
    text-align: justify;
    -ms-text-justify: inter-ideograph;
    -moz-text-justify: inter-ideograph;
}

#dgm a {
    display: block;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

#dgm section.offer {
    position: fixed;
    margin: 0 auto;
    z-index: 3;
}

#dgm section.offer img {
    width: 100%;
}

#dgm .offer-fixed-right {
    bottom: 5vh;
    right: 0;
}

#dgm .offer-fixed-bottom {
    left: 0;
    right: 0;
    bottom: 0px;
    max-width: 768px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#dgm section.offer a {
    display: block;
    height: 100%;
    left: 0%;
}

#dgm .dig_visible-lg {
    display: inline-block;
}

@media only screen and (max-width: 768px) {
    #dgm .dig_visible-lg {
        display: none;
    }
}

#dgm .dig_visible-xs {
    display: none;
}

@media only screen and (max-width: 768px) {
    #dgm .dig_visible-xs {
        display: inline-block;
    }
}

#dgm .sideBar_enfa {
    position: fixed;
    top: 40%;
    right: 1%;
    max-width: 79px;
    width: 12%;
}

@media only screen and (max-width: 768px) {
    #dgm .sideBar_enfa {
        top: 66%;
    }
}

#dgm .sideBar_enfa a:nth-of-type(1) {
    width: 100%;
    position: absolute;
    top: 0;
    height: 47%;
}

#dgm .sideBar_enfa a:nth-of-type(2) {
    width: 100%;
    position: absolute;
    top: 50%;
    height: 50%;
}

#dgm.wrap {
    background-color: #ddd49d;
    position: relative;
    max-width: 2000px;
    width: 100%;
    line-height: 1;
    font-size: 16px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 0%;
}

#dgm.wrap p,
#dgm.wrap span {
    line-height: 1.4;
    font-size: 26px;
}

@media only screen and (max-width: 2000px) {

    #dgm.wrap p,
    #dgm.wrap span {
        font-size: 1.8vw;
    }
}

@media only screen and (max-width: 768px) {

    #dgm.wrap p,
    #dgm.wrap span {
        font-size: 3vw;
    }
}

#dgm.wrap p *,
#dgm.wrap span * {
    font-size: inherit;
}

#dgm.wrap .p-b1 {
    font-size: 52px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap .p-b1 {
        font-size: 2.7vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .p-b1 {
        font-size: 5.2vw;
    }
}

#dgm.wrap .p-b1 * {
    font-size: inherit;
}

#dgm.wrap .p-s1 {
    font-size: 22.88px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap .p-s1 {
        font-size: 1.584vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .p-s1 {
        font-size: 2.7vw;
    }
}

#dgm.wrap .p-s1 * {
    font-size: inherit;
}

#dgm.wrap .p-s2 {
    font-size: 22.1px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap .p-s2 {
        font-size: 1.53vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .p-s2 {
        font-size: 2.55vw;
    }
}

#dgm.wrap .p-s2 * {
    font-size: inherit;
}

#dgm.wrap .p-s3 {
    font-size: 20.8px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap .p-s3 {
        font-size: 1.44vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .p-s3 {
        font-size: 2.52vw;
    }
}

#dgm.wrap .p-s3 * {
    font-size: inherit;
}

#dgm.wrap .p-s4 {
    font-size: 19.5px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap .p-s4 {
        font-size: 1.35vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .p-s4 {
        font-size: 2.25vw;
    }
}

#dgm.wrap .p-s4 * {
    font-size: inherit;
}

#dgm.wrap .p-s5 {
    font-size: 16.9px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap .p-s5 {
        font-size: 1.17vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .p-s5 {
        font-size: 1.95vw;
    }
}

#dgm.wrap .p-s5 * {
    font-size: inherit;
}

#dgm.wrap .noteText {
    font-size: 10.4px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap .noteText {
        font-size: 0.72vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .noteText {
        font-size: 1.26vw;
    }
}

#dgm.wrap .noteText * {
    font-size: inherit;
}

#dgm.wrap .info {
    line-height: 1.5;
    text-align: justify;
    text-justify: distribute;
}

#dgm.wrap sup {
    font-size: 15.6px;
}

@media only screen and (max-width: 2000px) {
    #dgm.wrap sup {
        font-size: 1.08vw;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap sup {
        font-size: 2.16vw;
    }
}

#dgm.wrap sup * {
    font-size: inherit;
}

#dgm.wrap .NotoSans {
    font-family: "Noto Sans TC", sans-serif;
}

#dgm.wrap .fw200 {
    font-weight: 200;
}

#dgm.wrap .fw300 {
    font-weight: 300;
}

#dgm.wrap .fw500 {
    font-weight: 500;
}

#dgm.wrap .fw600 {
    font-weight: 600;
}

#dgm.wrap .highlight {
    font-weight: 700;
}

#dgm.wrap .highlight500 {
    font-weight: 500;
}

#dgm.wrap .underline {
    color: #24517a;
    border-bottom: 1px solid #24517a;
}

#dgm.wrap .mainColor1 {
    color: #24517a;
}

#dgm.wrap .mainColor2 {
    color: #b98950;
}

#dgm.wrap .mainColor3 {
    color: #663300;
}

#dgm.wrap .mainColor4 {
    color: #fceec1;
}

#dgm.wrap .mainColor5 {
    color: #765616;
}

#dgm.wrap .mainColor6 {
    color: #583816;
}

#dgm.wrap .kv .s-block:nth-of-type(1) {
    width: 65%;
    height: auto;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .kv .s-block:nth-of-type(1) {
        top: 15%;
    }
}

#dgm.wrap .kv .s-block.iconBox {
    position: absolute;
    top: 0;
    width: 75%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

#dgm.wrap .kv .s-block.iconBox .item:nth-of-type(1) {
    position: absolute;
    width: 16%;
    height: auto;
    top: 38%;
    left: 14%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .kv .s-block.iconBox .item:nth-of-type(1) {
        width: 28%;
        top: 37%;
        left: 20%;
    }
}

#dgm.wrap .kv .s-block.iconBox .item:nth-of-type(2) {
    position: absolute;
    width: 12%;
    height: auto;
    top: 63%;
    left: 16%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .kv .s-block.iconBox .item:nth-of-type(2) {
        width: 25%;
        top: 48%;
        left: -5%;
    }
}

#dgm.wrap .kv .s-block.iconBox .item:nth-of-type(3) {
    position: absolute;
    width: 11%;
    height: auto;
    top: 38%;
    left: 64%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .kv .s-block.iconBox .item:nth-of-type(3) {
        width: 21%;
        top: 46%;
        left: 73%;
    }
}

#dgm.wrap .kv .s-block.iconBox .item:nth-of-type(4) {
    position: absolute;
    width: 14%;
    height: auto;
    top: 52%;
    left: 61%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .kv .s-block.iconBox .item:nth-of-type(4) {
        width: 28%;
        top: 67%;
        left: 72%;
    }
}

#dgm.wrap .kv .s-block:nth-of-type(3) {
    width: 19%;
    height: 13%;
    top: 37%;
    left: 40%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .kv .s-block:nth-of-type(3) {
        width: 39%;
        height: 6.5%;
        top: 55%;
        left: 30%;
    }
}

#dgm.wrap .sec2 .s-block:nth-of-type(1) {
    width: 60%;
    height: auto;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec2 .s-block:nth-of-type(1) {
        width: 95%;
        top: 2%;
    }
}

#dgm.wrap .sec3 .s-block:nth-of-type(1) {
    width: 58%;
    height: auto;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block:nth-of-type(1) {
        width: 95%;
        top: 2.5%;
        left: 50%;
        flex-direction: column;
        align-items: center;
    }
}

#dgm.wrap .sec3 .s-block.iconBox {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

#dgm.wrap .sec3 .s-block.iconBox .item {
    position: absolute;
    width: 21%;
    height: auto;
    display: flex;
    align-items: center;
    animation-name: act-float;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item {
        flex-direction: column;
        align-items: center;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item img {
    width: 50%;
    height: auto;
    margin-left: 1rem;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item img {
        margin-left: 0rem;
        margin-bottom: 0.25rem;
        order: -1;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item p {
    white-space: nowrap;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item p {
        text-align: center;
    }
}

@keyframes act-float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(1) {
    top: 24%;
    left: 17%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(1) {
        width: 40%;
        top: 24%;
        left: 29%;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(2) {
    top: 40%;
    left: 9.5%;
    width: 25%;
    animation-delay: 1.5s;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(2) {
        width: 45%;
        top: 35%;
        left: -5%;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(2) img {
        order: -1;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(3) {
    top: 57%;
    left: 16%;
    width: 19%;
    animation-delay: 2s;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(3) {
        width: 36%;
        top: 60%;
        left: -2%;
    }
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(3) img {
        order: -1;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(4) {
    top: 30%;
    left: 61.5%;
    animation-delay: 1.5s;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(4) {
        width: 40%;
        top: 31%;
        left: 64%;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(4) img {
    margin-left: 0rem;
    margin-right: 1rem;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(4) img {
        margin-left: 0rem;
        margin-right: 0rem;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(5) {
    top: 46%;
    left: 62.5%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(5) {
        width: 40%;
        top: 50%;
        left: 63%;
    }
}

#dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(5) img {
    margin-left: 0rem;
    margin-right: 1rem;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.iconBox .item:nth-of-type(5) img {
        margin-left: 0rem;
        margin-right: 0rem;
    }
}

#dgm.wrap .sec3 .s-block.btn-box {
    bottom: 10%;
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.btn-box {
        width: 95%;
        justify-content: center;
        gap: 0.5rem;
    }
}

#dgm.wrap .sec3 .s-block.btn-box a.btn {
    flex: 0 0 50%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec3 .s-block.btn-box a.btn {
        flex: 0 0 45%;
    }
}

#dgm.wrap .sec4 .s-block:nth-of-type(1) {
    top: 2%;
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec4 .s-block:nth-of-type(1) {
        top: 0.5%;
        width: 95%;
    }
}

#dgm.wrap .sec4 .s-block:nth-of-type(2) {
    top: 15.5%;
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.1rem;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec4 .s-block:nth-of-type(2) {
        top: 9.5%;
        width: 70%;
    }
}

#dgm.wrap .sec4 .s-block:nth-of-type(2) p {
    line-height: 1.6;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec4 .s-block:nth-of-type(2) p {
        font-size: 4vw;
    }
}

#dgm.wrap .sec5 {
    position: relative;
}

#dgm.wrap .sec5 .s-block:nth-of-type(1) {
    top: 3%;
    width: 66%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec5 .s-block:nth-of-type(1) {
        top: 1%;
        width: 93%;
    }
}

#dgm.wrap .sec5 .s-block:nth-of-type(2) {
    top: 29%;
    width: 67%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.6rem;
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec5 .s-block:nth-of-type(2) {
        top: 39%;
        width: 93%;
    }
}

#dgm.wrap .sec6 .s-block:nth-of-type(1) {
    top: 1%;
    width: 61%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec6 .s-block:nth-of-type(1) {
        top: 1%;
        width: 95%;
        left: 50%;
    }
}

#dgm.wrap .sec7 .s-block:nth-of-type(1) {
    top: 1%;
    width: 62%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec7 .s-block:nth-of-type(1) {
        top: 2%;
        width: 95%;
        left: 50%;
    }
}

#dgm.wrap .sec7 .s-block:nth-of-type(2) {
    top: 21%;
    width: 34%;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec7 .s-block:nth-of-type(2) {
        top: 13%;
        width: 80%;
        left: 50%;
    }
}

#dgm.wrap .sec7 .s-block:nth-of-type(3) {
    top: 81%;
    width: 67%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.6rem;
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec7 .s-block:nth-of-type(3) {
        top: 87%;
        width: 88%;
        left: 50%;
    }
}

#dgm.wrap .sec8 .s-block.btn-box {
    top: 68%;
    width: 54%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec8 .s-block.btn-box {
        top: 74%;
        width: 95%;
        justify-content: center;
        gap: 0.5rem;
    }
}

#dgm.wrap .sec8 .s-block.btn-box a.btn {
    flex: 0 0 50%;
}

@media only screen and (max-width: 768px) {
    #dgm.wrap .sec8 .s-block.btn-box a.btn {
        flex: 0 0 45%;
    }
}

.loading {
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.loadingTxt {
    height: 10vw;
    overflow: hidden;
    display: flex;
    justify-content: start;
}

@media (max-width: 768px) {
    .loadingTxt {
        height: 6vw;
    }
}

.loadingTxt p {
    color: #fff;
    margin: 0;
    font-size: 30px;
    padding: 0 0.5rem;
}

@media only screen and (max-width: 640px) {
    .loadingTxt p {
        font-size: 5.4vw;
    }
}

.loadingTxt .txt:nth-of-type(2n + 1) {
    animation-name: loading-txt1;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
}

.loadingTxt .txt:nth-of-type(2n) {
    animation-name: loading-txt1;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-delay: 1s;
}

@keyframes loading-txt1 {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes boll {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(10%);
    }
}

@keyframes boll-KV {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(10%);
    }
}

.s-block.btn-box {
    left: 62% !important;
}

@media only screen and (max-width: 768px) {
    .s-block.btn-box {
        left: 51% !important;
    }
}