/* ========================================================
   コスメガール (cosme-girl.com) Modern Beauty Design System
   ======================================================== */

:root {
  --primary: #d65a7f;
  --primary-light: #fbebf0;
  --primary-dark: #b84366;
  --primary-gradient: linear-gradient(135deg, #e87a99 0%, #c94b72 100%);
  --accent: #9d6fa8;
  --accent-gold: #c69c6d;
  
  --bg-main: #fdfafb;
  --bg-card: #ffffff;
  --bg-alt: #f7eff3;
  
  --text-main: #332a2f;
  --text-muted: #72626b;
  --text-light: #9e8e97;
  
  --border: #f0e1e8;
  --border-focus: #e094ab;
  
  --shadow-sm: 0 2px 8px rgba(184, 67, 102, 0.06);
  --shadow-md: 0 8px 24px rgba(184, 67, 102, 0.08);
  --shadow-lg: 0 16px 36px rgba(184, 67, 102, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --container-max: 1140px;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  opacity: 0.9;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(214, 90, 127, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.site-nav.pc-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  flex-wrap: nowrap;
}

.site-nav li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--bg-alt);
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.breadcrumb-list li::after {
  content: "›";
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
  content: "";
}

.breadcrumb-list a {
  color: var(--text-muted);
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

/* --- Hero Section --- */
.hero-section {
  padding: 48px 0 36px;
  text-align: center;
  background: radial-gradient(circle at top, #fff3f6 0%, transparent 70%);
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.search-box-wrap {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(214, 90, 127, 0.15);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* --- Category Pills --- */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(214, 90, 127, 0.25);
}

/* --- Post Grid --- */
.posts-section {
  padding: 40px 0 70px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 12px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.post-count {
  font-size: 14px;
  color: var(--text-muted);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* --- Post Card (16:9 Aspect Ratio) --- */
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fcecee 0%, #f7eff3 100%);
  overflow: hidden;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .card-thumb {
  transform: scale(1.05);
}

.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fcecee 0%, #f3e5eb 100%);
  color: var(--primary);
  font-size: 38px;
}

.card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card:hover .card-title {
  color: var(--primary);
}

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.card-more {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Article Detail --- */
.article-container {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.article-header {
  margin-bottom: 32px;
  text-align: center;
}

.article-cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.article-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-hero-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
  background: #fdf0f4;
}

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

/* --- Notice Box (PR & Medical law) --- */
.compliance-notice {
  background: #fff8f9;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.compliance-notice strong {
  color: var(--primary-dark);
}

/* --- Key Takeaways Box --- */
.key-takeaways {
  background: linear-gradient(135deg, #fff5f8 0%, #fcf0f5 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.takeaways-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.takeaways-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.6;
}

.takeaways-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* --- Table of Contents --- */
.toc-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  display: inline-block;
}

.toc-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.toc-item-h3 {
  padding-left: 18px;
  font-size: 13.5px;
}

/* --- Article Content Styling --- */
.article-body {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  background: linear-gradient(to right, #fdeef2, transparent);
  border-left: 5px solid var(--primary);
  padding: 12px 18px;
  margin: 44px 0 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin: 36px 0 16px;
}

.article-body h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--border-focus);
  background: var(--bg-alt);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted);
}

.article-body figure {
  margin: 32px 0;
  text-align: center;
}

.article-body figure img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  max-width: 100%;
}

.article-body figure figcaption {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

/* --- Table styling --- */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
}

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.article-body th {
  background: var(--primary-light);
  font-weight: 700;
  color: var(--primary-dark);
}

/* --- Luna Navigator Character Components --- */
.luna-welcome-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fff2f6 100%);
  border: 2px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px auto 40px;
  max-width: 860px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.luna-welcome-banner::before {
  content: "🌸";
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 80px;
  opacity: 0.12;
  pointer-events: none;
}

.luna-avatar-wrap {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 18px rgba(214, 90, 127, 0.25);
  background: #fff;
}

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

.luna-message {
  flex: 1;
}

.luna-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.luna-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.luna-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.luna-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Luna In-Article Speech Bubble */
.luna-article-bubble {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff5f8;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.luna-bubble-avatar {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(214, 90, 127, 0.2);
}

.luna-bubble-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luna-bubble-body {
  flex: 1;
}

.luna-bubble-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.luna-bubble-quote {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

/* --- Review Quotes Special UI --- */
.review-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-item::before {
  content: "💬";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 18px;
  opacity: 0.6;
}

.review-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* --- Related Posts --- */
.related-posts-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

/* --- Footer --- */
.site-footer {
  background: #2b2227;
  color: #dfd3d9;
  padding: 60px 0 30px;
  font-size: 13.5px;
  border-top: 4px solid var(--primary);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-info p {
  color: #b5a4ad;
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-nav h4 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #b5a4ad;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* --- Compliance & Salvage Disclaimer (消費者契約法第8条対応二段構えサルベージ条項) --- */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.75;
  color: #9c8993;
}

.footer-disclaimer p {
  margin-bottom: 10px;
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  color: #85747d;
  font-size: 12px;
}

/* --- Mobile Floating Bar --- */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 999;
  padding: 10px 16px;
}

.floating-btn-group {
  display: flex;
  gap: 10px;
}

.floating-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .site-header .header-inner {
    height: 60px;
  }
  .logo-title {
    font-size: 17px;
  }
  .logo-sub {
    display: none;
  }
  .hero-title {
    font-size: 24px;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mobile-floating-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

/* --- 3-Mall Affiliate Purchase Box Component --- */
.product-purchase-box {
  background: #ffffff;
  border: 2px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.purchase-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.purchase-item-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.purchase-subtext {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.mall-button-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.mall-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mall-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.mall-btn.amazon {
  background: linear-gradient(135deg, #ff9900 0%, #e68a00 100%);
  color: #111827;
}

.mall-btn.rakuten {
  background: linear-gradient(135deg, #bf0000 0%, #a00000 100%);
  color: #ffffff;
}

.mall-btn.yahoo {
  background: linear-gradient(135deg, #ff0033 0%, #d60029 100%);
  color: #ffffff;
}

.mall-icon {
  font-size: 20px;
}

.mall-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.mall-name {
  font-size: 14px;
  line-height: 1.2;
}

.mall-action {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
}

.purchase-pr-notice {
  font-size: 11.5px;
  color: var(--text-light);
  line-height: 1.5;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  margin-top: 6px;
}

/* --- Shopping Best Items Showcase Grid --- */
.shopping-hero-card {
  background: linear-gradient(135deg, #fff5f8 0%, #fef0f5 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.shopping-item-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}

.shopping-item-card:hover {
  box-shadow: var(--shadow-md);
}

.shopping-card-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  padding: 32px;
}

.shopping-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fdf2f6;
}

.shopping-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopping-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(214, 90, 127, 0.4);
}

.shopping-card-content {
  display: flex;
  flex-direction: column;
}

.shopping-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.shopping-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.shopping-luna-comment {
  background: #fff8f9;
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.6;
}

.shopping-features-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.shopping-feature-pill {
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .mall-button-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .shopping-card-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}



/* ========================================================
   Cosme Girls Navigators & Talk Session (Cross-Talk UI)
   ======================================================== */

.navigators-section {
  margin: 40px 0;
  padding: 36px;
  background: linear-gradient(135deg, #fff5f8 0%, #f0fdf9 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 107, 149, 0.2);
}

.navigators-header {
  text-align: center;
  margin-bottom: 32px;
}

.navigators-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.navigators-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.navigators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.navigator-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navigator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 149, 0.15);
}

.navigator-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navigator-role-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  display: inline-block;
}

.tag-luna { background: linear-gradient(135deg, #ffe4e9 0%, #ffd1dc 100%); color: #b71c1c; border: 1px solid rgba(183, 28, 28, 0.2); font-weight: 800; }
.tag-aoi { background: #e0f2f1; color: #00796b; }
.tag-yumi { background: #ede7f6; color: #5e35b1; }
.tag-mio { background: #fff3e0; color: #e65100; }

.navigator-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.navigator-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.navigator-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
  text-align: left;
  margin-top: auto;
}

/* --- Navigator Team Directory Page Styles (/navigators/) --- */
.team-page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 10px 0 20px;
}

.team-page-badge {
  display: inline-block;
  margin-bottom: 12px;
}

.team-page-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin: 12px 0 14px 0;
  letter-spacing: -0.01em;
}

.team-page-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .team-page-title {
    font-size: 22px;
    line-height: 1.45;
  }
  .team-page-desc {
    font-size: 14px;
  }
}

/* --- Talk Session / Cross Talk Chat UI (Left & Right Dynamic Chat) --- */
.talk-session {
  margin: 36px 0;
  padding: 32px 24px;
  background: #fdfbfb;
  border-radius: var(--radius-lg);
  border: 1px solid #fae8eb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  overflow: hidden;
}

.talk-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px dashed #f0d5db;
  text-align: center;
}

.talk-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  background: linear-gradient(135deg, #ff6b95 0%, #ff8fab 100%);
  color: #fff;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.talk-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.talk-bubble {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
  width: 100%;
}

.talk-bubble:last-child {
  margin-bottom: 0;
}

/* Left side (default & odd) */
.talk-bubble.left,
.talk-bubble:nth-child(odd of .talk-bubble) {
  flex-direction: row;
}

/* Right side (even & .right) */
.talk-bubble.right,
.talk-bubble:nth-child(even of .talk-bubble) {
  flex-direction: row-reverse;
}

.talk-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  flex-shrink: 0;
}

.talk-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 5px;
}

.talk-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.talk-body {
  position: relative;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-main);
  max-width: 82%;
}

/* Speech arrow: Left bubble (arrow on left) */
.talk-bubble.left .talk-body,
.talk-bubble:nth-child(odd of .talk-bubble) .talk-body {
  border-top-left-radius: 4px;
}
.talk-bubble.left .talk-body::before,
.talk-bubble:nth-child(odd of .talk-bubble) .talk-body::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #ffffff;
}

/* Speech arrow: Right bubble (arrow on right) */
.talk-bubble.right .talk-body,
.talk-bubble:nth-child(even of .talk-bubble) .talk-body {
  border-top-right-radius: 4px;
}
.talk-bubble.right .talk-body::before,
.talk-bubble:nth-child(even of .talk-bubble) .talk-body::before {
  content: '';
  position: absolute;
  top: 14px;
  right: -8px;
  left: auto;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #ffffff;
  border-right: none;
}

/* Bubble themes (Left & Right arrows matched) */
.talk-bubble.aoi .talk-body {
  background: #f2faf8;
  border-color: #b2dfdb;
}
.talk-bubble.aoi.left .talk-body::before,
.talk-bubble.aoi:nth-child(odd of .talk-bubble) .talk-body::before {
  border-right-color: #f2faf8;
}
.talk-bubble.aoi.right .talk-body::before,
.talk-bubble.aoi:nth-child(even of .talk-bubble) .talk-body::before {
  border-left-color: #f2faf8;
}

.talk-bubble.luna .talk-body {
  background: #fff8f9;
  border-color: #f8bbd0;
}
.talk-bubble.luna.left .talk-body::before,
.talk-bubble.luna:nth-child(odd of .talk-bubble) .talk-body::before {
  border-right-color: #fff8f9;
}
.talk-bubble.luna.right .talk-body::before,
.talk-bubble.luna:nth-child(even of .talk-bubble) .talk-body::before {
  border-left-color: #fff8f9;
}

.talk-bubble.yumi .talk-body {
  background: #faf7fd;
  border-color: #d1c4e9;
}
.talk-bubble.yumi.left .talk-body::before,
.talk-bubble.yumi:nth-child(odd of .talk-bubble) .talk-body::before {
  border-right-color: #faf7fd;
}
.talk-bubble.yumi.right .talk-body::before,
.talk-bubble.yumi:nth-child(even of .talk-bubble) .talk-body::before {
  border-left-color: #faf7fd;
}

.talk-bubble.mio .talk-body {
  background: #fffaf4;
  border-color: #ffe0b2;
}
.talk-bubble.mio.left .talk-body::before,
.talk-bubble.mio:nth-child(odd of .talk-bubble) .talk-body::before {
  border-right-color: #fffaf4;
}
.talk-bubble.mio.right .talk-body::before,
.talk-bubble.mio:nth-child(even of .talk-bubble) .talk-body::before {
  border-left-color: #fffaf4;
}

/* ========================================================
   Navigator Individual Profile Page Styles
   ======================================================== */
.nav-profile-header {
  background: linear-gradient(135deg, #fff5f8 0%, #f4fbf9 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 36px;
  border: 1px solid rgba(255, 107, 149, 0.2);
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.nav-profile-details {
  flex-grow: 1;
}

.nav-profile-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.nav-profile-catchphrase {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.nav-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.nav-stat-card {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.06);
}

.nav-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.nav-story-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #fae8eb;
  margin-bottom: 36px;
  line-height: 1.8;
  font-size: 15px;
}

.nav-story-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffe4e9;
}

.nav-posts-heading {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-switch-team {
  margin: 48px 0 24px 0;
  padding: 24px;
  background: #fbfbfb;
  border-radius: var(--radius-md);
  text-align: center;
}

@media (max-width: 768px) {
  .nav-profile-header {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .talk-body {
    max-width: 90%;
  }
}

/* Article Author Box */
.article-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #fdfbfb;
  border-radius: var(--radius-md);
  border: 1px solid #fae8eb;
  margin: 32px 0 24px 0;
}

.article-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.article-author-info {
  flex-grow: 1;
}

.article-author-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.article-author-comment {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Badge for share cosmetics */
.badge-share {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%) !important;
  color: #fff !important;
}
.badge-mens {
  background: linear-gradient(135deg, #2b2d42 0%, #4a4e69 100%) !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .talk-bubble {
    gap: 10px;
  }
  .talk-avatar-col {
    width: 50px;
  }
  .talk-avatar {
    width: 44px;
    height: 44px;
  }
  .talk-name {
    font-size: 10px;
  }
  .talk-body {
    padding: 12px 14px;
    font-size: 13px;
  }
  .article-author-card {
    flex-direction: column;
    text-align: center;
  }
}


/* ========================================================
   50,000 Persona Review Improvements (Mobile Bottom Bar & Readability)
   ======================================================== */

/* Improved Article Body Readability */
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: #2c3e50;
}

.article-body p {
  margin-bottom: 24px;
}

/* Card Navigator Badge */
.card-nav-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-right: 6px;
}

/* Mobile Fixed Floating Bottom Navigation */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
  }
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    gap: 3px;
    flex: 1;
    height: 100%;
  }
  .mobile-nav-item.active,
  .mobile-nav-item:hover {
    color: var(--primary);
  }
  .mobile-nav-icon {
    font-size: 18px;
    line-height: 1;
  }
}


