@charset "utf-8";
body {
  min-height: 100vh;
  padding-bottom: 300px;
  position: relative;
}
.footer {
  background-color: #50be07;
  bottom: 0;
  color: #fff;
  font-family: "游ゴシック", YuGothic, "游ゴシック体","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ";
  position: absolute;
  text-align: center;
  width: 100%;
}

.footer p {
    margin-bottom: 0;
}

.footer img {
    max-width: 236px;
}

.footer .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin-bottom: 10px;
  padding-top: 15px;
}

.footer a {
  color: #fff;
}

.footer .nav a {
  color: #fff;
  display: block;
  font-size: 15px;
  margin-bottom: 1em;
  padding: 0 1em;
  position: relative;
  width: auto;
}
.footer .nav a:hover {
  color: #fff;
}
.footer .nav a::before {
  background-color: #fff;
  bottom: 0;
  content: "";
  height: 1.5em;
  left: 0;
  margin: auto;
  position: absolute;
  top: 0;
  width: 1px;
}
.footer .nav a:last-child::after {
  background-color: #fff;
  bottom: 0;
  content: "";
  height: 1.5em;
  margin: auto;
  position: absolute;
  right: 0;
  top: 9px;
  width: 1px;
}

.footer .logo {
    margin-bottom: 15px;
}

.footer-copyright {
  margin-bottom: 20px;
}

.footer-address {
  margin-bottom: 15px;
}

.footer .company-name {
    margin-bottom: 15px;
}

@media screen and (max-width: 767px) {

body {
    min-height: 100vh;
    padding-bottom: 280px;
    position: relative;
    padding-top: 9vw;
}

}

@media screen and (max-width: 640px) {
  body {
    min-height: 100vh;
    padding-bottom: 375px;
    padding-top: 15vw;
  }
  .footer .nav a {
    margin: 0 0 2%;
    width: calc(100% / 2);
  }
  .footer .nav a::before {
    height: 1em;
    left: 10px;
    right: 100%;
  }
  .footer .nav a:nth-child(2n)::after ,
  .footer .nav a:last-child::after {
    background-color: #fff;
    bottom: 0;
    content: "";
    height: 1em;
    margin: auto;
    position: absolute;
    right: 10px;
    top: 0;
    width: 1px;
  }

  .footer .nav a {
    font-size: 75%;
}

.footer .nav a:nth-child(odd) {
    padding-right: 0;
}

.footer-address {
  font-size: 80%;
  margin-bottom: 5%;
}

.footer-copyright {
  font-size: 70%;
}

.footer img {
    max-width: 40%;
}

.footer .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin-bottom: 5%;
    padding-top: 5%;
}

}


@media screen and (max-width: 414px) {

body {
    min-height: 100vh;
    padding-bottom: 320px;
}

}