/* ============================================================
   GOLD PAGE — 貴金属買取ページ専用CSS
   /assets/css/gold.css として配置
============================================================ */


/* ============================================================
   (HERO) ヒーローセクション — Refined Mockup Edition
============================================================ */
/* Mincho font stack (overrides --serif which is gothic in this theme) */
.gold-hero {
  --mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro',
          'Yu Mincho', 'YuMincho', '游明朝', 'ヒラギノ明朝 ProN W6',
          'HG明朝E', 'MS P明朝', 'MS PMincho', serif;
  position: relative;
  background: #fbfbfb;
  padding: 0;
  overflow: hidden;
  margin-top: 0;
}
.gold-hero__inner {
  position: relative;
  z-index: 1;
}
.gold-hero__visual {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.gold-hero__visual-img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .gold-hero {
    padding: 0 0 24px;
  }
  .gold-hero__visual {
    border-radius: 10px;
  }
  .gold-hero__inner {
    padding: 0;
}
}

/* === 旧ヒーロー用CSS(現在は未使用、互換のため残置) === */
.gold-hero__legacy-bg {
  background: linear-gradient(90deg,
    #faf3e0 0%,
    #fbf6e6 30%,
    #fdf9ed 55%,
    #fefcf6 75%,
    #ffffff 100%
  );
}

/* ── Main visual: text + materials ── */
/* Full-bleed: extend to viewport edges */
.gold-hero__main {
  display: grid;
  grid-template-columns: 47fr 53fr;
  gap: 0;
  align-items: stretch;
  padding: 32px 0 0;
  min-height: 580px;
  position: relative;
  /* Full bleed to viewport */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* Left: text content */
.gold-hero__content {
  text-align: center;
  padding: 32px 32px 60px max(24px, calc(50vw - 600px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gold-hero__catch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mincho);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink, #14213d);
  letter-spacing: 0.12em;
  margin: 0 0 22px;
}
.gold-hero__catch-mark {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold-500, #c9a961);
  position: relative;
}
.gold-hero__catch-mark--l { transform: rotate(-58deg); transform-origin: right center; }
.gold-hero__catch-mark--r { transform: rotate(58deg); transform-origin: left center; }
.gold-hero__catch-mark::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 2px;
  height: 7px;
  background: var(--gold-500, #c9a961);
  transform: skewX(-20deg);
}
.gold-hero__catch-mark--r::before { left: auto; right: 0; transform: skewX(20deg); }

.gold-hero__title {
  font-family: var(--mincho);
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 700;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0 0 12px;
  white-space: nowrap;
}
.gold-hero__title-dot {
  color: var(--gold-500, #c9a961);
  display: inline-block;
  margin: 0 -0.06em;
  font-size: 0.78em;
  vertical-align: 0.05em;
}
.gold-hero__subtitle {
  font-family: var(--mincho);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.16em;
  margin: 0 0 22px;
  line-height: 1.4;
}
.gold-hero__lead-badge {
  display: inline-block;
  background: var(--navy-800, #14213d);
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 11px 26px;
  border-radius: 2px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.gold-hero__lead-em {
  color: var(--gold-300, #dcc489);
  font-weight: 600;
}

/* Ornament under text: leaves + line + diamond */
.gold-hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 100%;
  color: var(--gold-500, #c9a961);
}
.gold-hero__ornament-leaf {
  width: 60px;
  height: 30px;
  flex-shrink: 0;
  color: var(--gold-500, #c9a961);
}
.gold-hero__ornament-leaf svg {
  width: 100%;
  height: 100%;
  display: block;
}
.gold-hero__ornament-line {
  flex: 1 1 auto;
  max-width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500, #c9a961), transparent);
}
.gold-hero__ornament-diamond {
  font-size: 10px;
  color: var(--gold-500, #c9a961);
  line-height: 1;
}

/* Right: 3 material columns — bleed to right edge, slanted dividers between panels */
.gold-hero__materials {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  /* This background shows through the gaps between panels (slanted diagonal lines) */
  background: #ffffff;
}
/* Each panel: regular rectangle (no clip-path).
   Diagonal dividers between panels are created by ::before pseudo-elements. */
.gold-hero__material {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: visible; /* Allow ::before to extend beyond panel edges */
}
.gold-hero__material:not(:last-child) {
  /* Hide content that would otherwise overflow the right edge from neighbour's slant */
}
/* Diagonal divider: a slim ivory bar skewed and placed at the right edge of each panel
   except the last. Spans the full panel height (label + image area). */
.gold-hero__material:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  right: -10px;
  width: 20px;
  background: #ffffff;
  transform: skewX(-15deg);
  z-index: 5;
  pointer-events: none;
}

.gold-hero__material-label {
  background: var(--navy-800, #14213d);
  color: #fff;
  padding: 22px 18px 18px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100px;
  z-index: 2;
}
/* Push text further right on 2nd and 3rd panels so it stays clear of the slanted divider */
.gold-hero__material:not(:first-child) .gold-hero__material-label {
  padding-left: 50px;
}
.gold-hero__material-label::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 1px;
  background: var(--gold-500, #c9a961);
  opacity: 0.7;
}
.gold-hero__material-jp {
  font-family: var(--mincho);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
}
.gold-hero__material-en {
  font-family: 'Cormorant Garamond', var(--mincho);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold-300, #dcc489);
  line-height: 1.3;
}
.gold-hero__material-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 16px 30px 16px 30px;
  overflow: hidden;
}
.gold-hero__material-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.gold-hero__material:hover .gold-hero__material-img img {
  transform: scale(1.04);
}

/* ── Feature boxes (4-column row at bottom) ── */
.gold-hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(20, 33, 61, 0.08);
  background: #fff;
  position: relative;
}
/* container-bleed: features go full-width inside .gold-hero__container */
.gold-hero__container > .gold-hero__features {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(24px, calc(50vw - 600px));
  padding-right: max(24px, calc(50vw - 600px));
}
.gold-hero__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 16px;
  position: relative;
  text-align: left;
}
.gold-hero__feature + .gold-hero__feature::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 56%;
  background: rgba(20, 33, 61, 0.1);
}
.gold-hero__feature-ico {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gold-hero__feature-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.gold-hero__feature:hover .gold-hero__feature-ico img {
  transform: scale(1.06) rotate(-3deg);
}
.gold-hero__feature-body {
  flex: 1;
  min-width: 0;
}
.gold-hero__feature-title {
  font-family: var(--mincho);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-800, #14213d);
  margin: 0 0 4px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.gold-hero__feature-desc {
  font-family: var(--sans);
  font-size: 11px;
  color: #555;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ── Hero responsive ── */
@media (max-width: 1024px) {
  .gold-hero { padding-top: 40px; }
  .gold-hero__main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 8px 0 40px;
  }
  .gold-hero__title { white-space: normal; }
  .gold-hero__materials {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .gold-hero__material { min-height: 320px; }
}

@media (max-width: 768px) {
  .gold-hero { padding-top: 0; }
  .gold-hero__main {
    gap: 28px;
    padding: 4px 0 28px;
  }
  .gold-hero__catch {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .gold-hero__catch-mark { width: 16px; }
  .gold-hero__title {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
  }
  .gold-hero__subtitle {
    font-size: clamp(15px, 4vw, 19px);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
  }
  .gold-hero__lead-badge {
    font-size: 12px;
    padding: 9px 16px;
    letter-spacing: 0.04em;
  }
  .gold-hero__ornament {
    margin-top: 18px;
    gap: 6px;
  }
  .gold-hero__ornament-leaf { width: 40px; height: 22px; }
  .gold-hero__ornament-line { max-width: 50px; }

  .gold-hero__material { min-height: 240px; }
  .gold-hero__material-jp { font-size: 14px; }
  .gold-hero__material-en { font-size: 8.5px; }
  .gold-hero__material-label { padding: 11px 6px 10px; }

  /* Features: 2x2 on tablet/mobile */
  .gold-hero__features {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 0;
    gap: 14px 0;
  }
  .gold-hero__container > .gold-hero__features {
    padding-left: 16px;
    padding-right: 16px;
  }
  .gold-hero__feature {
    padding: 6px 10px;
    gap: 10px;
  }
  .gold-hero__feature-ico { width: 44px; height: 44px; }
  /* Reset divider to right side for 2x2 */
  .gold-hero__feature::before { display: none; }
  .gold-hero__feature:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 56%;
    background: rgba(20, 33, 61, 0.1);
  }
  .gold-hero__feature-title { font-size: 12.5px; }
  .gold-hero__feature-desc { font-size: 10px; }
}

@media (max-width: 480px) {
  .gold-hero__material { min-height: 180px; }
  .gold-hero__material-img { padding: 6px; }
}


/* ============================================================
   (1) Intro
============================================================ */
.gold-intro__body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.gold-intro__body p { margin: 0 0 14px; }
.gold-intro__body p:last-child { margin: 0; }
.gold-intro__lead {
  font-family: var(--serif) !important;
  font-size: 18px;
  font-weight: 700 !important;
  color: var(--navy-800) !important;
  margin: 0 0 18px !important;
  letter-spacing: 0.06em !important;
  line-height: 1.5 !important;
  text-align: center;
}


/* ============================================================
   (2) 注目の取扱金属
============================================================ */
.gold-metals__lead {
  text-align: center;
  font-family: 'Noto Sans JP', var(--sans);
  font-size: 14px;
  color: #555;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
}
.gold-metals__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gold-metal {
  position: relative;
  padding: 28px 18px 22px;
  background-color: #fbf6ec;
  background-image: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, rgba(251, 246, 236, 0.4) 55%, transparent 75%);
  border: 1px solid var(--gold-500);
  border-radius: 6px;
  text-align: center;
  box-shadow:
    0 8px 22px rgba(20, 33, 61, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s, border-color .35s;
}
.gold-metal:hover {
  transform: translateY(-4px);
  border-color: var(--gold-700);
  box-shadow: 0 14px 32px rgba(166, 133, 53, 0.18);
}
.gold-metal__corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.gold-metal__corners > span {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(201, 169, 97, 0.7);
  transition: width .35s, height .35s;
}
.gold-metal__corners > span:nth-child(1) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.gold-metal__corners > span:nth-child(2) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.gold-metal__corners > span:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.gold-metal__corners > span:nth-child(4) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.gold-metal:hover .gold-metal__corners > span { width: 26px; height: 26px; }
.gold-metal__symbol {
  font-family: var(--display);
  font-style: italic;
  font-size: 38px;
  font-weight: 700;
  color: var(--gold-700);
  line-height: 1;
  display: block;
  margin: 0 0 8px;
}
.gold-metal__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin: 0 0 4px;
  position: relative;
  z-index: 2;
}
.gold-metal__name small {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-700);
  margin-top: 4px;
}
.gold-metal__desc {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(201, 169, 97, 0.3);
  position: relative;
  z-index: 2;
}



/* ============================================================
   (NEW) こんなものでも買い取れます
============================================================ */
.gold-rare {
  position: relative;
}
.gold-rare__lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2, #2a3450);
  text-align: center;
  margin: 0 0 28px;
  letter-spacing: 0.04em;
}
.gold-rare__lead strong {
  color: var(--gold-700, #9a7e3f);
  font-weight: 700;
}
.gold-rare__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gold-rare__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--border, #e0d8be);
  border-radius: 10px;
  padding: 0 0 22px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
  isolation: isolate;
}
.gold-rare__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(201, 169, 97, 0) 60%,
    rgba(201, 169, 97, 0.08) 100%);
  z-index: 0;
  pointer-events: none;
}
.gold-rare__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(20, 33, 61, 0.18);
  border-color: var(--gold-500, #c9a961);
}
.gold-rare__ico {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 1 / 1;
  margin: 0 0 16px;
  overflow: hidden;
  background: #faf6ec;
  border-bottom: 1px solid var(--gold-500, #c9a961);
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.gold-rare__ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gold-rare__name {
  position: relative;
  z-index: 1;
  font-family: var(--mincho), 'Shippori Mincho', serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  padding: 0 14px;
  line-height: 1.4;
}
.gold-rare__desc {
  position: relative;
  z-index: 1;
  font-size: 11.5px;
  line-height: 1.7;
  color: #555;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0 14px;
}
.gold-rare__note {
  margin-top: 24px;
  padding: 16px 22px;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.10), rgba(201, 169, 97, 0.02));
  border-left: 3px solid var(--gold-500, #c9a961);
  border-radius: 0 8px 8px 0;
}
.gold-rare__note p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink, #14213d);
  margin: 0;
  letter-spacing: 0.03em;
}
.gold-rare__note strong {
  color: var(--gold-700, #9a7e3f);
  font-weight: 700;
}



@media (max-width: 1024px) {
  .gold-metals__grid { grid-template-columns: repeat(2, 1fr); }
  .gold-rare__grid { grid-template-columns: repeat(3, 1fr); }
}




@media (max-width: 768px) {
  .gold-metals__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gold-metal { padding: 22px 14px 18px; }
  .gold-metal__symbol { font-size: 32px; }
  .gold-metal__name { font-size: 16px; }
  .gold-rare__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gold-rare__item { padding: 0 0 16px; }
  .gold-rare__ico { margin-bottom: 12px; }
  .gold-rare__name { font-size: 13px; padding: 0 10px; }
  .gold-rare__desc { font-size: 11px; line-height: 1.6; padding: 0 10px; }
  .gold-rare__note { padding: 14px 16px; }
  .gold-rare__note p { font-size: 12px; }
}


/* ============================================================
   GOLD MAIN VISUAL v2 — コーディングしやすい実装版
   既存 .gold-hero と競合しないように gold-mv2 専用クラスで実装
============================================================ */
.gold-mv2 {
  --mv2-navy: #14213d;
  --mv2-navy-dark: #0d1628;
  --mv2-gold: #c9a961;
  --mv2-gold-dark: #8a6d2c;
  --mv2-gold-soft: #e8d5a8;
  --mv2-cream: #fbf8f0;
  --mv2-cream-2: #f7efd8;
  --mv2-ink: #14213d;
  --mv2-mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;

  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 0;
  margin: 0;
}

.gold-mv2 img {
  display: block;
  width: 100%;
  max-width: none;
}

.gold-mv2__wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background:
    radial-gradient(circle at 12% 16%, rgba(201, 169, 97, 0.08), transparent 28%),
    linear-gradient(90deg, #fff 0%, var(--mv2-cream) 48%, #fff 100%);
  border-top: 1px solid rgba(201,169,97,.45);
  border-bottom: 1px solid rgba(201,169,97,.45);
}

.gold-mv2__main {
  display: grid;
  grid-template-columns: minmax(480px, 47%) minmax(560px, 53%);
  align-items: stretch;
  min-height: 520px;
  border-bottom: 1px solid rgba(20,33,61,.08);
}

.gold-mv2__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 52px 62px max(24px, calc(50vw - 640px));
  background:
    linear-gradient(110deg, rgba(255,255,255,.95) 0%, rgba(253,249,237,.9) 100%);
}

.gold-mv2__copy::after {
  content: "";
  position: absolute;
  right: -42px;
  top: 0;
  bottom: 0;
  width: 84px;
  background: inherit;
  transform: skewX(-9deg);
  transform-origin: top right;
  z-index: 2;
  pointer-events: none;
}

.gold-mv2__copy > * {
  position: relative;
  z-index: 3;
}

.gold-mv2__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--mv2-mincho);
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--mv2-gold-dark);
  margin: 0 0 24px;
  white-space: nowrap;
}

