/* Switchable parts: header, menu, phone bar, buttons, closing band, contact page, footer.
   The type of each part comes from attributes on <html>: data-hd (a-e), data-cta (1-6), data-band (a-c), data-ct (a-d).
   Colours and fonts are variables: set them in the site's own :root (these defaults have no weight). */
:where(:root) {
  --kp-main: #1f6e5a;
  --kp-deep: #0f3f33;
  --kp-soft: #e6f0eb;
  --kp-ink: #1b2420;
  --kp-ink2: #4b5751;
  --kp-cta: #c94f06;
  --kp-cta-deep: #a63f04;
  --kp-cta-ink: #fff;
  --kp-font: "Noto Sans JP", system-ui, sans-serif;
  --kp-en: "Oswald", "Noto Sans JP", sans-serif;
  --kp-gutter: clamp(16px, 4vw, 48px);
  --kp-hd-h: 72px;
  --kp-arw-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h15.5M13.5 5.5 20 12l-6.5 6.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --kp-tel-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.8c.6-.4 1.4-.3 1.9.3l2.2 2.9c.4.6.4 1.4-.1 1.9l-1.4 1.4c1 2.1 2.6 3.8 4.7 4.9l1.5-1.4c.5-.5 1.3-.6 1.9-.2l2.9 2c.6.4.8 1.3.4 1.9l-1.3 2.1c-.6 1-1.8 1.5-2.9 1.2C10.4 18.5 5.4 13.5 4 7.2c-.3-1.1.2-2.3 1.2-2.9z'/%3E%3C/svg%3E");
}

:where(.kp-hd, .kp-menu, .kp-bar, .kp-btn, .kp-band, .kp-ct, .kp-ft, .kp-fconf), :where(.kp-hd, .kp-menu, .kp-bar, .kp-btn, .kp-band, .kp-ct, .kp-ft, .kp-fconf) *, :where(.kp-hd, .kp-menu, .kp-bar, .kp-btn, .kp-band, .kp-ct, .kp-ft, .kp-fconf) *::before, :where(.kp-hd, .kp-menu, .kp-bar, .kp-btn, .kp-band, .kp-ct, .kp-ft, .kp-fconf) *::after, .kp-btn::before, .kp-btn::after { box-sizing: border-box; }

:where(.kp-hd, .kp-menu, .kp-bar, .kp-band, .kp-ct, .kp-ft) [hidden], .kp-form[hidden], .kp-fconf[hidden] { display: none !important; }
/* Japanese lines break between phrases (Chromium); .kp-ph keeps a phrase together everywhere */
.kp-ph { display: inline-block; }
:where(.kp-band__ttl, .kp-band__lead, .kp-band__item-d, .kp-ct__lead, .kp-ct__notes li, .kp-form__done-d, .kp-kind span, .kp-btn__t, .kp-menu__t) { word-break: auto-phrase; text-wrap: pretty; }
:where(.kp-band__ttl, .kp-kind span, .kp-btn__t) { text-wrap: balance; }

/* ---------- icons (one SVG each, drawn with a mask so they take the text colour) ---------- */
.kp-arw, .kp-ico-tel { display: inline-block; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--kp-arw-img) center / contain no-repeat; mask: var(--kp-arw-img) center / contain no-repeat; }
.kp-ico-tel { width: .9em; height: .9em; -webkit-mask-image: var(--kp-tel-img); mask-image: var(--kp-tel-img); }
.kp-logo { display: inline-flex; align-items: center; color: inherit; }
.kp-logo svg { display: block; height: 40px; width: auto; }
.kp-logo img { display: block; height: 40px; width: auto; }
.kp-logo__w { display: none !important; }

