*{
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
}

@font-face {
    font-family: fonts1;
    src: url(./NotoSansThai/RobotoCondensed-Regular.woff);
    src: url(./NotoSansThai/AnyConv.com__NotoSansThai_Condensed-Regular.woff);
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

/*************** Desktop RESPONSIVE ****************/

body {
    width: auto;
    font-family: fonts1;
    /* border: 3px solid black; */ /*open here*/
    user-select: none;
}


/*ส่วน Header*/

.header {
    height: 100px;
    /* border: 2px solid black; */ /*open here*/
    display: flex;
    justify-content: center;
}

.header a img {
    margin-left: 1%;
    width: 150px;
    height: 75px;
    margin-top: 8%;
}

.header .headerhiddenblock2 {
    width: 728px;
    /* border: 2px solid black; */
}


.header .navbar {
    margin-top: 50px;
    /*border: 2px solid black;*/
}


.header .navbar a{
    font-size: 22px;
    color: black;
}
.header .navbar a:hover{
    color: rgba(0, 0, 0, .3);
}

/*จบส่วน Header*/




/*ส่วน block1*/

.block1 {
    height: auto;
    /* border: 2px solid black; */
    display: flex;
    justify-content: center;
}

/*ส่วน block1 Manu*/

.Manu {
    /* border: 2px solid black; */
    width: 240px;
    height: auto;
}

ul a {
    color: black;
    margin-left: 5px;
}

ul ul a {
    color: black;
    margin-left: 15px;
}


ul ul ul li {
    margin-left: 15px;
    list-style-type: none;
}



/*จบส่วน block1 Manu*/


/*ส่วน block1 content*/

.block1 .content {
    /* border: 2px solid black; */ /*open here*/
    width: 1060px;
    height: 870px;
    position: relative;
} 

.block1 .content .headcontentblock1 {
    width: 1050px;
    text-align: center;
    justify-content: center;
    /* border: 1.5px solid black; */
    position: absolute;
    z-index: 1;
}

.block1 .content .headcontentblock1 img {
    margin-top: -14.6%;
    margin-left: -50.45%;
    width: 1057px;
    height: 163px;
    position: absolute;
    /* border: 1.5px solid black; */
    z-index: 2;
}

.block1 .content .headcontentblock1 #headContent1 {
    margin-top: -2.5%;
    margin-left: -500px;
    width: 1000px;
    font-size: 24px;
    position: absolute;
    z-index: 3;
    /* border: 1.5px solid black; */
}

.block1 .content .contentblock1 {
    margin-top: 15%;
    width: 1050px;
    position: absolute;
    z-index: 1;
    /* border: 1.5px solid red; */
}

.block1 .content .contentblock1 img {
    margin-top: -1%;
    margin-left: -1.1%;
    width: 1057px;
    height: 750px;
    /* border: 1.5px solid black; */
    position: absolute;
    z-index: 2;
}
/*จบส่วน block1 content*/

/*จบส่วน block1*/


/*ส่วน footer*/

.footer {
    text-align: center;
    /* border: 2px solid black; */ /*open here*/
    display: flex;
    justify-content: center;
}


.footer .hiddenblock4 {
    width: 180px;
    /* border: 2px solid black; */
}

.footer .block2 {
    text-align: left;
}
.footer .block2 a {
    color: black;
}

.footer .block3 {
    text-align: left;
}
.footer .block3 a {
    color: black;
}

.footer .block4 {
    text-align: left;
}
.footer .block4 {
    color: black;
}

.footer .hiddenblock5 {
    width: 180px;
    /* border: 2px solid black; */
}


.footer .hiddenblock3 {
    width: 180px;
    /* border: 2px solid black; */
}

/*จบส่วน footer*/

/*ซ่อนส่วน mobile footer*/
.Mobilefooter {
    display: none;
}
/*ซ่อนส่วน mobile footer*/

.TheEndblock {
    width: auto;
    display: flex;
    justify-content: center;
    /*border: 2px solid black;*/
}

.TheEndblock .hiddenblock6 {
    width: 10px;
    /*border: 2px solid black;*/
}

.CPYBlock {
    width: 200px;
    /*border: 2px solid black;*/
}
#CPY {
    font-size: 12px;
}


