.floor-map-trigger {
cursor: zoom-in;
position: relative;
display: inline-block;
width: 100%;
padding: 1rem;
border: solid 1px #e5e5e5;
}
.floor-map-trigger__hint {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: #0006;
color: #fff;
text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
visibility: hidden;
pointer-events: none;
opacity: 0;
transition: opacity 0.2s ease;
}
.floor-map-trigger__hint.is-visible {
visibility: visible;
pointer-events: all;
opacity: 1;
} .floor-map-trigger__svg {
width: 100%;
}
.floor-map-trigger__svg svg {
width: 100%;
height: auto;
display: block;
}
.floor-map-trigger__hint p {
margin: 0;
font-size: 1rem;
font-weight: 500;
text-align: center;
padding: 0 1rem;
} .floor-map-fs {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
background: #fff;
opacity: 0;
pointer-events: none;
transform: scale(0.98);
transition:
opacity 0.3s ease,
transform 0.3s ease;
}
body.floor-map-fs-open {
overflow: hidden;
}
.floor-map-fs.is-open {
opacity: 1;
pointer-events: auto;
transform: scale(1);
} .floor-map-fs__close {
position: absolute;
top: 16px;
right: 16px;
z-index: 10;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: #000;
color: #fff;
border: none;
cursor: pointer;
flex-shrink: 0;
transition: background-color 0.15s ease;
}
.floor-map-fs__close:hover {
background: #333;
}
.floor-map-fs__close svg,
.floor-map-fs__close-mobile svg {
width: 42px;
height: 42px;
} .floor-map-fs__aside {
width: 320px;
flex-shrink: 0;
height: 100%;
border-right: 1px solid #e5e5e5;
overflow: hidden;
position: relative;
} .floor-map-fs__aside-slider {
display: flex;
width: 200%;
height: 100%;
transform: translateX(0);
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.floor-map-fs__aside-slider.is-detail {
transform: translateX(-50%);
} .floor-map-fs__panel {
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
flex-shrink: 0;
} .floor-map-fs__search-wrap {
position: relative;
padding: 16px;
flex-shrink: 0;
border-bottom: 1px solid #e5e5e5;
}
.floor-map-fs__search {
width: 100%;
padding: 0.6rem 2.5rem 0.6rem 0.75rem;
border: 1px solid #000;
border-radius: 0;
font-size: 1rem;
outline: none;
background: #fff;
font-family: inherit;
}
.floor-map-fs__search:focus {
border-color: #555;
}
.floor-map-fs__search-icon {
position: absolute;
right: 28px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: #737373;
} .floor-map-fs__search-close {
display: none;
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 50px;
align-items: center;
justify-content: center;
background: none;
border: none;
cursor: pointer;
color: #000;
padding: 0;
}
.floor-map-fs__tenant-list {
overflow-y: auto;
flex: 1;
padding: 0;
}
.floor-map-fs__tenant {
padding: 12px 16px;
border-bottom: 1px solid #f0f0f0;
cursor: pointer;
transition: background-color 0.1s ease;
}
.floor-map-fs__tenant:hover {
background-color: #f5f5f5;
}
.floor-map-fs__tenant-name {
display: block;
font-size: 0.95rem;
font-weight: 500;
}
.floor-map-fs__tenant-level {
display: block;
font-size: 0.8rem;
color: #737373;
margin-top: 2px;
} .floor-map-fs__detail-header {
padding: 12px 16px;
border-bottom: 1px solid #e5e5e5;
flex-shrink: 0;
}
.floor-map-fs__detail-back {
display: inline-flex;
align-items: center;
gap: 4px;
background: none;
border: none;
cursor: pointer;
font-size: 0.9rem;
font-weight: 500;
font-family: inherit;
color: #000;
padding: 4px 0;
transition: opacity 0.15s ease;
}
.floor-map-fs__detail-back:hover {
opacity: 0.6;
}
.floor-map-fs__detail-body {
overflow-y: auto;
flex: 1;
display: flex;
flex-direction: column;
}
.floor-map-fs__detail-thumb-wrap {
width: 100%;
aspect-ratio: 4 / 3;
overflow: hidden;
background: #f0f0f0;
flex-shrink: 0;
}
.floor-map-fs__detail-thumb {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
padding-inline: 1rem;
}
.floor-map-fs__detail-info {
padding: 20px 16px 12px;
}
.floor-map-fs__detail-name {
font-size: 1.15rem;
font-weight: 600;
line-height: 1.25;
margin: 0 0 6px;
}
.floor-map-fs__detail-meta {
font-size: 0.82rem;
color: #737373;
margin: 0 0 16px;
}
.floor-map-fs__detail-hours-label {
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #737373;
margin: 0 0 2px;
}
.floor-map-fs__detail-hours {
font-size: 0.95rem;
font-weight: 500;
margin: 0;
}
.floor-map-fs__detail-link {
display: inline-flex;
align-items: center;
gap: 6px;
margin: 20px 16px 24px;
padding: 0.55rem 1rem;
background: #000;
color: #fff;
font-size: 0.9rem;
font-weight: 500;
font-family: inherit;
text-decoration: none;
align-self: flex-start;
transition: background-color 0.15s ease;
}
.floor-map-fs__detail-link:hover {
background: #333;
color: #fff;
} .floor-map-fs__map-area {
flex: 1;
position: relative;
overflow: hidden;
}
.floor-map-fs__viewport {
width: 100%;
height: 100%;
overflow: hidden;
cursor: grab;
user-select: none;
}
.floor-map-fs__canvas {
display: inline-block;
}
.floor-map-fs__img {
display: none;
max-width: none;
pointer-events: none;
}
.floor-map-fs__img.is-active {
display: block;
} .floor-map-fs__svg-floor {
display: none;
width: 100%;
height: 100%;
position: absolute;
inset: 0; justify-content: center;
align-items: center;
}
.floor-map-fs__svg-floor.is-active {
display: flex;
}
.floor-map-fs__svg-floor svg {
max-width: 100%;
max-height: 100%;
display: block;
} .floor-map-fs__canvas:has(.floor-map-fs__svg-floor) {
width: 100%;
height: 100%;
position: relative;
} .floor-map-fs__svg-tooltip {
position: absolute;
z-index: 10001;
background: #000;
color: #fff;
padding: 4px 10px;
border-radius: 3px;
font-size: 12px;
pointer-events: none;
white-space: nowrap;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
} .floor-map-fs__picker {
position: absolute;
top: 16px;
left: 336px;
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 8px;
z-index: 10;
}
.floor-map-fs__picker-toggle {
display: none;
}
.floor-map-fs__picker-list {
display: flex;
flex-direction: row;
gap: 4px;
align-items: center;
}
.floor-map-fs__picker-item {
padding: 8px 16px;
background: #fff;
color: #000;
border: 1px solid #000;
cursor: pointer;
font-size: 0.9rem;
font-weight: 500;
white-space: nowrap;
font-family: inherit;
transition:
background-color 0.15s ease,
color 0.15s ease;
}
.floor-map-fs__picker-item:hover,
.floor-map-fs__picker-item.is-active {
background: #000;
color: #fff;
} .floor-map-fs__mobile-bar {
display: none;
}
.floor-map-fs__close-mobile {
display: none;
} @media (max-width: 640px) { .floor-map-fs {
flex-direction: row;
} .floor-map-fs__close {
display: none;
} .floor-map-fs__map-area {
position: absolute;
inset: 0;
z-index: 0;
} .floor-map-fs__mobile-bar {
display: flex;
align-items: center;
gap: 0;
position: absolute;
top: 12px;
left: 12px;
right: 12px;
z-index: 10;
height: 44px;
background: #fff;
border: 1px solid #e0e0e0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.floor-map-fs__mobile-search-wrap {
flex: 1;
display: flex;
align-items: center;
padding: 0 12px;
gap: 8px;
height: 100%;
overflow: hidden;
}
.floor-map-fs__mobile-search-icon {
flex-shrink: 0;
color: #737373;
}
.floor-map-fs__mobile-search-btn {
flex: 1;
background: none;
border: none;
padding: 0;
font-size: 0.95rem;
color: #737373;
font-family: inherit;
text-align: left;
cursor: pointer;
height: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.floor-map-fs__close-mobile {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
flex-shrink: 0;
background: #000;
color: #fff;
border: none;
cursor: pointer;
} .floor-map-fs__aside {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 12;
border-right: none;
transform: translateX(-100%);
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
background-color: white;
} .floor-map-fs__aside.is-list-open {
transform: translateX(0);
} .floor-map-fs__aside-slider {
flex: 1;
min-height: 0;
height: 100%;
width: 200%;
}
.floor-map-fs__panel {
height: 100%;
} .floor-map-fs__search-close {
display: flex;
} .floor-map-fs__picker {
top: 72px;
left: 13px;
}
}