/* ========================================================
   Multi-Device & Reader-Centric Typography Enhancements
   ======================================================== */

/* 1. Global Font Stack & Smooth Rendering */
html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  word-break: break-word;
  overflow-wrap: break-word;
  line-break: strict;
}

/* 2. Article Typography & Heading Hierarchy */
.article-body {
  font-size: 16.5px;
  line-height: 1.9;
  color: #2d3748;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1a202c;
  margin: 48px 0 20px 0;
  padding: 12px 18px;
  background: linear-gradient(135deg, #fff5f8 0%, #fdfbfb 100%);
  border-left: 5px solid var(--primary);
  border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.article-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: #2d3748;
  margin: 36px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px dashed #f0d5db;
}

.article-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #4a5568;
  margin: 28px 0 12px 0;
}

/* Marker-style Strong Highlights */
.article-body strong {
  font-weight: 700;
  color: #1a202c;
  background: linear-gradient(transparent 62%, rgba(255, 107, 149, 0.22) 62%);
  padding: 0 2px;
}

/* Blockquote Magazine Styling */
.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: #fdfbfb;
  border-left: 4px solid var(--primary);
  border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  font-size: 15px;
  line-height: 1.75;
  color: #4a5568;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

/* 3. Responsive Header Navigation (Swipeable on Mobile/Tablet) */
@media (max-width: 860px) {
  .site-header .nav-links {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 6px 0;
    scrollbar-width: none; /* Firefox */
  }
  .site-header .nav-links::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  .site-header .nav-link {
    font-size: 13px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0,0,0,0.05);
    flex-shrink: 0;
  }
}

