/* ＣＳＳサイト設定 */

@import url("common/base.css");

header
{
	text-align: center;
	background-color:#fff;
	box-shadow: 1px 1px #777;
}
h1
{
	display:block;
	text-align:left;
	margin-left:10px;
	color: #065FE3;
	text-shadow: 3px 3px 1px #A8D4FA;
	font-size: 215%;
	text-decoration:none;
}
.loginlink
{
	display: inline;
	position:absolute;
	top:1px;
	right:5px;
}

nav ul
{
	display: block;
}
nav li
{
	display: inline;
	background-color: #065FE3;
	padding:8px 0 6px 0;
	margin:2px;
	position: relative;
	overflow:hidden;
}
nav li a
{
	display: inline-block;
	position: relative;
	background-color: #065FE3;
	color: #EFEFEF;
	margin:5px;
	width:17%;
	font-size: 120%;
	font-weight:bold;
	border-top: dashed 1px #FFF;
	border-bottom: dashed 1px #FFF;
	cursor: pointer;
	text-decoration:none;
	white-space: nowrap;
}
main
{
	margin:10px 5%;
}

footer
{
	clear: both;
	text-shadow:1px 1px 2px #000;
	text-align: center;
}
.copyright
{
	font-size: 80%;
	color: #000;
	padding-bottom:8px;
}
.rule{
	margin-left:10px;
}

