:where(h1, h2, h3, p, a, span) {
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

:where(p) {
  text-wrap: pretty;
}

.home-hero .eyebrow {
  font-size: 18px;
  line-height: 1.7;
}

@supports (word-break: auto-phrase) {
  :where(h1, h2, h3, p, a, span) {
    word-break: auto-phrase;
  }
}

.pickup-category-card .article-visual i {
  font-style: normal;
}

body:has(#emdash-toolbar[data-edit-mode="true"]) .display-settings-panel {
  width: min(560px, calc(100vw - 36px));
  max-height: calc(100vh - 112px);
  overflow-y: auto;
}

.display-settings-content {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.display-settings-content > .all-fields-editor,
.display-settings-content > .link-fields-editor {
  grid-column: 1 / -1;
  border: 1px solid #d8d4cb;
  border-radius: 8px;
  overflow: hidden;
}

.all-fields-editor > summary,
.link-fields-editor > summary {
  cursor: pointer;
  background: #f4f0e9;
  padding: 10px 12px;
  font-weight: 700;
}

.all-fields-groups,
.link-fields-grid {
  display: grid;
  gap: 16px;
  padding: 12px;
}

.all-fields-groups h3 {
  margin: 0 0 8px;
  font: 700 13px/1.5 var(--serif);
}

.all-fields-groups dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.all-fields-groups dl > div {
  display: grid;
  grid-template-columns: minmax(115px, 0.7fr) minmax(0, 1.5fr);
  gap: 9px;
  align-items: start;
}

.all-fields-groups dt {
  color: var(--muted);
  overflow-wrap: anywhere;
  font: 500 9px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.all-fields-groups dd {
  min-height: 27px;
  max-height: 150px;
  margin: 0;
  padding: 5px 7px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid #ded9cf;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
}

.all-fields-groups dd.is-empty:not([data-emdash-editing])::before {
  content: "空欄—クリックして入力";
  color: #999;
}

.link-fields-grid label,
.article-inline-settings label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.link-fields-grid input,
.article-inline-settings input,
.article-inline-settings select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfc9bd;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 7px 9px;
  font: 500 12px/1.4 var(--sans);
}

.article-inline-settings {
  display: none;
  position: fixed;
  bottom: 82px;
  left: 18px;
  z-index: 2147483000;
  width: min(360px, calc(100vw - 36px));
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  border: 1px solid #d8d4cb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 55px rgba(15, 20, 17, 0.2);
  font: 500 12px/1.45 var(--sans);
}

body:has(#emdash-toolbar[data-edit-mode="true"]) .article-inline-settings {
  display: block;
}

.article-inline-settings summary {
  cursor: pointer;
  padding: 13px 16px;
  background: #26342d;
  color: #fff;
  font-weight: 700;
}

.article-inline-settings details > div {
  display: grid;
  gap: 11px;
  padding: 14px;
}

.article-inline-settings .checkbox-setting {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.article-inline-settings .checkbox-setting input {
  width: 18px;
  min-height: 18px;
}

.article-inline-settings button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font: 700 12px var(--sans);
  cursor: pointer;
}

.article-inline-settings p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 700px) {
  body:has(#emdash-toolbar[data-edit-mode="true"]) .display-settings-panel,
  .article-inline-settings {
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 58vh;
  }

  .article-inline-settings {
    bottom: 76px;
  }

  .all-fields-groups dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

[data-category="hotel-ryokan-ma"] {
  --category-color: #967e60;
  --category-tint: #f2ece3;
}

[data-category="tour-ma"] {
  --category-color: #29352f;
  --category-tint: #e8ece9;
}

[data-category="minpaku-ma"] {
  --category-color: #5d7465;
  --category-tint: #e9efeb;
}

[data-category="restaurant-ma"] {
  --category-color: #992f33;
  --category-tint: #f6e8e8;
}

[data-category="ma-basic"] {
  --category-color: #4d6170;
  --category-tint: #e9eef1;
}

[data-category="case-study"] {
  --category-color: #a06e37;
  --category-tint: #f6ede2;
}

[data-category="column"] {
  --category-color: #765567;
  --category-tint: #f1e9ee;
}

.accent-steel {
  background: #4d6170;
}

.accent-ochre {
  background: #a06e37;
}

.accent-plum {
  background: #765567;
}

[data-category] .article-category {
  color: var(--category-color, var(--red));
}

.article-row[data-category] .row-visual {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--category-color);
}

.article-row[data-category] .row-visual::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -70px;
  z-index: -1;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform 0.45s ease;
}

.article-row[data-category] .row-visual strong {
  position: relative;
  z-index: 1;
  color: #fff;
}

.article-row[data-category]:hover .row-visual::after {
  transform: translate(-7px, -7px) scale(1.06);
}

.popular-sidebar > a[data-category] > span,
.popular-sidebar > a[data-category] small {
  color: var(--category-color);
}

.category-nav a[data-category] {
  box-shadow: inset 0 -3px 0 var(--category-color);
}

.category-nav a[data-category]:hover {
  color: var(--category-color);
  background: var(--category-tint);
}

.category-ribbon a[data-category] {
  border-color: color-mix(in srgb, var(--category-color) 76%, white);
  background: var(--category-color);
}

.category-ribbon a[data-category]:hover {
  color: var(--category-color);
  background: #fff;
}

.pickup-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pickup-category-grid .pickup-main {
  grid-column: span 2;
  grid-row: span 3;
}

.pickup-category-card > a {
  height: 100%;
}

.pickup-category-card.pickup-main > a {
  display: grid;
  grid-template-rows: minmax(360px, 1.65fr) minmax(170px, 0.75fr);
}

.pickup-category-card.pickup-sub > a {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(132px, 1fr) auto;
}

.pickup-category-card .article-visual {
  justify-content: space-between;
}

.pickup-category-card .article-visual > span,
.pickup-category-card .article-visual > small {
  position: relative;
  z-index: 1;
}

.pickup-category-card .article-copy h3 {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.55;
}

.pickup-category-card.pickup-sub .article-copy {
  min-height: 116px;
  padding: 15px 17px 17px;
}

.pickup-category-card.pickup-sub .article-copy .article-category {
  margin-bottom: 5px;
  font-size: 9px;
}

.pickup-category-card.pickup-sub .article-copy h3 {
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.45;
}

.pickup-category-card.pickup-sub .article-copy .article-meta {
  margin: 6px 0 0;
}

.pickup-category-card.pickup-sub .article-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pickup-category-card.pickup-sub .article-visual {
  min-height: 132px;
  padding: 14px 16px;
}

.pickup-category-card.pickup-sub .article-visual > strong {
  font-size: 54px;
}

.footer-company {
  border-left: 1px solid #343c37;
  padding-left: 36px;
}

.footer-company > strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: 15px;
}

