:root {
    --scroll-bar-size: 10px;
    --scroll-bar-thumb-background-color: rgba(0, 0, 0, 0.2);
    --scroll-bar-thumb-background-color-active: rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar {
    width: var(--scroll-bar-size);
    height: var(--scroll-bar-size);
    background: transparent;
    cursor: pointer;
}
::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-thumb-background-color);
    border-radius: var(--scroll-bar-size);
    border-color: transparent;
    border-style: solid;
    border-width: calc(var(--scroll-bar-size)/3);
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:active {
    background-color: var(--scroll-bar-thumb-background-color-active);
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    border-width: 1px;
    background-color: var(--scroll-bar-thumb-background-color-active);
    cursor: pointer;
}

html{
	font-size: 10px;
}
body{
	width: 100vw;
	overflow-x: hidden;
	background-color: #ffefae;
}
.img-fluid{
	max-width: 100%;
	height: auto;
}
.dec01, .dec02{
	position: absolute;
}
.dec02{
	pointer-events: none;
	margin-top: -15rem;
}
.sec01{
	min-height: 100dvh;
	padding-bottom: 2rem;
}
.sec01Bg{
	position: absolute;
	top: 0;
	height: 100%;
}
.sec01GifBoxArea{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 3rem;
	flex-direction: column;
	z-index: 2;
}
.sec01GifBox{
	width: 55rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sec01GifBox img{
	max-height: 80vh;
	width: auto;
}
.sec01Gif{
	position: absolute;
	width: 45rem;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 10rem;
	margin-right: 4rem;
}
.sec01Gif img{
	max-height: 50vh;
	width: auto;
}
.sec01Btn{
	position: absolute;
	bottom: 1rem;
	width: 23rem;
}
.sec02 .box01{
	width: 100%;
	min-height: 500px;
	background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,239,174,1) 13%,rgba(254,209,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}
.sec02 .box02{
	width: 100%;
	min-height: 500px;
	background: linear-gradient(to right,  rgba(254,209,0,1) 0%,rgba(255,239,174,1) 87%,rgba(255,255,255,1) 100%);
}

.title{
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 3rem;
}

.sec02 .msgArea{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	padding-top: 8rem;
	/*padding-bottom: 8rem;*/
	width: 1400px;
	margin: 0 auto;
}
.sec02 .msgOne{
	font-size: 4rem;
	line-height: 1.25em;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #1a295a;
	font-weight: bold;
	width: calc(100% / 3);
}
.sec02 .msgOne .msgFrame{
	display: flex;
	justify-content: center;
	align-items: center;
}

.sec02 .msgOne .msgFrame span{
	position: absolute;
	padding: 0 40px;	
	margin-top: -30px;
	 overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: left;
}
.databox1 .msgOne .msgFrame span{
	margin-top: -50px;
}
.sec02 .msgOne .msgFrame .msgName{
	/*font-size: 50%;*/
	font-size: 80%;
	position: absolute;
	right: 1.25em;
	bottom: .5em;

}
.sec02 .msgOne:nth-child(1){
	margin-top: 3rem;
}
.sec02 .msgOne:nth-child(2){
	margin-top: -15rem;
}
.sec02 .msgOne:nth-child(5){
	margin-top: -10rem;
}
.sec02Btn{
	width: 33rem;
	margin-right: 30rem;
}
.logoArea{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3rem 10rem;
}
footer{
	background-color: #0069b5;
	padding: 3rem 10rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sideBtns{
	position: fixed;
	right: 1.5rem;
	top: 18vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 999;
	max-width: 7.5rem;
	/*max-height: 70vh;*/
}
.msgBoxArea{
	width: 100vw;
	height: 100dvh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	z-index: 1000;
	background: rgb(255 255 255 / .6);
}
.msgBoxBg, .resultBox,.msgBoxText{
	width: 110rem;
	min-height: 60dvh;
	max-height: 95dvh;
	background-color: rgba(255, 205, 25, 0.9);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8rem 3rem;
}
.msgBoxArea .msgContentBox>button{
	padding: 0 15px;
}
.msgBoxArea .msgContentBox>button img{
	max-width: 100%;
	height: auto;
}
.msgBoxArea .msgFrame img{
	max-height: 85dvh;
}
.msgBoxArea .msgContent{
	position: absolute;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: column;
	top: 40%;
	width: 100%;
	height: 45%;
	overflow-y: auto;
	padding-bottom: 30px;
}
.msgBoxText-con{
	background: url(../images/msgFrame.png) center top no-repeat;
	background-size: 100% 100%;
	font-size: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: #1a295a;
    font-weight: bold;
    padding: 8rem 8rem 14rem 7rem;
    width: 20em;
}
.msgBoxArea .msgContent::-webkit-scrollbar{
	display: none;
}
.msgBoxArea .sentBtn{
	/*position: absolute;*/
	/*bottom: 2rem;*/
}
.closeBtn{
	position: absolute;
	right: 30px;
	top: 100px;
}
.msgBoxDec{
	position: absolute;
}
.msgForm{width: 100%;position: relative;overflow-y: scroll;}
.textAreaBox{
	/*height: calc(50px * 3);*/
	padding: 0 20px;
	width: 100%;
}
.msgContent textarea{
	width: 100%;
	height: calc(1.5em * 4);
	padding:0 1rem;
	/*padding-top: 4.5rem;*/
	font-size: 20px;
	border: 2px solid #0069b5;
	background-color: #fff;
	line-height: 1.5em;
	/*background-image: url(../images/contentLine.png);*/
	/*background-position: center top;*/
	/*background-size: 100% auto;*/
	/*background-repeat: repeat-y;*/
	overflow:hidden;
}
.msgContent .contentTxt{
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 4px);
	padding: 1rem;
	margin-left: 2px;
	margin-top: 2px;
	font-size: 2rem;
	color: #1aa8ff;
	font-weight: bold;
	background-color: #fff;
}
.msgContent .contentTxt span{
	font-size: 1.6rem;
}

.msgContent .contentLine{
	position: absolute;
	top: 0;
	margin-top: 7rem;
	width: calc(100% - 2rem);
	margin-left: 1rem;
	border-bottom: 2px solid #1aa8ff;
}
.msgContent .nameGroup{
	/*display: flex;
	justify-content: flex-start;
	align-items: center;*/
	margin-bottom: 1rem;
	padding: 0 20px;
}
.msgContent .nameGroup label{
	font-size: 2rem;
	color: #004e8a;
	font-weight: bold;
	flex-shrink: 0;
	margin-right: 1rem;
}
.msgContent .nameGroup input{
	width: 100%;
	height: 40px;
	font-size: 20px;
	border: 2px solid #0069b5;
	background-color: #fff;
	padding: 1rem;
}
.msgContent .nameGroup input::placeholder{
	color: #1aa8ff;
}
.msgContentBox{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.result{
	height: 75dvh;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2rem;
}
.result img{
	max-height: 100%;
	width: auto;
}
.sec02BtnBox{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.sentBtnArea{
	position: absolute;
	width: 100%;
	/*background-color: #fff;*/
	bottom: 2vh;
}
.sec01Txt{
	position: absolute;
	top: 0;
	margin-top: 50dvh;
}
@media (max-width: 1440px){
	html{
		font-size: 8px;
	}
	.databox1 .msgOne .msgFrame span{margin-top: -8rem;}
	.sec02 .msgOne .msgFrame .msgName{bottom: .75em;right: 1.5em;}
}
@media (max-width: 1366px){
	
	.sec02 .msgArea{
		width: 1200px;
	}
}

@media (max-width: 1280px){
	html{
		font-size: 7px;
	}
	
}

@media (max-width: 1024px){
	.sec01{
		/*min-height: initial;*/
	}
	.sec02 .msgArea{
		width: 990px;
	}
	html{
		font-size: 6px;
	}
}
@media (max-width: 820px){
	.sec01GifBox{
		width: 45vw;
	}
	.sec01GifBox img{
		max-width: 40vw;
	}
	.sec01Txt{
		margin-top: 30dvh;
	}
	.sec01{
		min-height: initial;
	}
	.sec02 .msgArea{
		width: 100%;
	}
	html{
		font-size: 5px;
	}
}

@media (max-width: 576px){
	html{
		font-size: 6px;
	}
	.sec01GifBox{
		width: 45rem;
	}
	.sec01Gif{
		width: 35rem;
	}
	
	.sec02 .msgArea{
		width: 100vw;
	}
	.sec02 .msgOne{
		width: 100%;
	}
	.title{
		padding: 5rem 20vw;
	}
	.sec01 .title{
		padding: 3rem 120px;
	}
	.sec01{
		padding-bottom: 0;
		min-height: initial;
	}
	.dec02{
		margin-top: -7rem;
	}
	.sec02 .msgOne:nth-child(1),
	.sec02 .msgOne:nth-child(2),
	.sec02 .msgOne:nth-child(5){
		margin: 0;
	}
	.sec02 .msgArea{
		padding-top: 3rem;
	}
	.sec02Btn{
		margin-right: 0;
	}
	.sec02BtnBox{
		justify-content: center;
	}
	.sec02 .box01, .sec02 .box02{
		padding-bottom: 5rem;
	}
	.sec01Txt{
		/*position: absolute;
		bottom: 0;
		left: 0;*/
		position: relative;
		margin-top: 3rem;
		bottom: -2px;
	}
	.msgBoxBg, .resultBox,.msgBoxText{
		width: 100vw;
		height: 100dvh;
		max-height: initial;
	}
	.closeBtn{
		top: 50px;
		width: 7rem;
	}
	.closeBtn img{
		max-width: 100%;
		height: auto;
	}
	.msgContentBox button{
		width: 55vw;
	}
	.msgContentBox button img{
		max-width: 100%;
		height: auto;
	}
	.textAreaBox{
		width: 38rem;
		margin:0 auto;
	}
	.msgContent .contentTxt{
		font-size: 2.7rem;
	}
	.msgContent .contentTxt span{
		font-size: 2rem;
	}
	.msgBoxArea .msgFrame{
		width: 85vw;
	}
	.sentBtn{
		width: 28vw;
	}
	.msgContent .nameGroup{width: 38rem;}
	.msgContent textarea{
		height: calc(2.5rem * 1.5 * 5);
		/*background-image: url(../images/contentLineM.png);*/
		/*line-height: 5.6rem;*/
		font-size: 2.5rem;
		/*padding-top: 6rem;*/
	}
	.msgBoxDec img.mb{
		max-width: 125vw;
		height: auto;
		margin-top: 20rem;
	}
	.msgBoxArea .msgBox{
		margin-top: -15vh;
	}
	.msgContent .nameGroup label{
		font-size: 3rem;
	}
	.msgContent .nameGroup input{
		height: 6rem;
		font-size: 2.5rem;
	}
	.result{
		height: 65dvh;
	}
	.shareBtns{
		margin-top: 30px;
	}
	.sec02 .msgOne .msgFrame{
		padding: 0 5rem;
	}
	.sec02 .msgOne .msgFrame span{
		padding: 0 60px;
	}
	.msgBoxArea .msgContent{height: 45%;}
	.sec02 .msgOne .msgFrame{position: relative;}
	.sec02 .msgOne .msgFrame span{padding: 0 12rem; margin-top: -25px;}
	.databox1 .msgOne .msgFrame span{
		margin-top:-25px;

	}

	.sec02 .msgOne .msgFrame .msgName{bottom: 1.25em;right: 3em;font-size: 100%;}
	.sec01GifBox img{
		max-height: initial;
		max-width: 100%;
		height: auto;
	}
}


@media (min-width: 900px){
	.sec01Btn,.sec02Btn,.sec03Btn{-webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;}
	.sec01Btn:hover,.sec02Btn:hover,.sec03Btn:hover{
		transform: scale(1.1);
		-webkit-transform: scale(1.1);
	}
}
@media (max-width: 414px){
	.databox1 .msgOne .msgFrame span{
		margin-top:-5vw;

	}
	.sec02 .msgOne .msgFrame span{
		padding: 0 10rem; margin-top: -10vw;
	}
	.sec02 .msgOne .msgFrame .msgName{bottom: 3vw;right: 15vw;}
}