.font-thin {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
}

.font-semibold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
}

.font-light {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
}

* {
  position: relative;
}

.breaker {
  clear: both;
  font-size: 1px;
  line-height: 1px;
  height: 1px;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  background-color: #FFFACD;
  font-family: "Titillium Web", sans-serif;
  font-weight: normal;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased !important;
}

.justify-text {
  text-align: justify;
}

.slide {
  background-position: center center;
  background-repeat: no-repeat;
  padding-bottom: 65px;
  padding-top: 50px;
  text-align: center;
}

#intro {
  background-image: url('../img/94.jpg');
  color: #000000;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  background-attachment: relative;
  background-position: center center;
  padding-bottom: 0;
  padding-top: 0;
}

#intro .container{
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  padding-bottom: 100px;
}

#intro h1 {
  padding-top: 180px;
  margin-top: 40px;
  padding-bottom: 30px;
}
#intro img{
  width:35%;
}
#intro h4{
  font-weight: 400;
  font-size: 32px;
}
#intro h6,#intro span{
  display: none;
}
@media (max-width: 1025px) {
  #intro {
    color: #000000;
    height: 500px;
  }
#intro img{
  width:55%;
  padding-top: 20px;
}
  #intro h1 {
    padding-top: 130px;
    padding-bottom: 10px;
  }
}
#home-row-1, #home-row-2 {
  padding-top: 25px;
}
#home-row-1 h1 {
  font-size: 54px;
}
#home-row-1 h4 {
  font-size: 32 px;
}
#home-row-1 h5 {
  font-size: 25px;
}

#home-row-2 .col-12 {
  height: 232px;
  padding-top: 30px;
}

#home-row-2 .col-12 .home-hover {
  height: 166px;
  overflow: hidden;
  padding-top: 26px;
  transition: all ease-in .5s;
}

#home-row-2 .col-12 .home-hover:hover {
  height: 166px;
  padding-top: 0;
}

@media (max-width: 767px) {
  #home-row-1, #home-row-2 {
    padding-top: 16px;
  }
  #home-row-1 h1 {
    font-size: 35px;
  }
  #home-row-1 h4 {
    font-size: 21px;
    margin-bottom: 15px;
  }
  #home-row-1 h5 {
    width: 80%;
    margin: auto;
    font-size: 18px;
    padding-bottom: 40px;
  }

  #intro  h4,h5{
    display: none;
  }
  #intro h6{
    font-size: 20px;
    padding-top: 10px;
    font-weight: bold;
    display: block;
    padding-bottom: 0px;
  }
}

@media (min-width: 767px) and (max-width: 997px){
  #intro h5{
    display: none;
  }
  #intro span{
    font-size: 25px;
    display: block;
  }
}

#about-us {
  background-color: #fffaf0;
  color: #696969;
  padding-top: 90px;
}
.title-row {
  font-size: 45px;
  padding-bottom: 50px;
}

.line-row .hr {
  background-color: #e4e6e5;
  height: 5px;
  margin: 0 auto;
  width: 50%;
}
.subtitle-row {
  width: 80%;
  margin: auto;
  font-size: 35px;
  padding-bottom: 40px;
  padding-top: 40px;
}
.content-row {
  padding-top: 45px;
}
.content-row i, #about-row-5 i {
  display: block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 90%;
  font-size: 48px;
}
#about-us .title-row-2{
  display: none;
}

#about-us .subtitle-row－2{
  display: none;
}

#about-us span{
  font-size: 30px;
}
#about-us .rules{
  width: 80%;
  margin: auto;
}

#about-us .rules h3{
  text-align: left;
  padding-left: 20px;
}

#about-us .rules p{
  font-size: 17px;
  text-align: left;
  padding-left: 40px;
}
#about-us h4{
  text-align: right;
}

@media (max-width: 768px) {
  .title-row {
    font-size: 25px;
    padding-bottom: 33px;
    margin: auto;
  }
  #about-us .subtitle-row {
    display: none;
  }
  #about-us .subtitle-row－2{
    display: block;
    padding-top: 10px;
    padding-bottom: 20px;
  }
  #about-us{
    padding-top: 60px;
  }
  #about-us .title-row{
    display: none;
  }
  #about-us .title-row-2{
    display: block;
    width: 100%;
    font-size: 24px;
    margin: auto;
  }
  #about-us span{
    font-size: 19px;
  }
  #about-us .rules{
    width: 87%;
  }
  #about-us .rules h3{
    text-align: left;
    font-size: 17px;
    padding-left: 20px;
  }
  #about-us .rules p{
    font-size: 14px;
    text-align: left;
    padding-left: 20px;
  }
  #about-us h4{
    font-size: 16px;
  }

}

#contact {
  background-color: #2f2f2f;
  color: #e4e6e5;
  padding-bottom: 10px;
  padding-top: 90px;
}

.telephone {
  padding-top: 40px;
  font-size: 25px;
  padding-left: 50px;
}
.access{
  font-size: 25px;
  margin: auto;
  padding-right: 50px;
}
.access p{
  padding-left: 60px;
}
.access iframe{
  padding-left: 80px;
}

@media (max-width: 767px) {
  #contact {
    padding-top: 50px;
    background-image: none;
  }
  #contact .font-light {
    font-size: 27px;
    margin: auto;
  }
  .access{
    font-size: 18px;
    margin-right: 0;
    padding: 0;
  }
  .access p{
  padding-left: 20px;
  font-size: 16px;
  padding-bottom: 10px;
  }
  .access iframe{
    width: 100%;
    height: 260px;
    padding-left: 0;
  }
.telephone{
    font-size: 18px;
    padding-left: 0px;
  }
}

@media (max-width: 991px) {
  #contact.telephone{
    font-size: 18px;
    padding: 0px;
    margin:auto;
  }
  }

#contact a {
  color: inherit;
  outline: none;
  text-decoration: none;
}

@media (max-width: 767px) {
  .with-hover-text {
    margin-bottom: 2em;
    margin-top: 1em;
  }
}

#contact-row-4 {
  padding-top: 50px;
}

#contact-row-4 .col-12 {
  height: 175px;
  overflow: hidden;
  padding-top: 20px;
  transition: all ease-in .5s;
}

#slide-7 {
  background-color: #e4e6e5;
  color: #4e4e4e;
  font-size: 35px;
  line-height: 50px;
  text-align: center;
}

#copyrights {
  background: #222222;
  font-weight: 300;
  padding: 10px 0;
  text-align: center;
  color: #fff;
}
#copyrights a {
  color: #1abc9c;
}
