:root {
  --ink: #111111;
  --ink-2: #1b1b1b;
  --text: #4f4f4f;
  --muted: #727272;
  --line: #e1e1e1;
  --line-strong: #c9c9c9;
  --paper: #ffffff;
  --paper-2: #fcfcfc;
  --soft: #f7f7f7;
  --soft-2: #efefef;
  --orange: #f57e35;
  --orange-dark: #b64b10;
  --blue: #0d6fc2;
  --dark: #0b0e13;
  --dark-2: #14181f;
  --max: 1200px;
  --gutter: 32px;
  --duration: 240ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.nobr { display: inline; white-space: nowrap; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ====== Header (shared chrome) ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 22px; width: auto; }

.global-nav { display: flex; align-items: stretch; gap: 28px; color: var(--ink); }

.global-nav a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  color: var(--ink);
}

.global-nav .nav-en {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: color var(--duration) var(--ease);
}

.global-nav .nav-ja {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--muted);
  transition: color var(--duration) var(--ease);
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transform: translateX(-50%);
  transition: width var(--duration) var(--ease);
}

.global-nav a:hover::after,
.global-nav .is-current::after { width: 100%; }

.global-nav a:hover .nav-en,
.global-nav .is-current .nav-en { color: var(--orange); }

.global-nav a:hover .nav-ja { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-contact {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 0 22px;
  background: var(--ink);
  color: #ffffff;
  transition: background var(--duration) var(--ease);
}

.header-contact .nav-en {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-transform: uppercase;
}

.header-contact .nav-ja {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
}

.header-contact:hover { background: var(--orange); }
.header-contact:hover .nav-ja { color: rgba(255, 255, 255, 0.9); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ====== Buttons ====== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.button .arrow { display: inline-block; transition: transform var(--duration) var(--ease); }
.button:hover .arrow { transform: translateX(3px); }

.button.primary { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.button.primary:hover { background: var(--orange); border-color: var(--orange); }

.button.primary-light { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.button.primary-light:hover { background: var(--orange); color: #ffffff; border-color: var(--orange); }

.button.ghost-light { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.5); }
.button.ghost-light:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.08); }

.button.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.ghost:hover { border-color: var(--ink); background: var(--ink); color: #ffffff; }

.button.small { min-height: 46px; padding: 0 18px; font-size: 13.5px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ====== Page hero (full-bleed dark, matches site /service/) ====== */
.page-hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/marketing-service/marketing-hero-growth-dashboard.png");
  background-size: cover;
  background-position: center right;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.94) 0%, rgba(7, 10, 16, 0.8) 32%, rgba(7, 10, 16, 0.4) 66%, rgba(7, 10, 16, 0.66) 100%),
    linear-gradient(180deg, rgba(7, 10, 16, 0.2) 0%, rgba(7, 10, 16, 0.58) 100%);
  z-index: -1;
}

.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 56px;
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px var(--gutter) 96px;
}

.page-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mk-breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.mk-breadcrumb a { color: rgba(255, 255, 255, 0.74); transition: color var(--duration) var(--ease); }
.mk-breadcrumb a:hover { color: var(--orange); }
.mk-breadcrumb span { margin: 0 8px; color: rgba(255, 255, 255, 0.32); }

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.22em;
}

.page-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--orange);
}

.page-hero h1 {
  margin: 0 0 26px;
  color: #ffffff;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.page-hero .lead {
  margin: 0 0 30px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
}

.mk-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.mk-hero-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 14, 22, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mk-hero-card-head {
  padding: 24px 24px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mk-hero-card-head .eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  letter-spacing: 0.18em;
}

.mk-hero-card-head .eyebrow::before { display: none; }

.mk-hero-card-head h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
}

.mk-hero-card-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.85;
}

.mk-hero-card-list {
  flex: 1;
  display: grid;
  grid-auto-rows: 1fr;
}

.mk-hero-card-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mk-hero-card-list div:last-child { border-bottom: 0; }

