html {
  touch-action: manipulation;
}
* { 
  margin: 0px; 
  padding: 0px; 

}
*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  height: 100%;
  box-sizing: border-box;
}

body {
  white-space:nowrap;
  background-color: 	#C0C0C0 !important;
  position: relative;
  font-family: "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%; /* 幅いっぱいを指定 */
  position: fixed; /* ウィンドウを基準に画面に固定 */
  height: 50px;
  background-color: rgb(33, 73, 119);
  color: #fff;
}

.up h2 {
  text-align: center;
  line-height: 50px;
}
.up nav ul li{
  list-style: none;
  display: inline-block;
}


main{
  width: 500px;
  word-wrap: break-word;
  width: 100%; /* 幅いっぱいを指定 */
  text-align: center;
  font-weight: bold;
  font-size:20px;
  display: flex;
  margin-top: 60px;
  margin-bottom: 10px;
}

.box {
    width: 100%; /* 幅いっぱいを指定 */
    position: relative; /* 基準位置とする */
    text-align:center;
  }
  
  /* 共通するCSS */
  .box img {
    margin-left: -75px;
    margin-top: 20px; /* 上方向にネガティブマージンを取る */
    width: 150px;       /* 適当な幅を指定 */
    position: absolute; /* 相対位置に指定 */
  }
  
  .box canvas {
    margin-left: -75px;
    margin-top: 0px; /* 上方向にネガティブマージンを取る */
    width: 150px;       /* 適当な幅を指定 */
    position: absolute; /* 相対位置に指定 */
  }

.scramble {
  margin-top: 300px; /* 上方向にネガティブマージンを取る */
}


.button {
  margin: 1px;
  appearance: none;
  border: 0;
  border-radius: 4px;
  background: rgb(70, 118, 215);
  color: #fff;
  padding: 4px 8px;
  font-size: 16px;
}
.button:hover {
    cursor: pointer;
    background-color: rgb(33, 73, 119);
}

.text {
  margin: 1px;
  padding: 4px 4px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  text-align:center;
}

.text:focus {
  outline: 0;
  box-shadow: 0 0 0 1px rgb(70, 118, 215);
}
input[type=text] {
  width: 100px;
}
input[type=checkbox] {
	transform: scale(2);
	margin: 12px;
}





.center {
  margin : auto ;
  display: flex;
  align-items: flex-start;
}

table {
  border-collapse:collapse; 
  width: auto;  /*表の幅*/
  padding: 1em 1em;
  margin: 1em 1em;
  color: #000000;/*文字色*/
  background: #FFF;
  border-radius: 10px;/*角の丸み*/
  font-size	: 1em;
  font-weight	:bold;
}
td, th {
  padding: 5px 10px;  
  border-width: 1px 0px; /* 上下だけ引く */
}

.tube{
  margin : auto ;
}