/* ===========================================================
   Elegant — 装飾加工ブランド紹介ページ
   サイトのデザイン・トークン (top-redesign.css) を基準にしたスタイル
   =========================================================== */

/* ---------- CTA sample note (elegantページ) ---------- */
.elegant-cta-sample-note {
  display: inline-block;
  max-width: 640px;
  margin: 4px auto 28px;
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #555;
  border-top: 1px solid rgba(194, 161, 104, 0.35);
  border-bottom: 1px solid rgba(194, 161, 104, 0.35);
  background: linear-gradient(180deg, rgba(214, 181, 118, 0.04) 0%, rgba(214, 181, 118, 0) 100%);
}

@media (max-width: 640px) {
  .elegant-cta-sample-note {
    font-size: 13px;
    padding: 12px 18px;
    line-height: 1.85;
  }
}

/* ---------- a11y: visually-hidden util ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero: KV Poster (画像を主役にしたポスター構成) ---------- */
.elegant-poster {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(214, 181, 118, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #0a0b0c 0%, #131518 55%, #0a0a0a 100%);
  /* 横方向の余白を排してワイド表示。縦のみ余白を取る */
  padding: clamp(56px, 7vw, 96px) 0;
  text-align: center;
  overflow: hidden;
}

/* 上下の細い金線 (左右ではなく上下に変更) */
.elegant-poster::before,
.elegant-poster::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 12vw, 160px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 181, 118, 0.55), transparent);
}

.elegant-poster::before { top: 28px; }
.elegant-poster::after  { bottom: 28px; }

/* Eyebrow と Caption は読みやすい幅に制約 */
.elegant-poster-eyebrow,
.elegant-poster-caption {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.elegant-poster-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.36em;
  font-weight: 600;
  color: #d6b576;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: clamp(28px, 4vw, 44px);
  position: relative;
}

.elegant-poster-eyebrow::before,
.elegant-poster-eyebrow::after {
  content: "";
  display: inline-block;
  width: clamp(20px, 3vw, 32px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 181, 118, 0.7));
  vertical-align: middle;
  margin: 0 clamp(12px, 1.6vw, 18px);
}

.elegant-poster-eyebrow::after {
  background: linear-gradient(90deg, rgba(214, 181, 118, 0.7), transparent);
}

/* 画像フレーム — 引きで魅せる */
.elegant-poster-frame {
  margin: 0 auto;
  max-width: min(1280px, calc(100vw - clamp(32px, 6vw, 96px)));
  display: block;
  position: relative;
  background: transparent;
}

.elegant-poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.elegant-poster-caption {
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.82);
  margin-top: clamp(32px, 4vw, 48px);
  margin-bottom: 0;
  font-weight: 400;
  position: relative;
}

/* キャプション両脇にもグラデーション短線 (リズム揃え) */
.elegant-poster-caption::before,
.elegant-poster-caption::after {
  content: "";
  display: inline-block;
  width: clamp(16px, 2vw, 24px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 181, 118, 0.45));
  vertical-align: middle;
  margin: 0 clamp(12px, 1.6vw, 18px);
}

.elegant-poster-caption::after {
  background: linear-gradient(90deg, rgba(214, 181, 118, 0.45), transparent);
}

/* ---------- Concept intro (fitting-introと同じトーン) ---------- */
.elegant-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.elegant-intro-text {
  font-size: 16px;
  line-height: 2;
  color: #444;
  margin: 0 0 16px;
  text-wrap: balance;
}

.elegant-intro-text:last-child {
  margin-bottom: 0;
}

/* ---------- Feature: SVG mark + content (alternating) ---------- */
.elegant-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.elegant-feature:first-child {
  border-top: none;
  padding-top: 8px;
}

.elegant-feature.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.elegant-feature.reverse .elegant-feature-poster {
  order: 2;
}

.elegant-feature.reverse .elegant-feature-content {
  order: 1;
}

/* Feature poster — KV画像をそのまま見せる枠 */
.elegant-feature-poster {
  position: relative;
  margin: 0;
  background: #000;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 60px -28px rgba(10, 10, 10, 0.35);
}

.elegant-feature-poster::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(214, 181, 118, 0.28);
  pointer-events: none;
  z-index: 2;
  border-radius: 4px;
}

.elegant-feature-poster img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.elegant-feature-poster-num {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: #d6b576;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(214, 181, 118, 0.35);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Feature 画像のクリック可能ヒント (KVヒーローには適用しない) */
.elegant-feature-poster img {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.elegant-feature-poster:hover img {
  transform: scale(1.02);
  opacity: 0.95;
}


.elegant-feature-content {
  padding: 8px 0;
}

/* Elegantのブラスゴールドへ統一 */
.elegant-feature-content .editorial-row-label {
  color: #8b6e3f;
}

.elegant-feature-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: #5a4423;
  font-style: italic;
}

.elegant-feature-tagline-mark {
  flex: 0 0 auto;
  width: 26px;
  height: 1px;
  background: #c2a168;
  display: inline-block;
  margin-top: 0.55em;
  font-style: normal;
}

.elegant-feature-content .editorial-row-text {
  font-size: 15px;
  line-height: 1.95;
  color: #444;
  margin: 0;
}

.elegant-feature-content .editorial-row-text + .editorial-row-text {
  margin-top: 1em;
}

/* ---------- Feature: Color palette supplement ---------- */
.elegant-feature-palette {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}

.elegant-feature-palette::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, #c2a168 0%, transparent 100%);
}

.elegant-feature-palette-eyebrow {
  margin: 0 0 14px;
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: #8b6e3f;
  text-transform: uppercase;
}

.elegant-feature-palette-title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--ink);
}

