/*
	
	photo Edit text set
	
*/

.photoEdit{
	text-align: center;
	position: relative;
	padding: 50px 0;
	background-color: #efefef;
	font-family: sans-serif;
}
.photoEdit-ttl span{
	display: block;
	width: 100%;
	height: 50px; /* 28px */
	font-size: 20px;
	background-size: 100% auto;
	margin: 0 auto;	
}

.photoEdit .photoEdit-txt{
	font-size: 15px;
	color: #000;
	line-height: 1.7;
	margin: 30px auto;
	text-align: center;
	font-weight: normal !important;
}
.photoEdit .photoEdit-txt-white{
	color: #fff;
}
.photoEdit .photoEdit-txt span{
	font-weight: bold;
}



/*
	timer setting
*/

.overlay-timer{
	background-color: #0f0f0f;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;top: 0;
	z-index: 1000;
}
.timer-wrap{
	position: relative;
	width: 95%;
	max-width: 500px;
	margin: 0 auto;
	padding: 30px 0 50px 0;
}
.timer-txt{
	display: inline-block;
	color: #fff;
	font-size: 14px;
	position: absolute;
	left: 0;
	top: 50%;
	line-height: 14px;
	height: 14px;
	margin-left: 1.5em;
	margin-top: -1.25em;
	z-index: 10000;
	pointer-events: none;
}
.timer-txt-h{
	left: 16.6666666%;
}
.timer-txt-m{
	left: 50%;
}
.timer-txt-s{
	left: 83.333333%;
}

/*
	mobiscroll setting
*/

.mbsc-ios.mbsc-fr-inline{
	border-bottom: none !important;
}
.mbsc-ios.mbsc-fr-inline{
	border-top:none !important;
}
.mbsc-ios-dark.mbsc-fr-inline .mbsc-fr-c{
	border-color: transparent !important;
}
.mbsc-ios-dark.mbsc-fr-inline .mbsc-fr-w{
	border-color: transparent !important;
}


/*
	loading
*/


#loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none
}
.loader {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 -25px 0 -10px #fff, 0 0 0 20px #bbb;
    animation: loader 1s infinite linear
}
@keyframes loader {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

/*
	layout
*/


.photoEdit {
    width: 100%;
    margin: 0 auto 0 auto;
    position: relative;
	background-color: #fff;
}
#canvasArea {
    width: 280px;
    height: 280px;
    margin: auto;
    background-color: #efefef;
    padding: 0 !important;
    border: 1px solid #000;
}
#canvas {
    position: relative;
    background-color: #f8f8f8;
    z-index: 10
}
#hidden_canvas {
    opacity: 0;
    z-index: 1
}
.edit li {
    position: relative
}
.app-open-list-02 li.retry2 {
    position: relative
}
h1.ttl {
    width: 65%;
    height: auto;
    margin: 0 auto 20px auto
}
h1.ttl img {
    max-width: 100%;
    height: auto
}

.edit_contents_canvasArea p,
.section.select h2 {
    margin: 0 auto;
    font-size: 21px;
    margin-bottom: 10px;
    width: 80%;
    max-width: 400px;
    color: #000;
    font-weight: bold;
}
.section.edit {
    padding: 0 0;
}
.section.main{
    padding: 0;
}
.section.share,
.section.app_open {
    padding: 20px 0 40px 0
}
.share_image{
	max-width: 280px;
	height: auto;
}
.section.share img{
    height: auto;
}
.section.main .photo_sample {
    width: 90%;
    max-width: 630px;
    margin: 0 auto;
    margin-bottom: 50px;
}
.section.main .photo_sample .photo_sample_list{
	letter-spacing: -2px;
	font-size: 0;
	padding: 0;
}
.section.main .photo_sample .photo_sample_list li{
	letter-spacing: 0;
	display: inline-block;
	width: 48%;
	margin-right: 4%;
}
.section.main .photo_sample .photo_sample_list li:last-child{
	margin-right: 0;
}
.seiko-photo-wrap{
    background-color: #ffbf00;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 30px 0;
}
.seiko-photo{
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
}
.seiko-photo img{
	display: block;
	width: 100%;
	height: auto;
}
.section.main .photo_sample img {
    max-width: 100%;
    height: auto
}
.photo_blank_img {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2
}
.photoEdit-btn{
	position: relative;
    display: block;
    z-index: 10;
    width: 100%;
    max-width: 240px;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    margin: 10px auto;
    /*background-color: #fff;*/
    /*border: 1px solid #000;*/
    background-color: #ffc627;
    border-radius: 5px;
    color: #000;
    padding: 0;
    font-family: sans-serif;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}
