@font-face {
    font-family: 'MuangthaicapModern-Medium';
    src: url("/fonts/MuangthaicapModern-Medium.ttf");
}

@font-face {
    font-family: 'MuangthaicapModern-Regular';
    src: url("/fonts/MuangthaicapModern-Regular.ttf");
}

@font-face {
    font-family: 'MuangthaicapText-Regular';
    src: url("/fonts/MuangthaicapText-Regular.ttf");
}

@font-face {
    font-family: 'MuangthaicapText-Medium';
    src: url("/fonts/MuangthaicapText-Medium.ttf");
}

@font-face {
    font-family: 'MuangthaicapModern-Blod';
    src: url("/fonts/MuangthaicapModern-Bold.ttf");
}

@media (min-width:900px) {
    * {
        margin: 0;
        padding: 0;
        text-decoration: none;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        width: 100%;
        overflow-x: hidden;
    }

    #wrapper {
        overflow: hidden;
    }

    /* menu */
    .menu_bar {
        color: #221f20;
        font-size: 0.875;
        position: fixed;
        width: 100%;
        z-index: 10;
        font-family: 'MuangthaicapModern-Medium';
        font-weight: lighter;
        background-color: white;
        transition: top 0.3s;
        box-shadow: 0 4px 8px #00000035;

    }

    nav {
        padding-top: 1.18rem;
        position: sticky;
        background: #ffffff;
        margin-left: 205px;
        margin-right: 205px;
    }

    .header-top {
        position: relative;
        display: flex;
    }

    .header-top-block1 {
        position: absolute;
        display: flex;
        text-decoration: none;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .header-top a {
        text-decoration: none;
        color: #221f20;
    }

    .box-main-org {
        width: 15px;
        height: 10px;
        color: #221f20;
        font-size: 0.875rem;
        text-decoration: none;
        border-radius: 30px;
        background-color: #e9f5fb;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        transition: all .3s ease-out;
        min-width: 150px;
        min-height: 35px;
        outline: 5px solid white
    }

    .box-main-org:hover {
        background-color: #294049;
        outline: 5px solid #c0e9ff;
    }


    a .all {
        display: flex;
        align-items: center;
    }


    .img-go-org {
        width: 16px;
        height: 16px;
    }

    .box-main-org p {
        margin-left: 5px;
    }

    .box-main-org:hover .img-go-org {
        filter: invert(100%) brightness(100%);
    }

    .box-main-org:hover p {
        color: white;
    }

    nav ul {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
    }

    nav ul li {
        display: inline-block;
        line-height: 50px;
    }

    nav ul li a {
        color: #221f20;
        font-size: 0.875rem;
        text-decoration: none;
    }

    #invis {
        display: none;
    }

    nav ul li a:not(.nothover):hover {
        background: #ffffff;
        transition: 0.5s;
        color: #00a2e5;
    }

    .running-underline {
        position: relative;
        text-decoration: none;
    }

    .running-underline::before {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background-color: #00a2e5;
        /* สีของเส้นใต้ */
        bottom: -14px;
        left: 0;
        transition: all 0.5s ease;
        /* เพิ่ม transition เพื่อให้มีการเคลื่อนไหวเนื่องจากความเร็วที่กำหนด */
    }

    .running-underline:hover::before {
        width: 100%;
        background-color: #00a2e5;
    }

    .checkbtn {
        margin-top: -8px;
        color: white;
        float: right;
        line-height: 60px;
        margin-right: 40px;
        cursor: pointer;
    }

    .logo {
        width: 50%;
        margin-left: 25%;
        text-align: center;
        text-decoration: none;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
    }

    .image-resize {
        margin-top: -6px;
    }

    .icon-bar {
        display: none;
    }

    .close-menu {
        display: none;
    }

    #check {
        display: none;
    }

    ::-webkit-scrollbar {
        width: 9px;
        /* กำหนดความกว้างของ scrollbar */
    }

    ::-webkit-scrollbar-thumb {
        background-color: #00a2e5;
        /* สีของ thumb (ตำแหน่งที่ใช้เลื่อน) */
    }

    ::-webkit-scrollbar-track {
        background-color: #c4ebfb;
        /* สีของ track (พื้นหลังของ scrollbar) */
    }


    .content-box {
        width: 100%;
        padding: 0 205px 96px 205px;
    }

    .header-topp {
        padding-top: 168px;
        text-align: center;
        font-size: 2.5rem;
        font-weight: 500;
        color: #221f20;
        font-family: 'MuangthaicapModern-Medium';

    }

    .line-box {
        background-color: #00a2e5;
        border-radius: 4px;
        text-align: center;
        width: 100%;
        -webkit-column-gap: 1rem;
        -moz-column-gap: 1rem;
        column-gap: 1rem;
        padding: 0.5rem 0;
        margin-top: 15px;
    }

    .line-box a {
        text-decoration: none;
        color: #fff;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
    }

    .line-box a {
        text-decoration: none;
        color: #fff;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
    }

    .yellow {
        color: yellow;
    }

    .yellow2 {
        color: yellow;
        padding: 0 5px 0 5px;
    }

    .content1 {
        width: 100%;
    }

    .content2 {
        display: flex;
        flex-direction: column;
        width: 100%;
        /* padding: 30px 0 50px 0; */
        /* border: 2px solid beige; */
    }

    .content3 {
        display: flex;
        flex-direction: column;
        width: 100%;
        /* padding: 30px 0 50px 0; */
        /* border: 2px solid beige; */
        margin-bottom: 96px;
    }

    .content3 {
        width: 100%;
        /* padding: 50px 0 130px 0; */
    }

    .header1 {
        font-size: 1.4375rem;
        font-family: 'MuangthaicapModern-Medium';
        color: #221f20;
    }

    .text-content1 {
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        padding: 10px 0 10px 0;
        color: #4d4d4f;
    }

    .text-content1 ol {
        /* list-style-type: none; */
        padding: 0;
        margin: 0;
        position: relative;
        left: 15px;
        /* ปรับตามที่ต้องการให้เลข 1 อยู่ใน padding-left */
    }

    .header2 {
        font-size: 1.4375rem;
        font-family: 'MuangthaicapModern-Medium';
        color: #221f20;
        padding-top: 30px;
    }

    .text-content2 {
        display: grid;
        grid-template-columns: 30% 21% 21% auto;
        column-gap: 3%;
    }


    #sub-text {
        font-size: 0.8rem;
        color: gray;
    }

    .box-info1 {
        margin-top: 15px;
        /* border: 1px solid green; */
        background-color: #caefff;
        border-radius: 10px;
        box-shadow: 0 1px 8px #00000035;
        padding: 0 20px 0 20px;
    }

    .box-info3 {
        margin-top: 15px;
        /* border: 1px solid green; */
        background-color: #fdf1cf;
        border-radius: 10px;
        box-shadow: 0 1px 8px #00000035;
        padding: 0 20px 0 20px;
    }



    .box-info2 {
        width: 62%;
        margin: 15px 19%;
        /* border: 1px solid green; */
        background-color: #caefff;
        border-radius: 10px;
        box-shadow: 0 1px 8px #00000035;
        padding: 0 20px 0 20px;
    }


    /* ////////////////////////////////////////////////////////////////// */


    .box-img-content {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;

    }

    .box-content {
        width: 70%;
        display: grid;
        grid-template-rows: 25% 25% 25% 25%;
        box-shadow: 0 4px 8px #00000014;
        /* height: fit-content; */
    }

    .img-content {
        width: 100%;
        height: 100%;
    }

    .icon-img {
        width: 100%;
        /* align-items: center; */
    }

    /* .img-content{
    display: flex;
    justify-content: center;
    width: 100%;
  } */

    .img-content-1 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width: 100%;
        height: 100%;

        /* border: 2px solid red; */
    }

    .img-content-2 {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        width: 100%;
        height: 100%;
        /* height: 100%; */
        /* border: 2px solid red; */
    }

    .col-content {
        width: 100%;
        height: 100%;
    }

    .num-inbox {
        width: 100%;
        font-size: 2.5rem;
        padding: 0px 0px 0px 10px;
        font-family: 'MuangthaicapModern-Medium';

    }

    .text-inbox {
        display: flex;
        flex-direction: column;
        width: 100%;
        font-size: 1.1rem;
        padding: 0px 5px 15px 5px;
        align-items: center;
        text-align: center;
        font-family: 'MuangthaicapText-Regular';
        /* height: fit-content; */
    }

    .text-inbox2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        font-size: 1.4rem;
        padding: 0px 10px 10px 10px;
        align-items: center;
        font-family: 'MuangthaicapText-Regular';
        /* height: fit-content; */
    }

    .text-inbox22 {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        font-size: 1.4rem;
        padding: 0px 10px 10px 10px;
        align-items: center;
        font-family: 'MuangthaicapText-Regular';
        /* height: fit-content; */
    }

    #mark-text {
        font-size: 1.4rem;
        color: rgb(0, 26, 132);
    }

    .col-box-1 {
        display: flex;
        background-color: white;
        color: black;
        /* width: 100%; */
    }

    .col2-box-1 {
        display: flex;
        background-color: white;
        color: black;
        /* width: 100%; */
    }

    .col-box-2 {
        display: grid;
        grid-template-rows: auto 1fr;
        background-color: #03A8F8;
        color: white;
        /* width: 100%; */
        /* height: 100%; */
    }

    .col-box-3 {
        display: grid;
        grid-template-rows: auto 1fr;
        background-color: white;
        color: black;
        /* width: 100%; */
    }

    .col-box-4 {
        display: grid;
        grid-template-rows: auto 1fr;
        background-color: #B8E8FE;

        /* border: 2px solid beige; */
        /* width: 100%; */
    }

    .box-content-1 {
        width: 100%;
        display: grid;
        grid-template-columns: 7% 1fr;
        align-items: center;
        padding-top: 25px;
        /* margin: 5px 0px 5px 0px; */
    }

    .num-text-1 {
        width: 100%;
        align-items: center;
        font-size: 3rem;
        text-align: center;
        padding-right: 10px;
    }

    .box-text-h {
        display: flex;
        width: 100%;
        align-items: center;
        font-family: 'MuangthaicapText-Medium';
        font-size: 1rem;
        margin-top: 30px;
        color: #221f20;
    }

    .box-text-title{
        width: 100%;
        align-items: center;
        font-family: 'MuangthaicapText-Medium';
        font-size: 1.5rem;
        margin-top: 30px;
        color: #221f20;
    }

    .box-text-t {
        width: 100%;
    }

    .indent {
        text-indent: 25px;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        color: #4d4d4f;
    }

    .subhead-boxtext {
        font-size: 1rem;
        font-family: 'MuangthaicapText-Medium';
        color: #221f20;
        /* padding-left: 15px; */
        padding-top: 5px;
        color: #00a2e5;

    }

    .box-text-list {
        display: grid;
        grid-template-columns: 10% auto;
        /* margin-top: 15px; */
        /* row-gap: 10%; */
        width: 100%;
        /* height: fit-content; */
    }

    .num-subhead {
        font-size: 0.875rem;
        text-align: right;
        font-family: 'MuangthaicapText-Regular';
        padding-right: 10px;
    }

    .text-subhead {
        height: 100%;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
        color: #6c6c6c;
    }

    .content-1 {
        width: 100%;
        height: 100%;
        ;
        border: 1px solid red;
    }

    .group {
        width: 100%;
        /* height: fit-content; */
        display: grid;
        grid-template-rows: auto;
    }

    .box-text-t ol {
        padding-left: 25px;
    }

    .box-text-t li {
        font-family: 'Muangthaicaptext-Regular';
        font-size: 0.875rem;
        color: #6c6c6c;
        list-style: disc;
    }

    #num-head {
        font-size: 1.437rem;
    }

    /* ////////////////////////////////////////////////////////////////// */




    .footer {
        padding-left: 205px;
        padding-right: 205px;
        background-color: #00a2e5;
        position: relative;

    }

    .top-inform {
        display: flex;
        width: 100%;
        padding-top: 45px;
        justify-content: space-between;
    }

    .col1 {
        font-family: 'Muangthaicaptext-Regular';
        color: #fff;
    }

    .footer-header1 {
        font-family: 'MuangthaicapModern-Medium';
        font-size: 1.4375rem;
    }

    .member p {
        font-size: 1rem;
        margin-top: 15px;
    }

    .button-member {
        text-decoration: none;
        color: #00a2e5;
        font-size: 0.875rem;
        font-family: 'Muangthaicaptext-Medium';
    }

    .bm-content {
        margin-top: 15px;
        border-radius: 30px;
        width: 210px;
        padding: 8px;
        display: flex;
        background-color: #fff;
        align-items: center;
        justify-content: space-around;
    }

    .arrow-right-img {
        width: 20%;
    }

    .followme {
        font-family: 'Muangthaicaptext-Medium';
        font-weight: 600;
        margin-top: 25px;
        font-size: 0.875rem;
    }

    .button-followme {
        display: flex;
        flex-direction: row;
        margin-top: 8px;
    }

    .youtube {
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }

    .facebook {
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        margin-left: 10px;
    }

    .youtube-img {
        width: 34%;
    }

    .col2 {
        margin-left: -7vw;
    }

    .col2 ul {
        font-family: 'Muangthaicaptext-Regular';
        list-style: none;
        color: #fff;
        font-size: 0.875rem;
        line-height: 2.1rem;
        text-decoration: none;
    }

    .col2 ul li a:visited {
        color: white;
    }

    .col3 {
        color: #fff;
        font-family: 'Muangthaicaptext-Regular';
    }

    .col3 .address-header {
        font-family: 'Muangthaicaptext-Medium';
        margin-top: 10px;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .location {
        font-size: 0.875rem;
        margin-top: 5px;
    }

    .location ul {
        list-style: none;
    }

    .location ul li a {
        text-decoration: none;
        color: white;
        font-size: 0.875rem;
    }

    .location ul li a:visited {
        color: white;
    }

    .line1 {
        margin-top: 10px;
        width: 100%;
        border-top: 1px solid yellow;
    }

    .tel-text {
        font-family: 'Muangthaicaptext-Medium';
    }

    .tel-number {
        font-size: 0.875rem;
        font-family: 'Muangthaicaptext-Regular';
        font-weight: 400;
    }

    .bottom-inform {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.875rem;
        font-family: 'Muangthaicaptext-Regular';
        color: white;
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .text-inform2 {
        width: 600px;
        display: flex;
        justify-content: space-between;
        /* text-decoration: none; */
    }

    .text-inform2 a {
        color: #fff;

    }

    .yellow {
        color: yellow;
    }

    .running-underline2 {
        position: relative;
        text-decoration: none;
    }

    .running-underline2::before {
        content: "";
        position: absolute;
        width: 0px;
        height: 1px;
        background-color: #ffffff;
        /* สีของเส้นใต้ */
        bottom: -8px;
        left: 0;
        transition: all 0.5s ease;
        /* เพิ่ม transition เพื่อให้มีการเคลื่อนไหวเนื่องจากความเร็วที่กำหนด */
    }

    .running-underline2:hover::before {
        width: 250px;
        background-color: #ffffff;
    }

    #company-info {
        color: inherit;
        text-decoration: none;
    }

    .indent {
        text-indent: 25px;
    }

    /* materiality-grid */
    .materiality-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
        max-width: 1120px;
        padding: 1rem;
        margin: 0 auto;
    }

    /* จัดลำดับให้เหมือนภาพ: 01 03 / 02 04 */
    .materiality-grid>.box-text-t:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .materiality-grid>.box-text-t:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .materiality-grid>.box-text-t:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .materiality-grid>.box-text-t:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    /* item layout เฉพาะใน materiality-grid เท่านั้น */
    .materiality-grid>.box-text-t {
        display: grid;
        grid-template-columns: 35px 1fr;
        column-gap: 20px;
        align-items: start;
    }

    /* เลข 01 02 03 04 */
    .materiality-grid>.box-text-t>p:first-child {
        grid-column: 1;
        grid-row: 1 / span 2;

        margin: 0;
        color: #009EDE;
        font-size: 42px;
        font-weight: 800;
        line-height: 1;
    }

    /* หัวข้อ */
    .materiality-grid>.box-text-t>.subhead-boxtext {
        grid-column: 2;

        margin: 0;
        color: #009EDE;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.2;
    }

    /* เนื้อหา */
    .materiality-grid>.box-text-t>.indent {
        grid-column: 2;
        margin: 10px 0 0;
        color: #222;
        font-size: 13px;
        line-height: 1.85;
        font-weight: 400;
        text-indent: 0;
    }

}