@charset "utf-8";
html {
	scroll-behavior: smooth;
}
body {
	background-color:black;
	color: white;
	font-size:16px;
	text-align: center;
	box-sizing: border-box;
	font-family: Meiryo,sans-serif;
}
.footer {
	position: fixed;
	text-align: center;
	bottom: 0px;
	left:0px;
	width: 100vw;
	height: 2em;
	background-color: #44444480;
	z-index: 1000;
	line-height: 2em;
	font-style: bold;
	font-size: 1.5em;
}
.footer a:link {
	color: #ffffff80;
}
.footer a:hover {
	color: #ffffff;
	background-color: #44444400;
}
.footer a:active {
	color: #ffffff;
	background-color: #44444400;
}
.footer a:visited {
	color: #ffffff80;
}
.base {
	display: flex;
  justify-content: center;
  /*flex-wrap: wrap;*/
	height: 100vh;
	width:1400px;
	max-width: 98vw;
	margin-left: auto;
	margin-right: auto;
}
.base_main {
	flex: auto;
	overflow-y: scroll;
	text-align: left;
	width: 1000px;
	max-width: 1000px;
	box-sizing: border-box;
	-ms-overflow-style: none; /*スクロールバー非表示*/
	scrollbar-width: none;
	text-align: center;
}
/* スクロールバー非表示 */
.base_main::-webkit-scrollbar {
  display: none;
}
.base_left {
	width: 200px;
	height: 96vh;
	padding-right: 1em;
	text-align: center;
}
.base_right {
	width: 200px;
	height: 96vh;
	padding-left: 1em;
	text-align: center;
}
/* リンク色 */
a:link{
	color: deepskyblue;
	text-decoration:none;
}
a:visited{
	color: deepskyblue;
}
a:active{
	color: white;
}
a:hover{
	color: white;
}
/* リンク実行時の画面全般のハイライトの色を無効にする。 */
a {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* タイトル */
.title_image {
	width: 980px;
	height: 245px;
	background-size: 100% auto;
	text-align: right;
	position: relative; /* テキストの下揃え用に必要な親要素の設定 */
	margin-bottom: 1em;
	margin-top: 0.5em;
}
/* タイトル内の下揃えのためのブロック要素 */
.title_align {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 1em;
}
h1 {
	font-weight: bold;
	text-shadow: 3px 3px 0 #000,
	 -3px 3px 0 #000,
	  3px -3px 0 #000,
		-3px -3px 0 #000;
	font-family: "Arial Black";
	font-size: 3em;;
	text-align: right;
	line-height: 1em;
	margin-bottom: 0;
	margin-right: 1em;
}
/*h1　見出し大のリンク定義。色青固定　常にトップページへのナビゲーションリンクになる*/
.top:link{
	color:#ffffff;
	text-decoration:none;
}
a.top:visited{
	color:	#ffffff;
	text-decoration:none;
}
.ul_menu{
	list-style:none;
	margin:0;
	padding:0;
}
hr{
	border:solid 1px #3399ff;
	width:95%;
	margin-top:1em;
	margin-bottom:1em;
}
p {
	max-width: 96%;
	margin-left: 1em;
	margin-right: 1.5em;
	margin-top: 1em;
	margin-bottom: 1em;
}

/* 枠なしのコンテンツ箱 */
.none {
	text-align: left;
}
/* コンテンツ箱 */
.box {
	position: relative;
  margin: 3em 0;
  border: solid 1px dodgerblue;
  border-radius: 8px;
	padding-top: 1em;
	padding-bottom: 1em;
	text-align: left;
	box-sizing: border-box;
}
h2 {
  position: absolute;
  display: inline-block;
  top: -0.5em;
  left: 0.7em;
	margin-left: 0.5em;
	margin-right: 0.5em;
	margin-top: 0;
	margin-bottom: 0;
  padding: 0 9px;
  line-height: 1;
  font-size: 1.3em;
	background-color: black;
  font-weight: bold;
}
/*ボタンリンクをリストで記述。*/
.ul_sublink{
	margin-top:0em;
	list-style:none;
	padding-left:1em;
	overflow:hidden;
}
/*サブリンク、画像なしテキストリンク*/
.sublink{
	height:2em;
	text-decoration:none;
	padding:0.8em 0px 0px;
	float:left;
}
.sublink:after{
	content:"│";
	color:#999999;
}
.sublink:before{
	content:"│";
	color:#999999;
}
.sublink:hover{
	background:#002244;
}
/* details、summary */
.flex {
	display: inline-block;
	max-width: 650px;
	width: 650px;
	vertical-align: top;
}
summary {
	color: lightskyblue;
	font-size: 0.8em;
	margin-top: -0.5em;
	/*display: block;マーカーを消す*/
	list-style: none;
	display: block;
	transition: 0.4s;
}
summary::-webkit-details-marker {
	display: none;/*マーカーを消す */
}
summary:hover {
	color: white;
}
details {
	margin-left: 2em;
	margin-right: 1em;
	margin-bottom: 1.5em;
	/*display: inline-block;*/
}
details[open] div {
	animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: translateY(-0.5em);
	}
	100% {
		opacity: 1;
		transform: none;
	}
}
details div {
	position: relative;
	margin-top: 0.5em;
	margin-bottom: 1em;
	margin-left: 2.9em;
	margin-right: 1em;
	background-color: #66aaff99;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-right: 0.5em;
	padding-left: 1em;
	border-radius: 0.3em;
}
details div::before {
	content: '';
	position: absolute;
	display: block;
	border-radius: 50%;
	left: -1.7em;
	top: 0.4em;
	width: 1.2em;
	height: 1.2em;
	background-color: #66aaff99;
}
details div::after {
	content: '';
	position: absolute;
	display: block;
	border-radius: 50%;
	left: -2.5em;
	top: -0.2em;
	width: 0.7em;
	height: 0.7em;
	background-color: #66aaff99;
}
.amazon {
	margin-left: 0.5em;
	margin-right: 0.5em;
	display: inline-block;
	text-align: center;
}
ul {
	margin-right: 3em;
}
/* モーダルウインドゥ */
.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}
.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}
.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}
.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 600px;
  max-width: 80vw;
  padding: 1em;
	border-radius: 0.5em;
  background: #66666680;
  /*box-shadow: 0 0 30px rgba(0, 0, 0, .6);*/
  vertical-align: middle;
	max-height: 80vh;
	text-align: left;
	overflow-y: auto;
}
.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}
.modal-window a:link {
	color: lightgray;
}
.modal-window a:hover {
	color: #ffffff;
	background-color: #99999900;
}
.modal-window a:active {
	color: #ffffff;
	background-color: #99999900;
}
.modal-window a:visited {
	color: lightgray;
}
@media screen and (max-width:1200px){
	.base {
		width: 98vw;
	}
	.p {
		width: 96vw;
	}
}
@media screen and (max-width:1000px){
	.title_image {
		width: 92vw;
		height: 22vw;
	}
	.base {
		width: 96vw;
	}
	.base_main {
		width: 96vw;
	}
	.p {
		max-width: 95%;
	}
	.flex {
		max-width:98%;
	}
	.amazon {
		display: block;
	}
}
@media screen and (max-width:800px){
	h1 {
		font-size: 2em;
	}
	.base {
		max-width: 92vw;
	}
	.base_main {
		max-width: 92vw;
	}
}
@media screen and (max-width:600px){
	.title_align {
		padding: 0.5em;
	}
	h1 {
		font-size: 1.5em;
	}
	h2 {
		font-size: 1.1em;
		left: 0.4em;
		margin-left: 0.2em;
		margin-right: 0.2em;
	}
	body {
		font-size: 14px;
	}
	.google-ads{
		max-width: 91vw;
	} 
}