@charset "UTF-8";

.contact,
.contact_info {
  font-size: 1.5rem;
  color: #404040;
  margin: 1rem;
  padding-bottom: .5rem;
  border-bottom: solid 1px #ccc;
}

.contact-box,
.contact_info-box {
  padding: 1rem;
  margin: 1rem;
  border: solid 1px #ccc;
  background-color: whitesmoke;
  color: #404040;
}

.contact-box {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 2;
}

.contact-box .mail_img {
  vertical-align: sub;
}

/* メールアドレスコピー用のボタン */

.copy-btn {
  position: relative;
  padding: .3rem .8rem;
  cursor: pointer;
  transition: .2s ease-in-out;
  color: #1e366a;
  border: solid 1px #1e366a;
  border-radius: 9999px;
  background-color: whitesmoke;
  /* コピーボタンの説明 */
}

.copy-btn::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0c5';
  letter-spacing: .5rem;
}

.copy-btn:hover {
  color: #fff;
  background-color: #1e366a;
}

.copy-btn-info {
  font-size: .8rem;
  color: #ff3860;
}

/* トースト通知 */

.toast {
  font-size: 17px;
  position: fixed;
  z-index: 1;
  bottom: 30px;
  left: 50%;
  visibility: hidden;
  min-width: 250px;
  padding: 16px;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  border-radius: 10px;
  background-color: #1e366a;
}

.toast.show {
  visibility: visible;
  -webkit-animation: fadein .5s, fadeout .5s 2.5s;
  animation: fadein .5s, fadeout .5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}