.footer-company .company-details {
  gap: 7px;
  font-size: 12px;
  line-height: 1.75;
}

.footer-company .company-details a:hover {
  color: #fff;
}

.footer-company-link {
  width: fit-content;
  color: #fff;
  border-bottom: 1px solid #717b73;
  margin-top: 6px;
  padding-bottom: 2px;
}

.company-preview {
  background: #f5f2ec;
  padding: 90px max(28px, calc(50vw - 590px));
}

.company-preview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(36px, 6vw, 90px);
  max-width: 1180px;
  margin: auto;
  align-items: center;
}

.company-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  margin: 0 0 18px;
}

.company-preview-logo {
  width: min(420px, 92%);
  margin: 0 0 30px;
}

.company-preview-logo img,
.company-preview-logo .company-preview-logo-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.company-preview h2,
.company-hero h1 {
  font: 700 clamp(29px, 3.4vw, 45px)/1.5 var(--serif);
  margin: 0 0 20px;
}

.company-preview-copy > p:not(.company-kicker),
.company-hero-inner > p:not(.company-kicker) {
  max-width: 650px;
  color: #59605b;
  font-size: 15px;
  line-height: 2;
}

.company-preview-copy > a {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  margin-top: 16px;
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.company-preview-facts {
  border-top: 2px solid var(--ink);
  margin: 0;
}

.company-preview-facts > div,
.company-profile-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-preview-facts dt,
.company-profile-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.company-preview-facts dd,
.company-profile-list dd {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.company-hero {
  background: var(--paper);
  padding: 85px max(28px, calc(50vw - 590px));
}

.company-hero-inner {
  max-width: 1180px;
  margin: auto;
}

.company-profile {
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.company-profile-list {
  border-top: 2px solid var(--ink);
  margin: 0 0 36px;
}

.company-profile-list > div {
  grid-template-columns: 170px minmax(0, 1fr);
  padding: 24px 0;
}

.company-profile-list dd {
  font-size: 16px;
}

.company-profile-list a:hover {
  color: var(--red);
}

.company-official-link {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  background: var(--dark);
  color: #fff;
  padding: 15px 22px;
  font-size: 13px;
  font-weight: 700;
}

.company-official-link:hover {
  background: var(--red);
}

.site-footer > nav {
  align-content: start;
}

@media (max-width: 1050px) {
  .pickup-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .pickup-category-grid .pickup-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .pickup-category-card.pickup-main > a {
    grid-template-rows: minmax(340px, 1.4fr) minmax(160px, 0.6fr);
  }
}

@media (max-width: 760px) {
  .company-preview {
    padding: 68px 22px;
  }

  .company-preview-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .company-preview-logo {
    width: min(360px, 100%);
    margin-bottom: 25px;
  }

  .company-hero {
    padding: 65px 22px;
  }

  .company-profile {
    width: calc(100% - 44px);
    padding: 50px 0 75px;
  }

  .company-profile-list > div {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
  }

  .pickup-category-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .pickup-category-grid .pickup-main {
    grid-column: auto;
    grid-row: auto;
  }

  .pickup-category-card.pickup-main > a,
  .pickup-category-card.pickup-sub > a {
    grid-template-rows: none;
  }

  .pickup-category-card.pickup-sub .article-visual,
  .pickup-category-card.pickup-main .article-visual {
    min-height: 240px;
  }

  .pickup-category-card.pickup-sub .article-visual > strong {
    font-size: 76px;
  }

  .footer-company {
    border-top: 1px solid #343c37;
    border-left: 0;
    padding-top: 28px;
    padding-left: 0;
  }
}

/* Content SEO architecture: growth entry, pillar and segmented consultation paths. */
.home-growth-strategy {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.home-growth-strategy h2 {
  max-width: 12em;
  margin: 12px 0 0;
  font: 600 clamp(32px, 4.4vw, 58px)/1.45 var(--serif);
  line-break: strict;
  overflow-wrap: anywhere;
}

.home-growth-strategy > div:last-child > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 2.05;
  line-break: strict;
  overflow-wrap: anywhere;
}

.strategy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 30px;
}

.pillar-hero {
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(76px, 11vw, 148px) 0 clamp(58px, 8vw, 100px);
}

.pillar-hero h1 {
  max-width: 13em;
  margin: 14px 0 28px;
  font: 600 clamp(40px, 6vw, 78px)/1.37 var(--serif);
  letter-spacing: -.025em;
  line-break: strict;
  overflow-wrap: anywhere;
}

.pillar-hero > p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 2.1;
}

.pillar-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  border: 1px solid var(--line);
}

