#TopSNS {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #666;
  background-color: rgba(255, 255, 255, 0.9);
  padding: .5em 1em;
  box-shadow: 0px 2px 5px rgb(0 0 0 / 10%);
  z-index: 11;
}

#TopSNS .topsns_left img,
#TopSNS .topsns_left h1 {
  vertical-align: middle;
}

#TopSNS .topsns_left img {
  display: inline-block;
  width: 10rem;
}

#TopSNS .topsns_left h1 {
  display: inline-block;
  color: rgba(0, 0, 0, .8);
  padding-left: 1vw;
  font-size: .9em;
  letter-spacing: .18vw;
  padding: 1rem 1.5rem 0 0;
}

/* footer*/
.footer {
  display: flex;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  justify-content: center;
}

.ft-logo img {
  width: 15rem;
  margin: 0 1em 0 0em;
}

.footer img:hover {
  opacity: .8;
}

.tel {
  color: #ffffff;
  font: 2.3em sans-serif;
  font-weight: 600;
  margin: 0 .5em 0 0;
  text-decoration: none;
}

.tel:hover {
  color: #ffffffbf;
}

.tel img {
  width: 1.5rem;
  margin: 0em 0.1em 0 0.1em;
  margin-left: 1em;
}

.line {
  color: #ffffff;
  font: 2.3em sans-serif;
  font-weight: 600;
  margin: 0 .5em 0 0;
  text-decoration: none;
}

.line:hover {
  color: #ffffffbf;
}

.line img {
  width: 1.5rem;
  margin: 0em 0.1em 0 0.1em;
  margin-left: 1em;
}



/*表單按鈕顏色*/
.main .fmtype1_btn {
  background: #ef2d46;
  color: #ffffff;
  border: 1px solid #1d51a1;
}

.main .fmtype1_btn:hover {
  background: #ec445a;
}

.main {
  color: #fff;
}

.main a {
  color: #ef2d46;
}



.iframe-m{
  display: none;
}
.iframe{
  display: block;
  background-color: #f8cc00;
  padding-top: 30px;
  padding-bottom: 50px;
}
@media only screen and (max-width: 1110px) {
  iframe{
    height: 220px;
  }
}

@media only screen and (max-width: 991px) {

iframe{
  height: 240px;
}
.icon_group {
  display: flex;
  display: inline-flex;
  align-items: flex-start;
}
  .iframe-m{
    display: block;

    background-color: #f8cc00;
    padding-top: 30px;
    padding-bottom: 0px;
  }
  .iframe{
    display: none;

  }

  .footer {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    align-content: flex-start;
    flex-direction: column;
    align-items: center;
  }

  .line {
    margin: .5em 0em 0em 0em;
  }

  .tel {
    margin: .5em 0em 0em 0em;
  }

  .line img {
    margin-left: 0em;
  }

  .tel img {
    margin-left: 0em;
  }

}

@media only screen and (max-width: 785px) {

  iframe {
    height: 450px;
}
.iframe-m{
  display: block;

  background-color: #f8cc00;
  padding-top: 30px;
  padding-bottom: 0px;
}
.iframe{
  display: none;

}
}




@media only screen and (max-width: 576px) {

  iframe {
    height: 430px;
}
.iframe-m{
  display: block;

  background-color: #f8cc00;
  padding-top: 30px;
  padding-bottom: 0px;
}
.iframe{
  display: none;

}

  .footer {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    align-content: flex-start;
    flex-direction: column;
    align-items: center;
  }

  .line {
    margin: .5em 0em 0em 0em;
  }

  .tel {
    margin: .5em 0em 0em 0em;
  }

  .line img {
    margin-left: 0em;
  }

  .tel img {
    margin-left: 0em;
  }

}
@media only screen and (max-width: 420px) {

  iframe {
    height: 400px;
}
}
@media only screen and (max-width: 375px) {

  iframe {
    height: 400px;
}
}
@media only screen and (max-width: 320px) {

  iframe {
    height: 400px;
}
}