/* ============================
   スマホ追従メニュー
============================ */
.p-sp-fixed-menu {
  display: none;
}

@media screen and (max-width: 767px) {
  .p-sp-fixed-menu {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(93, 87, 89, 0.1);
    z-index: 800;
    padding: 8px 24px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }

  .p-sp-fixed-menu__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .p-sp-fixed-menu__item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .p-sp-fixed-menu__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    transition: opacity 0.3s ease;
  }

  .p-sp-fixed-menu__link:active {
    opacity: 0.7;
  }

  .p-sp-fixed-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .p-sp-fixed-menu__icon img {
    display: block;
    width: auto;
    max-width: 100%;
  }

  .p-sp-fixed-menu__item:nth-child(1) .p-sp-fixed-menu__icon {
    width: 32px;
    height: 32px;
  }

  .p-sp-fixed-menu__item:nth-child(2) .p-sp-fixed-menu__icon {
    width: 30px;
    height: 30px;
  }

  .p-sp-fixed-menu__item:nth-child(3) .p-sp-fixed-menu__icon {
    width: 28px;
    height: 30px;
  }

  .p-sp-fixed-menu__item:nth-child(4) .p-sp-fixed-menu__icon {
    width: 30px;
    height: 30px;
  }

  .p-sp-fixed-menu__text {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    line-height: var(--line-height-normal);
    margin: 0;
    margin-top: 0;
    text-align: center;
    flex-shrink: 0;
  }

  .p-sp-fixed-menu__icon + .p-sp-fixed-menu__text {
    margin-top: 0;
  }

  .p-sp-fixed-menu__item {
    min-height: 48px;
  }

  .p-sp-fixed-menu__link {
    min-height: 48px;
  }
}