.photoEdit-btn-txt{
	position: relative;
	font-size: 15px;
	display: inline-block;
	margin-top: 10px;
	text-decoration: underline;
	padding: 0 15px;
	cursor: pointer;
}
.photoEdit-btn-txt:hover{
	text-decoration: none;	
}
.photoEdit-btn-txt:before{
	position: absolute;
	left: -5px;
	top: 50%;
	margin-top: -3px;
	content: "";
	display: block;
	width: 0;
	height: 0;
	border:4px solid transparent;
	border-right: 7px solid #000;	
}

.photoEdit-btn.photoEdit-btn-white{
	background-color: #FDC526;
	border-radius: 8px;
}
.photoEdit-btn a{
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 11;
	color: #000;
}
.photoEdit-btn a:hover{
	color: #fff;
	opacity: 1;
}
.photoEdit-btn:before{
	content: "";
	display: block;
	width: 0;height: 0;
	position: absolute;
	left: 20px;
	top: 50%;
	border:4px solid transparent;
	border-left: 7px solid #000;
	margin-top: -2px;
}

.photoEdit-btn:hover{
	background-color: #444;
	border: 1px solid #444;
	color: #fff;
}
.photoEdit-btn:hover:before{
	border-left: 7px solid #fff;	
}

.btn_upload{
	position: relative;
	font-family: sans-serif;
	font-size: 15px;
	margin: 20px 0 0 0;
	padding: 0;
	display: inline-block;
	cursor: pointer;
	color: #ffc627;
	background-color: #000;
	padding: .5em 2em;
	border-radius: 5px;
}



.termOk.active {
    pointer-events: all;
    opacity: 1
}

.check_s {
    display: inline-block;
    border: 1px solid #4d4d4d;
    width: 14px;
    height: 14px;
    vertical-align: top;
    margin-top: 0;
    margin-right: 5px;
    border-radius: 3px;
    cursor: pointer;
}

label[for="termCheck"]{
	font-size: 15px;
	line-height: 15px;
	vertical-align: top;
	display: inline-block;
	margin-top: 10px;
    cursor: pointer;
}


.check_s.active {
    background: url("../img/checked.png") no-repeat center center #4d4d4d;
    background-size: 14px 14px
}

.upload_file{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: pointer;
    outline: none;
    font-size: 1000px;/*for ie10*/
}
.photoEdit ul.share_inner_sns {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 15px;
    padding: 0;
    display: block !important;
}
.photoEdit ul.share_inner_sns li {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: auto;
    padding: 0 0;
}
.photoEdit ul.share_inner_sns li a{
    color: #777777;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
    color: #fff;
    background-color: #ffc627;
    border-radius: 50%;
    margin: 0 .2em;
}
.photoEdit ul.share_inner_sns li p {
	margin: 10px 0;
	padding:0;
}
.photoEdit ul.share_inner_sns .ig .img img {
    width: 35px;
    height: auto
}
.photoEdit ul.share_inner_sns .tw .img img {
    width: 40px;
    height: auto
}
.photoEdit ul.share_inner_sns .du .img img {
    width: 35px;
    height: auto
}
.photoEdit ul.edit_control {
    text-align: center;
    margin: 10px auto 5px auto;
    margin-bottom: 30px;
    max-width: 200px;
    padding: 0;
}
.photoEdit ul.edit_control li {
    display: inline-block;
    margin-right: 10px;
    width: auto;
}
.photoEdit ul.edit_control li:last-child {
    margin-right: 0
}

