/* FLOCSS: Foundation → Layout → Object (Component / Project / Utility).
   js-* are behavior hooks only; is-* are temporary UI states.
   Breakpoints: SP < 768px / tablet 768–1023px / desktop >= 1024px. */
@layer foundation, layout, component, project, utility;

@layer foundation {
  :root {
    --color-blue: #0755a5;
    --color-cyan: #08b6df;
    --color-yellow: #ffe65c;
    --color-orange: #ed6509;
    --color-text: #24201e;
    --color-muted: #65717b;
    --color-line: #a9bec9;
    --color-pale: #eaf6fd;
    --font-ja: 'HiraginoUDSansStd', 'ヒラギノUD角ゴ Std', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    --font-number: 'DIN', 'Roboto Condensed', sans-serif;
    --container: 1100px;
    --header-height: 82px;
    --ease: cubic-bezier(.22, .61, .36, 1);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 28px); scrollbar-gutter: stable; }
  body { margin: 0; color: var(--color-text); background: #fff; font-family: var(--font-ja); font-size: 16px; line-height: 1.8; -webkit-text-size-adjust: 100%; }
  body.is-modal-open, body.is-menu-open { overflow: hidden; }
  h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
  h1, h2, h3, h4 { font-weight: 700; line-height: 1.5; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { cursor: pointer; }
  button { border: 0; }
  button, a, input, select, textarea, summary, [tabindex] { -webkit-tap-highlight-color: transparent; }
  :focus-visible { outline: 3px solid #db8616; outline-offset: 5px; }
  button:disabled { cursor: default; }
  fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
  legend { padding: 0; }
  mark { padding: 0 .12em; background: var(--color-yellow); color: inherit; white-space: nowrap; }
  strong { font-weight: 700; }
  [hidden] { display: none !important; }
  ::selection { color: var(--color-blue); background: #fff0a0; }
  @media (max-width: 1023px) { :root { --header-height: 72px; } }
  @media (max-width: 767px) {
    :root { --header-height: 64px; }
    html { scroll-padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  }
}

@layer layout {
  .l-container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
  .l-header { position: sticky; top: 0; z-index: 50; height: var(--header-height); background: #fff; box-shadow: 0 2px 7px #102e411b; }
  .l-header__inner { width: min(1240px, calc(100% - 64px)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
  .l-header__logo { flex-shrink: 0; display: flex; align-items: center; width: 136px; min-height: 44px; }
  .l-header__nav { margin-left: auto; }
  .l-header__links { display: flex; align-items: center; }
  .l-header__links li + li { border-left: 1px solid #bbc2c6; }
  .l-header__links a { display: block; padding: 7px 20px; font-size: 13px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; }
  .l-header__links a { position: relative; transition: color 180ms; }
  .l-header__links a::after { position: absolute; content: ''; inset: auto 20px 1px; height: 1px; background: var(--color-cyan); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
  .l-header__actions { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
  .l-header__company-logo { width: 64px; }
  .l-main { overflow: clip; }
  .l-footer { margin-top: 90px; padding: 40px 0; background: var(--color-blue); color: #fff; }
  .l-footer__inner { display: flex; justify-content: center; align-items: center; gap: 35px; }
  .l-footer__inner img { width: 82px; }
  .l-footer__inner p { font-size: 18px; font-weight: 600; }
  @media (hover: hover) {
    .l-header__links a:hover { color: var(--color-blue); }
    .l-header__links a:hover::after { transform: scaleX(1); }
  }
  @media (max-width: 1199px) {
    .l-header__inner { gap: 20px; }
    .l-header__links a { padding-inline: 10px; }
    .l-footer { padding-bottom: 88px; }
  }
  @media (max-width: 1023px) {
    .l-header__inner { width: calc(100% - 40px); gap: 18px; }
    .l-header__actions { margin-left: auto; }
    .l-header__nav { display: none; position: absolute; inset: var(--header-height) 0 auto; margin: 0; padding: 20px; background: #fff; box-shadow: 0 8px 12px #102e4115; max-height: calc(100dvh - var(--header-height)); overflow: auto; }
    .l-header__nav.is-open { display: block; }
    .l-header__links { display: block; }
    .l-header__links li + li { border-left: 0; border-top: 1px solid #e1e9ed; }
    .l-header__links a { padding: 15px 12px; font-size: 15px; }
    .l-footer__inner p { font-size: 16px; }
  }
  @media (max-width: 767px) {
    .l-container { width: calc(100% - 40px); }
    .l-header__inner { width: calc(100% - 32px); gap: 12px; }
    .l-header__logo { width: 106px; }
    .l-header__actions { gap: 8px; }
    .l-header__company-logo { width: 56px; }
    .l-footer { margin-top: 64px; padding: 35px 0 calc(140px + env(safe-area-inset-bottom)); }
    .l-footer__inner { flex-direction: column; gap: 20px; text-align: center; }
    .l-footer__inner img { width: 76px; }
    .l-footer__inner p { font-size: 14px; line-height: 1.8; }
  }
  @media (max-width: 374px) {
    .l-header__logo { width: 92px; flex-shrink: 1; }
    .l-header__inner { width: calc(100% - 24px); gap: 6px; }
  }
}

@layer component {
  .c-skip-link { position: fixed; top: 8px; left: 12px; z-index: 150; padding: 8px 18px; color: #fff; background: var(--color-blue); transform: translateY(-150%); }
  .c-skip-link:focus { transform: none; }
  .c-section { margin-top: 110px; }
  .c-section__cta { display: flex; justify-content: center; margin-top: 40px; }
  .c-section-heading { display: flex; align-items: flex-start; gap: 30px; position: relative; margin-bottom: 35px; }
  .c-section-heading h2 { font-size: 27px; line-height: 1.55; letter-spacing: .01em; overflow-wrap: anywhere; }
  .c-section-heading p { margin-top: 10px; font-size: 14px; line-height: 1.8; }
  .c-section-heading__number { flex-shrink: 0; position: relative; min-width: 66px; padding: var(--heading-number-offset, 6px) 0 5px; color: var(--color-blue); font: 700 55px/1 var(--font-number); }
  .c-section-heading__number::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: #437f9a; }
  .c-section-heading--title-only h2 { padding-top: 5px; }
  .c-section-heading--title-only .c-section-heading__number { padding-top: 0; }
  .c-section-heading--illustrated { --heading-art-width: 200px; min-height: 180px; padding-right: calc(var(--heading-art-width) + 30px); align-items: flex-start; }
  .c-section-heading--wide { --heading-art-width: 300px; min-height: 130px; }
  .c-section-heading--pricing { --heading-art-width: 240px; min-height: 150px; }
  .c-section-heading__art { position: absolute; right: 0; bottom: -24px; width: var(--heading-art-width); max-height: none; height: auto; }
  .c-section-heading .c-section-heading__note { font-size: 12px; margin-top: 6px; }
  .c-panel { border: 1px solid #c7c7c7; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px 2px #0000002b; }
  .c-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 56px; padding: 13px 35px; border: 1px solid var(--color-blue); border-radius: 5px; background: var(--color-blue); color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .06em; line-height: 1.6; box-shadow: 0 2px 0 #003b751e; transition: background 180ms, border-color 180ms, box-shadow 180ms; }
  .c-button__arrow { font-size: 22px; font-weight: 400; transition: transform 180ms var(--ease); }
  .c-button--header { flex-shrink: 0; gap: 0; min-height: 44px; padding: 8px 23px; font-size: 13px; }
  .c-menu-button { display: none; width: 44px; height: 44px; flex-shrink: 0; padding: 11px 7px; background: transparent; }
  .c-menu-button span { display: block; height: 2px; width: 27px; margin: 5px 0; background: var(--color-blue); transition: transform 180ms, opacity 180ms; }
  .c-menu-button[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .c-menu-button[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .c-menu-button[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .c-company-heading { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 10px; padding: 9px 20px; background: var(--color-blue); color: #fff; font-size: 20px; letter-spacing: .16em; border-radius: 4px; min-height: 54px; }
  .c-company-heading small { display: block; width: 100%; font-size: 10px; line-height: 1.3; letter-spacing: .05em; text-align: center; }
  .c-company-heading--contracting { background: var(--color-cyan); }
  .c-company-heading__label { display: block; text-align: center; }
  .c-company-icon { width: auto; height: 48px; max-height: none; object-fit: contain; flex-shrink: 0; }
  .c-company-icon--light { height: 42px; filter: brightness(0) invert(1); }
  .c-bullet-list { margin-top: 15px; }
  .c-bullet-list li { position: relative; padding-left: 1.1em; font-size: 15px; line-height: 1.9; }
  .c-bullet-list li::before { content: ''; position: absolute; top: .65em; left: 0; width: .65em; height: .65em; border-radius: 50%; background: var(--color-blue); }
  .c-bullet-list--cyan li::before { background: var(--color-cyan); }
  .c-patent { display: inline-block; margin: 0 0 0 14px; padding: 3px 8px; vertical-align: middle; color: #fff; background: var(--color-orange); border-radius: 2px; font-size: 11px; font-weight: 500; letter-spacing: .08em; }
  .c-diagram { padding: 42px 55px; }
  .c-diagram picture img { width: 100%; }
  .c-diagram--process { padding-inline: 90px; }
  .c-diagram--process picture { display: block; max-width: 850px; margin-inline: auto; }
  .c-badge { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 1px solid var(--color-blue); color: var(--color-blue); font-size: 15px; line-height: 1; font-weight: 600; background: #fff; }
  .c-badge--filled { background: var(--color-blue); color: #fff; }
  .c-inline-logo { display: inline-block; width: 150px; margin-right: 4px; vertical-align: -.08em; }
  .c-rule-heading { display: flex; align-items: center; gap: 12px; color: #1d6287; font-size: 23px; line-height: 1.5; margin-bottom: 25px; font-weight: 700; }
  .c-rule-heading::after { content: ''; flex: 1; height: 1px; min-width: 16px; background: #4887a5; }
  .c-rule-heading small { font-size: .7em; }
  .c-required { color: #cb4e50; margin-left: 8px; font-size: 12px; font-weight: 500; white-space: nowrap; }
  .c-choice { display: block; position: relative; cursor: pointer; }
  .c-choice input { appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 1px solid transparent; border-radius: 3px; cursor: pointer; }
  .c-choice span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid #80a2b5; border-radius: 3px; color: #226582; font-size: 13px; font-weight: 600; line-height: 1.6; transition: background 180ms, border-color 180ms; }
  .c-choice input:checked + span { color: #b95c22; border-color: #eaa66d; background: #fff0df; }
  .c-choice input:focus-visible { outline: none; }
  .c-choice input:focus-visible + span { border-color: #db8616; box-shadow: inset 0 0 0 1px #db8616; }
  .c-more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--color-blue); font-family: var(--font-number); font-weight: 700; font-size: 15px; background: transparent; padding: 0; }
  .c-more-link span { font-size: 22px; transition: transform 180ms var(--ease); }
  .c-dialog { width: min(960px, calc(100% - 48px)); max-height: 85dvh; margin: auto; padding: 0; color: var(--color-text); border: 0; border-radius: 8px; overflow: auto; box-shadow: 0 20px 80px #06254233; }
  .c-dialog::backdrop { background: #132b4280; }
  .c-dialog[open] { animation: dialog-in 180ms var(--ease) both; }
  .c-dialog__inner { position: relative; padding: 60px; }
  .c-dialog__close { position: absolute; top: 12px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 300 30px/1 sans-serif; color: #637c88; background: #fff; transition: background 180ms; }
  .c-dialog__actions { display: flex; justify-content: flex-end; margin-top: 35px; }
  .c-dialog__actions .c-button { min-height: 45px; padding: 8px 32px; font-size: 14px; border-radius: 0; }
  .c-reveal { transition: opacity 450ms var(--ease), transform 450ms var(--ease); }
  .c-reveal.is-pending { opacity: 0; transform: translateY(10px); }
  @keyframes dialog-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
  @media (hover: hover) {
    .c-button:hover { background: #06478c; border-color: #06478c; box-shadow: 0 3px 8px #0043891f; }
    .c-button:hover .c-button__arrow, .c-more-link:hover span { transform: translateX(3px); }
    .c-more-link:hover { color: #03799e; }
    .c-choice:hover span { border-color: var(--color-blue); }
    .c-dialog__close:hover { background: #eef5f8; }
  }
  @media (max-width: 1023px) {
    .c-menu-button { display: block; }
    .c-section-heading h2 { font-size: 25px; }
    .c-section-heading--illustrated { --heading-art-width: 160px; min-height: 160px; padding-right: calc(var(--heading-art-width) + 24px); }
    .c-section-heading--wide { --heading-art-width: 240px; min-height: 130px; }
    .c-section-heading--pricing { --heading-art-width: 190px; min-height: 150px; }
    .c-diagram { padding: 30px 32px; }
  }
  @media (max-width: 767px) {
    .c-section { margin-top: 72px; }
    .c-section-heading { gap: 15px; margin-bottom: 24px; }
    .c-section-heading h2 { font-size: 22px; padding-top: 0; line-height: 1.6; }
    .c-section-heading--title-only h2 { padding-top: 0; }
    .c-section-heading p { font-size: 16px; margin-top: 12px; }
    .c-section-heading__number { min-width: 39px; font-size: 35px; padding-top: var(--heading-number-offset, 3px); }
    .c-section-heading--illustrated { --heading-art-width: 100px; min-height: 0; align-items: flex-start; padding-right: 0; padding-bottom: 150px; }
    .c-section-heading--wide { --heading-art-width: 160px; }
    .c-section-heading--pricing { --heading-art-width: 140px; }
    .c-section-heading__art { bottom: 0; right: 8px; }
    .c-section-heading .c-section-heading__note { font-size: 12px; }
    .c-panel { border-radius: 8px; }
    .c-button { min-height: 52px; padding: 12px 20px; font-size: 16px; }
    .c-button--header { min-height: 40px; padding: 8px 13px; font-size: 12px; white-space: nowrap; }
    .c-section__cta { margin-top: 28px; }
    .c-section__cta .c-button { width: 100%; gap: 8px; font-size: 15px; padding-inline: 12px; }
    .c-company-heading { padding: 10px; font-size: 18px; letter-spacing: .1em; }
    .c-company-heading small { font-size: 11px; }
    .c-company-icon { height: 40px; }
    .c-company-icon--light { height: 36px; }
    .c-bullet-list li { font-size: 15px; }
    .c-patent { margin: 6px 0 0 0; display: table; }
    .c-diagram { padding: 16px 10px; }
    .c-inline-logo { width: 123px; }
    .c-rule-heading { font-size: 20px; gap: 8px; margin-bottom: 20px; }
    .c-rule-heading small { font-size: 11px; }
    .c-dialog { width: calc(100% - 28px); max-height: 90dvh; }
    .c-dialog__inner { padding: 58px 22px 26px; }
    .c-dialog__actions { margin-top: 25px; }
  }
}

@layer project {
  /* The supplied diagrams include transparent side margins around their panel shadows. */
  .p-model__diagram { --diagram-panel-width: 1116; --diagram-side-margin: 82; overflow: hidden; }
  .p-model__diagram picture { display: block; }
  .p-model__diagram img {
    width: calc(100% * 1280 / var(--diagram-panel-width));
    max-width: none;
    margin-left: calc(-100% * var(--diagram-side-margin) / var(--diagram-panel-width));
  }
  @media (max-width: 767px) {
    .p-model__diagram { --diagram-panel-width: 884; --diagram-side-margin: 198; }
  }
  .p-hero { --hero-stairs-width: calc(50% - 145px); --hero-stairs-height: 52%; --hero-person-width: 280px; position: relative; isolation: isolate; overflow: clip; background: #82cdeb url('../web/hero-texture.webp') center/cover; }
  .p-hero__inner { width: min(1100px, calc(100% - 80px)); min-height: 555px; margin: auto; display: grid; grid-template-columns: 46% 54%; align-items: center; }
  .p-hero__art { align-self: stretch; }
  /* The left shoe stays over the fourth tread (43–59% of the fluid stair width).
     Its contact point is 17% across the image and 9.5% above its bottom edge. */
  .p-hero__art img { position: absolute; z-index: 1; left: calc(var(--hero-stairs-width) * .51 - var(--hero-person-width) * .17); bottom: calc(var(--hero-stairs-height) * .5 - var(--hero-person-width) * .11893 + 4px); width: var(--hero-person-width); }
  .p-hero__content { position: relative; z-index: 1; padding: 42px 0 45px; }
  .p-hero__title { font-size: 28px; font-weight: 700; letter-spacing: .03em; }
  .p-hero__logo { width: 310px; margin: 14px 0 30px -4px; }
  .p-hero__description { font-size: 16px; font-weight: 600; line-height: 1.9; letter-spacing: .015em; }
  .p-hero__stairs { position: absolute; z-index: -1; display: block; left: 0; bottom: 0; width: var(--hero-stairs-width); height: var(--hero-stairs-height); overflow: visible; }
  .p-contact-cta { margin-top: 24px; }
  .p-contact-cta ~ .p-problem { margin-top: 72px; }
  .p-fixed-actions {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
  }
  .p-fixed-actions.is-visible {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }
  .p-fixed-actions.is-visible > * { pointer-events: auto; }
  @media (prefers-reduced-motion: reduce) {
    .p-fixed-actions { transform: none; }
  }
  .p-fixed-actions .c-button {
    border: 2px solid #fff;
    box-shadow: 0 2px 8px #07284630;
  }
  .p-fixed-actions .p-back-to-top {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .p-back-to-top span {
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translateY(3px) rotate(45deg);
  }
  .p-contact-dock .c-button {
    gap: 12px;
    min-height: 46px;
    padding: 8px 16px;
    font-size: 14px;
  }
  .is-menu-open .p-fixed-actions,
  .is-modal-open .p-fixed-actions { display: none; }
  @media print { .p-fixed-actions { display: none; } }
  .p-problem__panel { display: grid; grid-template-columns: 43% 1fr; align-items: center; gap: 36px; padding: 48px 42px; }
  .p-problem__figure img { width: 100%; }
  .p-problem__body { font-size: 14px; line-height: 1.9; }
  .p-problem__body p + p { margin-top: 15px; }
  .p-concerns__panel, .p-gap__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; padding: 45px 55px; }
  .p-concerns__company, .p-gap__company { position: relative; min-width: 0; }
  .p-concerns__company + .p-concerns__company::before { content: ''; position: absolute; left: -30px; top: 0; bottom: 0; border-left: 1px dashed #b9c3cb; }
  .p-gap__company { margin-top: 32px; border: 1px solid #4c7f99; border-radius: 6px; padding: 0 24px 18px; }
  .p-gap__company .c-company-heading { flex-wrap: nowrap; min-height: 64px; margin-top: -32px; padding-block: 4px; }
  .p-gap__company p { padding-top: 12px; font-size: 17px; line-height: 1.8; }
  .p-feedback__diagram { display: grid; grid-template-columns: 1fr 230px 1fr; align-items: center; padding: 15px 40px 0; }
  .p-feedback__side { position: relative; display: flex; justify-content: center; padding-block: 30px; }
  .p-feedback__circle { width: 270px; aspect-ratio: 1; padding: 50px 20px 30px; border-radius: 50%; outline: 22px solid var(--color-pale); background: var(--color-blue); color: #fff; text-align: center; }
  .p-feedback__circle h3 { display: table; min-width: 110px; margin: 0 auto 15px; border-bottom: 1px solid #fff; padding-bottom: 9px; font-size: 22px; letter-spacing: .1em; }
  .p-feedback__circle h3 small { display: block; font-size: 9px; letter-spacing: 0; }
  .p-feedback__circle p { font-size: 16px; line-height: 1.7; }
  .p-feedback__side--contracting .p-feedback__circle { background: var(--color-cyan); padding-top: 38px; }
  .p-feedback__note { position: absolute; z-index: 2; top: -2px; left: -35px; width: 160px; }
  .p-feedback__note p { padding: 10px 9px; background: #fff; color: var(--color-orange); border: 2px dotted var(--color-orange); border-radius: 50%; text-align: center; font-size: 12px; line-height: 1.7; font-weight: 600; }
  .p-feedback__note img { position: absolute; top: 75px; left: -12px; width: 65px; }
  .p-feedback__side--contracting .p-feedback__note { left: auto; right: -40px; top: -6px; }
  .p-feedback__side--contracting .p-feedback__note img { top: -35px; left: 38px; width: 78px; }
  .p-feedback__connection { color: #4e76ab; text-align: center; z-index: 1; }
  .p-feedback__connection > span { display: inline-block; padding: 1px 23px; border-radius: 5px; color: var(--color-blue); background: var(--color-yellow); font-size: 14px; font-weight: 700; }
  .p-feedback__connection p { margin-top: 5px; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .p-feedback__connection svg { width: 100%; height: 50px; overflow: visible; }
  .p-feedback__connection path { fill: none; stroke: var(--color-blue); stroke-width: 3; stroke-dasharray: 2 5; }
  .p-feedback__connection path + path { stroke: #c2e7f7; stroke-width: 4; stroke-dasharray: none; }
  .p-features__legend { display: grid; gap: 5px; margin-left: auto; padding-top: 2px; font-size: 11px; white-space: nowrap; }
  .p-features__legend .c-badge { width: 20px; height: 20px; font-size: 12px; }
  .p-features__panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 170px auto; gap: 0 24px; padding: 45px; }
  .p-features__grid { display: contents; }
  .p-features__card { min-height: 170px; position: relative; border: 8px solid transparent; padding: 19px 18px 38px; background: linear-gradient(#fff, #fff) padding-box, radial-gradient(#fff .6px, #ffe267 .9px) border-box; background-size: auto, 4px 4px; }
  .p-features__card h3 { color: var(--color-blue); font-size: 18px; text-align: center; margin-bottom: 8px; }
  .p-features__card p { font-size: 13px; line-height: 1.8; }
  .p-features__card:nth-child(-n+3) { grid-row: 1; }
  .p-features__card:nth-child(n+4) { grid-row: 3; }
  /* The tail base joins only the outermost 1px of the 8px border. */
  .p-features__card::after { position: absolute; content: ''; width: 24px; height: 24px; bottom: -31px; left: calc(50% - 12px); background: radial-gradient(#fff .6px, #ffe267 .9px); background-size: 4px 4px; clip-path: polygon(0 0, 100% 0, 50% 100%); pointer-events: none; }
  .p-features__card:nth-child(1)::after { width: 42px; height: 34px; left: auto; right: -28px; bottom: -41px; clip-path: polygon(0 0, 40% 0, 100% 100%); }
  .p-features__card:nth-child(3)::after { width: 42px; height: 34px; left: -28px; bottom: -41px; clip-path: polygon(60% 0, 100% 0, 0 100%); }
  .p-features__card:nth-child(n+4)::after { bottom: auto; top: -31px; clip-path: polygon(0 100%, 100% 100%, 50% 0); }
  .p-features__card:nth-child(4)::after { width: 42px; height: 34px; left: auto; right: -28px; top: -41px; clip-path: polygon(0 100%, 40% 100%, 100% 0); }
  .p-features__card:nth-child(6)::after { width: 42px; height: 34px; left: -28px; top: -41px; clip-path: polygon(60% 100%, 100% 100%, 0 0); }
  .p-features__badges { display: flex; gap: 4px; position: absolute; bottom: 8px; right: 10px; }
  .p-features__center { grid-column: 1 / -1; grid-row: 2; position: relative; display: flex; justify-content: center; align-items: center; }
  .p-features__center > img:first-child { width: 250px; }
  .p-features__person { position: absolute; right: 15%; bottom: 12px; width: 156px; }
  .p-benefits__tablist { display: flex; align-items: stretch; }
  .p-benefits .p-benefits__title { line-height: 1.85; }
  .p-benefits { --heading-number-offset: 10px; }
  .p-benefits__ruby { ruby-position: under; ruby-align: center; }
  .p-benefits__ruby rt { font-size: .32em; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
  .p-benefits__tab { position: relative; z-index: 1; display: flex; flex: 0 1 240px; min-width: 0; justify-content: center; align-items: center; gap: 13px; min-height: 68px; padding: 4px 26px; border: 1px solid #5c8aa2; border-radius: 7px 7px 0 0; color: var(--color-blue); background: #e7f0f5; font-size: 17px; font-weight: 700; line-height: 1.4; }
  .p-benefits__tab + .p-benefits__tab { margin-left: -1px; }
  .p-benefits__tab[aria-selected='true'] { background: #fff; border-bottom-color: #fff; }
  .p-benefits__tab small { display: block; font-size: 10px; font-weight: 500; }
  .p-benefits__tab > span:first-child { font-size: 26px; line-height: 1; }
  .p-benefits__icon { width: auto; height: 44px; object-fit: contain; flex-shrink: 0; }
  .p-benefits__icon--contracting { height: 50px; }
  .p-benefits__panel { display: grid; grid-template-columns: 1.12fr 1fr; gap: 45px; position: relative; margin-top: -1px; padding: 38px 40px; border: 1px solid #5c8aa2; border-radius: 0 8px 8px 8px; }
  .p-benefits__list { display: grid; gap: 9px; }
  .p-benefits__list > div { display: grid; grid-template-columns: 145px 1fr; gap: 13px; }
  .p-benefits__list dt { background: #d9effa; color: #2b799d; font-size: 13px; font-weight: 600; padding: 4px 8px; align-self: start; line-height: 1.65; }
  .p-benefits__list dd { padding: 4px 0; font-size: 13px; line-height: 1.65; }
  .p-benefits__callout { display: flex; align-items: center; gap: 25px; margin-top: 20px; }
  .p-benefits__callout img { width: 92px; flex-shrink: 0; }
  .p-benefits__callout p { color: #d46b23; font-size: 11px; font-weight: 600; line-height: 1.7; padding: 12px; border: 1px solid #dd803c; border-radius: 5px; }
  .p-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-left: 30px; border-left: 1px dashed #bbcbd1; }
  .p-comparison__column h3 { text-align: center; font-size: 14px; margin-bottom: 8px; }
  .p-comparison__column ol { display: grid; gap: 14px; }
  .p-comparison__column li { position: relative; padding: 5px 4px; border-radius: 4px; background: var(--color-blue); color: #fff; font-size: 12px; text-align: center; line-height: 1.7; }
  .p-comparison__column li + li::before { content: '↓'; position: absolute; top: -16px; left: 50%; color: var(--color-blue); transform: translateX(-50%); font-size: 15px; line-height: 1; }
  .p-comparison__column .p-comparison__end { background: none; color: var(--color-text); }
  .p-comparison__column .p-comparison__improve { background: var(--color-orange); }
  .p-benefits__panel--contracting .p-comparison__column li:not(.p-comparison__end):not(.p-comparison__improve) { background: var(--color-cyan); }
  .p-lineup__panel { padding: 45px 55px; }
  .p-lineup__item + .p-lineup__item { margin-top: 52px; }
  .p-lineup__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 15px; background: var(--color-blue); color: #fff; padding: 7px 9px; font-size: 22px; line-height: 1.5; }
  .p-lineup__heading > span { display: inline-grid; place-items: center; width: 28px; flex-shrink: 0; background: var(--color-yellow); color: var(--color-blue); font-family: var(--font-number); font-size: 27px; line-height: 1.3; }
  .p-lineup__heading small { font-size: 11px; font-weight: 400; }
  .p-lineup__item > p { margin-top: 18px; font-size: 14px; line-height: 1.9; }
  .p-lineup__diagram { display: flex; align-items: center; margin-top: 28px; }
  .p-lineup__service { width: 300px; flex-shrink: 0; min-height: 125px; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 7px; background: var(--color-blue); color: #fff; padding: 16px; text-align: center; }
  .p-lineup__service img { width: 56px; height: 44px; object-fit: contain; }
  .p-lineup__service strong { font-size: 20px; }
  .p-lineup__service--ai { background: var(--color-cyan); }
  .p-lineup__user { width: 120px; height: 120px; border: 2px solid var(--color-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
  .p-lineup__user img { width: 70px; height: 75px; object-fit: contain; }
  .p-lineup__user span { position: absolute; bottom: 5px; border: 4px solid #fff; border-radius: 10px; padding: 0 9px; background: var(--color-cyan); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; }
  .p-lineup__arrow { height: 1px; flex: 1; background: #5c6062; position: relative; min-width: 20px; }
  .p-lineup__arrow::before { content: ''; position: absolute; top: -7px; left: 3px; width: 14px; height: 14px; border: solid #5c6062; border-width: 0 0 1px 1px; transform: rotate(45deg); }
  .p-lineup__diagram--mcp .p-lineup__service { width: 230px; }
  .p-lineup__diagram--mcp .p-lineup__service strong { font-size: 16px; }
  .p-lineup__mcp { display: flex; align-items: center; justify-content: center; width: 145px; min-height: 125px; flex-shrink: 0; background: var(--color-yellow); font-size: 21px; text-align: center; font-weight: 700; line-height: 1.5; }
  .p-lineup__agents { width: 175px; flex-shrink: 0; border: 2px solid #f0c21a; padding: 9px; text-align: center; line-height: 1.4; }
  .p-lineup__agents strong { font-size: 14px; }
  .p-lineup__agents small { display: block; padding: 6px; margin-top: 6px; background: var(--color-yellow); text-align: left; font-size: 10px; }
  .p-pricing__group + .p-pricing__group { margin-top: 44px; }
  .p-pricing__group .c-rule-heading { font-size: 20px; margin-bottom: 18px; gap: 5px; }
  .p-pricing__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .p-plan { border: 1px solid #91adbb; border-radius: 8px; min-width: 0; overflow: hidden; }
  .p-plan__head { padding: 20px 22px 12px; }
  .p-plan h4 { min-height: 52px; color: #246b8e; font-size: 19px; line-height: 1.5; }
  .p-plan__monthly { display: block; font-size: 12px; line-height: 1.4; }
  .p-plan__price { min-height: 38px; font-size: 27px; font-weight: 500; line-height: 1.4; white-space: nowrap; letter-spacing: -.03em; }
  .p-plan__price--text { font-size: 25px; font-weight: 700; letter-spacing: .02em; }
  .p-plan__head small { display: block; font-size: 11px; line-height: 1.5; margin-top: 3px; }
  .p-plan__highlight { background: var(--color-blue); padding: 6px; color: #fff; font-size: 14px; line-height: 1.5; text-align: center; }
  .p-plan__body { min-height: 44px; padding: 16px 22px; font-size: 13px; line-height: 1.8; }
  .p-plan ul { padding: 17px 22px 22px; font-size: 13px; line-height: 1.8; }
  .p-plan ul li { position: relative; padding-left: 13px; }
  .p-plan ul li::before { content: ''; width: 6px; height: 6px; position: absolute; top: .65em; left: 0; background: var(--color-blue); }
  .p-pricing__group--contracting .p-plan { border-color: #91d4e3; }
  .p-pricing__group--contracting .p-plan__highlight { background: var(--color-cyan); }
  .p-pricing__group--contracting .p-plan__head { padding-bottom: 16px; }
  .p-analysis .c-section-heading { gap: 30px; }
  .p-analysis__message { color: var(--color-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
  .p-analysis__panel { padding: 36px 30px 18px; }
  .p-analysis__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .p-chart { min-width: 0; padding: 20px 16px 12px; border: 1px solid #d6dce0; border-radius: 8px; position: relative; }
  .p-chart > h3 { color: #21658a; font-size: 15px; margin-bottom: 18px; }
  .p-chart__visual { min-height: 267px; position: relative; }
  .p-chart__row { display: grid; grid-template-columns: minmax(0, 68px) minmax(0, 1fr) 32px; gap: 8px; width: 100%; min-height: 39px; align-items: center; text-align: left; background: transparent; border-radius: 3px; padding: 3px 0; }
  .p-chart__label { font-family: 'Arial Narrow', var(--font-ja); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.6; }
  .p-chart__track { display: block; position: relative; height: 8px; border-radius: 9px; background: #eeeeef; }
  .p-chart__bar { position: absolute; inset: 0 auto 0 0; width: var(--value, 0%); border-radius: 9px; background: var(--color-blue); transform: scaleX(0); transform-origin: left; }
  .p-chart__value { text-align: right; font-family: var(--font-number); font-size: 12px; }
  .p-chart.is-animated .p-chart__bar { transform: scaleX(1); transition: transform 700ms var(--ease); transition-delay: var(--delay, 0ms); }
  .p-chart__dot { position: absolute; top: 50%; left: var(--position, 0%); transform: translate(-50%, -50%) scale(.4); width: 12px; height: 12px; background: var(--color-blue); border-radius: 50%; opacity: 0; }
  .p-chart.is-animated .p-chart__dot { transform: translate(-50%, -50%) scale(1); opacity: 1; transition: opacity 500ms, transform 650ms var(--ease); transition-delay: var(--delay, 0ms); }
  .p-chart__bar--yellow { left: var(--position, 50%); background: var(--color-yellow); transform: translateX(-50%) scaleX(0); transform-origin: center; }
  .p-chart.is-animated .p-chart__bar--yellow { transform: translateX(-50%) scaleX(1); }
  .p-chart__axis { margin: 8px 32px 0 76px; display: flex; justify-content: space-between; color: #8b939c; font-size: 10px; font-family: var(--font-number); }
  .p-chart__ring { position: relative; max-width: 195px; margin: 0 auto 8px; }
  .p-chart__ring svg { width: 100%; height: auto; display: block; transform: rotate(-90deg); }
  .p-chart__segment { fill: none; stroke-width: 18px; stroke-dasharray: 0 100; transition: stroke-dasharray 800ms var(--ease), opacity 180ms; }
  .p-chart.is-animated .p-chart__segment { stroke-dasharray: var(--arc) var(--gap); }
  .p-chart__center { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; pointer-events: none; }
  .p-chart__center strong { color: var(--color-blue); font: 700 31px/1.3 var(--font-number); }
  .p-chart__center span { font-size: 11px; font-weight: 600; }
  .p-chart__legend { display: flex; flex-wrap: wrap; gap: 0 10px; }
  .p-chart__legend button { display: flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 0; background: transparent; font-size: 10px; line-height: 1.5; }
  .p-chart__swatch { width: 8px; height: 8px; display: inline-block; flex-shrink: 0; background: var(--swatch); }
  .p-chart__tooltip { position: absolute; z-index: 3; left: 50%; top: -10px; transform: translate(-50%, -100%); padding: 6px 10px; max-width: 100%; border-radius: 4px; color: #fff; background: #144b74; font-size: 12px; line-height: 1.5; pointer-events: none; box-shadow: 0 2px 6px #002b4420; overflow-wrap: anywhere; }
  .p-chart__empty { display: grid; place-content: center; min-height: 245px; text-align: center; color: var(--color-muted); font-size: 14px; }
  .p-material-download { display: flex; flex-direction: column; align-items: center; margin-top: 48px; }
  .p-material-download__button { width: min(100%, 500px); min-height: 72px; gap: 18px; }
  .p-material-download__status { margin-top: 8px; color: var(--color-muted); font-size: 14px; }
  .p-material-download__icon { width: 32px; height: 40px; flex-shrink: 0; }
  .p-material-download + .p-contact { margin-top: 80px; }
  .p-clients { margin-top: 95px; }
  .p-clients__heading { margin-bottom: 22px; }
  .p-clients h2 { font-size: 16px; letter-spacing: .12em; }
  .p-clients__viewport { overflow: hidden; }
  .p-clients__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; width: 100%; }
  .p-clients__list[aria-hidden='true'] { display: none; }
  .p-clients img { width: 100%; }
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    .p-clients__track.is-animated { display: flex; width: max-content; animation: clients-loop 32s linear infinite; }
    .p-clients__track.is-animated .p-clients__list { display: flex; flex-shrink: 0; gap: 20px; width: auto; padding-right: 20px; }
    .p-clients__track.is-animated li { flex: 0 0 clamp(160px, 18vw, 206px); width: clamp(160px, 18vw, 206px); }
    @media (hover: hover) { .p-clients__viewport:hover .p-clients__track { animation-play-state: paused; } }
  }
  @keyframes clients-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media print {
    .p-clients__track.is-animated { display: block; width: 100%; animation: none; transform: none; }
    .p-clients__track.is-animated .p-clients__list { display: grid; width: 100%; padding: 0; }
    .p-clients__track.is-animated .p-clients__list[aria-hidden='true'] { display: none; }
    .p-clients__track.is-animated li { width: auto; }
  }
  .p-message { margin-top: 125px; text-align: center; color: #166690; }
  .p-message > p { font-size: 32px; font-weight: 700; letter-spacing: .04em; }
  .p-message > span { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; }
  .p-contact__heading { margin-bottom: 32px; }
  .p-contact__heading h2 { display: flex; align-items: center; gap: 12px; color: #1d668f; font: 700 30px/1.5 var(--font-number); }
  .p-contact__heading svg { width: 28px; height: 20px; fill: var(--color-blue); stroke: #fff; stroke-width: 1px; }
  .p-contact__heading p { margin-top: 15px; font-size: 17px; font-weight: 600; }
  .p-contact__form { padding: 45px 70px; }
  .p-contact__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 50px; }
  .p-contact__field { min-width: 0; }
  .p-contact__field--half { grid-column: 1 / -1; width: calc(50% - 25px); }
  .p-contact__field > label { display: flex; align-items: baseline; font-size: 15px; font-weight: 600; line-height: 1.6; margin-bottom: 5px; }
  .p-contact__field > label .c-required { margin-left: auto; }
  .p-contact__field > label small, .p-contact__fieldset small { font-size: 12px; font-weight: 400; }
  .p-contact__field input, .p-contact__field select, .p-contact__field textarea { width: 100%; border: 1px solid #d3d7db; border-radius: 3px; min-height: 44px; padding: 9px 12px; background: #f6f7f9; font-size: 15px; line-height: 1.6; transition: border-color 180ms, background 180ms; }
  .p-contact__field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%2324201e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
  .p-contact__field input:focus, .p-contact__field select:focus, .p-contact__field textarea:focus { border-color: #4099bd; background-color: #fff; }
  .p-contact__field input:focus-visible, .p-contact__field select:focus-visible, .p-contact__field textarea:focus-visible { outline: none; border-color: #db8616; box-shadow: inset 0 0 0 1px #db8616; }
  .p-contact__field textarea { display: block; resize: vertical; min-height: 145px; }
  .p-contact__field input::placeholder, .p-contact__field textarea::placeholder { color: #a6adb5; }
  .p-contact__fieldset { margin-block: 15px; }
  .p-contact__fieldset legend { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
  .p-contact__choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .p-contact__choices--trial { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: calc(50% - 25px); }
  .p-contact__consent { display: flex; align-items: flex-start; gap: 8px; width: fit-content; min-height: 44px; padding-block: 12px; font-size: 14px; font-weight: 600; }
  .p-contact__consent input { width: 17px; height: 17px; flex-shrink: 0; margin: 4px 0 0; accent-color: var(--color-blue); }
  .p-contact__consent label { cursor: pointer; }
  .p-contact__privacy-link { display: inline; padding: 0; background: transparent; color: var(--color-blue); font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
  .p-contact__privacy-link:hover { text-decoration-thickness: 2px; }
  .p-contact__submit { text-align: center; margin-top: 12px; }
  .p-contact__submit .c-button { min-width: 285px; min-height: 48px; padding: 9px 25px; font-size: 16px; }
  .p-contact__status { margin-bottom: 20px; padding: 14px; font-size: 14px; color: var(--color-blue); background: #eff8fc; }
  .p-contact__status[role='alert'] { color: #853300; background: #fff4eb; }

  .p-privacy { width: min(800px, calc(100% - 48px)); }
  .p-privacy h2 { margin-bottom: 24px; color: #1d668f; font-size: 24px; }
  .p-privacy p, .p-privacy li, .p-privacy dl { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
  .p-privacy__section { margin-top: 26px; }
  .p-privacy__section h3 { margin-bottom: 8px; color: #1d668f; font-size: 17px; }
  .p-privacy__section ul { padding-left: 1.3em; list-style: disc; margin-bottom: 10px; }
  .p-privacy__company > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 16px; padding-block: 10px; border-bottom: 1px solid #e1e9ed; }
  .p-privacy__company dt { font-weight: 600; }
  .p-privacy__company dd { min-height: 1.9em; }
  .p-business__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .p-business__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px 26px 20px; border: 1px solid #cdd3d8; border-radius: 9px; box-shadow: 0 1px 5px #101c2819; cursor: pointer; transition: border-color 180ms, background-color 180ms, box-shadow 180ms, opacity 450ms var(--ease), transform 450ms var(--ease); }
  .p-business__card > img { width: 45px; height: 45px; object-fit: contain; margin-bottom: 10px; }
  .p-business__card h3 { font-size: 21px; min-height: 66px; width: 100%; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid #3b7895; line-height: 1.45; }
  .p-business__card p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
  .p-business__card .c-more-link { margin-top: auto; }
  .p-business__card .c-more-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 9px; }
  .p-business__card .c-more-link:focus-visible { outline: none; }
  .p-business__card:has(.c-more-link:focus-visible) { outline: 3px solid #db8616; outline-offset: 3px; border-color: #5891b2; background: #f7fbfd; }
  .p-business__card:has(.c-more-link:focus-visible) .c-more-link span { transform: translateX(3px); }
  .p-company__panel { padding: 42px 52px; }
  .p-company__panel > h3 { background: #e9edf0; padding: 7px 15px; font-size: 19px; margin-bottom: 27px; }
  .p-company__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px; }
  .p-company__columns dl { border-left: 1px solid #2b6d8b; padding-left: 16px; font-size: 14px; }
  .p-company__columns dl > div + div { margin-top: 12px; }
  .p-company__columns dt { font-size: 14px; font-weight: 500; }
  .p-company__columns dd { overflow-wrap: anywhere; }
  .p-company__columns ul li::before { content: '・'; }
  .p-service-detail > p { font-size: 15px; line-height: 1.9; }
  .p-service-detail__heading { display: flex; align-items: center; gap: 24px; padding-bottom: 15px; border-bottom: 1px solid #53788f; margin-bottom: 24px; }
  .p-service-detail__heading > img { width: 52px; height: 56px; object-fit: contain; flex-shrink: 0; }
  .p-service-detail__heading span { font: 700 13px/1.3 var(--font-number); color: #286c8c; letter-spacing: .08em; }
  .p-service-detail__heading h2 { font-size: 25px; line-height: 1.5; }
  .p-service-detail__columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 35px; margin-top: 40px; }
  .p-service-detail h3 { padding: 12px 18px; background: #e9eef1; color: #2a6c91; font-size: 16px; margin-bottom: 18px; }
  .p-service-detail__columns p, .p-service-detail__row p { font-size: 14px; line-height: 1.9; }
  .p-service-detail__outcome { padding: 22px; background: #f2f9fc; border-radius: 6px; }
  .p-service-detail__outcome h3 { background: none; padding: 0 0 10px; margin-bottom: 12px; border-bottom: 1px solid #63889c; font-family: var(--font-number); font-size: 14px; }
  .p-service-detail__outcome li { padding: 13px 14px; background: #fff; margin-top: 10px; font-size: 13px; border-bottom: 1px solid #bdcbd3; }
  .p-service-detail__outcome--blue { background: var(--color-blue); color: #fff; }
  .p-service-detail__outcome--blue > span { font: 500 12px var(--font-number); color: #d2e7f7; }
  .p-service-detail__outcome--blue h3 { color: #fff; border: 0; font-family: var(--font-ja); font-size: 18px; margin: 9px 0; padding: 0; }
  .p-service-detail__row { display: grid; grid-template-columns: 1fr 1.8fr; align-items: start; gap: 30px; margin-top: 35px; }
  .p-service-detail__row h3 { text-align: center; font-size: 15px; }
  .p-service-detail__checks { margin-top: 20px; font-size: 14px; }
  .p-service-detail__checks li { position: relative; padding-left: 22px; margin-top: 7px; }
  .p-service-detail__checks li::before { content: '✓'; position: absolute; left: 0; color: #9e810b; }
  @media (hover: hover) {
    .p-business__card:hover { border-color: #5891b2; background: #f7fbfd; box-shadow: 0 2px 8px #0755a51a; }
    .p-business__card:hover .c-more-link { color: #03799e; }
    .p-business__card:hover .c-more-link span { transform: translateX(3px); }
    .p-benefits__tab:not([aria-selected='true']):hover { background: #d9eaf4; }
    .p-chart__row:hover { background: #f2f7fa; }
  }
  @media (max-width: 1023px) {
    .p-hero { --hero-stairs-width: 35%; --hero-person-width: clamp(190px, 26vw, 250px); }
    .p-hero__inner { min-height: 490px; grid-template-columns: 42% 58%; }
    .p-hero__title { font-size: 25px; }
    .p-hero__description { font-size: 14px; }
    .p-problem__panel { padding: 30px; gap: 25px; grid-template-columns: 40% 1fr; }
    .p-concerns__panel, .p-gap__panel { padding: 32px; gap: 40px; }
    .p-concerns__company + .p-concerns__company::before { left: -20px; }
    .p-feedback__diagram { grid-template-columns: 1fr 170px 1fr; padding-inline: 20px; }
    .p-feedback__circle { width: 230px; padding-top: 40px; }
    .p-feedback__circle h3 { font-size: 20px; }
    .p-feedback__circle p { font-size: 14px; }
    .p-feedback__note { width: 145px; left: -25px; }
    .p-feedback__side--contracting .p-feedback__note { right: -25px; }
    .p-features__panel { padding: 30px; column-gap: 17px; grid-template-rows: auto 160px auto; }
    .p-features__card { padding-inline: 12px; }
    .p-features__card h3 { font-size: 16px; }
    .p-features__legend { font-size: 10px; }
    .p-features__person { right: 5%; width: 130px; }
    .p-benefits__panel { padding: 30px; gap: 28px; grid-template-columns: 1fr 1fr; }
    .p-benefits__list > div { display: block; }
    .p-benefits__list dd { padding: 6px 2px; }
    .p-comparison { padding-left: 22px; gap: 15px; }
    .p-benefits__callout { gap: 12px; }
    .p-benefits__callout img { width: 60px; }
    .p-lineup__panel { padding: 32px; }
    .p-lineup__diagram--mcp .p-lineup__service { width: 190px; }
    .p-lineup__mcp { width: 110px; font-size: 18px; }
    .p-lineup__agents { width: 145px; }
    .p-lineup__user { width: 100px; height: 100px; }
    .p-pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .p-plan h4 { min-height: auto; margin-bottom: 13px; }
    .p-analysis__panel { padding: 25px 20px 18px; }
    .p-analysis__grid { gap: 12px; }
    .p-chart { padding: 16px 12px 10px; }
    .p-chart > h3 { font-size: 14px; min-height: 42px; }
    .p-chart__row { grid-template-columns: 54px minmax(0, 1fr) 25px; gap: 5px; }
    .p-chart__label { font-size: 11px; }
    .p-chart__axis { margin-left: 73px; }
    .p-chart__ring { margin-top: 20px; }
    .p-contact__form { padding: 35px 40px; }
    .p-contact__heading p { font-size: 15px; }
    .p-contact__fields { gap: 16px 28px; }
    .p-contact__field--half { width: calc(50% - 14px); }
    .p-contact__choices { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .p-contact__choices--trial { max-width: calc(50% - 14px); }
    .p-business__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .p-company__panel { padding: 30px; }
  }
  @media (max-width: 767px) {
    .p-hero { --hero-stairs-width: 72%; --hero-stairs-height: 192px; --hero-person-width: 190px; }
    .p-hero__inner { width: calc(100% - 40px); min-height: auto; display: flex; flex-direction: column; align-items: stretch; }
    .p-hero__content { order: -1; padding: 38px 0 10px; }
    .p-hero__title { font-size: 22px; letter-spacing: .01em; }
    .p-hero__logo { width: 244px; max-width: 87%; margin: 15px 0 24px -3px; }
    .p-hero__description { font-size: 16px; line-height: 1.9; letter-spacing: 0; }
    .p-hero__description br { display: none; }
    .p-hero__art { width: 100%; height: 330px; align-self: auto; }
    .p-contact-cta ~ .p-problem { margin-top: 48px; }
    .p-fixed-actions { inset: auto 0 0; }
    .p-back-to-top { margin-right: 16px; }
    .p-contact-dock {
      display: flex;
      align-self: stretch;
      justify-content: center;
      padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
      border-top: 1px solid #d8e4ed;
      background: #fff;
      box-shadow: 0 -2px 8px #07284614;
    }
    .p-contact-dock .c-button {
      width: min(100%, 420px);
      box-shadow: none;
    }
    .p-problem__panel { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 26px; }
    .p-problem__figure { max-width: 350px; width: 100%; margin-inline: auto; }
    .p-problem__body { font-size: 16px; line-height: 1.8; }
    .p-problem__body p + p { margin-top: 19px; }
    .p-concerns__panel, .p-gap__panel { display: grid; grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 36px; }
    .p-concerns__company + .p-concerns__company::before { inset: -18px 0 auto; border-left: 0; border-top: 1px dashed #bdccd4; }
    .p-gap__panel { padding-block: 32px 24px; }
    .p-gap__company { padding-inline: 16px; margin-top: 28px; }
    .p-gap__company .c-company-heading { min-height: 56px; margin-top: -28px; }
    .p-gap__company p { font-size: 16px; }
    .p-feedback__diagram { grid-template-columns: minmax(0, 1fr); padding: 0; }
    .p-feedback__side { padding-block: 24px; justify-content: center; }
    .p-feedback__circle { width: 238px; outline-width: 17px; padding-top: 40px; }
    .p-feedback__circle h3 { font-size: 21px; }
    .p-feedback__circle h3 small { font-size: 10px; }
    .p-feedback__circle p { font-size: 15px; }
    .p-feedback__note { left: -5px; top: 0; width: 135px; }
    .p-feedback__note p { font-size: 11px; }
    .p-feedback__note img { top: 66px; left: 0; width: 53px; }
    .p-feedback__side--contracting { padding-top: 45px; }
    .p-feedback__side--contracting .p-feedback__note { top: auto; bottom: -20px; right: -5px; width: 140px; }
    .p-feedback__side--contracting .p-feedback__note img { width: 63px; top: -28px; left: 38px; }
    .p-feedback__connection { width: 220px; max-width: 100%; margin: auto; padding-top: 22px; }
    .p-feedback__connection p { white-space: nowrap; font-size: 13px; }
    .p-feedback__decoration { display: flex; align-items: center; justify-content: center; width: 35px; height: 100px; margin: 12px auto 0; }
    .p-feedback__connection svg { flex-shrink: 0; max-width: none; width: 100px; height: 35px; transform: rotate(90deg); }
    .p-features { margin-top: 95px; }
    .p-features .c-section-heading { flex-wrap: wrap; }
    .p-features .c-section-heading > div:not(.p-features__legend) { flex: 1; }
    .p-features__legend { width: 100%; margin-left: 54px; padding: 5px 0 0; gap: 7px; font-size: 11px; }
    .p-features__panel { display: flex; flex-direction: column; padding: 24px 20px; gap: 24px; }
    .p-features__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .p-features__center { order: -1; padding-block: 5px; }
    .p-features__center > img:first-child { width: 165px; }
    .p-features__person { display: none; }
    .p-features__card:nth-child(n) { grid-row: auto; min-height: 140px; padding: 18px 15px 34px; }
    .p-features__card h3 { font-size: 17px; }
    .p-features__card p { font-size: 15px; }
    .p-features__card::after { display: none; }
    .p-benefits { --heading-number-offset: 6px; }
    .p-benefits__tab { min-height: 62px; width: 50%; padding: 8px; gap: 7px; font-size: 16px; }
    .p-benefits__tab > span:first-child { font-size: 22px; }
    .p-benefits__tab small { font-size: 8px; }
    .p-benefits__icon { height: 34px; }
    .p-benefits__icon--contracting { height: 40px; }
    .p-benefits__panel { grid-template-columns: minmax(0, 1fr); padding: 25px 18px; gap: 30px; border-radius: 0 0 6px 6px; }
    .p-benefits__list { gap: 17px; }
    .p-benefits__list dt { padding: 7px 10px; font-size: 15px; }
    .p-benefits__list dd { padding: 9px 3px 0; font-size: 15px; line-height: 1.8; }
    .p-benefits__callout { gap: 14px; }
    .p-benefits__callout p { font-size: 12px; }
    .p-comparison { border-left: 0; border-top: 1px dashed #bbcbd1; padding: 24px 0 0; gap: 14px; }
    .p-comparison__column h3 { font-size: 13px; }
    .p-comparison__column li { font-size: 12px; min-height: 30px; }
    .p-lineup__panel { padding: 22px 17px; }
    .p-lineup__heading { font-size: 18px; gap: 6px 9px; padding: 7px; }
    .p-lineup__heading > span { width: 24px; font-size: 23px; }
    .p-lineup__heading small { font-size: 11px; line-height: 1.7; }
    .p-lineup__item > p { font-size: 15px; margin-top: 16px; }
    .p-lineup__item + .p-lineup__item { margin-top: 38px; }
    .p-lineup__diagram { flex-direction: column-reverse; margin-top: 24px; }
    .p-lineup__service, .p-lineup__diagram--mcp .p-lineup__service { width: 100%; min-height: 115px; }
    .p-lineup__service strong, .p-lineup__diagram--mcp .p-lineup__service strong { font-size: 19px; }
    .p-lineup__user { width: 106px; height: 106px; }
    .p-lineup__arrow { flex: none; height: 45px; width: 1px; min-width: 0; margin: 7px 0; }
    .p-lineup__arrow::before { top: auto; bottom: 3px; left: -6px; transform: rotate(-45deg); }
    .p-lineup__mcp { width: 100%; min-height: 85px; margin-bottom: 12px; font-size: 20px; }
    .p-lineup__agents { width: 100%; max-width: 240px; padding: 14px; }
    .p-lineup__agents strong { font-size: 16px; }
    .p-lineup__agents small { font-size: 12px; }
    .p-pricing__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .p-pricing__group .c-rule-heading { flex-wrap: wrap; font-size: 18px; line-height: 1.6; }
    .p-pricing__group .c-rule-heading small { font-size: 11px; }
    .p-pricing__group + .p-pricing__group { margin-top: 40px; }
    .p-plan__head { padding: 23px 25px 18px; }
    .p-plan h4 { font-size: 22px; margin-bottom: 16px; }
    .p-plan__monthly { font-size: 13px; }
    .p-plan__price { min-height: 45px; font-size: 32px; }
    .p-plan__price--text { font-size: 28px; }
    .p-plan__head small { font-size: 12px; }
    .p-plan__highlight { font-size: 16px; padding: 8px; }
    .p-plan ul { padding: 18px 25px 22px; font-size: 15px; }
    .p-analysis .c-section-heading { gap: 15px; }
    .p-analysis__panel { padding: 20px 15px 14px; }
    .p-analysis__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .p-chart { padding: 22px 18px 12px; }
    .p-chart > h3 { font-size: 17px; min-height: 0; margin-bottom: 18px; }
    .p-chart__visual { min-height: 265px; }
    .p-chart__row { grid-template-columns: minmax(0, 78px) minmax(0, 1fr) 36px; min-height: 44px; gap: 8px; }
    .p-chart__label { font-size: 14px; }
    .p-chart__value { font-size: 14px; }
    .p-chart__axis { font-size: 12px; margin-left: 86px; margin-right: 36px; }
    .p-chart__ring { max-width: 210px; margin-top: 0; }
    .p-chart__center strong { font-size: 34px; }
    .p-chart__center span { font-size: 13px; }
    .p-chart__legend { display: grid; gap: 0; }
    .p-chart__legend button { min-height: 44px; font-size: 14px; justify-content: flex-start; gap: 8px; width: 100%; }
    .p-chart__swatch { width: 10px; height: 10px; }
    .p-clients { margin-top: 65px; }
    .p-clients__heading { margin-bottom: 20px; }
    .p-clients h2 { font-size: 17px; }
    .p-clients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .p-message { margin-top: 80px; }
    .p-message > p { font-size: 23px; line-height: 1.7; letter-spacing: .01em; }
    .p-message > span { font-size: 13px; line-height: 1.9; margin-top: 14px; }
    .p-material-download { margin-top: 32px; }
    .p-material-download__button { gap: 12px; padding: 14px 16px; font-size: 16px; }
    .p-material-download__icon { width: 28px; height: 35px; }
    .p-material-download + .p-contact { margin-top: 56px; }
    .p-contact__heading { margin-bottom: 22px; }
    .p-contact__heading h2 { font-size: 29px; }
    .p-contact__heading p { font-size: 16px; line-height: 1.8; }
    .p-contact__form { padding: 25px 20px; }
    .p-contact__fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .p-contact__field--half { width: 100%; }
    .p-contact__field > label { font-size: 15px; margin-bottom: 7px; }
    .p-contact__field input, .p-contact__field select, .p-contact__field textarea { font-size: 16px; min-height: 48px; }
    .p-contact__fieldset { margin-block: 22px; }
    .p-contact__fieldset legend { font-size: 15px; margin-bottom: 10px; }
    .p-contact__fieldset legend small { font-size: 12px; }
    .p-contact__choices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .p-contact__choices--trial { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .p-contact__consent { font-size: 13px; padding-block: 20px 10px; }
    .p-contact__consent .c-required { display: inline-block; }
    .p-privacy { width: calc(100% - 28px); }
    .p-privacy h2 { font-size: 20px; }
    .p-privacy__company > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .p-contact__submit { margin-top: 22px; }
    .p-contact__submit .c-button { width: 100%; min-width: 0; min-height: 52px; }
    .p-business__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .p-business__card { padding: 27px 24px 20px; }
    .p-business__card h3 { min-height: 0; font-size: 21px; }
    .p-business__card p { font-size: 15px; }
    .p-company__panel { padding: 24px 20px; }
    .p-company__panel > h3 { font-size: 18px; margin-bottom: 22px; }
    .p-company__columns { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .p-company__columns dl { padding-left: 12px; font-size: 14px; }
    .p-company__columns dt { font-size: 15px; margin-bottom: 3px; }
    .p-company__columns dl > div + div { margin-top: 17px; }
    .p-service-detail__heading { align-items: flex-start; gap: 12px; }
    .p-service-detail__heading > img { width: 35px; height: 40px; }
    .p-service-detail__heading h2 { font-size: 20px; overflow-wrap: anywhere; }
    .p-service-detail__heading span { font-size: 11px; }
    .p-service-detail > p, .p-service-detail__columns p, .p-service-detail__row p { font-size: 15px; }
    .p-service-detail__columns, .p-service-detail__row { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
    .p-service-detail h3 { font-size: 16px; padding: 12px 14px; }
    .p-service-detail__row h3 { text-align: left; margin-bottom: 0; }
    .p-service-detail__outcome h3 { padding: 0 0 10px; }
    .p-service-detail__checks { font-size: 14px; }
  }
}

/* Trim font leading rather than aligning only the surrounding line boxes.
   The small Japanese offset accounts for glyphs extending above the Latin cap height. */
@layer component {
  @supports (text-box: trim-start cap alphabetic) {
    .c-section-heading:not(.c-section-heading--title-only) h2 { text-box: trim-start cap alphabetic; margin-top: .12em; }
    .c-section-heading:not(.c-section-heading--title-only) .c-section-heading__number { text-box: trim-start cap alphabetic; padding-top: 0; }
  }
  @supports (text-box: trim-start ideographic-ink alphabetic) {
    .c-section-heading:not(.c-section-heading--title-only) h2 { text-box-edge: ideographic-ink alphabetic; margin-top: 0; }
  }
}

@layer utility {
  .u-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
  .u-accent { color: #ec640b; }
  .u-blue { color: var(--color-blue); }
  @media (max-width: 767px) { .u-desktop { display: none; } }
}
