@charset "UTF-8";

/* =========================================================
  block: office map
========================================================= */
.b-office-map-01 {
  padding: 0 0 80px;
}

.l-content-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
  module: office map
========================================================= */
.m-office-map-01 {
  position: relative;
}

.m-office-map-01__head {
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
}

.m-office-map-01__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m-office-map-01__tab {
  min-width: 118px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: #d8dcde;
  color: #222222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.m-office-map-01__tab:hover {
  transform: translateY(-1px);
}

.m-office-map-01__tab:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

.m-office-map-01__tab.is-active {
  background: #007a4c;
  color: #ffffff;
}

.m-office-map-01__panel {
  border-radius: 0 18px 18px 18px;
  background: #d9e3e7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.m-office-map-01__stage {
  position: relative;
  width: 100%;
}

.m-office-map-01__map {
  display: block;
  width: 100%;
  height: auto;
}

.m-office-map-01__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.m-office-map-01__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.m-office-map-01__label {
  position: absolute;
  top: calc(var(--label-y) * 1%);
  left: calc(var(--label-x) * 1%);
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: min(36vw, 420px);
  padding: 6px 18px 6px;
  border: 1px solid #d5dfdb;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  color: #5b8d7d;
  font-size: clamp(10px, 0.85vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  transform: translate(0, -50%);
  transform-origin: left center;
}

.m-office-map-01__label.is-left {
  transform: translate(-100%, -50%);
  transform-origin: right center;
}

.m-office-map-01__label-text {
  display: block;
}

/* =========================================================
  svg overlay parts
========================================================= */
.m-office-map-01__leader {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.52;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.m-office-map-01__pin-core {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 1.0;

  vector-effect: non-scaling-stroke;
}

.m-office-map-01__pin-ring {
  fill: none;
  stroke: #ffffff;
  stroke-width: 0.8;
  opacity: 1;
  vector-effect: non-scaling-stroke;
}

/* =========================================================
  responsive
========================================================= */
@media screen and (max-width: 768px) {
  .b-office-map-01 {
    padding-bottom: 56px;
  }

  .m-office-map-01__tablist {
    gap: 6px;
  }

  .m-office-map-01__tab {
    min-width: calc(50% - 3px);
    padding: 12px 10px;
    font-size: 14px;
  }

  .m-office-map-01__panel {
    border-radius: 0 14px 14px 14px;
  }

  .m-office-map-01__label {
    min-height: 24px;
    max-width: 45vw;
    padding: 5px 9px 6px;
    font-size: 10px;
  }
}