/* =========================
   Color Lab Single Page
========================= */

.cl-single {
  background:
    linear-gradient(rgba(20, 12, 10, 0.72), rgba(20, 12, 10, 0.72)),
    url("https://adventcosplay.com/wp-content/uploads/2025/11/old-paper.jpg");
  background-size: cover;
  background-attachment: fixed;
  color: #2b1b14;
  padding: 48px 16px;
}

.cl-article {
  max-width: 1180px;
  margin: 0 auto;
}

/* 上部図鑑カード */
.cl-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 28px;
  background: rgba(90, 18, 18, 0.92);
  border: 1px solid #b89445;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.cl-hero__image {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #b89445;
  background: #1a1010;
}

.cl-hero__img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.cl-hero__placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cl-main-color), #1b0f12);
  color: #fffaf0;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
}

.cl-hero__panel {
  background:
    linear-gradient(rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.9)),
    url("https://adventcosplay.com/wp-content/uploads/2025/11/old-paper.jpg");
  background-size: cover;
  padding: 28px;
  border: 1px solid #c2a46a;
  color: #2b1b14;
}

.cl-label {
  margin: 0 0 12px;
  color: #7a4d18;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.cl-title {
  margin: 0;
  color: #8b2f2c;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0.12em;
}

.cl-subtitle {
  margin: 12px 0 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #5f3420;
  font-weight: bold;
}

.cl-swatch {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 24px;
}

.cl-swatch__chip {
  width: 92px;
  height: 54px;
  background: var(--cl-main-color);
  border: 1px solid rgba(0,0,0,0.25);
}

.cl-swatch__code {
  font-size: 1.2rem;
  font-weight: bold;
}

.cl-data {
  margin: 0;
  border-top: 1px solid rgba(90, 55, 25, 0.28);
}

.cl-data div {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid rgba(90, 55, 25, 0.28);
}

.cl-data dt,
.cl-data dd {
  padding: 10px 8px;
}

.cl-data dt {
  
  color: #6f431f;
  background: rgba(120, 80, 30, 0.1);
}

.cl-data dd {
  margin: 0;
}

.cl-caution {
  margin: 16px 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #6c5a46;
}

/* 概要ボックス */
.cl-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.cl-summary__box {
  padding: 22px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.92)),
    url("https://adventcosplay.com/wp-content/uploads/2025/11/old-paper.jpg");
  background-size: cover;
  border: 1px solid #c2a46a;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.cl-summary__box h2 {
  margin: 0 0 12px;
  color: #7b2525;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(123, 37, 37, 0.28);
  padding-bottom: 8px;
}

.cl-summary__box p {
  margin: 0;
  line-height: 1.9;
}

.cl-summary__box--note {
  grid-column: 1 / -1;
}

/* 本文 */
.cl-content {
  max-width: 1200px;
  margin: 42px auto 0;
  padding: 48px;
  background:
    linear-gradient(rgba(255,250,240,0.94), rgba(255,250,240,0.94)),
    url("https://adventcosplay.com/wp-content/uploads/2025/11/old-paper.jpg");
  background-size: cover;
  border: 1px solid #c9a86a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  color: #2b1b14;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 1.08rem;
  line-height: 2.2;
  letter-spacing: 0.03em;
}

.cl-content p {
  margin-bottom: 1.8em;
}

.cl-content h2 {
  position: relative;
  margin: 3.2em 0 1.2em;
  padding-bottom: 12px;
  font-size: 1.9rem;
  line-height: 1.4;
  color: #7b2525;
  border-bottom: 1px solid rgba(123,37,37,0.28);
  letter-spacing: 0.06em;
}

.cl-content h2::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 8px;
  width: 6px;
  height: 1.2em;
  background: #8b2f2c;
  border-radius: 4px;
}

.cl-content h3 {
  margin: 2.4em 0 1em;
  color: #5d1f22;
  font-size: 1.35rem;
  line-height: 1.5;
}

.cl-content strong {
  color: #7b2525;
  font-weight: bold;
}

.cl-content a {
  color: #7b2525;
  text-decoration: underline;
  transition: 0.2s ease;
}

.cl-content a:hover {
  opacity: 0.7;
}

.cl-content blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  background: rgba(123,37,37,0.06);
  border-left: 4px solid #8b2f2c;
  font-style: italic;
}

.cl-content hr {
  margin: 3em auto;
  border: none;
  border-top: 1px solid rgba(123,37,37,0.25);
}

.cl-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

/* スマホ */
@media (max-width: 768px) {
  .cl-single {
    padding: 24px 12px;
    background-attachment: scroll;
  }

  .cl-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .cl-hero__image,
  .cl-hero__img,
  .cl-hero__placeholder {
    min-height: 260px;
  }

  .cl-hero__panel {
    padding: 20px;
  }

  .cl-data div {
    grid-template-columns: 96px 1fr;
  }

  .cl-summary {
    grid-template-columns: 1fr;
  }

  .cl-content {
    padding: 28px 22px;
    line-height: 2;
  }

  .cl-content h2 {
    font-size: 1.55rem;
  }

  .cl-content h2::before {
    left: -12px;
  }

  .cl-content h3 {
    font-size: 1.2rem;
  }
}