.photoEdit ul.edit_control .edit_control_zoonin,
.photoEdit ul.edit_control .edit_control_zoonout{
    font-size: 12px;
	
}
.photoEdit ul.edit_control .edit_control_zoonin a,
.photoEdit ul.edit_control .edit_control_zoonout a {
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    margin-bottom: 4px;
}
.photoEdit ul.edit_control .edit_control_zoonin a {
    background: url("../img/btn_zoomIn.png") no-repeat center center;
    background-size: 30px 30px
}
.photoEdit ul.edit_control .edit_control_zoonout a {
    background: url("../img/btn_zoomOut.png") no-repeat center center;
    background-size: 30px 30px
}
#form input {
    display: none
}
.photoframe-list{
	font-size: 0;
	letter-spacing: -2px;
	width: 90%;
	max-width: 900px;
	padding: 0;
	margin: 0 auto;
	margin-bottom: 50px;
}
.photoframe-list li{
	display: inline-block;
	letter-spacing: 0;
	margin-right: 50px;
	width: -webkit-calc(30% - 20px);
	width: calc(30% - 20px);
	box-sizing: border-box;
	margin-bottom: 50px;
}
.photoframe-list li:nth-of-type(3) {
	margin-right: 0;
}
.photoframe-list li img{
	display: block;
}
.photoframe-list li:last-child{
	margin-right: 0;
}

#form label {
    cursor: pointer
}
.photoframe-list li{
	
}
#form input[type="radio"] + label{
	border: 1px solid #FF8BB3;
	display: inline-block;
	width: 100%;
	padding-top: 100%;
	box-sizing: border-box;
	overflow: hidden;
}
#form li:first-child input[type="radio"] + label{
	background: url("../img/frame_00.png") no-repeat;
	background-size: 100% auto;
}
#frame_01 + label {
	background: url("../img/frame_01.png") no-repeat;
	background-size: 100% auto;
}
#frame_02 + label {
	background: url("../img/frame_02.png") no-repeat;
	background-size: 100% auto;
}
#frame_03 + label {
	background: url("../img/frame_03.png") no-repeat;
	background-size: 100% auto;
}
#frame_04 + label {
	background: url("../img/frame_04.png") no-repeat;
	background-size: 100% auto;
}
#form input[type="radio"] + label img{
	display: inline-block;
	width: 100%;
}
#form input[type="radio"]:checked + label {
    color: #fff;
    outline: 3px solid #FF8BB3;
    outline-offset: -3px;
}

.edit_bottom p {
    color: #fff;
    font-weight: bold
}

.edit_bottom_btn_retry {
    position: relative;
    font-weight: 900;
    margin-top: 10%;
    font-size: 15px;
}
.photoEdit input#termCheck{
    margin: 0 10px 0 0;
}
.download-caption{
	font-size: .8em;
	margin: .3em 0 -.3em 0;
}


@media screen and (max-width: 768px) {
	.photoEdit{
		padding: 30px 0;
	}
	.photoEdit-ttl span{
		font-size: 16px;
	}
	.photoEdit-ttl:after{
		width: 40px;
		margin-bottom: 30px;
	}

	.photoEdit .photoEdit-txt{
		font-size: 16px;
		margin: 20px auto;
	}
	.photoEdit-btn{
		width: 90%;
		max-width: 280px;
	    height: 45px;
	    line-height: 45px;
	    font-size: 16px;
	}
	.photoEdit-btn-txt{
		font-size: 13px;
		margin-top: 5px;
		padding: 0 15px;
	}
	.photoEdit-btn-txt:before{
		left: -5px;
		margin-top: -3px;
		border:4px solid transparent;
		border-right: 7px solid #000;	
	}

	.section.main .photo_sample {
		margin-bottom: 30px;
	}
	.photoframe-list{
		margin-bottom: 30px;
		margin-top: 100px;
	}
	.photoframe-list li{
		margin-right: 10px;
		margin-bottom: 10px;
		width: -webkit-calc(50% - 5px);
		width: calc(50% - 5px);
	}
	.photoframe-list li:nth-of-type(2n){
		margin-right: 0;
	}
	.photoframe-list li:nth-of-type(3) {
		margin-right: 10px;
	}
	.photoframe-list li:last-child{
		margin-bottom: 0;
	}
	.photoEdit ul.edit_control {
	    margin-bottom: 20px;
	}

	
    a:hover {
        opacity: 1
    }
    br.sp {
        display: inline
    }
    br.pc {
        display: none
    }

    .pc {
        display: none !important
    }
    .sp {
        display: block !important
    }

    .termOk {
        width: 100%;
    }

    .termOk:after {
        width: 20px;
        height: 20px;
        margin: 4px 0 0 5px;
    }

    #form label {
        width: 100%;
    }

    .photoEdit ul.share_inner_sns li p {
        font-size: 13px;
    }

    .upload_file{
		height: 45px;
	}

}
