@charset "utf-8";

/**
 * ============================================================================
 * File: page.css
 * Author: hack.code
 * Version: 1.0.0
 * Last Modified: 2026-2
 * ============================================================================
 */

 /* Color */
:root {
  --cat-1: #8b5cf6;
  --cat-2: #ec4899;
  --cat-3: #f97316;
  --cat-4: #3b82f6;
  --cat-5: #06b6d4;
  --cat-6: #22c55e;
}

/* Menu(PC) */
.menu-title {
  --bg: #0f172a;        /* slate-900 相当（背景） */
  --fg: #e2e8f0;        /* slate-200 相当（文字） */
  --bd: rgba(255,255,255,.10);

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 9999px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.menu-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--bg);
}

/* Badge */
.badge {
  background-color: var(--badge);
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1;
}

/* Page Navigation */
.pager {
  margin: 16px 0;
}
.pager-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
}
.pager-item, .pager-ctrl {
  display: flex;
}
.pager-btn, .pager-item a, .pager-item span {
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pager-item a:hover, .pager-btn:hover {
  background: #eaeaea;
}
.pager-item.is-active span {
  background: #1e293b;
  border-color: #ffffff;
  color: #ffffff;
  font-weight: 700;
}
.pager-ctrl.is-disabled .pager-btn,
.pager-ctrl.is-disabled span.pager-btn {
  opacity: 0.45;
  cursor: not-allowed;
}
.pager .material-icons {
  font-size: 20px;
  line-height: 1;
}
@media (max-width: 640px) {
  .pager-list {
    width: 100%;
    justify-content: space-between;
  }
  .pager-list {
    gap: 6px;
  }
  .pager-item a, .pager-item span, .pager-btn {
    padding: 0 10px;
    min-width: 38px;
    height: 44px;
  }
}

/* WYSIWYG */
.wysiwyg-body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #0f172a;
  overflow: visible;
}
.wysiwyg-body * {
  max-width: 100%;
}
.wysiwyg-body p, .wysiwyg-body ul, .wysiwyg-body ol, .wysiwyg-body li, .wysiwyg-body font, .wysiwyg-body span {
  background: transparent !important;
}
.wysiwyg-body font {
  color: inherit !important;
}
.wysiwyg-body p {
  margin: 0 0 12px;
}
.wysiwyg-body b, .wysiwyg-body strong {
  font-weight: 800;
}
.wysiwyg-body a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wysiwyg-body a:hover {
  opacity: .85;
}
.wysiwyg-body ul {
  margin: 10px 0 14px;
  padding: 0 0 0 1.35em !important;
  list-style: disc !important;
}
.wysiwyg-body ol {
  margin: 10px 0 14px;
  padding: 0 0 0 1.35em !important;
  list-style: decimal !important;
}
.wysiwyg-body li {
  margin: 6px 0;
}
.wysiwyg-body img {
  margin: 12px auto;
  width: auto;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
.wysiwyg-body iframe{
  margin: 16px auto;
  border: 0;
  background: #000;
  display: block;
}
