/* 3.6.78 — curved photo selectors. An actual interactive UI, not the static concept image.
   Built on v3.6.77; all service data and the selection engine remain untouched. */
html body.home #service-finder.kgp-section .kp377-gallery-stage{--k378-cream:#fff7e8;--k378-gold:#ffd66a;--k378-copper:#e87424;--k378-ink:#202e28}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kp375-place-heading{margin-bottom:8px!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="3"],
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="7"]{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:36px 20px!important;padding:32px 20px 34px 12px!important;
 overflow:visible!important;align-items:stretch!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place+.kgp-place.kp375-place,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place:not([hidden]){
 display:block!important;position:relative!important;overflow:visible!important;clip-path:none!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 height:clamp(210px,21vw,253px)!important;min-height:0!important;max-height:none!important;
 padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;isolation:isolate!important;transform:none!important;
 text-align:left!important;cursor:pointer!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place::before{
 content:''!important;display:block!important;position:absolute!important;inset:7px -6px -6px 7px!important;
 z-index:-1!important;border:0!important;border-radius:31px 31px 32px 32px!important;
 background:linear-gradient(140deg,#ffd966,#e39c2a)!important;
 box-shadow:0 9px 17px rgba(100,64,27,.15)!important;opacity:1!important;
 transform:rotate(1.5deg)!important;transition:transform .3s ease,box-shadow .3s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place::after{content:none!important;display:none!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place .kgp-place-image.kp375-place-visual,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place .kgp-place-image.kp375-place-visual{
 display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 min-height:0!important;max-height:none!important;border:3px solid #fffaf1!important;
 border-radius:31px!important;clip-path:none!important;overflow:hidden!important;
 box-shadow:0 10px 25px rgba(38,49,31,.15)!important;z-index:1!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual::after{
 content:''!important;position:absolute!important;inset:0!important;display:block!important;
 background:linear-gradient(180deg,rgba(14,31,31,.03),rgba(14,31,31,.03) 44%,rgba(14,31,31,.28) 100%)!important;
 pointer-events:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual img{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;
 object-fit:cover!important;object-position:center!important;filter:saturate(.88) contrast(1.06)!important;
 transition:transform .42s cubic-bezier(.2,.8,.2,1),filter .35s ease!important;
}
/* An editorial swoop instead of a mechanical two-piece card. Names stay high contrast and stable. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;
 position:absolute!important;z-index:6!important;left:3px!important;right:3px!important;bottom:3px!important;
 width:auto!important;max-width:none!important;height:41%!important;min-height:0!important;
 gap:4px!important;padding:25px 14px 14px!important;
 background:linear-gradient(125deg,#fffcf5,#fff1d8)!important;
 border:0!important;box-shadow:none!important;
 border-radius:49% 56% 27px 27px / 27% 38% 24px 24px!important;
 text-align:left!important;pointer-events:none!important;
 transform:none!important;transition:background .28s ease,transform .3s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{
 font-family:'Noto Sans JP',sans-serif!important;font-size:clamp(16px,1.65vw,22px)!important;line-height:1.19!important;
 font-weight:900!important;white-space:nowrap!important;letter-spacing:-.055em!important;color:var(--k378-ink)!important;text-shadow:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{
 font-size:clamp(10px,.91vw,12px)!important;line-height:1.34!important;font-weight:700!important;
 color:#76583f!important;white-space:normal!important;text-shadow:none!important;
}
/* Purposeful protrusion: place-specific pictogram outside the photo's corner. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem{
 display:grid!important;place-items:center!important;position:absolute!important;z-index:9!important;
 top:-18px!important;right:auto!important;left:-12px!important;
 width:52px!important;height:52px!important;border:4px solid #fffaf2!important;
 border-radius:50%!important;background:linear-gradient(145deg,#fff7ca,#ffd564)!important;color:#ba561c!important;
 box-shadow:0 7px 14px rgba(53,49,23,.16)!important;
 transform:rotate(-7deg)!important;pointer-events:none!important;
 transition:transform .35s cubic-bezier(.25,.8,.2,1),background .25s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:nth-child(2n) .kp377-place-emblem{left:auto!important;right:-12px!important;transform:rotate(6deg)!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem svg{width:28px!important;height:28px!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-photo-number{display:none!important}
/* Textual action, attached to a lower corner, without obscuring the name. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow{
 display:grid!important;place-items:center!important;position:absolute!important;z-index:8!important;
 bottom:15px!important;right:10px!important;width:35px!important;height:35px!important;
 border:2px solid #fffaf1!important;border-radius:50%!important;background:var(--k378-copper)!important;color:#fff!important;
 box-shadow:0 4px 12px rgba(130,72,25,.17)!important;transform:none!important;
 transition:transform .25s ease,background .25s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow svg{width:19px!important;height:19px!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:is(:hover,[aria-pressed="true"])::before{transform:rotate(2.5deg) translate(1px,3px)!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:is(:hover,[aria-pressed="true"]) .kp375-place-visual img{transform:scale(1.055)!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-content{background:linear-gradient(125deg,#ffdd7f,#ffd15d)!important;transform:translateY(-2px)!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp377-place-emblem{background:#ffca51!important;transform:rotate(0) scale(1.08)!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-arrow{background:#1d443e!important;transform:translateX(2px)!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:focus-visible{outline:3px solid #e77825!important;outline-offset:7px!important}
/* One wide tile resolves the odd 7th entry without a lonely half-width card. */
@media(min-width:681px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place[data-kgp-place="bicycle"]:not([hidden]){grid-column:span 2!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="3"]>.kgp-place.kp375-place[data-kgp-place="interior"]:not([hidden]){grid-column:auto!important}
}
@media(max-width:1020px) and (min-width:681px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="3"],
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="7"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:680px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="3"],
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="7"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 14px!important;
  padding:25px 9px 27px 9px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place+.kgp-place.kp375-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place:not([hidden]){
  height:clamp(172px,46vw,212px)!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place[data-kgp-place="bicycle"]:not([hidden]),
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="3"]>.kgp-place.kp375-place[data-kgp-place="interior"]:not([hidden]){
  grid-column:span 2!important;height:164px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
  left:3px!important;right:3px!important;bottom:3px!important;width:auto!important;max-width:none!important;
  height:43%!important;padding:19px 10px 12px!important;gap:4px!important;
  border-radius:55% 54% 25px 25px / 30% 27% 22px 22px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{font-size:clamp(14.5px,4.1vw,18px)!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{font-size:clamp(9px,2.5vw,11px)!important;line-height:1.3!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem{
  width:43px!important;height:43px!important;top:-14px!important;left:-8px!important;border-width:3px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:nth-child(2n) .kp377-place-emblem{left:auto!important;right:-8px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem svg{width:23px!important;height:23px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow{width:30px!important;height:30px!important;right:8px!important;bottom:10px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow svg{width:16px!important;height:16px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place[data-kgp-place="bicycle"] .kp375-place-content,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="3"]>.kgp-place[data-kgp-place="interior"] .kp375-place-content{
  left:auto!important;right:3px!important;top:3px!important;bottom:3px!important;width:53%!important;height:auto!important;
  border-radius:60% 25px 25px 60% / 46% 22px 22px 46%!important;padding:12px 13px 12px 25px!important;
 }
}
@media(max-width:359px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="3"],
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="7"]{gap:24px 11px!important;padding:25px 8px 22px 8px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place+.kgp-place.kp375-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place:not([hidden]){height:172px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{padding:17px 8px 9px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{font-size:13.5px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{font-size:8.2px!important}
}
/* Functional states are authoritative; hidden cards must never be revived by historical layout CSS. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place *{animation:none!important;transition:none!important}
}
/* Historical wide-tile paint order: keep the actual bicycle photo above its fallback background. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual img{z-index:2!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual::after{z-index:3!important}
/* Prevent adjacent top-right/left pictograms colliding in the compact desktop grid. */
@media(min-width:681px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:nth-child(2n) .kp377-place-emblem{right:3px!important}
}
