/* Blue editorial visual layer. The existing copy, section order and interactions stay in place. */
:root {
  --mk-blue: #086fbb;
  --mk-ink: #18344d;
  --mk-sub: #536b7d;
  --mk-line: #cbdde9;
  --mk-tint: #edf6fb;
  --ocean: #07558d;
  --deep-ocean: #073b68;
  --sea-mist: #f1f8fc;
}
html { scroll-padding-top: 92px; }
body.mk-redesign { background: #f7fbfd; color: var(--mk-ink); }
body.mk-redesign :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #69d7ff;
  outline-offset: 4px;
}
.mk-body { overflow: clip; letter-spacing: .035em; }
.mk-container, .pp-container { width: min(1220px, calc(100% - 96px)); }

/* A clear navigation overlay lets the sea fill the first screen. */
.mk-header, .mk-header.is-scrolled {
  background: transparent;
  border-color: transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mk-header__inner { max-width: 1500px; height: 88px; padding-inline: 48px; }
.mk-nav { gap: clamp(18px, 2.5vw, 38px); }
.mk-nav a { color: white; font-size: 13px; font-weight: 600; text-shadow: 0 1px 10px #06386480; }
.mk-nav a:hover { color: #d4f4ff; }
.mk-header__contact {
  min-height: 47px; padding: 7px 23px; border-color: #ffffffb8;
  background: #ffffff16; color: white; backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600;
}
.mk-header__contact img { filter: brightness(0) invert(1); }
.mk-header__contact:hover { background: #ffffff35; }
.mk-header.is-scrolled { background: #fffffff2; border-color: #dbe9f1; box-shadow: 0 8px 28px #0b3e6610; backdrop-filter: blur(18px); }
.mk-header.is-scrolled .mk-nav a { color: var(--mk-ink); text-shadow: none; }
.mk-header.is-scrolled .mk-nav a:hover { color: var(--mk-blue); }
.mk-header.is-scrolled .mk-header__contact { color: var(--mk-blue); border-color: var(--mk-blue); background: transparent; }
.mk-header.is-scrolled .mk-header__contact img { filter: none; }

/* The brand is presented as white typography over an original seascape. */
.km-first-view { background: white; }
.km-first-view .km-brand-hero {
  min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center;
  padding: 115px 0 84px; color: white;
  background: radial-gradient(circle at 77% 24%, #8ac9f14d 0%, transparent 34%),
    radial-gradient(circle at 11% 84%, #003c8b75 0%, transparent 43%),
    linear-gradient(125deg, #075aa6 0%, #0875c3 53%, #42a6dd 100%);
  background-size: 115% 115%;
  animation: blue-shift 16s ease-in-out infinite alternate;
}
.km-brand-hero::after { height: 38px; border-radius: 38px 38px 0 0; }
.km-brand-hero .yh-wrap { width: 100%; max-width: 1250px; padding-inline: 48px; }
.km-brand-hero__title { width: min(100%, 900px); max-width: 900px; margin: 0 auto 44px; }
.km-wordmark { justify-content: center; gap: 2%; filter: drop-shadow(0 8px 22px #064b7d55); }
.km-wordmark__symbol { flex-basis: 18%; width: 18%; filter: brightness(0) invert(1); }
.km-wordmark__type { flex: 0 1 auto; gap: 16px; }
.km-wordmark__name, .km-wordmark__accent, .km-wordmark__tagline { color: white; }
.km-wordmark__name { font-size: 7.2cqw; font-weight: 500; letter-spacing: .075em; }
.km-wordmark__tagline { font-size: 2.05cqw; font-weight: 500; letter-spacing: .2em; }
.km-wordmark__tagline::before, .km-wordmark__tagline::after { background: #ffffffa3; }
.km-brand-hero .yh-cta { margin-top: 46px; gap: 16px; }
.km-brand-hero .yh-btn { min-height: 58px; padding-inline: 32px; font-size: 14px; font-weight: 600; }
.km-brand-hero .yh-btn-main { color: #075487; background: white; box-shadow: 0 12px 32px #002e5c28; }
.km-brand-hero .yh-btn-main:hover { background: #e8f8ff; }
.km-brand-hero .yh-btn-white { color: white; background: #ffffff14; border: 1px solid #ffffffc9; backdrop-filter: blur(10px); }
.km-brand-hero .yh-btn-white:hover { background: #ffffff34; }
.km-brand-hero .yh-btn:focus-visible { outline-color: white; }

/* Results read like a quiet editorial data strip, rather than award medals. */
.km-awards { max-width: none; padding: 62px 48px 82px; background: white; }
.km-awards__grid { width: min(960px, 100%); max-width: none; gap: 0; }
.km-awards__item { aspect-ratio: auto; min-height: 142px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.km-awards__item + .km-awards__item { border-left: 1px solid #d6e7f1; }
.km-awards__item img { display: none; }
.km-awards__number { position: static; display: block; color: var(--mk-blue); font: 400 clamp(44px, 5vw, 72px)/1.1 'Noto Serif JP', serif; letter-spacing: -.05em; }
.km-awards__number span { display: inline; margin: 0 0 0 3px; color: inherit; font-size: .45em; }
.km-awards__item figcaption { position: static; padding-top: 14px; color: var(--mk-ink); font: 500 13px/1.6 var(--mk-font); letter-spacing: .1em; }
.km-results-note { margin-top: 12px; color: #6a7f8f; }

/* Spacious chapters and restrained type echo the reference's story-like scroll. */
.mk-body :is(.mk-story, .mk-report, .mk-audio, .pp-section, .mk-contact) { scroll-margin-top: 86px; }
.mk-story { width: 100%; max-width: none; min-height: 760px; margin: 0; padding: 130px max(48px, calc((100vw - 1220px)/2)) 135px; grid-template-columns: 43% 57%; gap: 0; background: var(--sea-mist); }
.mk-story__copy { align-self: center; padding-right: 32px; }
.mk-body .mk-story h2 { color: var(--deep-ocean); font-size: clamp(35px, 3.4vw, 54px); line-height: 1.58; font-weight: 500; letter-spacing: .09em; }
.mk-story__copy p { font-size: 16px; line-height: 2.25; margin-top: 40px; }
.mk-story__photos { height: 530px; align-self: center; }
.mk-story__main-photo { height: 490px; border-radius: 28px; box-shadow: 0 28px 70px #0d477023; }
.mk-story__small-photo { bottom: -22px; right: -22px; width: 39%; border-radius: 24px; border: 6px solid var(--sea-mist); box-shadow: 0 12px 32px #0d477026; }

.mk-report {
  margin: 0; padding: 135px 0 155px; color: white;
  background: radial-gradient(circle at 85% 10%, #4eb4ed4a, transparent 37%),
    linear-gradient(145deg, #0a71bc, #063c79 72%);
}
.mk-report__inner { width: min(1220px, calc(100% - 96px)); grid-template-columns: 1.12fr .88fr; gap: clamp(48px, 6vw, 100px); }
.mk-wave { display: none; }
.mk-report__example { padding: 16px; border: 1px solid #ffffff61; border-radius: 28px; background: #ffffff20; backdrop-filter: blur(16px); box-shadow: 0 24px 70px #002b5880; }
.mk-report__example figcaption { color: white; background: #ffffff2e; margin: 0 0 12px 6px; }
.mk-report__example img { border-radius: 15px; box-shadow: none; }
.mk-body .mk-report__copy h2 { color: white; font-size: clamp(29px, 2.8vw, 43px); line-height: 1.6; font-weight: 500; white-space: normal; }
.mk-report__copy>p { margin: 34px 0 22px; font-size: 17px; line-height: 2.25; }
.mk-report__copy .mk-text-link { color: white; border-color: #ffffffb5; }
.mk-report__copy .mk-text-link img { filter: brightness(0) invert(1); }
.mk-report__details { color: #f0f9ff; margin-top: 50px; }
.mk-report__details summary { border-color: #ffffff8c; }
.mk-body .mk-report__detail-grid h3 { color: white; }
.mk-report .mk-note { color: #d8ebf6; }

.mk-audio { padding-top: 135px; padding-bottom: 140px; background: #fff; }
.mk-body .mk-audio h2 { color: var(--deep-ocean); font-size: clamp(32px, 3vw, 44px); font-weight: 500; }
.mk-tracks { margin-top: 62px; }
.mk-track { min-height: 96px; border-bottom: 1px solid #d6e6f0; }
.mk-track:first-child { border-top: 1px solid #d6e6f0; }
.mk-track__play { background: var(--ocean); }
.mk-audio>.mk-button { background: var(--ocean); }

/* Proposal content keeps every number and explanation, with a calmer visual rhythm. */
.pp-content { --pp-blue: #086fbb !important; --pp-navy: #18344d !important; --pp-pale: #edf6fb !important; }
.pp-section { padding-block: clamp(96px, 9vw, 148px); background: #fff; }
.pp-section:nth-child(even) { background: var(--sea-mist); }
.pp-label { color: var(--mk-blue); font-size: 12px; font-weight: 600; letter-spacing: .2em; }
.mk-body .pp-title, .mk-body .pr-title { color: var(--deep-ocean); font-size: clamp(32px, 3vw, 46px); line-height: 1.53; font-weight: 500; letter-spacing: .05em; }
.pp-intro, .pr-intro { color: var(--mk-sub); font-size: 16px; line-height: 2; }
.pp-content h3 { color: var(--mk-ink); }
.pp-content :is(.pp-note, .pr-price-condition) { color: #60798b; }
.pr-heading { margin-bottom: 58px; }
.pr-heading--rule .pr-title { border-bottom-color: var(--mk-blue); }

/* The six service steps are translucent panes in a blue scene. */
.pp-content .pr-process {
  color: white;
  background: radial-gradient(circle at 8% 84%, #58b9e348, transparent 37%),
    linear-gradient(150deg, #064b8d, #043568 76%);
}
.pr-process .pr-heading { max-width: 960px; margin: 0 auto 62px; text-align: center; }
.mk-body .pr-process .pr-title, .pr-process .pr-intro { color: white; }
.pr-process .pr-intro { opacity: .9; }
.pr-process-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 70px; }
.pr-process-cards>li {
  min-height: 266px; padding: 44px 24px 24px; color: white;
  border: 1px solid #ffffff60; border-radius: 26px;
  background: #ffffff19; backdrop-filter: blur(15px); box-shadow: inset 0 1px #ffffff52, 0 18px 40px #00275322;
}
.pr-step-number { top: -18px; width: 38px; height: 38px; color: var(--deep-ocean); background: white; font-size: 13px; }
.pr-process-cards h3 { color: white; font-weight: 600; }
.pr-process-icon { width: 76px; height: 76px; margin: 18px auto 13px; background: #ffffffdc; }
.pr-process-icon>img { width: 49px; height: 49px; }
.pr-process-cards li>p { color: #f2f9ff; font-size: 13px; line-height: 1.7; }
.pr-process-next { display: none; }
.pr-process-closing { margin-top: 50px; color: white; background: #ffffff17; border-color: #ffffff61; border-radius: 20px; font-weight: 500; }

.pr-backgrounds>article, .pr-market-panels>article, .pr-partner-panel, .pr-flow-cards>li,
.pr-model-panels>article, .pp-company-grid>article {
  border-color: #c8dce9; border-radius: 26px; background: #ffffffc9;
  box-shadow: 0 14px 36px #1149710b;
}
.pr-backgrounds>article { padding: 28px; }
.pr-market-panels { gap: 50px; }
.pr-market-panels>article { border-radius: 30px; }
.pr-panel-tab { border-radius: 100px; font-weight: 600; }
.pr-market-price { background: #e5f4fc; border-radius: 20px; }
.pr-comparison-table tbody th, .pr-comparison-table td { border-radius: 0; }
.pr-comparison-table thead th { border-radius: 0; }
.pr-comparison-table thead th:first-child { border-radius: 12px 0 0 0; }
.pr-comparison-table thead th:last-child { border-radius: 0 12px 0 0; }
.pr-partner-panel { padding: 42px 36px; }
.pr-cases, .pp-company { background: var(--sea-mist); }
.pp-company-grid { gap: 24px; }
.pp-company-grid>article { padding: 30px; }
.pp-faq details { border-color: #cbdeea; }

/* The conversion area returns to white, then the footer closes in deep navy. */
.mk-contact { width: min(1220px, calc(100% - 96px)); gap: 100px; padding-block: 150px; background: #fff; }
.mk-contact .mk-section-heading h2 { color: var(--deep-ocean); font-size: clamp(30px, 2.75vw, 39px); line-height: 1.55; letter-spacing: .04em; white-space: nowrap; }
.mk-eyebrow { font-weight: 600; letter-spacing: .18em; }
.field input, .field select, .field textarea { border-color: #d2e3ed; background: #f1f8fc; border-radius: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { background: white; }
.contact__submit { background: var(--ocean); }
.mk-footer { width: 100%; max-width: none; padding: 75px max(48px, calc((100vw - 1220px)/2)) 42px; color: white; background: #112b42; border: 0; }
.mk-footer nav a:hover { color: #9de1ff; }
.mk-footer>small { color: #b8cbd8; }

@media (max-width: 1100px) {
  .mk-story { padding-inline: 48px; }
  .mk-story__photos { height: 470px; }
  .mk-story__main-photo { height: 435px; }
  .mk-report__inner { gap: 42px; }
  .pr-process-cards { gap: 18px; }
  .pr-process-cards>li { padding-inline: 14px; }
  .mk-contact { gap: 54px; }
}
@media (max-width: 800px) {
  .mk-container, .pp-container, .mk-report__inner, .mk-contact { width: calc(100% - 44px); }
  .mk-header__inner { height: 72px; padding-inline: 22px; }
  .mk-menu-button { background: #ffffff1f; border: 1px solid #ffffff9e; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; backdrop-filter: blur(10px); }
  .mk-menu-button img { filter: brightness(0) invert(1); }
  .mk-header.is-scrolled .mk-menu-button { background: white; border-color: #cbdde9; }
  .mk-header.is-scrolled .mk-menu-button img { filter: none; }
  .mk-menu { top: 67px; }
  .km-first-view { min-height: 0; display: block; }
  .km-first-view .km-brand-hero { min-height: 100svh; padding: 110px 0 92px; }
  .km-first-view .km-brand-hero__title { width: 100%; max-width: 620px; margin: 0 auto 35px; }
  .km-brand-hero .yh-wrap { padding-inline: 22px; }
  .km-wordmark { gap: 3%; }
  .km-wordmark__symbol { flex-basis: 21%; width: 21%; }
  .km-wordmark__name { font-size: 7.1cqw; }
  .km-wordmark__tagline { font-size: 2.35cqw; }
  .km-first-view .km-awards { width: 100%; padding: 44px 22px 66px; }
  .km-awards__grid { max-width: 700px; }
  .km-awards__item { min-height: 120px; }
  .km-awards__number { font-size: clamp(35px, 6vw, 58px); }
  .mk-story { display: block; min-height: 0; padding: 105px 22px; }
  .mk-story__copy { padding-right: 0; }
  .mk-body .mk-story h2 { font-size: clamp(30px, 6vw, 42px); line-height: 1.65; }
  .mk-story__copy p { margin-top: 28px; font-size: 15px; }
  .mk-story__photos { height: 460px; margin: 48px 0 0; }
  .mk-story__main-photo { height: 420px; border-radius: 25px; }
  .mk-story__small-photo { right: 6px; bottom: 0; }
  .mk-report { padding: 105px 0 115px; }
  .mk-report__inner { flex-direction: column-reverse; gap: 42px; }
  .mk-body .mk-report__copy h2 { font-size: clamp(28px, 5vw, 39px); }
  .mk-report__details { margin-top: 42px; }
  .mk-audio { padding-top: 100px; padding-bottom: 100px; }
  .mk-body .mk-audio h2 { font-size: clamp(28px, 5vw, 38px); }
  .pp-section { padding-block: 90px; }
  .mk-body .pp-title, .mk-body .pr-title { font-size: clamp(28px, 5vw, 38px); }
  .pr-process-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .pr-process-cards>li { min-height: 245px; }
  .mk-contact { padding-block: 110px; }
  .mk-contact .mk-section-heading br { display: initial; }
  .mk-footer { padding: 65px 22px 35px; }
}
@media (max-width: 600px) {
  .mk-header__contact { min-height: 43px; padding-inline: 15px; gap: 10px; font-size: 11px; }
  .km-first-view .km-brand-hero { min-height: 100svh; flex: none; padding: 104px 0 65px; }
  .km-first-view .km-brand-hero__title { max-width: 380px; margin: 0 auto 36px; }
  .km-wordmark__symbol { flex-basis: 21%; width: 21%; }
  .km-wordmark__type { gap: 8px; }
  .km-wordmark__name { font-size: 7.2cqw; }
  .km-wordmark__tagline { font-size: 2.18cqw; letter-spacing: .1em; }
  .km-brand-hero .yh-cta { flex-direction: row; gap: 10px; margin-top: 0; }
  .km-first-view .yh-cta .yh-btn { min-height: 46px; padding-inline: 17px; font-size: 12px; }
  .yh-btn-main i { width: 25px; height: 25px; margin-right: -9px; }
  .km-awards { padding-top: 44px; }
  .km-awards__grid { width: 100%; max-width: none; gap: 0; }
  .km-awards__item { min-height: 100px; }
  .km-awards__number { font-size: clamp(32px, 8vw, 45px); }
  .km-awards__item figcaption { font-size: 10px; white-space: normal; letter-spacing: .01em; }
  .km-results-note { margin-top: 18px; font-size: 10px; }
  .mk-story { padding-block: 90px 100px; }
  .mk-body .mk-story h2 { font-size: clamp(28px, 7vw, 36px); letter-spacing: .055em; white-space: normal; }
  .mk-story__copy p { font-size: 14px; white-space: normal; }
  .mk-story__photos { height: 340px; margin-top: 42px; }
  .mk-story__main-photo { height: 305px; }
  .mk-story__small-photo { width: 45%; border-width: 4px; }
  .mk-report { padding-block: 92px 100px; }
  .mk-body .mk-report__copy h2 { font-size: 28px; }
  .mk-report__copy>p { font-size: 15px; margin-top: 22px; }
  .mk-report__example { padding: 9px; border-radius: 18px; }
  .mk-report__example img { border-radius: 11px; }
  .mk-report__detail-grid { gap: 28px; }
  .mk-audio { padding-block: 92px; }
  .mk-track { min-height: 108px; }
  .pp-section { padding-block: 78px; }
  .pr-process-cards { gap: 40px 14px; margin-top: 58px; }
  .pr-process-cards>li { min-height: 225px; padding: 35px 9px 19px; border-radius: 18px; }
  .pr-step-number { width: 34px; height: 34px; top: -17px; }
  .pr-process-icon { width: 66px; height: 66px; }
  .pr-process-icon>img { width: 42px; height: 42px; }
  .pr-process-cards h3 { font-size: 14px; }
  .pr-process-cards li>p { font-size: 11px; }
  .pr-process-closing { font-size: 13px; }
  .pr-backgrounds>article, .pr-partner-panel, .pp-company-grid>article { padding: 22px; }
  .mk-contact { padding-block: 92px; }
  .mk-contact .mk-section-heading h2 { font-size: clamp(25px, 6vw, 30px); }
  .mk-footer { padding-block: 60px 32px; }
}
@media (max-width: 390px) {
  .km-brand-hero .yh-cta { flex-direction: column; }
  .km-first-view .yh-cta .yh-btn { width: min(260px, 100%); }
  .mk-story__photos { height: 300px; }
  .mk-story__main-photo { height: 265px; }
  .pr-process-cards>li { min-height: 215px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@keyframes blue-shift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

/* Scroll entrances follow the reference's blur-to-clear, upward motion. */
.motion-enabled [data-reveal] {
  opacity: 0;
  filter: blur(11px);
  transform: translate3d(0, 26px, 0);
  transition: opacity .8s cubic-bezier(.2,.7,.25,1),
    filter .95s cubic-bezier(.2,.7,.25,1),
    transform .95s cubic-bezier(.2,.7,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-enabled [data-reveal].is-in-view { opacity: 1; filter: blur(0); transform: none; }
.motion-enabled .km-brand-hero__title { animation: hero-appear 1.1s cubic-bezier(.2,.7,.25,1) both; }
.motion-enabled .km-brand-hero .yh-cta { animation: hero-appear 1s .25s cubic-bezier(.2,.7,.25,1) both; }
@keyframes hero-appear {
  from { opacity: 0; filter: blur(12px); transform: translate3d(0, 24px, 0); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .km-first-view .km-brand-hero { animation: none; }
  .motion-enabled [data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
  .motion-enabled .km-brand-hero__title,
  .motion-enabled .km-brand-hero .yh-cta { animation: none; }
}
