/*ヘッダーとメニューバー*/

.header{
	display: block;
	margin: auto auto;
}

*, *:before, *:after {
	
	box-sizing: border-box;
}


/* menu */
.cp_offcm02 {
	position: relative;
	z-index: 5;
	left: 0;
	overflow: visible;
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0;
	text-align: center;
	opacity: 1;
	background:#62948b;
	display: block;
	
}


.cp_offcm02 ul {
	height: 100%;
	padding: 0;
	margin: 0px;
}
.cp_offcm02 li {
	display: inline-block;
	background:#62948b;
	list-style: none;
	color: #ffffff;

}
.cp_offcm02 a {
	text-decoration: none;
	color: inherit;
	display: block;
	padding: 14px 16px;
	
}
.cp_offcm02 a:hover:not(.active) {
	background-color: #aac2be;
}
.cp_offcm02 a.active {
	background-color: #aac2be;
	color: black;
}

/* ここからサブメニュー */

.cp_offcm02 > ul > li > span > div {
	background-color: #62948b;
	border-top: 0;
	border-radius: 0 0 4px 4px;
	/*box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);*/
	display: none;
	margin: 0;
	opacity: 0;
	position: absolute;
	/*width: 120px;*/
	visibility: hidden;
	z-index: 6;
	
}
.cp_offcm02 > ul > li:hover > span > div {
	display: block;
	opacity: 1;
	visibility: visible;
}
.cp_offcm02 > ul > li > span > div ul > li {
	display: block;
	/*float: none;*/
}
.cp_offcm02 > ul > li > span > div ul > li > a {
	/*color: #ffffff;*/
	display: block;
	padding: 14px 16px;
	text-decoration: none;
}
.cp_offcm02 > ul > li > span > div ul > li:hover > a {
	background-color: #aac2be;
}
/*チェックボックスを見えなくする*/
.box input{
	display: none;
}
.accodion{
	display: none;
	padding: 14px 16px;
	z-index: 6;
}
.accodion2{
	display: none;
	padding: 14px 16px;
	z-index: 6;
}

/* メニュータグ */
#cp_toggle02 {
	display: none;/*チェックボックスを見えなくしている*/
}
.cp_mobilebar {
	display: none;
}


