/* =========================================================
   カテゴリーの誌面風レイアウトと記事カード
========================================================= */

/* =========================================================
   Start From 39 — three independent category designs v1.17.88
   Life: photographic journal / Money: financial editorial
   Work: asymmetric career magazine
========================================================= */

/* =========================================================
   Shared restraint: these three pages remain part of one publication.
========================================================= */

:where(.sf-life-hub, .sf-money-hub, .sf-work-hub) {
  color: #243c3c;
  background: #f8f5ee !important;

  overflow: hidden;
}

:where(.sf-life-hub, .sf-money-hub, .sf-work-hub) a {
  transition: color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

:where(.sf-life-hub, .sf-money-hub, .sf-work-hub) :focus-visible {
  outline: 2px solid #b79a62;
  outline-offset: 4px;
}

/* =========================================================
   01 LIFE REDESIGN — full-photo journal cover
========================================================= */

.sf-life-hub {
  --life-ink: #344942;
  --life-accent: #9b7772;
  --life-gold: #b79a62;
  --life-paper: #f7f1e7;
}

.sf-life-hub .sf-life-hero {
  min-height: 680px;

  display: flex;

  align-items: flex-end;

  position: relative;

  background: linear-gradient(
      90deg,
      rgba(28, 48, 42, 0.18) 0%,
      rgba(28, 48, 42, 0.02) 55%,
      rgba(28, 48, 42, 0.08) 100%
    ),
    url("../../images/home/latest-life.jpg") center 38% / cover no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sf-life-hub .sf-life-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    transparent 38%,
    rgba(24, 45, 39, 0.22) 100%
  );
}

.sf-life-hub .sf-life-hero::after {
  content: "LIFE / 01" !important;
  right: 38px !important;
  top: 32px !important;
  bottom: auto !important;

  color: rgba(255, 255, 255, 0.84) !important;

  font-size: 12px !important;
  letter-spacing: 0.26em !important;
}

.sf-life-hub .sf-life-hero-inner {
  width: min(610px, calc(100% - 80px));

  margin: 0 0 54px max(40px, calc((100% - 1180px) / 2));
  padding: 50px 54px 46px !important;

  background: rgba(250, 247, 240, 0.94);
  border-left: 4px solid var(--life-accent);
  box-shadow: 0 24px 64px rgba(32, 48, 42, 0.18);
  backdrop-filter: blur(5px);
}

.sf-life-hub .sf-life-eyebrow {
  margin-bottom: 18px;

  color: #8c6b66 !important;

  font-size: 11px;
  letter-spacing: 0.28em;
}

.sf-life-hub .sf-life-hero h1 {
  margin-bottom: 22px;

  color: var(--life-ink) !important;

  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.55;
}

.sf-life-hub .sf-life-hero-lead {
  max-width: 480px;

  color: #5d6863 !important;

  font-size: 14px;
  line-height: 2;
}

.sf-life-hub .sf-life-hero-note {
  margin-top: 28px;

  color: #9a8052 !important;

  font-size: 10px;
}

.sf-life-hub .sf-life-intro {
  padding-top: 112px;
  padding-bottom: 118px;
}

.sf-life-hub .sf-life-section-title,
.sf-life-hub .sf-life-category-head h2 {
  color: var(--life-ink) !important;
}

.sf-life-hub .sf-life-path-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;

  margin-top: 52px;
}

.sf-life-hub .sf-life-path-card {
  grid-column: span 4;

  min-height: 280px;

  padding: 36px 30px 30px;

  background: #fffdf8 !important;
  border: 1px solid #ded4c5 !important;
  border-top: 3px solid #bfa5a0 !important;
  box-shadow: 0 10px 24px rgba(45, 61, 54, 0.05) !important;
}

.sf-life-hub .sf-life-path-card:nth-child(4) {
  grid-column: 3 / span 4;
}

.sf-life-hub .sf-life-path-card:nth-child(5) {
  grid-column: 7 / span 4;
}

.sf-life-hub .sf-life-path-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 18px 38px rgba(45, 61, 54, 0.1) !important;
}

.sf-life-hub .sf-life-path-num {
  position: absolute;
  right: 24px;
  top: 16px;

  color: #eee6da !important;

  font: 400 54px/1 Georgia,
    serif;
}

.sf-life-hub .sf-life-path-en {
  color: #a27b72 !important;
}

.sf-life-hub .sf-life-path-card strong {
  color: #344942 !important;

  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 21px;
}

.sf-life-hub .sf-life-path-link {
  color: #8d6b64 !important;
}

