/* ==========================================================================
   INDEX
   ========================================================================== */
   

#slide_area{
  padding: 50px 0 150px;
  background-color: white;
  background-image: url(../img/main_bk.svg);
  background-repeat: repeat;
  background-position: center center;
  background-size: auto 100%;
  position: relative;
  animation: bg-color 20s infinite;
  -webkit-animation: bg-color 20s infinite;
}

@keyframes bg-color {
  0% { background-color: white; }
  25% { background-color: #cb0026; }
  50% { background-color: #22005a; }
  75% { background-color: #b1e4ff; }
  100% { background-color: white; }
}




#slide_area h1{
  margin: 0 auto 20px;
  z-index: 100;
  position: relative;
  width: 100%;
}

.ptn_logo{
  width: 100%;
  height: 18vw;
  max-height: 200px;
  fill: currentColor;
}

#slide_area h1{
  animation: h1_move 20s linear infinite;
  color: #000;
}

/*
#slide_area h1 .ptn_logo{
  fill: currentColor;
}
*/

@keyframes h1_move2 {
  10% { color:#000;}
  12% { color:#ff0;}
  60% { color:#ff0;}
  62% { color:#000;}
}

@keyframes h1_move {
  10% { transform: rotateY(0deg); color:#000;}
  11% { transform: rotateY(180deg);}
  12% { transform: rotateY(360deg); color:#ff0;}
  60% { transform: rotateY(360deg); color:#ff0;}
  61% { transform: rotateY(180deg);}
  62% { transform: rotateY(0deg); color:#000;}
}


#slide_area .girls img{
  position: absolute;
  width: auto;
  height: 150px;
  bottom: 55px;
  z-index: 100;
}

#slide_area img.g1{
  left: 2px;
}

#slide_area img.g2{
  right: 2px;
}

.tenposuu{
  margin-top: 0;
  display: inline-block;
  padding: 1em 20px 0;
  width: 80%;
  max-width: 800px;
  border-radius: 100px;
  background: #FFFD38;
}

/*タブレット*/
@media screen and (min-width: 600px) {
  #slide_area .girls img{
    height: 180px;
  }
  
  .tenposuu{
    width: 60%;
  }
}

/*PC*/
@media screen and (min-width: 960px) {
  #slide_area .girls img{
    height: 400px;
    bottom: 150px;
  }

  #slide_area img.g1{
    left: calc(50% - 720px);
  }
  
  #slide_area img.g2{
    right: calc(50% - 720px);
  }
}


#slide_area .clouds{
  position: relative;
  animation: clouds_move 20s linear infinite;
  opacity: 1;
}

@keyframes clouds_move {
  0% { opacity: 1; }
  15% { opacity: 0; }
  60% { opacity: 0; }
  80% { opacity: 1; }
}

#slide_area .clouds img{
  position: absolute;
  height: 30px;
  width: auto;
}

#slide_area .c1{
  top: -20vw;
  animation: cloud_move 20s linear infinite;
  animation-delay: -13s;
}

#slide_area .c2{
  top: -10vw;
  left:-50%;
  animation: cloud_move 20s linear infinite;
  animation-delay: -3s;
}

@keyframes cloud_move {
  0% { left: -20%; }
  100% { left: 100%; }
}

#slide_area .stars img{
  position: absolute;
  height: 20px;
  width: auto;
}

#slide_area .stars{
  position: relative;
  animation: stars_move 20s linear infinite;
}

@keyframes stars_move {
  0% { opacity: 0; }
  10% { opacity: 0; }
  50% { opacity: 1; }
  75% { opacity: 0; }
  100% { opacity: 0; }
}


#slide_area .s1{
  top: -20vw;
  left:10%;
  animation: star_move 5s linear infinite;
}

#slide_area .s2{
  top: -5vw;
  left:40%;
  animation: star_move 3s linear infinite;
  animation-delay: 2s;
}

#slide_area .s3{
  top: -26vw;
  left:70%;
  animation: star_move 5s linear infinite;
  animation-delay: 4s;
}

#slide_area .s4{
  top: -15vw;
  left:90%;
  animation: star_move 3s linear infinite;
  animation-delay: 6s;
}

#s_shop .flex a{
  margin-top: 30px;
  display: block;
  background: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  border: solid 2px #999;
}

@media screen and (min-width: 960px) {
  #s_shop .flex a:hover{
    background: #ffc800;
  }
}

@keyframes star_move {
  0% {-webkit-transform: rotate(0deg);}
	100% {-webkit-transform: rotate(360deg);}
}


#s_feature h2{
  width: calc((161 / 355) * 100%);
  max-width: calc(161 * 2px);
}

#s_feature p,
#s_join p{
   max-width: 60%;
}

#s_feature .run2{
  position: absolute;
  width: calc((155 / 355) * 100%);
  max-width: calc(155 * 2px);
  bottom:4vw;
  right: 0;
  z-index: 100;
}


#s_shop h2{
  width: calc((265 / 355) * 100%);
  max-width: calc(265 * 2px);
}

#s_card h2{
  width: calc((123  / 355 * 2) * 100%);
  max-width: calc(123 * 2px);
}

