/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
.f-bg {}
.f_contact_bg {
  background: #F4F4F4;
  position: relative;
  width: 90%;
  margin: 4em auto 0;
  padding: 50px 0 20px;
}
.f_contact_ttl {
  color: #0A3B94;
  font-weight: bold;
  font-size: 1.6rem;
  letter-spacing: 2px;
  position: absolute;
  top: -15px;
  left: 50%;
  -ms-transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.f_contact_ttl span {
  display: block;
  font-family: effra, sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  letter-spacing: 4px;
  line-height: 1;
}
.f_contact {
  width: 80%;
  margin: auto;
}
.f_contact li {
  margin: 1em auto 0;
}
.f_contact li a {
  /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
  overflow: hidden;
  /*ボタンの形状*/
  text-decoration: none;
  display: inline-block;
  background: #fff;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding: 20px 0px;
  width: 100%;
  text-align: center;
  outline: none;
  /*アニメーションの指定*/
  transition: ease .2s;
}
.f_contact li a:hover span {
  color: #fff;
}
/*== 背景が流れる（中央から外） */
.f_contact li a.bgcenterout:before {
  content: '';
  /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  /*色や形状*/
  background: rgba(10, 59, 148, 0.05);
  width: 100%;
  height: 100%;
  /*アニメーション*/
  transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 0);
  transform-origin: center;
}
/*hoverした際の形状*/
.f_contact li a.bgcenterout:hover:before {
  transform: scale(1, 1);
}
.f_contact li div {
  position: relative;
  z-index: 3;
  color: #0A3B94;
  font-size: 1.7rem;
  display: inline-block;
  font-weight: bold;
}
.f_contact li div::before {
  position: absolute;
  content: '';
  top: 3px;
  left: -23px;
  display: block;
  width: 20px; /*幅*/
  height: 20px;
  background-image: url("/img/common/tel.webp");
  background-size: contain;
  background-repeat: no-repeat; /*画像を繰り返さない*/
}
.f_contact li div.tel {
  font-size: 2.0rem;
  line-height: 1.3;
}
.f_contact li div.mail::before {
  background-image: url("/img/common/mail.webp");
}
.f_contact li p {
  position: relative;
  z-index: 3;
  letter-spacing: 2px;
  font-size: 1.2rem;
}
.footer {
  padding: 3em 0 2em;
  background: #0A3B94;
  color: #fff;
}
.footer a {
  color: #fff;
}
.footer_l {}
.footer_l div {
  width: 180px;
  margin: 0 auto 1.5em;
}
.footer_l p {
  line-height: 2;
}
.footer_pp a {
  display: block;
  margin: 1em auto 0;
}
.footer_pp a:hover {
  text-decoration: underline;
}
.footer_r {
  margin: 2em auto 0;
}
.footer_r ul {
  display: none;
}
.pagetop {
  display: none;
}
.cr {
  font-size: 1.0rem;
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  .f_contact_bg {
    max-width: 1100px;
    margin: 7em auto 0;
    padding: 90px 0 50px;
  }
  .f_contact_ttl {
    font-size: 1.8rem;
    top: -30px;
  }
  .f_contact_ttl span {
    font-size: 6rem;
    letter-spacing: 8px;
  }
  .f_contact {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0em auto 0em;
    justify-content: space-between;
  }
  .f_contact li {
    margin: 0;
    width: 48%;
  }
  .f_contact li a {
    padding: 35px 0px;
  }
  .f_contact li div {
    font-size: 2rem;
    letter-spacing: 2px;
  }
  .f_contact li div::before {
    top: 3px;
    left: -33px;
    width: 30px;
    height: 30px;
  }
  .f_contact li div.tel {
    font-size: 2.5rem;
    line-height: 1.5;
  }
  .f_contact li p {
    font-size: 1.4rem;
  }
  .footer {
    padding: 3em 0 3em;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0em auto 0em;
    justify-content: center;
  }
  .footer_l {
    width: 300px;
    text-align: left;
  }
  .footer_l div {
    width: 230px;
    margin: 0 auto 2em 0;
  }
  .footer_pp a {
    margin: 2em auto 0;
  }
  .footer_pp a:hover {
    text-decoration: underline;
  }
  .footer_r {
    width: 700px;
    margin: 0;
    text-align: right;
    position: relative;
  }
  .footer_r ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 2em auto 0em;
    justify-content: flex-end;
  }
  .footer_r ul li {
    padding: 0 0 0 20px;
    letter-spacing: 2px;
    font-size: 1.6rem;
  }
  .footer_r ul li a:hover {
    color: #00CEFF;
  }
  .footer_r ul li p {
    font-size: 1.3rem;
    line-height: 2;
    text-align: left;
    margin: 10px auto 0;
  }
  .footer_r ul li p a {}
  .footer_r ul li p a::before {
    content: '\f054';
    font-family: FontAwesome;
    font-weight: 400;
    color: #fff;
    font-size: 1rem;
    padding: 0 5px 0 0;
  }
  .pagetop {
    display: block;
    position: absolute;
    bottom: 55px;
    right: -70px;
    font-family: effra, sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
  }
  /*== ボタン共通設定 */
  .pagetop a {
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
    overflow: hidden;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    background: #fff;
    border-radius: 40px;
    padding: 15px 8px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
  }
  /*ボタン内spanの形状*/
  .pagetop a span {
    position: relative;
    z-index: 3; /*z-indexの数値をあげて文字を背景よりも手前に表示*/
    color: #0A3B94;
  }
  .pagetop a:hover span {
    color: #fff;
  }
  /*== 背景が流れる（下から上） */
  .pagetop a.bgbottom:before {
    content: '';
    /*絶対配置で位置を指定*/
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(0, 206, 255, 1) 0%, rgba(10, 59, 148, 1)100%);
    width: 100%;
    height: 100%;
    /*アニメーション*/
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(1, 0);
    transform-origin: left top;
  }
  /*hoverした際の形状*/
  .pagetop a.bgbottom:hover:before {
    background: linear-gradient(180deg, rgba(0, 206, 255, 1) 0%, rgba(10, 59, 148, 1)100%);
    transform-origin: left bottom;
    transform: scale(1, 1);
  }
  .cr {
    position: absolute;
    bottom: 15px;
    right: 0;
    font-size: 1.3rem;
  }
}