@charset "UTF-8";
/* --------------------------------------------------
 Base
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&display=swap');

body, ol, ul, dl, li, dt, dd, table, th, td, input, textarea, select, h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 500;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1;
}

html::-webkit-scrollbar {
    background: #f1f1f1;
    width: 6px;
}

html::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
}

body {
    color: #fff;
    min-width: 320px;
    line-height: 1.4;
    font-size: 100%;
    position: relative;
    overflow-x: hidden;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 90%;
    }
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

dt, dd {
    line-height: 1.4;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

input,
textarea {
    padding: 5px 8px;
}

select {
    font-family: 'Noto Sans Thai', sans-serif!important;
    padding: 5px 8px;
}

ul {
    list-style: none;
}

ol {
    margin: 0px 0px 0px 21px;
}

ol>li {
    list-style: decimal outside;
    margin: 0px 0px 3%;
}

a {
    text-decoration: underline;
    outline: 0;
}

a:hover, a:active {
    text-decoration: none;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

h1, h2 {
    font-size:1.2rem;
}

h3, h4 {
    font-size:1.1rem;
}

/* --------------------------------------------------
 contents
-------------------------------------------------- */

#contents {
    padding-bottom: 70px;
}

/* --------------------------------------------------
 Other
-------------------------------------------------- */

.mfp-bg {
    z-index: 1051;
}

.mfp-wrap {
    z-index: 1052;
}

button.mfp-close {
    display: none;
}

.white-popup-block {
    background: #fff;
    padding: 30px 45px;
    text-align: left;
    max-width: 675px;
    margin: 70px auto;
    position: relative;
}

@media screen and (max-width: 767px) {
    .white-popup-block {
        padding: 3% 4%;
    }
}

#page-top {
    position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: 998;
    display: none;
}

#page-top a {
    background: #d89597;
    width: 50px;
    height: 50px;
    border-radius: 99px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-top a::after {
    font-family: "Font Awesome 5 Free";
    content: '\f106';
    color: #fff;
    font-weight: 900;
    font-size: 28px;
}

#page-top .txt {
    display: block;
}

@media screen and (max-width: 767px) {
    #page-top a {
        width: 40px;
        height: 40px;
    }
    #page-top a::after {
        font-size: 20px;
    }
}

.animation-hide {
    opacity: 0;
}

@keyframes slide-left {
    0% {
        transform: translateX(135px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}