@charset "UTF-8";
/*-ページ全体の指定-*/
html, body, header, section, article, nav, footer,
div, p, h1, h2, h3, h4, h5,
ul, ol, li, dl, dt, dd,
table, tr, th, td, tbody, thead, tfoot {
  margin: 0;
  padding: 0;
}
html {
 background-color: black;
}
body {
 height: 100%;
 width: 100%;
 color: white;
 margin: 0px;
 padding: 0px;
 font: 14px/1.231 "Hiragino Kaku GothicPro","Microsoft YaHei","ヒラギノ角ゴ Pro W3","MS PGothic",Arial,Osaka;
 line-height: 1.7;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-o-text-size-adjust: 100%;
text-size-adjust: 100%;
}
p, h1, h2, h3, h4, h5 {
 text-shadow: 1px 2px 5px gray;
}
img {
 border: 0;
 border-style: none;
}
/*コンテナー
---------------------------------------------------------------------------*/
#container {
margin-top: 0;
padding-top: 0;
height: 100%;/*重要*/
}
/*ヘッダー---------------------------------------------------------------*/
#header {
position: relative;
line-height: 40px;
border-bottom: 1px #888888 solid;
}
/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
width: 100%;
height: 100%;
margin-right: auto;
margin-left: auto;
margin-top: 0;
padding-top: 0;
padding-bottom: 0;
clear: left;
min-height:350px;
/*クロスブラウザ対応*/
height: auto !important;
}


/*フッター（最下部コピーライト部分）
---------------------------------------------------------------------------*/
#footer {
clear: both;
width: 100%;
margin-right: auto;
margin-left: auto;
color: white;
border-top: 1px #888888 solid;
padding-bottom: 0.8em;
}
#footer p{
font-size: 0.8em;
padding-top: 10px;
}

/*-------------------------------------------------------------------------*/
p,h2,h3 {
text-align: center;
}

h1,h2,h3,p,ul,li,dl,dt,dd{
 margin: 0px;
 padding: 0px;
}


/*------------------------------------------------------------------------*/

a {
color: white;
text-decoration: none;	/*デフォルトの下線を削除*/
padding-bottom: 3px;
cursor: pointer;
}
a:hover {
color: white;
text-decoration: none;
}
/*---input  --------------------------------------*/
input,select{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 1.05em;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
  border: 1px silver solid;
}
input, textarea {
 -webkit-user-select : auto;
}
input:focus,select:focus{
 outline: 1px silver inset;
}
/*---button-----ハンバーガーBotton注意-------------------*/
button{
-webkit-appearance: none;
 cursor: pointer;
 text-decoration:none;
 border-style: none;
 color: white;
 white-space: nowrap;/*折り返し禁止*/
}
.btn {
 color: white;
 background:rgba(0,0,0,0.2);
 text-decoration:none;
 line-height: 26px;
 padding: 3px 14px;
 text-align: center;
 font-size:0.9em;
 border-radius: 4px;
 border: 1px silver solid;
 white-space: nowrap;/*折り返し禁止*/
}
.btn:hover{
 color: #666666;
 transition-duration:0.3s;
 box-shadow : 0 0 14px #black;
}
.Top{
 position: fixed;
 top: 50px;
 right: 5vw;
 width: 100px;
 opacity:0.8;
 z-index: 10;
}
/*---リスト---*/
.flex{
 display: -webkit-flex;
 display: flex;
 justify-content: center;
 -ms-flex-wrap: wrap;
 flex-wrap: wrap;
}
/*.flex 空のグリッド*/
.cell.is-empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
ul {
  list-style: none;
}
.ol {
	position: relative;
	padding: 10px;
	list-style-type: none;
}
.cell {
	padding: 0.5em 0.5em 0.6em 0.5em;
	margin: 5px;
	line-height: 1.5;
	vertical-align: middle;
	border-radius: 20px 0px 0px 20px;
	color: #ffffff;
	width: 330px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cell::before {
	display:inline-block;
	vertical-align: middle;
	content:'';
	margin-right: 8px;
	width:1em;
	height: 1em;
	background: #fff;
	border-radius: 50%;
}

/*--ナビ--*/
nav {
  width: 100%;
  text-decoration: none;
  margin: 0;
}
.nav h3 {
  padding: 10px;
  text-align: center;
  border-bottom: solid 1px;
  border-bottom-color: #BBB;
}
.nav ul {
 width: 100%;
 border-top: solid 1px;
 border-top-color: #BBB;
}

.nav li {
 list-style: none;
 text-align: center;
	width: 330px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nav li a {
  padding: 10px 0 10px;
  display: block;
  font-weight: bold;
  text-decoration: none;
  border-bottom: solid 1px #BBB;
  background: url(/img/arrow_icon.png) no-repeat scroll right center transparent;
}

@media screen and (max-width:400px) { 
  /*#contents{ min-height: 460px;}*/
  /*section{ min-height: 240px;}*/
}
@media screen and (max-width:800px) { 

}
@media screen and (min-width:640px) {
  /*#contents{ min-height: 640px;}*/
  /*section{ min-height: 400px;}*/
  .nav li{
/*   display: inline-block;*/
   /*width: 250px;*/
   /*width: 20vw;*/
  }
}

/*モーダルウィンドウ----------------*/

#modal-content{
	width:50%;
	margin:1.5em auto 0;
	padding:10px 20px;
	border:2px solid #aaa;
	background:white;
	z-index:2;
	position:fixed;
}

.modal-p{
	margin-top:1em;
}

.modal-p:first-child{
	margin-top:0;
}

.button-link{
	color:#00f;
	text-decoration:underline;
}
 
.button-link:hover{
	cursor:pointer;
	color:#f00;
}
/*モーダル----*/
#modal{
    position:fixed;
    display:none;
    z-index:20;
    color: #FFF;
}
/*オーバーレイ---------------*/
#modal-overlay{
	z-index:1;
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:120%;
	background-color:rgba(0,0,0,0.75);
}
/*ページTOP------------------*/
.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}
.pagetop a {
    display: block;
   background-color:black;
    text-align: center;
    color: white;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 10px;
	filter:alpha(opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
}
.pagetop a:hover {
    display: block;
    background-color:white;
    text-align: center;
    color: #222;
    font-size: 16px;
    text-decoration: none;
    padding:5px 10px;
	filter:alpha(opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
}
/*カラーモード部*/
.radio input[type="radio"] {
 display: none;
}
.radio label {
 cursor:pointer;
}
.square {
 width: 32px;
 height: 32px;
 display:inline-block;
 border: 0px;
}
.square:hover {
 transition-duration:0.3s;
 border-color: #FFFFFF;
 box-shadow : 0 0 18px #FFFFFF;
}
.square2 {
 width: 64px;
 height: 32px;
 display:inline-block;
}
#a + label{
 background-color:midnightblue;
}
#b + label{
 background-color:indigo;
}
#c + label{
 background-color:purple;
}
#d + label{
 background-color:mediumvioletred;
}
#e + label{
 background-color:darkred;
}
#f + label{
 background-color:saddlebrown;
}
#g + label{
 background-color:darkslategray;
}
#h + label{
 background-color:darkgreen;
}
