a.toggle {
  cursor: pointer !important;
}

:root {
  --color-1: rgba(54, 50, 44, 0.8);
  --color-2: #fff7ef;
  --color-3: hsl(240, 8%, 16%);
}

/*var(--color-1)*/
/************************************/
/*版權*/
/************************************/

.copyright {
  padding: 2em 0;
  background-color: #3f3f3f;
}

.copyright p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  padding: 0 1em;
}


/************************************/
/*按鈕*/
/************************************/
section#social_area {
  padding: 0 !important;
  margin: 0 !important;
}

#socail_icon_box {
  position: fixed;
  right: -7em;
  top: 8em;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  z-index: 2001;
  opacity: 0.8;
  visibility: hidden;
  -o-transition: opacity 0.35s;
  -moz-transition: opacity 0.35s;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

#socail_icon_box:hover {
  opacity: 1;
}

#socail_icon_box a {
  background-color: var(--color-1);
  padding: 0.5em 1em;
  min-width: 11em;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
  right: 0;
  position: relative;
  -o-transition: right 0.35s;
  -moz-transition: right 0.35s;
  -webkit-transition: right 0.35s;
  transition: right 0.35s;
  margin-bottom: 0.5em;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

#socail_icon_box a:hover {
  right: 6.5em;
  cursor: pointer;
}

#socail_icon_box a img {
  width: 2.5em !important;
  margin-right: 1em;
}

#socail_icon_box a p {
  color: var(--color-2);
  line-height: 2em;
  font-size: 1.2em;
}

@media screen and (max-width: 768px) {
  #socail_icon_box {
    right: -8em;
  }
}

/****************/
/*手機板按鈕*/
/****************/
@media screen and (max-width: 575px) {
  #socail_icon {
    background-color: var(--color-1);
    border-radius: 0;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    padding-bottom: 1em;
    display: none;
    z-index: 9;
  }

  #socail_icon_box {
    position: relative;
    right: unset;
    top: unset;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;

    -ms-flex-align: start !important;
    align-items: flex-start !important;

    -ms-flex-direction: row !important;
    flex-direction: row !important;

    width: 75%;
    margin-left: 3%;
  }

  #socail_icon_box a {
    background-color: unset;
    padding: 1em 0em;
    min-width: 1em;
    width: 100%;
    margin-bottom: 0em;
    box-shadow: unset;

    -ms-flex-pack: justify !important;
    justify-content: center !important;

    -ms-flex-align: center !important;
    align-items: center !important;
  }

  #socail_icon_box a:hover {
    right: 0em;
  }

  #socail_icon_box a img {
    width: 2.2em !important;
    margin-right: 0.8em;
  }

  #socail_icon_box a p {
    line-height: 2em;
    font-size: 2em;
    letter-spacing: 2px;
    font-weight: 300 !important;
  }
}

/**/

/************************************/
/*展開內容*/
/************************************/

.coll_close {
  top: 1em;
  right: 1em;
  border-radius: 50%;
  color: #fff !important;
  padding: 0;
  position: absolute;
  font-size: 2em;
  text-align: center;
  z-index: 2003 !important;
}

.coll_close:hover {
  cursor: pointer;
  transform: scale(1.1, 1.1);
  transition: 0.35s all;
  -webkit-transition: 0.35s all;
  -moz-transition: 0.35s all;
  -o-transition: 0.35s all;
  -ms-transition: 0.35s all;
}

.s_overlay {
  position: fixed;
  background: #2c4d50;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  opacity: 0;
  /* visibility: hidden; */
  visibility: visible;

  -o-transition: opacity 0.35s, visibility 0.35s, width 0.35s;
  -moz-transition: opacity 0.35s, visibility 0.35s, width 0.35s;
  -webkit-transition: opacity 0.35s, visibility 0.35s, width 0.35s;
  transition: opacity 0.35s, visibility 0.35s, width 0.35s;
  overflow: hidden;
  z-index: 2005;
  font-size: 1vw;
}

