@charset "utf-8";

.contact-list li a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #F0F0F0;
  color: #231815;
  border-top: solid 4px #00b0ff;
  padding: 10px 5px;
  z-index: 1;
  transition: all .5s ease;
}

.contact-list li a::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #00b0ff;
  transform-origin: 50% 0;
  transform: scaleY(0);
  transition: transform ease .3s;
}

.contact-list li a:hover {
  text-decoration: none;
}

.contact-list li a:hover::before {
  transform-origin: 50% 0;
  transform: scaleY(1);
}

@media screen and (max-width: 767px) {
  .contact-list li {
    display: inline-block;
    font-size: 0.8rem;
    width: calc(calc(100% - 4em) / 3);
  }

  .contact-list li:nth-child(-n+2),
  .contact-list li:nth-last-child(2) {
    margin-right: 1em
  }

  .contact-list li:nth-child(n+4) {
    margin-top: 1em;
  }
}

@media screen and (min-width: 768px), print {
  .contact-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .contact-list li a {
    padding: 20px;
  }

  .contact-list li {
    width: 19%;
  }
}




/* 地図 --------------------------------*/
.map_wrapper iframe {
  width: 100%;
  height: 400px;
  margin-top: 2em;
}

.map_wrapper {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .map_wrapper iframe {
    width: 100%;
    height: 200px;
  }
}