html,body {
    height: 100%;
    overflow: hidden
  }
 
  .left-box {
     position: absolute;
    width: 30%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(2,0,36);
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(9,11,121,1) 59%, rgba(0,151,255,1) 100%);
    border: solid 10px #000000;
    box-sizing: border-box;
  }
  .top-box {
    position: absolute;
    width: 40%;
    height: 25%;
    top:0;
    right: 30%;
    background-color:rgb(255, 102, 0);
    background: rgb(5,70,117);
    background: linear-gradient(0deg, rgba(6,69,167,1) 0%, rgba(0,151,255,1) 100%);
    border-top: solid 10px #000000;
    box-sizing: border-box;
  }
  .center-box {
    position: absolute;
    width: 40%;
    height: 75%;
    top:25%;
    right: 30%;
    overflow-y: scroll;
    background-color:rgb(0, 0, 0);
    border-top: solid 10px #000000;
    border-bottom: solid 10px #000000;
    box-sizing: border-box;
    user-select: none;
  }
  .right-box {
    position: absolute;
    width: 30%;
    height: 75%;
    top: 25%;
    right: 0;
    overflow-y: scroll;
    background-color:#7ec1ff;
    background: rgb(2,0,36);
    background: linear-gradient(0deg, rgba(9,11,121,1) 0%, rgba(0,151,255,1) 100%);
    border: solid 10px #000000;
    box-sizing: border-box;
  }
  .rightop-box {
    position: absolute;
    width: 30%;
    height: 25%;
    top:0;
    right: 0;
    /*background-color:rgb(0, 161, 224);*/
    background-color:rgb(0, 0, 0);
    border-top: solid 10px #000000;
    border-right: solid 10px #000000;
    border-left: solid 10px #000000;
    box-sizing: border-box;
    user-select: none;
    cursor:pointer;
  }
  .nodata{
    display: block;
   color:rgb(255, 255, 255);
   font-size: 200%;
   position: absolute;
    top: 35%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
  }
  .ic{
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .dcicon{
    position:absolute;
    width: 30vmin;
    /*width:70%*/
    top: 40%;
    left: 50%;
    translate:-50% -50%;
    display: block;
  }
  /*大切なボタン*/
  #dcbtn{
  position:absolute;
  width: 70%;
  height: 0;
  padding-top:55%;
  top: 40.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  overflow: hidden;
  background:none;
  z-index: 10000;
}
.buy{
  height: 10%;
  width: 100%;
  border-color: #ff9650a9;
  border-width:thick;
  font-size: 1.8vmin;
  font-weight:bolder
}
.buy:hover{
  border-color: #32f7b5;
  border-width:thick;
  box-shadow:none
}
.fukidashi {
  display: none;
  height: 7%;
  position: absolute;
  top: 0;
  right:  40%;
  padding: 2%;
  border-radius: 5px;
  background: #33cc99;
  color: #fff;
  font-weight: bold;
}
.fukidashi:after {
  position: absolute;
  width: 0;
  height: 0;
  left: 0;
  bottom: -19px;
  margin-left: 10px;
  border: solid transparent;
  border-color: rgba(51, 204, 153, 0);
  border-top-color: #33cc99;
  border-width: 10px;
  pointer-events: none;
  content: " ";
}
.bs:hover + .fukidashi{
  display: block;
}
.bmo:hover + .fukidashi {
  display: block;
}
.bm:hover + .fukidashi {
  display: block;
}
.bc:hover + .fukidashi {
  display: block;
}
.bp:hover + .fukidashi {
  display: block;
}
.bf:hover + .fukidashi {
  display: block;
}
.bd:hover + .fukidashi {
  display: block;
}
.b3:hover + .fukidashi {
  display: block;
}
/*作品数表示部分*/
/*stock*/
.stock{
  position:absolute;
  left: 50%;
  top: 9.5%;
  transform: translate(-50%, 0%);
  background-color:rgba(0, 0, 0,0.5);
  color: #ffffff;
  font-size: 4.5vmin;
  /*font-size:250%;*/
  text-align: center;
  z-index: 100000;
  cursor:pointer;
}
.stockp{
  position:absolute;
  left: 50%;
  top: 16.5%;
  transform: translate(-50%, 0%);
  background-color:rgba(0, 0, 0, 0.5);
  color: #ffffff;
 /* font-size: 100%;*/
 font-size: 2vmin;
  text-align: center;
}
/*all*/
.all{
  position:absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, 0%);
  background-color:rgba(0, 0, 0, 0.6);
  color: #ffffff;
  /*font-size: 150%;*/
  font-size: 2.5vmin;
  text-align: center;
  user-select: none;
  animation:none;
}
.buyslist{
  font-weight: bold;
  padding: 1%;
}
.buys1{
  position:absolute;
  font-size: 1.8vmin;
  top:35% ;
}
.buys2{
  position:absolute;
  font-size: 1.8vmin;
  top:45% ;
}
.buys3{
  position:absolute;
  font-size: 1.8vmin;
  top:55% ;
}
.buys4{
  position:absolute;
  font-size: 1.8vmin;
  top:65% ;
}
.buys5{
  position:absolute;
  font-size: 1.8vmin;
  top:75% ;
}
.buys6{
  position:absolute;
  font-size: 1.8vmin;
  top:85% ;
}
.buys7{
  position:absolute;
  font-size: 1.8vmin;
  top:35% ;
  left:30%;
}
.buys8{
  position:absolute;
  font-size: 1.8vmin;
  top:45% ;
  left:30%;
}