.pillar-route {
  min-width: 0;
  padding: clamp(34px, 5vw, 64px);
}

.pillar-route + .pillar-route {
  border-left: 1px solid var(--line);
}

.pillar-route-growth {
  background: var(--dark);
  color: #fff;
}

.pillar-route-exit {
  background: var(--paper);
}

.pillar-route > span,
.category-segment-card > span,
.article-segment-badge {
  display: inline-block;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.pillar-route-growth > span {
  color: #d9b9ba;
}

.pillar-route h2 {
  margin: 18px 0;
  font: 600 clamp(27px, 3vw, 40px)/1.5 var(--serif);
  line-break: strict;
  overflow-wrap: anywhere;
}

.pillar-route p {
  min-height: 10em;
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 2;
}

.pillar-route-growth p {
  color: #c5cec8;
}

.pillar-route a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  color: var(--red);
  font-weight: 800;
  line-height: 1.8;
}

.pillar-route-growth a {
  color: #fff;
}

.pillar-explanation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 56px));
  margin: clamp(70px, 9vw, 120px) auto;
  border-top: 2px solid var(--ink);
}

.pillar-explanation article {
  padding: 32px 30px 0 0;
}

.pillar-explanation article + article {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.pillar-explanation h2 {
  margin: 0 0 18px;
  font: 600 clamp(22px, 2.2vw, 30px)/1.55 var(--serif);
}

.pillar-explanation p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
}

.pillar-industries {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--ink);
}