.sf-life-hub .sf-life-featured {
  max-width: none;

  padding: 105px max(40px, calc((100% - 1100px) / 2));

  background: #e9eee8 !important;
}

.sf-life-hub .sf-life-featured-grid {
  grid-template-columns: 1.35fr 0.825fr 0.825fr;
  gap: 0;

  border-top: 1px solid #b7c2bb;
  border-bottom: 1px solid #b7c2bb;
}

.sf-life-hub .sf-life-feature-card {
  min-height: 330px;

  padding: 46px 40px;

  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid #b7c2bb !important;
  box-shadow: none !important;
}

.sf-life-hub .sf-life-feature-card:last-child {
  border-right: 0 !important;
}

.sf-life-hub .sf-life-feature-main {
  background: #f7f1e7 !important;
}

.sf-life-hub .sf-life-feature-card:hover {
  transform: none;

  background: #fffaf1 !important;
}

.sf-life-hub .sf-life-category-section {
  border-top: 0 !important;
}

.sf-life-hub .sf-life-category-section:nth-of-type(even) {
  background: #fbf8f1;
}

.sf-life-hub .sf-life-article-card {
  border: 0 !important;
  border-left: 2px solid #bfa5a0 !important;
  border-radius: 0 !important;
  background: #fffdf9 !important;
  box-shadow: 0 8px 22px rgba(45, 61, 54, 0.045) !important;
}

.sf-life-hub .sf-life-ending {
  color: #344942 !important;
  background: #e5ebe5 !important;
  border-top: 1px solid #b7c2bb !important;
}

.sf-life-hub .sf-life-ending h2,
.sf-life-hub .sf-life-ending p {
  color: #344942 !important;
}

/* =========================================================
   02 MONEY — calm financial editorial / ledger
========================================================= */

.sf-money-hub {
  --money-ink: #294b50;
  --money-blue: #78969c;
  --money-gold: #b69658;
  --money-paper: #f4f0e6;
}

.sf-money-hub .sf-money-hero {
  min-height: 590px;

  position: relative;
  display: grid;

  grid-template-columns: minmax(0, 54%) minmax(360px, 46%);

  color: var(--money-ink) !important;
  background: #f4f0e6 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sf-money-hub .sf-money-hero::before {
  content: "MONEY" !important;
  left: 5vw !important;
  right: auto !important;
  top: 22px !important;
  bottom: auto !important;

  color: rgba(41, 75, 80, 0.045) !important;

  font-size: clamp(110px, 15vw, 230px) !important;

  z-index: 0;
}

.sf-money-hub .sf-money-hero::after {
  content: "" !important;
  position: relative !important;
  left: auto !important;
  bottom: auto !important;

  width: auto !important;
  height: auto !important;

  grid-column: 2;
  grid-row: 1;

  margin: 55px 8vw 55px 0;

  background: url("../../images/home/latest-money.jpg") center/cover no-repeat !important;
  border-radius: 48% 48% 8px 8px;
  box-shadow: 18px 18px 0 #dfe9e6,
    0 20px 50px rgba(35, 62, 62, 0.12);
}

.sf-money-hub .sf-money-hero-inner {
  grid-column: 1;
  grid-row: 1;
  align-self: center;

  width: min(650px, 100%);

  margin-left: max(40px, calc((100vw - 1180px) / 2));
  padding: 70px 60px 70px 0 !important;
}

.sf-money-hub .sf-money-eyebrow {
  color: #8a7147 !important;
}

.sf-money-hub .sf-money-hero h1 {
  max-width: 560px;

  color: var(--money-ink) !important;

  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.45;
}

.sf-money-hub .sf-money-hero-lead {
  max-width: 560px;

  color: #5d6f70 !important;

  font-size: 14px;
  line-height: 2;
}

.sf-money-hub .sf-money-hero-note {
  color: #8a7147 !important;
}

.sf-money-hub .sf-money-select-wrap {
  padding-top: 0;

  background: #dfe9e6;

  max-width: none;

  padding-left: max(40px, calc((100% - 1100px) / 2));
  padding-right: max(40px, calc((100% - 1100px) / 2));
  padding-bottom: 68px;
}

.sf-money-hub .sf-money-select {
  top: -24px;

  border: 1px solid #c2d1ce;
  border-top: 4px solid #78969c;
  background: #fffdf8;
  box-shadow: 0 18px 45px rgba(41, 75, 80, 0.09);
}

.sf-money-hub .sf-money-intro {
  padding-top: 96px;
}

.sf-money-hub .sf-money-section-title,
.sf-money-hub .sf-money-category-head h2,
.sf-money-hub .sf-money-select h2 {
  color: var(--money-ink) !important;
}