/*選択青反転防止*/
.dcicon::selection    {
  background: none;
}
@keyframes rotation1{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}
 /* .dcicon:hover {
    top: 40.4%;
}

  .dcicon:active {
    top: 40.8%;
}*/
.dcbgcanvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.svgsize {
  position: absolute;
  display: inline;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 50vh;
  top: 50%;
  bottom: 10px;
  left: 0;
}
.svg {
  position: absolute;
  bottom: 0%;
}

#canvas {
  color: rgb(0, 0, 0);
}
/*アイテム購入部分*/
.items{
  border:none;
  padding:1%;
  display: grid;
  grid-template: repeat(5, 60px) / repeat(6, 60px);
  }
.itemicon{
  border:1px solid black;
  width: 60px;
  
  /*display: none;*/
}
.itemiconbg{
  background-color: black;
  width: 60px;
  height: 60px;
}
.itemiconimage{
  width: 60px;
  border:1px solid black;
  box-sizing: border-box;
  border-color: #4f81df;
  border-width:5px;
  opacity: 0.6;
}
.itemiconimage:hover{
  width: 60px;
  border:1px solid black;
  box-sizing: border-box;
  border-color: #33cc99;
  border-width:5px;
}
/*ポップアップメニュー*/
.open {
  position: absolute;
	cursor:pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
  color: white;
  font-weight: bold;
  background-color: rgb(31, 31, 31);
  background-color: rgb(0, 0, 0);
  border-radius: 10%;
  right: 3%;
  top: 3%;
  font-size: 2vmin;
}
#pop-up {
	display: none; /* label でコントロールするので input は非表示に */
}
.overlay {
	display: none; /* input にチェックが入るまでは非表示に */
}
#pop-up:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
  z-index: 1000000;
}
.window {
	width: 60%;
  height: 80%;
	background-color: #ffffff;
	border-radius: 6px;
	display: flex;
	justify-content: left ;
  padding: 2%;
  font-weight:bold;
	/*align-items: center;*/
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
h3{
  position: fixed;
}
.text {
	font-size: 1em;
	margin: 0;
  display: flex;  
  flex-direction:column;
  flex-wrap: wrap;
  position: relative;
  top: 10%;
  height: 90%;
  column-gap:15%;
}
.close {
	cursor:pointer;
	position: absolute;
	top: 4px;
	right: 4px;
	font-size: 20px;
}
/*称号リスト*/
#ippo {
  display: none;
  animation: bronzeanime 3s linear infinite;
}
/*購入系*/
#buyc1{
  display: none;
}
#buyc10{
  display: none;
}
#buyc50{
  display: none;
}
#buyc100{
  display: none;
}
#buyc500{
  display: none;
}
#buyc666{
  display: none;
}
#buyc1000{
  display: none;
  animation: goldanime 3s linear infinite;
}
#buymo1{
  display: none;
}
#buymo20{
  display: none;
}
#buymo50{
  display: none;
}
#buymo100{
  display: none;
}
#buymo300{
  display: none;
}
#buymo500{
  display: none;
}
#buyf1{
  display: none;
}
#buyf2{
  display: none;
}
#buyf10{
  display: none;
}
#buyf100{
  display: none;
}
#buyf500{
  display: none;
}
/*スマホ*/
#buym1{
  display: none;
}
#buym2{
  display: none;
}
#buym50{
  display: none;
}
#buym100{
  display: none;
}
#buym500{
  display: none;
}
/*カメラ*/
#buycam1{
  display: none;
}
#buycam10{
  display: none;
}
#buycam20{
  display: none;
}
#buycam50{
  display: none;
}
#buycam100{
  display: none;
}
#buycam200{
  display: none;
}
/*ＰＣ*/
#buypc1{
  display: none;
  animation: t7 2s linear infinite;
}
#buypc5{
  display: none;
}
#buypc10{
  display: none;
}
#buypc50{
  display: none;
}
#buypc150{
  display: none;
}
/*ＤＪ*/
#buydj1{
  display: none;
}
#buydj10{
  display: none;
}
#buydj20{
  display: none;
}
#buydj50{
  display: none;
}
/*３Ｄ*/
#buyd31{
  display: none;
}
#buyd310{
  display: none;
  color: #e87d0d;
}
#buyd320{
  display: none;
}
/*クリック系*/
#c100{
  display: none;
}
#c1000{
  display: none;
}
#c10000{
  display: none;
}
#c100000{
  display: none;
}
/*生産系*/
#t7{
  display: none;
  animation: t7 2s linear infinite;
}
.t7{
  animation: t7 2s linear infinite;
}
.gold{
  animation: goldanime 3s linear infinite;
}
.silver{
  animation: silveranime 3s linear infinite;
}
.bronze{
  animation: bronzeanime 3s linear infinite;
}
#k10{
  display: none;
}
#k100{
  display: none;
}
#m1{
  display: none;
}
#infinity{
  display: none;
  animation: t7 2s linear infinite;
}
@keyframes t7 {
  /* 色の指定 */
  0% {color: Magenta; }
  33% { color: yellow; }
  66% { color: Cyan; }
  100% { color: Magenta; }
}
#ops{
  display: none;
  animation: goldanime 3s linear infinite;
}
#ops2{
  display: none;
  animation: goldanime 3s linear infinite;
}
@keyframes goldanime {
  /* 色の指定 */
  0% {color: #DAAF08; }
  15% {color: #DAAF08; }
  25% { color: #FEE9A0; }
  35% { color: #DAAF08; }
  100% {color: #DAAF08; }
}
@keyframes silveranime {
  /* 色の指定 */
  0% {color: #9E9E9E; }
  15% {color: #9E9E9E; }
  25% { color: #E8E8E8; }
  35% { color: #9E9E9E; }
  100% {color: #9E9E9E; }
}
@keyframes bronzeanime {
  /* 色の指定 */
  0% {color: #a57e65; }
  15% {color: #a57e65; }
  25% { color: #f3cfb8; }
  35% { color: #a57e65; }
  100% {color: #a57e65; }
}
#sekkati{
  display: none;
  animation: goldanime 3s linear infinite;
}
#sekkati2{
  display: none;
  animation: goldanime 3s linear infinite;
}
/*称号ポップ*/
#popup-wrapper {
  background-color: rgba(0, 0, 0, .5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
#popup-inside {
   position: absolute;
  text-align: center;
  left: 50%;
  top:25%;
  transform: translate(-50%, 0%);
  /*width: 70%;*/
  width: 30vw;
  background: rgb(3, 17, 99);
  border-image:linear-gradient(45deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 90% 100%);
  border-image-slice: 1;
  border-style:solid ;
  border-width:0.5em;
  user-select: none
  }
.syogo{
  color: white;
  font-weight: bolder;
}
.titlename{
  color: white;
  font-weight: bolder;
  font-size:x-large;
}
@keyframes titlename {
  /* 色の指定 */
  0% {color: Magenta; }
  33% { color: yellow; }
  66% { color: Cyan; }
  100% { color: Magenta; }
}
/*称号ポップボタン*/
#message a {
  background: rgb(211, 211, 211);
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding: 0% 1%;
  top: 10%;
  border-radius: 25%;
  font-weight: bold;
}
.c1 {
  position: absolute;
  top: 0;
  right: 5px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  background-color: rgb(31, 31, 31);
}