@media screen and (max-width: 600px) {
	/* メニュー */
	.cp_offcm02 {
		position: relative;
		z-index: 2;
		top: 0;
		overflow-y: scroll;
		overflow: hidden;
		-webkit-transition: opacity 0.3s ease-in, visibility 0.3s ease-in 0.3s;
		        transition: opacity 0.3s ease-in, visibility 0.3s ease-in 0.3s;
		background-color: #62948b;
		display: none;
	}
	

	
	.cp_offcm02 , .cp_offcm02 li{
		float:none;
	}
	.cp_offcm02 ul {
		padding: 0;
		background: #62948b;
	}
	.cp_offcm02 li {
		color: #ffffff;
		border-bottom: 1px solid #ffffff;
		border-right: none;
		display: block;
	}
	.cp_offcm02 a {
		padding: 1.2em;
	}
	.cp_offcm02 a:hover {
		background-color: #aac2be;
	}
	/* メニュータグ */
	.cp_mobilebar {
		display: block;
		z-index: 10;
		position: relative;
		top: 0;
		left: 0;
		padding: 0 25px;
		width: 100%;
		height: 60px;
		background-color: #62948b;
		-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
		        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	}
	
/*三本線のやつは以下*/
	.cp_menuicon {
		display: block;
		position: relative;
		width: 25px;
		height: 100%;
		cursor: pointer;
		-webkit-transition: transform .3s ease-in;
		        transition: transform .3s ease-in;
	}
	.cp_menuicon > span {
		display: block;
		position: absolute;
		top: 55%;
		margin-top: -0.3em;
		width: 100%;
		height: 0.2em;
		border-radius: 1px;
		background-color: #eeeeee;
		-webkit-transition: transform .3s ease-in;
		        transition: transform .3s ease-in;
	}
	.cp_menuicon > span:before, .cp_menuicon > span:after {
		content: '';
		position: absolute;
		width: 100%;
		height: 100%;
		border-radius: 1px;
		background-color: #eeeeee;
		-webkit-transition: transform .3s ease;
		        transition: transform .3s ease;
	}
	.cp_menuicon > span:before {
		-webkit-transform: translateY(-0.6em);
		        transform: translateY(-0.6em);
	}
	.cp_menuicon > span:after {
		-webkit-transform: translateY(0.6em);
		        transform: translateY(0.6em);
	}
	#cp_toggle02:checked + .cp_mobilebar .cp_menuicon {
		-webkit-transform: rotate(45deg);
		        transform: rotate(45deg);
	}
	#cp_toggle02:checked + .cp_mobilebar span:before,
	#cp_toggle02:checked + .cp_mobilebar span:after {
		-webkit-transform: rotate(90deg);
		        transform: rotate(90deg);
	}
	/*チェックされたとき*/
	#cp_toggle02:checked ~ .cp_offcm02 {
		display: block;
		/*transition: height 0.5s*/
		-webkit-transition-delay: 0s;
		        transition-delay: 0s;
	}
	
	/* サブメニュー関係*/
	.delete{
		display: none;
	}/*リンクを見えなくする*/
	.accodion{
	display: block;
	border-bottom: 1px solid #ffffff;
	}
	.accodion2{
	display: block;
	color: black;
	background: #aac2be;
	border-bottom: 1px solid #ffffff;
	}
	.box .container{
		position: relative;
		overflow: hidden;
		height: 0;
		
	}
	.box input:checked ~ div.container{
	height: 263.35px;
	}
	.container ul li{
		background: #c5d4d1;
	}
	.container ul li a{
		color: black;
	}
	
}

	
	


/*背景とか?*/

body{
	margin: auto auto;
}

.backgound{
	margin: auto auto;
	width: 80%;
	border: 0.3px solid #000000;
	box-shadow: 0px 5px 15px -10px rgba(0, 0, 0, 0.8);
}

.pattern{
	padding: 1em;
	background-color: rgba(250,250,250,1);
	background-image:
	 radial-gradient(closest-side,
		 transparent 99.9%, rgba(240,244,244,0.8) 100%),
	 radial-gradient(closest-side,
		 transparent 99.9%, rgba(240,244,244,0.8) 100%);
	background-position: 0 0, 30px 30px;
	background-size: 60px 60px;
}

/*ボタン*/
.btn {
	display: block;
	padding: 2em;
	width: 60%;
	background-color: #ffffff;
	border: 2px solid #62948b;
	border-radius: 3px;
	user-select: none;
	margin: 10px 0px;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: #000000;
}
.btn span {
	position: relative;
	z-index: 5;
}
.btn:hover {
	background: #62948b;
	color: #ffffff;
}
.btn:active, .btn:active:before {
	transition-duration: 0.05s;
}

.btn:focus, .btn:focus:hover {
	color: #62948b;
	color: #ffffff;
}

.btn:before{
	background-color: rgba(255, 245, 184, 1);
	content: '';
	display: block;
	transform: rotate(30deg);
	position: absolute;
	bottom: -100px;
	right: -140px;
	width: 250px;
	height: 250px;
	z-index: 2;
}

.btn:hover:before {
	background-color: rgba(201, 231, 234, 1);
}

@media screen and (max-width: 600px) {
	.btn {
		width: 95%;
		margin: 10px auto;
	}
}


/*見出し*/
h3{
	border-bottom: 4px solid #62948b;
	border-left: 8px double #62948b;
	padding-left: 0.2em;
	margin-left: -3px;
}

/*更新履歴*/

.update{
	margin-bottom: 0.3em;
}

.scroll{
	max-height: 120px;
	overflow-y: scroll;
	background: #ffffff;
}

.sukima{
	margin: 1px 2px 0px 2px;
}

hr{
	margin-top: 1px; 
	margin-bottom: 0px;
}

