/* CSS Document */

/* @import url("fonts.css"); */

/* html5doctor.com/html-5-reset-stylesheet/ */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,time,mark,audio,video { margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; } 
body { line-height:1; }
ol,ul { list-style:none; }
blockquote,q { quotes:none; }
blockquote:before,blockquote:after,q:before,q:after { content:'';content:none; }
ins { text-decoration:none; }
del { text-decoration:line-through; }
table { border-collapse:collapse;border-spacing:0; }



html {
  /* box-sizing: border-box; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* overflow-x: hidden;  */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* root */
:root{
  --white: #fff;
  --black: #000;
  --default: #212222;
  --primary: #ef3f24; 
  --primary2: #ec3d22;

  --filter-primary: invert(26%) sepia(85%) saturate(3743%) hue-rotate(353deg) brightness(114%) contrast(87%);


  --t-header1: 80px;
  --t-headersub: 46px;
}

@media (max-width: 1919px) {
  :root {
    --t-header1: 60px;
    --t-headersub: 40px;
  }
}
@media (max-width: 1599px) {
  :root {
    --t-header1: 50px;
    --t-headersub: 34px;
  }
}
@media (max-width: 1199px) {
  :root {
    --t-header1: 40px;
    --t-headersub: 30px;
  }
}
@media (max-width: 576px) {
  :root {
    --t-header1: 29px;
    --t-headersub: 26px;
  }
}



/* -- CUSTOM CSS -- */
html, body {width:100%; height:100%; padding:0px; margin:0px}

body{ 
	background-color:#fff; 
}
body{ font-family: 'Kanit', sans-serif; font-size:100%; font-weight:400; color:var(--default); text-decoration:none; }
img {
	border:0px;
}
.img-responsive { display: block; height: auto; max-width: 100%; }

a,
a:hover{
  text-decoration:none;
  color: inherit;
  outline:0; transition: all 0.3s ease;
}
a:focus {
  text-decoration:none;
  outline:0;
}

.btn.focus, .btn:focus{
	outline:0;
	box-shadow: none;
}
input:focus,
select:focus,
textarea:focus,
button:focus,
.form-control:focus {
  outline: none !important;
  box-shadow: none;
}
input,
select,
textarea{
  background-clip: padding-box;
}


@media (max-width: 767px) {

  body{ 
    background-color:#fff; 
  }

}



.div-container{
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .div-container, .div-container--fluid{
    max-width: 540px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 768px) {
  .div-container, .div-container--fluid{
    max-width: 750px;
  }
  .div-container--fluid{ max-width: 100%; padding: 0; }
}

@media (min-width: 992px) {
  .div-container{
    max-width: 970px;
  }
}
@media (min-width: 1200px) {
  .div-container {
    max-width: 1230px;
  }
}
@media (min-width: 1400px) {
  .div-container {
    max-width: 1320px;
  }
}
@media (min-width: 1600px) {
  .div-container {
    max-width: 1520px;
  }
}
@media (min-width: 1920px) {
  .div-container {
    max-width: 1720px;
  }
}




section{ position: relative; }
.page-section{ padding: 100px 0; }

@media (max-width: 1199px) {

  .page-section{ padding: 80px 0; }

}
@media (max-width: 991px) {

  .page-section{ padding: 50px 0; }

}
@media (max-width: 767px) {

  .page-section{ padding: 50px 0; }

}

h1, h2, h3, h4{ font-weight: 400; }


p{ font-size: var(--t-detail); line-height: 1.5; font-weight: 300; }

.bg-e6e6e6{ background-color: #e6e6e6; }

.txt-white{ color: var(--white); }
.txt-black{ color: var(--black); }
.txt-primary{ color: var(--primary2) }

.divtitle h2{ font-size: var(--t-header1); line-height: 1.3; font-weight: 500; text-align: center; margin-bottom: 30px; }
.divtitle h2 span{ display: block; color: var(--primary2); }

.divsub{ font-size: var(--t-headersub); line-height: 1.4; font-weight: 500; }




/* button */
.btn{ font-family: "proxima-nova-thai", "Kanit", sans-serif; font-weight: bold; padding: 5px; border: 1px solid var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; }

.btn--solid{ background-color: var(--white); color: var(--black); }
.btn--red{ background-color: var(--primary); color: var(--white); }
.btn--black{ background-color: var(--black); color: var(--white); border-color: var(--black); }
.btn--white{ background-color: var(--white); color: var(--primary); }

.btn:hover{ background-color: var(--white); color: var(--primary); border-color: var(--primary); }
.btn--black:hover{ border-color: var(--primary); }
.btn--white:hover{ background-color: var(--black); color: var(--white); }




/**********************************************************/
/************************** nav ***************************/
/**********************************************************/

.div-header{ padding: 25px 0; position: relative; top: 0; left: 0; width: 100%; z-index: 99; background-color: var(--white); }
.div-header--content{ display: flex; justify-content: space-between; align-items: center; }
.div-logo{ max-width: 220px; }

.header--btn{ display: flex; gap: 45px; }
.header--btn .btn{ width: 295px; height: 65px; font-size: 36px; }


@media (max-width: 1999px) {

  .div-header{ padding: 20px 0; }
  .div-logo{ max-width: 200px; }

  .header--btn{ gap: 35px; }
  .header--btn .btn{ width: 200px; height: 50px; font-size: 20px; }

}
@media (max-width: 1199px) {

  .header--btn{ gap: 25px; }
  .header--btn .btn{ width: 180px; height: 50px; }

}
@media (max-width: 991px) {

  .div-header{ position: fixed; }
  .header--btn{ gap: 15px; }
  .header--btn .btn{ width: 150px; height: 40px; font-size: 16px; }

  .content-pd{ padding-top: 87px; }

}
@media (max-width: 767px) {

  .div-header{ padding: 12px 0; }
  .div-logo{ max-width: 120px; }

  .header--btn{ gap: 5px; }
  .header--btn .btn{ width: 100px; height: 30px; font-size: 12px; border-radius: 6px; }

  .content-pd{ padding-top: 54px; }

}



.ft--section{ padding: 30px 20px; background-color: #000; }

.copyright{ font-size: 24px; line-height: 1.3; font-weight: 300; color: var(--white); text-align: center; }

@media (max-width: 1199px) {

  .copyright{ font-size: 20px; }

}
@media (max-width: 576px) {

  .copyright{ font-size: 14px; }

}


/**********************************************************/
/**********************************************************/


/*
 *  Owl Carousel - nav arrow
*/
.owl-carousel .owl-stage-outer{ z-index: 9; }
.owl-carousel .owl-nav{ 
  position:absolute; width:100%; top: calc(50% - 50px); height:70px; margin-top: -35px;
}
.owl-carousel .owl-nav button.owl-prev{
  background: url('../images/arrow/arrow-prev.png') no-repeat 0 0; background-size: cover;
  text-indent:-9999px;
  width:70px;
  height:70px;
  left: 0px;
  position:absolute;z-index:101;
  border-radius: 0;
  padding: 0;
  margin:0;
}
.owl-carousel .owl-nav button.owl-next{
  background: url('../images/arrow/arrow-next.png') no-repeat 0 0; background-size: cover;
  text-indent:-9999px;
  width:70px;
  height:70px;
  right: 0px;
  position:absolute;z-index:101;
  border-radius: 0;
  padding: 0;
  margin:0;
}
.owl-carousel .owl-nav button.owl-prev:hover{
  background: url('../images/arrow/arrow-prev.png') no-repeat 0 0; background-size: cover;
}

.owl-carousel .owl-nav button.owl-next:hover{
  background: url('../images/arrow/arrow-next.png') no-repeat 0 0; background-size: cover;
}

/* .owl-theme .owl-nav .disabled{ display: none; } */

.owl-carousel.off {
  display: block;
}

.owl-theme .owl-dots{ width: 100%; text-align: center; z-index: 9; }
.owl-theme .owl-dots{ margin-top: 30px; }
.owl-theme .owl-dots .owl-dot span{ background: #b7b7b7; width: 8px; height: 8px; border-radius: 50%; margin: 5px; }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{ background: var(--primary); }
.owl-theme .owl-nav.disabled + .owl-dots{ margin-top: 30px; }





/**********************************************************/
/**********************************************************/

.bg-top{ background-color: #ff0f03; background-image: url('../images/bg/bg-top-desktop3000x1200.jpg');background-repeat: no-repeat; background-position: center; background-size: cover; width: 100%; max-height: 980px; position: relative; padding: 50px 0 80px; height: 100%; }
.divtop-detail{ color: var(--white); max-width: 800px; }
.divtop-detail p{ font-size: 28px; line-height: 1.5; font-weight: 300; }
.divtop-detail h1{ font-size: 65px; line-height: 1.2; font-weight: 500; margin-bottom: 20px; }
.divtop-detail .divtop-text{ font-size: 50px; font-weight: 400; text-decoration: underline; margin-bottom: 20px; }

.bg-top .div-container{ display: flex; justify-content: flex-end; }
.divtop-btn{ margin-top: 20px; display: flex; gap: 20px; }
.divtop-btn .btn{ border-radius: 30px; font-family: 'Kanit', sans-serif; font-size: 30px; font-weight: 400; width: 290px; }

.divtop-list{ display: flex; gap: 20px; justify-content: center; width: 100%; margin-bottom: 80px; }
.divtop-list .boxtop{ background-color: rgba(255, 255, 255, 0.9); border-radius: 25px; padding: 10px; box-shadow: 2px 9px 10px 2.2px rgba(0, 0, 0, 0.14); font-size: 40px; line-height: 1.4; color: var(--black); width: 20%; text-align: center; }
.divtop-list .boxtop span{ display: block; font-size: 30px; }

@media (min-width: 3000px){
  .bg-top{ max-height: 1200px;  }
.divtop-detail{ padding-top: 100px; }
}



@media (max-width: 1999px) {

  .bg-top{ height: auto; }
  .divtop-detail{ max-width: 740px; }
  .divtop-detail p{ font-size: 24px; }
  .divtop-detail h1{ font-size: 56px; }
  .divtop-detail .divtop-text{ font-size: 40px; }
  .divtop-list .boxtop{ font-size: 30px; }
  .divtop-list .boxtop span{ font-size: 20px; }

}
@media (max-width: 1599px) {

  .divtop-detail{ max-width: 600px; }
  .divtop-detail p{ font-size: 18px; }
  .divtop-detail h1{ font-size: 48px; }
  .divtop-btn .btn{ font-size: 28px; width: 260px; }
  .divtop-list .boxtop{ font-size: 26px; width: 22%; }
  .divtop-list .boxtop span{ font-size: 20px; }

}
@media (max-width: 1299px) {

  .divtop-list .boxtop{ width: 25%; }

}
@media (max-width: 1199px) {

  .divtop-detail{ max-width: 450px; }
  .divtop-detail h1{ font-size: 42px; }
  .divtop-detail .divtop-text{ font-size: 34px; }
  .divtop-btn .btn{ font-size: 22px; width: 200px; }
  .divtop-list .boxtop{ width: 30%; font-size: 24px; }
  .divtop-list .boxtop span{ font-size: 18px; }

}
@media (max-width: 991px) {

  .divtop-detail{ max-width: 380px; }
  .divtop-detail h1{ font-size: 30px; margin-bottom: 15px; }
  .divtop-detail .divtop-text{ font-size: 26px; margin-bottom: 15px; }
  .divtop-detail p{ font-size: 16px; }
  .divtop-btn .btn{ font-size: 18px; width: 200px; }
  .divtop-list .boxtop{ font-size: 18px; border-radius: 15px; }
  .divtop-list .boxtop span{ font-size: 15px; }

}
@media (max-width: 767px) {

  .bg-top{ background-image: url('../images/bg/bg-top-mobile.jpg'); background-position: top center; padding-bottom: 50px; }
  .divtop-detail{ padding-top: 85%; text-align: center; max-width: 100%; }
  .divtop-detail h1{ font-size: 30px; }
  .divtop-list{ top: 30px; position: absolute; }

  .bg-top .div-container{ justify-content: center; }
  .divtop-btn{ justify-content: center; flex-flow: row wrap; }

}
@media (max-width: 576px) {

  .bg-top{ max-height: none; }
  .divtop-btn .btn{ font-size: 15px; width: 150px; }

  .divtop-detail{ padding-top: 0; padding-bottom: 0; }
  .divtop-detail h1{ font-size: 26px; }
  .divtop-list{ padding-top: 100%; position: relative; top: 0; flex-direction: column; gap: 10px; margin-bottom: 50px; }
  .divtop-list .boxtop{ width: 90%; margin: 0 auto; font-size: 16px; }

}


/**********************************************************/
/**********************************************************/

.quest-list{ display: flex; justify-content: center; }
.quest-box img{ width: 100%; }
.quest-box figure{ margin: 0; position: relative; }
.quest-box figure figcaption{ position: absolute; top: 100px; right: 0; font-size: 34px; line-height: 1.3; color: var(--white); z-index: 3; padding: 0 35px; width: 50%; }
.quest-box:nth-child(2) figure figcaption{ width: 55%; padding-right: 60px; }
.quest-box{ margin-left: -40px; }
.quest-box:first-child{ margin-left: 0; }

@media (max-width: 1999px) {

  .quest-box figure figcaption{ font-size: 30px; padding: 0 50px; }

}
@media (max-width: 1919px) {

  .quest-box figure figcaption{ padding: 0 40px; }

}
@media (max-width: 1599px) {

  .quest-box figure figcaption{ font-size: 26px; padding: 0 35px; top: 85px; }

}
@media (max-width: 1199px) {

  .quest-box{ margin-left: -30px; }
  .quest-box figure figcaption{ font-size: 20px; padding: 0 20px 0 25px; top: 60px; }
  .quest-box:nth-child(2) figure figcaption{ padding-right: 30px; }
  

}
@media (max-width: 991px) {

  .quest-list{ flex-direction: column; }
  .quest-box{ max-width: 510px; width: 100%; margin: 0 auto; }
  .quest-box:first-child{ margin: 0 auto; }
  .quest-box figure figcaption{ top: 35%; font-size: 40px; padding: 0 60px; }
  .quest-box:nth-child(2) figure figcaption{ padding-right: 70px; }


  .quest-box figure figcaption{ font-size: 30px; padding: 0 30px; }

}
@media (max-width: 576px) {

  .quest-box{ max-width: 345px; }
  .quest-box figure figcaption{ top: 35%; font-size: 18px; padding: 0 30px; }
  .quest-box:nth-child(2) figure figcaption{ padding-right: 50px; }

}
@media (max-width: 360px) {

  .quest-box figure figcaption{ font-size: 16px;  }

}


/**********************************************************/
/**********************************************************/

.page2{ background-color: #e6e6e6; }
.page3{ background-image: url('../images/bg/bg-3.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover; padding: 0; overflow: hidden; padding-bottom: 100px; }
.page3::before{ content: ''; position: absolute; left: 0; bottom: 0; width: 100%; background-image: url('../images/bg/bg-bar.png'); background-repeat: no-repeat; background-position: center; background-size: cover; height: 244px; z-index: 9; }
.page4{ background-color: #d9351b; padding-bottom: 300px; }
/* .page4{ background-image: url('../images/bg/bg-4.png'); background-repeat: no-repeat; background-position: center top; background-size: cover; margin-top: -200px; padding-top: 200px; padding-bottom: 300px; } */
.page5{ padding-top: 50px; background-color: #f1f1f1; }
.page6{ background-image: url('../images/bg/bg-6.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover; }
.page7-2{ padding-top: 0; background-color: #f1f1f1; }
.page8{ background-color: #ffeded; }
.page9{ background-image: url('../images/bg/bg-9.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover; }

@media (max-width: 1999px) {

  /* .page4{ margin-top: -160px; padding-top: 160px; padding-bottom: 200px; } */
  .page4{ padding-bottom: 200px; }

}
@media (max-width: 1919px) {

  .page3{ padding-bottom: 70px; }

}
@media (max-width: 1599px) {

  .page3{ padding-top: 80px; }
  .page3::before{ height: 200px; }

}
@media (max-width: 1199px) {

  /* .page4{ margin-top: -100px; padding-top: 100px; padding-bottom: 150px; } */
  .page4{ padding-bottom: 150px; }
  .page3{ padding-top: 200px; }
  .page3::before{ height: 150px; }

}
@media (max-width: 991px) {

  .page3{ padding-top: 80px; }

}
@media (max-width: 767px) {

  /* .page4{ background-image: url('../images/bg/bg-42.png'); } */
  .page3{ padding-top: 50px; }
  .page3::before{ height: 120px; }

}
@media (max-width: 576px) {

  .page3{ padding-bottom: 0px; }
  .page3::before{ height: 70px; }

}

/**********************************************************/
/**********************************************************/

.s3-content{ position: relative; }
.s3-detail{ position: absolute; bottom: 140px; z-index: 9; }

.s3-title{ margin-bottom: 30px; padding-left: 50px; }
.s3-title .title{ font-size: 55px; line-height: 1.3; font-weight: 500; }
.s3-title .text{ font-size: 42px; line-height: 1.4; font-weight: 500; }

.s3-listdetail{ display: flex; flex-direction: column; gap: 20px; }
.s3-card{ display: flex; box-shadow: 5px 7px 13px 0px rgba(0, 0, 0, 0.24); border: 10px solid rgba(255, 255, 255, 0.8); background-color: rgba(229, 229, 229, 0.8); border-radius: 37px; max-width: 1160px; padding: 20px; }

.s3-card--left{ display: flex; gap: 20px; align-items: center; width: 400px; }
.s3-card--icon{ width: 130px; }
.s3-card--icon img{ max-width: 100%; height: auto; }
.s3-card--left .title{ font-size: 30px; line-height: 1.4; font-weight: 500; color: var(--primary2); }
.s3-card--left .title.small{ font-size: 30px; }
.s3-card--right{ width: calc(100% - 400px); }
.s3-card--right p{ font-size: 24px; line-height: 1.4; }

.kintone-bubble { position: relative; background-color: var(--primary2); color: var(--white); font-size: 80px; font-weight: 600; display: inline-block; padding: 25px 60px; border-radius: 80px;  margin-right: 20px; margin-bottom: 30px; }
.kintone-bubble::after { content: ""; position: absolute; bottom: 10px; right: -30px; border-width: 75px 0 0 75px; border-style: solid; border-color: transparent transparent transparent #f2381e; transform: rotate(15deg); transform-origin: bottom left; }


.s3-img{ position: relative; right: -100px; }

@media (max-width: 1919px) {

  .s3-title{ margin-bottom: 20px; padding-left: 40px; }
  
  .s3-card{ width: 1020px; }
  .s3-card--left{ width: 330px; }
  .s3-card--icon{ width: 100px; }
  .s3-card--left .title{ font-size: 24px; }
  .s3-card--left .title.small{ font-size: 24px; }
  .s3-card--right{ width: calc(100% - 330px); }
  .s3-card--right p{ font-size: 19px; }

  .kintone-bubble{ font-size: 70px; margin-bottom: 20px; }
  .s3-title .title{ font-size: 46px; }
  .s3-title .text{ font-size: 34px; }

}
@media (max-width: 1599px) {

  .s3-card{ width: 900px; }
  .s3-card--left{ width: 270px; }
  .s3-card--icon{ width: 80px; }
  .s3-card--left .title{ font-size: 20px; }
  .s3-card--left .title.small{ font-size: 22px; }
  .s3-card--right{ width: calc(100% - 270px); }
  .s3-card--right p{ font-size: 18px; }

  .kintone-bubble{ font-size: 60px; margin-bottom: 20px; }
  .s3-title .title{ font-size: 40px; }
  .s3-title .text{ font-size: 30px; }

.s3-img{ position: relative; right: -70px; }

}
@media (max-width: 1399px){

  .s3-card{ width: 830px; }

}
@media (max-width: 1199px) {

  .s3-detail{ bottom: 95px; }
  .s3-title{ margin-bottom: 20px; padding-left: 40px; }
  
  .s3-card{ width: 670px; border-radius: 30px; padding: 16px; }
  .s3-card--left{ width: 250px; gap: 10px; }
  .s3-card--icon{ width: 70px; }
  .s3-card--left .title{ font-size: 20px; }
  .s3-card--left .title.small{ font-size: 20px; }
  .s3-card--right{ width: calc(100% - 250px); }
  .s3-card--right p{ font-size: 16px; }

  .kintone-bubble{ font-size: 40px; margin-bottom: 20px; }
  .s3-title .title{ font-size: 40px; }
  .s3-title .text{ font-size: 30px; }

}
@media (max-width: 991px) {

  .s3-detail{ bottom: 0; position: relative; }
  .s3-card{ width: 100%; }
  .s3-img{ max-width: 320px; margin: 0 auto; right: 0; }
  .s3-title{ padding-left: 10px; }
  .s3-title .text{ font-size: 28px; }

}
@media (max-width: 767px) {

  .s3-card{ flex-direction: column; gap: 10px; padding: 20px; }
  .s3-card--left, .s3-card--right{ width: 100%; }
  .s3-card--left{ justify-content: center; }
  .s3-card--right p{ text-align: center; }
  .s3-title .title{ font-size: 34px; }
  .s3-title .text{ font-size: 26px; }

}
@media (max-width: 576px) {

  .kintone-bubble{ font-size: 24px; line-height: 1.1; border-radius: 20px; padding: 20px 14px; }
  .kintone-bubble::after{ right: -20px; border-width: 30px 0 0 40px; }
  .s3-title .title{ font-size: 30px; }
  .s3-title .text{ font-size: 20px; }

}


/**********************************************************/
/**********************************************************/

.work-list { display: flex; gap: 20px; margin-top: 100px; }
.card-work { flex: 1; display: flex; }
.card-work a { display: flex; flex-direction: column; width: 100%; height: 100%; text-decoration: none; color: inherit; background-color: var(--white); border-radius: 35px; box-shadow: -4.56px 13.24px 21px 0px rgba(0, 0, 0, 0.48); padding: 25px; border: 10px solid #fff; }
.card-work p.linkclick{ margin-top: auto; text-align: center; font-size: 42px; color: var(--primary2); }
.card-work .title{ font-size: 42px; line-height: 1.2; font-weight: 500; color: var(--primary2); margin-bottom: 20px; text-align: center; }
.card-work ul{ list-style: disc; margin-left: 25px; }
.card-work ul li{ font-size: 28px; line-height: 1.4; margin-bottom: 10px; }
.card-work ul li::marker{ color: var(--primary2); }

.work-img{ margin-top: -100px; }
.work-img img{ width: 100%; transition: transform 0.3s ease; }

/* .card-work a:hover p.linkclick{ color: var(--black); }
.card-work a:hover .work-img img{ transform: translateY(-10px);  } */

.card-work p.linkclick{ opacity: 0; }

@media (max-width: 1999px) {

  .card-work .title,
  .card-work p.linkclick{ font-size: 36px; }
  .card-work ul li{ font-size: 24px; }

}@media (max-width: 1919px) {

  .card-work a{ padding: 15px; border-radius: 30px; }

}
@media (max-width: 1599px) {

  .card-work .title,
  .card-work p.linkclick{ font-size: 30px; }
  .card-work ul li{ font-size: 20px; }

}
@media (max-width: 1399px) {

  .card-work .title,
  .card-work p.linkclick{ font-size: 28px; }
  .card-work ul li{ font-size: 18px; }

}
@media (max-width: 1199px) {

  .card-work a{ border-width: 6px; }
  .card-work .title,
  .card-work p.linkclick{ font-size: 22px; opacity: 1; }
  .card-work ul li{ font-size: 16px; }

}
@media (max-width: 991px) {

  .card-work a{ padding: 10px; }
  .card-work .title,
  .card-work p.linkclick{ font-size: 16px; }
  .card-work ul li{ font-size: 14px; }
  .card-work ul{ margin-left: 15px; }

}
@media (max-width: 767px) {

  .work-list{ flex-direction: column; }
  .card-work{ max-width: 375px; margin-left: auto; margin-right: auto; margin-bottom: 80px; }
  .card-work:last-child{ margin-bottom: 0; }

}


.card-work .work-img{ position: relative; }
.card-work .work-img img{  transition: opacity 0.4s ease; }
.card-work .img-hover,
.card-work .text-hover{ display: none; }
.card-work:hover .img-default,
.card-work:hover .text-default{ display: none; }
.card-work:hover .img-hover,
.card-work:hover .text-hover{ display: block; }

.card-work:hover a{ background-color: var(--primary2); background-image: url('../images/work/bg2.jpg'); background-repeat: no-repeat; background-position: 50% 65%; background-size: cover; }
.card-work:hover .title{ color: var(--black); }
.card-work:hover .linkclick{ display: none; }
.card-work:hover ul{ margin-top: 30px; }
.card-work:hover ul li,
.card-work:hover ul li::marker{ color: var(--white); }

@media (max-width: 1919px) {

  .card-work:hover a{ background-position: 50% 105%; }

}
@media (max-width: 1199px) {

  .card-work:hover a{ background-position: 50% 140%; }

}
@media (max-width: 991px) {

  .card-work:hover a{ background-position: 50% 50%; background-image: url('../images/work/bg3.jpg'); }

}
@media (max-width: 767px) {

  .card-work:hover a{ background-position: 50% 50%; background-image: url('../images/work/bg2.jpg'); }

}

/**********************************************************/
/**********************************************************/

.s5-title{ display: flex; align-items: center; justify-content: flex-end; position: relative; margin-top: -250px; }
.s5-left{ padding-top: 150px; }
.s5-left .divtitle h2{ text-align: left; margin: 0; }
.s5-right{ position: relative; right: -50px; }
.s5-right img{ max-width: 100%; height: auto; }

@media (max-width: 1599px) {

  .s5-title{ margin-top: -200px; }
  .s5-right{ width: 500px; right: -30px; }

}
@media (max-width: 1399px) {

  .s5-right{ right: 0; }

}
@media (max-width: 1199px) {

  .s5-title{ margin-top: -160px; }
  .s5-right{ width: 360px; }

}
@media (max-width: 991px) {

  .s5-title{ margin-top: -150px; flex-direction: column-reverse; }
  .s5-right{ width: 260px; }
  .s5-left{ padding: 20px; }

}


/*  */
.case--slide{ margin-bottom: 50px; }
.card-case{ background-color: #8c8c8c; border: 5px solid #8c8c8c; border-radius: 30px; text-align: center; overflow: hidden; background-color: #fff; }
.card-case .card-case-header{ font-size: 50px; line-height: 1.2; color: var(--white); padding: 10px 10px 20px; background-color: #8c8c8c; }
.card-case .card-case-header span{ display: block; font-size: 32px; }
.card-case .card-case-detail{ font-size: 36px; line-height: 1.4; background-color: var(--white); padding: 20px; }


.case--slide .owl-carousel .owl-item {
  transition: all 0.3s ease;
  /* transform: scale(0.85); */
}
.case--slide .owl-carousel .owl-item.center .card-case{
  /* transform: scale(1.1); opacity: 1;  */
   border-color: var(--primary2);
}
.case--slide .owl-carousel .owl-item.center .card-case .card-case-header{ background-color: var(--primary2); }

.case--slide .owl-carousel .owl-nav{ top: 50%; }
.case--slide .owl-carousel .owl-nav button.owl-prev{ left: 30%; }
.case--slide .owl-carousel .owl-nav button.owl-next{ right: 30%; }
.case--slide .owl-theme .owl-nav.disabled + .owl-dots{ margin-top: 10px; }

/* บังคับให้โครงสร้างหลักของสไลด์ขยายสูงเท่ากันตามแนวตั้ง */
.case--slide .owl-carousel .owl-stage {
    display: flex !important;
}

/* บังคับให้ตัว item ของสไลด์มีความสูงเต็ม 100% เท่ากันทุกบล็อก */
.case--slide .owl-carousel .owl-item {
    display: flex;
    flex-direction: column;
}

/* ถ้าคุณครอบคอนเทนต์ด้านในด้วยคลาส (เช่น .item หรือ .card) ให้มันสูงเต็ม 100% ด้วย */
.case--slide .owl-carousel .owl-item .item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case--slide .owl-carousel .owl-item .item .card-case {
    height: 100%;
    display: flex;
    flex-direction: column;
}


@media (max-width: 1599px) {

  .card-case .card-case-header span{ font-size: 28px; }
  .card-case .card-case-detail{ font-size: 26px; }

}
@media (max-width: 1199px) {

  .card-case .card-case-header{ font-size: 40px;  }
  .card-case .card-case-header span{ font-size: 24px; }
  .card-case .card-case-detail{ font-size: 22px; }

}
@media (max-width: 991px) {

  .card-case .card-case-header{ font-size: 36px;  }
  .card-case .card-case-header span{ font-size: 20px; }
  .card-case .card-case-detail{ font-size: 18px; }
  

}



/*  */
.kintoneai-list{ display: flex; gap: 40px; }
.card-ai{ background-color: var(--primary2); border-radius: 40px; padding: 40px; text-align: center; color: var(--white); width: 20%; }
.card-ai-icon{ width: 160px; margin: 0 auto 20px; }
.card-ai-icon img{ max-width: 100%; height: auto; }
.card-ai h3{ font-size: 35px; line-height: 1; margin-bottom: 15px; }
.card-ai p{ font-size: 20px; line-height: 1.4; }

@media (max-width: 1599px) {

  .kintoneai-list{ gap: 20px; }
  .card-ai{ padding: 30px; }
  .card-ai-icon{ width: 120px; }
  .card-ai h3{ font-size: 30px; }
  .card-ai p{ font-size: 18px; }

}
@media (max-width: 1199px) {

  .card-ai{ padding: 20px; border-radius: 30px; }
  .card-ai-icon{ width: 80px; }
  .card-ai h3{ font-size: 22px; }
  .card-ai p{ font-size: 16px; }

}
@media (max-width: 991px) {

  .kintoneai-list{ flex-flow: row wrap; justify-content: center; }
  .card-ai{ width: 180px; }

}
@media (max-width: 576px) {

  .card-ai{ width: calc(50% - 10px); }

}



/**********************************************************/
/**********************************************************/

.s6-card{ background-color: var(--white); border-radius: 40px; box-shadow: 5px 7px 13px 0px rgba(0, 0, 0, 0.24); overflow: hidden; height: 100%; }
.s6-detail{ padding: 30px; }
.s6-detail h3{ font-size: 30px; line-height: 1.3; font-weight: 500; margin-bottom: 5px; }
.s6-detail p{ font-size: 24px; line-height: 1.4; font-weight: 300; }


@media (max-width: 1999px) {

  .s6-detail h3{ font-size: 28px; }
  .s6-detail p{ font-size: 22px; }

}
@media (max-width: 1599px) {

  .s6-detail h3{ font-size: 24px; }
  .s6-detail p{ font-size: 20px; }

}
@media (max-width: 767px) {

  .s6-detail{ padding: 20px; }

}


.support--slide .owl-carousel .owl-stage {
    display: flex;
}
.support--slide .owl-carousel .owl-item {
    display: flex;
    flex-direction: column;
}
.support--slide .owl-carousel .owl-item > div {
    flex: 1;
    width: 100%; 
}



/**********************************************************/
/**********************************************************/

.logo-partnership{ margin: 50px 0 70px; }
.logo-partnership ul{ display: flex; justify-content: center; flex-wrap: wrap; }
.logo-partnership ul li img{ width: 260px; }


@media (max-width: 1999px) {

  .logo-partnership ul li img{ width: 240px; }

}
@media (max-width: 1599px) {

  .logo-partnership ul li img{ width: 220px; }

}
@media (max-width: 1399px) {

  .logo-partnership ul li img{ width: 195px; }

}
@media (max-width: 1199px) {

  .logo-partnership ul li img{ width: 150px; }

}
@media (max-width: 991px) {

  .div--partnership{ border-radius: 0; }
  .logo-partnership{ margin: 30px 0 50px; }
  .logo-partnership ul li img{ width: 115px; }

}
@media (max-width: 767px) {

  .logo-partnership{ margin: 30px 0; }
  .logo-partnership ul li img{ width: 110px; }

}



/**********************************************************/
/**********************************************************/

.s7-whylist{ display: flex; justify-content: space-between; }
.s7-whylist .card-why{ width: 31%; background-color: var(--primary); border-radius: 28px; position: relative; box-shadow: 5px 7px 13px 0px rgba(0, 0, 0, 0.24); display: flex; align-items: center; }
.card-why-no{ font-size: 242px; font-weight: 600; color: var(--white); -webkit-text-stroke: 4px var(--primary); position: absolute; left: -20px; top: 50%; transform: translateY(-50%); }
.s7-whylist .card-why:first-child .card-why-no{ left: 0; }
.card-why-detail{ font-size: 35px; line-height: 1.4; color: var(--white); padding: 20px 30px 20px 115px; }


@media (max-width: 1919px) {

  .card-why-no{ font-size: 200px; }
  .card-why-detail{ font-size: 28px; }

}
@media (max-width: 1599px) {

  .card-why-no{ font-size: 160px; }
  .card-why-detail{ font-size: 22px; padding: 20px 30px 20px 80px; }

}
@media (max-width: 1199px) {

  .card-why-detail{ padding: 20px 20px 20px 60px; }
  .card-why-no{ font-size: 140px; }
  .card-why-detail{ font-size: 18px; }

}
@media (max-width: 991px) {

  .s7-whylist{ flex-flow: row wrap; gap: 20px; max-width: 420px; width: 90%; margin: 0 auto; }
  .s7-whylist .card-why{ width: 100%; border-radius: 20px; }
  .card-why-no{ font-size: 100px; left: -10px; -webkit-text-stroke: 2px var(--primary);  }

}
@media (max-width: 576px) {

  .card-why-no{ font-size: 80px; }
  .card-why-detail{ font-size: 16px; padding: 20px 15px 20px 50px; }

}

/*  */
.img-table{ margin-top: 80px; text-align: center; margin-bottom: 30px; }
.img-table img{ width: 100%; }


.s7-title{ display: flex; align-items: center; gap: 20px; margin-bottom: 50px; }
.s7title-img{ width: 360px; margin-top: -90px; }
.s7title .title{ font-size: 110px; color: var(--primary2); font-weight: 500; }
.s7title .text{ font-size: 80px; font-weight: 500; }

.step-list{ display: flex; justify-content: space-between; align-items: flex-start; }
.card-step{ display: flex; flex-direction: column; justify-content: center; width: 28%; text-align: center; position: relative; }
.card-step::after{ content: ''; position: absolute; top: 90px; right: -70px; background-image: url('../images/arrow/arrow-right.png'); background-repeat: no-repeat; background-position: center; background-size: cover; width: 46px; height: 74px; }
.card-step:last-child::after{ display: none; }
.card-step .step-no{ font-size: 50px; font-weight: 500; margin-bottom: 15px; }
.step-title{ display: flex; margin-bottom: 10px; gap: 10px; align-items: center; }
.step-title .title{ font-size: 36px; line-height: 1.2; color: var(--primary2); width: calc(100% - 100px); }
.step-title-detail{ font-size: 26px; line-height: 1.4; }

.step-title-icon img{ width: 100px; }
  .card-step .step-no, .step-title-detail{ padding-left: 110px; }

@media (max-width: 1919px) {

  .step-title .title{ font-size: 34px; color: var(--primary2); }
  .step-title-detail{ font-size: 22px; }

}
@media (max-width: 1599px) {

 .s7title-img{ width: 300px; }
.s7title .title{ font-size: 90px; }
.s7title .text{ font-size: 70px; }

  .step-title .title{ font-size: 28px; color: var(--primary2); }
  .step-title-detail{ font-size: 20px; }

}
@media (max-width: 1399px) {

  .step-title-icon img{ width: 80px; }
  .step-title .title{ width: calc(100% - 80px); font-size: 26px; }
  .card-step .step-no, .step-title-detail{ padding-left: 90px; }

}
@media (max-width: 1199px) {

 .s7title-img{ width: 260px; }
.s7title .title{ font-size: 80px; }
.s7title .text{ font-size: 60px; }

  .step-title-icon img{ width: 60px; }
.card-step .step-no{ font-size: 40px; }
  .step-title .title{ font-size: 20px; width: calc(100% - 60px); }
  .step-title-detail{ font-size: 18px; }
  .card-step .step-no, .step-title-detail{ padding-left: 70px; }

  .card-step::after{ width: 35px; height: 56px; right: -60px; }

}
@media (max-width: 991px) {

 .s7title-img{ width: 200px; margin-top: -70px; }
.s7title .title{ font-size: 50px; }
.s7title .text{ font-size: 40px; }

  .step-title-icon img{ width: 40px; }
.card-step .step-no{ font-size: 30px; }
  .step-title .title{ font-size: 18px; width: calc(100% - 40px);  }
  .step-title-detail{ font-size: 14px; }
  .card-step .step-no, .step-title-detail{ padding-left: 50px; }

  .card-step::after{ width: 25px; height: 40px; right: -40px; }

}
@media (max-width: 767px) {

  .s7-title{ flex-direction: column;}
 .s7title-img{ width: 190px; margin-top: -70px; }
.s7title .title{ font-size:40px; }
.s7title .text{ font-size: 30px; }

.step-list{ flex-direction: column; gap: 20px; }
.card-step{ width: 90%; margin: 0 auto; text-align: left; }

  .step-title-icon img{ width: 50px; }
.card-step .step-no{ font-size: 30px; text-align: center; }
  .step-title .title{ font-size: 20px;  }
  .step-title-detail{ font-size: 14px; }
  .card-step .step-no, .step-title-detail{ padding-left: 60px; }

  .card-step::after{ display: none; }

}


/**********************************************************/
/**********************************************************/

/* .s8-price{ margin-bottom: 80px; } */
.s8-price .detail{ font-size: 34px; line-height: 1.4; width: 90%; margin: 0 auto; text-align: center; }
.divtitle-price h2{ font-size: 90px; line-height: 1.3; font-weight: 500; color: var(--primary2); text-align: center; margin-bottom: 30px; }
.divtitle-price h2 span{ display: block; margin-top: 25px;}

.discount-list{ display: flex; gap: 20px; max-width: 1200px; margin: 0 auto; }
.card-discount{ background-color: var(--white); border: 10px solid var(--primary2); border-radius: 30px; width: calc(50% - 10px); padding: 50px; }
.card-discount .title{ font-size: 80px; text-align: center; margin-bottom: 20px; }
.boxprice{ display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.boxprice .price{ font-size: 136px; font-weight: 600; color: var(--primary2); }
.boxprice .disprice{ font-size: 30px; color: var(--primary2); }
.boxprice .disprice span{ font-size: 65px; font-weight: 500; color: var(--black); position: relative; display: block; }
.boxprice .disprice span::after{ content: ''; position: absolute; width: 110px; height: 5px; background-color: var(--primary2); transform: rotate(160deg); top: 50%; left: 0; }
.card-discount ul{ list-style: disc; margin-left: 20px; }
.card-discount ul li{ font-size: 30px; line-height: 1.5; }
.card-discount ul li.point{ color: var(--primary2); text-underline-offset: 7px; font-weight: bold; }

.price-ps{ max-width: 1075px; margin: 50px auto 0; }
.price-ps .text{ font-size: 30px; line-height: 1.5; font-weight: 600; text-align: center; margin-bottom: 30px; }
.price-ps .detail,
.price-ps ul li{ font-size: 30px; line-height: 1.5; }
.price-ps ul{ list-style: disc; margin-left: 20px; margin-bottom: 20px; }


@media (max-width: 1599px) {

  .divtitle-price h2{ font-size: 80px;}

  .s8-price .detail{ font-size: 30px; }
  .card-discount .title{ font-size: 70px; }
  .card-discount ul li, .price-ps .detail,
  .price-ps .text, .price-ps ul li{ font-size: 26px; }

}
@media (max-width: 1199px) {

  .divtitle-price h2{ font-size: 60px;}

  .s8-price .detail{ font-size: 26px; }
  .card-discount .title{ font-size: 60px; }
  .boxprice .price{ font-size: 100px; }
  .boxprice .disprice{ font-size: 24px; }
  .boxprice .disprice span{ font-size: 54px; }
  .boxprice .disprice span::after{ width: 95px; }
  .card-discount ul li, .price-ps .detail,
  .price-ps .text, .price-ps ul li{ font-size: 22px; }

}
@media (max-width: 991px) {

  /* .s8-price{ margin-bottom: 50px; } */
  .divtitle-price h2{ font-size: 40px;}
  .divtitle-price h2 span{ margin-top: 10px; }
  .s8-price .detail{ font-size: 20px; }

  .card-discount{ padding: 30px; border-width: 5px; }
  .card-discount .title{ font-size: 40px; }
  .boxprice .price{ font-size: 90px; }
  .boxprice .disprice{ font-size: 16px; }
  .boxprice .disprice span{ font-size: 50px; }
  .boxprice .disprice span::after{ width: 90px; }
  .card-discount ul li, .price-ps .detail,
  .price-ps .text, .price-ps ul li{ font-size: 18px; }

}
@media (max-width: 767px) {

  .divtitle-price h2{ font-size: 34px; margin-bottom: 20px; }
  .s8-price .detail{ font-size: 18px; }

  .discount-list{ flex-direction: column; }
  .card-discount{ width: 100%; }

}


/**********************************************************/
/**********************************************************/

.div-freetri{ background-image: url('../images/bg/bg9-2.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover; border-radius: 68px; box-shadow: 5px 7px 13px 0px rgba(0, 0, 0, 0.24); display: flex; }
.s9-left{ width: 50%; position: relative; }
.s9-detail{ width: 50%; padding: 50px 0; }
.s9-detail .title{ font-size: 78px; line-height: 1.4; font-weight: 500; color: var(--primary2); margin-bottom: 30px; }
.s9-detail .boxbtn{ display: flex; flex-direction: column; gap: 30px; max-width: 650px; margin-left: 40px; }
.s9-detail .boxbtn .btn{ font-size: 60px; font-weight: 500; border-radius: 36px; padding: 25px; box-shadow: 5px 7px 13px 0px rgba(0, 0, 0, 0.24); }
.s9-detail .boxbtn .btn-freetri{ color: #ffeded; background-color: var(--primary); border: 1px solid var(--primary); }
.s9-detail .boxbtn .btn-freetri:hover{ background-color: var(--white); color: var(--primary); border-color: var(--primary); }

.s9-img{ position: absolute; bottom: -2px; }


@media (max-width: 1919px) {

  .s9-detail .title{ font-size: 66px; }
  .s9-detail .boxbtn{ max-width: 500px; }
  .s9-detail .boxbtn .btn{ font-size: 40px; border-radius: 30px; padding: 20px; }

}
@media (max-width: 1599px) {

  .s9-detail .title{ font-size: 58px; }

}
@media (max-width: 1199px) {

  .div-freetri{ border-radius: 50px; }
  .s9-detail .title{ font-size: 38px; }
  .s9-detail .boxbtn{ margin-left: 0; width: 90%; }
  .s9-detail .boxbtn .btn{ font-size: 30px; border-radius: 25px; }

}
@media (max-width: 991px) {

  .div-freetri{ flex-direction: column-reverse; border-radius: 40px; }
  .s9-img{ position: relative; max-width: 380px; margin: 0 auto; }
  .s9-left, .s9-detail{ width: 100%; }
  .s9-detail .title{ text-align: center; }
  .s9-detail .boxbtn{ margin: 0 auto; }

}
@media (max-width: 576px) {

  .div-freetri{ border-radius: 30px; }
  .s9-detail{ padding-bottom: 20px; }
  .s9-detail .title{ font-size: 30px; }
  .s9-detail .boxbtn{ max-width: 300px; gap: 15px; }
  .s9-detail .boxbtn .btn{ font-size: 20px; border-radius: 20px; padding: 15px; }

}



/**********************************************************/
/**********************************************************/

.responsive-table-wrapper{ margin-top: 80px; margin-bottom: 30px; }

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  min-width: 850px;
}
.comparison-table thead th:not(.highlight-col) {
  background-color: #90949c !important;
  font-weight: 400; font-size: 28px;
  padding: 30px 20px;
}
.comparison-table th.highlight-col {
  background-color: #e64a19 !important;
  font-size: 38px;
  font-weight: 500;
  padding: 30px 20px;
}

.comparison-table th,
.comparison-table td{ border-right: 1px solid #808080; }
.comparison-table th:last-child,
.comparison-table td:last-child{ border-right: 0; }

.comparison-table td{ font-size: 18px; font-weight: 400; color: #707070; padding: 20px; }
.comparison-table tbody tr:nth-child(even) td {
  background-color: #f1f1f1;
}

.comparison-table td.highlight-col {
  background-color: #ffdbd6;
  color: #000;
}
.comparison-table tbody tr:nth-child(even) td.highlight-col  {
  background-color: #ffe8e5;
}
.comparison-table .feature-title {
  font-weight: 500;
  background-color: #fff;
}

.badge-icon { line-height: 0; }
.badge-green { color: #4caf50; }
.badge-circle { color: #757575; }
.badge-triangle { color: #757575; }
.badge-cross { color: #ef5350; font-weight: bold; }
.badge-dash { color: #757575; font-weight: bold; }

.comparison-table tbody td .detail{ display: flex; align-items: center; gap: 5px; }

@media (max-width: 1599px) {

  .comparison-table thead th:not(.highlight-col){ font-size: 24px; }
  .comparison-table th.highlight-col{ font-size: 30px; }

  .badge-icon img{ width: 20px; }

}
@media (max-width: 991px) {

  .comparison-table thead th:not(.highlight-col){ font-size: 20px; padding: 25px 20px; }
  .comparison-table th.highlight-col{ font-size: 28px; padding: 25px 20px; }
  .comparison-table td{ font-size: 16px; }
  .badge-icon{ font-size: 16px; }

}
@media (max-width: 767px) {

  .comparison-table td{ font-size: 14px; }
  .badge-icon{ font-size: 14px; }

}

@media screen and (max-width: 767.98px) {
  .sticky-col {
    position: sticky !important;
    z-index: 2;
  }
  .first-col {
    left: 0;
    background-color: #ffffff !important;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
  }
  th.first-col {
    background-color: #a1a1a1 !important;
  }
  .second-col {
    left: 220px; 
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
  }
  
  .comparison-table th.first-col,
  .comparison-table td.first-col {
    min-width: 220px;
    max-width: 220px;
  }
  thead th.sticky-col {
    z-index: 3;
  }
}


.border-kintone{ border-color: #808080 !important; }


/**********************************************************/
/**********************************************************/

.value-prop{
  display:inline!important; ;
  font-size: inherit!important; ;
}


/**********************************************************/
/**********************************************************/