.gold-mv2__eyebrow span {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--mv2-gold);
  opacity: .85;
}

.gold-mv2__title {
  font-family: var(--mv2-mincho);
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .07em;
  color: var(--mv2-ink);
  margin: 0 0 18px;
  white-space: nowrap;
}

.gold-mv2__title span {
  color: var(--mv2-gold);
  font-size: .72em;
  vertical-align: .07em;
  margin: 0 -.04em;
}

.gold-mv2__lead {
  font-family: var(--mv2-mincho);
  font-size: clamp(22px, 2.35vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  color: var(--mv2-ink);
  margin: 0 0 26px;
}

.gold-mv2__badge {
  display: inline-block;
  padding: 13px 30px;
  background: linear-gradient(180deg, #1c2a49, var(--mv2-navy));
  color: #fff;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.5;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(20,33,61,.16);
}

.gold-mv2__badge strong {
  color: var(--mv2-gold-soft);
  font-weight: 700;
}

.gold-mv2__deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(520px, 88%);
  margin-top: 34px;
  color: var(--mv2-gold);
}

.gold-mv2__deco i {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mv2-gold), transparent);
}

.gold-mv2__deco em {
  font-style: normal;
  font-size: 11px;
}

.gold-mv2__items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  overflow: hidden;
}

.gold-mv2__item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-rows: 110px 1fr;
}

.gold-mv2__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -11px;
  bottom: -2px;
  width: 22px;
  background: #fff;
  transform: skewX(-9deg);
  z-index: 6;
  pointer-events: none;
}

.gold-mv2__item-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: linear-gradient(180deg, var(--mv2-navy), var(--mv2-navy-dark));
  color: #fff;
  padding: 18px 10px;
}

.gold-mv2__item:not(:first-child) .gold-mv2__item-head {
  padding-left: 34px;
}

.gold-mv2__item-head strong {
  font-family: var(--mv2-mincho);
  font-size: clamp(21px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.15;
  color: var(--mv2-gold-soft);
}

.gold-mv2__item-head span {
  font-size: clamp(10px, .8vw, 13px);
  font-weight: 500;
  letter-spacing: .18em;
  color: #fff;
  opacity: .92;
}

.gold-mv2__item-img {
  position: relative;
  min-height: 410px;
  background: #fff;
  overflow: hidden;
}

.gold-mv2__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.03);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.gold-mv2__item:hover .gold-mv2__item-img img {
  transform: scale(1.045);
}

.gold-mv2__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 28px max(24px, calc(50vw - 640px));
  background: #fff;
}

.gold-mv2__feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 6px 28px;
  position: relative;
}

.gold-mv2__feature:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(20,33,61,.18), transparent);
}

.gold-mv2__feature-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
}

