body {
  color: #333;
  font-family: Anuphanst;
  font-size: 1.6em;
  font-weight: 300;
  /*
  font-size: 160%;
  font-weight: 400;
  */
  letter-spacing: 0;
  line-height: 1.2;
  padding: 7rem 0 0 0;
}

header {
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: PlayfairDisplayst;
  font-weight: 400;
  line-height: 1.05;
  /*
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: #000;
  */
}

h1:nth-of-type(1) {
 letter-spacing: -0.05em;
 line-height: .7 !important;
 padding-bottom: 2rem;
 border-bottom: 1px solid #CFCFD4;
}

h1:nth-of-type(1) > span{
 font-size: 50%;
 letter-spacing: 0;
 
}

.nav {
  width: 90%;
  margin: auto;
}
.logoetc {
  position: absolute;
  top: 0;
  left: 5%;

  padding: 0.7rem 0 0 0;
}
.logoetc img {
  height: 4.2rem;
}

.nav ul {
  display: flex;
  list-style-type: inside;
  margin: 0;
  padding: 0;
  overflow: hidden;
  float: right;
}

.nav ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.nav ul li a {
  color: #333;
  display: block;
  text-align: center;
  padding: 1.2rem 2.2rem 1.9rem 2.2rem;
  margin: 0;
  text-decoration: none;
  border-top: 0.7rem solid #ccc;
  transition: all 0.9s ease;
}

.nav ul li a:hover {
  color: #333;
  border-top: 0.7rem solid #25a31d;
}

.nav ul li a.curent {
  border-top: 0.7rem solid #25a31d;
}

/* ------- class ------- */

.mm {
  position: fixed;
  display: flex;
  top: -200%;
  left: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.7rem 5%;
  width: 100%;
  background: #f8f8f8;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.07);
  transition: all 0.9s ease;
  /*opacity: .97;*/
  z-index: 9998;
}

.mm div:first-child {
  display: block;
  flex: 0 0 75%;
  max-width: 75%;
  margin-left: 0;
  width: 100%;
}
.mm div:last-child {
  display: block;
  flex: 1 1 auto;
  margin-left: 0;
  max-width: 100%;
  width: 100%;
  text-align: right;
}
.mm div:first-child img {
  height: 4.2rem;
}

.mbutton {
  font-weight: 400;
  display: inline-block;
  color: #333;
  background-image: url("../images/menu_button.svg");
  background-repeat: no-repeat;
  background-position: right center;
  padding: 1.5rem 4.5rem 1.5rem 0;
  cursor: pointer;
  text-shadow: 1px 1px 0px #fff;
}

.bx1 {
  max-width: 100%;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  background: #f8f8f8;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.07);
  z-index: 9997;
}

.bx2 {
  max-width: 90%;
  padding: 0;
}



/* --------- body ------------- */

.bx3 {
  max-width: 90%;
  padding: 4rem 0 4rem 0;
}

/* ---------- footer ---------- */

.bx4 {
  max-width: 100%;
  background: #f8f8f8;
  color: #333;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #fff;
  padding: 4rem 0 2rem 0;
}

.bx5 {
  max-width: 90%;
  padding: 0;
}

.bx6 {
  max-width: 100%;
  padding: 2rem 0;
  background: #25a31d;
  border-top: 1px solid #fff;
}

.bx7 {
  max-width: 90%;
  padding: 0;
  color: #fff;
}

.bx7 p {
  margin: 0;
  padding: 0;
}

.bx5 h4 {
  display: inline-block;
  padding-bottom: 1rem;
  border-bottom: 1px solid #a0a0a4;
}

.bx1 .column:nth-of-type(2) {
  text-align: right;
}

.bx1 .column:nth-of-type(2) p {
  font-family: "Old Standard TT";
  letter-spacing: -0.07em;
  font-size: 220%;
  line-height: 0;
  margin: 2.5rem 0 0 0;
}

span.rv {
  font-family: Anuphanst;
  font-weight: 700;
  line-height: 1;
  font-size: 280%;
  display: inline-block;
  padding: 1.5rem 2.5rem 1.5rem;
  background: #25a31d;
  color: #fff;
  text-shadow: 1px 1px 0px #333;
  transform: rotate(-4deg);
  border-bottom: 0.7rem solid #fff;
  box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.35);
}

.bx7 p {
  text-shadow: 1px 1px 0px #333;
}

.bx5 .column:nth-of-type(2) strong {
  font-family: "Anuphanst";
  letter-spacing: -0.07em;
  font-size: 230%;
}

.bx5 .column:nth-of-type(3) h5 {
  margin: 0;
}

.img1 {
  width: 70%;
  border-radius: 48%;
  border: 0.7rem solid #fff;
  box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.3);
}


.totop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  line-height: 0;
  display: inline-block;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  border-radius: 12%;
  background: #fff;
  color: #25a31d;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.4));
  cursor: pointer;
  opacity: 0.8;
}

.totop:hover {
  opacity: 1;
}

@media (max-width: 60rem) {
  .bx1 {
    max-width: 100%;
    padding: 8rem 0 0 0;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .mm {
    top: 0;
  }

  .nav div:nth-of-type(1) {
    display: none;
  }

  .nav {
    position: fixed;
    top: -10%;
    left: -200%;
    background: #25a31d;
    /*height: 100vh;*/
    width: 100%;
    text-align: center;
    display: block;
    border-bottom: 0.7rem solid #fff;
    box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
  }
  .nav ul {
    /*display: block;*/
    flex-direction: column;
    float: none;
  }
  .nav ul li {
    display: block;
    margin: 0;
    padding: 0;
  }
  .nav ul li a,
  .nav ul li a:hover,
  .nav ul li a.curent {
    border-top: none;
    padding: 2.2rem 0;
    color: #fff;
    text-shadow: 1px 1px 0px #333;
  }
  .nav ul li a {
    border-bottom: 1px solid #2dc322;
    transition: all 0.3s ease;
  }
  .nav ul li:last-child a {
    border-bottom: 1px solid #fff;
  }
  .nav ul li a:hover,
  .nav ul li a.curent:hover {
    color: #333;
    background: #fff;
    text-shadow: none;
  }
  .nav ul li a.curent {
    background: #2bb921;
    color: #fff;
  }

  .totop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    line-height: 0;
    display: inline-block;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    border-radius: 12%;
    background: #fff;
    color: #25a31d;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.4));
    cursor: pointer;
    opacity: 0.8;
  }
}

p, li {
	line-height: 1.4;
}

.pm:before {
  content: "\006f\0066\0066\0069\0063\0065\0040\0063\0069\0073\0074\006f\0064\0061\0073\0065
\007a\006e\0061\002e\0063\006f\006d";
}

::selection {
    background: #25a31d;
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: #25a31d;
}