/* 4. Optimized Chat Talk Bubbles for Mobile */
@media (max-width: 640px) {
  .talk-session {
    padding: 20px 14px;
    margin: 24px 0;
    border-radius: var(--radius-md);
  }
  .talk-bubble {
    gap: 10px;
    margin-bottom: 18px;
  }
  .talk-avatar-col {
    width: 48px;
  }
  .talk-avatar {
    width: 44px;
    height: 44px;
    border-width: 2px;
  }
  .talk-name {
    font-size: 10px;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .talk-body {
    max-width: calc(100% - 58px) !important;
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.6;
    text-align: left !important;
  }
  .talk-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }
  .talk-title {
    font-size: 17px;
  }
}

/* 5. Mobile Floating Bar (Polished iOS/Android Style) */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Ensure content is never obscured */
  }
  .mobile-floating-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 8px 12px;
  }
  .floating-btn-group {
    display: flex;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
  }
  .floating-btn {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: transform 0.15s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .floating-btn:active {
    transform: scale(0.96);
  }
}

/* 6. Tablet & Desktop Grid Refinements */
@media (min-width: 769px) and (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .navigators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .navigators-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ========================================================
   Mobile Hamburger Drawer Navigation System (Responsive Fix)
   ======================================================== */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background: var(--bg-alt);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.drawer-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: #f0f0f0;
  color: var(--text-main);
}

.mobile-drawer-links {
  list-style: none;
  padding: 12px 0;
  margin: 0;
  flex-grow: 1;
}

.mobile-drawer-links li {
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  background: #fff5f8;
  color: var(--primary);
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .site-nav.pc-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (min-width: 961px) {
  .site-nav.pc-nav {
    display: flex !important;
  }
  .mobile-menu-btn,
  .mobile-menu-drawer,
  .mobile-drawer-backdrop {
    display: none !important;
  }
}

/* ========================================================
   Google AdSense CLS-Zero AdSlot Styles
   ======================================================== */
.ad-slot-wrapper {
  margin: 36px auto;
  max-width: 100%;
  padding: 12px 16px;
  background: #fdfbfb;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.ad-slot-label {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ad-slot-box {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 480px) {
  .ad-slot-wrapper {
    margin: 28px auto;
    padding: 8px 10px;
  }
  .ad-slot-box {
    min-height: 250px;
  }
}
