/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
footer {
  background: #F2EEE7;
}
.f_contact {
  width: 80%;
  margin: auto;
  background: #fff;
  box-sizing: border-box;
  padding: 20px 20px 25px;
  border-radius: 10px 10px 0 0;
}
.f_contact h2 {
  font-family: ivymode, sans-serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  color: #008EB9;
}
.f_contact > div {
  margin: 0.5em auto 1em;
  text-align: left;
}
.f_contact > div div {
  font-size: 1.4rem;
  font-weight: 500;
}
.f_contact > div p {
  margin: 0.5em auto 0;
  color: #008EB9;
}
.f_contact > div p span {
  display: inline-block;
}
.f_contact a {
  text-align: left;
  font-family: mizolet, sans-serif;
  display: block;
  position: relative;
  text-decoration: none;
  background: #008EB9;
  color: #fff !important;
  padding: 15px 0px 15px 20px;
  border-radius: 25px;
  outline: none;
  transition: ease .2s;
}
.f_contact a:hover {
  background: #F2EEE7;
  color: #008EB9 !important;
}
.f_contact a img {
  display: inline-block;
  width: 20px;
  margin: 0 8px 2px 0;
  filter: brightness(0) invert(1) saturate(0%) contrast(100%);
}
.f_contact a:hover img {
  filter: none;
  transition: filter 0.3s ease;
}
.f_contact a::after {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  line-height: 30px;
  text-align: center;
  content: '\f061';
  font-family: FontAwesome;
  font-weight: 400;
  color: #008EB9;
  background: #fff;
  font-size: 1.3rem;
  transition: all .3s;
}
.f_contact a:hover::after {
  right: 10px;
}
.f-bg {
  position: relative;
  padding: 2em 0;
  background: #F2EEE7;
  color: #fff;
}
.f-bg::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  background: #C63C00;
  border-radius: 30px 30px 0 0;
}
.footer {
  width: 85%;
  margin: auto;
}
.footer a {
  color: #fff;
}
.f_logo {
  position: relative;
  text-align: left;
  color: #fff;
  font-family: mizolet, sans-serif;
  font-size: 1.3rem;
  border-bottom: 0.5px solid #fff;
  padding: 0 0 30px;
}
.f_logo span {
  display: block;
  font-family: ivymode, sans-serif;
  font-size: 3rem;
  line-height: 1.3;
}
.f_logo div {
  position: absolute;
  top: 45%;
  right: 0;
  transform: translate(0%, -50%);
  font-size: 2.5rem;
}
.f_nav {
  margin: 20px auto 0;
  text-align: left;
}
.f_nav div {}
.f_nav div a {
  margin: 0 20px 0 0;
}
.f_nav div a:hover {
  text-decoration: underline;
}
.f_nav p {
  margin: 1em auto 0;
  font-size: 1.2rem;
}
.pagetop {
  display: none;
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  .f_contact {
    width: 90%;
    max-width: 1200px;
    padding: 60px 50px;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0em auto 0em;
    justify-content: space-between;
    align-items: center;
  }
  .f_contact h2 {
    font-size: 6rem;
  }
  .f_contact > div {
    margin: 0;
  }
  .f_contact > div div {
    font-size: 1.7rem;
  }
  .f_contact > div p {
    margin: 0.5em auto 0;
  }
  .f_contact a {
    border-radius: 50px;
    padding: 25px 70px 25px 30px;
  }
  .f_contact a img {
    display: inline-block;
    width: 20px;
    margin: 0 8px 2px 0;
  }
  .f_contact a::after {
    right: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.5rem;
  }
  .f_contact a:hover::after {
    right: 10px;
  }
  .f-bg {
    padding: 4em 0 4em;
  }
  .f-bg::before {
    border-radius: 50px 50px 0 0;
  }
  .footer {
    width: calc(100% - 400px);
  }
  .f_logo {
    font-size: 1.6rem;
    padding: 0 0 50px;
  }
  .f_logo span {
    font-size: 5rem;
    line-height: 1.3;
  }
  .f_logo div {
    font-size: 3rem;
  }
  .f_nav {
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .f_nav div {
    text-align: right;
  }
  .f_nav div a {
    margin: 0 0 0 25px;
  }
  .f_nav div a:hover {
    text-decoration: underline;
  }
  .f_nav p {
    margin: 0;
    font-size: 1.4rem;
  }
  .pagetop {
    display: block;
    position: absolute;
    right: 30px;
    top: 60px;
    width: 130px;
    height: 130px;
    line-height: 130px;
  }
  .pagetop img {
    display: block;
    width: 100%;
    height: auto;
    animation: pagetopspin 20s linear infinite;
    transition: animation-duration 0.3s ease; /* ホバー時の速度変化を滑らかに */
  }
  .pagetop:hover img {
    animation-duration: 5s;
  }
  @keyframes pagetopspin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  .pagetop::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '\f062';
    font-family: FontAwesome;
    font-weight: 400;
    color: #fff;
    font-size: 2rem;
  }
  .pagetop a {
    color: #fff;
  }
}