@charset "utf-8";
body {
	background-image: url("../Images_html5/BG02.png");
	background-repeat: no-repeat;
	margin-left: 0px;
	margin-top: 0px;
	background-attachment: fixed;
	background-color: #FFF;
	background-size: 100%;
}

@font-face {
	src: url("../font_Lib/Noto_Sans_Thai/NotoSansThai-VariableFont_wdth,wght.ttf");
	font-family: 'Noto Sans Thai', sans-serif;
	/*font-family: 'Roboto', sans-serif;*/
	/*font-family: 'Inter', sans-serif;*/
}

.font-head{
	font-family: "Noto Sans Thai", "sans-serif";
	color: #0099FF;
	/*text-shadow:.5px .5px 3px #666666;*/
	font-size: 30px;
	font-weight: 900;
	text-align: justify; /* For Edge */
  	-moz-text-align-last: justify; /* For Firefox prior 58.0 */
    text-align-last: justify;
	float: left;
  	padding: 10px;
 	width: auto;
  	background-color: #f1f1f1;
	opacity: .6;
	/*background-attachment: fixed;*/
  	height: auto;
}

.font-content{
	font-family: "Noto Sans Thai", "sans-serif";
	font-size: 15px;
	text-align: justify; /* For Edge */
  	-moz-text-align-last: justify; /* For Firefox prior 58.0 */
    text-align-last: justify;
	float: left;
  	padding: 10px;
 	width: auto;
  	background-color: #f1f1f1;
	opacity: .6;
	/*background-attachment: fixed;*/
  	height: auto;
}

.font-content-left{
	font-family: "Noto Sans Thai", "sans-serif";
	font-size: 15px;
	text-align: left; /* For Edge */
  	-moz-text-align-last: left; /* For Firefox prior 58.0 */
    text-align-last:left;
	float: left;
  	padding: 10px;
 	width: auto;
  	background-color: #f1f1f1;
	opacity: .6;
	/*background-attachment: fixed;*/
  	height: auto;
}

.font-menu-head{
	font-family: "Noto Sans Thai", "sans-serif";
	color: #FFFFFF;
	font-size: 20px;
	text-align: left; /* For Edge */
  	-moz-text-align-last: left; /* For Firefox prior 58.0 */
    text-align-last: left;
	float: left;
  	padding: 3px;
 	width: auto;
  	height: auto;
}

.font-menu-text{
	font-family: "Noto Sans Thai", "sans-serif";
	color: #FFFFFF;
	font-size: 15px;
	text-align:left; /* For Edge */
  	-moz-text-align-last: left; /* For Firefox prior 58.0 */
    text-align-last: left;
	float: left;
  	padding: 3px;
 	width: auto;
  	height: auto;
}

#imgSlide{
	margin-left: auto;
    margin-right: auto;
	width: 975px;
	height: 400px;
	background-image: url( "../Images_html5/Slide_Index/Accord.png");
	background-size: auto;
	/*box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;*/
	/*border: 3px solid #0099FF;*/
    /*border-radius: 20px;*/
    /*padding: 5px;*/
	animation: changeImage 40s linear infinite ;
}
@keyframes changeImage{
	
	0%{
		background-image:url("../Images_html5/Slide_Index/Accord.png")	
	}
	15%{
		background-image:url("../Images_html5/Slide_Index/Ford.png")	
	}
	30%{
		background-image:url( "../Images_html5/Slide_Index/honda.png")	
	}
	45%{
		background-image:url( "../Images_html5/Slide_Index/hybrid.png")	
	}
	60%{
		background-image:url( "../Images_html5/Slide_Index/Lancer.png")	
	}
	80%{
		background-image:url( "../Images_html5/Slide_Index/march.png")	
	}
	100%{
		background-image:url( "../Images_html5/Slide_Index/masda-cx.png")	
	}
}

.fram-wrap {
        width:190px;
        height: 530px;
        padding: 0;
        overflow:hidden;
        }

#scaled-frame {
    width: 320px;
    height: 840px;
    border: 0px
      }

#scaled-frame {
		zoom:0.6;
		-moz-transform: scale(0.6);
        -moz-transform-origin: 0 0;
        -o-transform: scale(0.6);
        -o-transform-origin:0 0;
        -webkit-transform-origin:0 0;
	    -webkit-transform: scale(0.6);
      }
@media screen and (-webkit-min-device-pixel-ratio:0) {
#scaled-frame {
          zoom:1;
        }
}

.button-container {
	position:absolute;
/*	left: 950px;
	top: 988px;
	width: 117px;*/
    /*top: 10%;*/
      }
.button-contactus {
        border: none;
        display: block;
        text-align: center;
        cursor: pointer;
        text-transform: uppercase;
        outline: none;
        overflow: hidden;
        position: relative;
        color: #ffffff;
        font-weight: 600;
        font-size: 15px;
        background-color: #666666;
        padding: 10px 35px;
        margin: 0 auto;
      }
.button-contactus span {
        position: relative;
        z-index: 1;
      }
.button-contactus:after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 470%;
        width: 140%;
        background: #0015FF;
        -webkit-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
        -webkit-transform: translateX(-100%) translateY(-25%) rotate(45deg);
        transform: translateX(-100%) translateY(-25%) rotate(45deg);
      }
.button-contactus:hover:after {
        -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
        transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
