/* ----------------------------------------------------------------
    TEMPLATE FONTS
-----------------------------------------------------------------*/
@import url(https://fonts.googleapis.com/css?family=Merriweather:300,300i);
@font-face {
    font-family: 'kanitmedium';
    src: url('../fonts/kanit-medium-webfont.woff2') format('woff2'),
         url('../fonts/kanit-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;}
@font-face {
    font-family: 'kanitregular';
    src: url('../fonts/kanit-regular-webfont.woff2') format('woff2'),
         url('../fonts/kanit-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;}
@font-face {
    font-family: 'kanitextralight';
    src: url('../fonts/kanit-extralight-webfont.woff2') format('woff2'),
         url('../fonts/kanit-extralight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;}
/* ----------------------------------------------------------------
    BODY
-----------------------------------------------------------------*/
body {padding: 0;margin:0; overflow-x: hidden;}
.img-responsive { margin: 0 auto;}
.center {margin:0 auto; text-align: center;}
.left {text-align: left;}

section.page--header {
	background-image: url(../images/bg-header.jpg);
    background-position:center;
    background-repeat:repeat-x;
    height: 627px;
    padding:40px 0;
    overflow: hidden;
    width: 100%;
    float: left;
}
section.page--header img{
	width: auto;
  text-align: center;
  margin:2% auto 0 auto;
}
section.page--header h1{
  font-family: "kanitmedium", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 60px;
  text-align: center;
  margin:2% auto 0 auto;
  color: #fff;
  line-height: 1.2;
  font-weight: normal;
}
section.page--header h2{
  font-family: "kanitregular", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 40px;
  text-align: center;
  margin:1% auto;
  color: #fff;
  line-height: 1.2;
  font-weight: normal;
}

/*box1*/
section.page--box1 {
    width: 100%;
    float: left;
    padding:40px 0;
    background:#fefefe;
}
section.page--box1 h1{
  font-family: "kanitmedium", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 40px;
  text-align: center;
  margin:1% auto;
  color: #000;
  line-height: 1.2;
  font-weight: normal;
}
section.page--box1 .borderB {
    width: 8%;
    height: 4px;
    background: #ffba00;
    margin: 1% auto 3% auto;
}
section.page--box1 p{
  font-family: "kanitregular", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 26px;
  text-align:left;
  padding:0;
  margin:2% auto;
  color:#484848;
  line-height: 1.6;
}
section.page--box1 p span {color:#ffba00;font-size: 40px;}
section.page--box1 ul {
  width: 100%;
  float: left;
  display: inline-block;
  margin:3% auto;
  padding:0;
}
section.page--box1 ul li {
  width: 50%;
  list-style: none;
  float:left;
  margin:0;
  padding:10px;  
}
section.page--box1 ul li img {
  width: auto;
  height: auto;
  margin:0 auto;
  text-align: center;
  border:3px #bdbdbd solid;
}
section.page--box1 .left {
  width: 100%;
  float: left;
}
section.page--box1 .left p{
  font-family: "kanitregular", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 26px;
  text-align:left;
  padding:0;
  margin:2% auto;
  color:#694713;
  line-height: 1.6;
}

/*box2*/
section.page--box2 {
  width: 100%;
  float: left;
  padding: 0;
  margin:0;
}
section.page--box2 ul {
  width: 100%;
  float: right;
  padding: 0;
  margin:0;
}
section.page--box2 ul li {
  width: 25%;
  float: left;
  margin:0;
  padding:0;
  list-style: none;
}
section.page--box2 ul li img {
  width: auto;
  text-align: center;
  margin:0 auto;
  border:6px #fff solid;
}
section.page--box2 ul li img.img1.sp {
  margin-top: -75%;
  display: inline-block;
}
section.page--box2 ul li img.img1.pc,
section.page--box2 ul li img.img2.pc {
  display: none;
}
section.page--box2 ul li img.img2.sp {
  margin-top: -75%;
  margin-left: 0;
  display: inline-block;
}
section.page--box2 ul li img.img3 {
  margin-top: -68%;
  margin-left: 0;
}
section.page--box2 ul.sp {display: none;}

/*footer*/
section.page--footer {
   background-image: url(../images/bg-footer.jpg);
    background-position:center;
    background-repeat:repeat-x;
    height: auto;
    padding:40px 0;
    overflow: hidden;
    width: 100%;
    float: left;
}
section.page--footer .boxL {
  width: 60%;
  float: left;
}
section.page--footer .boxR {
  width: 40%;
  float: left;
}
section.page--footer .boxL h1{
  font-family: "kanitextralight", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 28px;
  text-align: left;
  margin:2% 0 3% 0;
  color: #fff;
  padding:0;
  line-height: 1.2;
  font-weight: normal;
  text-transform: uppercase;
}
section.page--footer .boxL h2{
  font-family: "kanitextralight", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 22px;
  text-align: left;
  margin:2% 0;
  color: #fff;
  padding:0;
  line-height: 1.2;
  font-weight: normal;
  text-transform: uppercase;
}
section.page--footer .boxL h3{
  font-family: "kanitmedium", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 22px;
  text-align: left;
  margin:0;
  color: #fff;
  padding:0;
  line-height: 1.2;
  font-weight: normal;
  text-transform: uppercase;
}
section.page--footer .boxL h4{
  font-family: "kanitmedium", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 22px;
  text-align: left;
  margin:1% 0;
  color: #ffba00;
  padding:0;
  line-height: 1.2;
  font-weight: normal;
  text-transform: uppercase;
}
section.page--footer .boxL p{
  font-family: "kanitextralight", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 22px;
  text-align: left;
  margin:0 0 5% 0;
  color: #cbcbcb;
  padding:0;
  line-height: 1.2;
  font-weight: normal;
  text-transform: uppercase;
}

section.page--footer .boxR ul {
  width: 100%;
  margin:2% auto 0 auto;
  display:inline-block;
  justify-content: center;
  text-align: center;
}
section.page--footer .boxR h1{
  font-family: "kanitextralight", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 28px;
  text-align: left;
  margin:2% 0 3% 0;
  color: #fff;
  padding:0;
  line-height: 1.2;
  font-weight: normal;
  text-transform: uppercase;
}
section.page--footer .boxR h4{
  font-family: "kanitmedium", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 22px;
  text-align: left;
  margin:5% 0 0 0;
  color: #ffba00;
  padding:0;
  line-height: 1.2;
  font-weight: normal;
  text-transform: uppercase;
}
section.page--footer .boxR ul li {
  width: 100%;
  float: left;
  margin:1% 0;
  padding: 5px;
  list-style: none;
}
section.page--footer .boxR ul li p{
  font-family: "kanitextralight", "Open Sans", "Tahoma", "Arial", sans-serif;
  font-size: 20px;
  text-align: left;
  margin:0 auto;
  color: #fff;
  line-height: 1.2;
  font-weight: normal;
  padding-left: 15%;
}
section.page--footer .boxR ul li p a,
section.page--footer .boxR ul li p a:hover {color:#fff;text-decoration: none;}
section.page--footer .boxR ul li img {
  width: auto;
  float: left;
  margin-right: 2%;
}
@media (max-width: 1024px) {
  section.page--box2 ul li img.img2,
  section.page--box2 ul li img.img3 {margin-left: 0;}
}  
@media (max-width: 800px) {
  section.page--header {height: auto;}
  section.page--header h1 {margin-top:3%;}
  section.page--header h2 {font-size:30px;}
  section.page--footer .boxL,
  section.page--footer .boxR {width: 100%;}
  section.page--footer {background:#000;}
  section.page--footer .boxR ul {padding:0;}
}
@media (max-width: 600px) {
  section.page--header img {width: 30%;}
  section.page--header h1 {font-size:30px;}
  section.page--header h2 {font-size: 22px;}
  section.page--box1 h1 {font-size: 28px;}
  section.page--box1 .borderB {width: 18%;}
  section.page--box1 p {font-size: 16px;}
  section.page--box1 p span {font-size: 26px;}

  section.page--footer .boxL h1,
  section.page--footer .boxR h1 {font-size: 20px;text-align: center;}
  section.page--footer .boxL h2,
  section.page--footer .boxL h3,
  section.page--footer .boxL h4,
  section.page--footer .boxL p,
  section.page--footer .boxR ul li p,
  section.page--footer .boxR h4 {font-size: 16px; text-align: center;}
  section.page--footer .boxR ul li p {padding-left: 0;}
  section.page--footer .boxR ul li img {float: none;text-align: center;margin:0 auto;}
  section.page--footer {padding:20px 0;}
  section.page--box2 ul li {width: 50%;}
  section.page--box2 ul.sp {display: inline-block;}
  section.page--box2 ul li img.img1.sp,
  section.page--box2 ul li img.img2.sp {display: none;}
  section.page--box2 ul li img.img1.pc,
section.page--box2 ul li img.img2.pc { display: inline-block;}
}
@media (max-width: 360px) {
section.page--header h1 {font-size: 24px;}
}