

:root {
  --c-bg-0: #000000;      
  --c-bg-1: #141417;      
  --c-bg-2: #1c1c20;      
  --c-red: #d81f2a;       
  --c-red-bright: #f0323f;
  --c-red-deep: #8f141c;
  --c-red-dim: rgba(216, 31, 42, 0.5);
  --c-text: #f3f3f5;      
  --c-dim: #a2a2ab;       
  --c-mute: #66666f;      
  --c-line: rgba(255, 255, 255, 0.08);       
  --c-line-2: rgba(255, 255, 255, 0.14);
  --c-red-line: rgba(216, 31, 42, 0.35);
  --c-glass: rgba(255, 255, 255, 0.028);
  --c-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont,
            'Hiragino Kaku Gothic ProN', 'Yu Gothic', system-ui, sans-serif;
}


html { background: var(--c-bg-0); }

body {
  background: var(--c-bg-0) !important;
  color: var(--c-text);
  font-family: var(--c-sans) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}


.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  
  background: var(--c-bg-0);
}


#cosmic-stars { display: none !important; }


.container {
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  z-index: 2;
}



.header {
  padding-left: 16px !important; padding-right: 16px !important;
  justify-content: space-between !important;
  pointer-events: none;   
  /* サイト名を常に読めるよう、スクロール前から暗い帯を敷く（.header.scrolled で濃くなる） */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 100%) !important;
}
.header .logo, .header .menu-btn, .header-account { pointer-events: auto; }
.header .logo { margin-right: auto; gap: 8px; }
/* ヘッダーのサイト名: 鈴の印（ファビコンと同じ logo.png）+ 金色の「宵占」 */
.header .logo-img { width: 30px; height: 30px; border-radius: 8px; flex: none; box-shadow: 0 0 0 1px rgba(236, 203, 135, 0.28); }
.header .menu-btn { margin-left: 8px; flex: none; }
.header-account { display: flex; align-items: center; gap: 9px; flex: none; }
.header-login {
  height: 36px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 7px;
  background: rgba(10, 10, 12, 0.68); color: #f3f3f5;
  font-family: var(--c-sans); font-size: 12px; font-weight: 750; letter-spacing: 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer;
}
.header-login:hover { border-color: rgba(240, 50, 63, 0.5); background: rgba(34, 10, 14, 0.82); }
.header-login[hidden], .header-profile[hidden] { display: none; }
.header-profile { width: 38px; height: 38px; display: block; text-decoration: none; }
.header-profile-avatar {
  width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden;
  border: 1px solid rgba(240, 50, 63, 0.48); border-radius: 50%;
  background-color: #21171a; background-size: cover; background-position: center;
  color: #f5e5e6; font-family: var(--c-sans); font-size: 13px; font-weight: 800;
  box-shadow: 0 0 0 3px rgba(5, 5, 7, 0.45), 0 0 18px rgba(216, 31, 42, 0.2);
}
.header-profile:hover .header-profile-avatar { border-color: #f0323f; }

.header-pass {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-family: var(--c-sans); font-size: 12.5px; font-weight: 800; letter-spacing: 0.2px;
  color: #ffd9a8; background: rgba(216, 130, 31, 0.12);
  border: 1px solid rgba(230, 170, 90, 0.42);
  box-shadow: 0 0 14px rgba(216, 130, 31, 0.12);
}
.header-pass:hover { border-color: #e6aa5a; background: rgba(216, 130, 31, 0.2); }
.header-pass[hidden], .sb-pass[hidden] { display: none !important; }
/* 期間パスの案内への入口 — 販売中の時だけ index.js が hidden を外す（.sb-item は display:flex なので hidden 属性だけでは消えない） */
[data-pass-offer][hidden] { display: none !important; }
@media (max-width: 430px) {
  .header .logo { gap: 7px; }
  .header .logo-img { width: 28px; height: 28px; }
  .header .logo-text { font-size: 21px; }
  .header .logo-han { font-size: 13px; }
  .header .logo-ruby rt { font-size: 8px; letter-spacing: 0; }
  .header-login { height: 34px; padding: 0 10px; }
  .header-profile, .header-profile-avatar { width: 36px; height: 36px; }
}
@media (max-width: 350px) {
  .header .logo-han { display: none; }
}


html { scroll-behavior: smooth; }
* { scrollbar-width: thin; scrollbar-color: rgba(216, 31, 42, 0.55) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(240, 50, 63, 0.6), rgba(143, 20, 28, 0.7));
  border-radius: 999px;
  border: 2px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(240, 50, 63, 0.9), rgba(180, 25, 35, 0.9)); background-clip: padding-box; }

.hero2-track, .home-tabs, .home-row-track { scrollbar-width: none; }
.hero2-track::-webkit-scrollbar, .home-tabs::-webkit-scrollbar, .home-row-track::-webkit-scrollbar { display: none; height: 0; }

.logo-text {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: #eccb87;
  display: inline-flex; align-items: baseline; gap: 5px;
  text-shadow: 0 0 14px rgba(236, 203, 135, 0.22), 0 2px 10px rgba(0, 0, 0, 0.8);
}
/* 宵占（よいうら）の読みがな。造語なので初出のロゴにだけ小さく添え、ルビの幅が親字の二字を押し広げないようにする。 */
.logo-ruby { ruby-position: over; }
.logo-ruby rt {
  font-family: var(--c-sans);
  font-size: 8.5px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--c-dim);
  text-shadow: none;
}
.logo-han {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700; font-size: 16.5px;
  background: linear-gradient(180deg, #f0323f, #8f141c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--c-red);
  text-shadow: 0 0 16px rgba(216, 31, 42, 0.4);
  letter-spacing: 1px;
}
.header.scrolled .logo-han { filter: brightness(1.1); }
.header.scrolled {
  background: rgba(8, 8, 10, 0.9) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-line), 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}
