:root {
  --mainColor: ;
  --mainFontColor: rgba(0, 0, 0, 0.85);
  --mainBorder: 1.5px solid var(--mainFontColor);
}

#mainBg {
  background-image: url(img/bg.jpg);
}

.mainCover {
  background-color: rgba(255, 255, 255);
}

#home {
  /* background-image: url(img/home.jpg); */
}

.homeCover {
  background-color: rgba(255, 255, 255);
}

#sns ul li a {
  filter: brightness(0.3);
}

#sns ul li {
  border-bottom: 1px solid #acacac;
}

h3,
h2 {
  font-weight: 500;
  letter-spacing: 6px;
}

p,
li,
a {
  font-weight: 400;
  letter-spacing: 3px;
}

#logo {
  position: absolute;
  width: 165px;
  height: 165px;
  top: 0px;
  left: 0px;
  z-index: 900;

}

#logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  margin: auto;
}

.scollMenu {
  background-color: rgba(255, 255, 255);
  z-index: 800;
}

.topBg {
  background-color: #f5ebe0;
  width: 45%;
  height: 1600px;
  position: absolute;
  /* border-bottom-left-radius: 150px;
  border-bottom-right-radius: 150px; */
}

.menuBg {
  background-color: rgb(245, 235, 224, 0.7);
  width: 50%;
  height: 100%;
  position: absolute;
}

.menuBg01 {
  width: 100%;
  height: 500px;
  background-color: rgb(209, 188, 165, 0.4);
  position: absolute;
  top: 38%;
  right: 1%;
}

.menuBg02 {
  width: 100%;
  height: 500px;
  border: 3px solid rgb(209, 188, 165, 0.4);
  position: absolute;
  top: 32%;
  left: 2%;
}


.homeCover h4 {
  position: absolute;
  left: 7.5%;
  bottom: 15vh;
  width: 35%;
  font-size: 40px;
  letter-spacing: 6px;
  font-weight: bold;
  z-index: 600;
}

.homeCover h4 span {
  font-size: 16px;
  letter-spacing: 2px;
  color: rgb(117, 97, 77);
}

.slider_container {
  width: 60%;
  position: relative;
  top: 15%;
  left: 35%;
  z-index: 500;
}

.slider_container div {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  filter: alpha(opacity=0);
}

.slider_container div {
  -webkit-animation: round 15s linear infinite;
  animation: round 15s linear infinite;
}

@-webkit-keyframes round {
  4% {
    opacity: 1;
    filter: alpha(opacity=100);
    /* 0 - 1秒 淡入*/
  }

  20% {
    opacity: 1;
    filter: alpha(opacity=100);
    /* 1- 5秒靜止*/
  }

  24% {
    opacity: 0;
    filter: alpha(opacity=0);
    /* 5-6秒淡出*/
  }
}

@keyframes round {
  4% {
    opacity: 1;
    filter: alpha(opacity=100);
    /* 0 - 1秒 淡入*/
  }

  20% {
    opacity: 1;
    filter: alpha(opacity=100);
    /* 1- 5秒靜止*/
  }

  24% {
    opacity: 0;
    filter: alpha(opacity=0);
    /* 5-6秒淡出*/
  }
}

.slider_container div:nth-child(5) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.slider_container div:nth-child(4) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.slider_container div:nth-child(3) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}

.slider_container div:nth-child(2) {
  -webkit-animation-delay: 9s;
  animation-delay: 9s;
}

.slider_container div:nth-child(1) {
  -webkit-animation-delay: 12s;
  animation-delay: 12s;
}

.slider_container:hover div {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}


.item2 {
  width: 50%;
  margin: 0;
}

.cover {
  background-color: rgba(24, 16, 9, 0.3);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.cover:hover {
  transition: all 0.8s linear;
  background-color: rgba(24, 16, 9, 0.7);
}

.cover:hover .roomTypeTitle {
  opacity: 1;
  top: 72px;
}

.roomTypeTitle {
  position: absolute;
  width: auto;
  z-index: 200;
  top: 120px;
  right: 100px;
  opacity: 0;
  border-bottom: none;
  transition: 0.8s;
}

.roomTypeItem img {
  margin: 0 auto;
}

.roomTypeTitle h3 {
  text-align: right;
  color: #fff;
}

hr.line {
  width: 120px;
  position: absolute;
  right: 15px;
}

#footer article {
  width: 55%;
  padding: 50px 0;
}

.footerbox {
  display: flex;
}

.footerbox>div {
  align-self: center;
}

#footer .footerlogo {
  width: 30%;
  margin-right: 40px;
}

