/* Directory/company pages, 2026-10-22. Deliberately scoped away from articles and approved service LPs. */
:root body.pages-editorial { --editorial-gap: clamp(48px, 6vw, 88px); }
:root body.pages-editorial main p { text-wrap: pretty; }
:root body.pages-editorial .pages-phrase { display: inline-block; }
:root body.pages-editorial .pages-heading-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
:root body.pages-editorial .pages-heading-row > * { min-width: 0; margin: 0; }
:root body.pages-editorial .pages-heading-row h1,
:root body.pages-editorial .pages-heading-row h2 { font-size: clamp(28px, 2.7vw, 39px); line-height: 1.7; letter-spacing: .015em; }
:root body.pages-editorial .pages-heading-row p { font-size: 18px; line-height: 2; }
:root body.pages-editorial .pages-heading-row p br { display: none; }
:root body.pages-editorial .section-kicker { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.14; letter-spacing: -.025em; }
:root body.pages-editorial .pages-step-number,
:root body.pages-editorial .s-timeline__number,
:root body.pages-editorial .consult-flow__number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-width: 32px; border: 0; border-radius: 50%; background: #fff0e9; color: #a9330a; font: 600 18px/1 var(--font-en); }

/* Services: preserve the overview diagram and the full four-service descriptions. */
:root body.pages-editorial .s-hero { padding-top: 52px; }
:root body.pages-editorial .s-hero__signature { font: 400 clamp(48px, 7vw, 100px)/1.12 var(--font-en); letter-spacing: -.035em; margin: 0 0 30px; }
:root body.pages-editorial .s-hero__grid { margin-top: 0; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
:root body.pages-editorial .s-hero h1 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.65; }
:root body.pages-editorial .s-hero__bottom { margin-top: 28px; }
:root body.pages-editorial .s-hero__lead { font-size: 18px; line-height: 2; }
:root body.pages-editorial .s-approach { padding-top: var(--editorial-gap); padding-bottom: var(--editorial-gap); }
:root body.pages-editorial .s-approach__grid { gap: 48px; }
:root body.pages-editorial .s-approach__copy { align-self: center; }
:root body.pages-editorial .s-heading > .section-kicker { margin-bottom: 28px; }
:root body.pages-editorial .s-service > .section-wrap { padding: clamp(28px, 3.7vw, 52px); }
:root body.pages-editorial .s-service-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
:root body.pages-editorial .s-service-eyebrow { margin-top: 0; }
:root body.pages-editorial .s-service-message { font-weight: 700; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.8; }
:root body.pages-editorial .s-service-art { margin-top: 28px; }
:root body.pages-editorial .s-service-table { margin-top: 24px; }
:root body.pages-editorial .s-timeline { margin-top: 36px; }
:root body.pages-editorial .s-timeline__number { margin-bottom: 14px; }
:root body.pages-editorial .s-start-step h3 { margin-top: 18px; }
:root body.pages-editorial .s-maps { align-items: center; }
:root body.pages-editorial .s-maps h3 { margin-top: 0; }
:root body.pages-editorial .s-promise { margin-bottom: 40px; }
:root body.pages-editorial .cooperation-list > li { padding-left: 44px; }
:root body.pages-editorial .cooperation-list > li::before { content: counter(cooperation); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; top: 22px; left: 0; border-radius: 50%; background: #fff0e9; color: #a9330a; font: 600 16px/1 var(--font-en); }

/* Listing headers share a full-width English title and a balanced Japanese/copy row. */
:root body.pages-editorial .c-index-header,
:root body.pages-editorial .n-index-header { display: block; padding-top: 52px; padding-bottom: 52px; }
:root body.pages-editorial .c-display,
:root body.pages-editorial .n-display { margin: 0 0 30px; font: 400 clamp(54px, 7.2vw, 104px)/1.12 var(--font-en); letter-spacing: -.035em; }
:root body.pages-editorial .c-index-header h1,
:root body.pages-editorial .n-index-header h1 { margin: 0; }
:root body.pages-editorial .c-index-header .pages-heading-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
:root body.pages-editorial .c-index-header__lead p { margin: 0; }
:root body.pages-editorial .c-approach { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
:root body.pages-editorial .c-card__bottom { font-size: 16px; }
:root body.pages-editorial .c-meo-link h2 { margin-top: 0; }
:root body.pages-editorial .n-archive__top { justify-content: flex-end; }
:root body.pages-editorial .n-item__link { grid-template-columns: 130px minmax(0, 1fr) 48px; gap: 32px; }
:root body.pages-editorial .n-item__body h2 { margin-top: 12px; }
:root body.pages-editorial .n-journal-link h2 { margin-top: 0; }
:root body.pages-editorial .n-contact .n-eyebrow { font: 400 clamp(42px, 5vw, 66px)/1.15 var(--font-en); letter-spacing: -.025em; }
:root body.pages-editorial .n-contact .n-eyebrow::before { display: none; }
:root body.pages-editorial .n-contact__inner { gap: 48px; }

/* The index uses the currently published articles; their bodies are not changed. */
:root body.pages-editorial .j-index-hero { display: block; padding-top: 48px; padding-bottom: 48px; }
:root body.pages-editorial .j-index-title { font: 400 clamp(44px, 6.4vw, 92px)/1.12 var(--font-en); letter-spacing: -.035em; margin: 0 0 32px; }
:root body.pages-editorial .j-index-hero__main h1 { font-size: clamp(28px, 2.7vw, 39px); line-height: 1.7; }
:root body.pages-editorial .pretake-h1-chunk { display: inline-block; }
:root body.pages-editorial .j-index-hero__main { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
:root body.pages-editorial .j-index-hero__note { margin-top: 34px; }
:root body.pages-editorial .j-editorial-note { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.15fr) minmax(0, .95fr); gap: 28px; align-items: center; padding: 28px; border: 0; }
:root body.pages-editorial .j-editorial-note > * { margin: 0; grid-column: auto; grid-row: auto; }
:root body.pages-editorial .j-editorial-note__title { font-size: 22px; line-height: 1.8; }
:root body.pages-editorial .j-editorial-note p:not([class]) { font-size: 17px; line-height: 2; }
:root body.pages-editorial .j-editorial-note p:not([class]) br { display: none; }
:root body.pages-editorial .j-note-cycle span { font-size: 16px; padding: 14px 0; }
:root body.pages-editorial .j-section-heading > div > h2 { margin-top: 0; }
:root body.pages-editorial #journal-feature-heading { display: block; font: 700 28px/1.7 var(--font-jp); letter-spacing: .015em; }
:root body.pages-editorial #journal-feature-heading::before { display: none; }
:root body.pages-editorial .j-feature .journal-feature__title { margin-top: 18px; }
:root body.pages-editorial .journal-feature__bottom { font-size: 16px; }
:root body.pages-editorial .j-cta .j-eyebrow { display: block; font: 400 clamp(42px, 5vw, 66px)/1.15 var(--font-en); letter-spacing: -.025em; color: white; }
:root body.pages-editorial .j-cta .j-eyebrow::before { display: none; }

/* About: the name/belief is the starting point; the representative's logo is quiet and static. */
:root body.pages-editorial .a-belief { padding-top: 56px; }
:root body.pages-editorial .pages-about-title { font-size: clamp(30px, 3vw, 44px); line-height: 1.6; margin: 0; font-weight: 700; }
:root body.pages-editorial .a-belief__name { font: 400 clamp(52px, 7.4vw, 100px)/1.2 var(--font-en); margin: 26px 0 34px; letter-spacing: -.03em; }
:root body.pages-editorial .a-belief__number { font-size: 17px; letter-spacing: .04em; }
:root body.pages-editorial .a-message__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
:root body.pages-editorial .pages-company-logo { max-width: 330px; margin: 36px 0 0; }
:root body.pages-editorial .pages-company-logo img { display: block; width: 100%; height: auto; }
:root body.pages-editorial .a-profile .a-section-heading { display: block; }
:root body.pages-editorial .a-profile .a-section-heading h2 { margin-top: 26px; }
:root body.pages-editorial .a-profile__table a[href="index.html"] { overflow-wrap: anywhere; }
:root body.pages-editorial .a-access__info h3 { margin-top: 0; }
:root body.pages-editorial .clients__label { font-family: var(--font-jp); font-size: 18px; letter-spacing: .02em; }

/* Contact: one clear heading, conditions, three useful steps, then one primary action. */
:root body.pages-editorial .a-contact__panel,
:root body.pages-editorial .s-contact-panel { text-align: left; padding: clamp(28px, 4vw, 56px); }
:root body.pages-editorial .a-contact h2 { max-width: none; margin: 28px 0 18px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.65; }
:root body.pages-editorial .a-contact__lead { margin: 0; font-size: 18px; }
:root body.pages-editorial .s-contact .s-heading { max-width: none; margin: 0; }
:root body.pages-editorial .s-contact .pages-heading-row { gap: 28px 48px; }
:root body.pages-editorial .consult-flow { max-width: none; margin: 32px 0 0; text-align: left; }
:root body.pages-editorial .consult-flow__header { display: flex; justify-content: flex-start; margin-bottom: 22px; }
:root body.pages-editorial .consult-flow__conditions { justify-content: flex-start; margin: 0; }
:root body.pages-editorial .consult-flow__conditions li { font-size: 16px; line-height: 1.5; }
:root body.pages-editorial .consult-flow__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
:root body.pages-editorial .consult-flow__step { display: block; border: 1px solid #cad2d6; border-radius: 14px; background: #f7f9f9; padding: 24px; margin: 0; min-width: 0; }
:root body.pages-editorial .consult-flow__step::after { display: none; }
:root body.pages-editorial .consult-flow__heading { font-size: 20px; line-height: 1.7; margin: 16px 0 10px; }
:root body.pages-editorial .consult-flow__text { font-size: 17px; line-height: 1.9; }
:root body.pages-editorial .pages-contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 30px; }
:root body.pages-editorial .pages-contact-bottom .consult-flow__promise { margin: 0; padding: 0; border: 0; max-width: 580px; text-align: left; font-size: 17px; line-height: 1.9; }
:root body.pages-editorial .pages-contact-bottom .a-contact__button,
:root body.pages-editorial .pages-contact-bottom .s-contact__control { flex-shrink: 0; margin: 0; }
:root body.pages-editorial .pill-link { min-height: 60px; }

@media (max-width: 1000px) {
  :root body.pages-editorial .pages-heading-row { gap: 28px; }
  :root body.pages-editorial .s-service-grid { gap: 28px; }
  :root body.pages-editorial .j-editorial-note { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; }
  :root body.pages-editorial .j-note-cycle { grid-column: 1 / -1; }
  :root body.pages-editorial .consult-flow__steps { grid-template-columns: 1fr; }
  :root body.pages-editorial .consult-flow__step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 22px; }
  :root body.pages-editorial .consult-flow__heading { margin-top: 0; }
  :root body.pages-editorial .pages-contact-bottom { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  :root body.pages-editorial .pages-heading-row,
  :root body.pages-editorial .c-index-header .pages-heading-row,
  :root body.pages-editorial .j-index-hero__main { grid-template-columns: 1fr; gap: 22px; }
  :root body.pages-editorial .pages-heading-row h1,
  :root body.pages-editorial .pages-heading-row h2,
  :root body.pages-editorial .j-index-hero__main h1 { font-size: clamp(25px, 5.5vw, 32px); line-height: 1.7; }
  :root body.pages-editorial .pages-heading-row p { font-size: 18px; }
  :root body.pages-editorial .section-kicker { font-size: clamp(33px, 7vw, 48px); }
  :root body.pages-editorial .c-index-header,
  :root body.pages-editorial .n-index-header { padding-block: 34px; }
  :root body.pages-editorial .c-display,
  :root body.pages-editorial .n-display { font-size: clamp(48px, 10vw, 72px); margin-bottom: 24px; }
  :root body.pages-editorial .s-hero { padding-top: 34px; }
  :root body.pages-editorial .s-hero__signature { font-size: clamp(40px, 8.6vw, 64px); margin-bottom: 26px; }
  :root body.pages-editorial .s-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  :root body.pages-editorial .s-hero h1 { font-size: clamp(27px, 6vw, 38px); }
  :root body.pages-editorial .s-service-map { width: 100%; max-width: 440px; margin: auto; }
  :root body.pages-editorial .s-hero__lead br { display: none; }
  :root body.pages-editorial .s-approach__grid,
  :root body.pages-editorial .s-service-grid,
  :root body.pages-editorial .s-maps,
  :root body.pages-editorial .s-promise { grid-template-columns: 1fr; gap: 26px; }
  :root body.pages-editorial .s-service-art { max-width: 480px; }
  :root body.pages-editorial .s-start-grid { grid-template-columns: 1fr; gap: 26px; }
  :root body.pages-editorial .s-timeline__steps { grid-template-columns: 1fr; gap: 26px; }
  :root body.pages-editorial .s-timeline { padding: 28px; }
  :root body.pages-editorial .c-approach { grid-template-columns: 1fr; gap: 24px; }
  :root body.pages-editorial .n-item__link { grid-template-columns: minmax(0, 1fr) 40px; gap: 18px; }
  :root body.pages-editorial .n-item__meta { grid-column: 1 / -1; }
  :root body.pages-editorial .n-item__body { grid-column: 1; }
  :root body.pages-editorial .n-contact__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
  :root body.pages-editorial .j-index-title { font-size: clamp(35px, 8.8vw, 65px); }
  :root body.pages-editorial .j-index-hero { padding-block: 34px; }
  :root body.pages-editorial .j-editorial-note { grid-template-columns: 1fr; gap: 18px; }
  :root body.pages-editorial .j-editorial-note__title br { display: none; }
  :root body.pages-editorial .j-note-cycle { grid-column: auto; }
  :root body.pages-editorial .a-belief { padding-top: 36px; }
  :root body.pages-editorial .a-belief__name { font-size: clamp(43px, 9.2vw, 70px); margin-block: 22px 30px; }
  :root body.pages-editorial .a-message__grid { grid-template-columns: 1fr; gap: 32px; }
  :root body.pages-editorial .pages-company-logo { width: 180px; margin-top: 20px; }
  :root body.pages-editorial .a-contact__panel,
  :root body.pages-editorial .s-contact-panel { padding: 28px 24px; }
  :root body.pages-editorial .a-contact h2 { font-size: clamp(25px, 6vw, 32px); }
  :root body.pages-editorial .pages-contact-bottom { display: block; }
  :root body.pages-editorial .pages-contact-bottom .a-contact__button,
  :root body.pages-editorial .pages-contact-bottom .s-contact__control { margin-top: 24px; }
  :root body.pages-editorial .pages-contact-bottom .pill-link { width: 100%; max-width: 390px; }
}
@media (max-width: 420px) {
  :root body.pages-editorial .pages-heading-row h1 br,
  :root body.pages-editorial .pages-heading-row h2 br { display: none; }
  :root body.pages-editorial .section-kicker { font-size: 31px; }
  :root body.pages-editorial .s-service > .section-wrap { padding: 26px 20px; }
  :root body.pages-editorial .s-service-message br { display: none; }
  :root body.pages-editorial .s-timeline { padding: 24px 20px; }
  :root body.pages-editorial .consult-flow__step { padding: 20px 16px; gap: 12px; }
  :root body.pages-editorial .consult-flow__heading { font-size: 18px; }
  :root body.pages-editorial .consult-flow__text { font-size: 16px; }
  :root body.pages-editorial .consult-flow__conditions { flex-wrap: wrap; gap: 8px; }
  :root body.pages-editorial .consult-flow__conditions li { font-size: 14px; }
}

:root body.pages-editorial .consult-flow__number::after { display: none; }
