@media screen and (max-width: 600px) {

  .footer-ul {
    display: none; /* モバイル時に非表示 */
  }

  .footer-container h4 {
    margin-bottom: 30px;
  }

  /* リスト項目を縦に並べる */
  .footer-column {
    display: block;
    margin-bottom: 20px;
  }

  /* フッター全体を縦並びに */
  .footer-container {
    display: block;
  }

  .footer-bottom ul {
    display: flex;
    flex-direction: column; /* モバイル時は縦並びに */
    align-items: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
  }

  .footer-bottom ul li {
    margin-bottom: 10px; /* 項目間の余白を調整 */
  }

  .footer-bottom {
    display: block;
    color: #ffffff;
    background-color: #202020;
    text-align: center;
    padding: 20px 0;
  }

  .footer-bottom ul li a {
    color: #fff;
    text-decoration: none;
  }

}

@media screen and (min-width: 600px) {

  .footer-bottom {
    color: #ffffff;
    background-color: #202020;
    text-align: center;
    padding: 20px 0;
  }

  .footer-bottom ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row; /* デフォルトは横並び */
    justify-content: center;
  }

  .footer-bottom ul li {
    margin: 0 10px;
  }

  .footer-bottom ul li a {
    color: #ffffff;
    background-color: #202020;
    text-decoration: none;
    text-align: center;
  }

  .footer-bottom ul li a:hover {
    text-decoration: underline;
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
}

  footer {
    color: #ffffff;
    background-color: #202020;
    font-family: Arial, sans-serif;
  }
  
  .footer-column {
    flex: 1;
    padding: 0 20px;
  }
  
  .footer-column h4 {
    border-bottom: 1px solid #ddd;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column ul li {
    text-align: center;
    margin-bottom: 5px;
  }
  
  .footer-column ul li a {
    text-decoration: none;
    color: #000;
  }
  
  .footer-column ul li a:hover {
    text-decoration: underline;
  }
  
  /* フッター内のulに適用するスタイル */
  .footer-ul {
    list-style-type: none;
    padding: 0;
  }

  .footer-ul li {
    padding: 5px 0;
  }

  .footer-container h4 {
    margin-bottom: 15px;
  }