/* 活動方針タブ（スマホ専用） */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .tabs-header {
    display: flex;
    align-items: center;
    border: 1px solid #d9d2cc;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 0;
  }

  .tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    background: #ffffff;
    border: none;
    border-right: 1px solid #e8e2dc;
    cursor: pointer;
    transition: background-color 0.25s ease;
  }

  .tab-btn:last-child {
    border-right: none;
  }

  .tab-btn.active {
    background: #f7f2ec;
  }

  .tab-number {
    font-size: 14px;
    font-weight: 700;
    color: #2d2424;
    line-height: 1;
  }

  .tab-label {
    font-size: 12px;
    font-weight: 600;
    color: #2d2424;
    white-space: nowrap;
    line-height: 1;
  }

  .tabs-content {
    margin-top: 0;
    border: 1px solid #d9d2cc;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    padding: 10px;
  }

  .tab-panel {
    display: none;
    animation: fadeIn 0.28s ease;
  }

  .tab-panel.active {
    display: block;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .tab-panel {
      animation: none;
    }
  }

}

@media (max-width: 380px) {
  .tab-btn {
    padding: 9px 4px;
    gap: 2px;
  }

  .tab-number {
    font-size: 13px;
  }

  .tab-label {
    font-size: 10px;
  }
}
