@charset "UTF-8";

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

   リフレッシュレートを併記する場合（ノートPCマップ等）は、HTML側を
   下記の構造にする。値は game-fps.js がJSONの refresh_rate から流し込む。
     <div class="map-fps-row">
       <p class="map-fps js-game-fps-value"></p>
       <p class="map-refresh js-game-refreshrate-value"></p>
     </div>
   併記しないマップは .map-fps-row 自体を置かないため影響を受けない。
   ============================================================ */

.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-heading:has(.p-pc-map__game-fps-link-btn) {
  width: fit-content;
  display:flex;
  align-items: center;
}

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

.p-pc-map__game-fps-link-btn{
  margin-top:5px;
  margin-right:5px;
  color:#00a2e6;
  border:1px solid #00a2e6;
  padding:0.3em 0.5em;
  border-radius: 4px;
  background:#fff;
  display:flex;
  gap:5px;
  align-items: center;
  width:fit-content;
}
.p-pc-map__game-fps-link-btn img {
  height: 1em;
}
.p-pc-map__game-fps-link-btn:hover{
  opacity: 0.7;
}

.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;
  cursor: default !important;
  font-weight:700;
}

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

.p-pc-map__game-fps-label--refresh::before {
  content: "\1F5A5\FE0F";
}

.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;
  cursor: pointer;
}

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

.p-pc-map__game-fps-reso-label{
  font-weight:700;
}

.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,.map-refreshrate {
  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,
.map-refreshrate:empty {
  display: none;
}

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

.map-refreshrate__value {
  display: block;
  font-size: 14px;
}

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

.map-refreshrate__value::before {
  content: "(液晶";
  margin-right: 2px;
} 
.map-refreshrate__value::after {
  content: ")";
} 

/* .map-refreshrate__value::before {
  content: "\1F5A5\FE0F";
  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;
}

/* --- リフレッシュレート併記（ノートPCマップ等）--- */
/* PCは fps枠の右隣に横並び、SP（767px以下）はセル幅が狭いため縦積みにする */
.map-fps-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}


/* fps枠は残り幅、リフレッシュレート枠は内容幅に合わせる */
.map-fps-row .map-fps,
.map-fps-row .map-refreshrate {
  flex: 1;
  min-width: 0;
}

.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%;
}

.map-fps + .map-refreshrate{
  margin-top: -15px !important;
}
/* 間隔はfps枠の margin-bottom を使うため、上マージンは重ねない */
.map-fps-row .map-refresh {
  margin-top: 0;
  padding: 4px 2px;
  font-size: 13px;
}

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

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

  .map-refreshrate__value {
    font-size: 12px;
  }

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

  .p-pc-map__game-fps-modal .c-modal-inner {
    padding: 0;
  }
}

/*----------------------------------------
ゲーム性能（fps）の見方モーダル
-----------------------------------------*/
.fps-modal-inner{
  width:100%;
  position:relative;
  color:#484848;
}

.fps-modal-ttl{
  font-weight:700;
  color:#001e60;
  font-size:clamp(16px, 0.886rem + 0.48vw, 20px);
  margin-bottom:20px;
}

.fps-modal-lead{
  font-size:clamp(14px, 0.818rem + 0.24vw, 16px);
  line-height:1.6;
  margin-bottom:20px;
}

.fps-modal-link{
  font-size:clamp(14px, 0.818rem + 0.24vw, 16px);
  line-height:1.2;
  list-style-type: disc;
  list-style-position: inside;
  margin-bottom:20px;
}

.fps-modal-link li + li{
  margin-top:10px;
}

.fps-modal-sample{
  display:flex;
  gap:20px;
  align-items: center;
}

.fps-modal-sample-img{
  width:30%;
}

.fps-modal-sample-img p{
  width:fit-content;
  margin:0 auto 5px;
  background:#004da1;
  color:#fff;
  font-size:14px;
  font-weight:500;
  padding:0.3em 0.5em;
  letter-spacing:0.2em;
  border-radius: 2px;
}

.fps-modal-sample-img img{
  width:100%;
  border:1px solid #ccc;
  border-radius: 2px;
}

.fps-modal-sample-txt{
  flex:1;
}

.fps-modal-inner dl{
  padding-top:10px;
  border-top:1px dotted #ccc;
  display:flex;
  align-items: center;
  gap:10px;
}

.fps-modal-inner dl + dl{
  margin-top:10px;
}

.fps-modal-inner dl dt{
  width:40%;
  text-align:center;
  font-weight:400;
  min-width: 112px;
}

.fps-modal-inner .icon-rank-three{
  display:flex;
  gap:clamp(5px, 0.17rem + 0.61vw, 10px);
  width:fit-content;
  margin:auto;
}
.fps-modal-inner .icon-rank-three img{
  width: 34px;
}

.fps-modal-inner dl dd{
  flex:1;
  font-size:clamp(14px, 0.818rem + 0.24vw, 16px);
  line-height:1.6;
}

@media screen and (max-width: 767px) {
  .fps-modal-sample{
    flex-direction: column;
    gap:10px;
  }
  .fps-modal-sample-img{
    width:100%;
  }
  .fps-modal-inner dl:first-child{
    padding-top:0;
    border-top:none;
  }
}