@charset "utf-8";

.DexImg{
  object-fit: contain;
  position: absolute;
  width: 100%;
  height: 100%;

  cursor: pointer;
}
.js-based{
  display: none;
}
.DexBlock_1{
  /*float: left;
  
  position: relative;
  width:50px;
  height: 50px;*/
  margin: 0 auto;

  font-size:13px;

}

.Counter{
  float: left;
  
  position: relative;
  width:200px;
  height: 50px;
  margin-top: 0;
  
  font-size:15px;
  background: rgba(0,0,0,1);
  
}
#AllCount{
  font-family: sans-serif;
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-align: center;
}


.DexPart{
  display: inline-block;
  width:100%;
  
  margin:0 auto;
  list-style: none;

}

.DexParent{
  font-size:0;/*子要素のinline-blockの改行によってできる空白をなくす*/
  list-style-type: none;/*箇条書きの・をなくす?*/
  padding:0px;/*デフォルトのpadding-left:40px;をなくす*/
}


.overlayDex { /* グレーの背景 */
  position: fixed;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.2s 0s ease;
  visibility: hidden;
  opacity: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#pop-up {
  display: none;
}
#pop-up:checked + .overlayDex {
  visibility: visible;
  opacity: 1;
  z-index: 100000;
  background-color: #000000D0;
  width: 100%;
}
.popWindow {
  border-radius: 5px;
  overflow: auto; /* スクロールバー用 */
  max-height: 95%; /* すき間 */
  min-width: min-content; /* 横幅が広い時に白の部分が大きくならないため */
  width: 95%; /* すき間 */
  position: fixed;
  top: 50%; /* 中央に */
  left: 50%; /* 中央に */
  transform: translate(-50%, -50%); /* 中央に */
  z-index: 100010;
  font-size: 13px;
  line-height: 18px;
  margin: 10px auto;
  padding: 4px 10px;
  background: #FFFD; /* 枠の色 */
  text-align: center; /* 文字を中央寄せ */
  transition: all 200ms ease-in-out;

  font-family: sans-serif;

}
.popWindow .ptitle {
  font-size: 15px;
  margin: 8px;
  color: #333;
}
.popWindow .close {
  position: absolute;
  top: 8px;
  right: 10px;
  transition: all 200ms;
  font-size: 24px;
  line-height: inherit;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  padding: 2px;
}
.popWindow .close:hover {
  color: #a0a0a0;
}
.popWindow::-webkit-scrollbar-track {
  background: none;
}
.popWindow::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.popWindow::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 5px;
}
.clickable:hover {
  cursor: pointer;
}

/*拡大した画像を整える*/
.popImg{
    width:auto;
    height: auto;
    max-width:100%;
    max-height:100%;

    
    
    background-color: #ffffff;
}
#PopImgpart{
    width:200px;
    height:200px;
    margin:0 auto;

    
}

.popexplain{
    margin-top:10px;
    background-color: white;
    font-family: sans-serif;


}
.popexplain_title{
    text-align: left;
    color:#ffffff;
    background-color:#4400ff;
    padding-top:7px;
    padding-bottom:7px;
    padding-left:5px;
    font-size:18px;
    
    margin-left:0px;
}
.popexplain_text{
    text-align: left;
    color:black;
    font-size:17px;
    display: block;
    padding-top:5px;
    padding-bottom:5px;
    
    margin-left:5px;
    margin-right:5px;
    margin-bottom:5px;
}
