@media (max-width: 768px) {
	body {
		font-size: 14px;
		letter-spacing: -0.07em;
	}
}

.block_rel em {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

.drawingBuffer {
	position: absolute;
	left: 0;
}
#canvas {
	position: relative;
}
.detect-area {
	position: absolute;
	top: 14%;
	bottom: 55%;
	left: 10%;
	right: 10%;
	border: 2px solid #ffffff;
}

.square {
	position: absolute;
	top: 55%;
	bottom: 22%;
	left: 10%;
	right: 10%;
	border: 2px solid #000;
	padding: 5px;
	color: #fff !important;
	font-size: 14px;
	background-color: #000;
	opacity: 0.9;
}

.square p {
	font-size: 14px;
	font-family: "Noto Sans";
	margin-top: 4px;
}

.triangle {
	top: 55%;
	margin-top: -30px;
	margin-left: 45%;
	position: absolute;
	width: 0px;
	height: 0px;
	border-top: 15px solid transparent;
	border-bottom: 15px solid #000;
	border-right: 15px solid transparent;
	border-left: 15px solid transparent;
	opacity: 0.9;
}

#modal_item4 {
	background-color: #666 !important;
	height: 100%;
	position: relative;
}

#camera_container {
	display: none;
}

.absolute_transform {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
}

.absolute_transform img {
	vertical-align: middle;
}
.bg_hardgrey {
	background-color: #666 !important;
}

.barcode {
	width: calc(60% + 140px);
	margin: 30px auto 0;
}
.barcode em.new {
	font-weight: 700;
	color: #f00;
}
.barcode .open_modal3:hover {
	opacity: 0.6;
}

#modal_item3 {
	position: relative;
	padding: 50px 90px;
	background: url(../images/campaign/bg_assessment.webp) no-repeat right 38px;
}
#modal_item3 dt {
	padding-bottom: 10px;
	border-bottom: 4px solid #f00;
	color: #f00; /*font-family: "Noto Sans";*/
	font-size: 32px;
	font-weight: 400;
}
#modal_item3 dt em {
	display: block;
	font-size: 48px;
	font-weight: 700;
}
#modal_item3 dd {
	margin-top: 20px;
	line-height: 1.5;
}
#modal_item3 dd img {
	display: block;
	width: auto;
	margin: 30px auto 0;
}

