@charset "utf-8";
body {
  min-height: 100vh;
  padding-bottom: 285px;
  position: relative;
}
.footer {
  background-color: #e9f1ee;
  bottom: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 100%;
  color: #333;
  position: absolute;
  text-align: center;
  width: 100%;
}
.footer-sitemap p {
    margin-bottom: 0;
}
.footer .footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0 0.5em;
}

.footer .footer-sitemap a {
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  font-size: 90%;
  padding: 3px 5px;
  position: relative;
  width: 100%;
  transition: 0.3s;
}
.footer .footer-sitemap a:hover {
  opacity: 0.5;
  color: #333;
  transition: 0.3s;
  text-decoration: none;
}
.footer .footer-sitemap a::before {
  background-color: #333;
  bottom: 0;
  content: "";
  height: 1em;
  left: -6px;
  margin: auto;
  position: absolute;
  top: 0;
  width: 1px;
}
.footer .footer-sitemap .footer-item:last-child a::after {
  background-color: #333;
  bottom: 0;
  content: "";
  height: 1em;
  margin: auto;
  position: absolute;
  right: -8px;
  top: 0;
  width: 1px;
}

.footer .footer-sitemap .footer-item {
    margin: 10px 5px 15px;
}

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

.footer-copyright {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 90%;
    padding: 0.6em 0;
    background-color: #298464;
    color: #fff;
}

.footer-copyright {
    margin: 50px 0 0;
}

.footer-address {
  font-size: 90%;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

p.footer-address a {
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-area {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  width: 100%;
}

@media screen and (max-width: 1140px) {
  
  .footer .footer-sitemap .footer-item {
    margin: 5px 5px 0;
}
  
  img.footer-img {
    margin: 10px 0;
}
  
  .footer-address {
    margin-bottom: 0;
}

}

@media screen and (max-width: 959px) {
  img.footer-img {
    margin-top: 20px;
}
  
  .footer .footer-sitemap .footer-item {
    margin: 5px 5px 0;
}

}

@media screen and (max-width: 640px) {
  body {
    min-height: 100vh;
    padding-bottom: 320px;
  }
  .footer {
  background-color: #e9f1ee;
}
  img.footer-img {
    width: 90%;
    padding: 0 1em;
    max-width: 200px;
}
  .footer .footer-sitemap .footer-item {
    margin: 0 0 5px;
    width: calc(100% / 2);
  }
  .footer .footer-sitemap a::before {
    left: 10px;
    right: 100%;
  }
  .footer .footer-sitemap .footer-item:nth-child(2n) a::after ,
  .footer .footer-sitemap .footer-item:last-child a::after {
    background-color: #333;
    bottom: 0;
    content: "";
    height: 1em;
    margin: auto;
    position: absolute;
    right: 10px;
    top: 0;
    width: 1px;
  }

  .footer .footer-sitemap a {
    font-size: 70%;
  }
  
  .footer-address,.footer-tel {
    font-size: 70%;
    margin-bottom: 0;
}
  
  .footer-copyright {
    background-color: #298464;
    font-size: 70%;
    margin: 20px 0 0;
}
}
