/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
.contact_bg {
  position: relative;
  padding: 2em 0 4em;
  background: #F4F0E1;
}
.contact_bg::before {
  position: absolute;
  content: '';
  bottom: 0;
  left: -10px;
  display: block;
  width: 100px;
  height: 78px;
  background-image: url("/img/common/staff.webp");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 5;
}
.contact_bg h2 {
  position: relative;
  color: #009A7C;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}
.contact_bg h2 span {
  display: block;
  font-family: "effra", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin: 0 auto 0.3em;
}
.contact_bg h2::before, .contact_bg h2::after {
  position: absolute;
  content: '';
  bottom: 0px;
  left: calc(50% - 150px);
  display: block;
  width: 30px;
  height: 32px;
  background-image: url("/img/common/slash.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.contact_bg h2::after {
  left: inherit;
  right: calc(50% - 150px);
  transform: scale(-1, 1);
}
.contact {
  width: 80%;
  margin: auto;
}
.contact li {
  margin: 1.5em auto 0;
  font-weight: 700;
}
.contact_tel {}
.contact_tel > p {
  position: relative;
  display: inline-block;
  margin: 0em 0 0rem;
  padding: 5px 20px;
  font-size: 1.6rem;
  background: #fff;
  color: #009A7C;
  border-radius: 30px;
  border: 2px solid #000;
  z-index: 3;
}
.contact_tel > p::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -12px;
  border: 12px solid transparent;
  border-top: 12px solid #fff;
  z-index: 1;
}
.contact_tel > p::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #000;
}
.contact_tel a {
  margin: -10px auto 0;
  position: relative;
  line-height: 30px;
  font-family: "effra", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  outline: none;
  transition: all 0.2s ease;
  display: block;
  padding: 28px 0px 10px 0px;
  background: #009A7C;
  border-radius: 10px;
  color: #fff;
}
.contact_tel a img {
  width: 25px;
  padding: 0 10px 5px 0;
}
.contact_tel a:hover img {
  opacity: 1;
}
.contact_tel a span {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
}
.contact_line {}
.contact_line > p {
  font-size: 1.5rem;
}
.contact_line a {
  margin: 0.2em auto 0;
  position: relative;
  font-weight: 700;
  line-height: 30px;
  outline: none;
  transition: all 0.2s ease;
  display: block;
  padding: 17px 0px 17px 0px;
  background: #02C941;
  border-radius: 10px;
  color: #fff;
  font-size: 1.6rem;
}
.contact_line a img {
  width: 30px;
  padding: 0 10px 0 0;
}
.contact_line a:hover img {
  opacity: 1;
}
.contact_line a::before {
  position: absolute;
  display: block;
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  top: 50%;
  right: 10px;
  transform: translate(0%, -50%);
  transition: ease .2s;
  z-index: 5;
}
.contact_line a:hover::before {
  right: 5px;
}
.f-bg {
  position: relative;
  background: #009A7C;
  color: #fff;
  padding: 1em 0 2em;
}
.footer {}
.footer img {
  width: 200px;
  margin: 0 auto 1.5em;
}
.footer p a {
  color: #fff;
}
.footer > a {
  font-size: 1.2rem;
  display: inline-block;
  margin: 2em auto 0;
  color: #fff;
  text-decoration: underline;
}
.cr {
  margin: 2em auto 0;
  font-size: 1.0rem;
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  #page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #54B500;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1.3;
    transition: all 0.3s;
  }
  #page-top a:hover {
    background: #FFF183;
    color: #fff;
  }
  /*リンクを右下に固定*/
  #page-top {
    position: fixed;
    right: 20px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
  }
  /*　上に上がる動き　*/
  #page-top.UpMove {
    animation: UpAnime 0.5s forwards;
  }
  @keyframes UpAnime {
    from {
      opacity: 0;
      transform: translateY(100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /*　下に下がる動き　*/
  #page-top.DownMove {
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 1;
      transform: translateY(100px);
    }
  }
  .contact_bg {
    padding: 3em 0 4em;
  }
  .contact_bg::before {
    left: calc(50% - 620px);
    width: 151px;
    height: 118px;
  }
  .contact_bg h2 {
    font-size: 3.5rem;
    letter-spacing: 2px;
  }
  .contact_bg h2 span {
    font-size: 2.6rem;
    margin: 0;
  }
  .contact_bg h2::before, .contact_bg h2::after {
    bottom: 0px;
    left: calc(50% - 370px);
    width: 31px;
    height: 41px;
  }
  .contact_bg h2::after {
    left: inherit;
    right: calc(50% - 370px);
  }
  .contact {
    width: 90%;
    margin: 2em auto 0;
    max-width: 950px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-between;
  }
  .contact li {
    width: 48%;
    margin: 0;
  }
  .contact_tel {}
  .contact_tel > p {
    padding: 5px 25px;
    font-size: 2.2rem;
  }
  .contact_tel a {
    margin: -10px auto 0;
    font-size: 4.5rem;
    line-height: 1;
    padding: 35px 0px 20px 0px;
    border-radius: 20px;
  }
  .contact_tel a img {
    width: 35px;
    margin: 0 10px 5px 0;
  }
  .contact_tel a span {
    margin: 0.5em auto 0;
    font-size: 1.4rem;
  }
  .contact_line {}
  .contact_line > p {
    font-size: 2rem;
  }
  .contact_line a {
    margin: 0.3em auto 0;
    line-height: 50px;
    padding: 35px 0px 35px 0px;
    border-radius: 20px;
    font-size: 2.5rem;
  }
  .contact_line a img {
    width: 50px;
    padding: 0px 10px 0px 0;
  }
  .contact_line a:hover img {
    opacity: 1;
  }
  .f-bg {
    padding: 2em 0 3em;
  }
  .footer img {
    width: 240px;
    margin: 0 auto 1.5em;
  }
  .footer p {
    line-height: 2;
  }
  .footer > a {
    font-size: 1.4rem;
    margin: 2em auto 0;
  }
  .cr {
    font-size: 1.3rem;
    margin: 2em auto 0em;
  }
}