.header.scrolled .logo-text { color: #eccb87 !important; text-shadow: 0 0 14px rgba(236, 203, 135, 0.18) !important; }
.header.scrolled .menu-btn span { background: var(--c-text) !important; box-shadow: none !important; }

.menu-btn {
  width: 42px !important; height: 42px !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  align-items: center !important; justify-content: center !important;
  gap: 5px !important; padding: 0 !important;
  transition: background .2s, border-color .2s, transform .12s;
}
.menu-btn:hover { background: rgba(216, 31, 42, 0.16) !important; border-color: var(--c-red-line) !important; }
.menu-btn:active { transform: scale(0.92); }
.menu-btn span {
  background: #f3f3f5 !important;
  height: 2px !important; border-radius: 2px !important;
  box-shadow: none !important;
  transition: width .25s ease, background .2s;
}
.menu-btn span:nth-child(1) { width: 18px !important; }
.menu-btn span:nth-child(2) { width: 18px !important; }
.menu-btn span:nth-child(3) { width: 11px !important; }   
.menu-btn:hover span { background: #fff !important; }
.menu-btn:hover span:nth-child(3) { width: 18px !important; }
.header.scrolled .menu-btn { background: rgba(255, 255, 255, 0.08) !important; }
.header.scrolled .menu-btn span { background: #f3f3f5 !important; }


.hero { height: 600px; }
.hero-slide { padding: 96px 26px 88px; background-position: center top; }


.slide-overlay {
  background:
    
    radial-gradient(70% 45% at 26% 76%, rgba(120, 10, 16, 0.42), transparent 72%),
    
    linear-gradient(180deg, rgba(4, 4, 6, 0.92) 0%, rgba(4, 4, 6, 0.42) 24%, rgba(4, 4, 6, 0.55) 50%, rgba(4, 4, 6, 0.95) 78%, var(--c-bg-0) 100%),
    linear-gradient(90deg, rgba(4, 4, 6, 0.95) 0%, rgba(4, 4, 6, 0.55) 44%, rgba(4, 4, 6, 0.25) 100%),
    radial-gradient(135% 95% at 50% 40%, transparent 32%, rgba(4, 4, 6, 0.9) 100%) !important;
}
.slide-content { max-width: 82%; }

.hero-slide.active .slide-label { animation: cineUp 0.8s ease both 0.12s; }
.hero-slide.active .slide-title { animation: cineUp 0.9s ease both 0.24s; }
.hero-slide.active .slide-desc  { animation: cineUp 0.9s ease both 0.38s; }
.hero-slide.active .slide-cta   { animation: cineUp 0.9s ease both 0.5s; }
@keyframes cineUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-label {
  color: var(--c-red);
  font-family: var(--c-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: none;
  margin-bottom: 14px;
  padding-left: 30px;
  position: relative;
}
.slide-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: var(--c-red);
}

.slide-title {
  font-family: var(--c-sans);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}
.slide-title .sub {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.slide-title .highlight {
  color: var(--c-red-bright);
  -webkit-text-fill-color: var(--c-red-bright);
  text-shadow: 0 0 34px rgba(240, 50, 63, 0.75), 0 0 8px rgba(255, 90, 100, 0.5);
}
.slide-desc {
  color: rgba(243, 243, 245, 0.72);
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}


.slide-cta {
  background: var(--c-red) !important;
  color: #fff !important;
  border: 1.5px solid var(--c-red-bright) !important;
  border-radius: 2px !important;
  padding: 15px 30px !important;
  font-family: var(--c-sans);
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 34px rgba(216, 31, 42, 0.45), 0 0 22px rgba(240, 50, 63, 0.35) !important;
  transition: all 0.3s ease !important;
  animation: ctaGlow 3.2s ease-in-out infinite;
}
.slide-cta:hover {
  background: var(--c-red-bright) !important;
  box-shadow: 0 14px 44px rgba(240, 50, 63, 0.6), 0 0 30px rgba(255, 90, 100, 0.4) !important;
  transform: translateY(-1px);
}
.slide-cta svg { color: #fff; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 10px 34px rgba(216, 31, 42, 0.4), 0 0 18px rgba(240, 50, 63, 0.28); }
  50% { box-shadow: 0 12px 40px rgba(216, 31, 42, 0.55), 0 0 30px rgba(240, 50, 63, 0.5); }
}


.slider-dot { background: rgba(255, 255, 255, 0.22); }
.slider-dot.active { background: var(--c-red); box-shadow: 0 0 10px rgba(216, 31, 42, 0.6); }
.slider-nav {
  background: rgba(18, 18, 22, 0.6) !important;
  color: #fff !important;
  border: 1px solid var(--c-line) !important;
  backdrop-filter: blur(8px);
}
.slider-nav:hover { background: var(--c-red) !important; border-color: var(--c-red) !important; }


.section-best { margin-top: 6px; position: relative; z-index: 3; }
.section-header {
  flex-direction: column; align-items: center; text-align: center;
  gap: 6px; margin-bottom: 26px; padding-top: 22px;
}
.section-header .section-title,
.section-best .section-title,
.section-celebrities .section-title {
  font-family: var(--c-sans);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-header .section-title::before,
.section-header .section-title::after {
  content: '';
  width: 18px; height: 2px;
  background: var(--c-red);
  border-radius: 0;
}
.section-subtitle { color: var(--c-mute); letter-spacing: -0.01em; }
.view-all-link { color: var(--c-red) !important; font-weight: 700; }


.wolha-banner {
  background: linear-gradient(135deg, rgba(24, 24, 28, 0.8), rgba(12, 12, 15, 0.8)) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px);
}
.wolha-banner::after {
  content: '';
  position: absolute; top: -60%; right: -15%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(216, 31, 42, 0.14), transparent 68%);
  pointer-events: none;
}
.wolha-banner-orb {
  background: radial-gradient(circle at 34% 30%, #f2f2f6, #b8b8c2 42%, #4a4a52 100%) !important;
  color: #1a1a1e !important;
  border-radius: 12px !important;
  box-shadow: 0 0 24px rgba(200, 200, 220, 0.2), inset 0 -6px 14px rgba(40, 40, 48, 0.5) !important;
}
.wolha-banner-badge {
  color: var(--c-red) !important;
  background: rgba(216, 31, 42, 0.1) !important;
  border: 1px solid var(--c-red-line);
}
.wolha-banner-title { color: var(--c-text) !important; font-family: var(--c-sans); font-weight: 700; }
.wolha-banner-desc { color: var(--c-dim) !important; }
.wolha-banner-arrow { color: var(--c-red) !important; }


.quick-best-card-icon {
  border: 1px solid var(--c-line);
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55) !important;
}
.quick-best-card-title { color: var(--c-dim) !important; font-family: var(--c-sans); font-weight: 600; }
.quick-best-card:active .quick-best-card-icon { box-shadow: 0 0 18px rgba(216, 31, 42, 0.35) !important; }


.tab-nav { border-bottom: 1px solid var(--c-line) !important; }
.tab-btn { color: var(--c-mute) !important; font-family: var(--c-sans); font-weight: 600; letter-spacing: -0.01em; }
.tab-btn.active { color: var(--c-text) !important; font-weight: 800; }
.tab-btn.active::after {
  background: var(--c-red) !important;
  height: 2px !important;
  box-shadow: 0 0 8px rgba(216, 31, 42, 0.5);
}


.image-card {
  background: var(--c-glass) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s, border-color 0.35s !important;
}
.image-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-red-line) !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.7), 0 0 26px rgba(216, 31, 42, 0.12) !important;
}
.card-image-wrapper { border-radius: 10px !important; }
.card-title { color: var(--c-text) !important; font-family: var(--c-sans); font-weight: 700; letter-spacing: -0.02em; }
.card-desc { color: var(--c-mute) !important; }


