/***主顏色***/
:root {
  --bgColor: #E4007E;
  --mainColor: #fcfcfc;
}

/***********/
/* swiper */
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* swiper */

header ul.sns li a {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(1);
}

header{
  background-color: #df007b;
}

.fadeIn>.pstyle p,
h4 {
  text-align: center;
}

.pstyle {
  font-size: 24px;
}

.news .item h4 {
  text-align: left;
}

.news .item p { 
  text-align: justify;
}

.pstyle a {
  border-style: solid;
  border-width: 3px;
  border-color: #FFF;
  padding: 8px;
}

#home,#myCarousel{
  margin-top: 88px;
}

.about {
  background: url(img/bg.jpg) center no-repeat fixed;
  background-size: cover;
}

.fadeIn p {
  text-align: justify;
  font-size: 20px;
}

.about h4{
  margin-bottom: 50px;
}

.listBg {
  background-color: rgba(125, 103, 118, 0.904);
}

.cover1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 13, 13, 0.5);
  padding: 0px 0;
}

.cover4{
  padding: 200px 0px;
}

.fbpost iframe{
  margin: 50px 20px;
}

.boxwidth {
  margin-bottom: 500px;
}

.gallery .box a.cross {
  width: calc(100% * 1 / 3 - 20px);
}

.cover2 {
  margin: auto;
  display: flex;
  width: 75%;
  height: 100%;
}

.cover2 img {
  margin: auto;
  width: 90%;
}

.contact{
  display: flex;
  flex-direction: column;
}

.contact .text{
  display: flex;
  justify-content: space-around;
}

.gallery{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery .btn{
  display: inline-block;
  margin-top: 20px;
  padding: 5px 20px;
  border-radius: 5px;
  color: black;
  background-color: #FEF001;
}

.gallery .btn:hover{
  background-color: black;
  color: white;
}

.gallery iframe{
  margin: 20px 5px;
}

header {
  height: 150px;
}

header h1 img {
  height: 130px;
}


@media screen and (max-width:770px) {
  .about img {
    width: 100%;
  }

  .home {
    height: calc(60vh - 100px);
  }

  .about .cover{
    padding: 50px 0px;
  }

  .cover{
    width: 100%;
  }

  .cover2 {
    width: 100%;
  }

  iframe{
    width: 100%;
  }

  .about .fbpost{
    width: 100%;
  }

  .about iframe{
    width: 90%;
  }

  .contact iframe{
    margin-bottom: 50px;
  }

  .title {
    font-size: 30px;
    margin-bottom: 40px;
  }


  header {
    height: 100px;
  }

  header h1 img {
    height: 80px;
  }

  .cover2 {
    display: grid;
  }

  .cover2 img {
    margin-top: 20px;
  }

  .cover4{
    padding: 50px 0px;
  }

  .gallery .box a.cross {
    width: calc(100% * 3 / 3 - 20px);
  }

  .contact .text {
    display: flex;
    flex-direction: column;
  }

}