.s_overlay.open {
  visibility: visible;
  opacity: 1;
  top: 0;
  right: 0;
  width: 100%;
}

/**********************/
/*展開內容背景*/
/**********************/

.s_bg {
  width: 100%;
  height: 100%;
  background: url(../images/social/s_bg1.jpg) no-repeat center center;
  background-size: cover;
  -ms-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
}

.s_bg::before {
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #2c4d50;
  opacity: 0.8;
  position: absolute;
}

/*****
act_act
*******/
#act_act .s_bg {
  background: url(../images/social/s_bg2.jpg) no-repeat center right 37%;
}

#act_act .s_bg::before {
  background-color: #dbc6c1;
}

#act_act .overlay-menu .social_title {
  background: #3f2033;
}

#act_act .overlay-menu .social_title::before {
	content: url(../images/social/s_act_bg.png);
	right: 5%;
	top: unset;
	bottom: -2%;
}

/*****
fb_fb
*******/
#fb_fb .s_bg {
  background: url(../images/social/s_bg3.jpg) no-repeat center center;
}

#fb_fb .s_bg::before {
  background-color: #bfc4d1;
}

#fb_fb .overlay-menu .social_title {
  background: #3e537c;
}

#fb_fb .overlay-menu .social_title::before {
  content: url(../images/social/s_fb_bg.png);
	right: 5%;
	top: unset;
	bottom: -11%;
}

/******fb_fb*******/
.overlay-menu .social_title {
  background: hsl(240, 8%, 16%);
  height: 48vh;
  opacity: 0.95;
  overflow: hidden;
  z-index: 1051;
  text-align: left;
  position: relative;
}

.overlay-menu .social_title::before {
  content: url(../images/social/s_line_bg.png);
	right: 0%;
  top: 5%;
	opacity: 0.05;
	position: absolute;
}

.overlay-menu .social_title_con {
  position: absolute;
  width: 90%;
  left: 5%;
  bottom: 15%;
}

.overlay-menu .social_con {
  /* background: hsl(240, 8%, 16%); */
  height: 50vh;
  text-align: left;
}

.overlay-menu .social_title_con h3,
.overlay-menu .social_title_con h4,
.overlay-menu .social_title_con h5,
.overlay-menu .social_title_con h6,
.overlay-menu .social_title_con p {
  line-height: 1.8;
  letter-spacing: 2px;
  color: #fff;
}

.overlay-menu .social_title_con .s_title {
  letter-spacing: 5px;
  margin-bottom: 0.4em;
  line-height: 1.2;
}

.social_con {
  padding-left: 2vw;
  padding-right: 6.5vw;
}

.social_con ul li {
  width: calc(100% / 6);
  margin: 0.6em 0;
  text-align: center;
}

.social_con ul li:nth-last-child(2),
.social_con ul li:nth-last-child(3) {
  width: calc(100% / 5.2);
}
.social_con ul li:nth-last-child(1){
  width: calc(100% / 4.6);
}

.social_con ul li a {
  font-size: 1em;
  background-color: var(--color-3);
  color: #fff;
  border-radius: 8em;
  padding: 0.4em 0;
  display: inline-block;
  width: 90%;
  text-align: center;
  letter-spacing: 2px;
}


@media screen and (max-width: 1199px) {
  .s_overlay {
    font-size: 1.3vw;
  }

  .social_con ul li,
  .social_con ul li:nth-last-child(1),
  .social_con ul li:nth-last-child(2),
  .social_con ul li:nth-last-child(3) {
    width: calc(100% / 3);
    margin: 0.5em 0;
  }
}
@media screen and (max-width: 480px) {

  .social_con ul li:nth-last-child(1){
    width: calc(100% / 2.2);

  }
}


@media screen and (max-width: 991px) {
  .overlay-menu .social_title::before {
    background-position: left 28% top 26%;
    background-size: 25%;
    -ms-background-size: 25%;
    -moz-background-size: 25%;
    -webkit-background-size: 25%;
  }
}