.sf-money-hub .sf-money-path-grid {
  display: block;

  margin-top: 48px;

  border-top: 1px solid #b9c7c4;
}

.sf-money-hub .sf-money-path-card {
  display: grid;

  grid-template-columns: 76px 170px minmax(180px, 0.8fr) minmax(260px, 1.5fr)
    110px;
  align-items: center;

  min-height: 132px;

  padding: 22px 18px;

  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #b9c7c4 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sf-money-hub .sf-money-path-card:hover {
  transform: none;

  background: #eef3ef !important;
}

.sf-money-hub .sf-money-path-num {
  position: static;

  color: #b69658 !important;

  font: 400 28px/1 Georgia,
    serif;
}

.sf-money-hub .sf-money-path-en {
  color: #6e8588 !important;

  font-size: 10px;
}

.sf-money-hub .sf-money-path-card strong {
  color: #294b50 !important;

  font-size: 19px;
}

.sf-money-hub .sf-money-path-card p {
  padding-right: 22px;

  color: #667473;
}

.sf-money-hub .sf-money-path-link {
  justify-self: end;

  color: #6d8588 !important;

  font-size: 11px;
}

.sf-money-hub .sf-money-featured {
  padding-top: 100px;
  padding-bottom: 105px;

  background: #f0ebe0;
}

.sf-money-hub .sf-money-featured-grid {
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "main side1" "main side2";
  gap: 14px;
}

.sf-money-hub .sf-money-feature-card {
  min-height: 0;

  padding: 32px 34px;

  background: #fffdf8 !important;
  border: 1px solid #ddd5c5 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sf-money-hub .sf-money-feature-main {
  grid-area: main;

  min-height: 370px;

  display: flex;

  flex-direction: column;
  justify-content: flex-end;

  background: #dfe9e6 !important;
}

.sf-money-hub .sf-money-feature-card:nth-child(2) {
  grid-area: side1;
}

.sf-money-hub .sf-money-feature-card:nth-child(3) {
  grid-area: side2;
}

.sf-money-hub .sf-money-category-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.sf-money-hub .sf-money-article-card {
  background: #fffdf8 !important;
  border: 1px solid #d8d1c4 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sf-money-hub .sf-money-ending {
  color: #294b50 !important;
  background: #dfe9e6 !important;
  border-top: 1px solid #b9c7c4 !important;
}

.sf-money-hub .sf-money-ending h2,
.sf-money-hub .sf-money-ending p {
  color: #294b50 !important;
}

/* =========================================================
   03 WORK & CAREER — asymmetric magazine spread
========================================================= */

.sf-work-hub {
  --work-ink: #263f3b;
  --work-sage: #aabbb2;
  --work-clay: #b87561;
  --work-paper: #f8f4ec;
}

.sf-work-hub .sf-work-hero {
  min-height: 640px;

  display: grid;

  grid-template-columns: 46% 54%;

  position: relative;

  color: var(--work-ink) !important;
  background: #f8f4ec !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sf-work-hub .sf-work-hero::before {
  content: "" !important;
  position: relative !important;
  inset: auto !important;

  grid-column: 1;
  grid-row: 1;

  background: url("../../images/home/latest-work.jpg") center/cover no-repeat !important;
  opacity: 1 !important;
}

.sf-work-hub .sf-work-hero::after {
  content: "WORK / 03" !important;
  position: absolute !important;
  left: calc(46% - 1px) !important;
  top: 0 !important;
  bottom: 0 !important;

  width: 4px !important;
  height: auto !important;

  display: flex;

  align-items: flex-end;

  padding: 0 0 34px 18px;

  color: #9a5e4e !important;
  background: var(--work-clay) !important;

  font: 500 10px/1 Georgia,
    serif;
  letter-spacing: 0.2em;

  writing-mode: vertical-rl;
}

.sf-work-hub .sf-work-hero-inner {
  grid-column: 2;
  grid-row: 1;
  align-self: center;

  max-width: 720px;

  margin: 0;
  padding: 75px clamp(45px, 7vw, 110px) 75px clamp(55px, 7vw, 105px) !important;
}

.sf-work-hub .sf-work-eyebrow {
  color: #a15f4d !important;
}

.sf-work-hub .sf-work-hero h1 {
  color: var(--work-ink) !important;

  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.48;
}

.sf-work-hub .sf-work-hero-lead {
  color: #5b6b66 !important;

  font-size: 14px;
  line-height: 2;
}

