@charset "utf-8";
/* CSS Document */

:root {
    --tiny-vw: 1000;
}

.tinybox *,
.tinybox :before, .tinybox :after {
	box-sizing: content-box !important;
}
.tinybox {
	cursor: pointer;
    text-decoration: underline;
    outline: none;
}
.tinybox:hover {
    text-decoration: none;
}

.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/tinybox/preload.gif") no-repeat 50% 50%; 
	display: block;
	overflow-y: auto;
    max-height: 80vh !important;
    box-sizing: content-box;
}
.tinner h1 {
	margin-bottom: calc( 25 / var(--tiny-vw) * 100%);
	line-height: 1.5;
    background: #faecf1;
    color: #ce4175;
    padding: calc( 30 / var(--tiny-vw) * 100%) calc( 20 / var(--tiny-vw) * 100%);
    font-size: clamp(25px, calc( 25 / var(--tiny-vw) * 100%), 1.2rem);
    border-bottom: 1px solid #ce4175;
    text-align: center;
}
.tinner h2 {
	color: #EA599D;
	margin: 30px 0 20px 0;
	line-height: 1.4
}
.tinner .wrap_content h2:first-of-type {
	margin-top: 10px
}
.tinner .wrap_content {
	border-top: 1px dotted #ABABAB;
	padding-top: 20px;
	margin-top: 20px
}
.tcontent {
	overflow-y: auto;
	/*max-height: 570px;*/
	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:40px; 
	height:40px; 
	cursor:pointer; 
	background:url(../../images/tinybox/close.png) no-repeat
}
.tclose:hover {
	background-position:0 -42px
}
#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;
	display: block
}
.tinner #outWin.outWin_scene h1 {
	margin-bottom: calc( 20 / var(--tiny-vw) * 100%);
	line-height: 1.4;
    background: #ce4175;
    color: #FFFFFF;
    padding: 10px;
    font-size: clamp(18px, calc( 20 / var(--tiny-vw) * 100%), 1rem);
}
#outWin.outWin_scene {
    width: calc( var(--tiny-vw) / var(--tiny-vw) * 100%);
}
#outWin.outWin_scene .flex .left {
    margin-right: calc( 30 / var(--tiny-vw) * 100%);
    width: calc( 440 / var(--tiny-vw) * 100%);
}
#outWin.outWin_scene .flex .right {
    width: calc( 560 / var(--tiny-vw) * 100%);
}
#outWin.outWin_scene .flex h1 {
    margin-top: calc( 15 / var(--tiny-vw) * 100%);
}
#outWin.outWin_scene p {
    font-size: clamp(16px, calc( 18 / var(--tiny-vw) * 100%), 1rem);
    line-height: 1.8;
}

@media screen and (max-width: 750px) {
/* スマートフォン用のスタイル記述 ---------------------------------------------------*/

	.tbox {
		height: 96%;
		width: 96%;
		background: none;
		padding: 0;
	}
	.tinner {
		overflow: auto;
		padding: 10px;
		height: 95%;
	}
	.tcontent {
		padding: 0;
		height: 100%;
	}
	.tclose {
		top:-10px; 
		right:5px; 
	}
    .tinner h1 {
        padding: 15px 10px;
        font-size: 18px;
        margin-bottom: 15px;
    }
	#frameless {
		max-width: 80%;
	}
	#frameless .tcontent {
		max-width: 95%;
		padding: 0;
	}
	#frameless .tcontent img {
		width: 95%;
	}
    #outWin.outWin_scene {
        font-size: 14px;
    }
    .tinner #outWin.outWin_scene h1 {
        padding: 10px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    #outWin.outWin_scene .flex {
        flex-direction: column;
    }
    #outWin.outWin_scene .flex .right {
        margin-top: 10px;
    }
    #outWin.outWin_scene .flex h1 {
        margin-top: 20px;
    }
    #outWin.outWin_scene .flex h1:first-of-type {
        margin-top: 0;
    }
    #outWin.outWin_scene p {
        font-size: 14px;
    }
    #outWin.outWin_scene .flex .left {
        margin-right: 0;
        width: 100%;
    }
    #outWin.outWin_scene .flex .right {
        width: 100%;
    }
}


/* 09_UPDATE 
--------------------------------*/
#outWin.update_09 .btns {
	text-align: center;
	background: #ECECEC;
	padding: 15px 10px;
	overflow: hidden
}
#outWin.update_09 .btns li {
	display: inline-block;
	list-style: none;
	width: 45%;
	margin: 0 1%
}
#outWin.update_09 .btns li img {
	width: 100%
}