.contectbox {
  display: flex;
  margin-top: 80px;
}

.contectbox a {
  text-align: center;
  padding: 15px;
  margin: 0 10px;
  background-color: rgb(207, 183, 164);
  color: #fff;
}

.contectbox a:hover {
  background-color: #ad7445;
  color: #fff;
  transition: 1s;
}

.menu {
  width: 45%;
  margin: auto;
  margin-bottom: 20px;
}

p.menutext {
  text-align: center;
  margin-top: 15px;
}

.item4 {
  width: 24%;
  margin: auto;
}

p.sweetText {
  text-align: center;
  margin: 5px 0;
  font-size: 18px;
}

img.icon {
  position: absolute;
  position: fixed;
  width: 60px;
  right: 20px;
  top: 300px;
  z-index: 1000;
}

img.icon2 {
  position: absolute;
  position: fixed;
  width: 60px;
  right: 20px;
  top: 370px;
  z-index: 1000;
}

.newsleft {
  width: 30%;
  margin: auto;
}

.newsright {
  width: 60%;
  margin: auto;
}

.newsright h3 {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 4px double #000;
  padding-left: 15px;
}

.newsbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 80px;
}

@media screen and (max-width:1024px) {
  #home {
    height: 105vw;
  }

  .mainList li a {
    color: #fff;
    font-size: 24px;
  }

  #logo {
    position: unset;
    width: 20%;
    top: 0;
    z-index: 1000;
  }

  #logo img {
    width: 80%;
  }

  .slider_container {
    width: auto;
    position: relative;
    top: 0;
    left: 0;
    z-index: 500;
    display: block;
  }

  .homeCover h4 {
    display: block;
    position: absolute;
    width: 80%;
    bottom: 0;
    font-size: 28px;
    margin: 10px auto;
    line-height: 2em;
  }

  .homeCover h4 span {
    font-size: 12px;
    line-height: 1.5em;
  }

  .roomTypeTitle {
    top: 60px;
    right: 40px;
  }

  .cover:hover .roomTypeTitle {
    top: 30px;
  }

  #footer article {
    width: 100%;
    padding: 50px 0;
  }

  .footerbox {
    flex-wrap: wrap;
  }

  .footerbox>div {
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
  }

  #footer .footerlogo {
    width: 25%;
    margin: auto;
  }

  .footerbox h2 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .footerbox p {
    padding: 0 50px;
    font-size: 13px;
    margin-bottom: 4px;
  }

  .contectbox {
    display: flex;
    margin-top: 20px;
  }

  .contectbox a {
    padding: 15px;
    margin: 0 3px;
  }

  .menu {
    width: 80%;
  }

  .item4 {
    width: 48%;
    margin: auto;
  }

  p.sweetText {
    font-size: 12px;
    letter-spacing: 1px;
  }

  img.banner {
    top: 80px;
    margin-bottom: 50px;
  }

  #traffic p {
    line-height: 1.8em;
  }

  .newsbox {
    margin: 0px 15px 60px 15px;
  }

  .newsleft {
    width: 30%;
    margin: auto;
  }

  .newsright {
    width: 60%;
    margin: auto;
  }

  .newsright h3 {
    font-size: 18px;
    border-left: none;
    letter-spacing: 2px;
    padding-left: 0;
    margin: 15px 0 10px;
  }
}

@media screen and (max-width:512px) {
  .item2 {
    width: auto;
    margin: 0;
  }

  .roomTypeTitle {
    width: auto;
    top: 70px;
    left: 45px;
    opacity: 0;
  }

  .roomTypeTitle h3 {
    text-align: left;
  }

  hr.line {
    width: 100%;
  }

  .cover:hover .roomTypeTitle {
    opacity: 1;
    top: 40px;
  }

  .menu {
    margin-bottom: 20px;
  }

  .menuBg01 {
    width: 100%;
    height: 400px;
    background-color: rgb(209, 188, 165, 0.4);
    position: absolute;
    top: 30%;
    left: -5%;
  }

  .menuBg02 {
    width: 100%;
    height: 400px;
    border: 3px solid rgb(209, 188, 165, 0.4);
    position: absolute;
    top: 32%;
    left: 5%;
  }

  p.menutext {
    text-align: center;
    margin-top: 35px;
  }

  img.icon {
    position: absolute;
    position: fixed;
    width: 40px;
    right: 20px;
    top: 300px;
    z-index: 1000;
  }

  img.icon2 {
    position: absolute;
    position: fixed;
    width: 40px;
    right: 20px;
    top: 350px;
    z-index: 1000;
  }
}