.sf-work-hub .sf-work-hero-note {
  color: #9a6d54 !important;
}

.sf-work-hub .sf-work-intro {
  max-width: none;

  padding: 105px max(40px, calc((100% - 1080px) / 2));

  background: #e7ece7;
}

.sf-work-hub .sf-work-section-title,
.sf-work-hub .sf-work-category-head h2 {
  color: var(--work-ink) !important;
}

.sf-work-hub .sf-work-path-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;

  margin-top: 48px;

  border-top: 1px solid #aebdb5;
  border-left: 1px solid #aebdb5;
}

.sf-work-hub .sf-work-path-card {
  min-height: 220px;

  padding: 34px 34px 30px 92px;

  background: rgba(255, 255, 255, 0.38) !important;
  border: 0 !important;
  border-right: 1px solid #aebdb5 !important;
  border-bottom: 1px solid #aebdb5 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sf-work-hub .sf-work-path-card-wide {
  grid-column: 1/-1;

  min-height: 190px;
}

.sf-work-hub .sf-work-path-card:hover {
  transform: none;

  background: #f8f4ec !important;
}

.sf-work-hub .sf-work-path-num {
  left: 28px;
  top: 34px;

  color: #b87561 !important;

  font: 400 25px/1 Georgia,
    serif;
}

.sf-work-hub .sf-work-path-en {
  color: #95604f !important;
}

.sf-work-hub .sf-work-path-card strong {
  color: #263f3b !important;

  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 21px;
}

.sf-work-hub .sf-work-path-link {
  color: #a15f4d !important;
}

.sf-work-hub .sf-work-featured {
  padding-top: 110px;
  padding-bottom: 110px;

  background: #f8f4ec;
}

.sf-work-hub .sf-work-featured-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sf-work-hub .sf-work-feature-card {
  min-height: 340px;

  padding: 38px 34px;

  background: #fff !important;
  border: 0 !important;
  border-top: 4px solid #aabbb2 !important;
  border-radius: 0 !important;
  box-shadow: 0 16px 35px rgba(38, 63, 59, 0.07) !important;
}

.sf-work-hub .sf-work-feature-main {
  transform: translateY(28px);

  border-top-color: #b87561 !important;
}

.sf-work-hub .sf-work-category-section {
  border-top: 1px solid #ded7cb !important;
}

.sf-work-hub .sf-work-category-head {
  grid-template-columns: 100px minmax(0, 1fr);
}

.sf-work-hub .sf-work-category-num {
  color: #c1aea2 !important;

  font-size: 54px;
}

.sf-work-hub .sf-work-article-card {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 3px solid #aabbb2 !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 26px rgba(38, 63, 59, 0.055) !important;
}

.sf-work-hub .sf-work-ending {
  color: #263f3b !important;
  background: #e7ece7 !important;
  border-top: 4px solid #b87561 !important;
}

.sf-work-hub .sf-work-ending h2,
.sf-work-hub .sf-work-ending p {
  color: #263f3b !important;
}

/* =========================================================
   Mobile — each identity remains distinct, but readable.
========================================================= */

