/* editorial-elegance.css
 * DESIGN.md「Editorial Dusty Elegance」準拠の汎用デザインCSS
 * 名前空間: .editorial-elegance をbodyに付与して有効化
 */

.editorial-elegance {
  /* Colors */
  --ee-primary: #7b5059;
  --ee-primary-container: #966871;
  --ee-secondary: #775a19;
  --ee-tertiary: #5c5c5c;
  --ee-surface: #fdf9f6;
  --ee-surface-low: #f5eeea;
  --ee-surface-high: #ffffff;
  --ee-on-surface: #1c1b1a;
  --ee-outline-variant: rgba(28, 27, 26, 0.15);

  /* Typography */
  --ee-font-serif: 'Noto Serif JP', 'Noto Serif', Georgia, serif;
  --ee-font-sans: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --ee-space-xs: 0.5rem;
  --ee-space-sm: 1rem;
  --ee-space-md: 2rem;
  --ee-space-lg: 4rem;
  --ee-space-xl: 6rem;
  --ee-space-2xl: 8rem;

  /* Elevation */
  --ee-shadow-ambient: 0px 12px 32px rgba(28, 27, 26, 0.04);
  --ee-shadow-hover: 0px 8px 24px rgba(28, 27, 26, 0.08);

  /* Base */
  background-color: var(--ee-surface);
  color: var(--ee-tertiary);
  font-family: var(--ee-font-serif);
  line-height: 1.8;
}

/* =============================================
   Typography
   ============================================= */
.editorial-elegance .ee-display-lg {
  font-size: 3.5rem;
  letter-spacing: 0.02em;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ee-on-surface);
}
.editorial-elegance .ee-display-md {
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ee-on-surface);
}
.editorial-elegance .ee-display-sm {
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ee-on-surface);
}
.editorial-elegance .ee-headline {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ee-on-surface);
}
.editorial-elegance .ee-label {
  font-family: var(--ee-font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .editorial-elegance .ee-display-lg { font-size: 2rem; }
  .editorial-elegance .ee-display-md { font-size: 1.75rem; }
  .editorial-elegance .ee-display-sm { font-size: 1.35rem; }
}

/* =============================================
   Buttons
   ============================================= */
.editorial-elegance .ee-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ee-primary), var(--ee-primary-container));
  color: #fff;
  font-family: var(--ee-font-sans);
  border-radius: 0.125rem;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.editorial-elegance .ee-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.editorial-elegance .ee-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ee-surface);
  color: var(--ee-primary);
  border: 1px solid var(--ee-outline-variant);
  border-radius: 0.125rem;
  padding: 14px 32px;
  font-family: var(--ee-font-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
}
.editorial-elegance .ee-btn-secondary:hover {
  background: var(--ee-surface-low);
  color: var(--ee-primary);
  text-decoration: none;
}

.editorial-elegance .ee-btn-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--ee-secondary);
  font-family: var(--ee-font-sans);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ee-secondary);
  text-decoration: none;
  cursor: pointer;
}
.editorial-elegance .ee-btn-tertiary:hover {
  color: var(--ee-secondary);
  text-decoration: none;
  opacity: 0.8;
}

.editorial-elegance .ee-btn-secondary--on-dark {
  background: var(--ee-surface-high);
  color: var(--ee-primary);
}
.editorial-elegance .ee-btn-tertiary--on-dark {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.5);
}

/* =============================================
   Cards (No-Line Rule)
   ============================================= */