.elegant-feature-palette-text {
  margin: 0 0 0.6em;
  font-size: 13.5px;
  line-height: 2;
  color: #5a5a5a;
  letter-spacing: 0.02em;
}

.elegant-feature-palette-text:last-of-type {
  margin-bottom: 22px;
}

.elegant-feature-palette-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
}

.elegant-palette-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.elegant-palette-chip-swatch {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 4px 10px -4px rgba(10, 10, 10, 0.35);
}

.elegant-palette-chip-swatch-solid {
  background: radial-gradient(circle at 32% 28%, #4a4a4a 0%, #1a1a1a 60%, #050505 100%);
}

.elegant-palette-chip-swatch-metallic {
  background:
    conic-gradient(
      from 200deg,
      #6a6a6a 0deg,
      #d8d8d8 90deg,
      #f5f5f5 150deg,
      #b0b0b0 220deg,
      #4a4a4a 320deg,
      #6a6a6a 360deg
    );
}

.elegant-palette-chip-swatch-metallic::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, 0.6), transparent 65%);
}

.elegant-palette-chip-swatch-glitter {
  background:
    radial-gradient(circle at 22% 30%, #fff8e0 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 70% 24%, #fff8e0 0 1px, transparent 1.2px),
    radial-gradient(circle at 35% 70%, #fff8e0 0 1.2px, transparent 1.4px),
    radial-gradient(circle at 78% 70%, #fff8e0 0 0.9px, transparent 1.1px),
    radial-gradient(circle at 50% 50%, #fff8e0 0 0.7px, transparent 0.9px),
    radial-gradient(circle at 30% 50%, rgba(255, 248, 224, 0.7) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 60% 40%, rgba(255, 248, 224, 0.7) 0 0.6px, transparent 0.8px),
    linear-gradient(150deg, #1a1a1a 0%, #2a2218 50%, #100c08 100%);
}

.elegant-palette-chip-swatch-special {
  background:
    conic-gradient(
      from 0deg,
      #d6b576 0deg,
      #e8a8b4 60deg,
      #b0c8d8 120deg,
      #c4d8b8 180deg,
      #f0d690 240deg,
      #d6b576 360deg
    );
  filter: saturate(0.85);
}

.elegant-palette-chip-swatch-special::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 32%, rgba(255, 255, 255, 0.55), transparent 70%);
}

.elegant-palette-chip-name {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 640px) {
  .elegant-feature-palette { margin-top: 24px; padding-top: 22px; }
  .elegant-feature-palette-title { font-size: 16px; }
  .elegant-feature-palette-text { font-size: 13px; line-height: 1.95; }
  .elegant-feature-palette-chips { gap: 16px 22px; }
  .elegant-palette-chip-swatch { width: 18px; height: 18px; }
  .elegant-palette-chip-name { font-size: 10px; letter-spacing: 0.14em; }
}

/* 3D preview inline CTA inside feature content */
.elegant-feature-preview {
  margin-top: 28px;
  padding: 22px 24px;
  background:
    linear-gradient(160deg, rgba(214, 181, 118, 0.08) 0%, rgba(214, 181, 118, 0.02) 100%),
    var(--paper-soft);
  border: 1px solid rgba(214, 181, 118, 0.32);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.elegant-feature-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: #8b6e3f;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid rgba(214, 181, 118, 0.45);
  border-radius: 999px;
}

.elegant-feature-preview-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c2a168;
  box-shadow: 0 0 0 0 rgba(194, 161, 104, 0.6);
  animation: elegant-preview-pulse 2.4s ease-out infinite;
}

@keyframes elegant-preview-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(194, 161, 104, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(194, 161, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 161, 104, 0); }
}

.elegant-feature-preview-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.elegant-feature-preview-btn {
  margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .elegant-feature-preview-badge-dot { animation: none; }
}

/* ---------- Statement (dark editorial — Elegantの世界観を残すブロック) ---------- */
.elegant-statement {
  position: relative;
  padding: clamp(56px, 8vw, 96px) clamp(28px, 5vw, 64px);
  background: linear-gradient(160deg, #0c0e10 0%, #14171a 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  border-radius: 4px;
}

.elegant-statement::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(214, 181, 118, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.elegant-statement-eyebrow {
  position: relative;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: #d6b576;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin: 0 0 24px;
}

.elegant-statement-title {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 28px;
}

.elegant-statement-title-line {
  display: block;
}

.elegant-statement-text {
  position: relative;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.4em 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .elegant-feature,
  .elegant-feature.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .elegant-feature.reverse .elegant-feature-poster {
    order: 0;
  }
  .elegant-feature.reverse .elegant-feature-content {
    order: 0;
  }
  .elegant-feature-poster {
    /* image keeps full column width on mobile */
  }
}

@media (max-width: 640px) {
  /* 上下の金線アクセントをモバイルでも適切な位置に */
  .elegant-poster::before { top: 18px; }
  .elegant-poster::after  { bottom: 18px; }
  .elegant-poster-eyebrow { font-size: 10px; letter-spacing: 0.3em; margin-bottom: 24px; }
  .elegant-poster-eyebrow::before,
  .elegant-poster-eyebrow::after { margin: 0 10px; }
  .elegant-poster-caption { font-size: 13.5px; letter-spacing: 0.14em; margin-top: 26px; }
  .elegant-poster-caption::before,
  .elegant-poster-caption::after { margin: 0 8px; }

  .elegant-intro-text { font-size: 15px; line-height: 1.9; }
  .elegant-feature { padding: 36px 0; }
  .elegant-feature-poster-num { top: 12px; right: 12px; font-size: 9px; padding: 4px 8px; }
  .elegant-feature-tagline { font-size: 18px; gap: 10px; margin-bottom: 18px; }
  .elegant-feature-tagline-mark { width: 24px; }
  .elegant-statement-text { font-size: 14px; }
}
