@media screen and (min-width: 671px) {
  footer {
    width: 100%;
    z-index: 200;
    background-color: #fff;
    font-size: 80%;
    border-top: 1px solid;
    border-color: #000;
  }
  footer p {
    justify-content: center;
/* 横方向中央揃え */
    margin: auto;
    text-align: center;
    text-transform: none;
  }
  footer p:nth-child(2) {
    float: right;
  }
  footer .title ul {
    width: 50%;
    text-align: center;
    align-content: center;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    padding: 1% 0%;
  }
  footer .title ul li {
    width: 20%;
    z-index: auto;
  }
  footer .line .cnt {
    text-align: center;
    align-content: center;
    margin-right: auto;
    margin-left: auto;
    width: 60%;
    border-top: 1px solid;
    border-color: #000;
    padding: 0.5% 0%;
  }
  footer .cnt .nav {
    text-align: center;
    align-content: center;
    margin-right: auto;
    margin-left: auto;
    width: 50%;
    display: flex;
  }
  footer .cnt .nav ul {
    width: 20%;
    list-style: none;
  }
  footer .cnt .nav ul li {
    margin-bottom: 7px;
  }
  footer .cnt .nav a {
    text-decoration: none;
  }
  footer .cnt .nav a:link {
    color: #000;
  }
  footer .cnt .nav a:visited {
    color: #000;
  }
  footer .cnt .nav a:hover {
    color: #a9a9a9;
  }
  footer .cnt .nav a:active {
    color: #000;
  }
  footer .footer {
    border-top: 1px solid;
    border-color: #000;
    width: 100%;
    height: 2vh;
    background-color: #fff;
    padding: 1% 0%;
    bottom: 0;
  }
  footer .footer p {
    justify-content: center;
/* 横方向中央揃え */
    margin: auto;
    text-align: center;
    text-transform: none;
  }
  footer .footer p:nth-child(2) {
    float: right;
  }
}
@media screen and (max-width: 670px) {
  footer {
    position: relative;
    width: 100%;
    z-index: 300;
    background-color: #fff;
    font-size: 80%;
    border-top: 1px solid;
    border-color: #000;
  }
  footer .title {
    width: 100%;
  }
  footer .line {
    display: none;
  }
  footer .cnt {
    display: none;
  }
  footer .footer {
    border-top: 1px solid;
    border-color: #000;
    width: 100%;
    height: 3vh;
    background-color: #fff;
    padding: 1% 0%;
    bottom: 0;
  }
  footer .footer p {
    font-size: 2vw;
    justify-content: center;
/* 横方向中央揃え */
    margin: auto;
    text-align: center;
    text-transform: none;
  }
}
