@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');
html[lang="ja"] {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	color: #4C4C4C;
}
header {
	padding: 8px;
	height: 70px;
	background: #81BAAD;
	color: white;
	font-size: 20px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
main{
	min-height: 100vh;
	background-color: #81BAAD;
}
h1 {
	text-align: center;
	font-size: 24px;
	margin: 16px;
}

.form {
	width: 90%;
	margin: auto;

	& label {
		display: flex;
		flex-direction: column;

		& input {
			border: 1px solid #e4e4e4;
			border-radius: 4px;
			padding: 4px;
			margin-top: 8px;
			margin-bottom: 8px;
		}
	}
}

button {
	border: 1px solid #e4e4e4;
	padding: 6px 16px;
	border-radius: 8px;
	background: grey;
	color: white;
	margin-top: 24px;
	width: 100%;
	text-align: center;
}

.link {
	text-align: center;
	margin-top: 16px;

	& a {
		text-decoration: underline;
	}
}

.error {
	color: red;
	margin-bottom: 8px;
}

.small {
	font-size: .5em;
}

.card {
	position: relative;
	width: 90%;
	aspect-ratio: 1.9;
	background: #ececec;
	border-radius: 16px;
	box-shadow: 0 0 8px rgba(0, 0, 0, .16);
	margin: 16px auto;
	padding: 32px;

	& iframe {
		position: absolute;
		transform: scale(0.5);
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) scale(0.6);
	}
}


.point {
	text-align: center;
	font-size: 30px;
	margin-bottom: 24px;

	& span {
			font-size: 40px;
		}
}

.customer_code {
	text-align: center;
}

/* ここから下がハンバーガーメニューに関するCSS */

.icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

/* チェックボックスを非表示にする */
.drawer_hidden {
	display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
	display: flex;
	height: 60px;
	width: 60px;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 100;
	/* 重なり順を一番上にする */
	cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
	content: '';
	display: block;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background: #fff;
	transition: 0.5s;
	position: absolute;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
	background: #81BAAD;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
	bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
	top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
	background: rgba(256, 256, 256, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
	bottom: 0;
	transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
	top: 0;
	transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 100%;
	/* メニューを画面の外に飛ばす */
	z-index: 99;
	background: #81BAAD;
	transition: .5s;
	top: 70px;
}

/* メニュー黒ポチを消す */
.nav_list {
	padding: 28px 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	height: calc(100% - 60px);
}

.nav_item {
	font-size: 16px;
	margin-bottom: 16px;
	padding-bottom: 16px;

	&:last-of-type {
		margin-top: auto;
	}
}

.point-box {
	display: flex;
	width: 100%;
	justify-content: space-between;
	width: 96%;
	margin-inline: auto;
	padding-bottom: 8px;
	margin-bottom: 8px;
	padding-inline: 8px;
}

.nav_item a {
	display: flex;
	justify-content: space-between;
	margin-inline: auto;
	width: 81%;

	span {
		width: 88%;
		display: block;
		text-align: left;
	}
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
	right: 0%;
	/* メニューを画面に入れる */
}

.btn {
	width: 90%;
	margin-inline: auto;
	display: block;
}

.required {
	font-size: .8em;
	color: red;
	margin-left: 8px;
	display: inline-block;
}

.barcpde-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1.2); */
}
.message{
	margin-bottom: 16px;
}
.main-visual{
	padding-top: 20px;
	
}
.wrapper::before {
	content: "";
	position: absolute;
	top: 200px;
	left: 0;
	width: 20px;
	display: inline-block;
	width: 20px;
	height: 40px;
	border-radius: 0 100% 100% 0% / 50%;
	background: #81BAAD;
}
.wrapper::after {
	content: "";
	position: absolute;
	top: 200px;
	right: 0;
	width: 20px;
	display: inline-block;
	width: 20px;
	height: 40px;
	border-radius: 100% 0 0 100% / 50%;
	background: #81BAAD;
}

.wrapper{
	position: relative;
	margin-left:20px;
	margin-right:20px;
	background-color: white;
	border-radius: 18px;
	padding-bottom: 60px;
}
.barcode{
	padding:50px 0;
	width: 80%;
	text-align: center;
	margin: auto;
}
.point{
	padding-top: 35px;
	margin-bottom: 42px;
	font-size: 24px;
	& span{
		font-size: 40px;
	}
}
.name{
	margin-bottom: 20px;
	text-align: center;
	font-size: 24px;
}
.customer_code{
	margin-bottom: 32px;
}
.logo{
	width: 150px;
	display: block;
	margin: auto;
}


.hr{
	width: 100%;
	height: 1px;
	background-color: #EEEEEE;
}


.point-wrapper{
	background-color: white;
	width: 90%;
	border-radius: 19px;
	padding: 32px 0;
	margin: auto;
}