.editorial-elegance .ee-card {
  background: var(--ee-surface-low);
  border: none;
  border-radius: 0.375rem;
  padding: var(--ee-space-md);
  box-shadow: var(--ee-shadow-ambient);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.editorial-elegance .ee-card:hover {
  box-shadow: var(--ee-shadow-hover);
  transform: translateY(-2px);
}

/* =============================================
   Surface Hierarchy
   ============================================= */
.editorial-elegance .ee-surface { background: var(--ee-surface); }
.editorial-elegance .ee-surface-low { background: var(--ee-surface-low); }
.editorial-elegance .ee-surface-high { background: var(--ee-surface-high); }

/* =============================================
   Editorial Quote
   ============================================= */
.editorial-elegance .ee-quote {
  border-left: 3px solid var(--ee-secondary);
  padding-left: var(--ee-space-md);
  font-size: 1.25rem;
  color: var(--ee-primary);
  font-style: italic;
  line-height: 1.8;
  margin: var(--ee-space-lg) 0;
}

/* =============================================
   Tables (No-Line)
   ============================================= */
.editorial-elegance .table-bordered {
  border: none;
}
.editorial-elegance .table-bordered > thead > tr > th,
.editorial-elegance .table-bordered > tbody > tr > td {
  border: none;
  padding: 12px 16px;
}
.editorial-elegance .table-bordered > thead > tr > th {
  background: var(--ee-surface-low);
  color: var(--ee-primary);
  font-family: var(--ee-font-sans);
  font-weight: 600;
}
.editorial-elegance .table-bordered > tbody > tr:nth-child(even) {
  background: var(--ee-surface-low);
}

/* =============================================
   Glassmorphism
   ============================================= */
.editorial-elegance .ee-glass {
  background: rgba(253, 249, 246, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* =============================================
   Breadcrumb
   ============================================= */
.editorial-elegance .breadcrumb {
  font-family: var(--ee-font-sans);
  background: transparent;
  font-size: 0.85rem;
}

/* =============================================
   Pill Links
   ============================================= */
.editorial-elegance .ee-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--ee-surface-low);
  color: var(--ee-tertiary);
  border: none;
  border-radius: 20px;
  font-family: var(--ee-font-sans);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease;
}
.editorial-elegance .ee-pill:hover {
  background: var(--ee-primary);
  color: #fff;
  text-decoration: none;
}

/* =============================================
   Section Spacing
   ============================================= */
.editorial-elegance .ee-section {
  padding: var(--ee-space-xl) 0;
}

/* =============================================
   Hero CTA
   ============================================= */
.editorial-elegance .ee-hero-cta {
  background: linear-gradient(135deg, var(--ee-primary), var(--ee-primary-container));
  color: #fff;
  padding: 28px 24px;
  border-radius: 0.375rem;
  margin: 24px 0;
  box-shadow: var(--ee-shadow-ambient);
}
.editorial-elegance .ee-hero-cta .ee-label {
  color: rgba(255,255,255,0.9);
}
.editorial-elegance .ee-hero-cta .ee-hero-price {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}
.editorial-elegance .ee-hero-cta .ee-hero-price .ee-hero-price-amount {
  font-size: 36px;
}
.editorial-elegance .ee-hero-cta .ee-hero-price .ee-hero-price-unit {
  font-size: 14px;
  font-weight: 400;
}
.editorial-elegance .ee-hero-cta .ee-hero-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.editorial-elegance .ee-hero-cta .ee-hero-cta-badges {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
  flex-wrap: wrap;
}

/* =============================================
   Link Secondary (Gold)
   ============================================= */
.editorial-elegance .ee-link-secondary {
  color: var(--ee-secondary);
  text-decoration: none;
  font-weight: 600;
}
.editorial-elegance .ee-link-secondary:hover {
  color: var(--ee-primary);
  text-decoration: none;
}

/* =============================================
   FAQ Accordion
   ============================================= */
.editorial-elegance .faq-list > li:nth-child(even) {
  background: var(--ee-surface-low);
  border-radius: 0.375rem;
}
.editorial-elegance .faq-list > li {
  padding: var(--ee-space-sm);
  margin-bottom: var(--ee-space-xs);
}
.editorial-elegance .toggleNone {
  color: var(--ee-tertiary);
  line-height: 1.8;
}
