/* footer.css
   サイト全体のフッター（PC/SP切り替え） */

/* 共通 */
.site-footer {
  background-color: var(--color-primary);
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* PC版 */
@media screen and (min-width: 768px) {
  /* 上部を縦積み、テキスト白色 */
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  /* ナビリンク横並び */
  .footer-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 1rem 0 0;
    padding: 0;
  }
  .footer-nav li a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    position: relative;
  }
  .footer-nav li a::after {
    content: '>';
    margin-left: 0.5rem;
    color: #fff;
  }
  /* コピーライト黒帯全幅 */
  .footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 0.75rem 0;
    margin-top: 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  .footer-bottom p {
    margin: 0;
    color: #fff;
  }
}

/* SP版 */
@media screen and (max-width: 767px) {
  .site-footer {
    background-color: #f7f7f7;
  }
  .site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333;
    margin-top: 0;
  }
  .footer-logo {
    color: #333;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 1rem 0 0;
    list-style: none;
    padding: 0;
  }
  .footer-nav li a {
    display: block;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding: 0.75rem 0;
    position: relative;
  }
  .footer-nav li a::after {
    content: '>';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
  }
  .footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 0.75rem 0;
    margin-top: 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  .footer-bottom p {
    margin: 0;
    color: #fff;
  }
}
