@charset "UTF-8";
/*********************************
 Floor renewal
 フロアマップページ（/floor/）のマップ画像を TOP の新マップ（topMap）に差し替え
 マップ上のリンクは現行同様「南館」「うめきた公園」「北館」「GRAND FRONT OSAKA」
 top_renewal.css の MAP（topMap）から画像・ラベル部分のみ抜粋
 style.css の後に読み込み、既存クラスを上書きする
**********************************/

.topMap__imgScroll {
  position: relative;
}

@media only screen and (max-width: 767px) {
  .topMap__imgScroll {
    overflow-x: auto;
  }
  .topMap__imgScroll .topMap__img {
    /* width: 80rem; */
  }
}

.topMap__img {
  position: relative;
  width: 100%;
  max-width: 92.743rem;
  margin: 0 auto;
  aspect-ratio: 927.43 / 541;
  container-type: inline-size;
}

.topMap__img picture img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 北館・うめきた公園・南館ラベル（位置はラベルの中心を指定） */
.topMap__imgBtnType02 {
  right: auto;
  bottom: auto;
  z-index: 2;
  height: 3.472cqw;
  border: 0;
  background: #f3d219;
  translate: -50% -50%;
}

.topMap__imgBtnType02.m-bgGreen {
  background: #7eb860;
}

.topMap__imgBtnType02.m-bgBlue {
  background: #53caff;
}

/* 北館はTOPの北館①ピンの位置 */
.topMap__imgBtn11 { top: 52.39%; left: 78.13%; }
.topMap__imgBtn12 { top: 46.01%; left: 55.37%; }
.topMap__imgBtn13 { top: 22.82%; left: 25.36%; }

.topMap__imgBtnType02 .c-link {
  height: 100%;
  padding: 0 1.4cqw;
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 2.003cqw;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}


.topMap__imgBtnType02 .c-link::after,
.topMap__imgLabel .c-link::after {
  content: none;
}

/* GRAND FRONT OSAKA ラベル */
.topMap__imgLabel {
  position: absolute;
  top: 81.5%;
  left: 61.43%;
  z-index: 2;
  height: 3.472cqw;
  border: 0.125cqw solid #323232;
  background: #fff;
  translate: -50% -50%;
}

.topMap__imgLabel .c-link {
  height: 100%;
  padding: 0 1.2cqw;
  color: #323232;
  font-family: "Montserrat", sans-serif;
  font-size: 1.6cqw;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media only screen and (max-width: 991px) {
  .topMap__img {
    max-width: none;
    aspect-ratio: 1920 / 1120;
  }
  .topMap__imgBtnType02.m-bgGreen {
    background: #68a647;
  }
}

/* style.css の padding-top（767px以下）で画像がつぶれラベルがずれるため打ち消す */
@media only screen and (max-width: 767px) {
  .topMap__img {
    padding-top: 0;
  }
  /* SPは現行同様ラベルを大きく見せる（画像幅比例だと小さくなりすぎるため下限を設定） */
  .topMap__imgBtnType02,
  .topMap__imgLabel {
    height: max(3.472cqw, 2.4rem);
  }
  .topMap__imgBtnType02 .c-link {
    padding: 0 max(1.4cqw, 0.6rem);
    font-size: max(2.003cqw, 1.1rem);
  }
  .topMap__imgLabel {
    border-width: max(0.125cqw, 0.1rem);
  }
  .topMap__imgLabel .c-link {
    padding: 0 max(1.2cqw, 0.6rem);
    font-size: max(1.6cqw, 1rem);
  }
}
