.sample1{
	width:90%;
	}
	
.sample2{
	text-align: center;
	color: white;
	}
	
.sample3{
	border-radius: 75px;
	background-color:rgba(33,33,33,0.8);
	width: 800px;
	border: 1px double white;
	margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
	margin-bottom: 50px;
	padding: 40px;
	line-height: 20px;
	}
	
.sample4{
	width: 90%;
	}
	
.sample5{
	width:90%;
	}

.sample6{
	background-image: url(../img/3.png);
	border-width: 10px;
	border-style:ridge;
	border-color:rgba(160,82,45,0.5);
	width: 800px;
	height: 500px;
	position: relative;
	margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
	margin-bottom: 100px;
	line-height: 30px;
	box-shadow:20px 20px 20px rgba(99,99,99,0.4);
	}

.sample7{
	background-image: url(../img/3.png);
	border-width: 20px;
	border-style:ridge;
	border-color:rgba(240,230,140,0.5);
	width: 800px;
	margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
	margin-bottom: 100px;
	padding: 20px;
	line-height: 30px;
	box-shadow:20px 20px 20px rgba(99,99,99,0.4);
	animation: waku 2s ease 1 forwards;
	}
	
.sample8{
	text-align: left;
	margin-left: 50px;
	color: white;
	}
	
.sample9{
	border-radius: 75px;
	background-color:black;
	width: 900px;
	border: 3px solid white;
	margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
	margin-bottom: 50px;
	padding: 20px;
	line-height: 20px;
	}

.sample10{
	border-radius: 75px;
	background-image: url(../pict3/6.png);
	background-color:black;
	width: 900px;
	border: 3px solid white;
	margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
	margin-bottom: 50px;
	padding: 20px;
	line-height: 20px;
	}

.sample11{
	text-align: center;
	color: black;
	}
	
.sample12{
	text-align: center;
	display: block;
	color: white;
	position: relative;
}

.sample12::before {
	content: url(../img/11.png);
	position: absolute;
	top: 50%;
	left: 30%;
	transform: translateY(-50%);
	transition: transform 0.5s;
	font-size: 30px;
}

details[open] .sample12::before {
	transform: translateY(-50%) rotate(90deg);
}

.sample13{
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-45%, -50%);
}

.sample14 {
	text-align: center;
	display: block;
	}
	
.sample15{
	position: relative;
	}

.naka{
	background-image: url(../img/3.png);
	width: 800px;
	height: 600px;
	margin-left: auto;
    margin-right: auto;
	margin-top: 50px;
	margin-bottom: 50px;
	position: relative;
	}
	
.ue{
	position: absolute;
    animation: mawa1 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	width: 100%;
	border-top: 10px ridge gray;
	left: 0;
	top: 0;
		border-radius: 55px;
	}
	
.shita{
	position: absolute;
    animation: mawa1 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	width: 100%;
	border-bottom: 10px ridge gray;
	right: 0;
	bottom: 0;
		border-radius: 55px;
		animation-delay: 2s;
	}	
	
.hidari{
	position: absolute;
    animation: mawa2 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	height: 100%;
	border-left: 10px ridge gray;
	left: 0;
	bottom: 0;
		border-radius: 55px;
		animation-delay: 3s;
	}
	
.migi{
	position: absolute;
    animation: mawa2 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	height: 100%;
	border-right: 10px ridge gray;
	right: 0;
	top: 0;
		border-radius: 55px;
		animation-delay: 1s;
	}
	
.shita.is-animated{
	border-left: 10px ridge white;
	}

@keyframes mawa1 {
  0% {
    width: 0;
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}
 
@keyframes mawa2 {
  0% {
    height: 0;
    opacity: 1;
  }
  100% {
    height: 100%;
    opacity: 1;
  }
}		
	
.open {
	cursor:pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
	color: white;
	display:flex; 
	justify-content:center;
	color: black;
	text-align: center;
	background-color:rgba(99,99,99,0.5);
	width: 100%;
	padding: 10px 0;
	display: flex;
	top: 0;
	position: fixed;
	justify-content: space-between;
	display: block;
	margin-left: auto;
    margin-right: auto;
	}
	
.open2{
	cursor:pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
	color: white;
	display:flex; 
	justify-content:center;
	color: white;
	}
	
#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;
}
.window {
	border-radius: 50px;
	width: 200px;
	height: 600px;
	background-color: #f5f5f5E6;
	border-width: 50px;
	border-color:#c0c0c0;
	overflow: scroll;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 50%;
	left: 50%;
    transform: translate(-50%, -50%);	
	animation: zoomIn 0.8s ease 1 forwards;
	border-style: dotted;
	border-width: 25px;
}
.text {
	font-size: 18px;
	margin: 0;
}
.close {
	cursor:pointer;
	position: absolute;
	top: 4px;
	right: 4px;
	font-size: 20px;
}

