/*
 * Apex Trade canonical design system v1
 * Sources: c01/styles.css + c01/inner-pages.css
 * Ownership: one file for tokens, foundation, layout, components, states,
 * page modules, responsive rules, and Core Block compatibility.
 */

/* Core Block compatibility */
html { scroll-behavior: smooth; }
body { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.site-main, .site-main > .wp-block-post-content, .apex-page { width: 100%; max-width: none; margin: 0; padding: 0; }
.site-header, .site-footer { margin: 0; }
.header-inner.wp-block-group, .footer-inner.wp-block-group { max-width: var(--container); margin-inline: auto; }
.header-inner .wp-block-image, .footer-inner .wp-block-image { margin: 0; }
.header-inner .wp-block-navigation { flex: 1 1 auto; }
.primary-nav .wp-block-navigation__container { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 42px); }
.primary-nav .wp-block-navigation-item__content { color: inherit; text-decoration: none; }
.primary-nav .wp-block-navigation-item__content::after { display: block; transform: scaleX(0); }
.primary-nav .wp-block-navigation-item__content[aria-current="page"]::after { display: block; transform: scaleX(1); }
.header-cta-wrap { flex: 0 0 auto; }
.wp-block-button.header-cta {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.header-cta .wp-block-button__link {
  display: block;
  padding: 9px 18px;
  color: var(--green-dark);
  background: transparent;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}
.header-cta .wp-block-button__link:hover { color: #fff; background: var(--green-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: inherit; text-decoration: none; }
.wp-block-button.button {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
}
.wp-block-button.button > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 47px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.wp-block-button.button > .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.button-primary > .wp-block-button__link { color: #fff; background: var(--green-dark); }
.wp-block-button.button-primary > .wp-block-button__link:hover { background: var(--green-deep); }
.wp-block-button.button-ghost > .wp-block-button__link { color: var(--green-dark); border-color: var(--green); background: rgba(255,255,255,.42); }
.wp-block-button.button-ghost > .wp-block-button__link:hover { color: #fff; background: var(--green-dark); }
.wp-block-button.button-light > .wp-block-button__link { color: var(--green-deep); background: #fff; }
.wp-block-button.button-light > .wp-block-button__link:hover { color: #fff; background: var(--green); }
.wp-block-button.button-submit > .wp-block-button__link { width: 100%; color: #fff; background: var(--green-dark); border-radius: 8px; cursor: pointer; }
.wp-block-button.button-submit > .wp-block-button__link:hover { background: var(--green-deep); }
.wp-block-image img { height: auto; }

:root {
  --ink: #0a2f18;
  --ink-soft: #294335;
  --green: #317827;
  --green-dark: #1e6224;
  --green-deep: #043406;
  --lime: #a6c000;
  --paper: #ffffff;
  --mist: #f4f8f4;
  --mist-2: #edf3ed;
  --line: #d8e4da;
  --shadow: 0 16px 42px rgba(4, 52, 6, 0.08);
  --radius: 18px;
  --content: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 96px), var(--content)); margin-inline: auto; }

.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }

.site-header {
  position: relative;
  z-index: auto;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(4, 52, 6, 0.08);
  box-shadow: 0 4px 18px rgba(4, 52, 6, 0.06);
}

@media (max-width: 782px) {
  .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
}

@media (max-width: 600px) {
  .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 150px; display: inline-flex; align-items: center; }
.brand img { width: 140px; height: 62px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 42px); flex: 1; }
.primary-nav a { position: relative; color: var(--ink-soft); font-size: 15px; white-space: nowrap; padding: 28px 0 24px; }
.primary-nav a::after { content: ""; position: absolute; bottom: 15px; left: 0; right: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta:not(.wp-block-button) { border: 1px solid var(--green); border-radius: 999px; padding: 9px 18px; color: var(--green-dark); font-size: 14px; white-space: nowrap; transition: background .25s ease, color .25s ease; }
.header-cta:not(.wp-block-button):hover { background: var(--green-dark); color: #fff; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 720px; isolation: isolate; background: #eaf2ee url("../images/hero-city-hd.png") center right / cover no-repeat; overflow: hidden; }
.hero-panel { position: absolute; inset: 0 auto 0 0; width: 58%; background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.84) 68%, rgba(255,255,255,0) 100%); z-index: -1; }
.hero-inner { min-height: 720px; display: flex; align-items: center; }
.hero-copy { width: 56%; padding: 80px 0 72px; }
.eyebrow, .section-kicker { margin: 0 0 17px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.hero h1 { max-width: 680px; margin: 0; color: var(--ink); font-size: clamp(42px, 4.2vw, 72px); line-height: 1.3; letter-spacing: -.055em; font-weight: 800; text-wrap: balance; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { margin: 31px 0 0; max-width: 570px; color: #294032; font-size: 18px; line-height: 2.05; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button:not(.wp-block-button) { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 47px; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.3; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.button:not(.wp-block-button):hover { transform: translateY(-2px); }
.button-primary:not(.wp-block-button) { color: #fff; background: var(--green-dark); }
.button-primary:not(.wp-block-button):hover { background: var(--green-deep); }
.button-ghost:not(.wp-block-button) { color: var(--green-dark); border-color: var(--green); background: rgba(255,255,255,.42); }
.button-ghost:not(.wp-block-button):hover { color: #fff; background: var(--green-dark); }
.hero-signature { margin: 48px 0 0; color: var(--green-dark); font-size: 16px; font-weight: 700; letter-spacing: .18em; }
.hero-signature span { color: var(--lime); margin-inline: 5px; }

.section { padding: 126px 0; }
.section-heading { margin-bottom: 52px; }
.section-heading.centered { text-align: center; }
.section-heading h2, .role-copy h2, .team-copy h2, .contact-copy h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 3.1vw, 52px); line-height: 1.35; letter-spacing: -.045em; text-wrap: balance; }
.section-intro { max-width: 720px; margin: 18px auto 0; color: var(--ink-soft); font-size: 16px; }
.heading-rule { display: block; width: 42px; height: 2px; margin-top: 20px; background: var(--green); }
.centered .heading-rule { margin-inline: auto; }

.problem-section { background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pain-item { min-height: 250px; padding: 34px 32px 36px; text-align: center; border-right: 1px solid var(--line); }
.pain-item:last-child { border-right: 0; }
.pain-item img { width: 76px; height: 76px; margin: 0 auto 18px; object-fit: contain; mix-blend-mode: multiply; }
.pain-item h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.pain-item p { max-width: 220px; margin: 11px auto 0; color: #596a5f; font-size: 16px; line-height: 1.75; }
.copy-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; max-width: 1080px; margin: 46px auto 0; color: var(--ink-soft); font-size: 16px; }
.copy-columns p { margin: 0; }

.role-section { background: var(--mist); }
.role-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: center; }
.role-copy p:not(.section-kicker), .team-copy > p:not(.section-kicker):not(.team-role):not(.small-note), .contact-copy > p:not(.section-kicker) { max-width: 680px; margin: 24px 0 0; color: var(--ink-soft); font-size: 16px; }
.role-statement { position: relative; padding: 45px; background: var(--green-dark); color: #fff; box-shadow: var(--shadow); }
.role-statement::before { content: "A"; position: absolute; right: 28px; top: -25px; color: rgba(255,255,255,.12); font-size: 170px; line-height: 1; font-weight: 900; }
.role-statement-label { position: relative; margin: 0 0 18px; color: #d7e9d4; font-size: 16px; letter-spacing: .12em; }
.role-statement > p:not(.role-statement-label) { position: relative; margin: 0; max-width: 370px; font-size: 27px; line-height: 1.55; font-weight: 700; }
.text-link { position: relative; display: inline-flex; gap: 10px; margin-top: 32px; color: #fff; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.6); }

.services-section { background: var(--mist-2); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 345px; padding: 38px 30px 30px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(4,52,6,.025); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(49,120,39,.5); box-shadow: var(--shadow); }
.service-card .card-number { position: absolute; top: 27px; right: 24px; color: rgba(49,120,39,.22); font-size: 34px; line-height: 1; font-weight: 800; }
.service-card img { width: 68px; height: 68px; object-fit: contain; mix-blend-mode: multiply; }
.service-card h3 { margin: 24px 0 10px; font-size: 22px; }
.service-card p { min-height: 100px; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.service-card a { display: inline-flex; gap: 9px; margin-top: 17px; color: var(--green-dark); font-size: 16px; font-weight: 700; }

.market-section { background: #fff; }
.stage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stage-card { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(4,52,6,.04); }
.stage-card-dark { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.stage-heading { display: flex; align-items: center; gap: 22px; }
.stage-number { color: rgba(49,120,39,.23); font-size: 88px; line-height: .8; font-weight: 800; letter-spacing: -.08em; }
.stage-card-dark .stage-number { color: rgba(255,255,255,.18); }
.stage-label { margin: 0 0 4px; color: var(--green); font-size: 16px; font-weight: 700; }
.stage-card-dark .stage-label { color: #b7db74; }
.stage-heading h3 { margin: 0; font-size: 24px; line-height: 1.45; }
.stage-description { margin: 29px 0 26px; color: var(--ink-soft); font-size: 16px; }
.stage-card-dark .stage-description { color: #d7e6d9; }
.stage-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stage-card-dark .stage-list { border-top-color: rgba(255,255,255,.23); }
.stage-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.stage-card-dark .stage-list > div { border-bottom-color: rgba(255,255,255,.23); }
.stage-list h4 { margin: 0; color: var(--green-dark); font-size: 17px; }
.stage-card-dark .stage-list h4 { color: #d7edbe; }
.stage-list p { margin: 5px 0 0; color: #596a5f; font-size: 16px; line-height: 1.75; }
.stage-card-dark .stage-list p { color: #d1ddd3; }

.values-section { background: var(--mist); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-grid article { padding: 30px 30px 27px; border-right: 1px solid var(--line); }
.value-grid article:last-child { border-right: 0; }
.value-mark { color: var(--lime); font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.value-grid h3 { margin: 18px 0 8px; font-size: 20px; }
.value-grid p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }

.team-section { background: #fff; }
.team-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; }
.team-copy h3 { margin: 32px 0 3px; font-size: 30px; letter-spacing: -.04em; }
.team-copy h3 small { color: var(--green); font-size: 16px; letter-spacing: .12em; }
.team-role { margin: 0; color: var(--green); font-size: 16px; font-weight: 700; }
.small-note { margin-top: 25px ; color: #77877b ; font-size: 13px ; }
.team-visual { margin: 0; }
.team-visual img { width: 100%; min-height: 390px; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: 0 18px 48px rgba(4,52,6,.13); }
.team-visual figcaption { margin-top: 16px; color: var(--green); font-size: 13px; letter-spacing: .1em; text-align: right; }

.partner-section { background: var(--mist-2); }
.partner-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.partner-list article { min-height: 160px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.partner-list span { color: var(--lime); font-size: 14px; font-weight: 800; }
.partner-list p { margin: 19px 0 0; font-size: 16px; line-height: 1.65; }

.process-section { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-grid article { display: flex; gap: 22px; min-height: 190px; padding: 34px 28px; border-right: 1px solid var(--line); }
.process-grid article:last-child { border-right: 0; }
.process-grid article > span { color: rgba(49,120,39,.25); font-size: 52px; line-height: 1; font-weight: 800; }
.process-grid h3 { margin: 2px 0 8px; font-size: 20px; }
.process-grid p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }

.cases-section { background: var(--mist); }
.case-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.case-grid article { min-height: 225px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.case-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(49,120,39,.55); border-radius: 50%; color: var(--green); font-weight: 800; }
.case-grid h3 { margin: 19px 0 8px; font-size: 17px; line-height: 1.5; }
.case-grid p { margin: 0; color: #65766a; font-size: 16px; line-height: 1.75; }

.cta-section { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; }
.cta-inner { position: relative; display: block; min-height: 330px; padding-block: 65px; text-align: center; }
.cta-inner h2,
.cta-inner .wp-block-heading { max-width: 1200px; margin: 0 auto; color: #fff; font-size: clamp(30px, 3.1vw, 53px); line-height: 1.35; letter-spacing: -.04em; }
.cta-inner p:not(.section-kicker):not(.cta-helper) { max-width: 1200px; margin: 18px auto 0; color: #d5e6d7; font-size: 16px; }
.cta-helper { max-width: 1200px; margin: 14px auto 0; color: #b7db74; font-size: 16px; }
.cta-inner .wp-block-button { display: none; }
.button-light:not(.wp-block-button) { position: relative; z-index: 1; flex: 0 0 auto; color: var(--green-deep); background: #fff; }
.button-light:not(.wp-block-button):hover { color: #fff; background: var(--green); }
.cta-watermark { position: absolute; right: 80px; bottom: -72px; width: 280px; height: 280px; object-fit: contain; opacity: .15; mix-blend-mode: screen; }
.cta-watermark img { width: 100%; height: 100%; object-fit: contain; }

.contact-section { background: #fff; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-details { display: grid; gap: 0; margin: 45px 0 0; }
.contact-details > div { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-details dt { color: var(--green); font-size: 16px; font-weight: 700; }
.contact-details dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 16px; }
.contact-form-host,
.contact-form-host > .wpcf7 { width: 100%; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px 22px; padding: 36px; background: var(--mist); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-form h3 { grid-column: 1 / -1; margin: 0 0 5px; font-size: 24px; }
.contact-form label,
.contact-form .form-field { display: grid; gap: 7px; color: var(--ink); font-size: 16px; font-weight: 700; }
.contact-form label:nth-of-type(8),
.contact-form .form-field:nth-of-type(8),
.contact-form .button-submit,
.form-success { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form .form-control { width: 100%; border: 1px solid #cad9ce; border-radius: 7px; background: #fff; padding: 12px 14px; color: var(--ink); outline: none; font-size: 16px; font-weight: 400; }
.contact-form .form-label,
.contact-form .form-control { margin: 0; }
.contact-form .form-field > p,
.contact-form .form-field label { margin: 0; }
.contact-form .form-field--message { grid-column: 1 / -1; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(49,120,39,.13); }
.contact-form textarea,
.contact-form .form-control--textarea { min-height: 105px; resize: vertical; }
.contact-form .button-submit .wpcf7-submit { width: 100%; border: 0; border-radius: 8px; color: #fff; background: var(--green-dark); cursor: pointer; }
.contact-form .button-submit .wpcf7-submit:hover { background: var(--green-deep); }
.contact-form .wpcf7-spinner { margin: 0 0 0 12px; }
.contact-form .wpcf7-not-valid-tip { margin-top: 6px; color: #a62323; font-size: 16px; font-weight: 500; }
.contact-form .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: 13px 16px; border: 1px solid var(--line); border-left: 3px solid var(--green); background: #fff; }
.form-success { margin: 0; padding: 13px 16px; color: var(--green-dark); background: #e6f1e6; border-left: 3px solid var(--green); font-size: 16px; }

.site-footer { background: var(--green-deep); color: #fff; }
.site-footer .footer-inner.wp-block-group { width: min(calc(100% - 96px), 1700px); max-width: 1700px; }
.footer-next-step { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding-block: 55px 50px; }
.footer-kicker { margin: 0; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.9); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .18em; line-height: 1.5; }
.footer-next-copy { min-width: 0; }
.footer-next-title { margin: 0; color: #fff; font-size: clamp(26px, 2.5vw, 48px); line-height: 1.25; letter-spacing: -.03em; }
.footer-next-description { margin: 7px 0 0; color: #d4e3d5; font-size: clamp(16px, 1.25vw, 22px); line-height: 1.55; }
.footer-next-action { justify-content: flex-end; margin: 0; }
.footer-section-divider.wp-block-separator { width: 100% !important; height: 1px; margin: 0; border: 0; background: rgba(255,255,255,.48); opacity: 1; }
.footer-cta .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 270px; min-height: 56px; padding: 13px 28px; border: 1px solid #fff; border-radius: 999px; color: var(--green-deep); background: #fff; font-size: 19px; font-weight: 700; line-height: 1.45; transition: color 160ms ease, background 160ms ease; }
.footer-cta .wp-block-button__link:hover { color: #fff; background: transparent; }
.footer-arrow { font-size: 22px; line-height: 1; }
.footer-contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: 64px; align-items: center; padding-block: 58px 52px; }
.footer-brand-block { display: grid; grid-template-columns: minmax(300px, 340px) minmax(0, 1fr); align-items: center; column-gap: 50px; }
.footer-brand-identity { min-width: 0; }
.footer-logo { margin: 0; }
.footer-logo img { display: block; width: 300px !important; height: auto; opacity: 1; }
.footer-company { margin: 16px 0 0; color: #fff; font-family: inherit; font-size: 30px; letter-spacing: .03em; line-height: 1.45; }
.footer-tagline { margin: 0; padding-left: 50px; border-left: 1px solid rgba(255,255,255,.9); color: #c9dec9; font-family: inherit; font-size: 27px; line-height: 1.6; }
.footer-contact-block { display: grid; width: min(100%, 520px); gap: 19px; justify-self: end; justify-items: start; text-align: left; }
.footer-contact-block p { margin: 0; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 18px; color: #fff; font-size: 22px; line-height: 1.55; }
.footer-contact-link:hover { color: #d8ee9c; }
.footer-contact-icon { display: inline-grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; color: #fff; font-size: 24px; line-height: 1; }
.footer-icon-email { font-size: 25px; }
.footer-icon-map { font-size: 28px; }
.footer-bottom { display: flex; justify-content: flex-start; padding-block: 20px 24px; border-top: 1px solid rgba(255,255,255,.48); color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.6; text-align: left; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; }
.back-to-top { position: fixed; right: 28px; bottom: 27px; z-index: 10; display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: var(--shadow); font-size: 23px; }
.back-to-top:hover { background: var(--green-deep); }

@media (max-width: 1180px) {
  .container { width: min(calc(100% - 56px), var(--content)); }
  .site-footer .footer-inner.wp-block-group { width: min(calc(100% - 56px), 1700px); }
  .header-inner { gap: 20px; }
  .primary-nav { gap: 17px; }
  .primary-nav a { font-size: 13px; }
  .header-cta:not(.wp-block-button),
  .header-cta .wp-block-button__link { padding-inline: 13px; font-size: 20px; }
  .hero-copy, .hero-panel { width: 62%; }
  .service-card { padding-inline: 22px; }
  .process-grid article { display: block; }
  .process-grid article > span { display: block; margin-bottom: 18px; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 40px), var(--content)); }
  .site-footer .footer-inner.wp-block-group { width: min(calc(100% - 40px), var(--content)); }
  .header-inner { min-height: 72px; justify-content: space-between; }
  .brand { flex-basis: 125px; }
  .brand img { width: 120px; height: 54px; }
  .menu-toggle { display: grid; place-items: center; gap: 4px; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--green-deep); }
  .primary-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav.wp-block-navigation { position: static; display: flex; flex: 0 0 auto; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container-open { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--green-deep); }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
    position: absolute;
    inset: 64px 0 auto;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 10px 20px 20px;
    overflow: visible;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    top: -68px;
    right: -4px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green-deep);
    background: #fff;
  }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    width: 100%;
    margin: 0;
  }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: block;
    width: 100%;
    padding: 0;
  }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
  .primary-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a {
    display: block;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    line-height: 1.8;
    text-align: left;
  }
  .primary-nav a::after { bottom: -1px; transform-origin: left; }
  .site-header .header-inner .header-cta-wrap { display: none; }
  .hero, .hero-inner { min-height: 640px; }
  .hero { background-position: 64% center; }
  .hero-panel { width: 78%; }
  .hero-copy { width: 78%; padding-top: 60px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 92px 0; }
  .pain-grid, .service-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-item:nth-child(2) { border-right: 0; }
  .pain-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .copy-columns, .role-layout, .team-layout, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .role-statement { max-width: 620px; }
  .stage-grid { grid-template-columns: 1fr; }
  .partner-list, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-grid article { display: flex; }
  .process-grid article > span { margin: 0; }
  .cta-inner { display: block; min-height: auto; padding-block: 72px; }
  .button-light { margin-top: 31px; }
  .cta-watermark { right: -35px; bottom: -90px; }
}

@media (max-width: 760px) {
  .footer-next-step { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
  .footer-next-action { grid-column: 2; justify-content: flex-start; }
  .footer-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); gap: 36px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 32px), var(--content)); }
  .site-footer .footer-inner.wp-block-group { width: min(calc(100% - 32px), var(--content)); }
  .hero, .hero-inner { min-height: 690px; }
  .hero { background-position: 66% center; }
  .hero-panel { width: 100%; background: rgba(255,255,255,.82); }
  .hero-copy { width: 100%; padding: 56px 0; }
  .hero h1 { font-size: 39px; }
  .hero h1 br { display: none; }
  .hero-lead { margin-top: 23px; font-size: 16px; line-height: 1.9; }
  .hero-lead br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 260px; }
  .hero-signature { margin-top: 34px; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .role-copy h2, .team-copy h2, .contact-copy h2 { font-size: 30px; }
  .pain-grid, .service-grid, .value-grid, .partner-list, .case-grid, .process-grid { grid-template-columns: 1fr; }
  .pain-item, .value-grid article, .process-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .pain-item:last-child, .value-grid article:last-child, .process-grid article:last-child { border-bottom: 0; }
  .pain-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .copy-columns { gap: 17px; margin-top: 32px; font-size: 16px; }
  .role-statement { padding: 32px 25px; }
  .role-statement > p:not(.role-statement-label) { font-size: 23px; }
  .service-card { min-height: 0; }
  .service-card p { min-height: 0; }
  .stage-card { padding: 27px 22px; }
  .stage-heading { gap: 14px; }
  .stage-number { font-size: 65px; }
  .stage-heading h3 { font-size: 20px; }
  .team-visual img { min-height: 250px; }
  .team-visual figcaption { text-align: left; }
  .process-grid article { display: flex; min-height: 0; }
  .contact-form { grid-template-columns: 1fr; padding: 23px 18px; }
  .contact-form h3,
  .contact-form label:nth-of-type(8),
  .contact-form .form-field:nth-of-type(8),
  .contact-form .button-submit,
  .form-success { grid-column: auto; }
  .footer-next-step { display: block; padding-block: 42px 38px; text-align: center; }
  .footer-kicker { display: inline-block; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.7); }
  .footer-next-title { margin-top: 18px; }
  .footer-next-description { margin-top: 12px; }
  .footer-next-action { justify-content: center; margin-top: 25px; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: 35px; padding-block: 40px 37px; }
  .footer-brand-block { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; text-align: center; }
  .footer-logo { grid-row: auto; }
  .footer-logo img { width: 220px !important; margin-inline: auto; }
  .footer-company { margin-top: 15px; font-size: 24px; }
  .footer-tagline { margin-top: 24px; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.72); border-left: 0; font-size: 21px; }
  .footer-contact-block { width: min(100%, 360px); justify-self: center; justify-items: start; text-align: left; }
  .footer-contact-link { font-size: 18px; }
  .footer-divider.wp-block-separator { margin-block: 19px; }
  .footer-address-link { justify-content: center; width: 100%; }
  .footer-bottom { align-items: center; flex-direction: column; gap: 5px; }
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* Authority base text size; component classes own their individual scale. */
body { font-size: 18px; }
main .contact-form input,
main .contact-form select,
main .contact-form textarea { font-size: 18px; }
main .analysis-list strong { font-size: 20px; }
main .analysis-list span:not(.list-mark) { font-size: 18px; }
main .process-card h3,
main .case-grid h3 { font-size: 20px; }

/* Component typography follows the authority scale without blanket descendant overrides. */
.hero h1 em, .page-hero h1 em, .hero h2 em, .page-hero h2 em { font-size: inherit ; }
.primary-nav a,
.header-cta,
.button,
.role-statement > p:not(.role-statement-label),
.page-hero .page-subtitle,
.stage-list h4,
.case-grid h3,
.process-card h3,
.decision-step h3,
.chart-box h3,
.donut-box h3 { font-size: 20px ; }
.role-statement > p:not(.role-statement-label) { font-size: 27px ; }
.page-hero .page-subtitle { font-size: 24px ; }
.service-card .card-number { font-size: 34px ; }
.stage-number { font-size: 88px ; }
.process-grid article > span { font-size: 52px ; }

/* Unified Apex semantic icon system: transparent lossless WebP, flat two-tone green. */
.generated-icon { display: block; max-width: 100%; margin: 0; }
.generated-icon img,
img.generated-icon { display: block; max-width: 100%; object-fit: contain; mix-blend-mode: normal; }
.pain-item .generated-icon img,
.service-card .generated-icon img { mix-blend-mode: normal; }
.case-icon.is-image-icon {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.case-icon.is-image-icon img { width: 48px; height: 48px; }



/* Inner-page modules */
.page-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  background: #edf4f1 url("../images/hero-city-hd.png") center right / cover no-repeat;
}

/* Inner-page contextual banners. The page modifier is stored in Core block content. */
.apex-page--about .page-hero {
  background-image: url("../images/apex-about-japan-meeting-observer.webp");
}

.apex-page--services .page-hero {
  background-image: url("../images/apex-services-japan-retail.webp");
}

.apex-page--market .page-hero {
  background-image: url("../images/apex-market-analysis-data.webp");
}

.apex-page--cases .page-hero {
  background-image: url("../images/apex-case-studies-retail.webp");
}

.apex-page--contact .page-hero {
  background-image: url("../images/apex-contact-japan-room.webp");
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 42%, rgba(255,255,255,.12) 76%, rgba(255,255,255,0) 100%);
}

.page-hero-inner {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.page-hero-copy {
  max-width: 650px;
  padding: 62px 0;
}

.page-hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(43px, 5vw, 72px);
  line-height: 1.2;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.page-hero h1 em {
  color: var(--green);
  font-style: normal;
}

.page-hero .page-subtitle.wp-block-paragraph {
  margin: 21px 0 0;
  color: var(--ink-soft);
  font-size: 24px;
  line-height: 1.55;
  font-weight: 600;
}

.page-hero .page-summary {
  max-width: 610px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.inner-section {
  padding: 112px 0;
  background: var(--paper);
}

.inner-section.alt {
  background: var(--mist);
}

.inner-section.soft {
  background: var(--mist-2);
}

/* The market page CTA is the final block in this section; avoid a trailing blank band before the footer. */
.apex-page--market ~ .inner-section.soft { padding-bottom: 0; }

.inner-heading {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.inner-heading.align-left {
  margin-left: 0;
  text-align: left;
}

/* Keep dividers aligned with centered inner-page heading groups. */
.inner-heading:not(.align-left) .heading-rule {
  margin-inline: auto;
}

.inner-heading h2,
.inner-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(29px, 3vw, 46px);
  line-height: 1.4;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.inner-heading p:not(.section-kicker),
.inner-section .intro {
  max-width: 760px;
  margin: 17px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.inner-heading.align-left p:not(.section-kicker) {
  margin-left: 0;
}

.inner-section .intro {
  margin-left: 0;
  margin-right: 0;
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.split-block.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.split-block.reverse .split-copy {
  order: 2;
}

.split-block.reverse .split-media {
  order: 1;
}

.split-copy h2 {
  max-width: 630px;
}

.split-copy h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1.45;
}

.split-copy p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.split-copy .heading-rule {
  margin-top: 21px;
}

.split-media {
  margin: 0;
}

.split-media img,
.media-panel img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(4, 52, 6, .12);
  object-fit: cover;
}

.split-media figcaption {
  margin-top: 13px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: .1em;
  text-align: right;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 255px;
  padding: 34px 35px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(4,52,6,.035);
}

.feature-card .feature-number {
  color: var(--lime);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
}

.feature-card h3 {
  margin: 19px 0 10px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.45;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.feature-card.feature-card-green {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
}

.feature-card-green h3 { color: #fff; }
.feature-card-green p { color: #d5e6d7; }

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-strip article {
  min-height: 160px;
  padding: 25px 27px;
  border-right: 1px solid var(--line);
}

.value-strip article:last-child { border-right: 0; }

.value-strip h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 19px;
}

.value-strip p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.about-collaboration {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch;
}

.collaboration-card {
  position: relative;
  padding: 38px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.collaboration-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 25px;
  background: var(--green);
}

.collaboration-card h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 25px;
}

.collaboration-card ul,
.bullet-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 16px;
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: 60px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.team-profile img {
  width: 100%;
  aspect-ratio: 1 / .84;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}

.team-profile h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -.04em;
}

.team-profile h3 small {
  color: var(--green);
  font-size: 16px;
  letter-spacing: .12em;
}

.team-profile .profile-role {
  margin: 10px 0 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.team-profile .profile-copy {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.team-profile .small-note { margin-top: 23px; }

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(45px, 8vw, 130px);
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:first-of-type { padding-top: 0; }
.service-row:last-of-type { padding-bottom: 0; border-bottom: 0; }

.service-row.reverse .service-row-copy { order: 2; }
.service-row.reverse .service-row-media { order: 1; }

.service-row-media { margin: 0; }

.service-row-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(4, 52, 6, .12);
}

.service-row-copy .service-index {
  display: block;
  margin-bottom: 13px;
  color: var(--lime);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .15em;
}

.service-row-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.service-row-copy h3 {
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 21px;
  line-height: 1.55;
}

.service-row-copy p {
  max-width: 590px;
  margin: 19px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.stage-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.inner-stage-card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.inner-stage-card.dark {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.inner-stage-card .stage-top {
  display: flex;
  align-items: center;
  gap: 21px;
}

.inner-stage-card .stage-big-number {
  color: rgba(49,120,39,.24);
  font-size: 84px;
  line-height: .8;
  font-weight: 800;
  letter-spacing: -.08em;
}

.inner-stage-card.dark .stage-big-number { color: rgba(255,255,255,.19); }

.inner-stage-card .stage-label {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.inner-stage-card.dark .stage-label { color: #b7db74; }

.inner-stage-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.45;
}

.inner-stage-card > p {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.inner-stage-card.dark > p { color: #d5e6d7; }

.inner-stage-card ul {
  display: grid;
  gap: 10px;
  margin: 23px 0 0;
  padding: 22px 0 0 1.25em;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
}

.inner-stage-card.dark ul {
  border-top-color: rgba(255,255,255,.22);
  color: #d5e6d7;
}

.path-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin-top: 60px;
}

.path-node {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 176px;
  padding: 24px 17px;
  border: 1px solid rgba(49,120,39,.36);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  text-align: center;
}

.path-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 24px;
}

.path-node strong {
  margin-top: 20px;
  color: var(--green-dark);
  font-size: 16px;
}

.path-node span {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 16px;
}

.path-node .path-symbol {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.path-node .path-symbol.is-image-icon {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.path-node .path-symbol.is-image-icon img { width: 48px; height: 48px; }

.analysis-block {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 55px;
  align-items: start;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.analysis-block:first-of-type { padding-top: 0; }
.analysis-block:last-of-type { padding-bottom: 0; border-bottom: 0; }

.analysis-copy h2 { font-size: clamp(26px, 2.6vw, 38px); }

.analysis-copy > p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.analysis-list {
  display: grid;
  gap: 20px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.analysis-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  align-items: start;
}

.analysis-list .list-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(49,120,39,.43);
  border-radius: 50%;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}
.analysis-list .list-mark.is-image-icon {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.analysis-list .list-mark.is-image-icon .generated-icon { width: 38px; height: 38px; }

.analysis-list strong {
  display: block;
  color: var(--green-dark);
  font-size: 16px;
}

.analysis-list span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.process-cards .process-card {
  position: relative;
  min-height: 215px;
  padding: 27px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.process-cards .process-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -18px;
  z-index: 1;
  color: var(--green);
  font-size: 20px;
}

.process-card .process-symbol {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 18px;
}
.process-card .process-symbol.is-image-icon {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.process-card .process-symbol.is-image-icon img { width: 52px; height: 52px; }

.process-card h3 { margin: 19px 0 6px; color: var(--green-dark); font-size: 17px; }
.process-card p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 16px;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
}

.comparison-table th:last-child,
.comparison-table td:last-child { border-right: 0; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table thead th { color: var(--ink); background: #f8fbf8; font-weight: 700; }
.comparison-table tbody th { width: 160px; color: #fff; background: var(--green-dark); font-weight: 600; }

.competitor-wheel {
  --wheel-deep: #003b22;
  --wheel-mid: #2e7d32;
  --wheel-pale: #e9f2df;
  position: relative;
  width: 100%;
  max-width: 820px;
  min-height: 520px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(46,125,50,.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(233,242,223,.7) 0 27%, rgba(233,242,223,.2) 27.5% 39%, transparent 39.5%),
    linear-gradient(145deg, #fff 0%, rgba(233,242,223,.2) 100%);
  box-shadow: 0 22px 54px rgba(0,59,34,.1);
}

/* Static chart artwork keeps the six-face analysis legible at every viewport. */
.competitor-wheel--image {
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: #f7fbf7 url("/wp-content/themes/apex-trade-block/assets/images/market-competitor-wheel-20260910.png") center / contain no-repeat;
}
.competitor-wheel--image::before,
.competitor-wheel--image::after,
.competitor-wheel--image > * { display: none; }

/* The saved Market Analysis page uses the base class; keep the artwork static there too. */
.competitor-wheel {
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: #f7fbf7 url("/wp-content/themes/apex-trade-block/assets/images/market-competitor-wheel-20260910.png") center / contain no-repeat;
}
.competitor-wheel::before,
.competitor-wheel::after,
.competitor-wheel > * { display: none; }

.competitor-wheel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(46,125,50,.38);
  border-radius: 50%;
  pointer-events: none;
}

.competitor-wheel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 390px;
  height: 390px;
  transform: translate(-50%, -50%);
  border: 2px dotted rgba(46,125,50,.58);
  border-radius: 50%;
  pointer-events: none;
}

.competitor-wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-content: center;
  width: 178px;
  height: 178px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: #fff;
  background: var(--wheel-deep);
  box-shadow:
    0 0 0 22px rgba(233,242,223,.86),
    0 0 0 40px rgba(233,242,223,.42),
    0 18px 38px rgba(0,59,34,.2);
  text-align: center;
}

.competitor-wheel-center p {
  margin: 0;
  color: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.competitor-axis {
  position: absolute;
  z-index: 3;
  width: 218px;
  min-height: 88px;
  padding: 14px 17px 14px 18px;
  border: 1px solid rgba(46,125,50,.38);
  border-left: 9px solid var(--wheel-mid);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(233,242,223,.18));
  box-shadow: 0 14px 28px rgba(0,59,34,.09), 0 3px 8px rgba(0,59,34,.05);
  text-align: center;
}

.competitor-axis::after {
  content: "";
  position: absolute;
  z-index: -1;
  display: block;
  width: 100px;
  height: 18px;
  background:
    radial-gradient(circle at 8px 50%, var(--wheel-mid) 0 5px, #fff 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at calc(100% - 8px) 50%, var(--wheel-mid) 0 5px, #fff 5.5px 7px, transparent 7.5px),
    linear-gradient(180deg, transparent calc(50% - 1px), rgba(46,125,50,.78) calc(50% - 1px), rgba(46,125,50,.78) calc(50% + 1px), transparent calc(50% + 1px));
  pointer-events: none;
}

.competitor-axis h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1.45;
}

.competitor-axis p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.competitor-axis--1 { top: 18px; left: 50%; transform: translateX(-50%); }
.competitor-axis--1::after,
.competitor-axis--4::after {
  left: 50%;
  width: 18px;
  height: 74px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 8px, var(--wheel-mid) 0 5px, #fff 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at 50% calc(100% - 8px), var(--wheel-mid) 0 5px, #fff 5.5px 7px, transparent 7.5px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(46,125,50,.78) calc(50% - 1px), rgba(46,125,50,.78) calc(50% + 1px), transparent calc(50% + 1px));
}
.competitor-axis--1::after { bottom: -70px; }
.competitor-axis--2 { top: 116px; right: 18px; }
.competitor-axis--2::after { top: 72%; left: -93px; transform: rotate(-28deg); transform-origin: right center; }
.competitor-axis--3 { right: 18px; bottom: 68px; }
.competitor-axis--3::after { top: 12%; left: -113px; width: 120px; transform: rotate(28deg); transform-origin: right center; }
.competitor-axis--4 { bottom: 18px; left: 50%; transform: translateX(-50%); }
.competitor-axis--4::after { top: -70px; }
.competitor-axis--5 { bottom: 68px; left: 18px; }
.competitor-axis--5::after { top: 12%; right: -121px; width: 128px; transform: rotate(-28deg); transform-origin: left center; }
.competitor-axis--6 { top: 116px; left: 18px; }
.competitor-axis--6::after { top: 72%; right: -93px; transform: rotate(28deg); transform-origin: left center; }

.operating-model-wrap {
  grid-column: 1 / -1;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 46px rgba(4,52,6,.07);
}

.operating-model-block {
  grid-template-columns: 1fr;
  gap: 32px;
}

.analysis-block.operating-model-block {
  padding-bottom: 48px;
  border-bottom: 0;
}

.operating-model-block .analysis-copy { max-width: 820px; }

.operating-model-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 18px;
}

.operating-model-table th,
.operating-model-table td {
  font-size: 18px;
  padding: 15px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.operating-model-table tr > :last-child { border-right: 0; }
.operating-model-table tbody tr:last-child > * { border-bottom: 0; }
.operating-model-table thead th {
  color: #fff;
  background: var(--green-deep);
  font-weight: 700;
  text-align: center;
}
.operating-model-table thead th:first-child { width: 125px; background: var(--green-dark); }
.operating-model-table tbody th { color: var(--green-dark); background: #f1f6ef; font-weight: 700; white-space: nowrap; }
.operating-model-table tbody tr:nth-child(even) td { background: #fbfdfb; }

.risk-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 65px;
  align-items: center;
}

.risk-stack {
  display: grid;
  gap: 10px;
  max-width: 600px;
  margin-inline: auto;
}

.risk-graphic {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  align-self: center;
}

.risk-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.risk-level {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 12px 22px;
  color: #fff;
  border-radius: 10px;
  background: var(--green-deep);
}

.risk-level:nth-child(2) { width: 90%; margin-inline: auto; background: var(--green); }
.risk-level:nth-child(3) { width: 80%; margin-inline: auto; background: #72a94b; }
.risk-level:nth-child(4) { width: 70%; margin-inline: auto; color: var(--green-deep); background: #d1e1ab; }
.risk-level strong { font-size: 14px; }
.risk-level span { font-size: 13px; }
.risk-level em { font-style: normal; font-size: 12px; opacity: .82; }

.data-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 60px;
  align-items: center;
}

.data-layout figure { margin: 0; }
.data-layout figure img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 46px rgba(4,52,6,.1); }
.data-layout figcaption { margin-top: 10px; color: #748477; font-size: 12px; }

.data-panels {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.chart-box { min-height: 235px; padding: 18px 17px; border-right: 1px solid var(--line); }
.chart-box h3, .donut-box h3 { margin: 0 0 22px; color: var(--green-dark); font-size: 16px; }

.chart {
  position: relative;
  display: flex;
  align-items: end;
  gap: 13px;
  height: 155px;
  padding: 10px 8px 0;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0, transparent 37px, #edf3ed 38px);
}

.chart span { flex: 1; min-width: 12px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #8bb64f, var(--green-dark)); }
.chart span:nth-child(1) { height: 45%; }
.chart span:nth-child(2) { height: 62%; }
.chart span:nth-child(3) { height: 51%; }
.chart span:nth-child(4) { height: 79%; }
.chart span:nth-child(5) { height: 68%; }
.chart span:nth-child(6) { height: 92%; }

.donut-box { padding: 18px 6px; }
.donut {
  width: 126px;
  height: 126px;
  margin: 21px auto 18px;
  border-radius: 50%;
  background: conic-gradient(var(--green-deep) 0 48%, var(--green) 48% 73%, #a7c77e 73% 89%, #e0ead3 89% 100%);
  position: relative;
}

.donut::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; background: #fff; }
.donut-legend { display: grid; gap: 6px; color: var(--ink-soft); font-size: 12px; }
.donut-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); }
.donut-legend span:nth-child(2)::before { background: #a7c77e; }
.donut-legend span:nth-child(3)::before { background: #e0ead3; }

.decision-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.decision-step { position: relative; padding: 0 18px; text-align: center; }
.decision-step:not(:last-child)::after { content: "→"; position: absolute; top: 25px; right: -10px; color: var(--green); font-size: 21px; }
.decision-step .step-circle {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border: 1px solid rgba(49,120,39,.55);
  border-radius: 50%;
  color: var(--green);
  background-color: #fff;
  font-size: 0;
}
.decision-step .step-circle::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-image: url("../images/icons/icon-decision-steps-image2.png");
  background-repeat: no-repeat;
  background-size: 750% auto;
}
.decision-step:nth-child(1) .step-circle::before { background-position: 4% 42%; }
.decision-step:nth-child(2) .step-circle::before { background-position: 27% 42%; }
.decision-step:nth-child(3) .step-circle::before { background-position: 50% 42%; }
.decision-step:nth-child(4) .step-circle::before { background-position: 73% 42%; }
.decision-step:nth-child(5) .step-circle::before { background-position: 96% 42%; }
.decision-step h3 { margin: 15px 0 5px; color: var(--green-dark); font-size: 16px; }
.decision-step p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }

.case-chain { margin-top: 42px; }
.case-chain .path-node { border-radius: var(--radius); min-height: 170px; }
.case-chain .path-node:not(:last-child)::after { right: -30px; }

.case-banner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 37px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.case-banner article { padding: 37px 43px; }
.case-banner article + article { border-left: 1px solid var(--line); }
.case-banner h3 { margin: 0; color: var(--green-dark); font-size: 23px; }
.case-banner p { margin: 10px 0 0; color: var(--ink-soft); font-size: 16px; }

.case-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  min-height: 430px;
  padding: 14px 14px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.case-card .case-image {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: 12px;
  color: #a4aea6;
  background: linear-gradient(145deg, #f4f7f4, #e6ece7);
  font-size: 17px;
  letter-spacing: .08em;
}

.case-card h3 { margin: 22px 4px 8px; color: var(--green-dark); font-size: 21px; }
.case-card > p { margin: 0 4px 17px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.case-card dl { display: grid; gap: 0; margin: 0 4px; }
.case-card dl div { display: grid; grid-template-columns: 105px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 16px; }
.case-card dt { color: var(--green); font-weight: 700; }
.case-card dd { margin: 0; color: var(--ink-soft); }

.case-detail-list { display: grid; gap: 0; margin-top: 35px; }
.case-detail-row { display: grid; grid-template-columns: 120px minmax(0, .75fr) minmax(0, 1.25fr); gap: 30px; align-items: center; padding: 29px 0; border-top: 1px solid var(--line); }
.case-detail-row .detail-icon { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgba(49,120,39,.47); border-radius: 50%; color: var(--green); font-size: 24px; }
.case-detail-row .detail-icon.is-image-icon {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.case-detail-row .detail-icon.is-image-icon img { width: 64px; height: 64px; }
.case-detail-row h3 { margin: 0; color: var(--green-dark); font-size: 24px; }
.case-detail-row p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.case-detail-row ul { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }

.contact-inner-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 85px;
  align-items: start;
}

.contact-message h2 { max-width: 520px; }
.contact-message > p { max-width: 430px; margin: 22px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.9; }
.contact-info { display: grid; gap: 0; margin-top: 42px; }
.contact-info div { padding: 21px 0; border-top: 1px solid var(--line); }
.contact-info dt { color: var(--green); font-size: 16px; font-weight: 700; }
.contact-info dd { margin: 5px 0 0; color: var(--ink-soft); font-size: 16px; }
.contact-form.large-form { padding: 43px; }
.contact-form.large-form h3 { font-size: 25px; }
.contact-form .required-mark { color: var(--green); }

.thanks-panel {
  display: none;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  max-width: 780px;
  margin-inline: auto;
  padding: 42px 55px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

body:has(.wpcf7-form.sent) .thanks-panel { display: grid; }
.apex-page--contact > .inner-section.soft { display: none; }
body:has(.wpcf7-form.sent) .apex-page--contact > .inner-section.soft { display: block; }

.thanks-mark { display: grid; place-items: center; width: 120px; height: 120px; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 54px; }
.thanks-mark.is-image-icon {
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.thanks-mark.is-image-icon img { width: 96px; height: 96px; }
.thanks-panel h2 { font-size: 29px; }
.thanks-panel p { margin: 13px 0 0; color: var(--ink-soft); font-size: 16px; }

.inner-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
}

.inner-cta-inner {
  position: relative;
  display: block;
  text-align: center;
  min-height: 270px;
  padding-block: 55px;
}

.inner-cta .wp-block-button { display: none; }

.inner-cta h2,
.inner-cta .wp-block-heading {
  margin: .83em 0;
  color: #fff;
  font-size: clamp(29px, 3.2vw, 48px);
  line-height: 1.8;
}
.inner-cta p,
.inner-cta .wp-block-paragraph {
  max-width: 700px;
  margin: 15px auto 0;
  color: #d5e6d7;
  font-size: 18px;
  line-height: 1.8;
}
.inner-cta .button { position: relative; z-index: 1; flex: 0 0 auto; }
.inner-cta::after { content: "A"; position: absolute; right: 5%; bottom: -90px; color: rgba(255,255,255,.08); font-size: 280px; line-height: 1; font-weight: 900; }

@media (max-width: 1000px) {
  .page-hero, .page-hero-inner { min-height: 390px; }
  .page-hero::after { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.82) 58%, rgba(255,255,255,.2) 100%); }
  .split-block, .split-block.reverse, .service-row, .analysis-block, .risk-layout, .data-layout, .contact-inner-layout { grid-template-columns: 1fr; gap: 42px; }
  .split-block.reverse .split-copy, .split-block.reverse .split-media, .service-row.reverse .service-row-copy, .service-row.reverse .service-row-media { order: initial; }
  .service-row { padding: 42px 0; }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .value-strip article:nth-child(2) { border-right: 0; }
  .value-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .path-chain { gap: 33px; }
  .path-node:not(:last-child)::after { right: -31px; }
  .process-cards { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .process-cards .process-card:nth-child(2)::after { display: none; }
  .process-cards .process-card:nth-child(-n+2) { margin-bottom: 20px; }
  .case-detail-row { grid-template-columns: 90px 1fr; }
  .case-detail-row > :last-child { grid-column: 2; }
  .inner-cta-inner { display: block; }
  .inner-cta .button { margin-top: 28px; }
}

@media (max-width: 700px) {
  .page-hero, .page-hero-inner { min-height: 490px; }
  .page-hero { background-position: 66% center; }
  .page-hero::after { background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.72) 100%); }
  .page-hero-copy { padding: 55px 0; }
  .page-hero h1 { font-size: 42px; }
  .page-hero .page-subtitle.wp-block-paragraph { font-size: 20px; }
  .inner-section { padding: 70px 0; }
  .inner-heading { margin-bottom: 34px; }
  .inner-heading h2, .inner-section h2 { font-size: 30px; }
  .split-copy h3 { font-size: 25px; }
  .feature-grid, .about-collaboration, .stage-cards, .case-grid-inner, .case-banner { grid-template-columns: 1fr; }
  .feature-card, .collaboration-card, .inner-stage-card { padding: 28px 24px; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip article, .value-strip article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip article:last-child { border-bottom: 0; }
  .team-profile { grid-template-columns: 1fr; gap: 30px; padding: 25px; }
  .team-profile img { max-width: 360px; }
  .path-chain { grid-template-columns: 1fr; gap: 13px; }
  .path-node { min-height: 130px; border-radius: var(--radius); }
  .path-node:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -24px; left: 50%; transform: translateX(-50%); }
  .process-cards { grid-template-columns: 1fr; }
  .process-cards .process-card:nth-child(-n+2) { margin-bottom: 0; }
  .process-cards .process-card::after { display: none; }
  .comparison-table { min-width: 650px; }
  .competitor-wheel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
    padding: 18px;
    background: linear-gradient(145deg, #fff 0%, rgba(233,242,223,.2) 100%);
  }
  .competitor-wheel::before,
  .competitor-wheel::after { display: none; }
  .competitor-wheel-center {
    position: static;
    grid-column: 1 / -1;
    width: 132px;
    height: 132px;
    margin: 0 auto 5px;
    transform: none;
  }
  .competitor-wheel-center {
    box-shadow: 0 0 0 14px rgba(233,242,223,.8), 0 14px 28px rgba(0,59,34,.16);
  }
  .competitor-wheel-center p { font-size: 17px; }
  .competitor-axis,
  .competitor-axis--1,
  .competitor-axis--2,
  .competitor-axis--3,
  .competitor-axis--4,
  .competitor-axis--5,
  .competitor-axis--6 {
    position: static;
    width: auto;
    min-height: 104px;
    transform: none;
  }
  .competitor-axis::after { display: none; }
  .analysis-block.operating-model-block { padding-bottom: 32px; }
  .operating-model-wrap { margin-top: 4px; }
  .operating-model-table { min-width: 700px; font-size: 18px; }
  .operating-model-table th,
  .operating-model-table td { padding: 13px 14px; }
  .risk-layout { gap: 32px; }
  .risk-level, .risk-level:nth-child(2), .risk-level:nth-child(3), .risk-level:nth-child(4) { width: 100%; margin-inline: 0; }
  .data-panels { grid-template-columns: 1fr; padding: 16px; }
  .chart-box { border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-timeline { grid-template-columns: 1fr; gap: 19px; }
  .decision-step { display: grid; grid-template-columns: 54px 1fr; gap: 15px; text-align: left; align-items: center; padding: 0; }
  .decision-step .step-circle { grid-row: span 2; margin: 0; }
  .decision-step h3 { margin: 0; }
  .decision-step:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -21px; left: 19px; transform: none; }
  .case-chain .path-node { min-height: 130px; }
  .case-banner article { padding: 28px 24px; }
  .case-banner article + article { border-top: 1px solid var(--line); border-left: 0; }
  .case-detail-row { grid-template-columns: 65px 1fr; gap: 18px; }
  .case-detail-row .detail-icon { width: 58px; height: 58px; }
  .case-detail-row > :last-child { grid-column: 2; }
  .contact-form.large-form { padding: 25px 18px; }
  .thanks-panel { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .thanks-mark { width: 90px; height: 90px; font-size: 39px; }
  .thanks-mark.is-image-icon,
  .thanks-mark.is-image-icon img { width: 76px; height: 76px; }
}

@media (max-width: 430px) {
  .competitor-wheel { grid-template-columns: 1fr; }
  .competitor-wheel-center { grid-column: 1; }
  .competitor-axis,
  .competitor-axis--1,
  .competitor-axis--2,
  .competitor-axis--3,
  .competitor-axis--4,
  .competitor-axis--5,
  .competitor-axis--6 { min-height: 0; }
}