.scroll-prevent {
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 767px) {
	.barcode {
		width: calc(76% + 70px);
	}
	.assessment + .scaned {
		margin-top: 30px;
	}
	.scaned .outline:after {
		content: "";
		clear: both;
		display: block;
		height: 0;
	}
	.scaned .outline figure {
		float: left;
		width: 100px;
		margin: 0;
	}
	.scaned .outline figure img {
		width: 120px;
	}
	.scaned .outline .exp {
		float: right;
		width: calc(100% - 133px);
		padding-top: 20px;
		font-size: 100%;
		line-height: 1.5;
	}
	.scaned .exp .item-maker {
		margin-bottom: 10px; /*font-family: "Noto Sans";*/
		font-weight: 400;
		letter-spacing: 0.05em;
	}
	.scaned .exp .item-title {
		margin-bottom: 10px;
		font-size: 120%;
		font-weight: bold;
	}
	.scaned .exp .item-saler time {
		display: block;
	}

	.scaned .item-price {
		margin-top: 20px;
	}
	.scaned .item-price .caption {
		position: relative;
		padding-bottom: 5px;
		border-bottom: 2px solid #e40012;
		color: #e40012;
		font-size: 22px; /*font-family: "Noto Sans";*/
		font-weight: 700;
		text-align: center;
	}
	.scaned .item-price .caption:after {
		content: "";
		position: absolute;
		bottom: -9px;
		left: 50%;
		width: 0;
		height: 0;
		margin-left: -7px;
		border-style: solid;
		border-width: 7px 7px 0 7px;
		border-color: #e40013 transparent transparent transparent;
	}
	.scaned .item-price .item-purchase {
		position: relative;
		color: #e40012;
	}
	.scaned .item-price .item-purchase:after {
		content: "";
		clear: both;
		display: block;
		height: 0;
	}
	.scaned .item-price .item-purchase dt {
		float: left;
		margin-top: 20px;
		font-size: 18px;
		font-weight: 700;
		line-height: 1;
	}
	.scaned .item-price .item-purchase dd {
		float: right;
		font-size: 40px !important;
		font-weight: bold;
	}
	.scaned .item-price .item-purchase dd span {
		margin-left: 5px;
		font-size: 20px !important;
	}
	.scaned .item-price .item-purchase dd:after {
		content: "";
		position: absolute;
		bottom: 10px;
		right: 0;
		z-index: -1;
		width: 323px;
		height: 38px;
		background: url(../img/line_price_large.webp) no-repeat;
		background-size: 323px 38px;
	}

	.scaned .item-next {
		margin-top: 30px;
	}
	.scaned .item-next a {
		display: block;
		position: relative;
		height: 67px;
		border: 3px solid #000;
		background: url(../img/bg_item-next.webp) no-repeat 14px bottom;
		background-size: 63px 55px; /*font-family: "Noto Sans";*/
		font-size: 18px;
		font-weight: 500;
		text-align: center;
		line-height: 58px;
	}
	.scaned .item-next a:before,
	.scaned .item-next a:after {
		content: "";
		position: absolute;
		top: 50%;
		right: 10px;
		height: 1px;
		background-color: #000;
	}
	.scaned .item-next a:before {
		width: 10px;
		transform: translateY(-50%);
	}
	.scaned .item-next a:after {
		width: 6px;
		margin-top: -3px;
		transform: rotate(45deg);
	}

	.scaned .conv {
		position: relative;
		left: -7px;
		width: calc(100% + 14px);
		margin-top: 10px;
	}
	.scaned .conv img {
		width: 100% !important;
	}

	.scaned .sum {
		position: relative;
		margin-top: 8px;
		padding-right: 105px;
		border-bottom: 1px solid #000;
		font-size: 14px;
		font-weight: 500;
		text-align: center;
	}
	.scaned .sum span {
		color: #f00;
		font-size: 18px;
	}
	.scaned .sum span em {
		font-size: 26px;
		font-weight: bold;
		font-style: nomal !important;
	}
	.scaned .sum .breakdown {
		position: absolute;
		bottom: -1px;
		right: 0;
	}
	.scaned .sum .breakdown a {
		display: block;
		width: 105px;
		height: 39px;
		padding-right: 23px;
		background: #000;
		color: #fff !important;
		font-size: 12px;
		line-height: 39px;
	}
	.scaned .sum .breakdown a:after {
		content: "";
		position: absolute;
		top: 50%;
		right: 10px;
		width: 18px;
		height: 18px;
		margin-top: -9px;
		background: url(../img/i_roupe.webp) no-repeat;
		background-size: 18px 18px;
	}

	#modal_item2 {
		padding: 20px;
	}
	#modal_item2 img {
		width: 100%;
		height: auto;
		vertical-align: bottom;
		margin: 0 auto;
	}
	#modal_item2 #cboxClose {
		display: none;
	}
	#modal_item2 .sum {
		padding: 15px 30px;
		background: #fff; /*font-family: "Noto Sans";*/
		font-size: 20px;
		font-weight: 500;
	}
	#modal_item2 .sum .sum_amount p {
		display: inline-block;
		width: 100%;
	}
	#modal_item2 .sum p span {
		word-break: keep-all;
		margin: 0 5px;
	}
	#modal_item2 .sum p span.sum_money {
		color: #f00;
		font-weight: bold;
	}
	#modal_item2 .sum p span em {
		/*font-family: Oswald;*/
		font-size: 30px;
		font-style: normal !important;
	}
	#modal_item2 .sum .conv_btn {
		display: block;
		margin-top: 10px;
	}
	#modal_item2 .sum .conv_btn img {
		width: 100% !important;
	}
	#modal_item2 ul {
		width: 100%;
	}
	#modal_item2 > ul > li {
		position: relative;
		margin-top: 15px;
		padding: 15px;
		background: #fff;
		text-align: left;
		list-style: none;
		width: calc(100% + 40px);
		margin-left: -40px;
	}
	#modal_item2 > ul > li:after {
		content: "";
		clear: both;
		display: block;
		height: 0;
	}
	#modal_item2 > ul > li figure {
		float: left;
		width: 50px;
		margin: 0;
	}
	#modal_item2 > ul > li .exp {
		float: right;
		width: calc(100% - 63px);
		font-size: 71%;
		line-height: 1.5;
	}
	#modal_item2 > ul > li .exp .item-maker {
		margin-bottom: 2px; /*font-family: "Noto Sans";*/
		font-weight: 400;
		letter-spacing: 0.05em;
	}
	#modal_item2 > ul > li .exp .item-title {
		font-size: 120%;
		font-weight: bold;
	}
	#modal_item2 > ul > li .exp .item-price {
		margin-top: -9px;
		color: #f00;
		font-size: 20px;
		font-weight: bold;
		text-align: right;
	}
	#modal_item2 > ul > li .exp .item-price em {
		/*font-family: Oswald;*/
		font-size: 30px;
		font-style: normal !important;
	}
	#modal_item2 > ul > li .close {
		display: block;
		position: absolute;
		top: 7px;
		right: 7px;
		width: 20px;
		height: 20px;
		border: 2px solid;
		border-radius: 50%;
		background: #000;
	}
	#modal_item2 > ul > li .close:after,
	#modal_item2 > ul > li .close:before {
		content: "";
		display: block;
		position: absolute;
		top: 7px;
		left: 3px;
		width: 10px;
		height: 2px;
		background: #fff;
		transform: rotate(45deg);
	}
	#modal_item2 > ul > li .close:after {
		transform: rotate(-45deg);
	}
}