.close {
	cursor:pointer;
	position: absolute;
	top: 4px;
	right: 4px;
	font-size: 20px;
	color: black;
}

.navi2{
	text-align: center;
	background-color:rgba(66,66,66,0.8);
	width: 100%;
	padding: 10px 0;
	display: flex;
	top: 0;
	position: fixed;
	justify-content: space-between;
	display: block;
	margin-left: auto;
    margin-right: auto;
   	color: white;
	}
	

@keyframes zoomIn {
   0% {
transform: scale(1, 0) translate(-50%, 50%);	
    opacity: 0;
  }
  100% {
transform: scale(1, 1) translate(-50%, 50%);	
	opacity: 1;
  }
}

#boll {
	position: absolute;
	left: 100px;
	top: 100px;
	}

#padle {
	position: absolute;
	left: 100px;
	top: 100px;
	}

.bgbody {
  background: #FFFFFF;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  animation-name: ushiro;
  animation-duration: 0.5s;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
 }
 
 .bgbody2 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  animation-name: ushiro;
  animation-duration: 0.5s;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
 }

@keyframes ushiro {
  0% {
    opacity: 1;
  }
  99%{
    opacity: 0;
  }
  100% {
    transform: scaleY(0);
  }
}

.appear3-1 {
  background: #000000;
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime3;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear3-2 {
  background: #000000;
  position: fixed;
  z-index: 999;
  bottom: 0;
  right: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime3;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear3-3 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime3;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear3-4 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime3;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime3 {
  0% {
	clip-path: inset(0 0 0 0 round 100%);
  }
    100% {
  	clip-path: inset(100% 100% 100% 100% round 0);

  }
}

.appear4-1 {
  background: #000000;
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime4;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear4-2 {
  background: #000000;
  position: fixed;
  z-index: 999;
  bottom: 0;
  right: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime4;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear4-3 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime4;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear4-4 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  width: 200%;
  height: 200vh;
  animation-name: PageAnime4;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime4 {
  0% {
	clip-path: inset(0 0 0 0 );
  }
    100% {
  	clip-path: inset(100% 100% 100% 100% );

  }
}

.appear5-1 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 26%;
  height: 100vh;
  animation-name: PageAnime5;
  animation-duration: 2s;
  animation-delay: 0.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear5-2 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 25%;
  width: 26%;
  height: 100vh;
  animation-name: PageAnime5;
  animation-duration: 2s;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear5-3 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 50%;
  width: 26%;
  height: 100vh;
  animation-name: PageAnime5;
  animation-duration: 2s;
  animation-delay: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear5-4 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 75%;
  width: 26%;
  height: 100vh;
  animation-name: PageAnime5;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime5 {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.appear6-1 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 26vh;
  animation-name: PageAnime6;
  animation-duration: 2s;
  animation-delay: 0.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear6-2 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 25%;
  left: 0;
  width: 100%;
  height: 26vh;
  animation-name: PageAnime6;
  animation-duration: 2s;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear6-3 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 50%;
  left: 0;
  width: 100%;
  height: 26vh;
  animation-name: PageAnime6;
  animation-duration: 2s;
  animation-delay: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear6-4 {
  background: #000000;
  position: fixed;
  z-index: 999;
  top: 75%;
  left: 0;
  width: 100%;
  height: 26vh;
  animation-name: PageAnime6;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime6 {
  0% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
  }
}

.appear7-1 {
  background: #B0C4DE;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 21%;
  height: 100vh;
  animation-name: PageAnime7-1;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear7-2 {
  background: #F08080;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 20%;
  width: 21%;
  height: 100vh;
  animation-name: PageAnime7-2;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear7-3 {
  background: #FFFACD;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 40%;
  width: 21%;
  height: 100vh;
  animation-name: PageAnime7-1;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear7-4 {
  background: #9370DB;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 60%;
  width: 21%;
  height: 100vh;
  animation-name: PageAnime7-2;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.appear7-5 {
  background: #D3D3D3;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 80%;
  width: 21%;
  height: 100vh;
  animation-name: PageAnime7-1;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes ushiro {
  0% {
    opacity: 1;
  }
  99%{
    opacity: 0;
  }
  100% {
    transform: scaleY(0);
  }
}

@keyframes PageAnime7-1 {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }
  30% {
    transform-origin: top;
    transform: scaleY(1);
  }
  30.001% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  70.001% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

@keyframes PageAnime7-2 {
  0% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
  30% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  30.001% {
    transform-origin: top;
    transform: scaleY(1);
  }
  70.001% {
    transform-origin: top;
    transform: scaleY(1);
  }
  100% {
    transform-origin: top;
    transform: scaleY(0);
  }
}
	
.tab {
	border-style:dotted ;
	border-color:rgba(222,222,222,0.3);
	border-width: 20px;
	border-radius: 22px;
	margin-top: 90px;
	background-color: #000000;
	padding-bottom: 40px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.tab_item {
	width: calc(100%/3);
	height: 50px;
	background-color: 	#696969;
	border-radius: 50px;
	line-height: 50px;
	font-size: 12px;
	text-align: center;
	color: #FFFFFF;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}

.tab_item:hover {
	opacity: 0.75;
}


input[name="tab_item"] {
	display: none;
}

.tab_content {
	display: none;
	padding: 40px 40px 0;
	clear: both;
	overflow: hidden;
}

#yata-1:checked ~ #yata-1_content,
#yata-2:checked ~ #yata-2_content,
#yata-3:checked ~ #yata-3_content,
#yata-4:checked ~ #yata-4_content,
#jo:checked ~ #jo_content,
#siro:checked ~ #siro_content,
#ao:checked ~ #ao_content,
#kuro:checked ~ #kuro_content,
#aka:checked ~ #aka_content,
#jo:checked ~ #jo_content,
#tyuu:checked ~ #tyuu_content,
#syuu:checked ~ #syuu_content,
#kirin:checked ~ #kirin_content,
#keru:checked ~ #keru_content,
#kyuu:checked ~ #kyuu_content,
#yama:checked ~ #yama_content,
#yata:checked ~ #yata_content,
#haku:checked ~ #haku_content,
#taka:checked ~ #taka_content,
#haya:checked ~ #haya_content,
#kare:checked ~ #kare_content,
#kako:checked ~ #kako_content,
#keru:checked ~ #keru_content,
#oohuu:checked ~ #oohuu_content,
#kata:checked ~ #kata_content,
#kan:checked ~ #kan_content {
	display: block;
}

.tab input:checked + .tab_item {
	background-color: 	#FFFFFF;
	color: #000000;
}

.tab_content_description{
	text-align: center;
}

.tabs2 {
	border-style:dotted ;
	border-color:rgba(189,183,107,0.3);
	border-width: 20px;
	border-radius: 22px;
	margin-top: 90px;
	background-image: url(../img/3.png);
	padding-bottom: 40px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.tab_item_2 {
	width: calc(100%/5);
	height: 50px;
	background-color: #696969;
	border-radius: 50px;
	line-height: 50px;
	font-size: 12px;
	text-align: center;
	color: #FFFFFF;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}

.tab_item_2:hover {
	opacity: 0.75;
}

input[name="tab_item_2"] {
	display: none;
}

.tab input:checked + .tab_item_2 {
	background-color: 	#FFFFFF;
	color: #000000;
}

.tab_item_3 {
	width: calc(100%/4);
	height: 50px;
	background-color: #696969;
	border-radius: 50px;
	line-height: 50px;
	font-size: 12px;
	text-align: center;
	color: #FFFFFF;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}

.tab_item_3:hover {
	opacity: 0.75;
}

input[name="tab_item_3"] {
	display: none;
}

.tab input:checked + .tab_item_3 {
	background-color: 	#FFFFFF;
	color: #000000;
}

#s-4:checked ~ #s-4_content,
#s-5:checked ~ #s-5_content,
#s-6:checked ~ #s-6_content,
#s-7:checked ~ #s-7_content,
#s-fin:checked ~ #s-fin_content {
	display: block;
}

.moji{
	position: relative;
	}
	
.nakami{
	width: 400px;
	position: absolute;
	top: 50%;
	left: 50%;
	trnsform: translate(-50%,-50%) ;
	visibility: hidden;
	text-align: center;
	z-index: 1;
	background: rgb(0,0,0,0.7);
	border-radius: 55px;
	border-color: #FFFFFF;
	opacity: 0;
	border-width: 10px;
	transform: translate(-50%,-50%);
	transition: ;
	padding: 20px;
}

.moji:hover .nakami{
	visibility: visible;
	opacity: 1;
	transform: translate(0,0);
	transition: transform 1s,opacity 1s;
	}	