.pillar-industries a {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.pillar-industries span {
  color: var(--muted);
  font: 500 18px/1 var(--serif);
}

.pillar-industries strong {
  font: 600 clamp(20px, 2.3vw, 29px)/1.5 var(--serif);
}

.pillar-final-cta {
  background: var(--paper);
  padding: clamp(62px, 9vw, 108px) 28px;
  text-align: center;
}

.pillar-final-cta h2 {
  max-width: 16em;
  margin: 0 auto 32px;
  font: 600 clamp(28px, 4vw, 48px)/1.55 var(--serif);
}

.pillar-final-cta small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.category-segment-section {
  width: min(1080px, calc(100% - 56px));
  margin: 54px auto 0;
}

.category-segment-section > h2 {
  margin: 0 0 24px;
  font: 600 clamp(24px, 3vw, 36px)/1.5 var(--serif);
}

.category-segment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.category-segment-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
}

.category-segment-card + .category-segment-card {
  border-left: 1px solid var(--line);
}

.category-segment-growth {
  background: var(--dark);
  color: #fff;
}

.category-segment-growth > span {
  color: #d9b9ba;
}

.category-segment-card h3 {
  margin: 16px 0;
  font: 600 clamp(24px, 2.7vw, 35px)/1.55 var(--serif);
  line-break: strict;
  overflow-wrap: anywhere;
}

.category-segment-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 2;
}

.category-segment-growth p {
  color: #c5cec8;
}

.category-segment-card a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  color: var(--red);
  font-weight: 800;
  line-height: 1.8;
}

.category-segment-growth a {
  color: #fff;
}

.article-segment-badge {
  margin-bottom: 13px;
  border: 1px solid currentColor;
  padding: 5px 8px;
}

.article-segment-badge.segment-growth {
  color: #416555;
}

.article-reviewer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.article-reviewer span {
  color: var(--ink);
  font-weight: 800;
}

.article-pillar-link {
  margin-top: 12px;
  background: transparent !important;
  color: var(--ink) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-inline-settings textarea {
  width: 100%;
  resize: vertical;
}

@media (max-width: 760px) {
  .home-growth-strategy,
  .pillar-routes,
  .pillar-explanation,
  .category-segment-grid {
    grid-template-columns: 1fr;
  }

  .home-growth-strategy,
  .pillar-hero,
  .pillar-routes,
  .pillar-explanation,
  .pillar-industries,
  .category-segment-section {
    width: calc(100% - 44px);
  }

  .home-growth-strategy {
    gap: 26px;
    padding: 58px 0;
  }

  .home-growth-strategy h2 {
    font-size: clamp(30px, 10vw, 43px);
  }

  .strategy-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .strategy-actions .primary-button {
    width: 100%;
    text-align: center;
  }

  .pillar-hero {
    padding-top: 62px;
  }

  .pillar-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .pillar-route + .pillar-route,
  .category-segment-card + .category-segment-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pillar-route p {
    min-height: 0;
  }

  .pillar-explanation article,
  .pillar-explanation article + article {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }

  .pillar-industries a {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .category-segment-section {
    margin-top: 38px;
  }
}

@media (max-width: 560px) {
  .company-preview-facts > div,
  .company-profile-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero-title-segment {
    display: block;
  }

  html[data-main-copy-size="small"] .hero h1 {
    font-size: 32px;
  }

  html[data-main-copy-size="standard"] .hero h1 {
    font-size: 35px;
  }

  html[data-main-copy-size="large"] .hero h1 {
    font-size: 40px;
  }

  html[data-main-copy-size="xlarge"] .hero h1 {
    font-size: 44px;
  }

  .pickup-category-card .article-copy h3 {
    font-size: 23px;
  }
}

.article-filters {
  width: min(1180px, calc(100% - 56px));
  margin: 42px auto 0;
}

.article-filters > span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.article-filters > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.article-filters a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 9px 14px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, border-color .2s, color .2s;
}

.article-filters a[data-category] {
  border-color: color-mix(in srgb, var(--category-color) 44%, var(--line));
  color: var(--category-color);
}

.article-filters a:hover,
.article-filters a.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.article-filters a[data-category].is-active {
  border-color: var(--category-color);
  background: var(--category-color);
}

.article-empty-state {
  grid-column: 1 / -1;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(28px, 6vw, 70px);
}

.article-empty-state p {
  max-width: 680px;
  margin: 0;
  font: 600 clamp(20px, 2.7vw, 31px)/1.7 var(--serif);
}

.article-empty-state a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
}