/* ================= header ================= */
.kp-hd { position: fixed; inset: 0 0 auto; z-index: 60; padding: 14px var(--kp-gutter) 0; pointer-events: none; transition: transform .4s cubic-bezier(.2, .7, .2, 1); --kp-hs: color-mix(in srgb, var(--kp-main) 9%, #fff); }
.kp-hd.is-away { transform: translateY(calc(-100% - 12px)); }
.kp-hd__in { pointer-events: auto; position: relative; max-width: 1400px; height: var(--kp-hd-h); margin: 0 auto; display: flex; align-items: center; gap: 28px; padding: 0 12px 0 32px; color: var(--kp-ink); font-family: var(--kp-font); transition: background-color .3s, color .3s; }
.kp-hd__logo { display: flex; align-items: center; flex: none; color: inherit; text-decoration: none; }
.kp-hd__logo .kp-logo, .kp-hd__logo svg, .kp-hd__logo img { max-width: 100%; }
.kp-hd__nav { margin-left: auto; }
.kp-hd__nav ul { display: flex; gap: clamp(18px, 2vw, 34px); margin: 0; padding: 0; list-style: none; }
.kp-hd__nav a { position: relative; display: block; padding: 10px 0; color: inherit; font-size: 16px; font-weight: 700; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.kp-hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .3s; }
.kp-hd__nav a:hover::after, .kp-hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
.kp-hd__act { display: flex; align-items: center; gap: 14px; flex: none; }
.kp-hd__tel { display: flex; flex-direction: column; align-items: flex-end; color: inherit; text-decoration: none; line-height: 1.25; }
.kp-hd__tel-n { display: flex; align-items: center; gap: 6px; font-family: var(--kp-en); font-size: 22px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.kp-hd__tel-h { font-size: 12px; font-weight: 500; white-space: nowrap; }
.kp-hd__cta { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 999px; background: var(--kp-cta); color: var(--kp-cta-ink); font-size: 16px; font-weight: 700; letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: background-color .25s; }
.kp-hd__cta:hover { background: var(--kp-cta-deep); }
.kp-hd__menu { display: none; flex: none; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--kp-deep); color: #fff; cursor: pointer; }
.kp-hd__menu-i { position: relative; width: 20px; height: 2px; background: currentColor; transition: background-color .2s; }
.kp-hd__menu-i::before, .kp-hd__menu-i::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .3s; }
.kp-hd__menu-i::before { top: -7px; }
.kp-hd__menu-i::after { top: 7px; }
.kp-menu-open .kp-hd__menu-i { background: transparent; }
.kp-menu-open .kp-hd__menu-i::before { transform: translateY(7px) rotate(45deg); }
.kp-menu-open .kp-hd__menu-i::after { transform: translateY(-7px) rotate(-45deg); }
.kp-hd a:focus-visible, .kp-hd button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* the logo and text turn white on a dark photo at the top of the page */
.kp-on-dark .kp-hd.is-top .kp-logo__d { display: none !important; }
.kp-on-dark .kp-hd.is-top .kp-logo__w { display: block !important; }

/* A: no background; a pale capsule once the page has moved */
html[data-hd="a"] .kp-hd:not(.is-top) .kp-hd__in { background: var(--kp-hs); border-radius: 999px; }
html.kp-on-dark[data-hd="a"] .kp-hd.is-top .kp-hd__in { color: #fff; }
html.kp-on-dark[data-hd="a"] .kp-hd.is-top .kp-hd__menu { background: #fff; color: var(--kp-deep); }

/* B: deep colour capsule */
html[data-hd="b"] .kp-hd__in { background: var(--kp-deep); color: #fff; border-radius: 999px; }
html[data-hd="b"] .kp-hd__menu { background: #fff; color: var(--kp-deep); }

/* C: logo and the rest in two capsules */
html[data-hd="c"] .kp-hd__in { gap: 0; padding: 0; }
html[data-hd="c"] .kp-hd__logo { height: 100%; margin-right: auto; padding: 0 30px; border-radius: 999px; background: var(--kp-hs); }
html[data-hd="c"] .kp-hd__nav { height: 100%; display: flex; align-items: center; margin: 0; padding: 0 30px 0 36px; border-radius: 999px 0 0 999px; background: var(--kp-hs); }
html[data-hd="c"] .kp-hd__act { height: 100%; padding: 0 12px 0 10px; border-radius: 0 999px 999px 0; background: var(--kp-hs); }
html.kp-on-dark[data-hd="c"] .kp-hd.is-top { --kp-hs: #fff; }

/* D: logo in the middle */
html[data-hd="d"] .kp-hd__in { display: grid; grid-template-columns: 1fr auto 1fr; background: var(--kp-hs); border-radius: 999px; }
html[data-hd="d"] .kp-hd__logo { grid-column: 2; grid-row: 1; }
html[data-hd="d"] .kp-hd__nav { grid-column: 1; grid-row: 1; margin: 0; }
html[data-hd="d"] .kp-hd__act { grid-column: 3; grid-row: 1; justify-self: end; }
html[data-hd="d"] .kp-hd__tel { display: none; }
html.kp-on-dark[data-hd="d"] .kp-hd.is-top { --kp-hs: #fff; }

/* E: logo and round buttons only; the menu opens on every width */
html[data-hd="e"] .kp-hd__in { padding: 0; }
html[data-hd="e"] .kp-hd__nav, html[data-hd="e"] .kp-hd__tel { display: none; }
html[data-hd="e"] .kp-hd__act { margin-left: auto; }
html[data-hd="e"] .kp-hd__menu { display: flex; width: 60px; height: 60px; }
html[data-hd="e"] .kp-hd__cta { height: 60px; padding: 0 30px; }
html[data-hd="e"] .kp-hd__logo { height: 60px; padding: 0 28px; border-radius: 999px; transition: background-color .3s; }
html[data-hd="e"] .kp-hd:not(.is-top) .kp-hd__logo { background: var(--kp-hs); }
html.kp-on-dark[data-hd="e"] .kp-hd.is-top .kp-hd__logo { padding-left: 0; color: #fff; }
html.kp-on-dark[data-hd="e"] .kp-hd.is-top .kp-hd__menu { background: #fff; color: var(--kp-deep); }

/* menu open: the header sits on the menu's deep colour */
html.kp-menu-open .kp-hd { transform: none; }
html.kp-menu-open .kp-hd__in, html.kp-menu-open .kp-hd__logo, html.kp-menu-open .kp-hd__nav, html.kp-menu-open .kp-hd__act { background: transparent !important; color: #fff; }
html.kp-menu-open .kp-logo__d { display: none !important; }
html.kp-menu-open .kp-logo__w { display: block !important; }
html.kp-menu-open .kp-hd__menu { background: #fff; color: var(--kp-deep); }

/* when the menu does not fit (measured in kp.js): first the phone number goes, then the menu folds into the button */
.kp-hd.is-tight .kp-hd__tel { display: none; }
.kp-hd.is-compact .kp-hd__nav, .kp-hd.is-compact .kp-hd__tel { display: none; }
.kp-hd.is-compact .kp-hd__menu { display: flex; }
.kp-hd.is-compact .kp-hd__act { margin-left: auto; }
html[data-hd="c"] .kp-hd.is-compact .kp-hd__act { border-radius: 999px; padding: 0 8px; }
@media (max-width: 1279px) {
  html[data-hd="d"] .kp-hd__nav { display: none; }
  html[data-hd="d"] .kp-hd__act { display: contents; }
  html[data-hd="d"] .kp-hd__menu { display: flex; grid-column: 1; grid-row: 1; justify-self: start; }
  html[data-hd="d"] .kp-hd__cta { grid-column: 3; grid-row: 1; justify-self: end; }
  html[data-hd="d"] .kp-hd__in { padding: 0 12px; }
  html[data-hd="c"] .kp-hd__tel { display: none; }
}
html[data-hd="d"] .kp-hd.is-compact .kp-hd__act { display: contents; }
html[data-hd="d"] .kp-hd.is-compact .kp-hd__menu { grid-column: 1; grid-row: 1; justify-self: start; }
html[data-hd="d"] .kp-hd.is-compact .kp-hd__cta { grid-column: 3; grid-row: 1; justify-self: end; }
@media (max-width: 1079px) {
  :root { --kp-hd-h: 60px; }
  .kp-hd { padding: 10px 12px 0; }
  .kp-hd__in { gap: 10px; padding: 0 8px 0 22px; }
  .kp-hd__logo { flex: 0 1 auto; min-width: 0; }
  :root[data-hd] .kp-hd__nav, :root[data-hd] .kp-hd__tel { display: none; }
  .kp-hd__act { margin-left: auto; gap: 8px; }
  .kp-hd__menu { display: flex; width: 46px; height: 46px; }
  .kp-hd__cta { height: 46px; padding: 0 18px; font-size: 15px; }
  .kp-logo svg, .kp-logo img { height: 32px; }
  html[data-hd="c"] .kp-hd__logo { padding: 0 18px; }
  html[data-hd="c"] .kp-hd__act { margin-left: 8px; padding: 0 6px; border-radius: 999px; }
  html[data-hd="e"] .kp-hd__menu { width: 52px; height: 52px; }
  html[data-hd="e"] .kp-hd__cta { height: 52px; padding: 0 20px; }
  html[data-hd="e"] .kp-hd__logo { height: 52px; padding: 0 20px; }
  html[data-hd="d"] .kp-hd__in { padding: 0 7px; }
}
@media (max-width: 374px) {
  .kp-hd { padding: 8px 8px 0; }
  .kp-hd__in { gap: 6px; padding: 0 6px 0 14px; }
  .kp-hd__act { gap: 6px; }
  .kp-hd__cta { height: 42px; padding: 0 12px; font-size: 13px; letter-spacing: .02em; }
  .kp-hd__menu { width: 42px; height: 42px; }
  .kp-logo svg, .kp-logo img { height: 26px; }
  html[data-hd="c"] .kp-hd__logo, html[data-hd="e"] .kp-hd__logo { padding: 0 14px; }
  html[data-hd="c"] .kp-hd__act { margin-left: 6px; padding: 0 5px; }
  html[data-hd="e"] .kp-hd__menu, html[data-hd="e"] .kp-hd__cta, html[data-hd="e"] .kp-hd__logo { height: 46px; }
  html[data-hd="e"] .kp-hd__menu { width: 46px; }
  html[data-hd="e"] .kp-hd__cta { padding: 0 14px; }
  html[data-hd="d"] .kp-hd__in { padding: 0 5px; }
}

/* ================= menu ================= */
.kp-menu { position: fixed; inset: 0; z-index: 55; overflow-y: auto; background: var(--kp-deep); color: #fff; font-family: var(--kp-font); opacity: 0; transition: opacity .3s; }
.kp-menu.is-open { opacity: 1; }
.kp-menu[hidden] { display: none; }
.kp-menu__in { max-width: 1100px; margin: 0 auto; padding: calc(var(--kp-hd-h) + 56px) var(--kp-gutter) 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.kp-menu__list { margin: 0; padding: 0; list-style: none; }
.kp-menu__list li + li { border-top: 1px solid rgba(255, 255, 255, .22); }
.kp-menu__list a { display: grid; grid-template-columns: 7.5em 1fr auto; align-items: center; gap: 16px; padding: 20px 4px; color: #fff; text-decoration: none; }
.kp-menu__en { font-family: var(--kp-en); font-size: 13px; letter-spacing: .14em; opacity: .75; }
.kp-menu__t { font-size: 21px; font-weight: 700; letter-spacing: .04em; }
.kp-menu__list a:hover .kp-arw { transform: translateX(4px); }
.kp-menu__list .kp-arw { transition: transform .25s; }
.kp-menu__act { display: grid; gap: 28px; justify-items: center; text-align: center; }
.kp-menu__act .kp-btn { width: 100%; }
.kp-menu__tel { display: grid; gap: 4px; justify-items: center; color: #fff; text-decoration: none; }
.kp-menu__tel-l { font-size: 14px; font-weight: 700; }
.kp-menu__tel-n { display: flex; align-items: center; gap: 8px; font-family: var(--kp-en); font-size: 34px; font-weight: 600; letter-spacing: .03em; }
.kp-menu__tel-h { font-size: 13px; opacity: .85; }
@media (max-width: 860px) {
  .kp-menu__in { grid-template-columns: 1fr; padding-top: calc(var(--kp-hd-h) + 36px); }
  .kp-menu__list a { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 4px; }
  .kp-menu__en { grid-column: 1; }
  .kp-menu__t { grid-column: 1; font-size: 19px; }
  .kp-menu__list .kp-arw { grid-column: 2; grid-row: 1 / span 2; }
}
html.kp-menu-open, html.kp-menu-open body { overflow: hidden; }

/* ================= phone bar ================= */
.kp-bar { display: none; }
@media (max-width: 640px) {
  .kp-bar { position: fixed; inset: auto 0 0; z-index: 58; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--kp-deep); font-family: var(--kp-font); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .kp-bar.is-away, html.kp-menu-open .kp-bar { transform: translateY(100%); }
  .kp-bar__i { display: flex; align-items: center; justify-content: center; gap: 6px; height: 60px; padding: 0 6px; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.3; }
  .kp-bar__i--tel { background: var(--kp-deep); }
  .kp-bar__i--doc { background: var(--kp-main); }
  .kp-bar__i--cta { background: var(--kp-cta); color: var(--kp-cta-ink); }
  body.kp-has-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* ================= buttons ================= */
.kp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 28px; }
.kp-btn { --kp-bb: var(--kp-cta); --kp-bh: var(--kp-cta-deep); --kp-bi: var(--kp-cta-ink); position: relative; isolation: isolate; display: inline-flex; min-width: min(100%, 300px); padding: 0; border: 0; background: none; color: var(--kp-bi); font: 700 18px/1.4 var(--kp-font); letter-spacing: .04em; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kp-btn--sub { --kp-bb: var(--kp-deep); --kp-bh: var(--kp-ink); --kp-bi: #fff; }
.kp-btn--light { --kp-bb: #fff; --kp-bh: var(--kp-soft); --kp-bi: var(--kp-deep); }
.kp-btn__face { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 66px; padding: 12px 34px; background: var(--kp-bb); transition: background-color .25s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.kp-btn__tx { display: flex; flex-direction: column; align-items: center; text-align: center; }
.kp-btn__t { overflow-wrap: anywhere; }
.kp-btn__en { display: none; font-family: var(--kp-en); font-size: 13px; font-weight: 600; letter-spacing: .18em; line-height: 1.2; }
.kp-btn__ic { display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.kp-btn:hover .kp-btn__face { background: var(--kp-bh); }
.kp-btn:focus-visible { outline: 3px solid var(--kp-ink); outline-offset: 5px; }
.kp-btn:hover .kp-btn__ic { transform: translateX(4px); }

/* 1: square + arrow */
html[data-cta="1"] .kp-btn__face { border-radius: 3px; }

/* 2: round button + arrow in a white circle */
html[data-cta="2"] .kp-btn__face { border-radius: 999px; padding: 10px 76px 10px 44px; }
html[data-cta="2"] .kp-btn__ic { position: absolute; right: 11px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--kp-bi); color: var(--kp-bb); }
html[data-cta="2"] .kp-btn__ic .kp-arw { width: 18px; height: 18px; }
html[data-cta="2"] .kp-btn:hover .kp-btn__face { background: var(--kp-bb); }
html[data-cta="2"] .kp-btn:hover .kp-btn__ic { transform: translateX(3px); }

/* 3: offset frame */
html[data-cta="3"] .kp-btn::after { content: ""; position: absolute; inset: 0; z-index: 0; border: 2px solid var(--kp-bb); transform: translate(7px, 7px); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
html[data-cta="3"] .kp-btn { margin: 0 7px 7px 0; }
html[data-cta="3"] .kp-btn:hover .kp-btn__face { background: var(--kp-bb); transform: translate(4px, 4px); }
html[data-cta="3"] .kp-btn:hover::after { transform: translate(4px, 4px); }
html[data-cta="3"] .kp-btn:hover .kp-btn__ic { transform: none; }

/* 4: corner brackets */
html[data-cta="4"] .kp-btn { margin: 8px; }
html[data-cta="4"] .kp-btn::before, html[data-cta="4"] .kp-btn::after { content: ""; position: absolute; z-index: 0; width: 22px; height: 22px; border: 0 solid var(--kp-bb); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
html[data-cta="4"] .kp-btn::before { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
html[data-cta="4"] .kp-btn::after { right: -8px; bottom: -8px; border-right-width: 2px; border-bottom-width: 2px; }
html[data-cta="4"] .kp-btn:hover::before { transform: translate(-3px, -3px); }
html[data-cta="4"] .kp-btn:hover::after { transform: translate(3px, 3px); }

/* 5: text + big filled circle with the arrow */
html[data-cta="5"] .kp-btn { min-width: 0; color: var(--kp-txt, var(--kp-ink)); }
html[data-cta="5"] .kp-btn__face { gap: 22px; min-height: 0; padding: 0; background: none; }
html[data-cta="5"] .kp-btn:hover .kp-btn__face { background: none; }
html[data-cta="5"] .kp-btn__tx { align-items: flex-start; text-align: left; }
html[data-cta="5"] .kp-btn__en { display: block; margin-bottom: 4px; color: var(--kp-txt-en, var(--kp-main)); }
html[data-cta="5"] .kp-btn__t { font-size: 20px; }
html[data-cta="5"] .kp-btn__ic { width: 76px; height: 76px; border-radius: 50%; background: var(--kp-bb); color: var(--kp-bi); }
html[data-cta="5"] .kp-btn__ic .kp-arw { width: 24px; height: 24px; }
html[data-cta="5"] .kp-btn:hover .kp-btn__ic { transform: scale(1.06); background: var(--kp-bh); }
html[data-cta="5"] .kp-btn--light .kp-btn__ic { color: var(--kp-deep); }

/* 6: tall block with English + Japanese */
html[data-cta="6"] .kp-btn { min-width: min(100%, 400px); }
html[data-cta="6"] .kp-btn__face { min-height: 96px; padding: 16px 84px; border-radius: 6px; }
html[data-cta="6"] .kp-btn__en { display: block; margin-bottom: 6px; opacity: .85; }
html[data-cta="6"] .kp-btn__t { font-size: 20px; }
html[data-cta="6"] .kp-btn__ic { position: absolute; right: 26px; top: 50%; margin-top: -12px; }
html[data-cta="6"] .kp-btn__ic .kp-arw { width: 24px; height: 24px; }

@media (max-width: 640px) {
  .kp-btns { flex-direction: column; align-items: stretch; gap: 20px; }
  .kp-btn { display: flex; width: 100%; min-width: 0; font-size: 17px; }
  .kp-btn__face { padding: 12px 52px; }
  .kp-btn__ic { position: absolute; right: 20px; top: 50%; margin-top: -10px; }
  html[data-cta="2"] .kp-btn__face { padding: 10px 64px; }
  html[data-cta="3"] .kp-btn { width: calc(100% - 7px); }
  html[data-cta="4"] .kp-btn { width: calc(100% - 16px); margin: 8px; }
  html[data-cta="5"] .kp-btn__face { justify-content: space-between; }
  html[data-cta="5"] .kp-btn__face::before { content: ""; flex: none; width: 64px; }
  html[data-cta="5"] .kp-btn__tx { flex: 1; align-items: center; text-align: center; }
  html[data-cta="5"] .kp-btn__ic { position: static; margin: 0; width: 64px; height: 64px; }
  html[data-cta="6"] .kp-btn__face { min-height: 84px; padding: 14px 60px; }
  html[data-cta="6"] .kp-btn__ic { right: 20px; }
}

/* ================= closing band ================= */
.kp-band { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) var(--kp-gutter); font-family: var(--kp-font); }
.kp-band__bg { display: none; }
.kp-band__in { position: relative; max-width: 1100px; margin: 0 auto; display: grid; gap: 40px; justify-items: center; text-align: center; }
.kp-band__head { display: grid; gap: 14px; justify-items: center; }
.kp-band__en { margin: 0; font-family: var(--kp-en); font-size: clamp(44px, 7vw, 88px); font-weight: 600; line-height: 1; letter-spacing: .06em; padding-left: .06em; }
.kp-band__ttl { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.kp-band__lead { margin: 0; max-width: 40em; font-size: 16px; line-height: 1.9; }
.kp-band__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 28px; width: 100%; }
.kp-band__item-en, .kp-band__item-t, .kp-band__item-d { display: none; margin: 0; }
.kp-band__tel { display: grid; gap: 4px; justify-items: center; padding: 16px 40px; color: inherit; text-decoration: none; }
.kp-band__tel-l { font-size: 14px; font-weight: 700; }
.kp-band__tel-n { display: flex; align-items: center; gap: 8px; font-family: var(--kp-en); font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; letter-spacing: .03em; line-height: 1.15; }
.kp-band__tel-h { font-size: 13px; }

/* a: on a photo */
html[data-band="a"] .kp-band { color: #fff; --kp-txt: #fff; --kp-txt-en: #fff; }
html[data-band="a"] .kp-band__bg { display: block; position: absolute; inset: 0; }
html[data-band="a"] .kp-band__bg img { width: 100%; height: 100%; object-fit: cover; }
html[data-band="a"] .kp-band__bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--kp-deep) 68%, transparent); }
html[data-band="a"] .kp-band__tel { border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 6px; }
html[data-band="a"] .kp-band .kp-btn--sub { --kp-bb: #fff; --kp-bh: var(--kp-soft); --kp-bi: var(--kp-deep); }

/* b: two large panels */
html[data-band="b"] .kp-band { background: var(--kp-soft); color: var(--kp-ink); }
html[data-band="b"] .kp-band__en { color: var(--kp-main); }
html[data-band="b"] .kp-band__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
html[data-band="b"] .kp-band__item { display: grid; gap: 12px; justify-items: center; align-content: start; padding: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px); border-radius: 16px; background: #fff; color: var(--kp-ink); }
html[data-band="b"] .kp-band__item--contact { background: var(--kp-deep); color: #fff; --kp-txt: #fff; --kp-txt-en: #fff; }
html[data-band="b"] .kp-band__item-en { display: block; font-family: var(--kp-en); font-size: 15px; letter-spacing: .18em; color: var(--kp-main); }
html[data-band="b"] .kp-band__item--contact .kp-band__item-en { color: #fff; opacity: .85; }
html[data-band="b"] .kp-band__item-t { display: block; font-size: 24px; font-weight: 700; }
html[data-band="b"] .kp-band__item-d { display: block; max-width: 24em; margin-bottom: 12px; font-size: 15px; line-height: 1.8; text-align: center; }
html[data-band="b"] .kp-band__item .kp-btn { width: 100%; }
html[data-band="b"] .kp-band__tel { padding: 0; }
html[data-band="b"] .kp-band__tel-n { color: var(--kp-deep); }

/* c: deep colour panel */
html[data-band="c"] .kp-band { background: var(--kp-deep); color: #fff; --kp-txt: #fff; --kp-txt-en: #fff; }
html[data-band="c"] .kp-band .kp-btn--sub { --kp-bb: #fff; --kp-bh: var(--kp-soft); --kp-bi: var(--kp-deep); }
html[data-band="c"] .kp-band__tel { padding: 0; }

@media (max-width: 640px) {
  .kp-band__items { flex-direction: column; align-items: stretch; gap: 20px; }
  html[data-band="b"] .kp-band__item { gap: 10px; }
  .kp-band__tel { width: 100%; padding: 16px; }
  html[data-band="b"] .kp-band__tel, html[data-band="c"] .kp-band__tel { padding: 0; }
  .kp-band__lead { text-align: justify; text-align-last: center; }
  .kp-band__lead:has(.kp-ph), .kp-ct__lead:has(.kp-ph) { text-align: center; }
}

/* ================= contact page ================= */
.kp-ct { padding: calc(var(--kp-hd-h) + 88px) var(--kp-gutter) clamp(72px, 9vw, 120px); background: var(--kp-soft); color: var(--kp-ink); font-family: var(--kp-font); }
.kp-ct__in { max-width: 1180px; margin: 0 auto; display: grid; gap: 36px; }
.kp-ct__head { display: grid; gap: 12px; justify-items: center; text-align: center; }
.kp-ct__en { margin: 0; font-family: var(--kp-en); font-size: clamp(40px, 6vw, 72px); font-weight: 600; line-height: 1; letter-spacing: .06em; padding-left: .06em; color: var(--kp-main); }
.kp-ct__ttl { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: .06em; }
.kp-ct__lead { margin: 0; max-width: 40em; font-size: 16px; line-height: 1.9; }
.kp-ct__steps { display: flex; justify-content: center; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.kp-ct__steps li { display: flex; align-items: center; gap: 8px; color: var(--kp-ink2); font-size: 15px; font-weight: 700; }
.kp-ct__steps li + li::before { content: ""; width: clamp(20px, 4vw, 48px); height: 2px; margin: 0 12px; background: color-mix(in srgb, var(--kp-ink2) 35%, transparent); }
.kp-ct__steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--kp-ink2); font-family: var(--kp-en); font-size: 16px; }
.kp-ct__steps li.is-on { color: var(--kp-deep); }
.kp-ct__steps li.is-on b { background: var(--kp-deep); color: #fff; }
.kp-ct__side { display: grid; gap: 20px; align-content: start; }
.kp-ct__tel { display: grid; gap: 6px; justify-items: center; padding: 32px 24px; border-radius: 16px; background: var(--kp-deep); color: #fff; text-align: center; text-decoration: none; }
.kp-ct__tel-l { font-size: 15px; font-weight: 700; }
.kp-ct__tel-n { display: flex; align-items: center; gap: 8px; font-family: var(--kp-en); font-size: clamp(30px, 3.2vw, 38px); font-weight: 600; letter-spacing: .03em; line-height: 1.15; }
.kp-ct__tel-h { font-size: 14px; }
.kp-ct__notes { display: grid; gap: 10px; margin: 0; padding: 26px 26px 26px 46px; border-radius: 16px; background: #fff; font-size: 15px; line-height: 1.8; }
.kp-ct__main { min-width: 0; padding: clamp(24px, 4vw, 56px); border-radius: 18px; background: #fff; }

/* form */
.kp-form { display: grid; gap: 28px; margin: 0; }
.kp-form__rest { display: grid; gap: 26px; }
.kp-form__row { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.kp-form__lb { display: flex; align-items: center; gap: 10px; padding: 0; font-size: 16px; font-weight: 700; }
.kp-form__req { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--kp-cta); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; }
.kp-in { width: 100%; min-height: 58px; padding: 12px 16px; border: 1.5px solid #b8c3be; border-radius: 8px; background: #fff; color: var(--kp-ink); font: 500 17px/1.6 var(--kp-font); }
.kp-in--area { min-height: 180px; resize: vertical; }
.kp-in:focus { border-color: var(--kp-main); outline: 3px solid color-mix(in srgb, var(--kp-main) 25%, transparent); outline-offset: 0; }
.kp-kinds { display: flex; flex-wrap: wrap; gap: 10px; }
.kp-kind { position: relative; display: block; cursor: pointer; }
.kp-kind input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.kp-kind span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 20px; border-radius: 8px; background: var(--kp-soft); color: var(--kp-ink); font-size: 16px; font-weight: 700; text-align: center; transition: background-color .2s, color .2s; }
.kp-kind input:checked + span { background: var(--kp-deep); color: #fff; }
.kp-kind input:focus-visible + span { outline: 3px solid var(--kp-main); outline-offset: 2px; }
:root[data-ct] .kp-kinds.is-1col { display: grid; grid-template-columns: 1fr; }
.kp-form__hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kp-form { position: relative; }
.kp-form__agree { display: flex; justify-content: center; }
.kp-check { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; cursor: pointer; }
.kp-check input { width: 24px; height: 24px; margin: 0; accent-color: var(--kp-deep); }
.kp-check a { color: var(--kp-main); font-weight: 700; }
.kp-form__done { display: grid; gap: 14px; justify-items: center; padding: 48px 8px; text-align: center; }
.kp-form__done-t { margin: 0; font-size: 26px; font-weight: 700; color: var(--kp-deep); }
.kp-form__done-d { margin: 0; font-size: 16px; line-height: 1.9; }
.kp-form__err { margin: 20px 0 0; padding: 16px 20px; border-radius: 8px; background: #fde9e4; color: #9b2c12; font-size: 15px; font-weight: 700; text-align: center; }
.kp-fconf { display: grid; gap: 22px; }
.kp-fconf__ttl { margin: 0; font-size: 22px; font-weight: 700; text-align: center; }
.kp-fconf__list { display: grid; gap: 0; margin: 0; }
.kp-fconf__list div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 16px 4px; border-top: 1px solid #dfe5e2; }
.kp-fconf__list div:last-child { border-bottom: 1px solid #dfe5e2; }
.kp-fconf__list dt { color: var(--kp-ink2); font-size: 15px; font-weight: 700; }
.kp-fconf__list dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.kp-fconf__none { color: var(--kp-ink2); }
.kp-fconf__back { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 8px; background: var(--kp-soft); color: var(--kp-ink); font: 700 16px/1.4 var(--kp-font); cursor: pointer; }

/* a: two columns (phone and notes on the left) */
@media (min-width: 901px) {
  html[data-ct="a"] .kp-ct__in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "head head" "side steps" "side main"; column-gap: 40px; }
  html[data-ct="a"] .kp-ct__head { grid-area: head; }
  html[data-ct="a"] .kp-ct__steps { grid-area: steps; }
  html[data-ct="a"] .kp-ct__side { grid-area: side; position: sticky; top: calc(var(--kp-hd-h) + 32px); }
  html[data-ct="a"] .kp-ct__main { grid-area: main; }
}
/* b: big steps, one column */
html[data-ct="b"] .kp-ct__in { max-width: 860px; }
html[data-ct="b"] .kp-ct__steps { order: -1; margin-bottom: 4px; }
html[data-ct="b"] .kp-ct__head { order: -2; }
html[data-ct="b"] .kp-ct__steps li { flex-direction: column; gap: 8px; font-size: 16px; }
html[data-ct="b"] .kp-ct__steps li + li::before { display: none; }
html[data-ct="b"] .kp-ct__steps li + li { margin-left: clamp(28px, 7vw, 88px); position: relative; }
html[data-ct="b"] .kp-ct__steps li + li::after { content: ""; position: absolute; top: 25px; right: calc(100% + 10px); width: clamp(10px, 5vw, 60px); height: 2px; background: color-mix(in srgb, var(--kp-ink2) 35%, transparent); }
html[data-ct="b"] .kp-ct__steps b { width: 52px; height: 52px; font-size: 22px; }
html[data-ct="b"] .kp-ct__side { order: 5; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
html[data-ct="b"] .kp-ct__main { order: 4; }
/* c: choose the kind first */
html[data-ct="c"] .kp-ct__in { max-width: 920px; }
html[data-ct="c"] .kp-ct__side { order: 5; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
html[data-ct="c"] .kp-ct__main { order: 4; }
html[data-ct="c"] .kp-form__kind > .kp-form__lb { width: 100%; justify-content: center; font-size: 20px; margin-bottom: 6px; }
html[data-ct="c"] .kp-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
html[data-ct="c"] .kp-kind span { min-height: 96px; border-radius: 12px; font-size: 19px; }
html[data-ct="c"] .kp-form:not(:has(.kp-form__kind input:checked)) .kp-form__rest { display: none; }
/* d: the phone number first */
html[data-ct="d"] .kp-ct__in { max-width: 920px; }
html[data-ct="d"] .kp-ct__side { order: -1; }
html[data-ct="d"] .kp-ct__head { order: -2; }
html[data-ct="d"] .kp-ct__tel { padding: clamp(32px, 5vw, 56px) 24px; gap: 10px; }
html[data-ct="d"] .kp-ct__tel-l { font-size: 17px; }
html[data-ct="d"] .kp-ct__tel-n { font-size: clamp(38px, 6vw, 60px); }
html[data-ct="d"] .kp-ct__tel-h { font-size: 15px; }
html[data-ct="d"] .kp-ct__notes { background: transparent; padding: 0 0 0 22px; max-width: 40em; justify-self: center; }

@media (max-width: 900px) {
  html[data-ct="a"] .kp-ct__side { order: 5; }
  html[data-ct="a"] .kp-ct__main { order: 4; }
}
@media (max-width: 640px) {
  .kp-ct { padding-top: calc(var(--kp-hd-h) + 56px); }
  .kp-ct__lead { text-align: justify; text-align-last: center; }
  .kp-ct__steps li { font-size: 14px; }
  .kp-ct__steps li + li::before { margin: 0 8px; }
  html[data-ct="b"] .kp-ct__steps li { font-size: 14px; }
  html[data-ct="b"] .kp-ct__steps b { width: 44px; height: 44px; font-size: 19px; }
  html[data-ct="b"] .kp-ct__steps li + li::after { top: 21px; }
  html[data-ct="c"] .kp-kinds { gap: 10px; }
  html[data-ct="c"] .kp-kind span { min-height: 80px; font-size: 17px; padding: 10px 12px; }
  .kp-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-fconf__list div { grid-template-columns: 1fr; gap: 4px; }
  .kp-ct__notes { padding: 22px 20px 22px 38px; }
}

/* ================= footer ================= */
.kp-ft { padding: 64px var(--kp-gutter) 28px; background: #fff; color: var(--kp-ink); font-family: var(--kp-font); }
.kp-ft__in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.kp-ft__co { display: grid; gap: 10px; align-content: start; }
.kp-ft__logo { color: var(--kp-ink); }
.kp-ft__addr, .kp-ft__tel { margin: 0; font-size: 15px; line-height: 1.8; }
.kp-ft__tel a { color: inherit; font-weight: 700; text-decoration: none; }
.kp-ft__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
.kp-ft__nav a { color: var(--kp-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.kp-ft__nav a:hover { color: var(--kp-main); }
.kp-ft__copy { max-width: 1200px; margin: 48px auto 0; color: var(--kp-ink2); font-size: 12px; }
@media (max-width: 640px) {
  .kp-ft__in { flex-direction: column; align-items: center; text-align: center; }
  .kp-ft__co { justify-items: center; }
  .kp-ft__copy { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .kp-hd, .kp-bar, .kp-menu, .kp-btn__face, .kp-btn__ic, .kp-btn::before, .kp-btn::after { transition: none !important; }
}
