/* ==========================================================================
   CrossPiece — column article page (column/why-systemize-now.html)
   Values are carried over verbatim from the previous inline styles — do not
   "clean up" numbers; they are design-authored.
   ========================================================================== */

/* --------------------------------------------------------------------------
   section: article hero (cp-article-hero) — back link / meta / title / image
   -------------------------------------------------------------------------- */
.cp-article-hero { padding: clamp(160px, 18vh, 176px) 0 0; }
.cp-article-hero__container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, min(4vw, 57.6px), 40px); }
.cp-article-hero__back-row { margin-bottom: clamp(26px, min(3.5vw, 50.4px), 40px); }
.cp-article-hero__back { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 'Noto Sans JP', sans-serif; letter-spacing: .05em; color: #9aa0a6; text-decoration: none; transition: color .2s; }
.cp-article-hero__back:hover { color: #1C1F26; }
.cp-article-hero__back-arrow { font-family: 'Urbanist'; font-weight: 700; }
.cp-article-hero__head { display: grid; grid-template-columns: 260px minmax(0, 750px); justify-content: start; gap: clamp(44px, min(5vw, 72px), 70px); }
.cp-article-hero__meta { min-width: 0; }
.cp-article-hero__meta-label { display: block; font: 700 10px/1 'Urbanist', sans-serif; letter-spacing: .18em; color: #9aa0a6; margin-bottom: 12px; }
.cp-article-hero__date-value { font: 300 clamp(20px, min(2.2vw, 31.68px), 24px)/1.1 'Urbanist', sans-serif; letter-spacing: .08em; color: #1C1F26; }
.cp-article-hero__date-year { font-size: .62em; }
.cp-article-hero__author { border-top: 1px solid #cfd6e2; margin-top: 16px; padding-top: 16px; }
.cp-article-hero__author-row { display: flex; align-items: center; gap: 10px; }
.cp-article-hero__author-img { width: 42px; height: 42px; border-radius: 999px; object-fit: cover; display: block; flex: none; border: 1px solid #cfd6e2; background: #fff; }
.cp-article-hero__author-texts { display: flex; flex-direction: column; gap: 5px; }
.cp-article-hero__author-name { font: 400 12.5px/1.5 'Noto Sans JP', sans-serif; color: #1C1F26; }
.cp-article-hero__author-handle { font: 600 10px/1 'Urbanist', sans-serif; letter-spacing: .08em; color: #9aa0a6; }
.cp-article-hero__title-col { min-width: 0; }
.cp-article-hero__eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(22px, min(3vw, 43.2px), 32px); }
.cp-article-hero__eyebrow { font: 700 12px/1 'Urbanist', sans-serif; letter-spacing: .26em; color: #BE2E96; }
.cp-article-hero__bar { height: 1px; width: 48px; background: #cfd6e2; }
.cp-article-hero__category { font: 600 12px/1 'Noto Sans JP', sans-serif; letter-spacing: .06em; color: #6B7178; }
.cp-article-hero__title { font-family: 'Noto Sans JP', sans-serif; font-weight: 600; font-size: clamp(26px, min(3.8vw, 54.72px), 42px); line-height: 1.5; letter-spacing: .01em; color: #1B2B4D; margin: 0 0 clamp(18px, min(2.4vw, 34.56px), 26px); }
.cp-article-hero__lead { font-family: 'Noto Sans JP', sans-serif; font-weight: 400; font-size: 15px; line-height: 2.05; letter-spacing: .051em; color: #3a3f45; margin: 0 0 clamp(20px, min(2.6vw, 37.44px), 28px); }
.cp-article-hero__spacer { height: clamp(8px, min(1.4vw, 20.16px), 12px); }
.cp-article-hero__img-wrap { overflow: hidden; border-radius: 8px; }
.cp-article-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 21/10; object-fit: cover; }

/* --------------------------------------------------------------------------
   section: article body (cp-article-body) — toc rail + article column
   -------------------------------------------------------------------------- */
.cp-article-body { padding: clamp(44px, min(6vw, 86.4px), 72px) 0 clamp(64px, min(8vw, 115.2px), 104px); }
.cp-article-body__container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, min(4vw, 57.6px), 40px); display: grid; grid-template-columns: 260px minmax(0, 750px); justify-content: space-between; gap: clamp(44px, min(5vw, 72px), 70px); }

/* toc (cp-article-toc) — sticky index; active state mirrors the old
   React-driven inline styles (is-active = activeSec match). */
.cp-article-toc { min-width: 0; }
.cp-article-toc__box { position: sticky; top: 168px; }
.cp-article-toc__frame { border-left: 1px solid #cfd6e2; }
.cp-article-toc__head { position: relative; padding: 0 0 14px 18px; }
.cp-article-toc__head-dot { position: absolute; left: -4px; top: 2px; width: 7px; height: 7px; border-radius: 999px; background: #BE2E96; }
.cp-article-toc__head-label { display: block; font: 700 11px/1 'Urbanist', sans-serif; letter-spacing: .22em; color: #9aa0a6; }
.cp-article-toc__list { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; }
.cp-article-toc__link { position: relative; display: flex; gap: 11px; align-items: baseline; padding: 9px 0 9px 18px; font: 600 12.5px/1.75 'Noto Sans JP', sans-serif; color: #6B7178; text-decoration: none; transition: color .3s cubic-bezier(.22,.61,.36,1); }
.cp-article-toc__link:hover,
.cp-article-toc__link.is-active { color: #1B2B4D; }
.cp-article-toc__num { font: 300 11.5px/1.75 'Urbanist', sans-serif; letter-spacing: .06em; color: #9aa0a6; flex: none; transition: color .3s cubic-bezier(.22,.61,.36,1); }
.cp-article-toc__link.is-active .cp-article-toc__num { color: #BE2E96; }
.cp-article-toc__mark { position: absolute; left: -1px; top: 50%; transform: translateY(-50%); width: 2px; height: 20px; background: #BE2E96; opacity: 0; transition: opacity .3s cubic-bezier(.22,.61,.36,1); }
.cp-article-toc__link.is-active .cp-article-toc__mark { opacity: 1; }

/* article column (cp-article-content) */
.cp-article-content { min-width: 0; }
.cp-article-content__num-row { display: flex; align-items: baseline; gap: 20px; margin: 0 0 14px; }
.cp-article-content__num { font: 300 clamp(26px, min(2.8vw, 40.32px), 30px)/1 'Urbanist', sans-serif; letter-spacing: .04em; color: #243A66; }
.cp-article-content__num-line { height: 1px; flex: 1; background: #cfd6e2; transform: translateY(-9px); }
.cp-article-content__h2 { scroll-margin-top: 150px; font-family: 'Noto Sans JP', sans-serif; font-weight: 600; font-size: clamp(19px, min(2.2vw, 31.68px), 23px); line-height: 1.6; color: #1B2B4D; margin: 0 0 30px; }
.cp-article-content__p { font-family: 'Noto Sans JP', sans-serif; font-weight: 400; font-size: 15px; line-height: 2.1; letter-spacing: .051em; color: #3a3f45; margin: 0 0 28px; }
.cp-article-content__p--section-end { margin-bottom: clamp(56px, min(7vw, 100.8px), 80px); }

/* share row (cp-article-share) */
.cp-article-share { display: flex; align-items: center; gap: 18px; border-top: 1px solid #cfd6e2; padding-top: 20px; flex-wrap: wrap; }
.cp-article-share__label { font: 700 10px/1 'Urbanist', sans-serif; letter-spacing: .18em; color: #9aa0a6; flex: none; }
.cp-article-share__btns { display: flex; align-items: center; gap: 10px; }
.cp-article-share__btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #cfd6e2; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s cubic-bezier(.22,.61,.36,1); }
.cp-article-share__btn:hover { border-color: #1C1F26; }
.cp-article-share__icon { display: block; }
.cp-article-share__msg { font: 600 12px/1 'Noto Sans JP', sans-serif; color: #BE2E96; }

/* --------------------------------------------------------------------------
   section: CTA (cp-article-cta) — full-bleed band + centered flex row
   -------------------------------------------------------------------------- */
.cp-article-cta { background: #F3F5FC; position: relative; isolation: isolate; border-top: 1px solid #cfd6e2; padding: clamp(64px, min(9vw, 129.6px), 108px) 0; }
.cp-article-cta__band { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cp-article-cta__band-sheen { position: absolute; top: 0; bottom: 0; left: -25%; right: -25%; background: linear-gradient(112deg, transparent 30%, rgba(126,164,228,.13) 44%, rgba(255,255,255,.9) 55%, rgba(126,164,228,.09) 66%, transparent 80%); animation: cpBand 34s ease-in-out infinite; }
@keyframes cpBand { 0%, 100% { transform: translateX(-3.5%); } 50% { transform: translateX(3.5%); } }
.cp-article-cta__inner { max-width: 1160px; margin: 0 auto; padding: 0 clamp(24px, min(5vw, 72px), 72px); display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, min(5vw, 72px), 56px); flex-wrap: wrap; }
.cp-article-cta__text { min-width: 0; }
.cp-article-cta__eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cp-article-cta__pin { width: 7px; height: 7px; background: #BE2E96; }
.cp-article-cta__eyebrow { font: 700 12px/1 'Urbanist', sans-serif; letter-spacing: .26em; color: #BE2E96; }
.cp-article-cta__bar { height: 1px; width: 48px; background: #cfd6e2; }
.cp-article-cta__title { font-family: 'Noto Sans JP', sans-serif; font-weight: 600; font-size: clamp(24px, min(3.2vw, 46.08px), 36px); line-height: 1.4; color: #1B2B4D; margin: 0 0 12px; }
.cp-article-cta__lead { font-family: 'Noto Sans JP', sans-serif; font-weight: 400; font-size: 14px; line-height: 1.9; color: #6B7178; margin: 0; }
.cp-article-cta__btn { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px 0 25px; border-radius: 999px; background: #BE2E96; color: #fff; font: 600 15px/1 'Noto Sans JP', sans-serif; text-decoration: none; }

/* --------------------------------------------------------------------------
   responsive (page-specific; shared m-* rules live in css/site.css)
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .cp-article-hero__bar,
  .cp-article-cta__bar { width: 32px; }
  .cp-article-hero__head { display: flex; flex-direction: column; gap: 0; }
  .cp-article-hero__meta { order: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 1px solid #cfd6e2; margin-top: 4px; padding-top: 16px; margin-bottom: 28px; }
  .cp-article-hero__date { order: 2; text-align: right; }
  .cp-article-hero__author { border-top: none; margin-top: 0; padding-top: 0; }
  .cp-article-body__container { display: block; }
  .cp-article-toc { margin-bottom: 44px; }
  .cp-article-toc__box { position: static; }
  /* legacy [data-m-footpad] override — the simple footer pad is not covered
     by the shared mobile rules (site.css only handles the rail footer col). */
  .cp-footer__pad { padding-left: 44px; padding-right: 44px; }
}

/* --------------------------------------------------------------------------
   wide displays (>=1441px) — ported from wide-layout.css: the CTA band
   ([data-cp-wide-bg]) spans the full viewport. No other wide rule matched
   this page (no rail/spine sections; the footer here is the simple variant).
   -------------------------------------------------------------------------- */
@media (min-width: 1441px) {
  .cp-article-cta__band { right: auto; left: 50%; width: 100vw; transform: translateX(-50%); }
}
