@charset "UTF-8";

/* ============================================================
   ゲーム FPS 表示 UI スタイル
   他マップ流用時は game-fps.css と game-fps.js をセットで読み込み、
   各商品の価格直下に <p class="map-fps js-game-fps-value"></p> を置く。
   ============================================================ */

.p-pc-map__game-fps {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px;
  border-left: 4px solid #004da1;
  background: #e5f6fc;
}

.p-pc-map__game-fps-heading {
  width: 100%;
  font-size: 16px;
  font-weight: 700;
}

.p-pc-map__game-fps-3dmark-logo {
  height: 20px;
  width: auto;
  margin-left: 8px;
  vertical-align: middle;
}

.p-pc-map__game-fps-link img {
  height: 1em;
}

.p-pc-map__game-fps-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

.p-pc-map__game-fps-col {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.p-pc-map__game-fps-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-pc-map__game-fps-label::before {
  content: "\1F3AE";
  font-size: 18px;
  line-height: 1;
}

.p-pc-map__game-fps-select {
  padding: 6px 32px 6px 12px;
  font-size: 14px;
  color: #484848;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23484848' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.p-pc-map__game-fps-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.p-pc-map__game-fps-reso-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-pc-map__game-fps-reso-btn {
  padding: 6px 14px;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  cursor: pointer;
}

.p-pc-map__game-fps-reso-btn.is-active {
  color: #ffffff;
  font-weight: bold;
  background: #00a2e6;
  border-color: #00a2e6;
}

.p-pc-map__game-fps-reso-btn:focus-visible {
  outline: 2px solid #004da1;
  outline-offset: 2px;
}

.p-pc-map__game-fps-reso-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .p-pc-map__game-fps-row {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}

.map-fps {
  display: block;
  width: 100% !important;
  /*mapの指定を上書き*/
  margin: 10px 0 !important;
  /*mapの指定を上書き*/
  padding: 4px 6px;
  text-align: center;
  background: #e5f6fc;
  line-height: 1.3;
  white-space: nowrap;
}

.map-fps:empty {
  display: none;
}

.map-fps__value {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.map-fps__value::before {
  content: "\1F3AE";
  margin-right: 4px;
  font-weight: normal;
}

.map-fps__value.is-measuring {
  font-size: 13px;
  font-weight: normal;
  color: #767676;
}

.map-fps__value.is-measuring::before {
  content: none;
}

@media screen and (max-width: 767px) {
  .map-fps {
    padding: 4px 0px;
  }

  .map-fps__value {
    font-size: 13px;
  }

  .map-fps__value::before {
    margin-right: 2px;
  }
}

.p-pc-map__game-fps-modal .modaal-container {
  max-width: 700px;
}

.p-pc-map__game-fps-modal .c-headline__h3 {
  border-bottom: 1px solid #484848;
}

.p-pc-map__game-fps-modal img {
  max-width: 100%;
}

@media (max-width:767px) {
  .p-pc-map__game-fps-modal .c-modal-inner {
    padding: 0;
  }
}