/*
// ################################
// Artner Cookie Control
// ################################
//
// ver 1.0 
// 2021.11.23
*/

/* -------------------
	layout
-------------------*/


/* -------------------
	popup
-------------------*/
#acc__popup {
	display: none;
	position: fixed;
	left: 0;
	top: calc(100vh - 300px);
	height: 300px;
	z-index: 999998;
	background-color: rgba(0, 0, 0, 0.85);
	width: 100%;
	max-height: none;
	padding: 0 20px;
	color: #ffffff;
	border-top: 10px solid #463b8a;
}

#acc__popup .acc__wrap {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	font-size: 16px;
	padding: 40px 20px;
}

#acc__popup .acc__call-modal {
	width: 275px;
	margin: 15px 0 0 auto;
	text-decoration: underline;
	cursor: pointer;
}

@media only screen and (max-width: 767px) {
	#acc__popup {
		top: calc(100vh - 750px);
		height: 750px;
	}

	#acc__popup .acc__wrap {
		font-size: 32px;
	}

	#acc__popup .acc__call-modal {
		width: 90%;
		margin: 15px auto 0 auto;
	}
}

/* -------------------
	modal
-------------------*/
#acc__modal {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 999999;
	background-color: rgba(0, 0, 0, 0.85);
	width: 100%;
	max-height: none;
	padding: 50px 20px;
}

#acc__modal .acc__wrap {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	background-color: #ffffff;
	font-size: 16px;
	padding: 40px 20px;
}

#acc__modal .acc__wrap hr {
	display: block;
	border-top: 2px solid #cccccc;
	margin: 20px 0;
}

@media only screen and (max-width: 767px) {
	#acc__modal .acc__wrap {
		font-size: 32px;
	}

	#acc__modal .acc__wrap hr {
		margin: 40px 0;
	}
}

/* -------------------
	title
-------------------*/
.acc__title {
	margin-bottom: 20px;
}

.acc__title h1 {
	font-size: 24px;
	line-height: 1;
	margin-bottom: 5px;
}

.acc__title h2 {
	font-size: 18px;
	line-height: 1;
}

@media only screen and (max-width: 767px) {
	.acc__title h1 {
		font-size: 42px;
		margin-bottom: 10px;
	}

	.acc__title h2 {
		font-size: 36px;
	}
}

/* -------------------
	content
-------------------*/
.acc__content p {
	line-height: 1.5;
	margin-bottom: 10px;
}

.acc__content dl {
	display: block;
	margin: 0 0 20px 0;
}

.acc__content dt {
	font-size: 18px;
	font-weight: bold;
	color: #666666;
	margin-bottom: 5px;
}

.acc__content dt::before {
	content: "●";
	color: #463b8a;
}

.acc__content dd {
	display: flex;
	width: 100%;
	font-size: 14px;
	line-height: 1.5;
}

.acc__content dd > div:nth-child(1) {
	width: calc(100% - 90px);
}

.acc__content dd > div:nth-child(2) {
	width: 90px;
	overflow: hidden;
}

.acc__content a {
	color: inherit;
}

@media only screen and (max-width: 767px) {
	.acc__content dt {
		font-size: 36px;
	}

	.acc__content dd {
		display: block;
		font-size: 28px;
	}

	.acc__content dd > div:nth-child(1) {
		width: 100%;
	}

	.acc__content dd > div:nth-child(2) {
		width: 100%;
	}
}

/* -------------------
	close
-------------------*/
#acc__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 35px;
	height: 35px;
	border-radius: 100%;
	background-color: #999999;
	cursor: pointer;
}

#acc__close::before,
#acc__close::after {
	content: "";
	display: block;
	width: 50%;
	height: 2px;
	background: #333333;
	transform: rotate(45deg);
	transform-origin: 0% 50%;
	position: absolute;
	top: calc(31.5% - 1px);
	left: 31.5%;
}

#acc__close::after {
	transform: rotate(-45deg);
	transform-origin: 100% 50%;
	left: auto;
	right: 31.5%;
}

#acc__close:hover {
	opacity: 0.75;
}

@media only screen and (max-width: 767px) {
	#acc__close {
		width: 70px;
		height: 70px;
	}
}

/* -------------------
	btn
-------------------*/
.acc__btn {
	display: block;
	width: 275px;
	margin: 20px 0 0 auto;
	background-color: #6694ff;
	color: #ffffff;
	font-size: 20px;
	text-decoration: none;
	text-align: center;
	line-height: 45px;
	border-radius: 5px;
	cursor: pointer;
}

.acc__btn:hover {
	opacity: 0.75;
}

@media only screen and (max-width: 767px) {
	.acc__btn {
		width: 90%;
		margin: 40px auto 0 auto;
		font-size: 40px;
		line-height: 90px;
		border-radius: 10px;
	}
}

/* -------------------
	checkbox
-------------------*/
.acc__check {
	width: 65px;
	position: relative;
	clear: both;
	float: right;
	background-color: #999999;
	border-radius: 5px;
}

.acc__check .wrap {
	width: 65px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 30px 30px 5px;
}

.acc__check label {
	width: 65px;
	height: 30px;
	box-sizing: border-box;
	float: left;
	position: relative;
	cursor: pointer;
	transition: .3s ease;
}

.acc__check input[type=checkbox] {
	display: none;
}

.acc__check input[type=checkbox]:checked + label {
	background-color: #6694ff;
	border-radius: 5px;
}

.acc__check input[type=checkbox]:checked + label:before {
	left: 40px;
}

.acc__check label:before {
	transition: .3s ease;
	content: '';
	width: 20px;
	height: 20px;
	position: absolute;
	background: white;
	left: 5px;
	top: 5px;
	box-sizing: border-box;
	color: black;
}

@media only screen and (max-width: 767px) {
	.acc__check {
		width: 130px;
		border-radius: 10px;
	}

	.acc__check .wrap {
		width: 130px;
		padding: 60px 60px 10px;
	}

	.acc__check label {
		width: 130px;
		height: 60px;
	}

	.acc__check input[type=checkbox]:checked + label {
		border-radius: 10px;
	}

	.acc__check input[type=checkbox]:checked + label:before {
		left: 80px;
	}

	.acc__check label:before {
		width: 40px;
		height: 40px;
		left: 10px;
		top: 10px;
	}
}
