@charset "utf-8";

@media screen and (max-width: 786px) {
  .txt-index:before {
   
    top: 8px;
    left: -2px;
     
    font-size: 44px;
    
}
.footer {
	padding: 0 0 20px 0
}
ul.icon-index li {
    width: 30%;
    margin: 0 1%;
}
.line {
	border-right: 0;
	border-bottom: 0;
	margin-bottom: 40px;
}
ul.icon-index li .box-icon-w img {
	width: 80%;
}
ul.icon-index li .box-icon-w {
	padding: 20px 20px;
}
ul.icon-index li p {
    /* font-size: 24px; */
    margin: 10px 0 22px 0;
    font-size: 1rem;
}
h4.txt-opt {
    font-family: 'THSARABUN BOLD';
    text-align: center;
    font-size: 2rem;
}
.txt-index {
	margin-bottom: 30px;
}

.step {
   
    height: 35px;
    width: 100%;
    margin-left: 0;
   
}
.step.one:before, .step.two:before,.step.four:before,.step.first:before  {
	 
	height: 34px;
	 
}
 
 

.logo {
	width: 60px;
}
#header {
	height: 78px
}
/*.header-fixed {
	position: relative;
	background: #fff
}*/
.menu ul {
    position: absolute;
    background: #fff;
    width: 100%;
    top: 77px;
    color: #555;
    left: 0;
    padding: 20px 0;
    z-index: 9;
    display: none;

}
.menu ul li {
	display: block;
 
	text-align: center;
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;

}
.menu ul li:last-child {
	border-bottom: 0;
}
.menu ul li a {
	color: #000;

}
.icon-menu {
	display: inline-block;
	font-size: 1.6rem;
	padding: 2px 15px;
	border:1px solid #ccc;
	border-radius: 4px;
	width: auto;
}
.menu {
	    padding: 0 0 0 0;
	    
}
.pad-content {
	padding: 10% 0 0 0;
}
.txt-header {
	margin-left: 0; 
	text-align: center;
	width: 100%;
}
.pad-content-inner {
	padding: 7% 0
}
.box-form-inner h3 {
	text-align: center;
	font-size: 1.6rem
}

.icon-polygon {
	margin: 40px 0;
}
.icon-polygon  img {
	 transform: rotate(90deg);
}
.txt-link {
	/*display: block;
	width: 40%;
	text-align: center;*/
	/*background:#001164;
	margin: 10px auto;
	color: #fff !important;
	padding: 10px 0;
	border-radius: 12px;*/

}
.box-btn {
	text-align: center;
}
.box-btn .btn-next {
	margin-left: 0;

}
.menu {
	width: 70%;
}
.card-bank {
	padding: 4%;
	font-size: 1rem
}
.card-bank img {
	width: 10%;
	margin:0 auto 10px auto;
	display: block;
}
.icon-next {
	bottom: -28px;
	top: unset;
	width: 100%;
	text-align: center;
	left: 0;
}
.icon-next img {
	width: 12%;
	 transform: rotate(90deg);
}


.cookie {
	font-size: 0.8rem
}
.box-txt {
	width: 100%;
	padding-top: 80px;
	padding-left: 0;
}
.box-txt h1 {
    padding: 0 0 0 0;
    font-size: 2.2rem;
}
.bg-cover h1 span {
	font-size: 1.6rem
}
.box-txt h2 {
	padding: 0;
}
.br-m {
	display: block;
}
.bg-cover img {
	margin: 10px auto;
	display: block;
	width: 100%;
}
.txtbox, select {
	padding: 18px 0;
	font-size: 1.65rem
}

::-webkit-input-placeholder { /* Edge */
  color: #000;
   font-size: 1.65rem
	line-height: 2.5rem;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
   font-size: 1.65rem
	line-height: 2.5rem;
}

::placeholder {
  color: #000;
  font-size: 1.65rem
	line-height: 2.5rem;
}


.btn-otp {
	font-size: 1.25rem
}
.box-icon-inner {
    width: 90%;
    margin: 0 auto;
}
.box-content-form {
	min-height: unset;
}
select {
	height: unset;
}
#bgindex {
	background: #FBFBFB
}
.msg {
	display: block;
	margin-bottom: 20px;
}
.box-btn-banner {
	padding: 10px 0 0 0px;
}
.btn-banner {
	width: 100%;
	text-align: center;
}
.btn-banner > a {
	width: 100%;
	padding: 10px 0;
	margin-top: 5px;
	font-size: 1rem

}

}


@media screen and (max-width: 375px) {
.btn-next {
	    padding: 7px 20px;
    color: #fff;
    font-size: 1rem;
}
/*.txtbox {
	font-size: 1rem
}*/
.h2, h2 {
    font-size: 1.75rem;
}
.txt-index:before {
    top: 8px;
    left: -2px;
    font-size: 39px;
}
.box-txt h1 {
    padding: 0 0 0 0;
    font-size: 2rem;
}

.bg-cover h1 span {
    
    font-size: 1.35rem;
     
}
h4.txt-opt {
  
    font-size: 1.5rem;
}
.txtbox ,select{
	padding: 16px 0;
	font-size: 1.25rem
}


::-webkit-input-placeholder { /* Edge */
  color: #000;
   font-size: 1.25rem
	line-height: 2rem;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
  font-size: 1.25rem
	line-height: 2rem;
}

::placeholder {
  color: #000;
font-size: 1.25rem
	line-height: 2rem;
}


}


@media screen and (max-width: 320px) {
	.box-txt h1 {
    padding: 0 0 0 0;
    font-size: 1.6rem;
}
.bg-cover h1 span {
    font-size: 1.15rem;
}
.box-txt h2 {
    padding: 0 0 0 0;
    font-size: 1rem;


}
ul.icon-index li p {
    /* font-size: 24px; */
    
    font-size: 0.75rem;
}

}









