body{
	overflow-x: hidden;
}

div#wrap{
	margin-bottom: 80px;
}

div#contents{
	overflow: hidden;
}

html::-webkit-scrollbar{
	width: 15px;
	height: 6px;
}
html::-webkit-scrollbar-thumb{
	width: 10px;
	background-color: #006313;
	border-radius: 10px;
	box-shadow: inset 1px 3px 2px rgb(255 255 255 / 30%);
}
html::-webkit-scrollbar-track{
	background-color: #eaeaea;
}

.q_title_box h1{
	margin:0 -20px 1em -20px;
}

.intro{
	line-height: 1.75;
	margin: max(2em, min(6vw, 3.5em)) auto;
	max-width: 1000px;
}
.intro p:not(:root){
	font-size: max(1.4rem, min(3vw,1.6rem));
}
.intro strong{
	font-size: 120%;
	padding: 3px 7px;
	margin: 3px;
	font-weight: 700;
	background: linear-gradient(transparent 60%,#faec77 0);
	background: linear-gradient(transparent 60%,#dbed67 0);
}

.head2:not(:root){
	text-align: center;
	margin: 0 calc(50% - 50vw) max(1em, min(4vw,1.8em));
	font-weight: 800;
	text-shadow: 5px 5px 0 #ffc85b;
	text-shadow: 5px 5px 0 #fbb836;
	font-family: メイリオ,Meiryo,"ＭＳ Ｐゴシック","Helvetica Neue",system-ui,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
	color: #006313;
	font-size: max(28px, min(6vw,40px));
}

/* 賞品一覧
--------------------*/
.present-bg{
	margin: 0 calc(50% - 50vw);
	position: relative;
	background: #f8f6dd;
	background: #fef7de;
	margin-top: max(2.5em, min(5vw, 4em));
	padding: max(40px, min(6vw, 60px)) 15px max(60px, min(10vw, 80px));
}

.balloon{
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	display: grid;
	grid-template-columns: 160px 1fr;
	align-items: center;
	font-size: 22px;
	position: relative;
	background: #fff;
	margin-bottom: 0.8em;
	z-index: 3;
	border: 3px solid #006313;
	border-radius: 8px;
	/* padding: 20px 25px; */
	padding: 25px 30px;
	font-weight: 700;
	color: #006313;
	line-height: 1.7;
}
.balloon:not(:first-of-type){
	margin-top: max(3.5em, min(6vw,4.8em));
}
.balloon i{
	margin: 0 4px;
}
.balloon-all{
	grid-template-columns: 230px 1fr;
}
.balloon::before{
	content: '';
	position: absolute;
	display: block;
	border-style: solid;
	border-color: #006313 transparent;
	border-width: 27px 27px 0;
	bottom: -28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 0;
}
.balloon::after{
	content: '';
	position: absolute;
	display: block;
	border-style: solid;
	border-color: #fff transparent;
	border-width: 24px 24px 0;
	bottom: -24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}
.balloon div:first-child span{
	font-size: max(24px, min(4vw,34px));
	/* background: linear-gradient(transparent 60%,#e9d15d 0); */
	/* padding: 0px 20px; */
	position: relative;
	transform: rotate(-10deg);
	display: inline-block;
	/* text-align: center; */
	margin: 0 auto;
	display: flex;
	justify-content: center;
	top: -12px;
	left: -10px;
}
.balloon div:first-child span::before{
	content: "";
	position: absolute;
	background: #f3eed5;
	line-height: 1.4;
	display: inline-block;
	z-index: -1;
	width: 70%;
	height: 100%;
	border-left: 8px solid #e9d15d;
}
.balloon div:first-child span::after{
	width: 60%;
	height: 9px;
	content: "";
	position: absolute;
	top: 43px;
	right: 29px;
	-moz-box-shadow: 0 6px 6px #b7b29a;
	-webkit-box-shadow: 0 6px 6px #b7b29a;
	box-shadow: 0 6px 6px #b7b29a;
	-moz-transform: rotate(6deg);
	-webkit-transform: rotate(6deg);
	transform: rotate(5deg);
	z-index: -2;
	background: #cbc6b0;
}
.balloon-A div:first-child span{
	/* background: linear-gradient(transparent 60%,#e9d15d 0); */
}
.balloon-B div:first-child span::before{
	/* background: linear-gradient(transparent 60%,#d1d6d9 0); */
	background: #eff1f3;
	border-left: 8px solid #d1d6d9;
}
.balloon-B div:first-child span::after{
	-moz-box-shadow: 0 6px 6px #c1c5c7;
	-webkit-box-shadow: 0 6px 6px #c1c5c7;
	box-shadow: 0 6px 6px #c1c5c7;
	background: #d5d8d9;
}
.balloon-H div:first-child span{
	/* background: linear-gradient(transparent 60%,#d3b0a0 0); */
}
.balloon-H div:first-child span::before{
	/* background: linear-gradient(transparent 60%,#d1d6d9 0); */
	background: #ece0da;
	border-left: 8px solid #d3ab98;
}
.balloon-H div:first-child span::after{
	-moz-box-shadow: 0 6px 6px #bdb8b6;
	-webkit-box-shadow: 0 6px 6px #bdb8b6;
	box-shadow: 0 6px 6px #bdb8b6;
	background: #cdc9c8;
}
.balloon-all div:first-child span{
	/* background: linear-gradient(transparent 60%,#e9a630 0); */
	font-size: max(20px, min(5vw,26px));
}
.balloon-all div:first-child span::before{
	/* background: linear-gradient(transparent 60%,#d1d6d9 0); */
	background: #f5ead8;
	border-left: 8px solid #f0a957;
	width: 80%;
}
.balloon-all div:first-child span::after{
	-moz-box-shadow: 0 6px 6px #cfccc4;
	-webkit-box-shadow: 0 6px 6px #cfccc4;
	box-shadow: 0 6px 6px #cfccc4;
	top: 72px;
	right: 28px;
}
.x-large{
	font-size: 160%;
	line-height: 1;
}

	[class^="present-wrap-"]{
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.present-wrap-A .present-pic p {
	text-align: left;
	margin: 1em auto 0 auto !important;
	width: fit-content;
}
/*.present-wrap-A, */
.present-wrap-B{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-content: center;
}
.presentBox section{
	background: #fff;
	overflow: hidden;
	border: 3px solid #006313;
}
/*.present-wrap-A section:not(:nth-of-type(3n)),*/
.present-wrap-B section:not(:nth-of-type(3n)){
	border-right-width: 0;
}
/*.present-wrap-A section:nth-last-of-type(-n+1),*/
.present-wrap-B section:nth-last-of-type(-n+1){
	border-right-width: 3px;
}
/*.present-wrap-A section:not(:nth-last-of-type(-n+3)),*/
.present-wrap-B section:not(:nth-last-of-type(-n+3)){
	border-bottom-width: 0;
}
.present-wrap-all section:not(:last-of-type){
	border-bottom-width: 0;
}
.present-head{
	background: #f5ead8;
	padding: 12px 16px 12px 90px;
	position: relative;
	line-height: 1.4;
	min-height: 70px;
	display: grid;
	align-items: center;
}
.present-head h3{
	margin: 0;
	position: absolute;
	background: #f0a957;
	left: 0;
	font-size: max(16px, min(3vw,18px));
	top: 0;
	padding: 18px 0;
	text-align: center;
	font-family: sans-serif;
	font-weight: 700;
	height: 80px;
	width: 76px;
	word-break: keep-all;
}

.present-wrap-A .present-head{
	background: #f3eed5;
}
.present-wrap-B .present-head{
	background: #eef1f3;
}
.present-wrap-H .present-head{
	background: #ece0da;
}

.present-wrap-A .present-head h3{
	background: #e9d15d;
}
.present-wrap-B .present-head h3{
	background: #d1d6d9;
}
.present-wrap-H .present-head h3{
	background: #d3ab98;
}
.present-head h3 span{
	z-index: 2;
	position: relative;
	text-align: center;
	display: inline-block;
	line-height: 1.2;
	color: #006313;
}
.present-head h3 .howmany{
	font-size: 75%;
}
.present-head h3::before{
	content: '';
	bottom: -16px;
	left: 0;
	display: block;
	border: 38px solid #f0a957;
	border-bottom-width: 15px;
	border-bottom-color: transparent;
	position: absolute;
}

.present-head .emphasis{
	font-size: 150%;
}

.present-wrap-A .present-head h3::before{
	border-color:#e9d15d;
	border-bottom-color: transparent;
}
.present-wrap-B .present-head h3::before{
	border-color:#d1d6d9;
	border-bottom-color: transparent;
}
.present-wrap-H .present-head h3::before{
	border-color:#d3ab98;
	border-bottom-color: transparent;
}
.present-head p{
	margin: 0;
	color: #006313;
	font-weight: 700;
	font-size: max(14px, min(3vw,16px));
}
.present-wrap-B .present-head p{
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.present-pic{
	padding: 40px 30px 30px;
}
.present-pic p{
	margin: 0;
}
.present-pic img{
	transition: all .3s;
}
.present-pic a:hover img{
	transform: scale(1.05);
	transition: all .3s;
}

.present-scroll{
	overflow-x: scroll;
	overflow-y: hidden;
	padding: 5px 0 20px;
}
.present-scroll::-webkit-scrollbar{
	height: 10px;
}
.present-scroll::-webkit-scrollbar-thumb{
	box-shadow: 0 0 6px rgb(0 0 0 / 20%) inset;
	background-color: #006313;
	box-shadow: inset 1px 2px 2px rgb(255 255 255 / 30%);
	border-radius: 10px;
}
.present-scroll::-webkit-scrollbar-track{
	box-shadow: 0 0 6px rgb(0 0 0 / 20%) inset;
	background-color: #eaeaea;
	border-radius: 10px;
}
.present-pic .list-inline{
	display: table;
	margin-bottom: 0;
}
.present-pic .list-inline>li{
	margin-bottom: 5px;
	display: table-cell;
}
.present-pic .list-inline img{
	max-width: none;
}

.present-wrap-B section{
	align-content: space-between;
	display: grid;
}
.Bset-wrap{
	display: grid;
	grid-auto-flow: column;
	gap: 20px;
	align-items: self-end;
	width: fit-content;
	margin-inline: auto;
}
.Bset-wrap img, .present-wrap-all img{
	box-shadow: 0 1px 4px 0 rgb(0 0 0 / 0%), 0 6px 10px 0 rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 10%);
}

.detail-btn{
	margin-top: 1.5em;
	color: #006313;
	font-size: 12px;
	text-align: center;
	padding: 8px 10px;
	border: 2px solid #006313;
	font-weight: 700;
	transition: all .2s;
}
.present-pic a:hover .detail-btn{
	color: #fff;
	background: #006313;
	transition: all .2s;
}
.Bset-wrap a:hover{
	text-decoration: none;
}

@media (min-width: 768px){
.present-pic p{
	margin-top: 2em;
}
}
@media (max-width: 767px){
	.balloon{
		text-align: center;
		font-size: 15px;
		padding: 20px;
		grid-template-columns: auto;
		gap: 0.6em;
	}
	.balloon-all{
		gap: 1em;
	}
	.balloon div:first-child span{
		display: inline-block;
	}
	.balloon div:first-child span::before{
		width: 90px;
		left: 50%;
    transform: translateX(-50%);
	}
	.balloon div:first-child span::after{
		width: 60px;
		bottom: max(-11px, min(20vw,6px));
    right: max(-38px, min(-2vw,-18px));
		top: auto;
	}
	.balloon-all div:first-child span{
		transform: rotate(-5deg);
	}
	.balloon-all div:first-child span::before{
		width: max(240px, min(56vw,300px));
	}
	.balloon-all div:first-child span::after{
		width: 200px;
    bottom: max(6px, min(1vw,7px));
    right: max(-14px, min(-10vw,-15px)) !important;
		transform: rotate(2deg);
	}
	.present-wrap-A, .present-wrap-B{
		display: block;
	}
	section{
		border: 3px solid #006313;
	}
	section:first-of-type{
		border-right-width: 3px;
	}
	section:not(:last-of-type):not(:root){
		border-bottom-width: 0;
		border-right-width: 3px;
	}
	section:not(:root){
		overflow: auto;
	}
	.present-head{
		padding-left: 80px;
	}
	.present-head h3{
		width: 70px;
	}
	.present-head h3::before{
		border-width: 35px;
		border-bottom-width: 15px;
    border-bottom-color: transparent;
	}
	.present-pic{
		padding: 20px 20px 20px;
	}
	/*
	.present-wrap-A .present-pic{
		padding: 40px 10px 30px;
    display: flex;
		align-items: center;
		justify-content: center;
		gap: 15px;
	}
	*/
	.Bset-wrap img{
    max-width: 80%;
    margin: auto;
	}
	/*.present-wrap-A .present-pic img{
		max-width: 50%;
	}
	*/
}
@media (max-width: 600px){
.balloon div:first-child span::after{
	right: max(-21px, min(-10vw,-15px));
}
}

/* 答えるボタン
--------------------*/
.joinBox{
	background: #F08301;
	margin: -100px calc(50% - 50vw) 0;
	/* text-align: center; */
	padding: max(120px, min(15vw, 135px)) 15px max(20px, min(4vw, 35px));
}
.joinBox-inner{
	max-width: 1000px;
	margin-inline: auto;
}
.joinBox-inner.bottom{
	padding: 0 0 max(3em, min(4vw, 4em));
	margin: -3em auto 0;
	width: 95%;
}
.joinBox-inner .panel{
	margin-bottom: 0;
}
.joinBox-inner .panel-body ul:not([class]){
	padding: 0 10px 15px 30px;
}
/*
.login-box{
	margin: 15px 0;
	display: flex;
	gap: 15px;
	justify-content: center;
}
.joinBox p{
	color: #fff;
	margin: 0;
}*/

.login-supplement{
	color: #fff;
	text-align: center;
	font-weight: 700;
}

.joinBox-inner ul{
	margin-bottom: 0;
}

.joinBox-inner a.button{
	font-size: max(16px, min(3vw,24px));
	font-weight: 700;
	background: #fccc03;
	background: #ffdb00;
	padding: max(17px, min(2.5vw, 18px)) max(58px, min(8vw, 70px));
	display: inline-block;
	border-radius: 50px;
	border: 6px solid #006313;
	color: #006313;
	box-shadow: 0px 6px 10px rgb(0 0 0 / 30%), 0px 6px 10px #F08301;
	transition: all .3s;
}
.joinBox-inner a.button.btn-warning{
	background-color: #dbee81;
}
.joinBox-inner a.button.btn-info{
	background-color: #ffdb00;
}
.joinBox-inner a.button i{
	margin-left: 10px;
}
.joinBox-inner a.button:hover{
	text-decoration: none;
	transform: scale(1.1);
	transition: all .3s;
}
.join-top a.button{
	box-shadow: 0px 6px 10px rgb(0 0 0 / 20%), 0px 6px 10px #ffffff;
}

.reset-info{
	color: #fff;
	margin: 1em 0 0;
	font-size: max(12px, min(1.5vw, 13px));
	text-align: center;
}
.reset-info>span{
	opacity: .85;
}
.reset-info button{
	color: #fff;
	background-color: transparent;
	border-color: #fff;
	font-size: 90%;
	display: block;
	line-height: 1.3;
	margin: 10px auto 0;
	transition: .25s;
}
.reset-info button:hover{
	background: transparent;
	opacity: 1;
	color: #fff;
	border-color: #fff;
}


.customerInfo table{
	border-bottom: 1px solid #ddd;
	margin-bottom: 1.5em;
}
.customerInfo table>thead>tr>th,
.customerInfo table>tbody>tr>th,
.customerInfo table>tbody>tr>td{
	padding: 12px 0;
}
.customerInfo table>thead>tr>th{
	padding-top: 0;
	font-size: max(14px, min(1.5vw, 16px));
}
.customerInfo table>tbody>tr>th{
	vertical-align: middle;
}

.customerInfo ul:not([class]){
	font-size: max(12px, min(1.5vw, 14px));
}
.customerInfo ul:not([class]) li:not(:last-child){
	margin-bottom: .4em;
}

.customerInfo-btn_list{
	list-style: none;
	text-align: center;
	padding: 0;
}
.customerInfo-btn_list li:not(:last-child){
	margin-bottom: 15px;
}
.customerInfo-btn_list li button{
	width: 14em;
	height: 3em;
	font-size: max(1.7rem, min(3vw, 2rem));
	box-shadow: 0 2px 4px -2px rgb(33 37 56 / 50%);
}

/* アンケート概要
--------------------*/
.nav-tabs>li>a{
	font-weight: 700;
	font-size: max(16px, min(3vw, 28px));
	background: #006313;
	color: #fff;
	width: max(150px, min(35vw, 340px));
	text-align: center;
	border-top-width: 5px;
	border-radius: 0;
	transition: .25s;
}
.nav-tabs>li:not(.active)>a:hover{
	opacity: .7;
	background: #006313;
	border-color: #006313;
	}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{
	color: #006313;
	border: 1px solid #006313;
	border-top-width: 5px;
	border-bottom-color: transparent;
}
.nav-tabs{
	border-bottom-color: #006313;
}
#myTabContent .tab-pane>div{
	padding: 2.5em 3em;
	border: 1px solid #006313;
	border-top: none;
}

.overview, .flow{
	padding-top: max(4em, min(7vw,7em));
	margin-left: -30px;
	margin-right: -30px;
	padding-left: 25px;
	padding-right: 25px;
}
.overview{
	position: relative;
}
.overview::before{
	content: '';
	background: #f2f1f0;
	width: 100%;
	height: calc(100% + 60rem);
	position: absolute;
	bottom: -60rem;
	left: 0;
	z-index: -1;
	clip-path: polygon(0% 0%, 0% 100%, 1200% 0%);
}

.overview-table{
	display: grid;
	grid-template-columns: max(7.5rem, min(10vw,9rem)) 1fr;
	font-size: max(14px, min(3vw,16px));
	max-width: 1000px;
	margin: 0 auto;
	/* border-top: 3px solid #006313; */
	/* border-bottom: 3px solid #006313; */
}
.overview-table dt, .overview-table dd{
	padding-bottom: 25px;
	padding-top: 25px;
}
.overview-table dt:not(:last-of-type), .overview-table dd:not(:last-of-type){
	border-bottom: 1px dashed #006313;
}
.overview-table dt{
	font-weight: 700;
	color: #006313;
	word-break: keep-all;
}
.overview-table dt, .overview-table dd{
	line-height: 1.75;
}

.overview-table ul{
	margin-bottom: 0;
}
.overview-table ul li:not(:last-child){
	margin-bottom: 0.8em;
}
.award-list{
	padding-left: 0px;
	list-style: none;
}

.caution-list{
	padding-left: 15px;
}

/*アンケートの流れ
--------------------*/
.q_main_box h5{
	font-size: max(16px, min(3vw,19px));
	line-height: 1.5;
	font-weight: 700;
	display: grid;
	grid-template-columns: auto 1fr;
	margin-top: 1em;
}
.q_main_box h5:not(:first-of-type){
	margin-top: 1.8em;
}
.q_main_box h5 .num{
	color: #fff;
	background: #A9A170;
	background: #F08301;
	width: 25px;
	height: 25px;
	display: inline-block;
	text-align: center;
	line-height: 25px;
	border-radius: 50px;
	margin-right: 5px;
	font-size: 85%;
	position: relative;
	top: 0px;
}
.q_main_box h5+p{
	margin-left: 2.2em;
}
.q_main_box h4{
	/* border-left: 0.4em solid gray; */
	padding: 14px;
	background-color: #fef7de;
	margin-top: 3.4em;
	margin-bottom: 1.2em;
	font-size: max(15px, min(2.5vw, 16px));
	font-weight: 700;
}
.q_main_box h4:first-of-type{
	margin-top: 4em;
}
.q_main_box h4+div:not([class]){
	margin-left: 1em;
}
.q_main_box ul{
	padding-left: 20px;
}
.q_main_box>div>ul>li:not(:last-child){
	margin-bottom: .8em;
}
.q_main_box p,
.q_main_box ul{
	line-height: 1.7;
}

.tab-box{
	background: #f7f7f7;
	margin: 0 calc(50% - 50vw);
}
.tab-box-inner{
	max-width: 1000px;
	margin-inline: auto;
	padding: max(40px, min(10vw, 80px)) 0;
	width: 95%;
}
#myTabContent{
	background: #fff;
}

.reselect {
	margin-top: 0.5em;
}

@media (max-width: 767px){
	.overview-table dt, .overview-table dd {
		padding-bottom: 15px;
		padding-top: 15px;
	}
}

@media (max-width: 640px){
	#myTabContent .tab-pane>div {
		padding: 1.5em 1em;
	}

	.joinBox-inner.bottom{
		margin-top: 0;
	}
}
