@charset 'utf-8';

.l-gdpr a:hover {
	opacity: 1;
}
.l-gdpr a.inline {
	color: #007CBF;
	transition: color .3s;
}
.l-gdpr a.underlined {
	text-decoration: underline;
}
.l-gdpr a.underlined:hover {
	text-decoration: none;
}

.l-gdpr .l-gdpr__overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background: rgba(0,0,0,0.4);
	opacity: 0;
	transition: opacity .3s;
	pointer-events: none;
}

.l-gdpr .l-gdpr__overlay.is-show {
	opacity: 1;
	pointer-events: auto;
}


.l-gdpr .l-gdpr__primary {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background: #fff;
	color: #222;
	padding: 24px 0;
	transform: translateY(100%);
	transition: transform .3s;
}

.l-gdpr .l-gdpr__primary.is-show {
	transform: translateY(0);
}

.l-gdpr .l-gdpr__secondary {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1001;
	width: 37%;
	max-width: 510px;
	min-width: 350px;
	background: #fff;
	color: #222;
	overflow-y: scroll;
	transform: translateX(-100%);
	transition: transform .3s;
}

.l-gdpr .l-gdpr__secondary.is-show {
	transform: translateX(0);
}

html[lang="ja"] .lang-en {
	display: none;
}
html:not([lang="ja"]) .lang-ja {
	display: none;
}

/* ボタン */
.l-gdpr-button {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 40px;
	padding: 8px 40px 8px 20px;
	border: 1px solid #222;
	border-radius: 10px;
	position: relative;
	overflow: hidden;
	background-color: #fff;
	color: #222;
}

.l-gdpr-button > p {
	text-align: center;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	color: inherit;
}

.l-gdpr-button::after {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	background: url(./arrow-cir-right.svg) no-repeat center / contain;
}

@media (min-width: 768px) and (hover: hover) {
	.l-gdpr-button {
		transition: background-color 0.2s linear, color 0.2s linear;
	}
	.l-gdpr-button::after {
		color: #fff;
		transition: color 0.2s linear;
	}
	.l-gdpr-button:hover {
		background-color: #222;
		color: #fff;
	}
	.l-gdpr-button:hover > p {
		color: #fff;
	}
	.l-gdpr-button:hover > p > span {
		color: #fff;
	}
	.l-gdpr-button:hover::after {
		background-image: url(./arrow-cir-right-w.svg);
	}
}

/* 画面下 バナー部 */
.l-gdpr-banner {
	position: relative;
	display: flex;
	align-items: flex-start;
	width: 90%;
	margin: 0 auto;
	padding-right: 88px;
}

.l-gdpr-banner .l-gdpr-banner__texts {
	font-size: 13px;
	line-height: 1.4;
}

.l-gdpr-banner .l-gdpr-banner__title {
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: bold;
}

.l-gdpr-banner .l-gdpr-banner__buttons {
	display: flex;
	margin-left: 27px;
} 

.l-gdpr-banner .l-gdpr-banner__button {
	white-space: nowrap;
}

.l-gdpr-banner .l-gdpr-banner__button:not(:last-child) {
	margin-right: 10px;
}

.l-gdpr-banner .l-gdpr-banner__closer {
	position: absolute;
	top: 2px;
	right: 0;
	font-size: 14px;
	line-height: 1;
	text-align: center;
	font-weight: 500;
}

.l-gdpr-banner .l-gdpr-banner__closer a {
	display: block;
	width: 48px;
	height: 48px;
	position: relative;
	background-color: #222;
	color: #fff;
}

.l-gdpr-banner .l-gdpr-banner__closer a:before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	position: absolute;
	top: 15px;
	left: 15px;
	background: url(./close.svg) no-repeat center / contain;
}

.l-gdpr-banner .l-gdpr-banner__closer a span {
	display: inline-block;
	height: 0;
	text-indent: -9999px;
}


/* 画面左 パネル部 */
.l-gdpr-settings {
	padding: 30px;
}

.l-gdpr-settings .l-gdpr-settings__item {
	padding: 0 0 26px;
	font-size: 13px;
	line-height: 1.4;
}

.l-gdpr-settings .l-gdpr-settings__item:not(:first-child) {
	padding-top: 15px;
	border-top: 1px solid #222;
}

.l-gdpr-settings .l-gdpr-settings__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: bold;
}

.l-gdpr-settings__checkbox {
	width: 88px;
	margin-left: 10px;
}

.l-gdpr-settings .l-gdpr-settings__choices {
	display: flex;
	margin-top: 20px;
}

.l-gdpr-settings .l-gdpr-settings__choice:not(:last-child) {
	margin-right: 10px;
}

.l-gdpr-settings .l-gdpr-settings__closer {
	position: absolute;
	top: 0;
	right: 0;
}

.l-gdpr-settings .l-gdpr-settings__closer a {
	display: block;
	width: 48px;
	height: 48px;
	position: relative;
	background-color: #222;
}