.gold-mv2__feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gold-mv2__feature-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gold-mv2__feature-text strong {
  font-family: var(--mv2-mincho);
  font-size: clamp(17px, 1.45vw, 25px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .04em;
  color: var(--mv2-ink);
}

.gold-mv2__feature-text small {
  font-size: clamp(11px, .9vw, 14px);
  line-height: 1.55;
  color: #444;
  letter-spacing: .02em;
}

@media (max-width: 1100px) {
  .gold-mv2__main {
    grid-template-columns: 1fr;
  }

  .gold-mv2__copy {
    padding: 46px 24px 42px;
  }

  .gold-mv2__copy::after {
    display: none;
  }

  .gold-mv2__items {
    min-height: 430px;
  }

  .gold-mv2__item-img {
    min-height: 330px;
  }

  .gold-mv2__features {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 20px;
  }

  .gold-mv2__feature:nth-child(3)::before {
    display: none;
  }

  .gold-mv2__feature:nth-child(n+3) {
    border-top: 1px solid rgba(20,33,61,.08);
    padding-top: 20px;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .gold-mv2__wrap {
    border-top: none;
  }

  .gold-mv2__copy {
    padding: 30px 16px 28px;
  }

  .gold-mv2__eyebrow {
    font-size: 12px;
    gap: 8px;
    margin-bottom: 14px;
  }

  .gold-mv2__eyebrow span {
    width: 24px;
  }

  .gold-mv2__title {
    font-size: clamp(31px, 9vw, 42px);
    white-space: normal;
    letter-spacing: .04em;
  }

  .gold-mv2__lead {
    font-size: 20px;
    letter-spacing: .08em;
    margin-bottom: 16px;
  }

  .gold-mv2__badge {
    font-size: 12px;
    padding: 10px 14px;
    letter-spacing: .03em;
  }

  .gold-mv2__deco {
    margin-top: 22px;
  }

  .gold-mv2__items {
    grid-template-columns: 1fr;
  }

  .gold-mv2__item {
    grid-template-rows: 76px 260px;
  }

  .gold-mv2__item:not(:last-child)::after {
    display: none;
  }

  .gold-mv2__item:not(:first-child) .gold-mv2__item-head {
    padding-left: 10px;
  }

  .gold-mv2__item-head strong {
    font-size: 22px;
  }

  .gold-mv2__item-head span {
    font-size: 10px;
  }

  .gold-mv2__item-img {
    min-height: 0;
  }

  .gold-mv2__features {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .gold-mv2__feature {
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 8px;
  }

  .gold-mv2__feature:not(:first-child)::before {
    display: none;
  }

  .gold-mv2__feature:not(:first-child) {
    border-top: 1px solid rgba(20,33,61,.08);
  }

  .gold-mv2__feature-icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .gold-mv2__feature-text strong {
    font-size: 17px;
  }
}


/* ============================================================
   Gold Chart - 相場チャート
   
   gold-chart.php / gold-chart.js のためのスタイル
============================================================ */

.gold-chart-section {
  margin: 40px 0;
}

.gold-chart-section__sub {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 0 0 16px;
}

/* チャート本体 */
.gold-chart {
  position: relative;
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
}

.gold-chart__container {
  width: 100%;
  min-height: 400px;
}

/* ツールチップ */
.gold-chart__tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--gold-300, #d8c281);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.1s;
  z-index: 100;
  min-width: 160px;
}

.gold-chart__tooltip-date {
  font-weight: 700;
  color: var(--gold-700, #8c6f2e);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold-200, #e8d99f);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.gold-chart__tooltip-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 2px 0;
}

.gold-chart__tooltip-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gold-chart__tooltip-label {
  color: #2a3450;
  font-weight: 600;
  margin-right: auto;
}

.gold-chart__tooltip-price {
  font-weight: 700;
  color: var(--gold-700, #8c6f2e);
  font-family: 'Noto Sans JP', sans-serif;
}


/* ============================================================
   凡例 (Legend) - チャートのライン説明
============================================================ */

.gold-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  padding: 12px 14px;
  margin: -8px 0 16px;
  background: #fafaf7;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  font-size: 13px;
}

.gold-chart__legend:empty {
  display: none;
}

.gold-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.gold-chart__legend-dot {
  display: inline-block;
  width: 14px;
  height: 3px;
  border-radius: 1px;
}

.gold-chart__legend-label {
  color: #2a3450;
  font-weight: 600;
  font-size: 13px;
}


/* ============================================================
   品位選択チェックボックス
============================================================ */

.gold-chart-controls {
  background: #fafaf7;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.gold-chart-controls__h {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-700, #8c6f2e);
  margin: 0 0 12px;
  letter-spacing: 0.06em;
}

.gold-chart-checkboxes__group {
  margin-bottom: 12px;
}

.gold-chart-checkboxes__group:last-child {
  margin-bottom: 0;
}

.gold-chart-checkboxes__group-title {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  margin: 0 0 6px;
  letter-spacing: 0.06em;
}

.gold-chart-checkboxes__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.gold-chart-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s;
}

.gold-chart-checkbox:hover {
  border-color: var(--gold-400, #d4b76e);
}

.gold-chart-checkbox:has(input:checked) {
  background: var(--gold-100, #fdf6e3);
  border-color: var(--gold-500, #c9a961);
}

.gold-chart-checkbox input {
  display: none;
}

.gold-chart-checkbox__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}

.gold-chart-checkbox__label {
  font-weight: 600;
  color: #2a3450;
}

.gold-chart-checkbox:has(input:checked) .gold-chart-checkbox__label {
  color: var(--gold-700, #8c6f2e);
}


/* ============================================================
   期間切替ボタン
============================================================ */

.gold-chart-period {
  background: #fafaf7;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  padding: 16px 20px;
}

.gold-chart-period__h {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-700, #8c6f2e);
  margin: 0 0 12px;
  letter-spacing: 0.06em;
}

.gold-chart-period__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gold-chart-period__btn {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #2a3450;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.15s;
  font-family: inherit;
}

.gold-chart-period__btn:hover {
  border-color: var(--gold-400, #d4b76e);
  color: var(--gold-700, #8c6f2e);
}

.gold-chart-period__btn.is-active {
  background: var(--gold-500, #c9a961);
  border-color: var(--gold-500, #c9a961);
  color: #fff;
}


/* ============================================================
   レスポンシブ - スマホでは横幅を最大に + 高さを抑える
============================================================ */

@media (max-width: 768px) {
  /* チャートセクションをコンテナの外側に拡張 (左右いっぱい使う) */
  .gold-chart-section {
    margin-left: -16px;
    margin-right: -16px;
  }

  .gold-chart {
    padding: 8px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    margin-bottom: 8px;  /* チャート下の余白を詰める */
  }

  .gold-chart__container {
    min-height: 300px;
  }

  .gold-chart__tooltip {
    min-width: 130px;
    font-size: 11px;
    padding: 8px 10px;
  }

  /* スマホでは凡例を非表示 (品位選択のチェックボックスと機能が重複するため) */
  .gold-chart__legend {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    height: 0 !important;
  }

  .gold-chart-controls,
  .gold-chart-period {
    padding: 12px 14px;
    margin-left: 8px;
    margin-right: 8px;
  }

  /* 品位選択の上の余白を詰める (チャートに寄せる) */
  .gold-chart-controls {
    margin-top: 0;
  }

  .gold-chart-period__btn {
    padding: 8px 12px;
    font-size: 11px;
    flex: 1 1 calc(33% - 4px);
    text-align: center;
  }
}

/* さらに小さい画面 (~400px) */
@media (max-width: 400px) {
  .gold-chart-section {
    margin-left: -12px;
    margin-right: -12px;
  }
  .gold-chart {
    padding: 4px;
  }
  .gold-chart__container {
    min-height: 280px;
  }
}


/* ============================================================
 * ============================================================
 *  ↓ 統合: gold-parts.css (テンプレ部品用CSS)
 *    ※元: /assets/css/gold-parts.css
 *    ※ .gold-chart-checkbox 系の旧定義は削除済み (gold.css 側を採用)
 * ============================================================
 * ============================================================ */
   (4) 本日の参考買取価格表 — リニューアル版
============================================================ */
/* 共通の見出し帯 - 削除済み(.heading に統一) */
/* 価格表用の見出し補正 */
.gold-prices .heading,
.gold-prices .heading--two-lines {
  margin-top: 0;
  margin-bottom: 16px;
}
.gold-prices .heading + .gold-prices__updated {
  margin-top: -8px;
}
/* heading--two-lines: 上に大きい見出し + 下に小さい補足 */
.heading--two-lines span {
  line-height: 1.45;
}
.heading--two-lines span small {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* セクション間の余白 */
.gold-prices > .heading:not(:first-of-type) {
  margin-top: 36px;
}

/* 更新日時 */
.gold-prices__updated {
  text-align: center;
  font-size: 13px;
  color: var(--ink-2, #2a3450);
  background: #fff;
  padding: 14px 0;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ============ ブロックA: インゴット 4種カード ============ */
.gold-prices__ingots {
  background: #fff;
}
.gold-prices__grid-ingot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ingot-card {
  border: 1px solid #8e8e8e;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.ingot-card__head {
  text-align: center;
  padding: 12px 8px 14px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 16px;
  color: #fff;
  line-height: 1.35;
}
.ingot-card__head .en {
  display: block;
  font-family: 'Cormorant Garamond', var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-top: 2px;
  margin-left: 0;
  opacity: 0.9;
}
/* パラジウム個別調整は不要(改行で問題解決) */
.ingot-card__body {
  padding: 22px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ingot-card__price {
  font-family: 'Cormorant Garamond', var(--sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.02em;
  line-height: 1.1;
  display: inline-flex;
  align-items: baseline;
}
.ingot-card__price .yen {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  margin-left: 2px;
}
.ingot-card__change {
  font-size: 12.5px;
  color: var(--ink-2, #2a3450);
  letter-spacing: 0.03em;
}
.ingot-card__change [data-change] {
  font-weight: 700;
  font-family: 'Cormorant Garamond', var(--sans);
  font-size: 13.5px;
}
.ingot-card__change [data-change].is-up { color: #c0392b; }
.ingot-card__change [data-change].is-up::before { content: '+'; font-size: 13px; margin-right: 1px; }
.ingot-card__change [data-change].is-down { color: #2566a8; }
.ingot-card__change [data-change].is-down::before { content: '-'; font-size: 13px; margin-right: 1px; }
.ingot-card__change [data-change].is-zero { color: var(--ink-2, #2a3450); }

/* 金属別カード装飾 */
.ingot-card--gold .ingot-card__head { background: #c9a961; color: #fff; }
.ingot-card--platinum .ingot-card__head { background: #5f9b9d; color: #fff; }
.ingot-card--silver .ingot-card__head { background: #8a8a8a; color: #fff; }
.ingot-card--palladium .ingot-card__head { background: #2d5f4e; color: #fff; }

/* 注釈 */
.gold-prices__note {
  font-size: 11.5px;
  color: var(--ink-2, #2a3450);
  line-height: 1.7;
  margin: 14px 0 0;
  padding: 0 4px;
}
.gold-prices__note p { margin: 2px 0; }

/* ============ ブロックB: 純度別 ============ */
.gold-prices__purity {
  background: #fff;
}
/* 純度別の本体:初期は最初の方が見えていて、下端がフェードアウト */
.gold-prices__purity-body {
  position: relative;
  overflow: hidden;
  max-height: 220px; /* 初期表示の高さ(金ブロックの最初の1行+見出しが見える程度) */
  transition: max-height 0.6s ease;
}
.gold-prices__purity-body.is-open {
  max-height: 4000px; /* 全部見えるよう十分な高さ */
}
/* フェードアウトのオーバーレイ(下端を白くフェード) */
.gold-prices__purity-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.gold-prices__purity-body.is-open::after {
  opacity: 0;
}
.gold-prices__metal-block {
  padding: 0;
  margin-bottom: 16px;
  border: 1px solid #d9e2e4;
  border-radius: 6px;
  overflow: hidden;
}
.gold-prices__metal-block:last-of-type { margin-bottom: 0; }
.gold-prices__metal-title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.05em;
  margin: 0;
  padding: 14px 18px;
  background: #f5e9d3; /* デフォルト(金) - 見出しは少し濃いめ */
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
}

/* 純度の格子(3列) */
.purity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 18px;
}
.purity-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 6px 6px;
  box-shadow: 0 1px 3px rgba(20, 33, 61, 0.05);
  gap: 18px;
  border: 1px solid #ecdfc7;
}
.purity-row__label {
  background: #f3ead0; /* デフォルト(金) */
  color: var(--navy-800, #14213d);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 10px 4px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  min-height: 36px;
}
.purity-row__price {
  background: transparent;
  font-family: 'Cormorant Garamond', var(--sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy-800, #14213d);
  text-align: left;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.purity-row__price .yen {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

/* 金種別の色分け */
/* === 金(ゴールド)=== */
.gold-prices__metal-block[data-metal-group="gold"] {
  border-color: #ead8a8;
}
.gold-prices__metal-block[data-metal-group="gold"] .gold-prices__metal-title {
  background: #fbf5ee;
  border-bottom-color: rgba(201, 169, 97, 0.3);
}
.gold-prices__metal-block[data-metal-group="gold"] .purity-row__label {
  background: #fbf5ee;
  color: #5a4818;
}

/* === プラチナ === */
.gold-prices__metal-block[data-metal-group="platinum"] {
  border-color: #c5dcdd;
}
.gold-prices__metal-block[data-metal-group="platinum"] .gold-prices__metal-title {
  background: #edf2f3;
  border-bottom-color: rgba(95, 155, 157, 0.3);
}
.gold-prices__metal-block[data-metal-group="platinum"] .purity-row__label {
  background: #edf2f3;
  color: #224748;
}
.gold-prices__metal-block[data-metal-group="platinum"] li {
  border-color: #c5dcdd;
}

/* === 銀(シルバー)=== */
.gold-prices__metal-block[data-metal-group="silver"] {
  border-color: #d6d6d6;
}
.gold-prices__metal-block[data-metal-group="silver"] .gold-prices__metal-title {
  background: #e8e8e8;
  border-bottom-color: rgba(138, 138, 138, 0.3);
}
.gold-prices__metal-block[data-metal-group="silver"] .purity-row__label {
  background: #e7e7e7;
  color: #2e2e2e;
}
.gold-prices__metal-block[data-metal-group="silver"] li {
  border: 1px solid #cccccc;
}

/* === コンビ(金×プラチナ): ローズゴールド調 === */
.gold-prices__metal-block[data-metal-group="combi"] {
  border-color: #e5d4d0;
}
.gold-prices__metal-block[data-metal-group="combi"] .gold-prices__metal-title {
  background: #f5ece9;
  border-bottom-color: rgba(184, 138, 122, 0.3);
}
.gold-prices__metal-block[data-metal-group="combi"] .purity-row__label {
  background: #ebd9d3;
  color: #6b3a2c;
}
.gold-prices__metal-block[data-metal-group="combi"] li {
  border: 1px solid #d8c2bc;
}

/* ============ 開閉ボタン(FAQカード風) ============ */
.gold-prices__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 300px;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 16px 22px;
  background: #fff;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid #333333;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.gold-prices__toggle:hover {
  background: #fffdf8;
}
.gold-prices__toggle.is-open {
}

/* 左側のラベル(中央寄せのテキスト) */
.gold-prices__toggle__open,
.gold-prices__toggle__close {
  flex: 1;
  text-align: center;
}
.gold-prices__toggle__close { display: none; }
.gold-prices__toggle.is-open .gold-prices__toggle__open { display: none; }
.gold-prices__toggle.is-open .gold-prices__toggle__close { display: block; }

/* 右側のシェブロン(下向きの矢印) */
.gold-prices__toggle__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold-600, #b08f4a);
  transition: transform 0.35s cubic-bezier(.68, -.4, .27, 1.4);
}
.gold-prices__toggle__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.gold-prices__toggle.is-open .gold-prices__toggle__icon {
  transform: rotate(180deg);
  color: var(--gold-700, #9a7e3f);
}


/* ============================================================
   (5) チャートセクション ★メイン機能
============================================================ */
.gold-chart-section__sub {
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  margin: 0 0 22px;
}

/* チャート本体のラッパー */
.gold-chart {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 12px 12px;
  margin-bottom: 22px;
}
.gold-chart__container {
  position: relative;
  width: 100%;
  height: 480px;
}

/* チャート左上のツールチップ */
.gold-chart__tooltip {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(15, 26, 48, 0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
}
.gold-chart__tooltip.is-active { opacity: 1; }
.gold-chart__tooltip-date {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.gold-chart__tooltip-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gold-chart__tooltip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--sans);
  font-size: 12px;
}
.gold-chart__tooltip-item-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
}
.gold-chart__tooltip-item-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gold-chart__tooltip-item-price {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy-800);
}


/* === 重複につき gold.css 側を採用、gold-parts.css の品位・期間選択ブロックは削除 === */
/* =========================================================
   (4-2) 参考買取価格相場 計算ツール
   ========================================================= */
.gold-calc {
  margin-top: 64px;
}
.gold-calc__panel {
  background: #f6f4ee;
  border-radius: 12px;
  padding: 28px 24px;
}
.gold-calc__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.gold-calc__cell {
  display: flex;
  flex-direction: column;
}

/* ===== ラベル(品位 / 重さ / 参考買取価格相場) ===== */
.gold-calc__label {
  background: var(--navy-800, #14213d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ===== フィールド本体(白背景) ===== */
.gold-calc__field {
  background: #ffffff;
  border: 1px solid #d6d2c5;
  border-top: none;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  position: relative;
}
.gold-calc__field--with-suffix {
}
.gold-calc__field--result {
  background: #ffffff;
}

/* ===== セレクト・インプット共通 ===== */
.gold-calc__select,
.gold-calc__input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.02em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.gold-calc__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px 16px;
  font-size: 16px;
  padding-right: 30px;
  text-align: center;
  font-weight: 700;
}
.gold-calc__input {
  text-align: right;
  font-weight: 600;
  font-size: 18px;
  padding-right: 15px;
}
.gold-calc__input::-webkit-outer-spin-button,
.gold-calc__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.gold-calc__input[type=number] {
  -moz-appearance: textfield;
}

/* ===== 単位(g, 円) ===== */
.gold-calc__suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #333333;
  font-family: var(--sans);
  font-weight: 600;
}
.gold-calc__suffix--result {
  font-size: 16px;
  color: var(--navy-800, #14213d);
  font-weight: 600;
  
}

/* ===== 結果の数字 ===== */
.gold-calc__result {
  width: 100%;
  text-align: right;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-800, #14213d);
  letter-spacing: 0.02em;
  padding-right: 20px;
}

/* ===== 演算子(×, =) ===== */
.gold-calc__op {
  font-size: 22px;
  font-weight: 600;
  color: #7a8094;
  text-align: center;
  padding-top: 28px; /* ラベル高さ分下に下げて中央揃え */
  font-family: var(--sans);
}

/* ===== 注釈 ===== */
.gold-calc__notes {
  margin-top: 16px;
  padding: 0 4px;
}
.gold-calc__notes p {
  margin: 0 0 4px;
  font-size: 12px;
  color: #5a6175;
  line-height: 1.7;
}
select#goldCalcMetal  option {
  text-align: center;
}
/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .gold-calc__panel {
    padding: 18px 14px;
  }
  .gold-calc__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gold-calc__op {
    padding-top: 0;
    font-size: 18px;
  }
  .gold-calc__field {
    height: 48px;
  }
  .gold-calc__label {
    font-size: 12px;
    padding: 6px 10px;
  }
  .gold-calc__input {
    font-size: 19px;
    text-align: center;
    font-weight: 600;
    padding-right: 0;
}
  .gold-calc__select {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}
  .gold-calc__result {
    font-size: 19px;
    text-align: center;
    padding-right: 0;
  }
  .gold-calc__notes p {
    font-size: 11px;
  }
}

/* ============================================================
   レスポンシブ — スマホ
============================================================ */
@media (max-width: 768px) {
  .gold-prices > .heading:not(:first-of-type) { margin-top: 28px; }
  .gold-prices__ingots { padding: 0; }
  .gold-prices__grid-ingot { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ingot-card__head { font-size: 14px; padding: 10px 8px; letter-spacing: 0.02em; }
  .ingot-card__head .en { font-size: 11px; margin-left: 4px; letter-spacing: 0.1em; }
  .ingot-card__body { padding: 16px 8px 14px; gap: 8px; }
  .ingot-card__price { font-size: 22px; }
  .ingot-card__price .yen { font-size: 13px; }
  .ingot-card__change { font-size: 11.5px; }
  .ingot-card__change [data-change] { font-size: 12.5px; }
  .gold-prices__metal-block { padding: 0; margin-bottom: 12px; }
  .gold-prices__metal-title { padding: 12px 14px; font-size: 14.5px; }
  .purity-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px; }
  .purity-row { grid-template-columns: 56px 1fr; padding: 8px 10px; gap: 10px; }
  .purity-row__label { font-size: 12px; padding: 6px 2px; min-height: 28px; }
  .purity-row__price { font-size: 16px; padding: 0; }
  .purity-row__price .yen { font-size: 11px; }
  .gold-prices__toggle { width: 280px; padding: 14px 18px; font-size: 13px; margin-top: 18px; }
  .gold-chart { padding: 12px 8px 8px; }
  .gold-chart__container { height: 320px; }
  .gold-chart__tooltip {
    top: 12px;
    left: 12px;
    padding: 10px 12px;
    min-width: auto;
    max-width: calc(100% - 80px);
  }
  .gold-chart__tooltip-date { font-size: 11px; }
  .gold-chart__tooltip-item { font-size: 11px; }
  .gold-chart-period {
    padding: 18px 16px;
  }
  .gold-chart-period__buttons { gap: 6px; }
  .gold-chart-period__btn {
    padding: 8px 14px;
    font-size: 12px;
    flex: 1 0 calc(33.333% - 4px);
  }
}



/* ============================================================
 * ============================================================
 *  ↓ 統合: gold-10y-compare.css (10年比較セクション)
 *    ※元: /assets/css/gold-10y-compare.css
 * ============================================================
 * ============================================================ */
/* ============================================================
   10年比較セクション (gold-10y-compare) - エリアチャート版
============================================================ */

.g10c {
  padding: 28px 0 24px;
}

/* ============================================================
   見出し
   ※ h2.heading は他のセクションと共通CSS (gold.css側) を使用
============================================================ */

/* カードタイトル内のセパレータ */
.g10c-card__title-sep {
  margin: 0;
  opacity: 0.5;
  font-weight: 400;
}

/* カードタイトル内のSEOキーワード部分 */
.g10c-card__title-kw {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

/* ============================================================
   グリッド
============================================================ */
.g10c__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.g10c__grid--extra {
  /* 閉じてる時: 最初の数十pxだけ見せて、残りはmax-heightで切る */
  position: relative;
  max-height: 100px;  /* カード上部 (ヘッダー画像 + ピル) が少し覗く高さ */
  overflow: hidden;
  opacity: 0.85;
  /* 閉じる時: overflowを即座にhidden化 (アニメ可能に) */
  transition:
    max-height 0.5s ease,
    opacity 0.3s ease,
    overflow 0s 0s;
}

/* フェードオーバーレイ: 下端を白くフェードして「続きがあるよ」感を出す */
.g10c__grid--extra::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s ease;
}

.g10c__grid--extra.is-open {
  max-height: 2400px;
  opacity: 1;
  overflow: visible;
  /* 開く時: アニメ完了(0.5s)後にoverflowをvisible化 (画像はみ出しOK) */
  transition:
    max-height 0.5s ease,
    opacity 0.3s ease,
    overflow 0s 0.5s;
}

/* 開いた時はフェードを消す */
.g10c__grid--extra.is-open::after {
  opacity: 0;
}

.g10c__grid--single {
  grid-template-columns: 1fr;
  /* max-width 制約は外す: PCで2カラムレイアウトを活かす */
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   単金種モード・SP: 比較ボックスを横並び (1fr 1fr)
   ※以前は縦並びだったが、横並びに変更
============================================================ */
@media (max-width: 768px) {
  .g10c--single .g10c-card__compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  /* 内部の文字サイズも少し下げて、横並びでも崩れないように */
  .g10c--single .g10c-card__compare-box {
    padding: 10px 6px 8px;
  }
}

/* ============================================================
   単金種モード・PC: チャート左 + 比較右 の2カラムレイアウト
   (子ページの間延び対策。SPでは従来の縦並び)
============================================================ */
@media (min-width: 769px) {
  .g10c--single .g10c-card__body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas:
      "chartLabel compareHead"
      "chart      compareGrid";
    column-gap: 24px;
    row-gap: 8px;
    align-items: start;
  }

  .g10c--single .g10c-card__chart-label-wrap {
    grid-area: chartLabel;
    margin-bottom: 0;
  }

  .g10c--single .g10c-card__chart-wrap {
    grid-area: chart;
    margin-bottom: 0;
  }

  .g10c--single .g10c-card__compare-head {
    grid-area: compareHead;
    margin-top: 0;
  }

  .g10c--single .g10c-card__compare-grid {
    grid-area: compareGrid;
    /* 右カラムは縦に2個並べる */
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   折りたたみエリア (フェードアウト + ボタン重ね)
============================================================ */
.g10c__expand {
  position: relative;
  margin-top: 20px;
  padding-bottom: 70px; /* ボタン分のスペース */
}

.g10c__expand.is-open {
  padding-bottom: 20px;
}

/* フェードオーバーレイ (下部からじわっと白く) */
.g10c__expand-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 40%,
    rgba(255, 255, 255, 1) 80%
  );
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s ease;
}

.g10c__expand.is-open .g10c__expand-fade {
  opacity: 0;
  pointer-events: none;
}

/* ボタンを中央下に配置 */
.g10c__expand-btn-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  z-index: 10;
  transition: bottom 0.4s ease;
}

.g10c__expand.is-open .g10c__expand-btn-wrap {
  position: relative;
  bottom: auto;
  margin-top: 10px;
}

/* ============================================================
   カード
============================================================ */
.g10c-card {
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #ede5d0;
}

.g10c-card--gold      { border-color: #e6d3a0; }
.g10c-card--platinum  { border-color: #c5d5d0; }
.g10c-card--silver    { border-color: #d4d4d4; }
.g10c-card--palladium { border-color: #c8cfd9; }

/* ============================================================
   カードヘッダー (グラデーション + インゴット画像)
============================================================ */
.g10c-card__head {
  position: relative;
  padding: 18px 20px 18px 110px;
  min-height: 60px;
  color: #fff;
  display: flex;
  align-items: center;
}

.g10c-card--gold .g10c-card__head {
  background: linear-gradient(135deg, #e6c97a 0%, #c9a961 60%, #a8862a 100%);
}
.g10c-card--platinum .g10c-card__head {
  background: linear-gradient(135deg, #b8d0c8 0%, #7a9d92 60%, #4a7068 100%);
}
.g10c-card--silver .g10c-card__head {
  background: linear-gradient(135deg, #c5c5c5 0%, #9a9a9a 60%, #6c6c6c 100%);
}
.g10c-card--palladium .g10c-card__head {
  background: linear-gradient(135deg, #a8b3c2 0%, #6b7a8f 60%, #4a5567 100%);
}

.g10c-card__head-ingot {
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 115px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.g10c-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.g10c-card__title-jp {
  font-size: 21px;
}

.g10c-card__title-en {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.95;
  margin-left: 4px;
}

/* ============================================================
   カードボディ
============================================================ */
.g10c-card__body {
  padding: 16px 18px 18px;
}

/* 「価格推移チャート(円/g)」ピル */
.g10c-card__chart-label-wrap {
  text-align: center;
  margin-bottom: 8px;
}

.g10c-card__chart-label {
  display: inline-block;
  padding: 6px 16px;
  background: #fbf5e6;
  color: #8c6f2e;
  font-size: 12px;
  font-weight: 700;
  border-radius: 16px;
  letter-spacing: 0.04em;
}

.g10c-card--platinum  .g10c-card__chart-label { background: #e8f0ee; color: #2d564c; }
.g10c-card--silver    .g10c-card__chart-label { background: #ededed; color: #555; }
.g10c-card--palladium .g10c-card__chart-label { background: #e6e9ee; color: #2f3a4a; }

/* ============================================================
   チャート + アノテーション
============================================================ */
.g10c-card__chart-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
}

.g10c-card__chart {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 196px;  /* wrap高さ - X軸ラベル分(24px) */
  width: 100%;
}

/* X軸ラベル (10年前 / 5年前 / 現在) - JSが動的に位置設定 */
.g10c-card__xaxis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  font-size: 11px;
  color: #888;
  font-weight: 600;
  pointer-events: none;
}

.g10c-card__xaxis-label {
  position: absolute;
  top: 0;
  white-space: nowrap;
}

/* データポイント上の丸マーカー */
.g10c-card__marker {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 90;
  left: -9999px;
  top: -9999px;
}

.g10c-card__marker--today {
  width: 14px;
  height: 14px;
  border-width: 3px;
}

.g10c-card--gold .g10c-card__marker      { background: #c9a961; }
.g10c-card--gold .g10c-card__marker--today { background: #a8862a; }
.g10c-card--platinum .g10c-card__marker  { background: #5e8a7e; }
.g10c-card--platinum .g10c-card__marker--today { background: #4a7068; }
.g10c-card--silver .g10c-card__marker    { background: #8a8a8a; }
.g10c-card--silver .g10c-card__marker--today { background: #6c6c6c; }
.g10c-card--palladium .g10c-card__marker { background: #6b7a8f; }
.g10c-card--palladium .g10c-card__marker--today { background: #4a5567; }

/* アノテーション吹き出し */
.g10c-card__anno {
  position: absolute;
  background: #fff;
  border: 1.5px solid;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 100;
  min-width: 70px;
  left: -9999px;
  top: -9999px;
}

/* テーマカラー */
.g10c-card--gold .g10c-card__anno {
  border-color: #c9a961;
  color: #8c6f2e;
}

.g10c-card--platinum .g10c-card__anno {
  border-color: #5e8a7e;
  color: #2d564c;
}

.g10c-card--silver .g10c-card__anno {
  border-color: #8a8a8a;
  color: #555;
}

.g10c-card--palladium .g10c-card__anno {
  border-color: #6b7a8f;
  color: #2f3a4a;
}

/* 「今日」アノテーションは塗りつぶし */
.g10c-card__anno--today {
  color: #fff !important;
}

.g10c-card--gold .g10c-card__anno--today {
  background: linear-gradient(135deg, #c9a961, #a8862a);
}
.g10c-card--platinum .g10c-card__anno--today {
  background: linear-gradient(135deg, #5e8a7e, #4a7068);
}
.g10c-card--silver .g10c-card__anno--today {
  background: linear-gradient(135deg, #9a9a9a, #6c6c6c);
}
.g10c-card--palladium .g10c-card__anno--today {
  background: linear-gradient(135deg, #6b7a8f, #4a5567);
}

/* 「今日」吹き出しは塗りつぶしのまま (しっぽは無し) */

.g10c-card__anno-label {
  font-size: 10px;
  opacity: 0.85;
  margin-bottom: 2px;
}

.g10c-card__anno-price {
  font-size: 13px;
  font-weight: 700;
}

/* ============================================================
   下部: 「10年前・5年前と比較」見出し
============================================================ */
.g10c-card__compare-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.g10c-card__compare-head-line {
  flex: 1;
  height: 1px;
  background: #888;
}

.g10c-card__compare-head-text {
  font-size: 13px;
  font-weight: 700;
  color: #2a3450;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ============================================================
   比較ボックス (2分割)
============================================================ */
.g10c-card__compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.g10c-card__compare-box {
  background: #fbf5e6;
  border-radius: 6px;
  padding: 12px 8px 10px;
  text-align: center;
}

.g10c-card--platinum  .g10c-card__compare-box { background: #e8f0ee; }
.g10c-card--silver    .g10c-card__compare-box { background: #ededed; }
.g10c-card--palladium .g10c-card__compare-box { background: #e6e9ee; }

.g10c-card__compare-label {
  font-size: 11px;
  font-weight: 700;
  color: #8c6f2e;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.g10c-card--platinum  .g10c-card__compare-label { color: #2d564c; }
.g10c-card--silver    .g10c-card__compare-label { color: #555; }
.g10c-card--palladium .g10c-card__compare-label { color: #2f3a4a; }

.g10c-card__compare-value {
  font-size: 14px;
  font-weight: 700;
  color: #2a3450;
  line-height: 1;
  margin-bottom: 6px;
}

.g10c-card__compare-num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 2px;
  color: #c0392b; /* デフォは赤 (1倍以上想定) */
}

/* 倍率: 1倍以上=赤 / 1倍未満=青 */
.g10c-card__compare-num.is-up   { color: #c0392b; }
.g10c-card__compare-num.is-down { color: #2980b9; }

.g10c-card__compare-diff {
  font-size: 13px;
  font-weight: 700;
}

/* 差額: プラス=赤 / マイナス=青 */
.g10c-card__compare-diff [data-diff10],
.g10c-card__compare-diff [data-diff5] {
  font-weight: 700;
  color: #c0392b;
}

.g10c-card__compare-diff [data-diff10].is-up,
.g10c-card__compare-diff [data-diff5].is-up {
  color: #c0392b;
}

.g10c-card__compare-diff [data-diff10].is-down,
.g10c-card__compare-diff [data-diff5].is-down {
  color: #2980b9;
}

/* ============================================================
   折りたたみボタン (フローティング型)
============================================================ */
/* トグルボタンのラッパー (中央配置用) */
.g10c__toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.g10c__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px 14px 32px;
  background: #fff;
  color: #2a3450;
  border: 1.5px solid #d8c281;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.g10c__toggle:hover {
  background: #fdf6e3;
  border-color: #c9a961;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.g10c__toggle-label {
  display: inline-block;
}

.g10c__toggle-close-label {
  display: none;
}

.g10c__toggle.is-open .g10c__toggle-open-label {
  display: none;
}

.g10c__toggle.is-open .g10c__toggle-close-label {
  display: inline;
}

.g10c__toggle-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
  color: #c9a961;
}

.g10c__toggle.is-open .g10c__toggle-icon {
  transform: rotate(180deg);
}

.g10c__toggle-icon svg {
  width: 100%;
  height: 100%;
}


/* ============================================================
   レスポンシブ (スマホ)
============================================================ */
@media (max-width: 768px) {
  .g10c {
    padding: 24px 0 18px;
  }

  .g10c__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .g10c-card__head {
    padding: 14px 16px 14px 80px;
    min-height: 50px;
  }

  .g10c-card__head-ingot {
    left: -15px;
    width: 80px;
  }

  .g10c-card__title-jp {
    font-size: 21px;
  }

  .g10c-card__title-en {
    font-size: 13px;
  }

  .g10c-card__title-sep {
    margin: 0;
  }

  .g10c-card__title-kw {
    font-size: 12px;
  }

  .g10c-card__body {
    padding: 14px 14px 16px;
  }

  .g10c-card__chart-wrap {
    height: 190px;
  }

  .g10c-card__chart {
    height: 166px;
  }

  .g10c-card__anno {
    padding: 5px 10px;
    font-size: 10px;
    min-width: 60px;
  }

  .g10c-card__anno-price {
    font-size: 12px;
  }

  .g10c-card__compare-num {
    font-size: 30px;
  }

  .g10c__toggle {
    padding: 12px 22px 12px 26px;
    font-size: 13px;
    gap: 10px;
  }

  .g10c__expand {
    padding-bottom: 60px;
  }

  .g10c__expand-fade {
    height: 160px;
  }
}

@media (max-width: 400px) {
  .g10c {
    padding: 20px 8px 16px;
    margin-left: -4px;
    margin-right: -4px;
  }

  .g10c-card__head-ingot {
    width: 70px;
  }

  .g10c-card__head {
    padding-left: 84px;
  }

  .g10c-card__title-jp {
    font-size: 19px;
  }

  /* 極小画面ではキーワード部分は隠して金種名だけ表示 (デザイン優先) */
  .g10c-card__title-sep,
  .g10c-card__title-kw {
    display: none;
  }

  .g10c-card__chart-wrap {
    height: 160px;
  }

  .g10c-card__chart {
    height: 136px;
  }

  .g10c-card__compare-num {
    font-size: 26px;
  }
}


/* ============================================================
 * ============================================================
 *  ↓ 統合: purity.css (純度ページ共通CSS)
 *    ※元: /assets/css/purity.css
 * ============================================================
 * ============================================================ */

/* ============================================================
   ROOT - 純度ページ全体
============================================================ */
.purity-page {
  --pp-accent: var(--gold-500);
  --pp-accent-dark: var(--gold-700);
  --pp-accent-light: var(--gold-200);
  --pp-text: var(--ink);
}

/* 金属種別ごとのアクセントカラー */
.purity-page--platinum {
  --pp-accent: #708090;
  --pp-accent-dark: #4a5568;
  --pp-accent-light: #e2e8f0;
}
.purity-page--silver {
  --pp-accent: #8a8a8a;
  --pp-accent-dark: #555;
  --pp-accent-light: #ececec;
}
.purity-page--palladium {
  --pp-accent: #6b7a8f;
  --pp-accent-dark: #44516a;
  --pp-accent-light: #dde3eb;
}

/* ============================================================
   HERO
============================================================ */
.purity-hero {
  position: relative;
  padding: 48px 20px 56px;
  background: linear-gradient(135deg, #fafaf7 0%, #fff 60%);
  border-bottom: 1px solid var(--pp-accent-light);
  overflow: hidden;
}
.purity-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.06), transparent 50%);
  pointer-events: none;
}
.purity-hero--platinum::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(112, 128, 144, 0.10), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(112, 128, 144, 0.06), transparent 50%);
}
.purity-hero--silver::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(138, 138, 138, 0.10), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(138, 138, 138, 0.06), transparent 50%);
}
.purity-hero__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.purity-hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--pp-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  margin-bottom: 18px;
}
.purity-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  color: var(--pp-text);
  line-height: 1.15;
}
.purity-hero__purity {
  color: var(--pp-accent-dark);
  margin-right: 0.2em;
}
.purity-hero__action {
  color: var(--pp-text);
}
.purity-hero__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2, #2a3450);
  margin: 0 auto 28px;
  max-width: 600px;
}
.purity-hero__price-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 36px;
  background: #fff;
  border: 1px solid var(--pp-accent-light);
  border-top: 3px solid var(--pp-accent);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 0 auto 28px;
}
.purity-hero__price-label {
  font-size: 13px;
  color: var(--pp-accent-dark);
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 8px;
}
.purity-hero__price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.purity-hero__price-num {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  color: var(--pp-accent-dark);
  letter-spacing: 0.02em;
  font-family: 'Noto Sans JP', var(--sans);
}
.purity-hero__price-unit {
  font-size: 14px;
  color: var(--pp-accent-dark);
  font-weight: 600;
}
.purity-hero__price-note {
  font-size: 11px;
  color: #777;
}
.purity-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.purity-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.purity-hero__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.purity-hero__cta-btn--primary {
  background: var(--pp-accent);
  color: #fff;
}
.purity-hero__cta-btn--primary:hover { background: var(--pp-accent-dark); color: #fff; }
.purity-hero__cta-btn--secondary {
  background: #fff;
  color: var(--pp-accent-dark);
  border: 1px solid var(--pp-accent);
}
.purity-hero__cta-btn--secondary:hover {
  background: var(--pp-accent-light);
}
.purity-hero__cta-ico {
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.purity-hero__cta-ico svg { width: 100%; height: 100%; }

/* ============================================================
   INTRO (導入)
============================================================ */
.purity-intro {
  padding: 0;
  background: #fff;
}
.purity-intro__body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2, #2a3450);
}
.purity-intro__body p {
  margin: 0 0 1em;
}
.purity-intro__body p:last-child { margin-bottom: 0; }

/* ============================================================
   ABOUT (基礎・割金組成)
============================================================ */
.purity-about {
  margin: 40px 0;
}
.purity-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.purity-about__card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
}
.purity-about__card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--pp-accent-dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pp-accent-light);
  letter-spacing: 0.06em;
}
.purity-about__ratio {
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-text);
  margin: 0 0 16px;
  text-align: center;
  padding: 10px;
  background: var(--pp-accent-light);
  border-radius: 4px;
}

/* 割金組成バー */
.purity-bar {
  display: flex;
  width: 100%;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 16px;
  background: #f5f5f5;
}
.purity-bar__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.purity-bar__seg-label {
  padding: 0 8px;
}
.purity-bar__seg--1 { background: linear-gradient(90deg, #c9a961, #a68535); }
.purity-bar__seg--2 { background: linear-gradient(90deg, #c0c0c0, #999); }
.purity-bar__seg--3 { background: linear-gradient(90deg, #cd7f32, #a05a25); }
.purity-bar__seg--4 { background: linear-gradient(90deg, #708090, #4a5568); }
.purity-bar__seg--5 { background: linear-gradient(90deg, #b8860b, #8b6914); }

.purity-about__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.purity-about__legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.purity-about__legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.purity-about__legend-dot--1 { background: var(--gold-500); }
.purity-about__legend-dot--2 { background: #999; }
.purity-about__legend-dot--3 { background: #cd7f32; }
.purity-about__legend-dot--4 { background: #708090; }
.purity-about__legend-dot--5 { background: #b8860b; }
.purity-about__legend-pct {
  font-weight: 700;
  color: var(--pp-accent-dark);
}
.purity-about__body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
}
.purity-about__body p {
  margin: 0 0 0.8em;
}
.purity-about__body p:last-child {
  margin-bottom: 0;
}

.purity-about__history {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--pp-accent-light) 0%, #fff 100%);
  border-left: 3px solid var(--pp-accent);
  border-radius: 4px;
}
.purity-about__history-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-accent-dark);
  margin: 0 0 12px;
}
.purity-about__history-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--pp-accent);
}
.purity-about__history-icon svg { width: 100%; height: 100%; }

/* ============================================================
   IDENTIFY (見分け方フロー)
============================================================ */
.purity-identify {
  margin: 40px 0;
}
.purity-identify__lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
  margin: 0 0 32px;
}
.purity-identify__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.purity-identify__step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.purity-identify__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 41px;
  bottom: -10px;
  width: 2px;
  height: 14px;
  background: var(--pp-accent);
  z-index: 1;
}
.purity-identify__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 36px;
  bottom: -16px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--pp-accent);
  z-index: 2;
}
.purity-identify__step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--pp-accent) 0%, var(--pp-accent-dark) 100%);
  color: #fff;
  padding: 16px 4px;
}
.purity-identify__step-num-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 2px;
}
.purity-identify__step-num-value {
  font-size: 28px;
  font-weight: 800;
  font-family: 'Noto Sans JP', var(--sans);
  line-height: 1;
}
.purity-identify__step-body {
  padding: 16px 20px;
}
.purity-identify__step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--pp-accent-dark);
  margin: 0 0 8px;
}
.purity-identify__step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2, #2a3450);
  margin: 0 0 12px;
}
.purity-identify__step-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  background: var(--pp-accent-light);
  border-radius: 4px;
}
.purity-identify__step-hint-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pp-accent-dark);
  background: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 2px;
}
.purity-identify__step-hint-text {
  font-size: 13px;
  color: var(--ink-2, #2a3450);
  line-height: 1.6;
}
.purity-identify__note {
  margin-top: 24px;
  padding: 16px 20px;
  background: #fff8e7;
  border: 1px solid var(--pp-accent-light);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2, #2a3450);
}
.purity-identify__note p {
  margin: 0;
}
.purity-identify__note p + p {
  margin-top: 6px;
}

/* ============================================================
   COMPARE (比較表)
============================================================ */
.purity-compare {
  margin: 40px 0;
}
.purity-compare__lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
  margin: 0 0 24px;
}
.purity-compare__table-wrap {
  overflow-x: auto;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  background: #fff;
}
.purity-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}
.purity-compare__th {
  background: var(--pp-accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 12px 8px;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.purity-compare__th--purity { width: 30%; }
.purity-compare__th--pct { width: 18%; }
.purity-compare__th--price { width: 28%; }
.purity-compare__th--detail { width: 24%; }
.purity-compare__td {
  padding: 14px 12px;
  border-bottom: 1px solid #f0e8d4;
  text-align: center;
}
.purity-compare__row:last-child .purity-compare__td {
  border-bottom: 0;
}
.purity-compare__row--self {
  background: var(--pp-accent-light);
}
.purity-compare__row--self .purity-compare__td {
  font-weight: 700;
  color: var(--pp-accent-dark);
}
.purity-compare__purity-name {
  font-size: 15px;
  font-weight: 700;
}
.purity-compare__badge {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  background: var(--pp-accent-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  vertical-align: middle;
}
.purity-compare__price-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--pp-accent-dark);
  font-family: 'Noto Sans JP', var(--sans);
}
.purity-compare__price-unit {
  font-size: 12px;
  color: var(--ink-2, #2a3450);
  margin-left: 2px;
}
.purity-compare__link {
  font-size: 13px;
  color: var(--pp-accent-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.purity-compare__link:hover {
  opacity: 0.7;
}
.purity-compare__current {
  font-size: 11px;
  color: var(--pp-accent-dark);
  font-weight: 700;
}
.purity-compare__nolink {
  color: #aaa;
}
.purity-compare__note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 14px 0 0;
}

/* ============================================================
   EXAMPLES (製品例)
============================================================ */
.purity-examples {
  margin: 40px 0;
}
.purity-examples__lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
  margin: 0 0 24px;
}
.purity-examples__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.purity-examples__item {
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.purity-examples__media {
  aspect-ratio: 4 / 3;
  background: #f7f5ee;
  overflow: hidden;
}
.purity-examples__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.purity-examples__content {
  padding: 14px 16px;
}
.purity-examples__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-accent-dark);
  margin: 0 0 6px;
}
.purity-examples__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2, #2a3450);
  margin: 0;
}

/* ============================================================
   FAQ
============================================================ */
.purity-faq {
  margin: 40px 0;
}
.purity-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.purity-faq__item {
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  overflow: hidden;
}
.purity-faq__q {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-accent-dark);
  font-family: inherit;
  transition: background 0.15s;
}
.purity-faq__q:hover {
  background: var(--pp-accent-light);
}
.purity-faq__q-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--pp-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  margin-right: 12px;
  margin-top: -2px;
}
.purity-faq__q-text {
  flex: 1;
  line-height: 1.6;
}
.purity-faq__q-toggle {
  flex-shrink: 0;
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  transition: transform 0.2s;
  color: var(--pp-accent-dark);
}
.purity-faq__q-toggle svg { width: 100%; height: 100%; }
.purity-faq__q.is-open .purity-faq__q-toggle {
  transform: rotate(180deg);
}
.purity-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.purity-faq__a > * {
  overflow: hidden;
  min-height: 0;
}
.purity-faq__a[aria-hidden="false"] {
  grid-template-rows: 1fr;
}
.purity-faq__a-mark,
.purity-faq__a-text {
  display: none;
}
.purity-faq__a[aria-hidden="false"] .purity-faq__a-mark,
.purity-faq__a[aria-hidden="false"] .purity-faq__a-text {
  display: block;
}
.purity-faq__a[aria-hidden="false"] {
  padding: 0 20px 18px 60px;
  background: #fafaf7;
  position: relative;
}
.purity-faq__a[aria-hidden="false"] .purity-faq__a-mark {
  position: absolute;
  left: 20px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fff;
  color: var(--pp-accent-dark);
  border: 1px solid var(--pp-accent);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}
.purity-faq__a-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
  padding-top: 14px;
}
.purity-faq__a-text p {
  margin: 0 0 0.8em;
}
.purity-faq__a-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   RELATED (関連純度ページ)
============================================================ */
.purity-related {
  margin: 40px 0;
}
.purity-related__lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
  margin: 0 0 24px;
}
.purity-related__grid {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.purity-related__item {
  /* card layout handled by .purity-related__card */
}
.purity-related__card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.purity-related__card:hover {
  border-color: var(--pp-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.purity-related__card--gold:hover { border-color: var(--gold-500); }
.purity-related__card--platinum:hover { border-color: #708090; }
.purity-related__card--silver:hover { border-color: #8a8a8a; }
.purity-related__purity {
  font-size: 16px;
  font-weight: 800;
  color: var(--pp-accent-dark);
  letter-spacing: 0.02em;
  grid-column: 1 / 2;
}
.purity-related__price-wrap {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.purity-related__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2, #2a3450);
  font-family: 'Noto Sans JP', var(--sans);
}
.purity-related__price-unit {
  font-size: 11px;
  color: #888;
}
.purity-related__arrow {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  font-size: 18px;
  color: var(--pp-accent);
  font-weight: 700;
}
.purity-related__pillar {
  text-align: center;
  margin-top: 8px;
}
.purity-related__pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--pp-accent-light);
  color: var(--pp-accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.purity-related__pillar-link:hover {
  background: var(--pp-accent);
  color: #fff;
}
.purity-related__pillar-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   RESPONSIVE - スマホ
============================================================ */
@media (max-width: 768px) {
  .purity-hero {
    padding: 32px 16px 36px;
  }
  .purity-hero__title {
    font-size: 30px;
  }
  .purity-hero__price-card {
    padding: 16px 24px;
    width: 100%;
    max-width: 360px;
  }
  .purity-hero__price-num {
    font-size: 36px;
  }
  .purity-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .purity-hero__cta-btn {
    justify-content: center;
  }

  .purity-about__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .purity-about__card {
    padding: 18px;
  }

  .purity-identify__step {
    grid-template-columns: 64px 1fr;
  }
  .purity-identify__step-num-value {
    font-size: 22px;
  }
  .purity-identify__step:not(:last-child)::after {
    left: 31px;
  }
  .purity-identify__step:not(:last-child)::before {
    left: 26px;
  }
  .purity-identify__step-body {
    padding: 14px 16px;
  }

  .purity-compare__table {
    font-size: 13px;
  }
  .purity-compare__th,
  .purity-compare__td {
    padding: 10px 6px;
  }
  .purity-compare__price-num {
    font-size: 16px;
  }

  .purity-examples__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .purity-examples__name {
    font-size: 14px;
  }
  .purity-examples__desc {
    font-size: 12px;
  }

  .purity-faq__q {
    font-size: 14px;
    padding: 14px 16px;
  }
  .purity-faq__a[aria-hidden="false"] {
    padding: 0 16px 16px 52px;
  }
  .purity-faq__a[aria-hidden="false"] .purity-faq__a-mark {
    left: 16px;
  }

  .purity-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .purity-related__card {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .purity-hero__title {
    font-size: 26px;
  }
  .purity-hero__price-num {
    font-size: 32px;
  }
  .purity-examples__grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
 * ============================================================
 *  ↓ 統合: price-history.css (過去価格表)
 *    ※元: /assets/css/price-history.css
 * ============================================================
 * ============================================================ */
/* ============================================================
   Price History Table - 過去価格表
   
   既存の custom.css の :root で定義された --gold-* 変数を使用
============================================================ */

.price-history {
  margin: 40px 0;
}

.price-history__lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
  margin: 0 0 24px;
}

.price-history__table-wrap {
  overflow-x: auto;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 20px;
}

.price-history__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

.price-history__th {
  background: var(--gold-700, #8c6f2e);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 12px 8px;
  letter-spacing: 0.04em;
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.price-history__th--date  { width: 30%; }
.price-history__th--price { width: 45%; }
.price-history__th--diff  { width: 25%; }

.price-history__td {
  padding: 12px 10px;
  border-bottom: 1px solid #f0e8d4;
  text-align: center;
}

.price-history__row:nth-child(odd) {
  background: #fafaf7;
}

.price-history__row:last-child .price-history__td {
  border-bottom: 0;
}

.price-history__row--empty .price-history__empty {
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 14px;
}

.price-history__td--date {
  font-weight: 600;
  color: var(--ink-2, #2a3450);
  font-family: 'Noto Sans JP', var(--sans, sans-serif);
  font-size: 13px;
}

.price-history__td--price {
  font-weight: 700;
}

.price-history__price-num {
  font-size: 16px;
  color: var(--gold-700, #8c6f2e);
  font-family: 'Noto Sans JP', var(--sans, sans-serif);
}

.price-history__price-unit {
  font-size: 11px;
  color: #888;
  margin-left: 2px;
}

.price-history__td--diff {
  font-weight: 700;
  font-size: 13px;
  font-family: 'Noto Sans JP', var(--sans, sans-serif);
}

.price-history__td--diff.is-up {
  color: #c0392b;  /* 値上がり: 赤 (日本式) */
}

.price-history__td--diff.is-down {
  color: #2980b9;  /* 値下がり: 青 (日本式) */
}

.price-history__td--diff.is-zero {
  color: #888;
}

/* ============================================================
   「もっと見る」ボタン
============================================================ */

.price-history__more-wrap {
  text-align: center;
}

.price-history__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #fff;
  color: var(--gold-700, #8c6f2e);
  border: 2px solid var(--gold-500, #c9a961);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.price-history__more-btn:hover:not(:disabled) {
  background: var(--gold-500, #c9a961);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(201, 169, 97, 0.25);
}

.price-history__more-btn:disabled {
  background: #f5f5f5;
  color: #999;
  border-color: #ddd;
  cursor: not-allowed;
}

.price-history__more-btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.15s;
}

.price-history__more-btn:disabled .price-history__more-btn-icon {
  opacity: 0.4;
}

.price-history__more-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* hidden 属性は CSS の display より優先させる (初期表示で見えないように) */
.price-history__more-btn-loading[hidden],
.price-history__more-btn-label[hidden] {
  display: none !important;
}

.price-history__more-btn-loading::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: priceHistorySpin 0.6s linear infinite;
}

@keyframes priceHistorySpin {
  to { transform: rotate(360deg); }
}

.price-history__more-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 10px 0 0;
}


/* ============================================================
   レスポンシブ
============================================================ */

@media (max-width: 768px) {
  .price-history__table {
    font-size: 13px;
  }
  .price-history__th,
  .price-history__td {
    padding: 10px 6px;
  }
  .price-history__price-num {
    font-size: 14px;
  }
  .price-history__td--diff {
    font-size: 12px;
  }
  .price-history__more-btn {
    padding: 12px 20px;
    font-size: 13px;
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .price-history__th--date  { width: 32%; }
  .price-history__th--price { width: 40%; }
  .price-history__th--diff  { width: 28%; }
  .price-history__td--date {
    font-size: 11px;
  }
}


/* ============================================================
   Purity Price Hero - 純度ページ用「この純度の1g買取価格」
   和風カードデザイン (二重ボーダー + コーナー装飾 + 背景画像)
============================================================ */
.purity-price-hero {
  margin: 40px 0;
}

.purity-price-hero__updated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: #6a6a6a;
  margin: 0 0 28px;
}

.purity-price-hero__updated-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #c9a961;
}
.purity-price-hero__updated-icon svg {
  width: 100%;
  height: 100%;
}

/* ===== カード本体 ===== */
.purity-price-hero__card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 32px 44px;
  text-align: center;

  /* 背景画像 + フォールバックカラー */
  background-color: #faf3df;
  background-image: url('../img/purity-card-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 外側の太い金ボーダー */
  border: 2px solid #c9a961;
  border-radius: 6px;

  /* 上品な影 */
  box-shadow:
    0 6px 24px rgba(201, 169, 97, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 内側の細い金ボーダー (二重ボーダー演出) */
.purity-price-hero__card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 169, 97, 0.55);
  border-radius: 3px;
  pointer-events: none;
}

/* ===== 4隅のコーナー装飾 ===== */
.purity-price-hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #b8923f;
  pointer-events: none;
  z-index: 2;
}
.purity-price-hero__corner--tl {
  top: 14px; left: 14px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.purity-price-hero__corner--tr {
  top: 14px; right: 14px;
  border-top: 2px solid;
  border-right: 2px solid;
}
.purity-price-hero__corner--bl {
  bottom: 14px; left: 14px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}
.purity-price-hero__corner--br {
  bottom: 14px; right: 14px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* ===== 左上の「参考買取相場」タグ ===== */
.purity-price-hero__tag {
  position: absolute;
  top: 24px;
  left: 32px;
  z-index: 3;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #c9a961;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #8a6d24;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(201, 169, 97, 0.15);
}

/* ===== 純度ラベル ===== */
.purity-price-hero__metal-label {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 26px;
  font-weight: 700;
  color: #2a2620;
  letter-spacing: 0.08em;
}

/* ===== セパレータ (横線 + ♦) ===== */
.purity-price-hero__sep {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 60%;
  max-width: 320px;
  margin: 16px auto 24px;
}
.purity-price-hero__sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a961, transparent);
}
.purity-price-hero__sep-diamond {
  color: #c9a961;
  font-size: 10px;
  line-height: 1;
  transform: translateY(-1px);
}

/* ===== 価格 ===== */
.purity-price-hero__price-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.purity-price-hero__price {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Times New Roman', serif;
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  /* 金色グラデーション */
  background: linear-gradient(135deg, #b88e2c 0%, #d9b96c 40%, #8a6d24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.purity-price-hero__unit {
  font-size: 24px;
  font-weight: 600;
  color: #8a6d24;
}

/* ===== 前日比ピル ===== */
.purity-price-hero__change {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 999px;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(201, 169, 97, 0.1);
}

.purity-price-hero__change-label {
  color: #6a6a6a;
  font-weight: 500;
}

.purity-price-hero__change-value {
  font-weight: 700;
  font-size: 18px;
}
.purity-price-hero__change-value.is-up   { color: #d33; }
.purity-price-hero__change-value.is-down { color: #29c; }
.purity-price-hero__change-value.is-zero { color: #888; }

.purity-price-hero__change-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}
.purity-price-hero__change-icon svg {
  width: 100%;
  height: 100%;
}
.purity-price-hero__change-icon.is-up   { color: #d33; }
.purity-price-hero__change-icon.is-down { color: #29c; }
.purity-price-hero__change-icon.is-zero { color: #888; }

/* ===== 注釈 ===== */
.purity-price-hero__note {
  margin-top: 24px;
  font-size: 13px;
  color: #777;
  text-align: center;
  line-height: 1.8;
}
.purity-price-hero__note p {
  margin: 2px 0;
}

/* ===== SP対応 ===== */
@media (max-width: 768px) {
  .purity-price-hero__card {
    padding: 48px 16px 36px;
  }
  .purity-price-hero__card::before {
    inset: 6px;
  }
  .purity-price-hero__tag {
    top: 18px;
    left: 18px;
    padding: 4px 10px;
    font-size: 11px;
  }
  .purity-price-hero__corner {
    width: 16px;
    height: 16px;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .purity-price-hero__corner--tl { top: 10px; left: 10px; right: auto; bottom: auto; }
  .purity-price-hero__corner--tr { top: 10px; right: 10px; left: auto; bottom: auto; }
  .purity-price-hero__corner--bl { bottom: 10px; left: 10px; right: auto; top: auto; }
  .purity-price-hero__corner--br { bottom: 10px; right: 10px; left: auto; top: auto; }

  .purity-price-hero__metal-label {
    font-size: 20px;
    margin-top: 4px;
  }
  .purity-price-hero__price {
    font-size: 56px;
  }
  .purity-price-hero__unit {
    font-size: 18px;
  }
  .purity-price-hero__change {
    padding: 8px 16px;
    font-size: 14px;
  }
  .purity-price-hero__change-value {
    font-size: 16px;
  }
}

/* ============================================================
   Purity Price Hero - 金種別カラーバリエーション
   data-metal 属性で背景色味と装飾色を切り替える
============================================================ */

/* ===== 金 (gold) ===== デフォルト、調整不要 ===== */
/* .purity-price-hero__card[data-metal^="k"] {} */
/* .purity-price-hero__card[data-metal="gold"] {} */

/* ===== プラチナ (platinum) ===== 青寄り ===== */
.purity-price-hero__card[data-metal^="pt"] {
  background-color: #eef3f5;
  /* 背景画像を青系にトーン変換 */
  background-blend-mode: luminosity;
  background-image: linear-gradient(rgba(120, 160, 175, 0.15), rgba(120, 160, 175, 0.15)), url('../img/purity-card-bg.jpg');
  border-color: #6e8794;
  box-shadow:
    0 6px 24px rgba(110, 135, 148, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.05);
}
.purity-price-hero__card[data-metal^="pt"]::before {
  border-color: rgba(110, 135, 148, 0.55);
}
.purity-price-hero__card[data-metal^="pt"] .purity-price-hero__corner {
  border-color: #4f6975;
}
.purity-price-hero__card[data-metal^="pt"] .purity-price-hero__tag {
  border-color: #6e8794;
  color: #3a525d;
}
.purity-price-hero__card[data-metal^="pt"] .purity-price-hero__sep-line {
  background: linear-gradient(to right, transparent, #6e8794, transparent);
}
.purity-price-hero__card[data-metal^="pt"] .purity-price-hero__sep-diamond {
  color: #6e8794;
}
.purity-price-hero__card[data-metal^="pt"] .purity-price-hero__price {
  background: linear-gradient(135deg, #4f6975 0%, #7a96a4 40%, #3a525d 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.purity-price-hero__card[data-metal^="pt"] .purity-price-hero__unit {
  color: #4f6975;
}
.purity-price-hero__card[data-metal^="pt"] .purity-price-hero__change {
  border-color: rgba(110, 135, 148, 0.4);
}

/* ===== 銀 (silver) ===== グレー寄り ===== */
.purity-price-hero__card[data-metal^="sv"] {
  background-color: #f0f0f0;
  background-blend-mode: luminosity;
  background-image: linear-gradient(rgba(140, 140, 140, 0.18), rgba(140, 140, 140, 0.18)), url('../img/purity-card-bg.jpg');
  border-color: #888;
  box-shadow:
    0 6px 24px rgba(130, 130, 130, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.05);
}
.purity-price-hero__card[data-metal^="sv"]::before {
  border-color: rgba(130, 130, 130, 0.55);
}
.purity-price-hero__card[data-metal^="sv"] .purity-price-hero__corner {
  border-color: #666;
}
.purity-price-hero__card[data-metal^="sv"] .purity-price-hero__tag {
  border-color: #888;
  color: #444;
}
.purity-price-hero__card[data-metal^="sv"] .purity-price-hero__sep-line {
  background: linear-gradient(to right, transparent, #888, transparent);
}
.purity-price-hero__card[data-metal^="sv"] .purity-price-hero__sep-diamond {
  color: #888;
}
.purity-price-hero__card[data-metal^="sv"] .purity-price-hero__price {
  background: linear-gradient(135deg, #555 0%, #999 40%, #444 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.purity-price-hero__card[data-metal^="sv"] .purity-price-hero__unit {
  color: #555;
}
.purity-price-hero__card[data-metal^="sv"] .purity-price-hero__change {
  border-color: rgba(130, 130, 130, 0.4);
}

/* ===== パラジウム (palladium) ===== 青みグレー ===== */
.purity-price-hero__card[data-metal="pd"] {
  background-color: #ecedf0;
  background-blend-mode: luminosity;
  background-image: linear-gradient(rgba(110, 125, 145, 0.18), rgba(110, 125, 145, 0.18)), url('../img/purity-card-bg.jpg');
  border-color: #6e7b8f;
  box-shadow:
    0 6px 24px rgba(110, 125, 145, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.05);
}
.purity-price-hero__card[data-metal="pd"]::before {
  border-color: rgba(110, 125, 145, 0.55);
}
.purity-price-hero__card[data-metal="pd"] .purity-price-hero__corner {
  border-color: #4a5667;
}
.purity-price-hero__card[data-metal="pd"] .purity-price-hero__tag {
  border-color: #6e7b8f;
  color: #3a4555;
}
.purity-price-hero__card[data-metal="pd"] .purity-price-hero__sep-line {
  background: linear-gradient(to right, transparent, #6e7b8f, transparent);
}
.purity-price-hero__card[data-metal="pd"] .purity-price-hero__sep-diamond {
  color: #6e7b8f;
}
.purity-price-hero__card[data-metal="pd"] .purity-price-hero__price {
  background: linear-gradient(135deg, #4a5667 0%, #7a8aa0 40%, #3a4555 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.purity-price-hero__card[data-metal="pd"] .purity-price-hero__unit {
  color: #4a5667;
}
.purity-price-hero__card[data-metal="pd"] .purity-price-hero__change {
  border-color: rgba(110, 125, 145, 0.4);
}


/* ============================================================
   Purity Hero - 画像モード
   HTMLは .gold-hero と同じ構造を使うので、
   親ページ (page-gold.php) と同じレイアウトになる。
   ここでは .purity-hero--image 修飾子だけテーマカラー切替等に活用。
============================================================ */


/* ============================================================
   Purity Highest Prices - 純度ページ用「過去最高値」セクション
   紺色アクセント + 月桂樹装飾の高級感デザイン
============================================================ */
.purity-highest {
  margin: 40px 0;
}

.purity-highest__lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2, #2a3450);
  margin: 0 0 28px;
}

/* ============================================
   史上最高値カード (ヒーロー)
============================================ */
.purity-highest__hero {
  position: relative;
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 28px 60px;
  background-color: #faf3df;
  background-image:
    radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(245, 234, 208, 0.4) 0%, transparent 50%),
    url('../img/purity-card-bg.jpg');
  background-size: cover, cover, cover;
  background-position: center;
  background-blend-mode: normal, normal, soft-light;
  border: 1px solid #c9a961;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(201, 169, 97, 0.18);
  overflow: hidden;
}

/* キラキラ装飾 (擬似要素で散らす) */
.purity-highest__hero::before,
.purity-highest__hero::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, #d9b96c 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.purity-highest__hero::before {
  top: 22%;
  right: 14%;
}
.purity-highest__hero::after {
  bottom: 18%;
  left: 12%;
}

/* 月桂樹イラスト */
.purity-highest__laurel {
  position: absolute;
  top: 50%;
  width: 120px;
  height: 240px;
  background-image: url('../img/laurel-gold.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-50%);
  opacity: 0.95;
}
.purity-highest__laurel--left {
  left: 10px;
}
.purity-highest__laurel--right {
  right: 10px;
  transform: translateY(-50%) scaleX(-1); /* 左右反転 */
}

/* 4隅の細かい飾り罫 */
.purity-highest__hero-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: #c9a961;
  pointer-events: none;
  z-index: 2;
}
.purity-highest__hero-corner--tl {
  top: 14px; left: 14px;
  border-top: 1.5px solid;
  border-left: 1.5px solid;
}
.purity-highest__hero-corner--tr {
  top: 14px; right: 14px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}
.purity-highest__hero-corner--bl {
  bottom: 14px; left: 14px;
  border-bottom: 1.5px solid;
  border-left: 1.5px solid;
}
.purity-highest__hero-corner--br {
  bottom: 14px; right: 14px;
  border-bottom: 1.5px solid;
  border-right: 1.5px solid;
}

/* ヒーロー内コンテンツ (月桂樹より上に) */
.purity-highest__hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 「史上最高値」ピル (紺色) */
.purity-highest__hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: max-content;
  padding: 11px 32px;
  background: linear-gradient(180deg, #2a3a5c 0%, #1a2745 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow:
    0 3px 10px rgba(26, 39, 69, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.purity-highest__hero-label-icon {
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
  color: #ffd87a; /* 王冠は金色 */
}

/* 価格部分 */
.purity-highest__hero-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.purity-highest__hero-num {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Times New Roman', serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  /* 金色グラデーション */
  background: linear-gradient(135deg, #b88e2c 0%, #d9b96c 40%, #8a6d24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.purity-highest__hero-unit {
  font-size: 22px;
  font-weight: 600;
  color: #8a6d24;
}

.purity-highest__hero-date {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

/* 「今より +3,229円高い」ピル */
.purity-highest__hero-diff-wrap {
  display: flex;
  justify-content: center;
}

.purity-highest__hero-diff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: max-content;
  padding: 7px 20px;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.purity-highest__hero-diff.is-below {
  border: 1.5px solid #d33;
  color: #b32a2a;
}
.purity-highest__hero-diff.is-above {
  border: 1.5px solid #29c;
  color: #1e5a99;
}
.purity-highest__hero-diff.is-equal {
  border: 1.5px solid #999;
  color: #555;
}

.purity-highest__hero-diff-icon {
  flex-shrink: 0;
  width: 18px !important;
  height: 18px !important;
}

/* ============================================
   年代別最高値テーブル
============================================ */
.purity-highest__yearly {
  max-width: 820px;
  margin: 0 auto;
}

/* 「年代別の最高値」見出し (♦付き) */
.purity-highest__yearly-title {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  color: #2a2620;
  letter-spacing: 0.05em;
  text-align: center;
  border: none;
  background: none;
}

.purity-highest__yearly-title::before,
.purity-highest__yearly-title::after {
  /* 既存テーマの装飾線をリセット (Lightning等が ::before/::after で装飾してる場合の対策) */
  display: none !important;
  content: none !important;
}

.purity-highest__yearly-title-line {
  flex: 0 0 80px;
  display: inline-block;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a961, transparent);
}

.purity-highest__yearly-title-diamond {
  color: #c9a961;
  font-size: 10px;
  line-height: 1;
}

.purity-highest__yearly-title-text {
  white-space: nowrap;
}

/* テーブル */
.purity-highest__table-wrap {
  overflow-x: auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.purity-highest__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* ヘッダ (紺色) */
.purity-highest__th {
  background: linear-gradient(180deg, #2a3a5c 0%, #1a2745 100%);
  color: #fff;
  font-weight: 700;
  padding: 14px 20px;
  text-align: center;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.purity-highest__th--year   { width: 25%; }
.purity-highest__th--price  { width: 35%; }
.purity-highest__th--date   { width: 40%; }

/* 行 */
.purity-highest__row {
  transition: background-color 0.15s;
}
.purity-highest__row:nth-child(even) {
  background: #fbf8f0;
}
.purity-highest__row:hover {
  background: #f5ead0;
}
.purity-highest__row--peak {
  background: linear-gradient(to right, rgba(201, 169, 97, 0.18), rgba(201, 169, 97, 0.08));
}
.purity-highest__row--peak:hover {
  background: linear-gradient(to right, rgba(201, 169, 97, 0.22), rgba(201, 169, 97, 0.10));
}

.purity-highest__td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0e8d4;
  vertical-align: middle;
}
.purity-highest__row:last-child .purity-highest__td {
  border-bottom: none;
}

.purity-highest__td--year {
  font-weight: 700;
  color: #1a2745;
  font-size: 15px;
}

.purity-highest__year {
  display: inline-block;
  vertical-align: middle;
}

.purity-highest__peak-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  background: linear-gradient(135deg, #c9a961 0%, #b8923f 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.purity-highest__td--price {
  text-align: center;
  font-weight: 700;
  color: #8a6d24;
  white-space: nowrap;
}

.purity-highest__price-num {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 18px;
}

.purity-highest__price-unit {
  font-size: 13px;
  margin-left: 2px;
  font-weight: 600;
}

.purity-highest__td--date {
  text-align: center;
  color: #555;
  font-size: 13px;
}

.purity-highest__note {
  margin-top: 20px;
  font-size: 12px;
  color: #888;
  text-align: center;
  line-height: 1.7;
}

/* ============================================
   SP対応
============================================ */
@media (max-width: 768px) {
  .purity-highest__hero {
    padding: 28px 16px;
  }
  .purity-highest__laurel {
    width: 50px;
    height: 110px;
  }
  .purity-highest__laurel--left {
    left: 4px;
  }
  .purity-highest__laurel--right {
    right: 4px;
  }
  .purity-highest__hero-corner {
    width: 18px;
    height: 18px;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .purity-highest__hero-corner--tl { top: 10px; left: 10px; right: auto; bottom: auto; }
  .purity-highest__hero-corner--tr { top: 10px; right: 10px; left: auto; bottom: auto; }
  .purity-highest__hero-corner--bl { bottom: 10px; left: 10px; right: auto; top: auto; }
  .purity-highest__hero-corner--br { bottom: 10px; right: 10px; left: auto; top: auto; }

  .purity-highest__hero-label {
    font-size: 13px;
    padding: 8px 18px;
  }
  .purity-highest__hero-num {
    font-size: 48px;
  }
  .purity-highest__hero-unit {
    font-size: 16px;
  }
  .purity-highest__hero-date {
    font-size: 12px;
  }
  .purity-highest__hero-diff {
    padding: 7px 16px;
    font-size: 12px;
  }
  .purity-highest__yearly-title {
    font-size: 15px;
  }
  .purity-highest__yearly-title-line {
    flex: 0 0 40px;
  }
  .purity-highest__table {
    font-size: 13px;
  }
  .purity-highest__th,
  .purity-highest__td {
    padding: 10px 8px;
  }
  .purity-highest__td--year {
    font-size: 13px;
  }
  .purity-highest__price-num {
    font-size: 15px;
  }
  .purity-highest__td--date {
    font-size: 11px;
  }
  .purity-highest__peak-badge {
    display: inline-block;
    margin-left: 0;
    margin-top: 4px;
    font-size: 10px;
    padding: 2px 6px;
  }
}


/* ============================================================
 * ============================================================
 *  Purity Price Hero / Highest - シンプル版オーバーライド
 *  (SEO用、目立たないデザインに上書き)
 * ============================================================
 * ============================================================ */

/* ===== Price Hero シンプル版 ===== */
.purity-price-hero--simple {
  margin: 32px 0;
}

/* 派手な装飾要素を全部隠す */
.purity-price-hero--simple .purity-price-hero__updated,
.purity-price-hero--simple .purity-price-hero__card,
.purity-price-hero--simple .purity-price-hero__note {
  display: none !important;
}

.purity-price-hero__simple-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 20px;
  background: #fafaf7;
  border: 1px solid #d8c281;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(201, 169, 97, 0.08);
}

.purity-price-hero__simple-tag {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid #c9a961;
  color: #8a6d24;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 999px;
}

.purity-price-hero__simple-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.purity-price-hero__simple-label {
  font-size: 18px;
  font-weight: 700;
  color: #2a2620;
  letter-spacing: 0.04em;
}

.purity-price-hero__simple-price {
  font-size: 36px;
  font-weight: 700;
  color: #8a6d24;
  letter-spacing: -0.01em;
  line-height: 1;
}

.purity-price-hero__simple-unit {
  font-size: 16px;
  font-weight: 600;
  color: #8a6d24;
  margin-left: -4px;
}

.purity-price-hero__simple-change-row {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.purity-price-hero__simple-change {
  font-weight: 700;
  font-size: 14px;
  margin-left: 4px;
}
.purity-price-hero__simple-change.is-up   { color: #d33; }
.purity-price-hero__simple-change.is-down { color: #29c; }
.purity-price-hero__simple-change.is-zero { color: #888; }

.purity-price-hero__simple-meta {
  margin: 0 0 6px;
  font-size: 12px;
  color: #888;
}

.purity-price-hero__simple-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: #999;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .purity-price-hero__simple-box {
    padding: 20px 14px 16px;
  }
  .purity-price-hero__simple-label {
    font-size: 16px;
  }
  .purity-price-hero__simple-price {
    font-size: 28px;
  }
  .purity-price-hero__simple-unit {
    font-size: 14px;
  }
}


/* ===== Highest シンプル版 ===== */
.purity-highest--simple {
  margin: 32px 0;
}

/* 派手な装飾要素を全部隠す */
.purity-highest--simple .purity-highest__lead,
.purity-highest--simple .purity-highest__hero,
.purity-highest--simple .purity-highest__yearly-title,
.purity-highest--simple .purity-highest__yearly,
.purity-highest--simple .purity-highest__note {
  display: none !important;
}

.purity-highest__simple-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 24px;
  background: #fafaf7;
  border: 1px solid #e8e3d4;
  border-radius: 6px;
}

.purity-highest__simple-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #2a2620;
  text-align: center;
}

.purity-highest__simple-lead strong {
  color: #8a6d24;
  font-weight: 700;
}

.purity-highest__simple-table-wrap {
  overflow-x: auto;
}

.purity-highest__simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid #e8e3d4;
}

.purity-highest__simple-table th,
.purity-highest__simple-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0e8d4;
  text-align: left;
}

.purity-highest__simple-table th {
  background: #f5f0e0;
  color: #6a5a2a;
  font-weight: 600;
  font-size: 12px;
}

.purity-highest__simple-table tbody tr:nth-child(even) {
  background: #fbf9f1;
}
.purity-highest__simple-table tbody tr:last-child td {
  border-bottom: none;
}
.purity-highest__simple-table tbody tr.is-peak {
  background: rgba(201, 169, 97, 0.1);
}
.purity-highest__simple-table tbody tr.is-peak td {
  font-weight: 600;
}

.purity-highest__simple-peak {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  background: #c9a961;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  vertical-align: middle;
}

.purity-highest__simple-note {
  margin: 12px 0 0;
  font-size: 11px;
  color: #999;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .purity-price-hero__simple-box,
  .purity-highest__simple-box {
    padding: 14px 12px;
  }
  .purity-price-hero__simple-line {
    font-size: 14px;
  }
  .purity-price-hero__simple-price {
    font-size: 18px;
  }
  .purity-highest__simple-table {
    font-size: 12px;
  }
  .purity-highest__simple-table th,
  .purity-highest__simple-table td {
    padding: 6px 8px;
  }
}
