.kv-wrapper {
  container-type: inline-size;
  container-name: kv;
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .kv-wrapper {
    width: 100vw;
    overflow: auto;
  }
}

#kv {
  position: relative;
  width: 100%;
  aspect-ratio: 1920/1358;
}
#kv > img {
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  #kv {
    width: 1100px;
  }
  #kv > img {
    max-width: initial;
    width: 1100px;
  }
}

.stop-scroll {
  overflow: hidden;
}

.pin-object {
  position: absolute;
}
.pin-object img {
  margin: auto;
  max-inline-size: none;
}
.pin-object .box {
  z-index: 99;
  position: absolute;
  background-color: white;
  border-radius: 10px;
  max-width: 315px;
  width: 25vw;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}
.pin-object .box .click-area {
  width: 100%;
  margin: 0;
  padding: 5% 0 40px;
  position: relative;
  top: 0px;
  overflow: hidden;
  border-radius: 10px;
  z-index: 1;
  text-align: right;
}
.pin-object .box .click-area .click-inner {
  padding-right: 1rem;
  color: white;
  font-size: 21px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.pin-object .box .click-area .click-inner::before {
  width: 33px;
  height: 33px;
  content: "";
  background-image: url(../img/company/living/point.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.pin-object .box .click-area::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FF7800;
  transform: skewY(14deg) translateY(-45px);
  z-index: -1;
}
.pin-object .box .box-image {
  text-align: center;
  margin: auto;
  margin-top: -5%;
  padding-bottom: 5%;
}
.pin-object .box .box-text {
  display: flex;
  margin-top: -5%;
  padding: 0 5% 5%;
  justify-content: flex-start;
  color: #FF7800;
  font-size: clamp(18px, 2.3vw, 21px);
  gap: 0.5rem;
}
.pin-object .box .box-text::before {
  padding-top: 2px;
  width: 10%;
  content: url(../img/company/living/arrow.svg);
  text-align: right;
}
.pin-object .box .box-text p {
  padding-right: 1rem;
}
.pin-object .box.show {
  opacity: 1;
  pointer-events: all;
}
.pin-object .hover-area {
  cursor: pointer;
  position: absolute;
  width: 5vw;
  height: 9vw;
  top: -1vw;
  left: -0.8vw;
}
.pin-object .hover-area.hover {
  z-index: 5;
}

.object-wrapper {
  text-align: center;
}

.pin img {
  cursor: pointer;
  position: relative;
  width: calc( (100vw - 50px) / 100 * 3.7 );
}
@media (min-width: 768px) and (max-width: 1099px) {
  .pin img {
    width: calc( (1100px - 50px) / 100 * 3.7 );
  }
}
@media screen and (max-width: 767px) {
  .pin img {
    width: calc( 1100px / 100 * 3.7 );
  }
}

.move-object {
  position: absolute;
}
.move-object img {
  max-inline-size: none;
  max-width: inherit;
}
.move-object .hover-area {
  top: 0;
  left: 0;
}

#bike {
  left: 50.34%;
  top: 4.97%;
  animation: move-bike 12s infinite linear 0s;
}
#bike .pin {
  padding-bottom: 5px;
}
#bike img.bike {
  width: calc( (100vw - 50px) / 100 * 2.8 );
}
@media (min-width: 768px) and (max-width: 1099px) {
  #bike img.bike {
    width: calc( (1100px - 50px) / 100 * 2.8 );
  }
}
@media screen and (max-width: 767px) {
  #bike img.bike {
    width: calc( 1100px / 100 * 2.8 );
  }
}
#bike .box {
  top: 0;
  left: 4.8vw;
}
#bike .hover-area {
  width: 5vw;
}

#person {
  left: 39.5%;
  top: 40.5%;
}
#person .pin img {
  animation: bound-anim1 6s infinite ease-in 1s;
}
#person .box {
  top: -35%;
  right: 4.8vw;
}

#bill {
  left: 55.86%;
  top: 47.56%;
}
#bill .pin img {
  animation: bound-anim1 6s infinite ease-in 3s;
}
#bill .box {
  top: -100%;
  left: 4.8vw;
}

#ambulance {
  left: 49%;
  top: 64.44%;
}
#ambulance .pin img {
  animation: bound-anim1 6s infinite ease-in 5s;
}
#ambulance .box {
  top: 0;
  right: 4.8vw;
}

#car01 {
  left: 72.38%;
  top: 50.88%;
  animation: move-car01 10s infinite ease-out 0s;
}
#car01 img.car01 {
  width: calc( (100vw - 50px) / 100 * 4.47 );
}
@media (min-width: 768px) and (max-width: 1099px) {
  #car01 img.car01 {
    width: calc( (1100px - 50px) / 100 * 4.47 );
  }
}
@media screen and (max-width: 767px) {
  #car01 img.car01 {
    width: calc( 1100px / 100 * 4.47 );
  }
}
#car01 .box {
  top: 0;
  left: 4.8vw;
}
#car01 .hover-area {
  width: 5vw;
}

