@font-face{
	font-family: "Noto Sans JP";
	src: url('../font/NotoSansJP-Bold.woff') format("woff");
	font-weight: bold;
 }
 @font-face{
	font-family: "Noto Sans JP";
	src: url('../font/NotoSansJP-Regular.woff') format("woff");
	font-weight: normal;
 }
 @font-face{
	font-family: "Noto Serif JP",serif;
	src: url('../font/NotoSerifJP-Bold.woff') format("woff");
	font-weight: bold;
 }
@font-face{
	font-family: "Noto Serif JP",serif;
	src: url('../font/NotoSerifJP-Medium.woff') format("woff");
	font-weight: normal;
 }
 @font-face{
	font-family: "Kosugi Maru";
	src: url('../font/KosugiMaru-Regular.woff') format("woff");
	font-weight: normal;
 }
* {
	margin: 0;
	padding: 0;

	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;

	transition: 0.3s linear;
	-webkit-transition: 0.3s linear;
	-moz-transition: 0.3s linear;
	-ms-transition: 0.3s linear;
	-o-transition: 0.3s linear;
}
body{
	font-family: "Noto Sans JP", "Noto Serif JP",serif,"Kosugi Maru";
}
input + label {
    display: block;
    width: 220px;
    border: solid 1px #000;
	padding: 5px;
    margin: 10px;
    color: white;
    border-radius: 5px;
	background: -moz-linear-gradient(top,#ff7e42 0%,#753322);
	background: -webkit-gradient(linear, left top, left bottom, from(#ff7e42),to(#753322));
    cursor: pointer;
}

input + label:hover {
	box-shadow: 0 0 10px #000;
}

div video {
 position: relative; /* fixed, relative */
 /* top: 50%;
  left: 50%;*/
  width: 600px;
  height: auto;
}
.video__contain{
	text-align: center;
    width: 95%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*スマホ動画*/
.vertical_video{
	width: 600px;
	height: 80vh;
}

.none {
	display: none;
}

.del {
	width: 30px;
    height: 30px;
    border: solid 1px  #fff;
    color: #fff;
	font-size: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 5px;
    margin-left: 0px;
    margin-top: 0px;
    cursor: pointer;
    padding: 5px;
}

.del:hover {
	background-color: red;
}

#s1 {
    -webkit-transform-style: preserve-3d;
	-webkit-transform: translateZ(-100px);
}

#b1:checked ~ #s1 {
   	display: block;
	-webkit-animation-delay: 0s;
	-webkit-animation-name: animate_show;
	-webkit-animation-duration: 0.5s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: ease-in;
	-webkit-animation-fill-mode: forwards;

}

@-webkit-keyframes animate_show {
 	0% {-webkit-transform: scale(0,0);}
	100% {-webkit-transform: scale(1,1)}
}


	#colorPalet div {
		width: 32px;
		height: 32px;
		border: 1px solid gray;
	}

	#high {
		background-color: #ffff99;
	}

	#black {
		background-color: #000000;
	}

	#blue {
		background-color: #0000ff;
	}

	#red {
		background-color: #ff0000;
	}

	#green {
		background-color: #2E7D32;
	}

	#purple {
		background-color: #6A1B9A;
	}

	canvas {
		/* background-color: transparent; */
		/*background-color: white;*/
	}
	.canvas__contain{
		position: absolute;
		width: auto;
		padding-right: 60px;
		box-sizing: border-box;
	}
	.canvas__contain--icon1,.canvas__contain--icon2{
		position: absolute;
		right:10px;
	}
	.canvas__contain--icon1{
		top: 170px;
	}
	.canvas__contain--icon2{
		display: grid;
		gap: 20px;
		bottom:20px;
	}
body {
	background-color: rgba(0,0,0,0.1);
}

img {
	cursor:pointer;
}


a:hover {background:#ffffff; text-decoration:none;} /*BG color is a must for IE6*/ 
a.tooltip span {display:none; margin-left:70px; margin-top:50px; padding:1px 1px;} 
a.tooltip:focus span{display:inline; position:absolute; background:#ffffff;}
a.tooltip img  {cursor:help;} 

@media screen and (max-width:900px) { 
	div video {
		width: 550px;
	}
}
@media screen and (max-width:480px) { 
	#colorPalet div {
		width: 16px;
		height: 16px;
		border: 1px solid gray;
	}
	.canvas__contain--icon1{
		top: 110px;
	}
	.canvas__contain--icon2{
		display: grid;
		gap: 10px;
		bottom:10px;
	}
	.canvas__contain--icon1 img,.canvas__contain--icon2 img{
		width: 20px;
		height: auto;
	}
	div video {
		width: 350px;
	}
}
#penArea {
    position: fixed; 
    top: 10px; 
    right:10px; 
    padding:1px 5px 5px 5px; 
    background-color:white; 
    border: 1px solid black;
    display:none;
}
/* ===== 追加ペンUIを自然に馴染ませる ===== */

#pentool input,#pentool label{
	display: block;
}
#penTool input[type="range"] {
  width: 100%;
}

#penTool button {
  display: block;
  width: 100%;
  margin: 3px 0;
  font-size: 12px;
}