.card-badge { border-radius: 3px !important; letter-spacing: 0; font-weight: 800; }
.card-badge, .card-badge.hot {
  background: var(--c-red) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(216, 31, 42, 0.4);
}
.card-badge.new { background: #26262c !important; color: #d6d6de !important; box-shadow: none; }
.quick-best-badge.hot { background: var(--c-red) !important; color: #fff !important; }
.quick-best-badge.new { background: #26262c !important; color: #d6d6de !important; }


.card-bg-blue   { background: linear-gradient(180deg, #16171c 0%, #0c0d11 100%) !important; }
.card-bg-red    { background: linear-gradient(180deg, #241115 0%, #14090b 100%) !important; }
.card-bg-purple { background: linear-gradient(180deg, #1a181f 0%, #100f14 100%) !important; }
.card-bg-orange { background: linear-gradient(180deg, #201812 0%, #120d09 100%) !important; }
.card-bg-green  { background: linear-gradient(180deg, #14191650 0%, #0c110e 100%) !important; }
.card-bg-gray   { background: linear-gradient(180deg, #17171b 0%, #0e0e11 100%) !important; }

.image-card::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent) !important;
}


.section-celebrities { display: none !important; }


.celebrity-card {
  background: var(--c-glass) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55) !important;
  transition: transform 0.32s ease, border-color 0.32s, box-shadow 0.32s !important;
}
.celebrity-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-red-line) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.7), 0 0 20px rgba(216, 31, 42, 0.1) !important;
}
.celebrity-image { background: linear-gradient(160deg, #17171c 0%, #0e0e12 100%) !important; }
.celebrity-image::after { background: linear-gradient(180deg, transparent 38%, rgba(6, 6, 8, 0.7) 100%) !important; }
.celebrity-name { color: var(--c-text) !important; font-family: var(--c-sans); font-weight: 700; }
.celebrity-title { color: var(--c-mute) !important; }


.view-more-btn {
  background: transparent !important;
  border: 1px solid var(--c-line) !important;
  color: var(--c-dim) !important;
  border-radius: 2px !important;
  font-family: var(--c-sans);
  font-weight: 700;
  letter-spacing: 0;
}
.view-more-btn:hover {
  background: rgba(216, 31, 42, 0.08) !important;
  border-color: var(--c-red-line) !important;
  color: var(--c-red-bright) !important;
}


.sidebar {
  background: linear-gradient(180deg, #0e0e12, #060608) !important;
  border-left: 1px solid var(--c-line) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8) !important;
}
.sidebar-header, .sidebar-logo, .sidebar-auth { background: transparent !important; border-bottom: 1px solid var(--c-line) !important; }
.sidebar-title { color: var(--c-text) !important; font-family: var(--c-sans); font-weight: 800; letter-spacing: 1px; }
.close-btn { background: transparent !important; border: 1px solid var(--c-line) !important; color: var(--c-text) !important; }
.close-btn:hover { background: rgba(216, 31, 42, 0.12) !important; }
.sidebar-logo-text { color: var(--c-text) !important; font-family: var(--c-sans); font-weight: 700; }
.sidebar-menu a {
  color: var(--c-text) !important;
  border-bottom: 1px solid var(--c-line) !important;
  font-family: var(--c-sans); font-weight: 600; letter-spacing: -0.01em;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  background: rgba(216, 31, 42, 0.07) !important;
  color: var(--c-red-bright) !important;
}
.sidebar-menu .menu-icon { color: var(--c-mute) !important; }
.sidebar-menu a:hover .menu-icon, .sidebar-menu a.active .menu-icon { color: var(--c-red) !important; }
.sidebar-menu .menu-chat, .sidebar-menu .menu-chat .menu-icon { color: var(--c-red) !important; }
.menu-badge { background: var(--c-red) !important; }
.sidebar-overlay { background: rgba(2, 2, 4, 0.78) !important; backdrop-filter: blur(2px); }


.sidebar { max-width: 340px !important; }

.sb-profile {
  margin: 18px 18px 6px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(216, 31, 42, 0.1), rgba(255, 255, 255, 0.02) 45%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; flex-direction: column; gap: 14px;
}
.sb-profile-row { display: flex; align-items: center; gap: 13px; }

.sb-pass {
  margin: 8px 18px 4px; padding: 13px 14px;
  display: flex; align-items: center; gap: 12px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(216, 130, 31, 0.14), rgba(255, 255, 255, 0.02) 60%);
  border: 1px solid rgba(230, 170, 90, 0.32);
}
.sb-pass-seal {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 10px; font-family: var(--c-serif, serif); font-size: 18px; font-weight: 700;
  color: #ffd9a8; background: rgba(216, 130, 31, 0.14);
  border: 1px solid rgba(230, 170, 90, 0.4);
}
.sb-pass-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sb-pass-info strong { font-family: var(--c-sans); font-size: 14.5px; font-weight: 800; color: #ffe6c4; }
.sb-pass-info span { font-family: var(--c-sans); font-size: 11.5px; color: rgba(255, 230, 196, 0.55); }
.sb-pass-add {
  flex: none; padding: 8px 13px; border-radius: 999px; cursor: pointer;
  font-family: var(--c-sans); font-size: 12px; font-weight: 800;
  color: #1c1207; background: linear-gradient(160deg, #e6aa5a, #c8862a);
  border: none;
}
.sb-pass-add:hover { filter: brightness(1.08); }
.sb-profile-link { color: inherit; text-decoration: none; border-radius: 8px; }
.sb-profile-link:hover .sb-pinfo strong { color: #f3a0a6; }
.sb-avatar {
  width: 48px; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-size: 22px; color: #f4e9c8;
  background: radial-gradient(circle at 32% 28%, #3a3b42, #232428 70%);
  border: 1px solid rgba(240, 50, 63, 0.35);
  box-shadow: 0 0 18px rgba(216, 31, 42, 0.18);
}
.sb-pinfo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sb-pinfo strong {
  font-family: var(--c-sans);
  font-size: 16px; font-weight: 800; color: var(--c-text);
  letter-spacing: -0.02em;
}
.sb-pinfo span { font-size: 12px; color: var(--c-mute); letter-spacing: -0.01em; }
.sb-auth-actions { display: grid; gap: 8px; }
.sb-google { width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: #171719; color: #f1f1f3; font-family: var(--c-sans); font-size: 14px; font-weight: 800; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.sb-google:hover { border-color: rgba(223,179,91,.42); background: #1e1d20; }
.sb-google:active { transform: scale(.98); }
.sb-google[hidden] { display: none; }
.sb-google span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #d5d5d8; font: 800 13px/1 Arial, sans-serif; }
.sb-auth-reason { margin: 2px 2px 0; color: #85858d; font-size: 10.5px; font-weight: 550; line-height: 1.55; text-align: center; word-break: normal; line-break: strict; }
.sb-idlogin { justify-self: center; padding: 1px 6px; border: 0; background: transparent; color: #6b6b73; font-family: var(--c-sans); font-size: 10.5px; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.sb-idlogin:hover { color: #9a9aa2; }
.sb-idlogin[hidden] { display: none; }
.sb-idform { display: grid; gap: 6px; }
.sb-idform[hidden] { display: none; }
.sb-idform input { height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: rgba(255,255,255,.04); color: #fff; font-family: var(--c-sans); font-size: 13px; font-weight: 600; outline: none; }
.sb-idform input:focus { border-color: rgba(223,179,91,.5); }
.sb-idform input::placeholder { color: rgba(255,255,255,.32); }
.sb-idform button { height: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: #1e1d20; color: #f1f1f3; font-family: var(--c-sans); font-size: 13px; font-weight: 800; cursor: pointer; }
.sb-idform button:disabled { opacity: .55; cursor: wait; }


.mp-profile {
  display: flex; align-items: center; gap: 15px;
  padding: 18px 20px 22px; border-bottom: 1px solid var(--c-line);
}
.mp-avatar {
  width: 62px; height: 62px; flex: none; display: grid; place-items: center; overflow: hidden;
  border: 1px solid rgba(240, 50, 63, 0.42); border-radius: 50%; background: #21171a;
  color: #f7e9ea; font-size: 19px; font-weight: 800; box-shadow: 0 0 24px rgba(216, 31, 42, 0.16);
}
.mp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mp-identity { min-width: 0; }
.mp-identity h2 { margin: 0 0 3px; color: #fff; font-family: var(--c-sans); font-size: 19px; letter-spacing: 0; }
.mp-identity p { max-width: 310px; margin: 0; overflow: hidden; color: #9b9ca3; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mp-identity span { display: inline-block; margin-top: 7px; color: #d8b56b; font-size: 10px; font-weight: 750; }
.mp-balance {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 20px 16px 12px; padding: 19px 18px;
  border: 1px solid rgba(223, 179, 91, 0.28); border-radius: 8px;
  background: radial-gradient(90% 120% at 0 0, rgba(216, 31, 42, 0.16), transparent 62%), #121014;
}
.mp-balance small { display: block; color: #9a9ba2; font-size: 11px; font-weight: 700; }
.mp-balance strong { display: block; margin: 3px 0; color: #fff; font-family: "Shippori Mincho", serif; font-size: 27px; letter-spacing: 0; }
.mp-balance p { margin: 0; color: #a8a2a4; font-size: 11px; line-height: 1.5; word-break: normal; line-break: strict; }
.mp-balance button {
  min-width: 78px; height: 38px; padding: 0 12px; border: 1px solid rgba(240, 50, 63, 0.48); border-radius: 6px;
  background: #351015; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer;
}
.mp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 20px; }
.mp-stats a {
  min-width: 0; padding: 15px; border: 1px solid var(--c-line); border-radius: 8px;
  background: #111014; color: #fff; text-decoration: none;
}
.mp-stats small, .mp-stats span { display: block; color: #85868d; font-size: 10.5px; }
.mp-stats strong { display: block; margin: 6px 0 8px; font-size: 23px; letter-spacing: 0; }
.mp-menu { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.mp-menu a, .mp-menu button {
  width: 100%; min-height: 68px; padding: 11px 20px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 12px;
  border: 0; border-bottom: 1px solid var(--c-line); background: transparent; color: #fff; text-align: left; text-decoration: none; cursor: pointer;
}
.mp-menu a:last-child, .mp-menu button:last-child { border-bottom: 0; }
.mp-menu a:hover, .mp-menu button:hover { background: rgba(255,255,255,.03); }
.mp-menu-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(240,50,63,.22); border-radius: 50%; color: #e88188; font-family: "Shippori Mincho",serif; font-size: 12px; }
.mp-menu span:nth-child(2) { min-width: 0; }
.mp-menu b, .mp-menu small { display: block; letter-spacing: 0; }
.mp-menu b { font-size: 13px; }
.mp-menu small { margin-top: 4px; color: #7f8087; font-size: 10.5px; }
.mp-menu i { color: #6f7077; font-size: 23px; font-style: normal; }
.mp-account-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.mp-account-row span { color: #696a71; font-size: 10.5px; line-height: 1.5; }
.mp-account-row button { flex: none; min-width: 100px; height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.04); color: #cfd0d6; font-size: 13.5px; font-weight: 800; text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.mp-account-row button:hover { border-color: rgba(240,50,63,.5); background: rgba(240,50,63,.1); color: #fff; }


.tfpass-modal { position: fixed; inset: 0; z-index: 4300; display: grid; place-items: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s; }
.tfpass-modal.on { opacity: 1; visibility: visible; }
.tfpass-dim { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.tfpass-card { position: relative; z-index: 1; width: min(100%, 384px); max-height: 92vh; overflow-y: auto; padding: 18px 16px 16px; border: 1px solid rgba(223,179,91,.4); border-radius: 14px; background: radial-gradient(110% 60% at 50% 0, rgba(190,24,37,.2), transparent 70%), #0e0d10; box-shadow: 0 28px 90px rgba(0,0,0,.82), inset 0 1px 0 rgba(255,255,255,.05); transform: translateY(10px) scale(.985); transition: transform .24s ease; }
.tfpass-modal.on .tfpass-card { transform: none; }
.tfpass-x { position: absolute; top: 6px; right: 6px; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.65); font: 300 27px/1 Arial; cursor: pointer; touch-action: manipulation; }

.tfpass-ticket { position: relative; overflow: hidden; margin: 8px 0 16px; padding: 20px 18px; border-radius: 12px; background: #17151a; border: 1px solid rgba(255,255,255,.08); }
.tfpass-ticket::before, .tfpass-ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #0e0d10; transform: translateY(-50%); }
.tfpass-ticket::before { left: -9px; } .tfpass-ticket::after { right: -9px; }
.tfpass-ticket.is-active { background: linear-gradient(135deg, #f8e0a2 0%, #e6b85f 48%, #cda049 100%); border-color: rgba(255,255,255,.4); box-shadow: 0 12px 34px rgba(216,130,31,.3), inset 0 1px 0 rgba(255,255,255,.55); }
.tfpass-seal { position: absolute; top: 12px; right: 14px; display: grid; place-items: center; padding: 5px 4px; border: 1.5px solid rgba(120,20,20,.45); border-radius: 5px; color: #7a1414; font: 800 11px/1 "Shippori Mincho", serif; writing-mode: vertical-rl; letter-spacing: 2px; opacity: .5; }
.tfpass-tier { display: flex; align-items: baseline; gap: 9px; color: #241703; }
.tfpass-tier b { font: 900 32px/1 "Shippori Mincho", serif; }
.tfpass-tier .han { font: 400 22px/1 "Shippori Mincho", serif; opacity: .55; }
.tfpass-ticket .tfpass-plan-name { margin: 4px 0 0; font: 800 13px/1.4 var(--c-sans); color: #4a3208; }
.tfpass-ticket .tfpass-meta { margin-top: 13px; padding-top: 12px; border-top: 1px dashed rgba(90,50,8,.34); display: flex; justify-content: space-between; align-items: center; font: 700 12px/1 var(--c-sans); color: #5a3c0c; }
.tfpass-ticket .tfpass-dday { padding: 4px 11px; border-radius: 999px; background: rgba(122,20,20,.16); color: #7a1414; font-weight: 900; }
.tfpass-ticket.is-empty { text-align: left; }
.tfpass-ticket.is-empty .tfpass-tier { color: #efe7dc; }
.tfpass-ticket.is-empty .tfpass-tier b { font-size: 23px; }
.tfpass-ticket.is-empty small { display: block; margin-top: 8px; color: #8f8a86; font-size: 11.5px; }
.tfpass-ticket.is-empty .tfpass-seal { color: #b98f4a; border-color: rgba(185,143,74,.4); }

.tfpass-plans-h { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 2px 10px; color: #fff; font: 800 14px/1 var(--c-sans); }
.tfpass-plans-h span { color: #dfb35b; font-size: 11px; font-weight: 800; }
.tfpass-plans { display: grid; gap: 8px; }
.tfpass-plan { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.035); color: #fff; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.tfpass-plan:hover { border-color: rgba(223,179,91,.5); }
.tfpass-plan.is-sel { border-color: #e6aa5a; background: rgba(216,130,31,.14); }
.tfpass-plan-l b { display: block; font: 800 14px/1.2 var(--c-sans); }
.tfpass-plan-l small { display: block; margin-top: 3px; color: #a8a2a4; font-size: 11px; }
.tfpass-plan-r { text-align: right; white-space: nowrap; }
.tfpass-plan-r strong { display: block; font: 900 15px/1 var(--c-sans); }
.tfpass-cta { width: 100%; margin-top: 15px; height: 52px; border: 0; border-radius: 9px; background: linear-gradient(135deg, #f0323f, #c11624); color: #fff; font: 900 15px/1 var(--c-sans); cursor: pointer; box-shadow: 0 8px 24px rgba(216,31,42,.34); }
.tfpass-cta:hover { filter: brightness(1.06); }
.tfpass-note { margin: 11px 0 2px; text-align: center; color: #8f8a86; font-size: 11px; }


.tfpass-eyebrow { margin: 6px 42px 10px 0; color: #dfb35b; font: 850 9px/1.3 var(--c-sans); letter-spacing: 1px; }
.tfpass-h2 { margin: 0; color: #fff; font: 700 21px/1.45 "Shippori Mincho", serif; }
.tfpass-desc { margin: 11px 0 16px; color: rgba(255,255,255,.6); font: 550 12.5px/1.75 var(--c-sans); word-break: normal; line-break: strict; }
.tfpass-desc b { color: #ffd9a8; }
.tfpass-input { width: 100%; height: 54px; padding: 0 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: rgba(255,255,255,.05); color: #fff; font: 800 19px/1 var(--c-sans); letter-spacing: 3px; text-align: center; text-transform: uppercase; }
.tfpass-input::placeholder { color: #6b666e; font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.tfpass-input:focus { outline: none; border-color: #e6aa5a; background: rgba(216,130,31,.1); }
.tfpass-err { margin: 9px 0 0; color: #ff8a93; font: 700 12px/1.5 var(--c-sans); text-align: center; }
.tfpass-err[hidden] { display: none; }
.mp-login-view { padding: 54px 22px 30px; text-align: center; }
.mp-login-mark { width: 58px; height: 58px; margin: 0 auto 19px; display: grid; place-items: center; border: 1px solid rgba(240,50,63,.38); border-radius: 50%; color: #ef858c; font-family: "Shippori Mincho",serif; font-size: 20px; }
.mp-login-view h2 { margin: 0; color: #fff; font-family: "Shippori Mincho",serif; font-size: 22px; line-height: 1.45; letter-spacing: 0; }
.mp-login-view p { margin: 12px 0 24px; color: #8c8d94; font-size: 12px; line-height: 1.7; word-break: normal; line-break: strict; }
.mp-login-btn { width: 100%; max-width: 360px; height: 48px; margin: 0 auto 9px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 7px; font-size: 13px; font-weight: 800; cursor: pointer; }
.mp-login-btn.google { border: 1px solid rgba(255,255,255,.14); background: #171719; color: #f1f1f3; }
.mp-login-btn.google span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-family: Arial,sans-serif; }

.sb-menu { padding: 6px 18px 10px; }
.sb-label {
  font-family: var(--c-sans);
  font-size: 11.5px; font-weight: 700;
  color: var(--c-mute); letter-spacing: 0.4px;
  margin: 18px 4px 6px;
}
.sb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-text);
  transition: background 0.18s;
}
.sb-menu button.sb-item { width: 100%; border: 0; background: transparent; font-family: var(--c-sans); text-align: left; cursor: pointer; }
.sb-item:hover, .sb-item:active { background: rgba(255, 255, 255, 0.045); }
.sb-ico {
  width: 22px; height: 22px; flex: none;
  color: #9d9ea6;
  display: flex; align-items: center; justify-content: center;
}
.sb-ico svg { width: 21px; height: 21px; }
.sb-item:hover .sb-ico { color: var(--c-red-bright); }
.sb-txt {
  flex: 1; min-width: 0;
  font-family: var(--c-sans);
  font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.02em;
}
.sb-chev { width: 16px; height: 16px; color: #55565c; flex: none; }
.sb-badge {
  flex: none;
  font-family: var(--c-sans);
  font-size: 9.5px; font-weight: 800;
  color: var(--c-red-bright);
  border: 1px solid rgba(240, 50, 63, 0.45);
  border-radius: 999px;
  padding: 2px 7px;
}
.sb-item.is-soon { cursor: default; }
.sb-item.is-soon .sb-txt, .sb-item.is-soon .sb-ico { opacity: 0.42; }
.sb-item.is-soon:hover { background: transparent; }
.sb-item.is-soon:hover .sb-ico { color: #9d9ea6; }
.sb-soon {
  flex: none;
  font-family: var(--c-sans);
  font-size: 9.5px; font-weight: 700;
  color: #6f7076;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 7px;
}
.sb-ver {
  margin: auto 18px 0;
  padding: 16px 4px calc(env(safe-area-inset-bottom, 0px) + 18px);
  font-family: var(--c-sans);
  font-size: 11px; color: #55565c;
  border-top: 1px solid var(--c-line);
}


.form-container, .result-container {
  background: linear-gradient(180deg, #121216, #0a0a0d) !important;
  border: 1px solid var(--c-line) !important;
  border-bottom: none !important;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.8) !important;
}
.form-container::before, .result-container::before, .intro-form-panel::before { background: rgba(255, 255, 255, 0.28) !important; }
.form-header { background: transparent !important; }
.form-header h2, .result-title, .intro-form-title { color: var(--c-text) !important; font-family: var(--c-sans) !important; font-weight: 800; }
.form-close, .intro-form-close { color: var(--c-mute) !important; }
.form-close:hover, .intro-form-close:hover { background: rgba(255, 255, 255, 0.06) !important; color: var(--c-text) !important; }
.form-label, .intro-form-panel .form-label { color: var(--c-dim) !important; }
.result-header { border-bottom: 1px solid var(--c-line) !important; }
.result-actions { background: transparent !important; border-top: 1px solid var(--c-line) !important; }
.result-content { color: var(--c-text) !important; }
.result-modal { background: rgba(2, 2, 4, 0.66) !important; }

.form-select, .intro-form-panel .form-select {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--c-line) !important;
  color: var(--c-text) !important;
}
.form-select:focus, .intro-form-panel .form-select:focus {
  border-color: var(--c-red) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(216, 31, 42, 0.16) !important;
}
.form-select option { background: #121216; color: var(--c-text); }
.toggle-group, .intro-form-panel .toggle-group { background: rgba(255, 255, 255, 0.04) !important; }
.toggle-btn, .intro-form-panel .toggle-btn { color: var(--c-mute) !important; }
.toggle-btn.active, .intro-form-panel .toggle-btn.active {
  background: var(--c-red) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(216, 31, 42, 0.35) !important;
}

.submit-btn, .intro-form-panel .submit-btn, .action-btn.primary {
  background: var(--c-red) !important;
  color: #fff !important;
  font-family: var(--c-sans) !important;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(216, 31, 42, 0.32) !important;
}
.submit-btn:hover, .intro-form-panel .submit-btn:hover, .action-btn.primary:hover { background: var(--c-red-bright) !important; }
.action-btn.secondary { background: rgba(255, 255, 255, 0.06) !important; color: var(--c-dim) !important; }

.intro-modal[data-type="saju"] .intro-cta,
.intro-modal[data-type="fortune"] .intro-cta,
.intro-modal[data-type="compatibility"] .intro-cta,
.intro-modal[data-type="tarot"] .intro-cta { background: var(--c-red) !important; color: #fff !important; }
.intro-title .highlight { color: var(--c-red) !important; }

.loading-modal { background: rgba(4, 4, 6, 0.95) !important; }
.loading-spinner {
  border: 2px solid rgba(216, 31, 42, 0.2) !important;
  border-top-color: var(--c-red) !important;
  box-shadow: 0 0 22px rgba(216, 31, 42, 0.28);
}
.loading-text { color: var(--c-text) !important; font-family: var(--c-sans) !important; letter-spacing: 1px; }
.loading-subtext { color: var(--c-red) !important; }


.footer {
  background: linear-gradient(180deg, transparent, rgba(8, 8, 11, 0.9)) !important;
  border-top: 1px solid var(--c-line) !important;
  color: var(--c-mute) !important;
}
.footer-info-item { color: var(--c-mute) !important; }
.footer-info-item::after { background: var(--c-line) !important; }
/* 事業者情報と規約・表記・料金へのリンク（business-info.js が描く）。リンクは狭い画面でも一つずつ折り返す */
.footer-content { box-sizing: border-box; padding-inline: 16px; }
.footer-business { width: 100%; }
.footer-business .tf-biz-links a { color: var(--c-dim); font-weight: 600; }
.footer-business .tf-biz-links a:hover { color: var(--c-red); }
.copyright { color: var(--c-mute) !important; }


.bottom-nav {
  background: rgba(8, 8, 11, 0.92) !important;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.7) !important;
}
.bottom-nav-item {
  color: var(--c-mute) !important;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.bottom-nav-label {
  display: block; font-family: var(--c-sans);
  font-size: 10px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
}
.bottom-nav-item.active { color: var(--c-red-bright) !important; }
.bottom-nav-item.active .bottom-nav-icon { filter: drop-shadow(0 0 8px rgba(240, 50, 63, 0.55)); }

.bottom-nav-item.active::before {
  content: ''; position: absolute; z-index: -1;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(216, 31, 42, 0.16);
}

.bottom-nav-item:active { transform: scale(0.92); background: transparent !important; color: var(--c-red-bright) !important; }


.cine-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.22, 0.8, 0.28, 1),
              transform 0.85s cubic-bezier(0.22, 0.8, 0.28, 1);
  will-change: opacity, transform;
}
.cine-reveal.cine-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .cine-reveal { opacity: 1 !important; transform: none !important; }
  .hero-slide.active .slide-label,
  .hero-slide.active .slide-title,
  .hero-slide.active .slide-desc,
  .hero-slide.active .slide-cta { animation: none !important; }
}




.hero-slide.active .slide-overlay {
  animation: candleFlicker 4.5s ease-in-out infinite;
}
@keyframes candleFlicker {
  0%, 100% { opacity: 1; }
  18% { opacity: 0.93; }
  32% { opacity: 0.98; }
  48% { opacity: 0.87; }
  60% { opacity: 0.96; }
  74% { opacity: 0.9; }
}


.slide-title .highlight { animation: redBreath 3.6s ease-in-out infinite; }
@keyframes redBreath {
  0%, 100% { text-shadow: 0 0 30px rgba(240, 50, 63, 0.6), 0 0 6px rgba(255, 90, 100, 0.4); }
  50% { text-shadow: 0 0 56px rgba(240, 50, 63, 0.95), 0 0 14px rgba(255, 110, 120, 0.7); }
}


.section-best .section-header { position: relative; }
.section-best .section-header::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 260px; height: 90px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(216, 31, 42, 0.22), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
  animation: emberPulse 5s ease-in-out infinite;
}
@keyframes emberPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.section-best .section-subtitle {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #8a5560;
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .slide-overlay,
  .slide-title .highlight,
  .section-best .section-header::before { animation: none !important; }
}

@media (max-width: 400px) {
  .hero { height: 540px; }
  .slide-title { font-size: 42px; }
  .section-header .section-title { font-size: 21px; }
}




/* shell.js のマイページの一覧（.cc）が使う */
@keyframes catPop {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}


html, body { overflow-x: clip; max-width: 100%; }






/* 推しとの相性への帯 — ヒーローの下、鑑定の一覧の上 */
.oshi-band {
  display: flex; align-items: center; gap: 12px;
  margin: 12px 16px 0; padding: 13px 16px;
  border-radius: 16px; text-decoration: none; color: #fff;
  background: radial-gradient(120% 160% at 0% 0%, rgba(105, 119, 143, 0.35), transparent 60%), linear-gradient(135deg, #1a1c22, #0f1014);
  border: 1px solid rgba(160, 172, 196, 0.32);
}
.oshi-band-mark { font-size: 24px; flex: none; }
.oshi-band-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.oshi-band-text b {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif; font-size: 16px; font-weight: 700;
  word-break: normal; word-break: auto-phrase; line-break: strict;
}
.oshi-band-text small {
  font-family: var(--c-sans); font-size: 11.5px; line-height: 1.5; color: #b8bfcc;
  word-break: normal; line-break: strict;
}
.oshi-band-go { flex: none; font-size: 22px; color: #b8bfcc; }
/* フッターの読みもの（/saju）への入口 */
.footer-guide-link {
  color: #b9a98a; font-size: 13px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  word-break: normal; line-break: strict;
}

/* 固定ヘッダー（66px）の下から始める。上にカテゴリーのタブがあるときは、その下から続ける */
.hero2 { padding: 72px 0 0; position: relative; }
.home-tabs + .hero2 { padding-top: 4px; }
.hero2-track {
  display: flex; gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px 7% 14px;
  scrollbar-width: none;
}
.hero2-track::-webkit-scrollbar { display: none; }
@media (hover: hover) { .hero2-track { cursor: grab; } }

.hero2-card {
  position: relative; flex: 0 0 auto;
  width: 86%;
  aspect-ratio: 26 / 39;
  border-radius: 26px; overflow: hidden;
  scroll-snap-align: center;
  background: var(--c-bg-1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transform-origin: center center;
  will-change: transform, filter;   
}
.hero2-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero2-grad {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(72% 42% at 28% 88%, rgba(120, 10, 16, 0.38), transparent 72%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.3) 0%, transparent 26%, transparent 44%, rgba(10, 10, 12, 0.55) 66%, rgba(10, 10, 12, 0.96) 100%);
}
.hero2-counter {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-family: var(--c-sans);
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
}

.hero2-body {
  position: absolute; left: 16px; right: 16px; bottom: 56px;
  z-index: 2; text-align: center;
}
.hero2-sub {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 13px; font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 6px;
  margin-top: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.hero2-title {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 44px; font-weight: 700; color: #fff;
  line-height: 1.1; letter-spacing: 2px;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.6);
  word-break: normal; word-break: auto-phrase; line-break: strict;
}
.hero2-title em {
  font-style: normal; color: var(--c-red-bright);
  text-shadow: 0 0 34px rgba(240, 50, 63, 0.8), 0 4px 20px rgba(0, 0, 0, 0.8);
  animation: redBreath 3.6s ease-in-out infinite;
}


.hero2-nav {
  position: absolute; bottom: 24px; z-index: 4;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; cursor: pointer;
  transition: background .2s, transform .15s;
}
.hero2-nav:hover { background: rgba(216, 31, 42, 0.85); }
.hero2-nav:active { transform: scale(0.9); }

.hero2-nav.prev { left: calc(9% + 12px); }
.hero2-nav.next { right: calc(9% + 12px); }
.hero2-nav svg { width: 17px; height: 17px; }

@media (max-width: 400px) {
  .hero2-title { font-size: 37px; }
  .hero2-sub { font-size: 12px; letter-spacing: 4px; }
}


.bottom-nav {
  width: auto !important; max-width: none !important;
  left: 50% !important; transform: translateX(-50%) !important;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
  height: 58px !important;
  padding: 0 10px;
  gap: 2px;
  border-radius: 999px !important;
  background: rgba(20, 21, 24, 0.82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55) !important;
}
.bottom-nav-item { flex: none !important; width: 64px; }
.bottom-nav-label { display: block !important; }
.bottom-nav-icon { width: 24px !important; height: 24px !important; }

.container { padding-bottom: 0 !important; }


@media (min-width: 768px) {
  .container { max-width: 600px !important; }
  
  .header { max-width: 600px !important; left: 0 !important; right: 0 !important; margin: 0 auto !important; transform: none !important; }
  #gateRoot { max-width: 600px !important; }
  body.gate-dark .chat-container { max-width: 600px !important; }
  .hero2-card { border-radius: 30px; }
  .hero2-title { font-size: 40px; }
  .section-header .section-title { font-size: 26px; }
}
@media (min-width: 1000px) {
  .container { max-width: 640px !important; }
  .header { max-width: 640px !important; }
}
.footer {
  margin-top: 36px !important;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 100px) !important;
}




.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}


/* ---------------- ホームの鑑定一覧: 先頭のカテゴリーのタブ + カテゴリーごとの横の列 ---------------- */
.hero2-tagline {
  margin: 2px 20px 0; text-align: center;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: 0.04em;
  color: #b9a98a;
  word-break: normal; line-break: strict;
}
.section.home-list { padding: 22px 0 8px; margin-top: 0; }
.home-list-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 0 16px 6px;
}
.home-list-title {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 20px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.3;
  color: var(--c-text);
  word-break: normal; word-break: auto-phrase; line-break: strict;
}
.home-list-sort { flex: none; font-size: 11.5px; font-weight: 600; color: var(--c-dim); }
/* ページの先頭に置き、固定ヘッダー（66px）の下の余白ごと top: 0 に貼り付く */
.home-tabs {
  position: sticky; top: 0; z-index: 95;
  display: flex; gap: 7px;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 74px 16px 12px;
  background: linear-gradient(180deg, var(--c-bg-0) 74%, rgba(0, 0, 0, 0));
}
.home-tab {
  flex: none;
  height: 40px; padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #b4b5bc;
  font-family: var(--c-sans); font-size: 14.5px; font-weight: 700; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.home-tab:hover { color: #ececf0; background: rgba(255, 255, 255, 0.08); }
.home-tab[aria-selected="true"] {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-deep));
  box-shadow: 0 4px 14px rgba(216, 31, 42, 0.35);
}
.home-tab:focus-visible { outline: 2px solid #eccb87; outline-offset: 2px; }
.home-grid { padding: 8px 0 4px; }
/* カテゴリーの列: 見出し + 横に送るポスター（一画面に二枚と次の一枚の端） */
.home-row { margin-bottom: 26px; }
.home-row[hidden] { display: none; }
.home-row-eyebrow {
  padding: 0 16px; margin-bottom: 4px;
  font-family: var(--c-sans); font-size: 12px; font-weight: 600; color: #8e8f96;
  word-break: normal; word-break: auto-phrase; line-break: strict;
}
.home-row-title {
  padding: 0 16px; margin-bottom: 12px;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: 0.02em;
  color: var(--c-text);
  word-break: normal; word-break: auto-phrase; line-break: strict;
}
.home-row-track {
  display: flex; gap: 11px;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
  padding: 2px 16px 6px;
  user-select: none; -webkit-user-select: none;
}
@media (hover: hover) { .home-row-track { cursor: grab; } }
.home-row-track .home-card { flex: 0 0 clamp(150px, 53vw, 210px); scroll-snap-align: start; }
/* タブで一つのカテゴリーを選んだ時は、その列を二列の格子で全部見せる */
.home-grid:not([data-view="all"]) .home-row-track {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 11px;
  overflow: visible; scroll-snap-type: none; cursor: auto;
}
.home-grid:not([data-view="all"]) .home-row-track .home-card { flex: none; }
.home-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  color: inherit; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.home-card[hidden] { display: none; }
.home-card .poster {
  position: relative; aspect-ratio: 2 / 3;
  border-radius: 18px; overflow: hidden;
  background: var(--c-bg-1);
  border: 1px solid var(--c-line);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  transition: transform .2s ease, border-color .2s ease;
}
.home-card .poster img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center top;
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
}
.home-card:active .poster { transform: scale(0.97); }
@media (hover: hover) {
  .home-card:hover .poster { transform: translateY(-2px); border-color: var(--c-red-line); }
}
.home-card:focus-visible { outline: none; }
.home-card:focus-visible .poster { outline: 2px solid #eccb87; outline-offset: 2px; }
.home-card-cap { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 2px 0; }
.home-card-cap strong {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--c-text);
}
.home-card-cap span {
  font-size: 12.5px; font-weight: 600; line-height: 1.35; color: #c9a86a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* お気に入りのハート（shell.js が .poster-card に足す）をカードの角に合わせる */
.home-card .wish-btn { top: 8px; right: 8px; width: 34px; height: 34px; }
.home-card .wish-btn svg { width: 18px; height: 18px; }
@media (min-width: 560px) {
  .home-grid:not([data-view="all"]) .home-row-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