#car02 {
  width: calc( (100vw - 50px) / 100 * 4.47 );
  left: -5.09%;
  top: 90.5%;
  animation: move-car02 10s infinite linear 2s;
}
@media (min-width: 768px) and (max-width: 1099px) {
  #car02 {
    width: calc( (1100px - 50px) / 100 * 4.47 );
  }
}
@media screen and (max-width: 767px) {
  #car02 {
    width: calc( 1100px / 100 * 4.47 );
  }
}

#plane {
  left: 70%;
  top: 73%;
  animation: move-plane 20s infinite linear 0s;
}
#plane img.plane {
  width: calc( (100vw - 50px) / 100 * 12.86 );
}
@media (min-width: 768px) and (max-width: 1099px) {
  #plane img.plane {
    width: calc( (1100px - 50px) / 100 * 12.86 );
  }
}
@media screen and (max-width: 767px) {
  #plane img.plane {
    width: calc( 1100px / 100 * 12.86 );
  }
}
#plane .pin {
  padding-right: 15%;
  margin-bottom: -5px;
}
#plane .box {
  top: -55px;
  left: 8vw;
}
#plane .hover-area {
  width: 12.86vw;
}

@keyframes bound-anim1 {
  0%, 12%, 100% {
    top: 0;
    transform: scale(1);
  }
  3% {
    top: -20px;
  }
  6% {
    top: 0;
    transform: scale(1);
  }
  8% {
    top: -5px;
  }
  10% {
    top: 0;
    transform: scale(1);
  }
}
@keyframes bound-anim2 {
  0%, 55%, 100% {
    top: 0;
    transform: scale(1);
  }
  10% {
    top: -20px;
  }
  20% {
    transform: scale(1);
  }
  30% {
    top: 0;
    transform: scale(1.2, 0.8);
  }
  40% {
    top: -5px;
  }
  45% {
    transform: scale(1);
  }
  50% {
    top: 0;
    transform: scale(1.1, 0.9);
  }
}
@keyframes move-bike {
  from {
    left: 50.34%;
    top: 3%;
  }
  to {
    left: 2.92%;
    top: 41.4%;
  }
}
@keyframes move-car01 {
  from {
    left: 72.38%;
    top: 50.88%;
  }
  to {
    left: 35.3%;
    top: 80.78%;
  }
}
@keyframes move-car02 {
  from {
    left: -5.09%;
    top: 90.5%;
  }
  to {
    left: 24%;
    top: 67%;
  }
}
@keyframes move-plane {
  from {
    left: 70%;
    top: 73%;
  }
  to {
    left: 1.97%;
    top: 8.09%;
  }
}
.cover-swipe {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  width: 0;
  height: 0;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  opacity: 0;
  display: none;
}
@media screen and (max-width: 767px) {
  .cover-swipe {
    display: block;
    z-index: 99;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .cover-swipe.active {
    opacity: 1;
  }
  .cover-swipe p {
    font-size: 1.3rem;
    text-align: center;
    letter-spacing: 1px;
    line-height: 2rem;
    color: white;
    font-weight: bold;
  }
}

.cover-info {
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  opacity: 0;
  display: none;
  transition: 0.3s ease;
}
@media screen and (max-width: 767px) {
  .cover-info {
    display: block;
    z-index: 101;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
  }
  .cover-info.show {
    opacity: 1;
    pointer-events: all;
  }
}
.cover-info .info-modal {
  position: absolute;
  background-color: white;
  border-radius: 10px;
  margin: auto;
  width: 89.4vw;
  max-height: calc(100vw - 60px);
  min-height: 389px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.cover-info .info-modal-header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.cover-info .info-modal-header .modal-close {
  margin-top: 5px;
  margin-right: 5px;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #FF7800;
  background-color: white;
}
.cover-info .info-modal-header .modal-close::before, .cover-info .info-modal-header .modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 30px;
  background: #FF7800;
}
.cover-info .info-modal-header .modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.cover-info .info-modal-header .modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.cover-info .info-modal-body {
  text-align: center;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cover-info .info-modal-body img {
  margin: auto;
  margin-top: -5%;
  padding-bottom: 5%;
  width: 109px;
}
.cover-info .info-modal-body p {
  display: flex;
  color: #FF7800;
  font-size: clamp(21px, 5.6vw, 24px);
  text-align: center;
}
.cover-info .info-modal-footer {
  width: 100%;
  padding: 35px 0;
  text-align: center;
}
.cover-info .info-modal-footer .tap-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Barlow", sans-serif;
  margin: auto;
  color: white;
  width: 66%;
  font-size: 2.75rem;
  font-weight: bold;
  padding: 0.75rem;
  background-color: #FF7800;
  border-radius: 32px;
  border: none;
}
.cover-info .info-modal-footer .tap-button::before {
  width: 33px;
  height: 33px;
  margin-left: -2rem;
  content: "";
  background-image: url(../img/company/living/point.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.current {
  border: 1px solid red;
}

@container kv (min-width: 1040px) {
  #kv .box {
    width: 25cqw;
  }
  #kv .box .box-text {
    font-size: clamp(18px, 1.8cqw, 21px);
  }
}