body.ff-editorial-article {
  --ff-editorial-ink: #203748;
  --ff-editorial-navy: #123b59;
  --ff-editorial-line: #d9e6ed;
}

body.ff-editorial-article #main .entry-full > .entry-header:not(.ff-ah-cover) {
  margin-block: 0 clamp(15px, 2vw, 24px);
}

body.ff-editorial-article #main .entry-full > .entry-header:not(.ff-ah-cover) .entry-title {
  color: var(--ff-editorial-navy);
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(27px, 3.2vw, 45px);
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: .005em;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: anywhere;
}

body.ff-editorial-article .entry-title .ff-editorial-title-term {
  white-space: nowrap;
}

body.ff-editorial-article .entry-body .ff-editorial-deck {
  margin: 0 0 clamp(21px, 2.7vw, 32px);
  color: #355367;
  font-family: "Hiragino Sans", "Meiryo", "Noto Sans JP", sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.85;
}

body.ff-editorial-article .entry-body .ff-editorial-deck strong {
  color: var(--ff-editorial-navy);
  font-weight: 750;
}

body.ff-editorial-article .entry-body > .ff-article-topic-photo {
  margin-inline: 0;
  margin-top: 0;
  margin-bottom: clamp(14px, 2vw, 24px);
}

body.ff-editorial-article .entry-body > .ff-article-topic-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 2.75 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

body.ff-editorial-article .entry-body > .ff-article-topic-photo figcaption {
  margin-top: .5em;
  color: #465f70;
  font-size: .88rem;
}

body.ff-editorial-article .entry-body > .ff-editorial-jump {
  margin: 0 0 clamp(25px, 4vw, 42px);
  padding-block: 4px 12px;
  border-bottom: 1px solid var(--ff-editorial-line);
}

body.ff-editorial-article #main .entry-body > .ff-editorial-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px clamp(17px, 3vw, 36px);
  padding: 0;
  margin: 0;
  list-style: none;
}

body.ff-editorial-article .entry-body > .ff-editorial-jump li {
  margin: 0;
  padding: 0;
}

body.ff-editorial-article .entry-body > .ff-editorial-jump a {
  display: inline-block;
  padding-block: 8px;
  color: #17628d;
  font-size: .93rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .23em;
}

body.ff-editorial-article .entry-body :is(.ff-editorial-chapter-title, .ff-editorial-section-title, .ff-editorial-runin[id]) {
  scroll-margin-top: 108px;
}

body.ff-editorial-article .entry-body .ff-editorial-reading {
  margin-block: 0 clamp(28px, 4vw, 52px);
}

body.ff-editorial-article .entry-body .ff-editorial-chapter {
  margin-block: clamp(36px, 5.5vw, 76px);
  padding-top: clamp(19px, 3vw, 32px);
  border-top: 1px solid var(--ff-editorial-line);
}

body.ff-editorial-article #main .entry-body :is(.ff-editorial-chapter-title, .ff-editorial-section-title) {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  padding: 0 !important;
  border: 0 !important;
  color: var(--ff-editorial-navy);
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(23px, 2.35vw, 32px);
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: .005em;
  text-wrap: pretty;
}

body.ff-editorial-article #main .entry-body .ff-editorial-section-title {
  margin-top: clamp(21px, 3vw, 36px);
}

body.ff-editorial-article #main .entry-body :is(.ff-editorial-chapter-title, .ff-editorial-section-title)::before,
body.ff-editorial-article #main .entry-body :is(.ff-editorial-chapter-title, .ff-editorial-section-title)::after {
  content: none !important;
}

body.ff-editorial-article .entry-body :is(.ff-editorial-chapter, .ff-aio-content) > :is(p, ul, ol),
body.ff-editorial-article .entry-body > :is(p:not(.ff-editorial-deck), ul, ol) {
  margin-block: 0 1.2em;
  color: var(--ff-editorial-ink);
  font-family: "Hiragino Sans", "Meiryo", "Noto Sans JP", sans-serif;
  font-size: clamp(16.5px, 1.33vw, 18px);
  font-weight: 400;
  line-height: 1.93;
  text-spacing-trim: trim-start;
  overflow-wrap: anywhere;
}

body.ff-editorial-article .entry-body .ff-editorial-runin {
  color: var(--ff-editorial-navy);
  font-weight: 750;
}

body.ff-editorial-article .entry-body p.ff-editorial-label {
  margin: 1.3em 0 .5em;
  font-size: 1em;
  line-height: 1.6;
}

body.ff-editorial-article .entry-body .ff-editorial-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 100px;
}

body.ff-editorial-article .entry-body .ff-editorial-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: clamp(24px, 4vw, 46px) 0;
  overflow: hidden;
  border: 1px solid var(--ff-editorial-line);
  border-radius: 13px;
  background: #f0f5f8;
}

body.ff-editorial-article .entry-body .ff-editorial-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  min-width: 0;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

body.ff-editorial-article .entry-body .ff-editorial-photo figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: clamp(19px, 3vw, 44px);
  color: #355367;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.85;
  text-align: left;
}

body.ff-editorial-article .entry-body .ff-editorial-photo figcaption strong {
  color: var(--ff-editorial-navy);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
}

body.ff-editorial-article #main .entry-body :is(.ff-article-diagram, .ff-ah-illustration) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body.ff-editorial-article #main .entry-body :is(.ff-article-diagram, .ff-ah-illustration) img {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: contain;
  border: 1px solid var(--ff-editorial-line);
  background: #f3f7fa;
}

body.ff-editorial-article .entry-body .ff-editorial-chapter .ff-article-inquiry {
  color: #17628d;
  text-decoration: underline;
  text-underline-offset: .19em;
}

@media (max-width: 767px) {
  body.ff-editorial-article #main .entry-full > .entry-header:not(.ff-ah-cover) .entry-title {
    text-wrap: wrap;
  }

  body.ff-editorial-article .entry-body > .ff-article-topic-photo img {
    aspect-ratio: 16 / 9;
  }

  body.ff-editorial-article .entry-body .ff-editorial-photo {
    grid-template-columns: minmax(0, 1fr);
  }

  body.ff-editorial-article .entry-body .ff-editorial-photo img {
    height: auto;
  }
}