/*フッター*/

footer {
	width: 100%;
	padding: 15px 0;
	margin: 0 auto;
	background-color: #62948b
}

ul.bottomnav{
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style-type: none;
}


ul.bottomnav li {
	display: block;
	float: left;
}

ul.bottomnav li a {
	padding: 0px 3px;
	color: white;
}

	ul.bottomnav li.rightalign {
		float: right;
	}

@media screen and (max-width: 600px) {
	ul.bottomnav li.rightalign, ul.bottomnav li {
		float: none;
	}
}

p.copyright {
	text-align: center;
	color: #aac2be;
	font-size: 90%;
}

/*リンク等のテーブル*/
.table *, .table *:before, .table *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th, .table  td {
	padding: 10px;
	border: 1px solid #dddddd;
}

.table th {
	width: 30%;
	text-align: center;
	background: #62948b;
	color: #ffffff;
}

.table th a{
	color: #ffffff;
}

.table td{
	background: #ffffff;
}

@media screen and (max-width:600px) {
	.table {
		margin: 0;
	}
	.table th, .table td {
		width: 100%;
		display: block;
		border-top: none;
	}
	.table tr:first-child th {
		border-top: 1px solid #dddddd;
	}
}

/*データベース用*/

/*目次*/
.indexcolor{
	background: rgba(240,244,244);
	width: 200px;
	border: 1px solid #000000;
	padding: 3px;
}
.index input {
	display: none;
}
.cnt1{
	margin-left: -25px;
}
.cnt1 ul{
	list-style-type: none;
}
.index .cnt1 {
	position: relative;
	z-index: 10;
	overflow: hidden;
	max-height: 0;
	margin-top: -1px;
	
}

/* ▼を表示されるテキストの高さ */
.index input:checked ~ div.cnt1 {
	overflow: auto;
	max-height: 20em;
}

/*コンテナ*/
.box1 {
	width: auto;
	margin: auto;
}
.box1 label {
	display: block;
	position: relative;
	width: 100%;
	margin: 0px;
	padding: 0.3em 1em;
	cursor: pointer;
	transition: all 0.3s;
	color: #000000;
	border-top: 0.5px solid #aaaaaa;
	border-bottom: 0.5px solid #aaaaaa;
}

.box1 input {
	display: none;
}
.box1 .cnt2 {
	position: relative;
	z-index: 10;
	overflow: hidden;
	max-height: 0;
	margin-top: -1px;
	transition: height 0.3s ease-in-out,box-shadow 0.6s linear;
	
}
/* ▼を押すと表示されるテキストの高さ */
.box1 input:checked ~ div.cnt2 {
	max-height: 200em;
}

/*太字部分の隙間*/
.bold{
	font-weight: bold;
	margin-top: 16px;
	margin-bottom: 2px;
}

/画像関係*/
.img1{
	height: 50%;
	width: 50%;
}
.img_c{
	display: block;
	height: 30%;
	width: 30%;
	margin-bottom: 15px;
}
@media screen and (max-width: 600px) {
	.img1{
		height: 100%;
		width: 100%;
	}
	.img_c{
		height: 50%;
		width: 50%;
		margin: 0 auto 15px auto;
	}
}


/*キャラクター図鑑のテーブル部分*/
.table_c{
	width: 60%;
	border-collapse: collapse;
}
.table_c th, .table_c td{
	padding: 10px;
	border: 1px solid #cccccc;
}
.table_c th{
	background: #eeeeee;
	
}
@media screen and (max-width: 600px) {
	.table_c {
		margin: 0 auto;
		width: 90%;
	}
	.table_c th, .table_c td {
		display: block;
		border-top: none;
	}
	.table_c td{
		text-align: center;
	}
}


/*その他*/
.space{
	margin: 5em;
}

.archiveimage{
	display: block;
	width: 50%;
	margin-left: 1em;
}

@media screen and (max-width:600px) {
	.archiveimage{
		width: 90%;
		margin: auto auto;
	}
}