@media (max-width: 767px) {
  .sf-life-hub .sf-life-hero {
    min-height: 650px;

    align-items: flex-end;

    background-position: 58% center !important;
  }

  .sf-life-hub .sf-life-hero-inner {
    width: calc(100% - 36px);

    margin: 0 18px 22px;
    padding: 30px 26px 28px !important;
  }

  .sf-life-hub .sf-life-hero h1 {
    font-size: 29px;
    line-height: 1.55;
  }

  .sf-life-hub .sf-life-hero-lead br {
    display: none;
  }

  .sf-life-hub .sf-life-intro {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .sf-life-hub .sf-life-path-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sf-life-hub .sf-life-path-card,
  .sf-life-hub .sf-life-path-card:nth-child(4),
  .sf-life-hub .sf-life-path-card:nth-child(5) {
    grid-column: auto;

    min-height: 220px;
  }

  .sf-life-hub .sf-life-featured {
    padding: 72px 20px;
  }

  .sf-life-hub .sf-life-featured-grid {
    display: block;
  }

  .sf-life-hub .sf-life-feature-card {
    min-height: 0;

    border-right: 0 !important;
    border-bottom: 1px solid #b7c2bb !important;
  }

  .sf-money-hub .sf-money-hero {
    min-height: 0;

    display: flex;

    flex-direction: column;

    padding: 0 20px 36px;
  }

  .sf-money-hub .sf-money-hero-inner {
    order: 1;

    width: 100%;

    margin: 0;
    padding: 52px 8px 34px !important;
  }

  .sf-money-hub .sf-money-hero h1 {
    font-size: 33px;
  }

  .sf-money-hub .sf-money-hero-lead br {
    display: none;
  }

  .sf-money-hub .sf-money-hero::after {
    order: 2;

    width: calc(100% - 16px) !important;
    min-height: 310px;

    margin: 0 8px !important;

    border-radius: 46% 46% 4px 4px;
  }

  .sf-money-hub .sf-money-select-wrap {
    padding: 42px 20px 58px;
  }

  .sf-money-hub .sf-money-select {
    top: 0;
  }

  .sf-money-hub .sf-money-path-card {
    grid-template-columns: 48px 1fr;
    gap: 8px 12px;

    min-height: 0;

    padding: 25px 10px;
  }

  .sf-money-hub .sf-money-path-en {
    grid-column: 2;
  }

  .sf-money-hub .sf-money-path-card strong {
    grid-column: 2;
  }

  .sf-money-hub .sf-money-path-card p {
    grid-column: 2;

    padding: 0;
  }

  .sf-money-hub .sf-money-path-link {
    grid-column: 2;
    justify-self: start;
  }

  .sf-money-hub .sf-money-featured-grid {
    display: block;
  }

  .sf-money-hub .sf-money-feature-card {
    margin-bottom: 12px;
  }

  .sf-money-hub .sf-money-feature-main {
    min-height: 300px;
  }

  .sf-work-hub .sf-work-hero {
    min-height: 0;

    display: flex;

    flex-direction: column;
  }

  .sf-work-hub .sf-work-hero::before {
    min-height: 390px;

    background-position: center 32% !important;
  }

  .sf-work-hub .sf-work-hero::after {
    left: 20px !important;
    top: 370px !important;
    bottom: auto !important;

    width: 3px !important;
    height: 90px !important;

    padding: 0;

    color: transparent !important;

    writing-mode: initial;
  }

  .sf-work-hub .sf-work-hero-inner {
    padding: 48px 28px 58px !important;
  }

  .sf-work-hub .sf-work-hero h1 {
    font-size: 32px;
  }

  .sf-work-hub .sf-work-hero-lead br {
    display: none;
  }

  .sf-work-hub .sf-work-intro {
    padding: 72px 20px 78px;
  }

  .sf-work-hub .sf-work-path-grid {
    grid-template-columns: 1fr;
  }

  .sf-work-hub .sf-work-path-card,
  .sf-work-hub .sf-work-path-card-wide {
    grid-column: auto;

    min-height: 200px;

    padding: 30px 24px 28px 76px;
  }

  .sf-work-hub .sf-work-path-num {
    left: 24px;
    top: 31px;
  }

  .sf-work-hub .sf-work-featured {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .sf-work-hub .sf-work-featured-grid {
    display: block;
  }

  .sf-work-hub .sf-work-feature-card {
    min-height: 0;

    margin-bottom: 16px;
  }

  .sf-work-hub .sf-work-feature-main {
    transform: none;
  }

  .sf-work-hub .sf-work-category-head {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .sf-work-hub .sf-work-category-num {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.sf-life-hub, .sf-money-hub, .sf-work-hub) a {
    transition: none;
  }
}

/* =========================================================
   Next consolidated category editorial patch
========================================================= */

/* =========================================================
   Start From 39 — category readability fixes v1.17.89
========================================================= */

/* =========================================================
   HERO headings: intentional line breaks on desktop.
========================================================= */

:where(.sf-life-hero-title,.sf-money-hero-title,.sf-work-hero-title) > span {
  display: block;
}

@media (min-width:1024px) {
  :where(.sf-life-hero-title,.sf-money-hero-title,.sf-work-hero-title) > span {
    white-space: nowrap;
  }

  .sf-life-hub .sf-life-hero-inner {
    width: min(720px,calc(100% - 80px));
  }

  .sf-life-hub .sf-life-hero h1 {
    font-size: clamp(32px,2.75vw,44px);
  }

  .sf-money-hub .sf-money-hero h1 {
    font-size: clamp(36px,3.5vw,54px);
  }

  .sf-work-hub .sf-work-hero h1 {
    font-size: clamp(34px,2.8vw,44px);
  }
}

/* =========================================================
   LIFE: restore contrast inside the pale FEATURED area.
========================================================= */

.sf-life-hub .sf-life-featured .sf-life-section-label,
.sf-life-hub .sf-life-featured .sf-life-feature-meta {
  color: #7d5d58 !important;

  font-weight: 600;
}

.sf-life-hub .sf-life-featured .sf-life-section-title,
.sf-life-hub .sf-life-featured .sf-life-feature-card h3 {
  color: #304a42 !important;
}

.sf-life-hub .sf-life-featured .sf-life-feature-card p,
.sf-life-hub .sf-life-featured .sf-life-section-head > p {
  color: #5e6d67 !important;
}

.sf-life-hub .sf-life-featured :where(a,a:visited,a:hover,a:focus,a:active) {
  color: #795952 !important;
}

/* =========================================================
   MONEY: remove old absolute link placement and rebalance each row.
========================================================= */

.sf-money-hub .sf-money-path-card {
  grid-template-columns: 60px 145px minmax(170px,.8fr) minmax(300px,1.5fr) 120px;
  column-gap: 18px;

  padding: 26px 20px !important;
}

.sf-money-hub .sf-money-path-link {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  display: inline-flex;

  align-items: center;
  justify-self: end;

  margin: 0;

  white-space: nowrap;
}

.sf-money-hub .sf-money-path-card p {
  line-height: 1.85;
}

/* =========================================================
   MONEY FEATURED: three balanced editorial cards instead of one empty large card.
========================================================= */

.sf-money-hub .sf-money-featured-grid {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  grid-template-areas: none !important;
  align-items: stretch;
  gap: 16px;
}

.sf-money-hub .sf-money-feature-card,
.sf-money-hub .sf-money-feature-main,
.sf-money-hub .sf-money-feature-card:nth-child(2),
.sf-money-hub .sf-money-feature-card:nth-child(3) {
  grid-area: auto !important;

  min-height: 330px !important;

  display: flex;

  flex-direction: column;
  justify-content: flex-start;
}

.sf-money-hub .sf-money-feature-card :where(a,.sf-money-text-link) {
  margin-top: auto;
  padding-top: 24px;
}

/* =========================================================
   Article cards: reserve breathing room above the read link.
========================================================= */

:where(.sf-money-article-card,.sf-work-article-card) {
  display: flex;

  flex-direction: column;
}

:where(.sf-money-article-card,.sf-work-article-card) > p {
  margin-bottom: 0 !important;
}

:where(.sf-money-article-card,.sf-work-article-card) > a {
  display: inline-flex;

  align-items: center;
  align-self: flex-start;

  margin-top: auto;
  padding-top: 24px;

  line-height: 1.7;
}

/* =========================================================
   WORK: links become part of the card flow, never overlap copy.
========================================================= */

.sf-work-hub .sf-work-path-card {
  display: flex;

  flex-direction: column;

  padding-bottom: 30px !important;
}

.sf-work-hub .sf-work-path-card p {
  margin-bottom: 0 !important;
}

.sf-work-hub .sf-work-path-link {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  display: inline-flex;

  align-items: center;
  align-self: flex-start;

  margin-top: auto;
  padding-top: 24px;

  line-height: 1.6;
}

/* =========================================================
   Wide CTA buttons: never switch to browser blue after tap or visit.
========================================================= */

.sf-money-hub .sf-money-wide-link > a,
.sf-money-hub .sf-money-wide-link > a:link,
.sf-money-hub .sf-money-wide-link > a:visited,
.sf-work-hub .sf-work-wide-link > a,
.sf-work-hub .sf-work-wide-link > a:link,
.sf-work-hub .sf-work-wide-link > a:visited {
  color: #294b46 !important;
  background: #fffaf1 !important;
  border-color: #c1a264 !important;

  text-decoration: none !important;
}

.sf-money-hub .sf-money-wide-link > a:hover,
.sf-money-hub .sf-money-wide-link > a:focus,
.sf-money-hub .sf-money-wide-link > a:active,
.sf-work-hub .sf-work-wide-link > a:hover,
.sf-work-hub .sf-work-wide-link > a:focus,
.sf-work-hub .sf-work-wide-link > a:active {
  color: #fffaf1 !important;
  background: #9f7f4a !important;
  border-color: #9f7f4a !important;
}

/* =========================================================
   Keep inline article links in the page palette after they are visited.
========================================================= */

.sf-money-hub :where(.sf-money-path-link,.sf-money-article-card>a,.sf-money-text-link):visited {
  color: #4f7174 !important;
}

.sf-work-hub :where(.sf-work-path-link,.sf-work-article-card>a,.sf-work-text-link):visited {
  color: #9a5f4d !important;
}

@media (max-width:767px) {
  :where(.sf-life-hero-title,.sf-money-hero-title,.sf-work-hero-title) > span {
    white-space: normal;
  }

  .sf-life-hub .sf-life-hero h1 {
    font-size: 27px;
  }

  .sf-money-hub .sf-money-hero h1 {
    font-size: 31px;
  }

  .sf-work-hub .sf-work-hero h1 {
    font-size: 30px;
  }

  .sf-money-hub .sf-money-path-card {
    display: grid;

    grid-template-columns: 46px minmax(0,1fr) !important;
    gap: 8px 12px;

    padding: 27px 10px 28px !important;
  }

  .sf-money-hub .sf-money-path-num {
    grid-column: 1;
    grid-row: 1/5;
    align-self: start;
  }

  .sf-money-hub .sf-money-path-en,
  .sf-money-hub .sf-money-path-card strong,
  .sf-money-hub .sf-money-path-card p,
  .sf-money-hub .sf-money-path-link {
    grid-column: 2;
  }

  .sf-money-hub .sf-money-path-link {
    justify-self: start;

    margin-top: 12px;
    padding-top: 0;
  }

  .sf-money-hub .sf-money-featured-grid {
    display: block !important;
  }

  .sf-money-hub .sf-money-feature-card,
  .sf-money-hub .sf-money-feature-main {
    min-height: 260px !important;

    margin-bottom: 14px;
  }

  .sf-work-hub .sf-work-path-card,
  .sf-work-hub .sf-work-path-card-wide {
    min-height: 230px;

    padding: 30px 24px 28px 76px !important;
  }

  .sf-work-hub .sf-work-path-link {
    margin-top: 20px;
    padding-top: 0;
  }

  :where(.sf-money-article-card,.sf-work-article-card) > a {
    padding-top: 22px;
  }

  .sf-money-hub .sf-money-wide-link > a,
  .sf-work-hub .sf-work-wide-link > a {
    padding: 15px 16px !important;

    line-height: 1.6;
  }
}

/* =========================================================
   Next consolidated category editorial patch
========================================================= */

/* =========================================================
   START FROM 39
   CLICKABLE CATEGORY CARDS
   人生再設計・お金・仕事カテゴリー共通
========================================================= */

/* =========================================================
   01. WORK — LATEST ARTICLES HEADING
   NEWとLATEST ARTICLESの重なりを防止
========================================================= */

.sf-work-hub .sf-work-latest-head {
  display: grid !important;

  grid-template-columns: 88px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 0 28px !important;
}

.sf-work-hub .sf-work-category-num-new {
  width: auto !important;

  margin: 0 !important;
  padding-top: 4px;

  color: #ad8c7c !important;

  font-size: 32px !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap;
}

.sf-work-hub
  .sf-work-latest-head
  .sf-work-section-label {
  margin: 0 0 10px !important;
}

/* =========================================================
   02. CLICKABLE CARD BASE
   カード内のリンク範囲をカード全体へ拡張
========================================================= */

:where(
  .sf-life-feature-card,
  .sf-life-article-card,
  .sf-money-feature-card,
  .sf-money-article-card,
  .sf-work-feature-card,
  .sf-work-article-card
) {
  position: relative !important;

  cursor: pointer;
}

/* =========================================================
   * カード内の見えるリンクは、そのまま残します。
 * リンクの疑似要素だけをカード全体へ広げることで、
 * カード内のどこを押しても記事へ移動できるようにします。
========================================================= */

:where(
  .sf-life-feature-card,
  .sf-life-article-card,
  .sf-money-feature-card,
  .sf-money-article-card,
  .sf-work-feature-card,
  .sf-work-article-card
) > a::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
}

/* =========================================================
   03. KEYBOARD FOCUS
========================================================= */

:where(
  .sf-life-feature-card,
  .sf-life-article-card,
  .sf-money-feature-card,
  .sf-money-article-card,
  .sf-work-feature-card,
  .sf-work-article-card
):focus-within {
  outline: 2px solid #ae915a;
  outline-offset: 3px;
}

/* =========================================================
   04. POINTER HOVER
   マウス操作ができる端末だけに適用
========================================================= */

@media (hover: hover) {
  /* =========================================================
     人生再設計
  ========================================================= */

  :where(
    .sf-life-feature-card,
    .sf-life-article-card
  ):hover {
    border-color: #a98a83 !important;
    box-shadow: 0 16px 34px rgba(48, 74, 66, 0.1) !important;
  }

  /* =========================================================
     お金
  ========================================================= */

  :where(
    .sf-money-feature-card,
    .sf-money-article-card
  ):hover {
    border-color: #829da0 !important;
    box-shadow: 0 16px 34px rgba(41, 75, 80, 0.1) !important;
  }

  /* =========================================================
     仕事
  ========================================================= */

  :where(
    .sf-work-feature-card,
    .sf-work-article-card
  ):hover {
    border-color: #9e7465 !important;
    box-shadow: 0 16px 34px rgba(38, 63, 59, 0.1) !important;
  }
}

/* =========================================================
   05. MOBILE
========================================================= */

@media (max-width: 767px) {
  .sf-work-hub .sf-work-latest-head {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .sf-work-hub .sf-work-category-num-new {
    margin: 0 0 12px !important;
    padding: 0;

    font-size: 27px !important;
  }

  .sf-work-hub
    .sf-work-latest-head
    .sf-work-section-label {
    margin-bottom: 9px !important;
  }

  /* =========================================================
     タップ時の反応
  ========================================================= */

  :where(
    .sf-life-feature-card,
    .sf-life-article-card,
    .sf-money-feature-card,
    .sf-money-article-card,
    .sf-work-feature-card,
    .sf-work-article-card
  ):active {
    box-shadow: 0 9px 20px rgba(38, 63, 59, 0.09) !important;

    transform: translateY(-2px);
  }
}

/* =========================================================
   Next consolidated category editorial patch
========================================================= */

/* =========================================================
   Work & Career — NEW / LATEST ARTICLES layout v1.17.91
========================================================= */

/* =========================================================
   Desktop: match the Money category's large NEW composition.
========================================================= */

@media (min-width:768px) {
  .sf-work-hub .sf-work-latest-head {
    grid-template-columns: 145px minmax(0,1fr) !important;
    gap: 0 24px !important;
    align-items: start !important;
  }

  .sf-work-hub .sf-work-category-num-new {
    margin: 0 !important;
    padding: 0 !important;

    color: #a98878 !important;

    font: 400 64px/1 Georgia,"Times New Roman",serif !important;
    letter-spacing: .01em !important;
  }

  .sf-work-hub .sf-work-latest-head .sf-work-section-label {
    margin: 2px 0 12px !important;
  }
}

/* =========================================================
   Mobile: NEW, label and heading are deliberately stacked.
========================================================= */

@media (max-width:767px) {
  .sf-work-hub .sf-work-latest-head {
    display: block !important;
  }

  .sf-work-hub .sf-work-category-num-new {
    display: block;

    margin: 0 0 13px !important;
    padding: 0 !important;

    color: #a98878 !important;

    font: 400 42px/1 Georgia,"Times New Roman",serif !important;
    letter-spacing: .01em !important;
  }

  .sf-work-hub .sf-work-latest-head .sf-work-section-label {
    display: block;

    margin: 0 0 9px !important;
  }

  .sf-work-hub .sf-work-latest-head h2 {
    margin-top: 0 !important;
  }
}

/* =========================================================
   Next consolidated category editorial patch
========================================================= */

/* =========================================================
   Life / Money / Work — unified latest headings v1.17.92
========================================================= */

@media (min-width:768px) {
  :where(.sf-life-hub,.sf-money-hub,.sf-work-hub) .sf-category-latest-head {
    display: grid !important;

    grid-template-columns: 145px minmax(0,1fr) !important;
    align-items: start !important;
    gap: 0 24px !important;
  }

  :where(.sf-life-hub,.sf-money-hub,.sf-work-hub) .sf-category-latest-new {
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Georgia,"Times New Roman",serif !important;
    font-size: 64px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    white-space: nowrap;
  }

  :where(.sf-life-hub,.sf-money-hub,.sf-work-hub) .sf-category-latest-label {
    margin: 2px 0 12px !important;

    font-family: Georgia,"Times New Roman",serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: .2em !important;
  }
}

@media (max-width:767px) {
  :where(.sf-life-hub,.sf-money-hub,.sf-work-hub) .sf-category-latest-head {
    display: block !important;
  }

  :where(.sf-life-hub,.sf-money-hub,.sf-work-hub) .sf-category-latest-new {
    display: block !important;

    width: auto !important;

    margin: 0 0 13px !important;
    padding: 0 !important;

    font-family: Georgia,"Times New Roman",serif !important;
    font-size: 42px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    white-space: nowrap;
  }

  :where(.sf-life-hub,.sf-money-hub,.sf-work-hub) .sf-category-latest-label {
    display: block !important;

    margin: 0 0 9px !important;

    font-family: Georgia,"Times New Roman",serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: .18em !important;
  }

  :where(.sf-life-hub,.sf-money-hub,.sf-work-hub) .sf-category-latest-head h2 {
    margin-top: 0 !important;
  }
}
