/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
.contact_bg {
  padding: 2em 0 3em;
  background: #F4F0E1;
}
.contact_bg h2 {
  position: relative;
  color: #E60000;
  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: 2.2rem;
  letter-spacing: 1px;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
}
.contact_bg h2::before, .contact_bg h2::after {
  position: absolute;
  content: '';
  bottom: 10px;
  left: calc(50% - 170px);
  display: block;
  width: 50px;
  height: 52px;
  background-image: url("/img/common/fukidashi01sp.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.contact_bg h2::after {
  left: inherit;
  right: calc(50% - 170px);
  transform: scale(-1, 1);
}
.contact {
  width: 85%;
  margin: auto;
}
.contact li {
  margin: 2em 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;
  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 > p span {
  color: #E60000;
}
.contact_tel a {
  margin: -10px auto 0;
  position: relative;
  font-weight: 700;
  line-height: 30px;
  font-size: 1.6rem;
  outline: none;
  transition: all 0.2s ease;
  display: block;
}
.contact_tel a img {
  display: block;
  width: 85%;
  margin: auto;
}
.contact_tel a:hover img {
  opacity: 1;
}
.contact_tel a p {
  position: relative;
  z-index: 2;
  display: block;
  padding: 28px 0px 10px 0px;
  background: #E60000;
  border-radius: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  transition: all 0.3s ease;
}
.contact_tel a::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #333;
}
.contact_tel a:hover p {
  transform: translate(4px, 4px);
}
.contact_line {}
.contact_line > p {
  font-size: 1.5rem;
}
.contact_line a {
  margin: 0.3em auto 0;
  position: relative;
  font-weight: 700;
  line-height: 30px;
  font-size: 1.6rem;
  outline: none;
  transition: all 0.2s ease;
  display: block;
}
.contact_line a img {
  width: 30px;
  padding: 0 10px 0 0;
}
.contact_line a:hover img {
  opacity: 1;
}
.contact_line a p {
  position: relative;
  z-index: 2;
  display: block;
  padding: 15px 0px 15px 0px;
  background: #02C941;
  border-radius: 10px;
  color: #fff;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}
.contact_line a p span {
  color: #FFE200;
}
.contact_line a p::before {
  position: absolute;
  content: '';
  display: block;
  width: 22px;
  height: 14px;
  background-image: url("/img/common/arrow_white.webp");
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  right: 2px;
  transform: translate(0%, -50%);
  transition: ease .2s;
  z-index: 5;
}
.contact_line a::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #333;
}
.contact_line a:hover p {
  transform: translate(4px, 4px);
}
.f-bg {
  position: relative;
  background: #E60000;
  color: #fff;
  padding: 3em 0 2em;
}
.footer {}
.footer img {
  width: 220px;
  margin: 0 auto 1.5em;
}
.footer p a {
  color: #fff;
}
.cr {
  margin: 3em 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: #FFE200;
    border-radius: 50%;
    width: 65px;
    height: 60px;
    padding: 5px 0 0;
    border: 2px solid #000;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-family: "effra", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.3;
    transition: all 0.3s;
  }
  #page-top a:hover {
    background: #E60000;
    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 h2 {
    font-size: 3.5rem;
    letter-spacing: 2px;
  }
  .contact_bg h2 span {
    font-size: 3rem;
  }
  .contact_bg h2::before, .contact_bg h2::after {
    bottom: -70px;
    left: calc(50% - 600px);
    width: 182px;
    height: 145px;
    background-image: url("/img/common/fukidashi02.webp");
  }
  .contact_bg h2::after {
    left: inherit;
    right: calc(50% - 600px);
  }
  .contact {
    width: 90%;
    margin: 1em 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: 1.6rem;
  }
  .contact_tel a img {
    width: 85%;
  }
  .contact_tel a p {
    padding: 25px 0px 15px 0px;
    border-radius: 20px;
    font-size: 1.4rem;
  }
  .contact_tel a::after {
    border-radius: 20px;
  }
  .contact_line {}
  .contact_line > p {
    font-size: 2rem;
  }
  .contact_line a {
    margin: 0.3em auto 0;
  }
  .contact_line a img {
    width: 50px;
    padding: 0px 10px 0px 0;
  }
  .contact_line a:hover img {
    opacity: 1;
  }
  .contact_line a p {
    line-height: 50px;
    padding: 35px 0px 35px 0px;
    border-radius: 20px;
    font-size: 2.5rem;
  }
  .contact_line a p::before {
    width: 22px;
    height: 16px;
    right: 10px;
  }
  .contact_line a::after {
    border-radius: 20px;
  }
  .f-bg {
    padding: 4em 0 3em;
  }
  .footer img {
    width: 380px;
    margin: 0 auto 1.5em;
  }
  .footer p {
    line-height: 2;
  }
  .cr {
    font-size: 1.3rem;
    margin: 4em auto 0em;
  }
}