#s_join h2{
  width: calc((101 / 355 ) * 100%);
  max-width: calc(101 * 2px);
}

#s_join .ic_next{
  margin-bottom:. 100px;
}

#s_join .rin2{
  position: absolute;
  width: calc((110 / 355) * 100%);
  max-width: calc(110 * 2px);
  bottom:4vw;
  right: 5%;
  z-index: 100;
}


#s_campaign h2{
  width: calc((120 / 355) * 100%);
  max-width: calc(120 * 2px);
}

#s_topics h2{
  width: calc((95 / 355) * 100%);
  max-width: calc(95 * 2px);
}

article > section + section ._inner{
  padding-bottom: 9.5vw;
}

article > section+section:nth-child(2n) h2{
  margin-top: 30px;
}

article > section+section:before{
  content: url(../img/bkup_white.svg);
  display: block;
  position: absolute;
  top: calc((-100vw * 75 / 1000) + 3px);
  left:-1%;
  width: 102%;
  height: calc(100vw * 75 / 1000);
  z-index: 100;
  overflow: hidden;
}

article > section+section:nth-child(2n+1):before{
  content: url(../img/bkup_white.svg);
  transform: scale(-1, 1);
  padding-top: 0;
}

article > section+.s_dark:before{
  content: url(../img/bkup_dark.svg);
}

article > section+.s_dark:nth-child(2n+1):before{
  content: url(../img/bkup_dark.svg);
  transform: scale(-1, 1);
}

article > section+.s_pale:before{
  content: url(../img/bkup_pale.svg);
}

article > section+.s_pale:nth-child(2n+1):before{
  content: url(../img/bkup_pale.svg);
  transform: scale(-1, 1);
}

#s_campaign section {
  margin-top: 30px;
}

#s_campaign .pre{
  color: #E60012;
  margin: 0;
  font-weight: bold;
}

#s_campaign .pre+h3.st1{
   margin-top: 0; 
}

#s_campaign .bt_kuwashiku .svgwrap{
  text-align: right;
  margin: 0;
  }

#s_campaign div h3 + figure{
  display: none;
  }


/*スマホのみ*/
@media screen and (max-width: 599px) {
  section .exp{display: none;}
  
  #s_campaign section > figure{
    display: none;
  }
  
  #s_campaign div h3 + figure{
    display: block;
  }
}

/*PCのみ*/
@media screen and (min-width: 960px) {
#s_topics figure, #s_topics p{
  text-align: center;
}
}

/* ==========================================================================
   BxSlider
   ========================================================================== */

.bx-wrapper {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    background: none;
    margin-bottom: 20px;
}   

.bx-wrapper li *{
  text-align: center;
  margin: auto;
}

.bx-wrapper li img{
  border: 5px solid #E60012;
  max-width: 90%;
}

.bx-wrapper .bx-controls-direction a {
    z-index: 999;
}

/* ==========================================================================
   ColorBox
   ========================================================================== */



.lightbox{
	width: 898px;
	max-width: 100%;
	min-height: 200px;
	margin: 0 auto;
	overflow: hidden;
	padding: 10px;
  background: #fff;
  overflow-y: auto;
}

@media screen and (min-width: 960px) {
  .lightbox{max-height: 500px;}
}

	.lightbox h3{margin: 0 0 5px;}
	.lightbox div.attention1 {margin: 5px; float: left;}
	.lightbox div.attention2 {margin: 5px; float: right;}

	.lightbox table{
		border: 1px solid #aaa;
		border-width: 1px 0 0 1px;
		border-collapse: collapse;
	}
	.lightbox th, .lightbox td{
		border: 1px solid #aaa;
		padding: 2px 8px;
		border-width: 0 1px 1px 0;
		vertical-align: middle;
	}
	.lightbox th{
		background: #8bc345;
		color: white;
		font-weight: bold;
	}
	.lightbox td{
		background: #fffff2;
/* 		color: #666; */
	}
	.lightbox .nopd{padding: 0;}
	.lightbox table table{border: none;}
	.lightbox table table th{border-width: 0 0 1px;background:#a3c956;}
	.lightbox table table td{border-width: 0 0 1px;}

	.lightbox ul{
		border: 1px solid #aaa;
		background: #fffff2;
		padding: 10px;
		list-style: disc;
	}
		.lightbox li{
			margin: 0 0 5px;
			margin-left: 2em;
			list-style: disc;
			text-align: left;
		}
		.lightbox ul span,
		.lightbox ul a{
			font-size: 1.1em;
			font-weight: bold;
		}
		
		.lightbox ul a{
  		color: #009c63;
			text-decoration: underline;
		}


/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#fff; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxContent{margin-top:32px; overflow:visible; background:#000;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:#000; padding:1px;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/color_controls.png) no-repeat 0 0;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{background-position:0px 0px; right:44px;}
        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext{background-position:-25px 0px; right:22px;}
        #cboxNext:hover{background-position:-25px -25px;}
        #cboxClose{background-position:-50px 0px; right:0;}
        #cboxClose:hover{background-position:-50px -25px;}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
