/* ========================================
   Patolaqshe Footer（SP調整）
   - .ptl-footer のみを対象にレスポンシブ最適化
   - 767px以下で適用
   ======================================== */

@media screen and (max-width: 767px) {
  /* background管理はstyle.css（global SP）で統一 */
  
  .ptl-footer-inner {
    padding: 30px 20px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .ptl-footer__logo,
  .ptl-footer__nav,
  .ptl-footer__salon {
    width: 100%;
  }

  .ptl-footer__logo {
    order: 1;
  }

  .ptl-footer__logo h2 {
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .ptl-footer__logo img {
    height: 32px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    content: url('../../img/headlogo.png') !important;
  }

  /* 下段グレー背景コンテナ（SP版：縦並び） */
  .ptl-footer__lower {
    padding: 16px 20px 32px 20px;
  }

  .ptl-footer__lower-inner {
    flex-direction: column;
    padding: 28px 20px;
    gap: 24px;
    border-radius: 8px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    background: rgba(248, 248, 248, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* ナビゲーション（SP版：縦並び） */
  .ptl-footer__nav {
    width: 100%;
    order: 1;
  }

  .ptl-footer__nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 6px;
    justify-items: center;
  }

  /* 2行目を中央寄せ（5-8番目） */
  .ptl-footer__nav-item:nth-child(5),
  .ptl-footer__nav-item:nth-child(6),
  .ptl-footer__nav-item:nth-child(7),
  .ptl-footer__nav-item:nth-child(8) {
    grid-row: 2;
  }
  
  .ptl-footer__nav-item:nth-child(5) {
    grid-column: 1;
  }
  
  .ptl-footer__nav-item:nth-child(6) {
    grid-column: 2;
  }
  
  .ptl-footer__nav-item:nth-child(7) {
    grid-column: 3;
  }
  
  .ptl-footer__nav-item:nth-child(8) {
    grid-column: 4;
  }

  .ptl-footer__nav-item {
    padding-left: 0;
  }

  .ptl-footer__nav-item:before,
  .ptl-footer__nav-separator {
    display: none;
  }

  .ptl-footer .ptl-footer__nav .ptl-footer__nav-link {
    font-size: 14px !important;
    letter-spacing: 0.08em !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  }

  /* SALON（SP版） */
  .ptl-footer__salon {
    order: 3;
    text-align: center;
  }

  .ptl-footer .ptl-footer__salon .ptl-footer__salon-label {
    font-size: 13px;
    margin-bottom: 10px;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  }

  .ptl-footer__salon-links {
    justify-content: center;
    gap: 18px;
  }

  .ptl-footer .ptl-footer__salon .ptl-footer__salon-link {
    font-size: 13px;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  }

  /* コピーライト（SP版：中央寄せ） */
  .ptl-footer__copyright {
    width: 100%;
    padding: 0;
    text-align: center;
    order: 2;
  }

  .ptl-footer .ptl-footer__copyright p {
    font-size: 11px;
    letter-spacing: 0.02em;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  }
}
