.thanks .backBtn{ text-align:center;}
.thanks .backBtn a{ display:inline-block; background:#e4007f; padding:1rem 3rem; border-radius:8px; color:#fff; font-weight:bold; text-decoration:none; transition:.5s;}
.thanks .backBtn a:hover{ background:#ff66c1; color:yellow;}
.entry .title_bar .gift:before,.entry .title_bar .pen:before{background-size:contain;}
.brpc{display:inline;}
.brsp{display:none;}
.pc-hide{position:relative;}
#title .left,#title .right{position:absolute;}
#title .center{ position: relative; left:50%; transform: translateX(-50%); padding:30px;}
#title .left{left:-40px;}
#title .right{ right:0;}

.greeting{
  background:#fff; display: inline-block; margin: 60px auto; padding:50px 60px 40px; border-radius: 10px; box-sizing: border-box; position: relative; left:50%; transform: translateX(-50%);
  font-size: 18px; line-height:1.65; text-align: center;
}
.greeting .miyakoLogo{background:#fff; width:98px; height:98px; border-radius: 100%; position: absolute; top:0; left:50%; transform: translate(-50%,-50%); z-index: 0;}
.greeting .miyakoLogo img{position: absolute; top:50%; left:50%; transform: translate(-50%,-60%);}
.greeting .text{position: relative; z-index: 1;}

#top3Men{ background: url("../img/kekkaBG01.jpg") no-repeat center; background-size: cover; padding:60px 0 70px;}
#top3Men .top3box{ background: #fff; display: block; overflow: hidden; border-radius: 10px; padding-top:5px; box-sizing: border-box; text-align: center; box-shadow: 0 0 15px rgba(0,0,0,0.2); transition: 1.5s ease; opacity: 0; position:relative;}

#top3Men .top3box:before{ content:''; background: url("../img/gra.png") no-repeat; width:555px; height:100%; display: block; position: absolute; top:0; left:-555px; transition: 1s linear; transition-delay: 1s;}
#top3Men .top3box.inview{transform: rotateY(720deg); opacity: 1;}
#top3Men .top3box.inview:before{left:100%;}
#top3Men .top3box picture{ font-size: 0;}
#top3Men .top3box picture img{ width:auto; display: block; margin: 0 auto;}
#top3Men .top3box .cong{ background:#c00; color:#fff; font-weight: bold; font-size:30px; padding: 15px 0;}
#top3Men .top3box .text{ text-align: left; padding:20px 40px 40px; line-height:1.5; font-size:16px;}
#top3Men .first{ width: 726px; padding-top:0; margin: 0 auto;}
.flexbox{display:flex; justify-content: center; align-items: center;}
.flexbox.secondthird{ width: 90%; max-width:1090px; margin: 70px auto 0;}
#top3Men .second{ width: 509px; margin: 0 auto; transition-delay: .3s;}
#top3Men .second:before{ transition-delay: 1s;}
#top3Men .third{ width: 509px; margin: 0 auto; transition-delay: .6s;}
#top3Men .third:before{transition-delay: 1.5s;}

#topMen{padding:65px 0 80px; background:#fff url("../img/kekkaBG02Top.png") no-repeat top center; background-size: contain; position: relative;}
#topMen:before{content:''; display: block; width:100%; min-height:568px; background:url("../img/kekkaBG02Btm.png") no-repeat bottom center; background-size: contain; position: absolute; bottom:0; z-index: 0;}
#topMen .container{ position:relative; z-index: 1;}
#topMen .fl_box{justify-content:center; }
#topMen li:nth-child(2n+1){margin:0 60px 0 0;}
#topMen li h3{text-align:center;}

.sankatenpo{ background:#cc0000; font-weight: bold; font-size:30px; text-align: center; color:#fff; padding: 15px 0;}


#mainVisual .container .balloon3{top:250px;}
.shimekiri{
	width:100%; position:absolute; bottom:155px; left:50%; transform:translateX(-50%); z-index:99; color:#d40000; text-align:center;
}
.shimekiri p{
	font-size:2vw; font-weight:bold; color:#d40000; text-align:center; display:inline-block; position:relative; top:0; left:0; right:0; text-shadow:none;
	padding:20px 20px 15px; border-radius:15px; background:#fff; box-sizing:border-box; line-height:1; box-shadow: 0 8px 0 #e4007f; margin:0 auto;
}
#form .shimekiri{
	position:relative; bottom:auto; left:auto; transform:none; z-index:1; margin:0 auto 50px;
}
#form .shimekiri p{background:#ff66c1; color:#fff; box-shadow: 0 8px 0 #e4007f; margin:0 auto;}
.entry .inner .ouboFin{
	font-size:24px; font-weight:bold; text-align:center;
	margin:20px auto; line-height:1.75;
}
@media screen and (max-width: 1000px) {
	.shimekiri{ bottom:200px;}
	.shimekiri p{font-size:3vw;}
	#form .shimekiri{ margin:30px auto 40px;}
	.entry .inner .ouboFin{
		font-size:2.5vw;
		margin:20px auto 20px;
	}
}
@media screen and (max-width: 480px) {
  .brpc{display:none;}
	.brsp{display:inline;}
	.shimekiri{ bottom:100px;}
	.shimekiri p{font-size:4vw; padding:15px 10px 11px; border-radius:10px; box-shadow: 0 5px 0 #e4007f; line-height:1.5;}
	#form .shimekiri{ margin:30px auto 40px;}
	.entry .inner .ouboFin{
		font-size:4.5vw;
		margin:20px auto 30px;
	}
  

.greeting{
  margin: 50px auto 0; padding:30px 20px; font-size: 16px; 
}

#top3Men{ background: url("../img/kekkaBG01-sp.jpg") no-repeat center; background-size: cover; padding:60px 0 70px;}

#top3Men .top3box:before{ content:''; background: url("../img/gra.png") no-repeat; width:calc(555px / 2); left:-100%;}
#top3Men .top3box.inview:before{left:100%;}
#top3Men .top3box picture img{ width:100%; box-sizing: border-box; padding:10px 20px 0;}
#top3Men .top3box .cong{font-size:20px; padding: 10px 0;}
#top3Men .top3box .text{ text-align: left; padding:20px; line-height:1.5; font-size:16px;}
#top3Men .first{ width: 90%; padding-top:0; margin: 0 auto;}
.flexbox{display:flex; flex-direction: column;}
.flexbox.secondthird{ width: 90%; max-width:1090px; margin: 50px auto 0;}
#top3Men .second{ width: 100%; margin-bottom:50px;}
#top3Men .second:before{ transition-delay: 1.5s;}
#top3Men .third{ width: 100%;}
#top3Men .third:before{transition-delay: 1.5s;}

#topMen{padding:50px 0; background:#fff url("../img/kekkaBG02Top-sp.png") no-repeat top center; background-size: contain;}
#topMen:before{background:url("../img/kekkaBG02Btm-sp.png") no-repeat bottom center; background-size: contain;}
#topMen li:nth-child(2n+1){margin: 0 0 3rem;}

.sankatenpo{ background:#cc0000; font-weight: bold; font-size:30px; text-align: center; color:#fff; padding: 15px 0;}
}