/*modal*/
#colorbox,
#cboxOverlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}
#cboxWrapper {
	max-width: none;
}
#cboxOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
	clear: left;
}
#cboxContent {
	position: relative;
	border-radius: 0 !important;
	clip-path: polygon(
		13px 0,
		100% 0,
		100% calc(100% - 13px),
		calc(100% - 13px) 100%,
		0 100%,
		0 13px
	) !important;
}
@media screen and (max-width: 767px) {
	#cboxContent {
		clip-path: polygon(
			6px 0,
			100% 0,
			100% calc(100% - 6px),
			calc(100% - 6px) 100%,
			0 100%,
			0 6px
		) !important;
	}
}
#cboxLoadedContent {
	overflow: auto; /* -webkit-overflow-scrolling: touch; */
}
#cboxTitle {
	margin: 0;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
	cursor: pointer;
}
.cboxPhoto {
	float: left;
	margin: auto;
	border: 0;
	display: block;
	max-width: none;
	-ms-interpolation-mode: bicubic;
}
.cboxIframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	padding: 0;
	margin: 0;
}
#colorbox,
#cboxContent,
#cboxLoadedContent {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}
#cboxOverlay {
	background: url(../img/overlay.webp) repeat 0 0;
	opacity: 0.9;
	filter: alpha(opacity = 90);
}
#colorbox {
	outline: 0;
}
#cboxContent {
	position: relative;
	background: #fff;
	overflow: hidden;
	border-radius: 10px;
}
.cboxIframe {
	background: #fff;
}
#cboxError {
	padding: 50px;
	border: 1px solid #ccc;
}
#cboxLoadedContent {
	position: relative;
	margin-bottom: 0px;
}
#cboxTitle {
	position: absolute;
	bottom: 4px;
	left: 0;
	text-align: center;
	width: 100%;
	color: #949494;
}
#cboxCurrent {
	position: absolute;
	bottom: 4px;
	left: 58px;
	color: #949494;
}
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
	border: 0;
	padding: 0;
	margin: 0;
	overflow: visible;
	width: auto;
	background: none;
}
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
	outline: 0;
}
#cboxSlideshow {
	position: absolute;
	bottom: 4px;
	right: 30px;
	color: #0092ef;
}
#cboxPrevious {
	position: absolute;
	top: 10px;
	left: 20px;
	background: url(../img/angle-left.svg) no-repeat left top -4px;
	background-size: contain;
	width: 100px;
	padding-left: 20px;
	height: 25px;
	color: #000;
	z-index: 10;
	text-align: left;
	font-weight: 700;
}
#cboxPrevious:before,
#cboxPager:before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	padding: 5px;
	background: rgba(255, 255, 255, 0.8);
	z-index: -1;
}
#cboxPrevious:before {
	background-color: transparent;
}
#cboxPager {
	position: absolute;
	display: block;
	top: 45%;
	font-size: 87.5%;
	right: 10px;
	width: 100px;
	color: #000;
	z-index: 10;
	text-align: right;
	font-weight: 300;
	line-height: 2;
}
#cboxPager a:hover {
	color: #835a00;
}
#cboxNext {
	position: absolute;
	bottom: 0;
	left: 27px;
	background: url() no-repeat -50px 0;
	width: 25px;
	height: 25px;
}
#cboxNext:hover {
	background-position: -50px -25px;
}
#cboxClose {
	position: absolute;
	top: 10px;
	right: 10px;
	background: url(../img/times.svg) no-repeat 0 0;
	width: 25px;
	height: 25px;
	text-indent: -9999px;
}
#cboxClose:hover,
#cboxPrevious:hover {
	opacity: 0.5;
}
.modal_content {
	width: 740px;
	background-color: #fff;
	padding: 40px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.modal_content .application {
	width: 100%;
	filter: drop-shadow(2px 2px 2px #aaa);
}
.modal_content .application.application > .app_btn {
	background-position: 50% 50%;
}
@media screen and (max-width: 960px) {
	.modal_content {
		width: 100%;
	}
}
@media screen and (max-width: 767px) {
	.modal_content {
		padding: 40px 20px 30px;
		width: 100% !important;
	}
	.modal_content .application {
		height: 50px;
	}
	.modal_content .application.application > .app_btn {
		font-size: 14px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
}
#cboxLoadedContent {
	overflow-y: scroll;
	-ms-overflow-style: none; /* IE, Edge 対応 */
	scrollbar-width: none; /* Firefox 対応 */
}
#cboxLoadedContent::-webkit-scrollbar {
	/* Chrome, Safari 対応 */
	display: none;
}
#cboxLoadedContent.no_scroll {
	overflow: hidden;
}