.mk-hero-card-list strong { color: #ffffff; font-size: 15px; font-weight: 800; }

.mk-hero-card-list span {
  color: var(--orange);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ====== Anchor strip ====== */
.mk-anchors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.mk-anchors a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.mk-anchors a::after {
  content: "↓";
  color: var(--orange);
  font-size: 13px;
  transition: transform var(--duration) var(--ease);
}

.mk-anchors a:hover { background: var(--ink); color: #ffffff; }
.mk-anchors a:hover::after { transform: translateY(2px); }

/* ====== Sections ====== */
.section {
  position: relative;
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}

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

.section-head {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

.section-head .summary {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
}

/* ====== Overview ====== */
.mk-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 48px;
  align-items: center;
}

.mk-shot {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 28px 60px -42px rgba(0, 0, 0, 0.32);
}

.mk-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.mk-shot figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mk-shot figcaption::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.mk-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.mk-matrix article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 168px;
  padding: 26px 24px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mk-matrix .num {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mk-matrix h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}

.mk-matrix p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.85;
}

/* ====== Service areas ====== */
.mk-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mk-area {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.mk-area:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.26);
  transform: translateY(-3px);
}

.mk-area-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef0f3;
  overflow: hidden;
}

.mk-area-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration) var(--ease);
}

.mk-area:hover .mk-area-thumb img { transform: scale(1.03); }

.mk-area-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 55%, rgba(8, 10, 14, 0.18) 100%);
}

.mk-area-no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  background: rgba(11, 14, 19, 0.82);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.mk-area-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 24px;
}

.mk-area-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}

.mk-area-body p {
  margin: 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.9;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.tag {
  display: inline-flex;
  padding: 5px 11px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ====== Approach (numbered chain) ====== */
.mk-chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding-top: 6px;
}

.mk-chain::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 31px;
  right: 31px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 7px, transparent 7px 15px);
  z-index: 0;
}

.mk-chain-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mk-chain-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--orange);
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.mk-chain-marker::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(245, 126, 53, 0.22);
}

.mk-chain-body { display: flex; flex-direction: column; gap: 10px; padding-right: 8px; }

.mk-chain-label {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mk-chain-node h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}

.mk-chain-node p {
  margin: 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ====== Consultation themes ====== */
.mk-themes {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

.mk-theme {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) auto;
  gap: 32px;
  align-items: center;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}

.mk-theme:last-child { border-bottom: 0; }

.mk-theme-label {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mk-theme h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
}

.mk-theme p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

.mk-theme .button { white-space: nowrap; }

/* ====== Contact CTA ====== */
.mk-cta {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #1d2229;
}

.mk-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/marketing-service/marketing-contact-cta-dark.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.mk-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 16, 0.92) 0%, rgba(7, 10, 16, 0.74) 48%, rgba(7, 10, 16, 0.5) 100%);
  z-index: -1;
}

.mk-cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}

.mk-cta .eyebrow { color: var(--orange); }

.mk-cta h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.24;
}

.mk-cta p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.95;
}

.mk-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 248px;
}

.mk-cta-actions .button { width: 100%; }

/* ====== Footer (shared chrome) ====== */
.footer {
  background: #0b0b0c;
  color: #c9c9c9;
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .footer-logo { display: inline-flex; align-items: center; margin-bottom: 18px; }
.footer-brand .footer-logo img { height: 24px; width: auto; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 13px; line-height: 1.85; }

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

/* ====== Responsive ====== */
@media (max-width: 1366px) {
  .section { padding: 92px 0; }
  .page-hero-inner { padding: 88px var(--gutter) 80px; gap: 48px; }
  .mk-areas { gap: 20px; }
}

@media (max-width: 1100px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; margin-bottom: 44px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .mk-overview { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .mk-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-theme { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 28px; }
  .mk-theme .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .global-nav, .header-contact { display: none; }
  .menu-toggle { display: inline-flex; }
  .section { padding: 76px 0; }
  .page-hero-inner { padding: 68px var(--gutter) 60px; }
  .mk-anchors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-chain { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .mk-chain::before { display: none; }
  .mk-chain-node {
    flex-direction: row;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .mk-chain-node:first-child { border-top: 0; padding-top: 0; }
  .mk-chain-marker { flex: none; }
  .mk-chain-body { padding-right: 0; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .page-hero-inner { padding: 52px var(--gutter) 48px; }
  .section-head h2 { font-size: 27px; }
  .mk-anchors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-areas { grid-template-columns: 1fr; }
  .mk-matrix { grid-template-columns: 1fr; }
  .mk-theme { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .mk-cta .container { grid-template-columns: 1fr; gap: 30px; padding-top: 64px; padding-bottom: 64px; }
  .mk-cta-actions { min-width: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .button { min-height: 54px; font-size: 14.5px; padding: 0 22px; }
  .mk-hero-actions .button { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .mk-hero-actions { flex-direction: column; align-items: stretch; }
  .mk-hero-actions .button { width: 100%; }
  .mk-anchors { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}