.article-empty-state-compact {
  min-height: 180px;
}

.popular-empty {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 22px 0;
  font-size: 12px;
  line-height: 1.8;
}

.consultation-hero,
.legal-hero {
  background: var(--paper);
  padding: 82px max(28px, calc(50vw - 590px));
}

.consultation-hero > div,
.legal-hero {
  margin: 0 auto;
}

.consultation-hero h1,
.legal-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font: 700 clamp(34px, 4.2vw, 58px)/1.45 var(--serif);
}

.consultation-hero > div > p:last-child {
  max-width: 700px;
  color: #59605b;
  line-height: 2;
}

.consultation-section {
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  padding: 76px 0 110px;
}

.consultation-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.consultation-note {
  position: sticky;
  top: 30px;
  background: var(--dark);
  color: #fff;
  padding: 30px;
}

.consultation-note strong {
  color: #d9b9ba;
  font-size: 10px;
  letter-spacing: .2em;
}

.consultation-note p {
  margin: 18px 0;
  font: 600 19px/1.8 var(--serif);
}

.consultation-note small {
  color: #b7c0ba;
}

.consultation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.consultation-form > label:not(.privacy-consent) {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.consultation-form label b,
.consultation-form label em {
  border-radius: 2px;
  padding: 3px 6px;
  font-size: 9px;
  font-style: normal;
}

.consultation-form label b {
  background: var(--red);
  color: #fff;
}

.consultation-form label em {
  background: #ece9e2;
  color: var(--muted);
}

.consultation-form input:not([type="checkbox"]),
.consultation-form textarea {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid #c9c5bc;
  border-radius: 0;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: var(--red);
  outline: 2px solid color-mix(in srgb, var(--red) 22%, transparent);
  outline-offset: 2px;
}

.form-full {
  grid-column: 1 / -1;
}

.privacy-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.7;
}

.privacy-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.privacy-consent a {
  border-bottom: 1px solid var(--ink);
}

.privacy-consent i {
  font-style: normal;
}

.consultation-form button {
  width: 100%;
  min-height: 56px;
  cursor: pointer;
  font-size: 14px;
}

.form-error {
  grid-column: 1 / -1;
  border: 1px solid #c56e70;
  background: #fff2f2;
  color: #7b2024;
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
}

.form-status {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(34px, 7vw, 72px);
  text-align: center;
}

.form-status h2 {
  margin: 0 0 18px;
  font: 700 clamp(27px, 3.2vw, 39px)/1.5 var(--serif);
}

.form-status p {
  color: var(--muted);
  line-height: 2;
}

.form-status .primary-button {
  margin-top: 18px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.legal-hero time {
  color: var(--muted);
  font-size: 12px;
}

.legal-section {
  width: min(860px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.legal-body {
  white-space: pre-line;
  font-size: 15px;
  line-height: 2.05;
}

.category-seo-intro {
  width: min(920px, calc(100% - 56px));
  margin: 72px auto 0;
  border-left: 4px solid var(--red);
  background: var(--paper);
  padding: clamp(28px, 5vw, 52px);
}

.category-seo-intro h2 {
  margin: 0;
  font: 600 clamp(25px, 3vw, 38px)/1.55 var(--serif);
  overflow-wrap: anywhere;
  line-break: strict;
}

.category-seo-intro p {
  margin: 18px 0 22px;
  color: var(--muted);
  line-height: 2;
  overflow-wrap: anywhere;
  line-break: strict;
}

.category-seo-intro a {
  display: inline-block;
  border-bottom: 1px solid var(--red);
  color: var(--red);
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .article-filters,
  .consultation-section,
  .legal-section,
  .category-seo-intro {
    width: calc(100% - 44px);
  }

  .category-seo-intro {
    margin-top: 40px;
    padding: 26px 22px;
  }

  .article-filters {
    margin-top: 30px;
  }

  .article-filters > div {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .article-filters a {
    flex: 0 0 auto;
  }

  .consultation-hero,
  .legal-hero {
    padding: 60px 22px;
  }

  .consultation-section,
  .legal-section {
    padding: 54px 0 76px;
  }

  .consultation-layout,
  .consultation-form {
    grid-template-columns: 1fr;
  }

  .consultation-note {
    position: static;
  }

  .consultation-form > label,
  .form-full,
  .form-error {
    grid-column: 1;
  }
}