.l-gdpr-settings .l-gdpr-settings__closer a:before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	position: absolute;
	top: 15px;
	left: 15px;
	background: url(./close.svg) no-repeat center / contain;
}

.l-gdpr-settings .l-gdpr-settings__closer a span {
	display: inline-block;
	height: 0;
	text-indent: -9999px;
}

/* パネルエリア トグルボタン */
.l-gdpr-switch {
	position: relative;
	border-radius: 50px;
	border: 4px solid #222;
	background-color: #222;
	outline: none;
}

.l-gdpr-switch__label {
	display: flex;
	margin: 0;
	cursor: pointer;
	z-index: 1;
}

.l-gdpr-switch__input {
	margin: 0;
	padding: 0;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
}

.l-gdpr-switch__on,
.l-gdpr-switch__off {
	flex: 1;
	flex-basis: 50%;
	width: 50%;
	min-width: 40px;
	text-align: center;
	z-index: 2;
	font-size: 13px;
	padding: 0 6px;
	font-weight: normal;
	white-space: nowrap;
}

.l-gdpr-switch__on {
	color: #fff;
	font-weight: 500;
}

.l-gdpr-switch__off {
	color: #ccc;
}

.l-gdpr-switch__toggle {
	display: block;
	width: 50%;
	height: 100%;
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	border-radius: 50px;
	transition: all .4s ease;
	background-color: #fff;
}

.l-gdpr-switch input:checked ~ .l-gdpr-switch__toggle {
	left: 50%;
}

/* 画面左下 Cアイコン */
.l-gdpr .l-gdpr__toggle {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 200;
	width: 72px;
}

.l-gdpr .l-gdpr__toggle a:before{
	content: '';
	display: block;
	padding-top: 100%;
	background: url(/assets/gdpr/icon-gdpr.svg) no-repeat left bottom;
	background-size: contain;
	margin-bottom: -1px;
}

.l-gdpr .l-gdpr__toggle a span {
	display: none;
}


@media only screen and (min-width:768px) and (max-width: 1023px) {
	.l-gdpr-banner .l-gdpr-banner__buttons {
		display: block;
	} 

	.l-gdpr-banner .l-gdpr-banner__button {
		white-space: nowrap;
	}

	.l-gdpr-banner .l-gdpr-banner__button:not(:last-child) {
		margin-right: 0;
		margin-bottom: 15px;
	}
}

@media only screen and (max-width: 767px) {
	.l-gdpr .l-gdpr__primary {
		padding: 30px 20px;
	}

	.l-gdpr .l-gdpr__secondary {
		width: 335px;
	}
	
	.l-gdpr-banner {
		display: block;
		width: auto;
		padding-right: 0;
	}
	
	.l-gdpr-banner .l-gdpr-banner__texts {
		font-size: 13px;
		line-height: 1.4;
	}
	
	.l-gdpr-banner .l-gdpr-banner__title {
		margin-bottom: 10px;
		padding-right: 50px;
		font-size: 15px;
		font-weight: bold;
	}
	
	.l-gdpr-banner .l-gdpr-banner__buttons {
		display: block;
		margin-top: 25px;
		margin-left: 0;
	} 
	
	.l-gdpr-banner .l-gdpr-banner__button {
		white-space: nowrap;
	}
	
	.l-gdpr-banner .l-gdpr-banner__button:not(:last-child) {
		margin-right: 0;
		margin-bottom: 15px;
	}
		
	.l-gdpr-banner .l-gdpr-banner__closer {
		top: -30px;
		right: -20px;
	}

	.l-gdpr-banner .l-gdpr-banner__closer a {
		width: 36px;
		height: 36px;
	}
	
	.l-gdpr-banner .l-gdpr-banner__closer a:before {
		width: 14px;
		height: 14px;
		font-size: 14px;
		top: 12px;
		left: 12px;
	}
	
	.l-gdpr-settings {
		padding: 20px;
		padding-top: 40px;
	}

	.l-gdpr-settings .l-gdpr-settings__item {
		padding: 0 0 30px;
	}

	.l-gdpr-settings .l-gdpr-settings__item:not(:first-child) {
		padding-top: 20px;
	}

	.l-gdpr-settings .l-gdpr-settings__header {
		display: flex;
		margin-bottom: 10px;
		font-size: 15px;
		font-weight: bold;
	}


	.l-gdpr-settings .l-gdpr-settings__closer a {
		width: 36px;
		height: 36px;
	}

	.l-gdpr-settings .l-gdpr-settings__closer a:before {
		width: 14px;
		height: 14px;
		font-size: 14px;
		top: 12px;
		left: 12px;
	}


	.l-gdpr-settings .l-gdpr-settings__choices {
		display: block;
	}

	.l-gdpr-settings .l-gdpr-settings__choice:not(:last-child) {
		margin-right: 0;
		margin-bottom: 15px;
	}
}