@media only screen and (max-width: 1329px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        height: 100px;
        /* border: 2px solid black; */ /*open here*/
        display: flex;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 1%;
        width: 150px;
        height: 75px;
        margin-top: 8%;
    }
    
    .header .headerhiddenblock2 {
        width: 600px;
        /* border: 2px solid black; */
    }
    
    
    .header .navbar {
        margin-top: 50px;
        /*border: 2px solid black;*/
    }
    
    
    .header .navbar a{
        font-size: 22px;
        color: black;
    }
    .header .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu */

    .Manu {
        width: 25%;
        height: auto;
        /*border: 2px solid red;*/
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu */
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -15%;
        margin-left: -50%;
        width: 100%;
        height: 210px;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: 0%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: -2%;
        margin-left: -0.5%;
        width: 98.5%;
        height: 650px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 10.5%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-top: 32%;
        margin-left: 10%;

    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


/*************** MOBILE RESPONSIVE ****************/

@media only screen and (max-width: 1200px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 43.5%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -11.5%;
        margin-left: -50%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: 0%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: -7%;
        margin-left: -0.8%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 10.5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}

@media only screen and (max-width: 1024px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 43%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -14%;
        margin-left: -50%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: -1%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: -4%;
        margin-left: -0.8%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 9%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}

@media only screen and (max-width: 900px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 42%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -18%;
        margin-left: -50%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: -3%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: -4%;
        margin-left: -0.8%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 7%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}

@media only screen and (max-width: 768px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 40%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -18%;
        margin-left: -49.95%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: 0%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: 4.5%;
        margin-left: -1%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 14px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 14px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 14px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 600px) {
    
    body {
        width: 124%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 40%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -18%;
        margin-left: -49.95%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: 0%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: 4.5%;
        margin-left: -1%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 13px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 13px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 13px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 10px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 480px) {
    
    body {
        width: 235%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 43%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -12.5%;
        margin-left: -49.95%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: 0%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: -5.5%;
        margin-left: -.5%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 9%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 115%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 10px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 380px) {
    
    body {
        width: 235%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 41%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -18.5%;
        margin-left: -49.95%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: -3%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: -3%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 4.5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 117%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 10px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 200px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}

@media only screen and (max-width: 320px) {
    
    body {
        width: 235%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 40%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -22.5%;
        margin-left: -49.95%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: -3%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: 0%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 2%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 117%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 10px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 200px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}



@media only screen and (max-width: 280px) {
    
    body {
        width: 235%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 38%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน block1 */
    
    .block1 {
        height: auto;
        display: flex;
        justify-content: center;
    }

    /*ส่วน manu (ซ่อนไว้)*/

    .Manu {
        width: 0%;
        height: auto;
        border: 2px solid red;
        display: none;
    }
    
    ul a {
        color: black;
        margin-left: 5px;
    }
    
    ul ul a {
        color: black;
        margin-left: 15px;
    }
    
    
    ul ul ul li {
        margin-left: 15px;
        list-style-type: none;
    }
    
    /*จบส่วน manu (ซ่อนไว้)*/
    
    /*ส่วน block1 content*/
    
    .block1 .content {
        /*border: 5px solid rgb(48, 87, 244);*/
        width: 100%;
        height: 750px;
        position: relative;
    } 
    
    .block1 .content .headcontentblock1 {
        width: 98.7%;
        text-align: center;
        justify-content: center;
        /*border: 1.5px solid black;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .headcontentblock1 img {
        margin-top: -22.5%;
        margin-left: -49.95%;
        width: 100%;
        height: 163px;
        object-fit: cover;
        object-fit: cover;
        position: absolute;
        z-index: 2;
    }
    
    .block1 .content .headcontentblock1 #headContent1 {
        margin-top: -1%;
        margin-left: -50%;
        width: 100%;
        font-size: 28px;
        object-fit: cover;
        position: absolute;
        z-index: 3;
    }
    
    .block1 .content .contentblock1 {
        margin-top: 22%;
        width: 100%;
        /*border: 2px solid orange;*/
        position: absolute;
        z-index: 1;
    }
    
    .block1 .content .contentblock1 img {
        margin-top: 7%;
        width: 99%;
        height: 580px;
        position: absolute;
        z-index: 2;
    }
    /*จบส่วน block1 content*/
    
    /*จบส่วน block1*/
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 15%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .Mobileblock2 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 20px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 9%;
        margin-top: 18%;
    }

    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 30px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 200px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}