@media screen and (max-width: 768px) {
  .s_bg {
    background: url(../images/social/s_bg1.jpg) no-repeat right 40% center;
  }

  .s_overlay {
    font-size: 2.2vw;
  }

  .coll_close {
    bottom: 1em;
    right: 45%;
    top: unset;
    background-color: #0000008c;
    width: 2em;
    height: 2em;
    line-height: 2em;
  }

 
    .overlay-menu .social_title {
      height: 30vh;
      margin-bottom: 3em;
  }
  

  .social_con ul li {
    margin: 0.25em 0;
  }

  .overlay-menu .social_title::before {
    background-position: left 81% top 5%;
  }

  .overlay-menu .social_title_con .s_title {
    line-height: 0;
}
}

@media screen and (max-width: 575px) {
  .s_overlay {
    font-size: 3vw;
  }

  /*全國*/

  .overlay-menu .social_title {
    height: 21vh;
    margin-bottom: 3vh;
  }

  .overlay-menu .social_con {
    height: unset;
    margin-bottom: 8%;
  }

  .social_con {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .social_con ul li a {
    font-size: 1.3em;
  }

   .coll_close {
    font-size: 1.5em;
}
  /* .overlay-menu .social_title_con .s_title {
    line-height: 0.5;
} */


  .overlay-menu .social_title_con {
    bottom:17%;
}


}
@media screen and (max-width: 433px) {

.overlay-menu .social_title_con {
  bottom: 14%;
}
}

/**/
/************************************/
/*廣告*/
/************************************/

.ad_box {
  width: 13em;
  position: absolute;
  left: 1em;
  top: 80%;
  -o-transition: top 0.35s;
  -moz-transition: top 0.35s;
  -webkit-transition: top 0.35s;
  transition: top 0.35s;
  display: none;
}

.ad_box .coll_close {
  right: 0;
  top: 0;
  padding: 0;
  border-radius: 1.6em;
  width: 1.6em;
  height: 1.6em;
  font-size: 1.2em;
  line-height: 1;
  padding-top: 0.2em;
  background-color: rgba(0, 0, 0, 0.2);
}

.ad_box .coll_close.zooooomout,
.ad_box .coll_close.zooooomin {
  background-position: center center;
  background-size: auto 60%;
  -ms-background-size: auto 60%;
  -moz-background-size: auto 60%;
  -webkit-background-size: auto 60%;
  background-repeat: no-repeat;
}


.ad_box .coll_close.zooooomout {
  background-image: url('../images/social/fa-times.svg');
}

.ad_box .coll_close.zooooomin {
  background-image: url('../images/social/fa-external-link-alt.svg');
}

.ad_box.open {
  width: 5em;
  position: absolute;
  left: 1em;
}


.ad_box.open .coll_close {
  top: -1em;
  width: 1.8em;
  height: 1.8em;
  font-size: 1em;
  line-height: 1.2;
}

@media screen and (max-width: 575px) {
  .ad_box {
    width: 18em;
  }

  .ad_box.open {
    width: 8em;
  }

  .ad_box .coll_close {
    font-size: 2.5em;
  }

  .ad_box.open .coll_close {
    font-size: 2em;
  }
}

/************************************/
/*按鈕特效*/
/************************************/

@keyframes sheen {
  0% {
    transform: skewY(-45deg) translateX(0);
  }

  100% {
    transform: skewY(-45deg) translateX(12.5em);
  }
}

a.shine {
  color: var(--color-1);
  border: 2px solid var(--color-3);
  position: relative;
  overflow: hidden;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a.shine:before {
  content: "";
  background-color: rgba(255, 255, 255, 0.1);
  height: 100%;
  width: 3em;
  display: block;
  position: absolute;
  top: 0;
  left: -4.5em;
  transform: skewX(-45deg) translateX(0);
  -o-transition: none;
  -moz-transition: none;
  -webkit-transition: none;
  transition: none;
}

a.shine:hover {
  background-color: var(--color-3);
  color: rgba(255, 255, 255, 0.6);
}

a.shine:hover:before {
  transform: skewX(-45deg) translateX(13.5em);
  -o-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}