/**
 * style.css
 * @version 5
 */

/* ==========================================
   コンカフェクエスト397 - 新デザイン v2
   GameWith風 + ドラクエアクセント
   ========================================== */

/* カスタムプロパティ - ダークテーマ v6 */
:root {
  /* ベースカラー（ダーク） */
  --bg-main: #111;
  --bg-card: rgba(20,20,40,.78);
  --bg-card-solid: #181830;
  --bg-card-border: rgba(255,255,255,.1);
  --bg-dark: #1a1a2e;
  --bg-input: rgba(255,255,255,.08);
  
  /* テキスト（ダーク用） */
  --text-primary: #fff;
  --text-secondary: rgba(255,255,255,.5);
  --text-tertiary: rgba(255,255,255,.35);
  --text-light: #ffffff;
  --text-on-card: rgba(255,255,255,.85);
  
  /* アクセント（ドラクエ風） */
  --accent-blue: #4a90d9;
  --accent-blue-light: #7cb3f0;
  --accent-yellow: #ffd700;
  --accent-orange: #ff9500;
  --accent-green: #34c759;
  --accent-red: #ff3b30;
  --accent-purple: #af52de;
  
  /* RPGウィンドウ */
  --rpg-border: #5dade2;
  --rpg-bg: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
  
  /* シャドウ（ダーク用） */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  
  /* ボーダー */
  --border-subtle: rgba(255,255,255,.06);
  --border-light: rgba(255,255,255,.1);
  
  /* 角丸 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-icon: 22%;
  
  /* フォント */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-pixel: "DotGothic16", "PixelMplus10", monospace;
}

/* リセット */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   レイアウト
   ========================================== */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px;
  padding-bottom: 100px;
}

.section {
  margin-bottom: 24px;
}

/* ==========================================
   ヘッダー
   ========================================== */
.header {
  background: var(--bg-dark);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 640px;
  margin: 0 auto;
}

.header__menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================
   サイドメニュー（ハンバーガー）
   ========================================== */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  visibility: hidden;
  transition: visibility 0.3s;
}

.side-menu.is-open {
  visibility: visible;
}

.side-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.side-menu.is-open .side-menu__overlay {
  opacity: 1;
}

.side-menu__content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: var(--bg-card);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.side-menu.is-open .side-menu__content {
  transform: translateX(0);
}

.side-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-dark);
  color: white;
}

.side-menu__logo {
  font-family: 'Dela Gothic One', cursive;
  font-size: 1.05rem;
  letter-spacing: .04em;
}

.side-menu__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.side-menu__nav {
  flex: 1;
  padding: 8px 0;
}

.side-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.side-menu__item:hover {
  background: rgba(37, 99, 235, 0.06);
  border-left-color: var(--accent-blue);
  padding-left: 24px;
  color: var(--accent-blue);
}

.side-menu__item--active {
  color: var(--accent-blue);
  font-weight: 600;
}

.side-menu__item--highlight {
  color: var(--accent-purple);
}

.side-menu__icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.side-menu__divider {
  height: 1px;
  background: #e5e5e7;
  margin: 8px 16px;
}

.side-menu__footer {
  padding: 16px;
  border-top: 1px solid #e5e5e7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.side-menu__footer a {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo-icon {
  font-size: 1.5rem;
}

.header__logo-text {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

.header__action {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.2rem;
}

/* ==========================================
   セクションタイトル（ドラクエ風）
   ========================================== */
.section-title {
  background: var(--rpg-bg);
  border: 3px solid var(--rpg-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section-title__icon {
  font-size: 1.1rem;
}

.section-title__text {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--text-light);
  letter-spacing: 2px;
}

.section-title--sm {
  padding: 8px 12px;
}

.section-title--sm .section-title__text {
  font-size: 0.85rem;
}

/* ==========================================
   カード - 基本
   ========================================== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card__inner {
  padding: 16px;
}

/* ==========================================
   店舗カード
   ========================================== */
.shop-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.shop-card__image {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-icon);
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  font-weight: 700;
  position: relative;
}
/* 画像fallback: 名前を下に常時配置、画像は上に重ねる */
.shop-card__image--withfb {
  background: transparent !important;
}
.shop-card__fb-name {
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-all;
  text-align: center;
  padding: 8px;
  z-index: 1;
}
.shop-card__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.shop-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.shop-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.shop-card__badge {
  flex-shrink: 0;
  padding: 2px 8px;
  background: var(--accent-purple);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
}

.shop-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.shop-card__price {
  display: flex;
  align-items: center;
  gap: 4px;
}

.shop-card__price-icon {
  color: var(--accent-yellow);
}

.shop-card__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.shop-card__status--open {
  background: rgba(52, 199, 89, 0.15);
  color: var(--accent-green);
}

.shop-card__status--busy {
  background: rgba(255, 149, 0, 0.15);
  color: var(--accent-orange);
}

.shop-card__status--full {
  background: rgba(255, 59, 48, 0.15);
  color: var(--accent-red);
}

.shop-card__message {
  font-size: 0.8rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.shop-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--accent-blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.shop-card__btn:hover {
  background: #3a7bc8;
}

.shop-card__favorite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;
  min-width: 44px;
  min-height: 32px;
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.shop-card__favorite:hover {
  border-color: #ff6b8a;
  color: #ff6b8a;
}

.shop-card__favorite.is-active,
.shop-card__favorite.is-fav {
  background: rgba(255,107,107,.1);
  border-color: #ff6b8a;
  color: #ff6b8a;
}

/* ==========================================
   ギャラリースライダー
   ========================================== */
.gallery {
  margin: 0 -16px;
  overflow: hidden;
  position: relative;
}

.gallery__track {
  display: flex;
  gap: 12px;
  padding: 8px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  flex-shrink: 0;
  width: 140px;
}

.gallery__image {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-icon);
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: var(--shadow-md);
}

.gallery__image--noimg {
  background: rgba(20,20,40,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.gallery__image--noimg span {
  color: rgba(255,255,255,.4);
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
}

.gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__name {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================
   コマンドメニュー
   ========================================== */
.command-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.command-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.command-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.command-btn__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #667eea 100%);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.command-btn:nth-child(2) .command-btn__icon {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #c471ed 100%);
}

.command-btn:nth-child(3) .command-btn__icon {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #f7b733 100%);
}

.command-btn__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.command-btn__desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ==========================================
   ニュース速報
   ========================================== */
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.news-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f2;
  transition: background 0.2s;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: rgba(74,144,217,.1);
}

.news-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  flex-shrink: 0;
}

.news-item__content {
  flex: 1;
  min-width: 0;
}

.news-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.news-item__shop {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.news-item__time {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.news-item__text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-more {
  display: block;
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-blue);
  background: #f8f8fa;
}

/* ==========================================
   エリア選択
   ========================================== */
.area-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.area-gps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-green) 0%, #30d158 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.area-gps-btn:hover {
  opacity: 0.9;
}

.area-divider {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.area-divider::before,
.area-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e7;
}

.area-divider span {
  padding: 0 12px;
}

.area-accordion {
  border-top: 1px solid #f0f0f2;
}

.area-accordion__header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  border-bottom: 1px solid #f0f0f2;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s;
}

.area-accordion__header:hover {
  background: rgba(255,255,255,.05);
}

.area-accordion__header.is-open {
  background: rgba(74,144,217,.1);
}

.area-accordion__header span:first-child {
  flex: 1;
  text-align: left;
}

.area-accordion__count {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
  min-width: 50px;
  text-align: right;
  margin-right: 8px;
}

.area-accordion__arrow {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: transform 0.2s;
}

.area-accordion__header.is-open .area-accordion__arrow {
  transform: rotate(90deg);
}

