/*
 * Keyper Osaka 3.6.79 — EDITORIAL PLACE SELECTOR
 * More architectural, less promotional: clean photo surfaces, typographic
 * overlay, restrained strokes and genuinely overlapping corners.
 * This file intentionally supersedes v3.6.75–78 place-card paint only.
 * Data, functionality, tab states, and other theme sections are unchanged.
 */
html body.home #service-finder.kgp-section .kp377-gallery-stage{
 --kp379-ink:#172c27; --kp379-fire:#d75d20; --kp379-gold:#d9b06a;
 --kp379-paper:#fcf8f0;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kp375-place-heading{margin-bottom:7px!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kp375-place-track{opacity:.72!important}

/* A photography contact-sheet, not a collection of discount cards. */
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:30px 19px!important; padding:27px 16px 26px 8px!important;
 align-items:stretch!important;overflow:visible!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]){
 position:relative!important;display:block!important;width:100%!important;min-width:0!important;
 height:clamp(201px,19vw,246px)!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;background:transparent!important;border:0!important;
 border-radius:0!important;clip-path:none!important;box-shadow:none!important;
 isolation:isolate!important;overflow:visible!important;cursor:pointer!important;text-align:left!important;
 transform:none!important;transition:filter .24s ease!important;
}
/* The fine backing frame is intentionally out of register with the photo. */
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;z-index:-1!important;
 inset:8px -6px -7px 7px!important;border:1px solid var(--kp379-gold)!important;
 border-radius:8px!important;background:transparent!important;box-shadow:none!important;
 opacity:.88!important;transform:none!important;pointer-events:none!important;
 transition:transform .34s cubic-bezier(.2,.8,.2,1),border-color .24s 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;
}
/* Full-bleed photograph + graded typography, with no separate bottom half. */
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{
 position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;
 min-height:0!important;max-height:none!important;
 overflow:hidden!important;z-index:1!important;
 background:#283936!important;border:0!important;border-radius:9px!important;
 clip-path:none!important;box-shadow:0 7px 21px rgba(24,38,31,.09)!important;
 transform:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual img{
 position:absolute!important;inset:0!important;display:block!important;
 width:100%!important;height:100%!important;max-height:none!important;
 object-fit:cover!important;object-position:center!important;z-index:2!important;
 filter:saturate(.79) contrast(1.07) brightness(.94)!important;
 transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .3s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual::after{
 content:''!important;display:block!important;position:absolute!important;inset:0!important;z-index:3!important;
 background:linear-gradient(180deg,rgba(9,22,20,.19) 0%,rgba(8,20,18,.01) 31%,rgba(7,20,19,.3) 51%,rgba(5,19,18,.9) 100%)!important;
 opacity:1!important;pointer-events:none!important;
}
/* White typography is directly superimposed onto the image. No capsule/paper behind it. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
 position:absolute!important;z-index:6!important;display:flex!important;flex-direction:column!important;
 left:0!important;right:27px!important;bottom:0!important;top:auto!important;
 width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;
 justify-content:flex-end!important;align-items:flex-start!important;
 padding:0 0 14px 15px!important;gap:5px!important;
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 text-align:left!important;pointer-events:none!important;transform:none!important;
 transition:transform .28s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{
 font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif!important;
 font-size:clamp(17px,1.52vw,22px)!important;line-height:1.25!important;
 font-weight:850!important;letter-spacing:-.045em!important;white-space:nowrap!important;
 color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.34)!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{
 font-size:clamp(10px,.82vw,12px)!important;line-height:1.4!important;
 font-weight:550!important;white-space:normal!important;letter-spacing:-.025em!important;
 color:rgba(255,255,255,.88)!important;text-shadow:0 1px 5px rgba(0,0,0,.28)!important;
}
/* Hairline accent, not an oversized colored banner. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content::before{
 content:'';position:absolute;left:15px;bottom:9px;width:31px;height:2px;
 background:#efad56;opacity:.84;transform:translateY(7px);
}
/* The place-specific outline intersects the top-right boundary in a small architectural tile. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:nth-child(2n) .kp377-place-emblem{
 display:grid!important;place-items:center!important;position:absolute!important;z-index:9!important;
 left:auto!important;right:-9px!important;top:-12px!important;
 width:37px!important;height:37px!important;
 border:1px solid #e4d7bb!important;border-radius:10px!important;
 background:#fdfbf6!important;color:#ac612a!important;
 box-shadow:0 4px 11px rgba(14,26,23,.09)!important;
 transform:none!important;pointer-events:none!important;
 transition:transform .26s ease,background .26s ease,color .26s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem svg{
 width:22px!important;height:22px!important;stroke-width:1.6!important;
}
/* Small editorial index sits across the photograph's top LEFT edge. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-photo-number{
 display:flex!important;align-items:center!important;justify-content:center!important;
 position:absolute!important;z-index:8!important;top:11px!important;left:-6px!important;
 width:30px!important;height:23px!important;padding:0!important;
 border-radius:0 3px 3px 0!important;border-left:2px solid #e98238!important;
 background:rgba(250,247,237,.97)!important;color:#263b34!important;
 font:750 11px/1 system-ui,sans-serif!important;letter-spacing:.02em!important;
 box-shadow:2px 3px 8px rgba(15,25,20,.08)!important;
 text-shadow:none!important;transform:none!important;
}
/* Icon-free action corner: a lean arrow extends beyond the photo. */
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:10!important;
 right:-8px!important;bottom:-8px!important;width:34px!important;height:34px!important;
 border:1px solid #e5d4bd!important;border-radius:9px!important;
 background:#fcf8ed!important;color:#ce632a!important;
 box-shadow:0 5px 12px rgba(20,33,28,.1)!important;
 transform:none!important;
 transition:background .23s ease,color .23s ease,transform .25s ease,border-color .25s ease!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow svg{
 width:20px!important;height:20px!important;transform:rotate(-45deg)!important;
}
@media(hover:hover) and (pointer:fine){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:hover::before{transform:translate(3px,3px)!important;border-color:#d27b3e!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:hover .kp375-place-visual img{transform:scale(1.048)!important;filter:saturate(.9) contrast(1.1)!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:hover .kp375-place-arrow{transform:translate(2px,-2px)!important;background:#f7dfbd!important}
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"]::before{
 transform:translate(3px,3px)!important;border-color:#d75d20!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-visual{
 outline:2px solid #d76a29!important;outline-offset:2px!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-content{
 background:transparent!important;transform:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp377-place-emblem{
 transform:translateY(-3px)!important;background:#e8b963!important;color:#1d3029!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-arrow{
 background:#d75d20!important;color:#fff!important;border-color:#d75d20!important;
 transform:translate(2px,-2px)!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:focus-visible{
 outline:3px solid #d75d20!important;outline-offset:5px!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place[hidden],
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="3"]>.kgp-place[hidden],
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place[hidden]{display:none!important}
/* Wide last tile is an intentional panorama, not a stranded half-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}
}
@media(min-width:681px) and (max-width:1020px){
 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:25px 15px!important;
  padding:24px 11px 24px 7px!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(178px,46vw,211px)!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:166px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
  left:0!important;right:24px!important;bottom:0!important;top:auto!important;
  width:auto!important;height:auto!important;min-height:0!important;
  padding:0 0 15px 11px!important;gap:4px!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content::before{left:11px;bottom:8px;width:24px}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{font-size:clamp(14.2px,3.9vw,18px)!important;letter-spacing:-.05em!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{font-size:clamp(9.2px,2.5vw,11px)!important;line-height:1.35!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:nth-child(2n) .kp377-place-emblem{
  width:35px!important;height:35px!important;right:-7px!important;top:-11px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem svg{width:21px!important;height:21px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow{width:30px!important;height:30px!important;right:-7px!important;bottom:-7px!important;border-radius:8px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow svg{width:18px!important;height:18px!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:23px 12px!important;padding:23px 8px 24px 7px!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:174px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{padding:0 0 14px 9px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content::before{left:9px}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{font-size:13.3px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{font-size:8.9px!important}
}
@media(prefers-reduced-motion:reduce){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place *{transition:none!important;animation:none!important;transform:none!important}
}
/* Historical wide-card rules formerly put the label into a separate right half.
   Restore the editorial bottom-left position on BOTH 7-item and 3-item flows. */
@media(max-width:680px){
 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]) .kp375-place-content,
 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]) .kp375-place-content{
  left:0!important;right:42px!important;top:auto!important;bottom:0!important;
  width:auto!important;height:auto!important;max-width:none!important;
  padding:0 0 15px 16px!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  align-items:flex-start!important;justify-content:flex-end!important;text-align:left!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]) .kp375-place-content::before,
 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]) .kp375-place-content::before{left:16px!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]) .kp375-place-hint,
 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]) .kp375-place-hint{max-width:100%!important}
}
@media(max-width:359px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{font-size:9.6px!important}
}