.txt1
{
	background:linear-gradient(transparent 60%, #ff6 60%);
}
.txt2
{
	background:linear-gradient(transparent 70%, #ff99cc 0%);
}
/*
.txt2::before
{
	content: '　';
	display: inline-block;
	background:linear-gradient(transparent 70%, #99ff99 0%);
	width:38px;
	background-image: url("./sozai1.png"); 
	background-repeat: no-repeat;
	top:0px;
	position: relative;
}
*/
.txt3
{
	background:linear-gradient(transparent 70%, #66ccff 0%);
}
.txt4
{
	background:linear-gradient(transparent 70%, #99ff99 0%);
	color:black;
}
.frame , article
{
	border:1px solid #065FE3;
	background-color:#fff;
	box-shadow: 1px 1px #777;
	margin:1px 1px 10px;
}
.frame .title , article h2
{
	margin:0;
	color:#fff;
	background-color:#065FE3;
	padding:3px 5px;
	font-size: 18px;
}
.contents
{
	background: linear-gradient(#ccc 1px, transparent 1px) #fffff5;
	background-size: auto 2em;
	line-height: 2em;
	padding-top:1px;
	padding-left:5px;
	padding-right:5px;
}
.contents p
{
	line-height: 2em;
}
.mini {
    font-size: 50%;
}

.fusen
{
	display: inline-block;
	margin:5px;
	margin-top:25px;
	padding:0 5px 3px	;
	background: #F8F0D7;
	border-left:4px dotted rgba(0,0,0,.1);
	border-right:4px dotted rgba(0,0,0,.1);
	box-shadow:0 0 5px rgba(0,0,0,.2);
	transform: rotate(1deg);
	text-align:center;
}
.fusen p
{
	text-align:left;
	margin:0;
	transform: rotate(-1deg);
}
.fusen a
{
	margin:0;
	margin-right:5px;
}
.fusen::before
{
	display: inline-block;
	width: 50%;
	content: ' ';
	font-size:1px;
	position: relative;

	height: 35px;
	margin: -25px auto 0;
	background: #989898;
	transform: rotate(-3deg);
	border-left:2px dotted rgba(0,0,0,.1);
	border-right:2px dotted rgba(0,0,0,.1);
	opacity: 0.1;
}
.fusen::after
{
}
.fusen .date
{
	display:block;
	text-align:right;
	font-size:50%;
}

/*******************************************************************************/
.table
{
	display: table;
	width: 100%;
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	margin-bottom:10px;
}
.table .tr
{
	display: table;
	width: 100%;
}
.table .td1,.table .td2,.table .td3
{
	display: table-cell;
	padding: 5px;
	background-color:white;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}
.table .td1
{
	width: 20%;
}
.table .td1 img , .iconimg
{
	width:10px;
	height:14px;
	position: relative;
	top:1px;
	margin-right:2px;
}
.table .td2
{
	width: 60%;
}
.table .td3
{
	width: auto;
}
.table .td1
{
	background-color:#ddd;
}
.table,.table .td1,.table .td2,.table .td3
{
	border-color:#999;
}

.bc1{background-color:#E60012 !important;}
.bc2{background-color:#F39800 !important;}
.bc3{background-color:#FFF100 !important;}
.bc4{background-color:#9AC715 !important;}
.bc5{background-color:#009944 !important;}
.bc6{background-color:#00A0E9 !important;}
.bc7{background-color:#0068B7 !important;}
.bc8{background-color:#920783 !important;}
.bc9{background-color:#E4007F !important;}
/*******************************************************************************/
.tbl
{
	display: table;
	border-collapse:collapse;
	border: 1px solid #cccccc;
	margin-bottom:10px;
}
.tbl th
{
	display: table-cell;
	padding: 5px;
	background-color:#ddd;
	border: 1px solid #cccccc;
}

.tbl td
{
	display: table-cell;
	padding: 5px;
	background-color:white;
	border: 1px solid #cccccc;
}

/*******************************************************************************/

#typing
{
	padding:10px;
	text-align:left;
	font-size:30px;
}

.select
{
	border: 1px solid black;
	padding: 3px;
	border-radius: 2px;
}

/* ダイス設定 */

.engine
{
	animation:engine 0.2s infinite;
	-webkit-animation:engine 0.2s infinite;
	-moz-animation:engine 0.2s infinite;
}
@keyframes engine
{
	0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
	50%  { transform: scale(1.0, 0.98) translate(0%, 1.5%); }
	100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}
@-webkit-keyframes engine
{
	0%   { -webkit-transform: scale(1.0, 1.0) translate(0%, 0%); }
	50%  { -webkit-transform: scale(1.0, 0.98) translate(0%, 1.5%); }
	100% { -webkit-transform: scale(1.0, 1.0) translate(0%, 0%); }
}
@-moz-keyframes engine
{
	0%   { -moz-transform: scale(1.0, 1.0) translate(0%, 0%); }
	50%  { -moz-transform: scale(1.0, 0.98) translate(0%, 1.5%); }
	100% { -moz-transform: scale(1.0, 1.0) translate(0%, 0%); }
}

.spin
{
	animation: spin 5s linear infinite;
	-webkit-animation: spin 5s linear infinite;
	-moz-animation: spin 5s linear infinite;
}
@keyframes spin
{
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
@-webkit-keyframes spin
{
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes spin
{
	0%   { -moz-transform: rotate(0deg); }
	100% { -moz-transform: rotate(360deg); }
}

.balloon
{
	position: relative;
	top:-15px;
	padding: 20px;
	background-color: #fff;
	border: 2px solid #999;
}

.balloon::before
{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: -15px;
	top: 15px;
	border-right: 15px solid #999;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
}
.balloon::after
{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: -12px;
	top: 15px;
	border-right: 15px solid #fff;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
}

.balloon span
{
	font-weight: bold;
    color: #39ADDE;
    font-size: 120%;
    padding: 5px;
}

/* カード設定 */
.card
{
	display: grid;
	grid-template-rows: 25px 120px;
	grid-template-columns:280px 110px;
	grid-template-areas:
		"areaA areaB"
		"areaC areaC";
}
.card .title{grid-area: areaA;}
.card .disc {grid-area: areaB;}
.card .text {grid-area: areaC;}

.card
{
	background-color:white;
	border:1px solid #333;
	border-radius:5px;
	box-shadow: 0 0 8px rgba(0, 0, 0, .16);
	color: #212121;
	text-decoration: none;
	cursor:pointer;
}
.card img
{
	height:100px;
	width:100px;
	float:left;
	border:1px solid black;
	margin-right:5px;
}
.card .title
{
	font-size:16px;
	padding:3px;
}
.card .disc
{
	font-style :italic;
	background-color:#333;
	text-align:center;
	padding:3px 4px;
	border:0;
	border-radius:0 3px 0 5px;
	color:#fff;
}
::-webkit-scrollbar
{
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track
{
	background: #eee;
	border-radius: 5px;
}
::-webkit-scrollbar-thumb
{
	background: #999;
	border-radius: 5px;
}

.card .text
{
	overflow:hidden visible;
	padding:5px;
	font-size:10px;
}
.card .text .comment
{
	font-size:14px;
}
.card .text a
{
	padding:3px;
	margin-right:3px;
	line-height:30px;
}

/* カード裏返し設定 Start */
.is-surface , .is-reverse
{
	position: relative;
	margin:5px;
	display:table;
	float:left;
}

.flipped
{
	position: absolute;
	top: 0;
	left: 0;
}

.is-surface .front
{
	opacity: 1;
	transform: rotateY(0deg);
	transition:opacity 100ms 150ms,transform 300ms 150ms;
}

.is-surface .flipped
{
	opacity: 0;
	transform: rotateY(90deg);
	transition:opacity 50ms 200ms,transform 300ms;
}

.is-reverse .front
{
	opacity: 0;
	transform:rotateY(90deg);
	transition:opacity 50ms 200ms,transform 300ms;
}

.is-reverse .flipped
{
	opacity: 1;
	transform:rotateY(0deg);
	transition:opacity 100ms 150ms,transform 300ms 150ms;
}
/* カード裏返し設定 End */


.p3
{
	padding:3px;
}
.p5
{
	padding:5px;
}

.btn2
{
	border:1px solid black;
	padding:5px;
	cursor:pointer;
}

.yaku
{
	margin-right:10px;
}

@media screen and (min-width: 620px)
{
}
@media screen and (max-width: 620px)
{
	*
	{
		letter-spacing: 2px;
	}

	nav li
	{
		width:44%;
	}
	nav li a
	{
		width:44%;
	}
	#toppage
	{
		display:none;
	}
	.yaku
	{
		margin:0;
		display:block;
	}

	main
	{
		margin:5px 1px;
	}

	.fusen
	{
		display:block;
	}

	.copyright
	{
		font-size:80%;
		text-align:center;
	}

}