.area-accordion__content {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  background: rgba(20,20,40,.5);
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.area-accordion__content.is-open {
  padding: 12px 16px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.area-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  color: #fff;
  transition: all 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.area-btn:hover {
  border-color: rgba(124,179,240,.5);
  background: rgba(74,144,217,.2);
  color: #7cb3f0;
}

.area-btn small {
  font-size: 0.65rem;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}

/* ==========================================
   ボトムナビゲーション
   ========================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid #e5e5e7;
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 100;
}

.bottom-nav__inner {
  display: flex;
  justify-content: space-around;
  max-width: 640px;
  margin: 0 auto;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  color: var(--text-secondary);
  font-size: 0.65rem;
  transition: color 0.2s;
}

.bottom-nav__item.is-active {
  color: var(--accent-blue);
}

.bottom-nav__icon {
  font-size: 1.4rem;
}

/* ==========================================
   フッター
   ========================================== */
.footer {
  padding: 24px 16px;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

/* サイトマップ */
.sitemap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.sitemap__title {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rpg-border);
}

.sitemap__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

@media (min-width: 480px) {
  .sitemap__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sitemap__section {
  min-width: 0;
}

.sitemap__heading {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e5e7;
}

.sitemap__list {
  list-style: none;
  font-size: 0.75rem;
}

.sitemap__list > li {
  margin-bottom: 4px;
}

.sitemap__list a {
  color: var(--text-secondary);
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 0;
}

.sitemap__list a:hover {
  color: var(--accent-blue);
}

.sitemap__list a::before {
  content: '└ ';
  color: #d1d1d6;
}

/* ネストされた階層 */
.sitemap__nested {
  margin-top: 4px;
}

.sitemap__nested > span {
  color: var(--text-secondary);
  font-size: 0.7rem;
  display: block;
  margin-bottom: 2px;
  padding-left: 10px;
}

.sitemap__nested > span::before {
  content: '├ ';
  color: #d1d1d6;
}

.sitemap__nested ul {
  list-style: none;
  padding-left: 16px;
  margin-top: 2px;
}

.sitemap__nested ul li {
  margin-bottom: 2px;
}

.sitemap__nested ul a {
  font-size: 0.7rem;
}

.sitemap__nested ul a::before {
  content: '└ ';
  color: #e5e5e7;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.footer__links a {
  color: var(--text-secondary);
}

.footer__copyright {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ==========================================
   アニメーション
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* フェードインアニメーション適用 */
.animate-fadeInUp {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.animate-slideInRight {
  animation: slideInRight 0.4s ease forwards;
  opacity: 0;
}

/* 遅延 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ホバーアニメーション強化 */
.shop-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
}

.command-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.command-btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.command-btn:hover .command-btn__icon {
  animation: bounce 0.5s ease;
}

.gallery__item {
  transition: transform 0.3s ease;
}

.gallery__item:hover {
  transform: scale(1.05);
}

/* お気に入りボタンアニメーション */
.shop-card__favorite {
  transition: color 0.3s ease, border-color 0.3s ease;
}

.shop-card__favorite.is-active {
  animation: pulse 0.3s ease;
}

/* ボタンリップル効果用 */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.ripple:active::after {
  width: 200%;
  height: 200%;
}

/* ==========================================
   カテゴリタブ（横スクロール）
   ========================================== */
.category-tabs-wrap {
  margin: 0 -16px 12px;
  padding: 0 16px;
  overflow: hidden;
}

.category-tabs {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.category-tabs__item {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1.5px solid #e5e5e7;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.category-tabs__item:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.category-tabs__item.is-active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
}

/* ==========================================
   用語集カード（内容表示版）
   ========================================== */
.glossary-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.glossary-item {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f2;
}

.glossary-item:last-child {
  border-bottom: none;
}

.glossary-item__term {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.glossary-item__term::before {
  content: '▶';
  font-size: 0.6rem;
  color: var(--accent-yellow);
}

.glossary-item__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 14px;
}

.glossary-more {
  display: block;
  padding: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-blue);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 12px;
  transition: all 0.2s;
}

.glossary-more:hover {
  background: #e3f2fd;
}

/* ==========================================
   横長バナースライダー
   ========================================== */
.banner-slider {
  margin: 0 -16px;
  overflow: hidden;
}

.banner-slider__track {
  display: flex;
  gap: 12px;
  padding: 4px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.banner-slider__track::-webkit-scrollbar {
  display: none;
}

.banner-slider__item {
  flex-shrink: 0;
  width: calc(100% - 40px);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.banner-slider__item:hover {
  transform: scale(1.02);
}

.banner-slider__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.banner-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slider__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}

.banner-slider__tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--accent-orange);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.banner-slider__tag--new {
  background: var(--accent-red);
}

.banner-slider__tag--feature {
  background: var(--accent-blue);
}

.banner-slider__tag--event {
  background: var(--accent-purple);
}

.banner-slider__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.banner-slider__desc {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* ドットインジケーター */
.banner-slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.banner-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d1d6;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.banner-slider__dot.is-active {
  background: var(--accent-blue);
  width: 20px;
  border-radius: 4px;
}

/* ==========================================
   特集カードスライダー
   ========================================== */
.feature-slider {
  margin: 0 -16px;
  overflow: hidden;
}

.feature-slider__track {
  display: flex;
  gap: 12px;
  padding: 8px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.feature-slider__track::-webkit-scrollbar {
  display: none;
}

.feature-slider__item {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.feature-slider__item:hover {
  transform: translateY(-4px);
}

.feature-slider__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.feature-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-slider__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
}

.feature-slider__content {
  padding: 12px;
}

.feature-slider__tag {
  display: inline-block;
  padding: 2px 6px;
  background: #f0f0f2;
  color: var(--text-secondary);
  font-size: 0.65rem;
  border-radius: 4px;
  margin-bottom: 6px;
}

.feature-slider__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-slider__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ==========================================
   求人バナー
   ========================================== */
.recruit-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-lg);
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruit-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.recruit-banner__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.recruit-banner__content {
  flex: 1;
}

.recruit-banner__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.recruit-banner__desc {
  font-size: 0.75rem;
  opacity: 0.9;
}

.recruit-banner__arrow {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* ==========================================
   お知らせセクション
   ========================================== */
.notice-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.notice-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f2;
  transition: background 0.2s;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background: rgba(74,144,217,.1);
}

.notice-item__date {
  font-size: 0.7rem;
  color: var(--text-secondary);
  min-width: 70px;
}

.notice-item__badge {
  padding: 2px 6px;
  background: var(--accent-blue);
  color: white;
  font-size: 0.6rem;
  border-radius: 4px;
  margin-right: 8px;
}

.notice-item__badge--important {
  background: var(--accent-red);
}

.notice-item__text {
  flex: 1;
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* ==========================================
   ユーティリティ追加
   ========================================== */
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }

.text-center { text-align: center; }

/* カードリスト */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* もっと見るボタン */
.more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px;
  background: var(--accent-blue);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.2s;
}

.more-btn:hover {
  background: #3a7bc8;
}

/* サブセクション */
.sub-accordion {
  margin-top: 8px;
  padding-left: 12px;
}

.sub-accordion__header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  background: rgba(20,20,40,.7);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  gap: 8px;
}

.sub-accordion__header:hover {
  border-color: rgba(124,179,240,.4);
  background: rgba(74,144,217,.15);
}

.sub-accordion__name {
  flex: 1;
  text-align: left;
}

.sub-accordion__count {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.sub-accordion__arrow {
  font-size: 0.7rem;
  color: var(--text-secondary);
  transition: transform 0.2s;
}

.sub-accordion__header.is-open .sub-accordion__arrow {
  transform: rotate(90deg);
}

.sub-accordion__content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.sub-accordion__content.is-open {
  padding: 8px 0;
}

/* ==========================================
   下層ページ共通
   ========================================== */
.header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.3rem;
  text-decoration: none;
}

.header__favorite {
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
}

.header__favorite.is-active {
  color: #ff6b8a;
}

.footer--simple {
  padding: 16px;
  text-align: center;
}

/* ==========================================
   検索バー
   ========================================== */
.search-bar {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.search-bar__input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
  background: transparent;
  color: #fff;
}

.search-bar__input:focus {
  border-color: var(--accent-blue);
}

.search-bar__btn {
  padding: 10px 16px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
}

/* ==========================================
   フィルターバー
   ========================================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-bar__count {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.filter-bar__actions {
  display: flex;
  gap: 8px;
}

.filter-bar__select {
  padding: 8px 12px;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  outline: none;
  background: white;
}

.filter-bar__filter-btn {
  padding: 8px 14px;
  background: var(--bg-dark);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
}

/* ==========================================
   店舗カード - タグ追加
   ========================================== */
.shop-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.shop-card__tag {
  padding: 2px 6px;
  background: #f0f0f2;
  color: var(--text-secondary);
  font-size: 0.65rem;
  border-radius: 4px;
}

/* ==========================================
   モーダル
   ========================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
}

.modal__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background: var(--bg-card);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #e5e5e7;
}

.modal__title {
  font-size: 1rem;
  font-weight: 600;
}

.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f2;
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
}

.modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.modal__footer {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #e5e5e7;
}

.modal__btn {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.modal__btn--reset {
  background: #f0f0f2;
  border: none;
  color: var(--text-secondary);
}

.modal__btn--submit {
  background: var(--accent-blue);
  border: none;
  color: white;
}

/* フィルターセクション */
.filter-section {
  margin-bottom: 20px;
}

.filter-section__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.filter-section__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f5f5f7;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-checkbox:has(input:checked) {
  background: var(--accent-blue);
  color: white;
}

.filter-checkbox input {
  display: none;
}

/* ==========================================
   店舗詳細ページ
   ========================================== */
.detail-hero {
  margin: 0 -16px;
}

.detail-hero__main {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e5e5e7;
}

.detail-hero__thumbs {
  display: flex;
  gap: 4px;
  padding: 8px 16px;
  overflow-x: auto;
}

.detail-hero__thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: #e5e5e7;
}

.detail-hero__thumb--more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 店舗ヘッダー */
.detail-header {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.detail-header__badges {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.detail-header__badge {
  padding: 3px 8px;
  background: var(--accent-purple);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
}

.detail-header__badge--genre {
  background: var(--accent-blue);
}

.detail-header__name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-header__catch {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.detail-header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.detail-header__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-header__stars {
  color: var(--accent-yellow);
  font-size: 0.9rem;
}

.detail-header__score {
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-header__reviews {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.detail-header__status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.detail-header__status--open {
  background: rgba(52, 199, 89, 0.15);
  color: var(--accent-green);
}

.detail-header__status--closed {
  background: rgba(255, 59, 48, 0.15);
  color: var(--accent-red);
}

.detail-header__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 10px;
  background: #f0f0f2;
  color: var(--text-secondary);
  font-size: 0.75rem;
  border-radius: 20px;
}

/* クイックアクション */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-actions__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.7rem;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
}

.quick-actions__icon {
  font-size: 1.2rem;
}

/* 店舗速報 */
.detail-news {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.detail-news__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f2;
}

.detail-news__item:last-child {
  border-bottom: none;
}

.detail-news__badge {
  padding: 2px 8px;
  background: var(--accent-green);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
}

.detail-news__badge--event {
  background: var(--accent-purple);
}

.detail-news__time {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.detail-news__text {
  width: 100%;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* 詳細タブ */
.detail-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.detail-tabs__item {
  flex: 1;
  min-width: fit-content;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
}

.detail-tabs__item.is-active {
  background: var(--accent-blue);
  color: white;
}

/* 基本情報カード */
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.info-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rpg-border);
}

.info-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card__row {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
}

.info-card__row dt {
  width: 80px;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.info-card__row dd {
  flex: 1;
  color: var(--text-primary);
}

.info-card__row dd a {
  color: var(--accent-blue);
}

.info-card__note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.info-card__map {
  margin-top: 12px;
}

.info-card__map-link {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--accent-blue);
  text-align: right;
}

/* メニュー */
.menu-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.menu-section__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f2;
}

.menu-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.menu-item__name {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.menu-item__desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.menu-item__price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  white-space: nowrap;
}

/* キャスト */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cast-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cast-card__image {
  aspect-ratio: 1;
  background: #e5e5e7;
}

.cast-card__info {
  padding: 12px;
  text-align: center;
}

.cast-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cast-card__role {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.cast-card__status {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.cast-card__status--on {
  color: var(--accent-green);
  font-weight: 500;
}

.cast-card__status--later {
  color: var(--accent-orange);
}

/* ギャラリーグリッド */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-grid__item {
  aspect-ratio: 1;
  background: #e5e5e7;
  border-radius: var(--radius-sm);
}

/* レビュー */
.review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.review-summary__score {
  text-align: center;
}

.review-summary__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.review-summary__stars {
  display: block;
  color: var(--accent-yellow);
  font-size: 0.9rem;
}

.review-summary__count {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.review-summary__btn {
  padding: 10px 16px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-item {
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.review-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.review-item__user {
  font-size: 0.85rem;
  font-weight: 600;
}

.review-item__rating {
  color: var(--accent-yellow);
  font-size: 0.8rem;
}

.review-item__date {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.review-item__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-primary);
}

/* 関連店舗 */
.related-shops {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0;
}

.related-shop {
  flex-shrink: 0;
  width: 120px;
  text-align: center;
}

.related-shop__image {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: var(--radius-icon);
  background: #e5e5e7;
  box-shadow: var(--shadow-sm);
}

.related-shop__name {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.related-shop__area {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ==========================================
   検索ページ
   ========================================== */
.search-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.search-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
}

.search-form__input:focus {
  border-color: var(--accent-blue);
}

.search-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.search-section {
  margin-bottom: 16px;
}

.search-section:last-child {
  margin-bottom: 0;
}

.search-section__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.search-section__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f5f5f7;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.search-checkbox:has(input:checked) {
  background: var(--accent-blue);
  color: white;
}

.search-checkbox input {
  display: none;
}

.search-checkbox--icon {
  flex-direction: column;
  padding: 12px;
  min-width: 80px;
  text-align: center;
}

.search-checkbox__icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.search-actions {
  display: flex;
  gap: 12px;
}

.search-actions__reset {
  flex: 1;
  padding: 14px;
  background: #f0f0f2;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.search-actions__submit {
  flex: 2;
  padding: 14px;
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
}

/* ==========================================
   ギルドページ
   ========================================== */
.guild-intro {
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.guild-intro__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.guild-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guild-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.guild-card:hover {
  transform: translateX(4px);
}

.guild-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.guild-card__info {
  flex: 1;
}

.guild-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.guild-card__count {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.guild-card__arrow {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.more-link {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-top: 8px;
}

/* 特集カード */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature-card__image {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: #e5e5e7;
  position: relative;
}

.feature-card__badge {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 6px;
  background: var(--accent-red);
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 4px;
}

.feature-card__content {
  flex: 1;
  min-width: 0;
}

.feature-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.feature-card__desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.feature-card__date {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ランキング */
.ranking-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}

.ranking-tabs__item {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

.ranking-tabs__item.is-active {
  background: var(--accent-blue);
  color: white;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.ranking-item__rank {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e7;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.ranking-item__rank--gold {
  background: linear-gradient(135deg, #ffd700, #ffec8b);
  color: #8b7500;
}

.ranking-item__rank--silver {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #666;
}

.ranking-item__rank--bronze {
  background: linear-gradient(135deg, #cd7f32, #daa06d);
  color: #5c3a21;
}

.ranking-item__image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg,#1a1a2e,#0d0d1a);
  flex-shrink: 0;
  overflow: hidden;
}







.ranking-item__info {
  flex: 1;
}

.ranking-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.ranking-item__area {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.ranking-item__rating {
  font-size: 0.75rem;
  color: var(--accent-yellow);
}

/* エリアリンク */
.area-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.area-link__name {
  font-size: 0.9rem;
  font-weight: 500;
}

.area-link__count {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================
   マイページ
   ========================================== */
.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  background: var(--rpg-bg);
  border: 3px solid var(--rpg-border);
  border-radius: var(--radius-lg);
  color: white;
}

.profile-card__avatar {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.profile-card__avatar-icon {
  font-size: 2rem;
}

.profile-card__info {
  flex: 1;
}

.profile-card__name {
  font-family: var(--font-pixel);
  font-size: 1rem;
  margin-bottom: 4px;
}

.profile-card__level {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 2px;
}

.profile-card__exp {
  font-size: 0.7rem;
  opacity: 0.7;
}

.profile-card__login {
  padding: 8px 16px;
  background: var(--accent-blue);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.status-item__value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.status-item__label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* コンパクト店舗カード */
.shop-card--compact {
  padding: 12px;
  align-items: center;
}

.shop-card--compact .shop-card__image {
  width: 50px;
  height: 50px;
}

.shop-card--compact .shop-card__content {
  gap: 2px;
}

.shop-card--compact .shop-card__name {
  font-size: 0.9rem;
}

.shop-card__area {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.shop-card__fav-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid #e5e5e7;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.shop-card__fav-btn.is-active {
  border-color: #ff6b8a;
  color: #ff6b8a;
}

/* 履歴 */
.history-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0;
}

.history-item {
  flex-shrink: 0;
  flex: 1;
  text-align: center;
}

.history-item-wrap {
  position: relative;
  flex-shrink: 0;
  width: 100px;
}

.history-item__delete {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background: rgba(255, 59, 48, 0.9);
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 0.7rem;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.history-item-wrap:hover .history-item__delete {
  opacity: 1;
}

.history-item__image {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: var(--radius-icon);
  background: #e5e5e7;
}

.history-item__name {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item__time {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.history-clear {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: none;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* マイレビュー */
.my-review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-review-item {
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.my-review-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.my-review-item__shop {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.my-review-item__rating {
  color: var(--accent-yellow);
  font-size: 0.8rem;
}

.my-review-item__date {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.my-review-item__text {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.my-review-item__actions {
  display: flex;
  gap: 8px;
}

.my-review-item__edit,
.my-review-item__delete {
  padding: 6px 12px;
  background: #f0f0f2;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.my-review-item__delete {
  color: var(--accent-red);
}

/* マイページメニュー */
.mypage-menu {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.mypage-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #f0f0f2;
}

.mypage-menu__item:last-child {
  border-bottom: none;
}

.mypage-menu__icon {
  font-size: 1.2rem;
}

.mypage-menu__label {
  flex: 1;
  font-size: 0.9rem;
}

.mypage-menu__arrow {
  color: var(--text-secondary);
}

/* ==========================================
   求人ページ
   ========================================== */
.recruit-intro {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-lg);
  color: white;
}

.recruit-intro__icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.recruit-intro__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.recruit-intro__text {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.6;
}

.recruit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.recruit-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #f0f0f2;
}

.recruit-card__image {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-icon);
  background: #e5e5e7;
}

.recruit-card__info {
  flex: 1;
}

.recruit-card__badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 4px;
}

.recruit-card__badge--new {
  background: var(--accent-blue);
}

.recruit-card__badge--premium {
  background: var(--accent-yellow);
  color: #333;
}

.recruit-card__shop {
  font-size: 0.95rem;
  font-weight: 600;
}

.recruit-card__area {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.recruit-card__body {
  padding: 16px;
}

.recruit-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.recruit-card__conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.recruit-card__condition {
  padding: 4px 10px;
  background: #f5f5f7;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.recruit-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.recruit-card__footer {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid #f0f0f2;
}

.recruit-card__btn {
  flex: 1;
  padding: 12px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.recruit-card__save {
  padding: 12px 16px;
  background: none;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.recruit-card__save.is-active {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.shop-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 2px solid var(--rpg-border);
  border-radius: var(--radius-lg);
}

.shop-banner__icon {
  font-size: 2rem;
}

.shop-banner__content {
  flex: 1;
}

.shop-banner__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.shop-banner__desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.shop-banner__arrow {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

/* ==========================================
   評価システム（アクションボタン）
   ========================================== */
.action-summary {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.action-summary__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.action-summary__icon {
  font-size: 1.2rem;
}

.action-summary__title {
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
}

.action-summary__total {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.action-summary__total strong {
  color: var(--accent-blue);
  font-size: 1rem;
}

.action-summary__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 2px solid #e5e5e7;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn:hover {
  border-color: var(--accent-blue);
  background: rgba(74, 144, 217, 0.05);
}

.action-btn.is-active {
  border-color: var(--accent-blue);
  background: rgba(74, 144, 217, 0.1);
}

.action-btn__icon {
  font-size: 1.8rem;
}

.action-btn__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
}

.action-btn__count {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: #f0f0f2;
  padding: 2px 10px;
  border-radius: 20px;
}

.action-btn.is-active .action-btn__count {
  background: var(--accent-blue);
  color: white;
}

.action-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(52, 199, 89, 0.1);
  border-radius: var(--radius-md);
  color: var(--accent-green);
}

.action-done__icon {
  font-size: 1.2rem;
}

.action-done__text {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================
   掲示板（店舗からのひとこと）
   ========================================== */
.bulletin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bulletin-item {
  display: block;
  padding: 14px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bulletin-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bulletin-item__shop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.bulletin-item__image {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-icon);
  flex-shrink: 0;
}

.bulletin-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bulletin-item__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.bulletin-item__area {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.bulletin-item__message {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.bulletin-item__time {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ==========================================
   ランキング改修
   ========================================== */
.ranking-period-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.ranking-period-tabs__item {
  flex: 1;
  padding: 10px;
  background: var(--bg-card);
  border: 2px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.ranking-period-tabs__item.is-active {
  border-color: var(--accent-blue);
  background: rgba(74, 144, 217, 0.1);
  color: var(--accent-blue);
}

/* ==========================================
   エリアフィルター（ランキング内）
   ========================================== */
.ranking-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.area-filter {
  margin-bottom: 16px;
  border-top: 1px solid #f0f0f2;
  padding-top: 12px;
}

.area-filter__header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  background: #f8f8fa;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.area-filter__header:hover {
  background: #f0f0f2;
}

.area-filter__label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-right: 8px;
}

.area-filter__current {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.area-filter__icon {
  font-size: 0.7rem;
  color: var(--text-secondary);
  transition: transform 0.2s;
}

.area-filter__header.is-open .area-filter__icon {
  transform: rotate(180deg);
}

.area-filter__body {
  display: none;
  padding: 12px 0;
}

.area-filter__body.is-open {
  display: block;
}

.area-filter__btn {
  display: inline-block;
  padding: 6px 12px;
  margin: 3px;
  background: #f8f8fa;
  border: 1px solid #e5e5e7;
  border-radius: 16px;
  font-size: 0.8rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.area-filter__btn:hover {
  background: rgba(74, 144, 217, 0.1);
  border-color: var(--accent-blue);
}

.area-filter__btn.is-active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
}

.area-filter__btn--sm {
  padding: 4px 10px;
  font-size: 0.75rem;
}

.area-filter__group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e5e5e7;
}

.area-filter__group-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.area-filter__group-items {
  margin-bottom: 6px;
}

.area-filter__sub {
  padding-left: 8px;
}

/* ==========================================
   ランキングリスト（線区切り）
   ========================================== */
.ranking-list-line {
  border-top: 1px solid #f0f0f2;
}

.ranking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f2;
  transition: background 0.2s;
}

.ranking-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.ranking-row__rank {
  min-width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f2;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.ranking-row__rank--gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  color: #5d4e00;
}

.ranking-row__rank--silver {
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  color: #424242;
}

.ranking-row__rank--bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #b06c28 100%);
  color: #fff;
}

.ranking-row__image {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.ranking-row__main {
  flex: 1;
  min-width: 0;
}

.ranking-row__name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-row__area {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.ranking-row__stats {
  font-size: 0.65rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-row__change {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ranking-row__change--up {
  background: rgba(52, 199, 89, 0.15);
  color: var(--accent-green);
}

.ranking-row__change--down {
  background: rgba(142, 142, 147, 0.1);
  color: #8e8e93;
}

.ranking-row__change--stay {
  background: rgba(142, 142, 147, 0.1);
  color: #8e8e93;
}

.ranking-row__change--new {
  background: rgba(74, 144, 217, 0.15);
  color: var(--accent-blue);
}

/* ==========================================
   マイページ追加スタイル
   ========================================== */

/* プロフィールカード（コンパクト版） */
.profile-card--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-card__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.profile-card--compact .profile-card__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.profile-card--compact .profile-card__avatar-icon {
  font-size: 1.8rem;
}

.profile-card--compact .profile-card__name {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-card__avatar {
  position: relative;
}

.profile-card__avatar-edit {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: #f0f0f2;
  border: none;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: not-allowed;
  opacity: 0.8;
}

.locked-feature {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: #f0f0f2;
  padding: 3px 8px;
  border-radius: 10px;
}

.locked-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #f0f0f2;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: not-allowed;
  flex-shrink: 0;
}

.locked-btn__icon {
  font-size: 0.8rem;
}

.local-storage-note {
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
  padding: 8px;
  background: rgba(255, 193, 7, 0.08);
  border-radius: var(--radius-sm);
}

.status-item--link {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.status-item--link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 評価履歴（時系列） */
.rating-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rating-timeline__item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid #e5e5e7;
}

.rating-timeline__item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
}

.rating-timeline__delete {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: rgba(142, 142, 147, 0.2);
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.7rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.rating-timeline__item:hover .rating-timeline__delete {
  opacity: 1;
}

.rating-timeline__delete:hover {
  background: rgba(255, 59, 48, 0.2);
  color: var(--accent-red);
}

.rating-timeline__date {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.rating-timeline__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.rating-timeline__image {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.rating-timeline__main {
  flex: 1;
  min-width: 0;
}

.rating-timeline__name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating-timeline__actions {
  display: flex;
  gap: 4px;
  font-size: 1rem;
}

.rating-timeline__memo {
  width: 100%;
  padding: 8px 10px;
  background: #f8f8fa;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  resize: none;
  min-height: 40px;
}

.rating-timeline__memo:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* メニュー修正 */
.mypage-menu__item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: none;
  border-bottom: 1px solid #f0f0f2;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.mypage-menu__item:hover {
  background: #f8f8fa;
}

.mypage-menu__item:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.mypage-menu__item:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-bottom: none;
}

.mypage-menu__item--locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.mypage-menu__item--locked:hover {
  background: var(--bg-card);
}

.mypage-menu__icon {
  font-size: 1.1rem;
  margin-right: 12px;
}

.mypage-menu__label {
  flex: 1;
  font-size: 0.9rem;
}

.mypage-menu__arrow {
  color: var(--text-secondary);
}

.mypage-menu__status {
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: #f0f0f2;
  padding: 3px 8px;
  border-radius: 10px;
}

/* 通知設定セクション */
.mypage-menu__notification {
  padding: 14px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid #f0f0f2;
}

.mypage-menu__notification-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.mypage-menu__notification-header .mypage-menu__icon {
  margin-right: 12px;
}

.mypage-menu__notification-header .mypage-menu__label {
  flex: 1;
}

.mypage-menu__notification-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}

.mypage-menu__notification-status.status--on {
  background: rgba(52, 199, 89, 0.15);
  color: var(--accent-green);
}

.mypage-menu__notification-status.status--off {
  background: rgba(142, 142, 147, 0.15);
  color: #8e8e93;
}

.mypage-menu__notification-status.status--disabled {
  background: rgba(142, 142, 147, 0.1);
  color: #aeaeb2;
}

.mypage-menu__notification-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-left: 32px;
}

.mypage-menu__notification-btn {
  display: block;
  width: calc(100% - 32px);
  margin-left: 32px;
  padding: 10px;
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.mypage-menu__notification-btn:hover:not(:disabled) {
  background: #3a7fc9;
}

.mypage-menu__notification-btn:disabled {
  background: #f0f0f2;
  color: var(--text-secondary);
  cursor: not-allowed;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal__header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f0f2;
}

.modal__title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
}

.modal__close {
  width: 32px;
  height: 32px;
  background: #f0f0f2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
}

.modal__body {
  padding: 16px;
  max-height: calc(90vh - 60px);
  overflow-y: auto;
}

/* フォーム */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--accent-red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  background: #f8f8fa;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #3a7fc9;
}

/* ==========================================
   PHP版追加スタイル
   ========================================== */

/* パンくず */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: nowrap;
}
.breadcrumb a {
  color: var(--accent-blue);
}
.breadcrumb span:last-child {
  color: var(--text-primary);
}

/* ページタイトル */
.page-title {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}
.page-title__count {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--text-secondary);
  margin-left: 8px;
}

/* フィルターフォーム */
.filter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.filter-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 480px) {
  .filter-row { flex-direction: row; }
}
.filter-select, .filter-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: white;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.filter-btn {
  padding: 12px 20px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
}

/* ソートタブ */
.sort-tabs {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.sort-tabs__item {
  flex: 1;
  text-align: center;
  padding: 8px 8px;
  background: #f0f0f2;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.sort-tabs__item.is-active {
  background: var(--accent-blue);
  color: white;
}

/* 空状態 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.empty-state__text {
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.empty-state__btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent-blue);
  color: white;
  border-radius: var(--radius-md);
}
.empty-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.pagination__item {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f2;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.pagination__item.is-active {
  background: var(--accent-blue);
  color: white;
}
.pagination__dots {
  color: var(--text-secondary);
}

/* 詳細ページ */
.detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f0f0f2;
}
.detail-hero__slider {
  position: relative;
}
.detail-hero__track {
  display: flex;
  transition: transform 0.3s ease;
}
.detail-hero__slide {
  flex-shrink: 0;
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}
.detail-hero__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.detail-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
}
.detail-hero__dot.is-active {
  background: white;
}
.detail-hero__placeholder {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.detail-hero__placeholder span {
  font-size: 3rem;
}

.detail-header {
  text-align: center;
}
.detail-header__badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
}
.badge--area {
  background: var(--accent-blue);
  color: white;
}
.badge--genre {
  background: #f0f0f2;
  color: var(--text-secondary);
}
.detail-header__name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.detail-header__catch {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.detail-likes {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.detail-likes__total {
  color: var(--accent-red);
  font-weight: bold;
}
.detail-likes__item {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* アクションボタン */
.action-buttons {
  display: flex;
  gap: 12px;
}
.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: bold;
  border: 2px solid;
}
.action-btn--like {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: white;
}
.action-btn--like.is-active {
  background: var(--accent-red);
  color: white;
}
.action-btn--call {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: white;
}
.action-btn--web {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: white;
}

/* 詳細カード */
.detail-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.detail-card__title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e7;
}
.detail-info__row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f2;
}
.detail-info__row:last-child {
  border-bottom: none;
}
.detail-info__row dt {
  width: 100px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.detail-info__row dd {
  flex: 1;
  font-size: 0.9rem;
}
.detail-text {
  font-size: 0.9rem;
  line-height: 1.8;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 6px 12px;
  background: #f0f0f2;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* SNSリンク */
.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sns-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: white;
}
.sns-link--twitter { background: #1da1f2; }
.sns-link--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sns-link--tiktok { background: #000; }
.sns-link--web { background: var(--accent-blue); }

/* SNSリスト（縦並び） */
.sns-list { display: flex; flex-direction: column; gap: 14px; }
.sns-list__category { display: flex; flex-direction: column; gap: 4px; }
.sns-list__label { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.5); padding-bottom: 2px; }
.sns-list__link { display: block; padding: 8px 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); font-size: .85rem; color: var(--accent-blue-light); text-decoration: none; transition: background .15s; }
.sns-list__link:hover { background: rgba(255,255,255,.12); }

/* キャスト一覧（detail.php） */
.cast-list-detail { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cast-list-detail__item { display: inline-block; padding: 4px 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; font-size: .75rem; color: #f0abfc; text-decoration: none; transition: background .15s; }
.cast-list-detail__item:hover { background: rgba(255,255,255,.14); }

.map-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.map-link {
  display: block;
  text-align: center;
  padding: 12px 16px;
  color: var(--accent-blue);
  font-size: 0.9rem;
  background: rgba(74, 144, 217, 0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.map-link:hover {
  background: rgba(74, 144, 217, 0.2);
}
.map-link--route {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-weight: 600;
}
.map-link--route:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.map-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.map-btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.map-btn--open {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.map-btn--open:hover { background: #eff6ff; }

.map-btn--route {
  background: #2563eb;
  color: #fff;
  border: 2px solid #2563eb;
}
.map-btn--route:hover { background: #1d4ed8; border-color: #1d4ed8; }

/* 評価ボタン */
.rating-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: #f0f0f2;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}
.rating-btn.is-active {
  background: #fff3e6;
  border-color: var(--accent-orange);
}
.rating-btn__emoji {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.rating-btn__name {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ギルドページ */
.genre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.genre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.genre-card__name {
  font-weight: bold;
  margin-bottom: 4px;
}
.genre-card__count {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud__item {
  padding: 8px 14px;
  background: #f0f0f2;
  border-radius: 20px;
  font-size: 0.85rem;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-chip {
  padding: 10px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
}
.area-chip small {
  margin-left: 4px;
  color: var(--text-secondary);
}

/* ランキング */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.ranking-item__rank {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9rem;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
}
.ranking-item__rank.rank-1 { background: linear-gradient(135deg, #ffd700, #ffec8b); color: #8b6914; }
.ranking-item__rank.rank-2 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: #555; }
.ranking-item__rank.rank-3 { background: linear-gradient(135deg, #cd7f32, #daa06d); color: #3e2009; }
.ranking-item__image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg,#1a1a2e,#0d0d1a);
  flex-shrink: 0;
  overflow: hidden;
}
.ranking-item__info {
  flex: 1;
  min-width: 0;
}
.ranking-item__name {
  font-size: 0.9rem;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranking-item__area {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.ranking-item__likes {
  color: var(--accent-red);
  font-size: 0.85rem;
}

/* ランキングフル */
.ranking-full {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ranking-full__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.ranking-full__rank {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  background: #e5e5e7;
  flex-shrink: 0;
}
.ranking-full__image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: #e5e5e7;
  flex-shrink: 0;
}
.ranking-full__info {
  flex: 1;
  min-width: 0;
}
.ranking-full__name {
  font-size: 1rem;
  font-weight: bold;
}
.ranking-full__area {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.ranking-full__catch {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.ranking-full__likes {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--accent-red);
}
.ranking-full__likes-count {
  font-weight: bold;
}

/* エリアフィルター */
.area-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-filter__item {
  padding: 8px 14px;
  background: #f0f0f2;
  border-radius: 20px;
  font-size: 0.8rem;
}
.area-filter__item.is-active {
  background: var(--accent-blue);
  color: white;
}

/* 求人カード */
.recruit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.recruit-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.recruit-card__image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: #e5e5e7;
  flex-shrink: 0;
}
.recruit-card__content {
  flex: 1;
  min-width: 0;
}
.recruit-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.recruit-card__name {
  font-size: 1rem;
  font-weight: bold;
}
.recruit-card__badge {
  padding: 2px 8px;
  background: var(--accent-blue);
  color: white;
  border-radius: 10px;
  font-size: 0.7rem;
}
.recruit-card__title {
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-bottom: 8px;
}
.recruit-card__salary {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  color: var(--accent-green);
  margin-bottom: 8px;
}
.recruit-card__catch {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.recruit-card__footer {
  display: flex;
  justify-content: flex-end;
}
.recruit-card__btn {
  padding: 8px 16px;
  background: var(--accent-blue);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
}

.recruit-cta {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-lg);
  color: white;
}
.recruit-cta__title {
  margin-bottom: 16px;
}
.recruit-cta__btn {
  display: inline-block;
  padding: 14px 30px;
  background: white;
  color: var(--accent-blue);
  border-radius: var(--radius-md);
  font-weight: bold;
}

/* 検索ページ */
.search-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.search-card__title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 16px;
}
.search-input {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 1rem;
}
.search-accordion__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: #f0f0f2;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 8px;
}
.search-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.search-accordion__content.is-open {
  max-height: 2000px;
}
.search-area-group {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e7;
}
.search-area-group__title {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.search-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.search-checkbox-grid--small {
  grid-template-columns: repeat(3, 1fr);
}
.search-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: #f8f8f8;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
}
.search-checkbox input {
  accent-color: var(--accent-blue);
}
.search-checkbox small {
  color: var(--text-secondary);
}
.search-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}
.search-reset-btn {
  width: 100%;
  padding: 14px;
  background: none;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  margin-top: 8px;
}
/* =====================================================
   店舗速報
   ===================================================== */
.shop-news-box {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-height: 100px;
  position: relative;
  transition: border-color 0.2s ease;
}
.shop-news-box:hover {
  border-color: #ffd700;
}
.shop-news-box--empty {
  display: flex;
  align-items: center;
}
.shop-news-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.shop-news-content.is-fading {
  opacity: 0;
}
.shop-news-category {
  font-size: 1.1rem;
}
.shop-news-name {
  color: #66ccff;
  font-weight: 600;
}
.shop-news-message {
  color: #ffffff;
}
.shop-news-message span {
  transition: opacity 0.05s ease;
}
.shop-news-time {
  display: block;
  margin-top: 8px;
  color: #888888;
  font-size: 0.75rem;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.shop-news-time.is-fading {
  opacity: 0;
}
.shop-news-empty {
  color: #888888;
  font-size: 0.9rem;
}

/* 速報一覧ページ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-list-item {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.news-list-item:hover {
  border-color: var(--border-gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.news-list-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.news-list-item__category {
  font-size: 1.2rem;
}
.news-list-item__shop {
  font-weight: 600;
  color: var(--text-primary);
}
.news-list-item__time {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.news-list-item__message {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.empty-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

/* 店舗管理画面 - 速報セクション */
.news-control-box {
  background: #f8f9fa;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.news-control-box__title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-control-box__current {
  background: white;
  border: 1px solid #e5e5e7;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}
.news-control-box__category {
  font-size: 1.2rem;
  margin-right: 8px;
}
.news-control-box__message {
  font-size: 1rem;
  color: #333;
}
.news-control-box__meta {
  font-size: 0.8rem;
  color: #888;
  margin-top: 8px;
}
.news-control-box__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.news-control-box__btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}
.news-control-box__btn--edit {
  background: #e3f2fd;
  color: #1976d2;
}
.news-control-box__btn--delete {
  background: #ffebee;
  color: #c62828;
}
.news-control-box__btn--up {
  background: #e8f5e9;
  color: #2e7d32;
}
.news-control-box__btn--up:disabled {
  background: #eee;
  color: #999;
  cursor: not-allowed;
}
.news-control-box__btn--create {
  background: var(--accent-blue);
  color: white;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}
.news-control-box__countdown {
  font-size: 0.85rem;
  color: #666;
  margin-left: 8px;
}
.news-control-box__empty {
  text-align: center;
  color: #888;
  padding: 20px;
}

/* 速報フォーム */
.news-form {
  margin-top: 16px;
}
.news-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}
.news-form__select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 12px;
}
.news-form__input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 8px;
}
.news-form__count {
  text-align: right;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 12px;
}
.news-form__submit {
  width: 100%;
  padding: 14px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
}
.news-form__cancel {
  width: 100%;
  padding: 12px;
  background: none;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 8px;
}
/* ============================================
   v7: 卵ゲーム統合版 デザイン修正
   ============================================ */

/* sec-head: シンプルなセクションヘッダー */
.sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 2px;
}
.sec-head__icon {
  font-size: 1.1rem;
}
.sec-head__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  margin: 0;
}
.sec-head__link {
  font-size: 0.72rem;
  color: var(--accent-blue);
  font-weight: 500;
  white-space: nowrap;
}

/* search-bar */
.search-bar {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 4px;
}
.search-bar__input {
  width: 100%;
  padding: 11px 16px;
  background: rgba(20,20,40,.85);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.search-bar__input::placeholder {
  color: rgba(255,255,255,.4);
}
.search-bar__input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}
.search-bar__icon {
  position: static;
  font-size: 1.1rem;
  color: rgba(255,255,255,.5);
  pointer-events: none;
  margin-right: 10px;
  flex-shrink: 0;
}

/* gallery PICK UP label */
.gallery__label {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  background: rgba(10, 10, 30, 0.75);
  border-radius: 4px;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  z-index: 1;
  letter-spacing: 0.5px;
}

/* more-btn override → outline */
.more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: none;
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
}
.more-btn:hover {
  border-color: var(--accent-blue);
  background: rgba(74, 144, 217, 0.04);
}

/* body padding for egg-bar */
.container {
  padding-top: 64px;
}

/* gallery__image needs position:relative for label */
.gallery__image {
  position: relative;
}

/* お気に入りボタン */
.shop-card__favorite.is-fav svg,
.shop-card__favorite.is-fav span {
  color: #ff6b6b;
}

/* お知らせ記事 */
.article-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.article-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.article-card__date {
  font-size: 0.8rem;
  color: #888;
}
.article-card__badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #e3f2fd;
  color: #1976d2;
}
.article-card__badge--important {
  background: #ffebee;
  color: #c62828;
}
.article-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.article-card__body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
}

/* 予算表示 */
.shop-card__price {
  font-size: 0.75rem;
  color: #e67e22;
  font-weight: 600;
  margin-top: 2px;
}
.detail-header__budget {
  font-size: 0.9rem;
  color: #e67e22;
  font-weight: 600;
  margin-top: 4px;
}

/* ===== ツイート表示 ===== */
.tweet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tweet-item {
  display: block;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-secondary, #f8f9fa);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.tweet-item:hover { background: #eef1f4; }
.tweet-item__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}
.tweet-item__account {
  font-weight: 600;
  color: var(--primary, #333);
}
.tweet-item__badge {
  font-size: 0.65rem;
  background: #e8d5f5;
  color: #7c3aed;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 600;
}
.tweet-item__date {
  margin-left: auto;
  color: #999;
  font-size: 0.72rem;
}
.tweet-item__text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 8px;
  word-break: break-word;
}
.tweet-item__images {
  display: grid;
  gap: 4px;
  border-radius: 10px;
  overflow: hidden;
}
.tweet-item__images--1 { grid-template-columns: 1fr; }
.tweet-item__images--2 { grid-template-columns: 1fr 1fr; }
.tweet-item__images--3 { grid-template-columns: 1fr 1fr; }
.tweet-item__images--4 { grid-template-columns: 1fr 1fr; }
.tweet-item__img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  border-radius: 4px;
}
.tweet-item__images--1 .tweet-item__img { aspect-ratio: 16/9; }
.tweet-more {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #1da1f2;
  text-decoration: none;
  font-weight: 600;
}
.tweet-more:hover { text-decoration: underline; }

/* ==========================================
   ダークテーマ オーバーライド v6
   CSS変数は:rootで変更済み。以下はハードコード色の上書き
   ========================================== */

/* --- body / container --- */
body { background: var(--bg-main); color: var(--text-primary); }

/* --- ヘッダー・ナビ --- */
.site-header { background: rgba(26,26,46,.92); border-bottom-color: var(--border-light); }
.bottom-nav { background: rgba(26,26,46,.92); border-top-color: var(--border-light); }
.bottom-nav__item { color: var(--text-secondary); }
.bottom-nav__item.is-active, .bottom-nav__item--active { color: var(--accent-blue-light); }
.side-menu__content { background: var(--bg-card-solid); }
.side-menu__item { color: var(--text-on-card); border-bottom-color: var(--border-subtle); }
.side-menu__divider { background: var(--border-subtle); }

/* --- カード系 --- */
.detail-card, .card, .list-card, .shop-card, .news-card, .ranking-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-on-card);
}
.detail-card__title, .card__title { color: var(--text-primary); }

/* --- 詳細ページ固有 --- */
.detail-hero { background: rgba(255,255,255,.05); }
.detail-hero__placeholder { background: linear-gradient(135deg,#667eea 0%,#764ba2 100%); }
.detail-header { text-align: center; }
.detail-header__name { color: var(--text-primary); }
.detail-header__catch { color: var(--text-secondary); }
.detail-header__budget { color: var(--text-secondary); }
.detail-likes { color: var(--text-secondary); }
.detail-info__row { border-bottom-color: var(--border-subtle); }
.detail-info__row dt { color: var(--text-secondary); }
.detail-info__row dd { color: var(--text-on-card); }
.detail-info__row a { color: var(--accent-blue-light); }
.detail-text { color: rgba(255,255,255,.7); }

/* --- バッジ・タグ --- */
.badge { background: rgba(255,255,255,.1); color: var(--text-secondary); }
.badge--area { background: rgba(74,144,217,.25); color: var(--accent-blue-light); }
.badge--genre { background: rgba(255,255,255,.1); color: var(--text-secondary); }
.tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }

/* --- SNSリンク --- */
.sns-link { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.08); }

/* --- アクションボタン --- */
.action-buttons { display: flex; gap: 8px; }
.action-btn { background: var(--bg-card); border: 1px solid var(--bg-card-border); color: var(--text-on-card); }
.action-btn--like.is-active { background: rgba(255,59,48,.15); border-color: rgba(255,59,48,.3); }

/* --- 評価ボタン --- */
.rating-btn { background: rgba(255,255,255,.08); border-color: var(--border-light); color: var(--text-on-card); }
.rating-btn.is-active { background: rgba(74,144,217,.2); border-color: var(--accent-blue); }

/* --- パンくず --- */
.breadcrumb { color: var(--text-secondary); }
.breadcrumb a { color: var(--accent-blue-light); }

/* --- 地図リンク --- */
.map-link { color: var(--accent-blue-light); }
.map-btn--open { background: rgba(255,255,255,.08); color: var(--accent-blue-light); border-color: var(--accent-blue-light); }
.map-btn--open:hover { background: rgba(37,99,235,.15); }
.map-btn--route { background: var(--accent-blue); color: #fff; border-color: var(--accent-blue); }
.map-btn--route:hover { background: #1d4ed8; }

/* --- ページネーション --- */
.pagination__item { background: rgba(255,255,255,.08); color: var(--text-secondary); border-color: var(--border-light); }
.pagination__item.is-active { background: var(--accent-blue); color: #fff; }

/* --- 一覧ページ --- */
.list-card { background: var(--bg-card); border-color: var(--bg-card-border); }
.shop-card__name { color: var(--text-primary); }
.shop-card__meta { color: var(--text-secondary); }

/* --- 検索 --- */
input, select, textarea { background: var(--bg-input); color: var(--text-primary); border-color: var(--border-light); }
input::placeholder { color: var(--text-secondary); }

/* --- 空状態 --- */
.empty-state { color: var(--text-secondary); }
.empty-state__btn { background: var(--accent-blue); color: #fff; }

/* --- フッター --- */
.site-footer { background: var(--bg-card-solid); border-top-color: var(--border-light); color: var(--text-secondary); }
.site-footer a { color: var(--accent-blue-light); }

/* --- 速報 --- */
.news-ticker { background: rgba(255,255,255,.05); border-color: var(--border-light); }
.shop-news-card { background: var(--bg-card); border-color: var(--bg-card-border); color: var(--text-on-card); }


/* ==========================================
   カスタムスクロールバー（ダークテーマ統一）
   ========================================== */

/* モーダル内スクロールバー */
.tw-modal__text::-webkit-scrollbar,
.tw-modal__textonly::-webkit-scrollbar,
.tw-modal__popup::-webkit-scrollbar {
  width: 6px;
}
.tw-modal__text::-webkit-scrollbar-track,
.tw-modal__textonly::-webkit-scrollbar-track,
.tw-modal__popup::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
  border-radius: 6px;
}
.tw-modal__text::-webkit-scrollbar-thumb,
.tw-modal__textonly::-webkit-scrollbar-thumb,
.tw-modal__popup::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(124,179,240,.5), rgba(167,119,227,.5));
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(124,179,240,.3);
}
.tw-modal__text::-webkit-scrollbar-thumb:hover,
.tw-modal__textonly::-webkit-scrollbar-thumb:hover,
.tw-modal__popup::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(124,179,240,.7), rgba(167,119,227,.7));
  box-shadow: 0 0 10px rgba(124,179,240,.5);
}

/* Firefox */
.tw-modal__text,
.tw-modal__textonly,
.tw-modal__popup {
  scrollbar-width: thin;
  scrollbar-color: rgba(124,179,240,.45) rgba(255,255,255,.04);
}

/* サイドメニュー */
.side-menu__nav::-webkit-scrollbar { width: 3px; }
.side-menu__nav::-webkit-scrollbar-track { background: transparent; }
.side-menu__nav::-webkit-scrollbar-thumb { background: rgba(124,179,240,.2); border-radius: 3px; }
.side-menu__nav { scrollbar-width: thin; scrollbar-color: rgba(124,179,240,.2) transparent; }

/* ==========================================
   list.php / guild.php ダーク化
   ========================================== */

/* --- フィルター --- */
.filter-select, .filter-input {
  background: rgba(20,20,40,.85) !important;
  border-color: rgba(255,255,255,.15) !important;
  color: #fff !important;
}
.filter-select option {
  background: #1a1a2e;
  color: #fff;
}

/* --- ソートタブ --- */
.sort-tabs__item {
  background: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.6) !important;
  border: 1px solid rgba(255,255,255,.1);
}
.sort-tabs__item:hover {
  background: rgba(74,144,217,.15) !important;
  color: #7cb3f0 !important;
}
.sort-tabs__item.is-active {
  background: var(--accent-blue) !important;
  color: #fff !important;
  border-color: var(--accent-blue) !important;
}

/* --- ジャンルカード --- */
.genre-card {
  background: rgba(20,20,40,.78) !important;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: none !important;
}
.genre-card:hover {
  border-color: rgba(124,179,240,.4);
  background: rgba(74,144,217,.12) !important;
}
.genre-card__name {
  color: #fff;
}
.genre-card__count {
  color: rgba(255,255,255,.45);
}

/* --- タグクラウド --- */
.tag-cloud__item {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.1);
}
.tag-cloud__item:hover {
  background: rgba(74,144,217,.2) !important;
  border-color: rgba(124,179,240,.4);
  color: #7cb3f0 !important;
}
.tag-cloud__item small {
  color: rgba(255,255,255,.4);
}

/* --- エリアチップ --- */
.area-chip {
  background: rgba(20,20,40,.78) !important;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: none !important;
  color: #fff !important;
}
.area-chip:hover {
  border-color: rgba(124,179,240,.4);
  background: rgba(74,144,217,.12) !important;
}
.area-chip small {
  color: rgba(255,255,255,.4) !important;
}

/* --- ランキング --- */
.ranking-item {
  background: rgba(20,20,40,.78) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}
.ranking-item:hover {
  border-color: rgba(124,179,240,.3) !important;
}
.ranking-item__name {
  color: #fff !important;
}
.ranking-item__area {
  color: rgba(255,255,255,.45) !important;
}
.ranking-item__likes {
  color: #ff6b6b !important;
}

/* --- パンくず --- */
.breadcrumb a {
  color: #7cb3f0 !important;
}
.breadcrumb span:last-child {
  color: rgba(255,255,255,.6) !important;
}

/* --- ページタイトル --- */
.page-title {
  color: #fff !important;
}
.page-title__count {
  color: rgba(255,255,255,.45) !important;
}

/* --- section-title（RPGフォント→モダン化） --- */
.section-title {
  background: rgba(20,20,40,.8) !important;
  border: 1px solid rgba(124,179,240,.25) !important;
}
.section-title__text {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: #fff !important;
  letter-spacing: .08em !important;
  margin: 0 !important;
}

/* --- 空状態 --- */
.empty-state__text {
  color: rgba(255,255,255,.6);
}
.empty-state__btn {
  color: #7cb3f0;
  background: rgba(74,144,217,.15);
  border: 1px solid rgba(124,179,240,.3);
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 12px;
}

/* --- フッター --- */
.footer {
  background: rgba(12,12,28,.9) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}
.footer__links a {
  color: rgba(255,255,255,.4) !important;
}
.footer__links a:hover {
  color: #7cb3f0 !important;
}
.footer__copyright {
  color: rgba(255,255,255,.25) !important;
}

/* --- shop-card (list.php画像なし) --- */
.shop-card__genre {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
}
.shop-card__views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
}
.shop-card__views svg { opacity: .6; }
.shop-card__premium {
  display: inline-block;
  padding: 1px 6px;
  font-size: .6rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f5af19, #f12711);
  border-radius: 3px;
  letter-spacing: .05em;
}

/* ==========================================
   遷移エフェクト（全ページ共通）
   ========================================== */
.trans-overlay{position:fixed;inset:0;z-index:9999;pointer-events:none;overflow:hidden}
.trans-overlay.is-active{pointer-events:auto}
.trans-tape{position:absolute;white-space:nowrap;display:flex;gap:4px;align-items:center;will-change:transform,opacity}
.trans-tape--v{flex-direction:column;white-space:normal}
.trans-tape--v .trans-tape__word{writing-mode:vertical-rl}
.trans-tape__word{flex-shrink:0;font-weight:700}
.trans-flash{position:fixed;inset:0;z-index:10000;background:#fff;opacity:0;pointer-events:none}

/* ===== マイページ ===== */
.mypage-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.mypage-profile__avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.mypage-profile__info { flex: 1; min-width: 100px; }
.mypage-profile__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}
.mypage-profile__level {
  font-size: .8rem;
  color: #4facfe;
  font-weight: 700;
  margin-top: 2px;
}
.mypage-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: default;
}
.mypage-stats {
  display: flex;
  gap: 0;
  margin-top: 12px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mypage-stats__item {
  flex: 1;
  text-align: center;
  padding: 12px 4px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.mypage-stats__item:last-child { border-right: none; }
.mypage-stats__num {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.mypage-stats__label {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}
.mypage-tabs {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mypage-tabs__item {
  flex: 1;
  padding: 10px 4px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mypage-tabs__item.is-active {
  color: #fff;
  background: rgba(74,144,217,.2);
}

/* ====================================================
 * 画像なし店舗 統一スタイル v90e
 * 半透明の白い薄い枠 + 店名
 * ==================================================== */
.shop-card__image--noimg,
.ranking-item__image--noimg,
.nearby-item__img--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.15);
  text-align: center;
  padding: 8px;
}
.shop-card__image--noimg span,
.ranking-item__image--noimg span,
.nearby-item__img--noimg span {
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-all;
}
/* ranking specific */
.ranking-item__image--noimg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  font-size: .5rem;
  padding: 3px;
}
.ranking-item__image--noimg span {
  font-size: .5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* nearby modal specific */
.nearby-item__img--noimg {
  border-radius: 8px;
}
.nearby-item__img--noimg span {
  font-size: .5rem;
  line-height: 1.2;
}
