@charset "utf-8";
/* CSS Document */

.tinybox {
	cursor: pointer;
	color: #267aa7;
}
.tinybox:hover {
	color: #cccccc;
}

.tbox {
	position:absolute;
	display:none;
	padding:14px 17px;
	z-index:999999999;
	-moz-border-radius:5px;
	border-radius: 5px;
    -webkit-border-radius:5px;
	background: #eeeeee;
}
.tinner {
	padding: 30px 5px;
	-moz-border-radius:5px;
	border-radius: 5px;
    -webkit-border-radius:5px;
	border-radius:5px;
	background:#fff url(/images/common/preload.gif) no-repeat 50% 50%;
}
.tinner h1 {
	margin-bottom: 20px;
	border-left: #5e318f 6px solid;
	padding-left: 10px;
	line-height: 1.2;
}
.tcontent {
	overflow: auto;
	max-height: 650px;
	padding: 0 20px;
}
.tmask {
	position:absolute;
	display:none;
	top:0px;
	left:0px;
	height:100%;
	width:100%;
	background:#000;
	z-index:99999999
}
.tclose {
	position:absolute;
	top:0;
	right:0;
	width:30px;
	height:30px;
	cursor:pointer;
	background:url(/images/common/close.png) no-repeat
}
.tclose:hover {
	background-position:0 -30px
}
#error {
	background:#ff6969;
	color:#fff;
	text-shadow:1px 1px #cf5454;
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	padding:0
}
#error .tcontent {
	padding:10px 14px 11px;
	border:1px solid #ffb8b8;
	-moz-border-radius:5px;
	border-radius:5px
}
#success {
	background:#2ea125;
	color:#fff;
	text-shadow:1px 1px #1b6116;
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	padding:10;
	-moz-border-radius:0;
	border-radius:0
}
#bluemask {
	background:#4195aa
}
#frameless {
	padding:10px;
	/*max-width: 1000px;*/
	max-height: 1000px;
	max-width: 1000px;
	text-align: center;
}
#frameless .tcontent {
	max-height: 1000px;
	padding: 0;
}

#outWin {
	text-align: left;
}

@media screen and (max-width: 640px) {
/* スマートフォン用のスタイル記述 ---------------------------------------------------*/

.tbox {
	height: 96%;
	width: 96%;
	background: none;
	padding: 0;
}
.tinner {
	overflow: auto;
	padding: 10px;
	height: 95%;
}
.tcontent {
	padding: 0;
	height: 100%;
}
.tclose {
	top:5px;
	right:5px;
}
#frameless {
	max-width: 80%;
}
#frameless .tcontent {
	max-width: 95%;
	padding: 0;
}
#frameless .tcontent img {
	width: 95%;
}

}
