/***主顏色***/
:root {
  --bgColor: #ead0d1;
  --mainColor: #ffffff;
}
/***********/
.home {
  background: url(img/banner1.jpg) center no-repeat;
  background-size: cover;
  animation-name: banner;
  animation-duration: 20s;
  animation-iteration-count: infinite;
}
.fadeIn>.pstyle p,
h4 {
  text-align: center;
}
.pstyle {
  font-size: 24px;
}
.news .item h4 {
  text-align: left;
}
.pstyle a {
  border-style: solid;
  border-width: 3px;
  border-color: #FFF;
  padding: 8px;
}
.home .cover {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  background: linear-gradient(to bottom, rgba(219, 218, 218, 0.322) 0%, rgba(121, 84, 84, 0.5) 50%, rgba(231, 228, 228, 0.438) 100%);
}
.cover {
  margin: auto;
}
.about .cover {
  width: 100%;
  height: 100%;
  background-color: rgba(253, 222, 222, 0.637);
  padding: 150px 0;
}
.about {
  background: url(img/aboutBg.jpg) center no-repeat fixed;
  background-size: cover;
}
.fadeIn p {
  text-align: left;
}
.about img {
  width: 70%;
  margin: auto;
}
.cover1 {
  width: 100%;
  height: 100%;
  background-color: rgba(13, 13, 13, 0.5);
  padding: 0px 0;
}
.boxwidth {
  margin-bottom: 500px;
}
/* .gallery .box a.cross {
  width: calc(100% * 1 / 2 - 20px);
} */
.cover2 {
  margin: auto;
  display: flex;
  width: 75%;
  height: 100%;
}
.cover2 img {
  margin: auto;
  width: 90%;
}

header ul.sns li a {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(1);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 100;
  background: url(texture.png) top left repeat fixed;
  background-size: 100px;
  background-color: #ead0d1;
}

header {
  height: 150px;
}

header h1 img {
  height: 130px;
}
.news .item {
  width: 100%;
  min-height: 400px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  background: url(texture.png) top left repeat fixed;
  background-size: 200px;
  background-color: rgba(254, 243, 235);
  color: #fdaeb8;
}
.news .item>img {
  width: 50%;
  object-fit: unset;
}
.news .item>div {
  width: 40%;
  padding: 60px 5%;
}
.pic img {
  width: 50%;
  margin: auto;
}
.listBg {
  background: url(texture.png) top left repeat fixed;
  background-size: 200px;
  background-color: #a27e7e;
}
.news img{
  object-position:center; 
  width: 50%; 
  margin: auto;
}

.sns {
  position: fixed;
  right: 10px;
  bottom: 20px;
  width: 30px;
  z-index: 100;
}

.sns li{
  list-style-type: none;
}

.sns li {
  border-bottom: 1.5px solid var(--mainFontColor);
  padding: 10px 0;
}

.gallery .box .cross{
  position: relative;
}
.gallery .box a{
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.39);
}
.gallery .box a:hover{
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.294);
}
.gallery .box .mask {
  background-color: rgba(0, 0, 0, 0.068);
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery .box .mask:hover{
  opacity: 0.5;
  transition: all 0.5s ease-in-out;
}

.gallery .box .mask p{
  text-align: center;
  font-size: 24px;
  letter-spacing: 1.8px;
  font-weight: 600;  
  margin-top: 50px;
  border: 0px;
  color: #ff6870;
}

.gallery .box .mask .logoPic{
  width: 80%;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
}

.text{
  font-size: 20px;
  text-align: center;
}
/* QA */
.QA .accordion {
  background-color: #fbede5;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}
.QA .active,
.QA .accordion:hover {
  background-color: #f3e4e4;
}
.QA .panel {
  padding: 20px;
  font-size: 16px;
  letter-spacing: 1.8px;
  opacity: 0.8;
  display: none;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
}
.QA .panel p {
  color: black;
}
.link {
  margin: auto;
  width: 25%;
  display: flex;
}
.link a {
  margin: 10px;
}
.lb-nav a.lb-next {
  background: url(img/next.png) right 48% no-repeat;
opacity: 1;
}
.lb-nav a.lb-prev {
  background: url(img/prev.png) left 48% no-repeat;
  opacity: 1;
}
@keyframes banner {
  0% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: cover;
  }
  28% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: cover;
  }
  33% {
    background: url(img/banner2.jpg) center no-repeat;
    background-size: cover;
  }
  61% {
    background: url(img/banner2.jpg) center no-repeat;
    background-size: cover;
  }
  66% {
    background: url(img/banner3.jpg) center no-repeat;
    background-size: cover;
  }
  95% {
    background: url(img/banner3.jpg) center no-repeat;
    background-size: cover;
  }
  100% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: cover;
  }
}
@media screen and (max-width:770px) {
  .news .item {
    flex-direction: column;
  }
  .news .item>img {
    width: 100%;
  }
  .link {
    width: 60%;
  }
  .pic img {
    width: 100%;
  }
  .about img {
    width: 100%;
  }
  .home {
    height: calc(60vh - 142px);
  }
  .cover2 {
    width: 100%;
  }
  header {
    height: 100px;
  }
  header h1 img {
    height: 80px;
  }
  .cover2 {
    display: grid;
  }
  .cover2 img {
    margin-top: 20px;
  }
  .gallery .box a.cross {
    width: calc(100% * 3 / 3 - 20px);
  }
  .news img{
    width: 100%; 
  }
  .gallery .box .mask .logoPic{
    transform: translate(-50%, -70%);
  }
  .gallery .box .mask p{ 
    margin-top: 20px;
  }
}