/* =========================================================
   Florica Column — article content added with the article maker
   (tools/記事メーカー.html).

   styles.css only styles what the design board shows: headings, paragraphs
   and one hand-cropped figure. Real manuscripts also contain lists, bold
   text, links and arbitrary photographs. These rules cover those elements
   only, so index.html and article.html render exactly as before.
   ========================================================= */

/* ---------- lists ---------- */
.article-body > ul,
.article-body > ol {
  margin-top: 24px;
  padding-left: 1.6em;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
.article-body > ul { list-style: disc; }
.article-body > ol { list-style: decimal; }
.article-body > ul > li + li,
.article-body > ol > li + li { margin-top: 8px; }
.article-body > ul > li::marker,
.article-body > ol > li::marker { color: var(--blue-gray); }

/* ---------- inline ----------
   Text links only: the product block's "商品ページへ" sits in a <p> inside
   .article-body too, and must keep its button look. */
.article-body strong { font-weight: 700; }
.article-body p a:not(.button),
.article-body li a:not(.button) {
  color: var(--dark-blue-gray);
  text-decoration: underline;
  text-decoration-color: var(--grad-blue);
  text-underline-offset: 3px;
}
.article-body p a:not(.button):hover,
.article-body li a:not(.button):hover { color: var(--grad-peach); }

/* ---------- category strip with more tabs than the design ----------
   The design fits five tabs on one desktop row; the column has six
   (デリケートゾーンケア). Tighter tabs keep them all visible, and on phones the
   strip leaves room at its end for the SCROLL hint. */
@media (min-width: 1024px) {
  .chip-list:has(.chip:nth-child(6)) .chip { padding-inline: 18px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .chip-list:has(.chip:nth-child(6)) .chip { padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 1023px) {
  .chip-list { padding-right: 64px; }
  /* The SCROLL hint covers the tab under it instead of overlapping its letters. */
  .category-box__hint { width: 96px; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 38%); }
}
/* Between 1024 and about 1180 px six tabs still overflow: keep the hint there too. */
@media (min-width: 1024px) {
  .category-box__hint { display: block; top: 1px; bottom: 1px; height: auto; width: 96px; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 38%); }
}

/* ---------- line breaks ----------
   Avoid a single character alone on the last line of titles and headings. */
.article-hero__title,
.card__title,
.article-body > h2,
.article-body > h3,
.product-rec__label,
.product-rec__name,
.rank-item__title { text-wrap: pretty; }

/* ---------- long words ----------
   A pasted URL or a long run of letters must wrap instead of pushing the
   page sideways on a phone. */
.article-body,
.toc,
.article-hero__title,
.card__title { overflow-wrap: anywhere; }

/* ---------- photographs placed with [画像: ...] ----------
   styles.css crops the design board's single figure with fixed offsets at
   desktop width; that figure is marked data-crop in article.html. Every other
   photo, written by the tool or by hand, keeps its own proportions. */
.article-body figure:not([data-crop]) {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
}
.article-body figure:not([data-crop]) img {
  position: static;
  width: 100%;
  max-width: 830px;
  height: auto;
  margin: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .article-body > ul,
  .article-body > ol {
    max-width: 830px;
    margin-top: 30px;
    margin-left: 51.5px;
    line-height: 30px;
    letter-spacing: 0.05em;
  }
  .article-body > h3 + ul,
  .article-body > h3 + ol { margin-top: 20px; }
  .article-body figure:not([data-crop]) { margin-left: 51.5px; max-width: 830px; }
}

/* ---------- eyecatch photographs ----------
   At desktop width styles.css places the board's sample photographs with
   measured offsets: the article hero shifts article-06.png 104 px left, and
   the list crops the sample card photos named by data-crop="figma-…". A real
   eyecatch would inherit the hero offset meant for the sample picture. Images
   written by the article maker carry data-fit="cover" and simply fill their
   frame (a card without data-crop already does; the rule below keeps cards
   made before that change the same). */
.card-grid .card[data-category] .card__media img[data-fit="cover"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* Below 1024 px the hero photo sits in the flow and sets its own height. */
@media (min-width: 1024px) {
  .article-hero__media img[data-fit="cover"] {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }
}

/* ---------- a list that has no articles yet ----------
   The public list (public-index.html) starts with no cards and an empty
   "よく見られている記事". Until the first card is added, the list shows
   .empty-state--none instead of the category tabs, and an empty ranking is
   not shown on the list or on the articles that copy it. Plain CSS, so it
   also holds without JavaScript and in the article maker's preview. */
.empty-state--none { display: none; }
.card-grid:not(:has(.card)) ~ .empty-state--none { display: block; }
.column-main:not(:has(.card-grid .card)) .category-box { display: none; }
.sidebar__section:has(.rank-list):not(:has(.rank-list li)) { display: none; }
.sidebar__section:has(.rank-list):not(:has(.rank-list li)) + .sidebar__section { margin-top: 0; }

/* =========================================================
   Smartphone layout — approved SP design ("A案", FigJam Page 6, 2026-10-21)
   List: the 10/20 TOP proposal on the left (one column of landscape cards,
   picture left, title right, category and date underneath).
   Article: the 10/14 proposal (eyecatch first, then the title block).
   Only phones change; tablets and desktop keep the approved PC design.
   ========================================================= */
/* The phone pager and "よく読まれている記事を見る" (site.js) come with this
   stylesheet: site.js only adds them when it sees this flag, so the design
   sample index.html (styles.css only) stays as it was. */
:root { --column-phone-list: 1; }
.popular-link { display: none; }
/* Jump targets clear the sticky header. */
.sidebar__title { scroll-margin-top: calc(var(--header-h) + 16px); }

/* The design sets the ranking's "…" on the baseline (a Latin ellipsis), not
   centred like the Japanese fonts draw it. */
@font-face {
  font-family: "Florica Ellipsis";
  src: local("Helvetica Neue"), local("HelveticaNeue"), local("Arial"), local("Roboto");
  unicode-range: U+2026;
}

@media (max-width: 639px) {
  /* ---------- hero ----------
     Board 310:102 (375 px): hero y 66–593, a 66 px rule from the header,
     COLUMN cap line at 146, the title at 224 / 269 and four lead lines on a
     28 px pitch. The pastel field fills the band and the same art, shown at
     500 px wide, puts the line-art silhouette small at the lower left. */
  .hero { min-height: 527px; }
  .hero::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: calc(50% - 0.5px);
    width: 2px;
    height: 66px;
    background: rgba(126, 134, 155, 0.3);
    pointer-events: none;
  }
  /* Field: the soft middle of the art at 2200 px. Lower band (silhouette and
     waves, y 426–593 of the board): column-hero-sp-lower.webp, exported from
     the SP board 310:102 at 2×, faded in at its top edge. */
  .hero__art img {
    position: absolute;
    left: -1003px;
    top: -455px;
    width: 2200px;
    max-width: none;
    height: auto;
  }
  .hero__art::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 167px;
    background: url("../images/hero/column-hero-sp-lower.webp") no-repeat 50% 100% / 100% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px);
    mask-image: linear-gradient(180deg, transparent 0, #000 28px);
  }
  .hero__inner { padding-block: 77px 100px; min-height: 0; }
  .hero__eyebrow { font-size: 20px; line-height: 1; letter-spacing: 0.09em; }
  .hero__title { margin-top: 49px; padding-left: 0.195em; font-size: 26px; line-height: 45px; letter-spacing: 0.195em; }
  .hero__lead { margin-top: 17px; padding-left: 0.178em; font-size: 13px; font-weight: 500; line-height: 28px; letter-spacing: 0.178em; }
  .hero__lead br { display: none; }
  .hero__line { display: block; }

  /* ---------- list column: 300 px at 375, side margins scale with the phone ---------- */
  .column-layout--list { padding-inline: 10%; padding-top: 39px; }

  /* ---------- category box: centred label, outlined pills that wrap ----------
     The pills are 33 px tall in the design; the buttons stay 44 px tall for
     touch and draw the pill inside. */
  .category-box { align-items: center; padding: 28px 8px 12px; border-radius: 6px; }
  .category-box__label { padding: 0; font-size: 20.5px; line-height: 1; letter-spacing: 0.06em; text-align: center; }
  .category-box__hint { display: none; }
  .chip-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 5px;
    margin-top: 16px;
    padding: 0;
    overflow: visible;
  }
  .chip {
    min-height: 44px;
    padding: 0 12.5px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.145em;
    color: var(--ink);
  }
  .chip + .chip::before,
  .chip::before {
    content: "";
    position: absolute;
    inset: 5.5px 0;
    left: 0;
    width: auto;
    height: auto;
    transform: none;
    border: 1px solid #c9cdd5;
    border-radius: 999px;
    background: var(--white);
    z-index: -1;
  }
  .chip { z-index: 0; }
  .chip[aria-pressed="true"]::after { display: none; }
  .chip[aria-pressed="true"] { color: var(--grad-peach); }
  .chip[aria-pressed="true"]::before {
    border-color: transparent;
    background:
      linear-gradient(var(--white), var(--white)) padding-box,
      linear-gradient(90deg, var(--grad-peach) 0%, var(--grad-blue) 100%) border-box;
  }

  /* ---------- "よく読まれている記事を見る" (site.js adds it when there is a ranking) ---------- */
  .popular-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 53px;
    margin: 44px 4px 0 -4px;
    padding-left: 20px;
    border: 1px solid #b9bdca;
    border-radius: 999px;
    padding-top: 3px;
    font-family: "Noto Sans JP", var(--font-jp);
    font-size: 14px;
    letter-spacing: 0.135em;
    color: #7b8292;
  }
  .popular-link__icon {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ink);
  }
  .popular-link__icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -35%);
    border: 3.5px solid transparent;
    border-top: 4.5px solid var(--white);
    border-bottom: 0;
  }

  /* ---------- cards: one column, 300 × 189, 120 px square picture at the top left ---------- */
  .column-main .card-grid { margin-top: 43px; }
  .card-grid { gap: 29.75px; }
  .card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: 120px auto;
    height: auto;
    padding: 0 0 20px;
    border-radius: 6px;
    box-shadow: 6px 16px 24px -4px rgba(0, 0, 0, 0.14), 0 -1px 8px rgba(0, 0, 0, 0.03);
  }
  .card__media { grid-column: 1; grid-row: 1; aspect-ratio: auto; height: 120px; }
  .card__body { display: contents; }
  .card__title {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    min-height: 0;
    padding: 15px 20px 0 11px;
    font-family: "Noto Sans JP", var(--font-jp);
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.04em;
    text-wrap: wrap;
    text-align: justify;
  }
  .card__title .phrase { display: inline; }
  .card__title a { min-height: 0; }
  .card__meta {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 24px 21px 0 19px;
    margin: 0;
  }
  .card .pill { min-width: 0; min-height: 24px; line-height: 24px; padding: 0 21.5px; font-size: 13px; letter-spacing: 0.12em; font-weight: 500; }
  .card .date { position: relative; top: 4px; font-size: 14px; letter-spacing: 0; }

  /* ---------- pager (site.js) ---------- */
  .pager { margin-top: 78.25px; }
  /* The digits sit on a 36 px pitch in the design; each keeps a 44 px touch
     target, so "1" and the arrow box hold their place and 2 / 3 move out. */
  .pager__list { display: flex; align-items: center; margin-left: calc(50% - 99.5px); }
  .pager__list li { display: flex; }
  .pager__page,
  .pager__prev,
  .pager__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 46px;
    font-family: var(--font-en);
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    color: #999591;
  }
  .pager__prev,
  .pager__next {
    /* Board "Frame 13": 46 × 46 at x 222.8 with 4 px corners. */
    width: 46px;
    min-width: 46px;
    margin-left: 2.8px;
    padding: 0;
    border-radius: 4px;
    background: linear-gradient(100deg, #f8905b 0%, #f8905b 51%, #ecc6af 68%, #d2cac2 77%, #b7cfd6 85%, #9ed3e6 96%);
    color: var(--white);
  }
  .pager__prev { margin: 0 10px 0 0; }
  .pager__prev svg,
  .pager__next svg { display: block; flex: none; }

  /* ---------- ranking and tags under the list ---------- */
  .column-layout--list { row-gap: 0; padding-bottom: 69px; }
  .column-layout--list .sidebar { margin-top: 41px; }
  .sidebar__box { padding: 37px 22px 30px 24px; border-radius: 8px; }
  .sidebar__title { gap: 13px; }
  .sidebar__title::before { width: 4px; margin-left: -1px; background: linear-gradient(180deg, #5bd3ff 0%, #5bd3ff 55%, #e9b393 100%); }
  .sidebar__title { font-size: 16px; line-height: 27px; letter-spacing: 0.13em; }
  #tag-title { letter-spacing: 0.21em; }
  .sidebar__section + .sidebar__section { margin-top: 26px; }
  .sidebar__title { margin-bottom: 22px; }
  .rank-item__title { font-family: "Florica Ellipsis", "Noto Sans JP", var(--font-jp); font-size: 14.7px; font-weight: 400; line-height: 24px; letter-spacing: 0.01em; text-wrap: wrap; }
  .pill-outline {
    display: flex;
    width: fit-content;
    margin: 10.5px 0 0 0;
    padding: 0 9px;
    border-width: 1.5px;
    font-size: 13px;
    font-weight: 400;
    line-height: 16.5px;
    letter-spacing: 0.065em;
    color: #f69a6b;
    background:
      linear-gradient(var(--white), var(--white)) padding-box,
      linear-gradient(90deg, #f8905a 0%, #f8905a 62%, #a3c8d4 100%) border-box;
  }
  /* Tags are 35 px outlined chips in the design; the links stay 44 px tall. */
  .tag-list { gap: 2px 10px; }
  .tag-list a {
    position: relative;
    padding: 0 10px;
    font-size: 14px;
    z-index: 0;
    border: 0;
    background: none;
  }
  .tag-list a::before {
    content: "";
    position: absolute;
    inset: 4.5px 0;
    z-index: -1;
    border: 1px solid #b4b4b4;
    border-radius: 8px;
    background: var(--white);
  }

  /* ---------- article: eyecatch first ----------
     Board 301:70 (375 px): photo y 66–361, title block to 607 with the
     gradient rule at x 33, three title lines on a 40 px pitch from x 67,
     badge 92 × 28 at y 545; TOC panel x 38–337, y 673–859. */
  .column-layout--article { padding-inline: 10%; padding-top: 63px; padding-bottom: 93px; row-gap: 0; }
  .article-hero { display: flex; flex-direction: column; }
  .article-hero__media { order: -1; aspect-ratio: auto; height: 294px; }
  .article-hero__media img { position: absolute; inset: 0; }
  /* Board layer 301:175 (read from the local copy's canvas.fig): image
     27502827 (= article-15.jpg / article-01.jpg) stretched so its UV crop
     x 0.0596–0.7947, y 0.2251–1 fills 375 × 246, mirrored horizontally,
     at 80 % over the white frame. */
  .article-hero__text {
    position: relative;
    isolation: isolate;
    padding: 28px 24px 34px 66px;
    background: var(--white);
  }
  .article-hero__text::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.8;
    transform: scaleX(-1);
    background: url("../images/figma-source/article-15.jpg") -30.42px -71.44px / 510.15px 317.31px no-repeat;
    pointer-events: none;
  }
  .article-hero__text::before { left: 32px; top: 30px; bottom: auto; height: 185px; width: 8px; background: linear-gradient(180deg, #75c1dc 0%, #a1d4e7 23.5%, #cde9f0 40.2%, #efc5ac 66.8%, #f8915b 100%); }
  .article-hero__title { font-size: 21px; line-height: 40px; letter-spacing: 0.05em; position: relative; top: 2px; }
  .article-hero__title .phrase { display: inline; }
  /* The board's sample photographs (no data-fit; published articles always
     carry data-fit="cover") are placed as measured on 301:70. */
  .article-hero__media img:not([data-fit]) { inset: auto; left: -50.34px; top: -14.2px; width: 476.02px; max-width: none; height: 308.15px; }
  .product-rec__media img[src*="figma-source/"] { position: absolute; left: -10px; top: 0; width: 230px; max-width: none; height: 150px; }
  .article-body figure[data-crop="figma-article-18"] { position: relative; height: 202px; overflow: hidden; }
  .article-body figure[data-crop="figma-article-18"] img { position: absolute; left: -36.14px; top: -116.03px; width: 336.14px; max-width: none; height: 503.1px; aspect-ratio: auto; }
  .article-hero__meta { margin-top: 35px; gap: 20px; }
  /* Board badge: 92 × 31, 4 px corners, keyline blue at the left turning
     peach. */
  .article-hero__meta .badge-outline {
    position: relative;
    min-width: 92px;
    min-height: 30px;
    padding: 0 10px;
    border-width: 1.5px 1px;
    border-radius: 4px;
    font-size: 15px;
    letter-spacing: 0.14em;
    color: #f68e5b;
    background:
      linear-gradient(var(--white), var(--white)) padding-box,
      linear-gradient(90deg, #85c7e0 0%, #e9dcd3 25%, #f6c4a8 50%, #f99c6d 100%) border-box;
  }
  /* The board's label fades from peach to pale blue on its last character. */
  .article-hero__meta .badge-outline::after {
    content: "";
    position: absolute;
    inset: 2px 2px 2px 50%;
    background: linear-gradient(90deg, rgba(159, 207, 226, 0) 0%, #9fcfe2 75%);
    mix-blend-mode: color;
    pointer-events: none;
  }

  .toc { gap: 8px; padding: 35px 22px 27px 30px; }
  .toc__title { margin-left: -1px; font-size: 18px; letter-spacing: 0.15em; }
  .toc ol { gap: 0; }
  .toc li { padding-left: 15px; }
  .toc li::before { left: -2px; top: 14px; transform: translateY(-50%); }
  /* 28 px rows as drawn; 8 px of padding above and below, cancelled by
     negative margins, keep every link at least 44 px tall without moving
     the rows (long items wrap onto further 28 px lines). */
  .toc a { display: block; min-height: 0; margin: -8px 0; padding: 8px 0; font-size: 14px; font-weight: 500; line-height: 28px; letter-spacing: 0.15em; color: var(--ink); }

  .article-body > h2,
  .article-body > h2:first-child { margin-top: 47px; padding-left: 30px; font-size: 23px; line-height: 41px; letter-spacing: 0.15em; }
  .article-body > h2 { color: #5b6479; }
  .article-body > h2::before { top: 2px; height: calc(100% - 2px); width: 9px; background: linear-gradient(180deg, #75c1dc 0%, #b9dde9 35%, #f0c0a4 65%, #f6996a 100%); }
  .article-body > p { margin-top: 31px; font-size: 14px; line-height: 28px; letter-spacing: 0.05em; }
  .article-body > figure + p { margin-top: 20.5px; }
  .column-layout--article .article-body figure[data-crop] { margin-top: 27.5px; }
  .article-body > p + p { margin-top: 28px; }
  .article-body > p { font-weight: 500; position: relative; top: -0.5px; }
  .article-body > p + h2,
  .article-body > figure + h2 { margin-top: 77px; }
  .article-body > h3 { margin-top: 74px; font-size: 20px; line-height: 28px; letter-spacing: 0.15em; color: #5e677c; }
  .article-body > h2 + h3 { margin-top: 71px; }
  .article-body > p + h3 { margin-top: 69px; }
  .article-body > h3::after { width: 38px; height: 1.5px; margin-top: 19px; background: #3a3a39; }
  .article-body > h3 + p { margin-top: 20px; }


  /* ---------- product, inquiry, prev / next (board 301:70) ----------
     Product panel x 38–337, y 2908–3317, everything centred: two-line label,
     210 × 150 picture, name, pack, 220 × 54 outlined button. Inquiry panel
     y 3357–3562, grey with a 1 px keyline, 220 × 54 filled button. Prev / next
     are 32 px discs with a white centre, 記事一覧に戻る centred under them. */
  /* Board rule: 1 px, light grey darkening to the right. */
  .article-body hr { height: 1px; margin-top: 79px; margin-bottom: 0; position: relative; top: -0.5px; border: 0; background: linear-gradient(90deg, #d7d8db 0%, #d2d4d7 55%, #babdc3 100%); }
  .product-rec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 52px;
    padding: 40px 20px 29px;
    text-align: center;
  }
  .product-rec__body { display: contents; }
  .product-rec__label { order: -1; max-width: 172px; font-size: 17px; font-weight: 500; line-height: 28px; letter-spacing: 0.11em; color: var(--ink); }
  .product-rec__media { width: 210px; height: 150px; aspect-ratio: auto; margin-top: 11px; }
  .product-rec__name { margin-top: 15px; font-size: 13px; line-height: 20px; letter-spacing: 0.07em; }
  .product-rec__size { margin-top: 0; font-size: 13px; line-height: 20px; }
  .product-rec__action { margin-top: 14.5px; }
  /* The SP board shows the product photograph without the desktop board's soft veil. */
  .product-rec__media::after { display: none; }
  /* 301:174: the photo at 100 % under a 20 % desaturated bokeh layer (≈ #ebebeb, measured on the native board). */
  .article-hero__media::after { background: rgba(235, 235, 235, 0.25); }
  /* Board button x 79–296 (218 px wide). */
  .product-rec .button { gap: 8px; border-color: #7f8797; }
  /* Play marks as on board 301:70 (its icons are small rounded triangles in a
     disc, measured on the native PNG): drawn as SVG instead of CSS borders. */
  .product-rec .button__dot,
  .inquiry-cta .button__dot { width: 13px; height: 13px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2013%2013%27%3E%3Ccircle%20cx%3D%276.5%27%20cy%3D%276.5%27%20r%3D%276.5%27%20fill%3D%27%237e869b%27%2F%3E%3Cpath%20d%3D%27M5.6%204.9L7.8%206.5L5.6%208.1Z%27%20fill%3D%27%23fff%27%20stroke%3D%27%23fff%27%20stroke-width%3D%271%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
  .inquiry-cta .button__dot { width: 14px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2014%2014%27%3E%3Ccircle%20cx%3D%277%27%20cy%3D%277%27%20r%3D%277%27%20fill%3D%27%23fff%27%2F%3E%3Cpath%20d%3D%27M5.9%205.1L8.4%207L5.9%208.9Z%27%20fill%3D%27%237e869b%27%20stroke%3D%27%237e869b%27%20stroke-width%3D%271%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E"); }
  .product-rec .button__dot::before,
  .inquiry-cta .button__dot::before,
  .article-nav__dot::before { display: none; }
  /* Placement measured against the native board (disc centres). */
  .product-rec .button__dot { transform: translate(2.5px, 0.5px); }
  .inquiry-cta .button__dot { transform: translate(-1px, 1.5px); }
  .article-nav__next .article-nav__dot { transform: translate(1.5px, -0.5px); }
  .article-nav__prev .article-nav__dot { transform: translateX(-0.5px); }
  .product-rec .button,
  .inquiry-cta .button { width: 220px; min-height: 52px; }
  .product-rec .button { width: 218px; min-height: 53px; }
  .inquiry-cta .button { width: 218px; transform: translateY(0.5px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45); }

  .inquiry-cta { margin-top: 41px; padding: 30px 20px 31px; border: 1px solid #d1d1d4; border-radius: 8px; background: #f3f3f2; box-shadow: 0 4px 20px rgba(170, 140, 90, 0.10); }
  .inquiry-cta h2 { padding-left: 0.155em; font-size: 20px; line-height: 35px; letter-spacing: 0.155em; color: #464646; }
  .inquiry-cta .button { gap: 8px; min-height: 53px; margin-top: 19px; border: 1px solid #6e778c; background: var(--blue-gray); }
  .inquiry-cta .button .button__dot::before { border-left-color: var(--blue-gray); }

  /* prev and next on one row, "記事一覧に戻る" under them */
  .article-nav { grid-template-columns: 1fr 1fr; gap: 18px 8px; margin-top: 62px; }
  .column-layout--article .sidebar { margin-top: 52px; margin-left: 0.5px; margin-right: -0.5px; }
  /* The column starts at x 37.5 on a 375 px phone; the board's panels sit on x 38. */
  .column-layout--article .product-rec,
  .column-layout--article .inquiry-cta,
  .column-layout--article .article-body hr { margin-left: 0.5px; margin-right: -0.5px; }
  .column-layout--article .sidebar__title { margin-top: -2px; margin-bottom: 26px; }
  .column-layout--article #tag-title { position: relative; top: 2px; }
  .column-layout--article .tag-list { margin-left: 0; }
  .column-layout--article .sidebar__box {
    background:
      linear-gradient(var(--white), var(--white)) padding-box,
      linear-gradient(180deg, #b7dfee 0%, #b2ddec 23%, #b9e0ed 50%, #d2ebf1 64%, #dbe2df 70%, #e8d0c0 80%, #f9d2bd 95%, #fed9c6 100%) border-box;
  }
  .column-layout--article .tag-list a::before { inset: 4px 0 5px; }
  .column-layout--article .pill-outline { margin-top: 10px; border-width: 1px; line-height: 18px; color: #f7a073; background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(90deg, #f99d6d 0%, #f8905a 30%, #f8905a 55%, #a3c8d4 100%) border-box; }
  .column-layout--article #tag-title::before { transform: translateY(2px); }
  .column-layout--article .sidebar__box { padding-top: 36px; padding-bottom: 28px; }
  .column-layout--article .sidebar__section + .sidebar__section { margin-top: 25px; }
  .article-nav__prev { grid-column: 1; grid-row: 1; justify-self: start; }
  .article-nav__next { grid-column: 2; grid-row: 1; justify-self: end; }
  .article-nav__index { grid-column: 1 / -1; grid-row: 2; }
  .article-nav .article-nav__index a { letter-spacing: 0.21em; }
  .article-nav a { gap: 8px; font-size: 13px; letter-spacing: 0.12em; font-weight: 500; color: #6c6b6b; }
  .column-layout--article .sidebar__title::before { width: 5px; height: 18px; margin-left: -2px; transform: translateY(4px); background: linear-gradient(180deg, #5bd3ff 0%, #5bd3ff 45%, #a8c6d0 70%, #d7bba8 100%); }
  .article-nav a.article-nav__next { gap: 8px; }
  .article-nav__arrow { width: 44px; height: 44px; margin: 0 -6px; background: transparent; }
  .article-nav__prev .article-nav__arrow,
  .article-nav__next .article-nav__arrow { border-radius: 50%; }
  .article-nav__dot { width: 30px; height: 30px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2030%2030%27%3E%3Ccircle%20cx%3D%2715%27%20cy%3D%2715%27%20r%3D%2715%27%20fill%3D%27%237e869b%27%2F%3E%3Ccircle%20cx%3D%2715%27%20cy%3D%2715%27%20r%3D%277%27%20fill%3D%27%23fff%27%2F%3E%3Cpath%20d%3D%27M14.1%2013.1L16.6%2015L14.1%2016.9Z%27%20fill%3D%27%237e869b%27%20stroke%3D%27%237e869b%27%20stroke-width%3D%271%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
  .article-nav__prev .article-nav__dot { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2030%2030%27%3E%3Ccircle%20cx%3D%2715%27%20cy%3D%2715%27%20r%3D%2715%27%20fill%3D%27%237e869b%27%2F%3E%3Ccircle%20cx%3D%2715%27%20cy%3D%2715%27%20r%3D%277%27%20fill%3D%27%23fff%27%2F%3E%3Cpath%20d%3D%27M15.9%2013.1L13.4%2015L15.9%2016.9Z%27%20fill%3D%27%237e869b%27%20stroke%3D%27%237e869b%27%20stroke-width%3D%271%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E"); }
  .article-nav__prev .article-nav__dot::before { border-right: 4px solid var(--blue-gray); border-top-width: 3px; border-bottom-width: 3px; margin-right: 1px; }
  .article-nav__next .article-nav__dot::before { border-left: 4px solid var(--blue-gray); border-top-width: 3px; border-bottom-width: 3px; margin-left: 1px; }

  /* ---------- sub-pixel alignment to boards 310:102 / 301:70 (2026-11-10) ----------
     Each offset was chosen by measuring that component's board/implementation
     foreground difference at -1..+1 px (qa/figma-diff.mjs definitions, unchanged).
     translate moves only the paint, never layout or tap targets. Body copy is
     lighter than 500 on the board: 400 with a 0.2 px stroke matches its ink. */
  .hero__eyebrow { translate: 0.5px -0.5px; }
  .hero__title { translate: 0.5px 0px; }
  .category-box__label { translate: 1px -0.5px; }
  .chip { translate: 1px -1px; }
  .popular-link { translate: 0.5px 0.5px; }
  #article-grid .card__title { translate: 0 0.5px; }
  #article-grid .card__meta .date { translate: -1px 1px; }
  #article-grid .card .pill { translate: 0 0.5px; }
  .column-layout--list .rank-item__title { translate: 0 -0.5px; }
  .column-layout--list .pill-outline { translate: 0.5px 0px; }
  .column-layout--list .tag-list { translate: 0.5px 1px; }
  .pager__list { translate: 0px -0.5px; }
  .product-rec__label { translate: 1px 1px; }
  .product-rec__name, .product-rec__size { translate: 0.5px -0.5px; }
  .hero__lead { font-weight: 400; }
  .article-body > p { font-weight: 400; }
  .article-body > h3 + p { top: 0; }
  .article-body > p { -webkit-text-stroke: 0.2px currentColor; }
  .article-body > h2:first-of-type { translate: 0 0.5px; }
  .article-body > h2:not(:first-of-type) { translate: 0 -0.5px; }
  .column-layout--article .rank-item__title { translate: -0.5px -0.5px; }
  .column-layout--article .pill-outline { translate: 0.5px 0; }
}
}
