@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300;500;900&display=swap');
header.scrolled#header {
    top: 0;
}
 
.campaign {
    max-width: 1200px;
    margin: 0 auto;
    
}

.campaign .content-wrapper {
    width: 100%;
    margin: 0 auto;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.9em;
    color: #262626;
    text-align: center;
}

.text-red-span {
    color: #d63030;
}

.campaign-h2,
.recommend-h2 h2 {
    width: fit-content;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
}

.campaign-h2 h2 {
    font-family: "dela-gothic-one", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 58px;
    margin: 10px 10px 0;
}

.campaign-h2 h2 span,
.recommend-h2 h2 span {
    color: #f29600;
}

/* firstview-------------------------*/
.firstview div {
    display: none;
}

.firstview {
    width: 100%;
    margin:0 auto 100px;
    background: #fff6b6;
}

.firstview img {
    width: 100%;
}

/* campaign-content-1-------------------------*/
.campaign-content-1 {
    width: 100%;
    margin-bottom: 100px;
    text-align: center;
}

.campaign-content-1 p {
    line-height: 1.5;
    font-size: 24px;
    margin-bottom: 15px;
}

.content-1-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.content-1-box p {
    margin-top: 15px;
}

.content-1-arrow {
    margin-top: 120px;
}

.content-1-coins {
    margin: 80px 0 20px 70px;
}

/* coin-space-------------------------*/
.coin-space {
    width: 100%;
    height: fit-content;
    margin-bottom: 100px;
    background: url("../images/coins.webp"), url("../images/coins.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: 15%, 85%;
    text-align: center;
}

.nabao_cart {
    margin: 0 auto;
}

/* campaign-content-2-------------------------*/
.campaign-content-2 {
    width: fit-content;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
}

.content-2-item {
    width: 485px;
    height: 235px;
    background: url("../images/dotborder.webp");
    background-size: 95%;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
}

.content-2-item img {
    margin: 15px 0;
}

img[src="images/point-1.webp"] {
    margin-top: 50px;
}

.content-2-item p {
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 10px;
}

.humuhumu {
    position: relative;
        width: 227px;
        height: 158px;
        margin: 50px 0 0 150px;
        //background-color: #f29600;
}

.humuhumu-anime {
    width: fit-content;
    height: fit-content;
    //background-color: red;
    transform-origin: center bottom;
    animation: yurayura 2s linear infinite;
    -webkit-transform-origin: 150px 50px;
}

@keyframes yurayura {
    0% , 100%{
        transform: rotate(10deg);
    }
    50%{
        transform: rotate(-10deg);
    }
}

.nabao-head {
    position: absolute;
    top: 0px;
    left: 70px;
    width: 160px;
    height: 140px;
    background-image: url("../images/nabao-head.webp");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

img[src="images/nabao-hand.webp"] {
    position: absolute;
    top: 30px;
    left: 5px;
    width: 107px;
    height: 123px;
}

/* campaign-content-3-------------------------*/

.recommend-h2 {
    width: fit-content;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
}

.recommend-h2 h2 {
    font-family: "dela-gothic-one", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 58px;
    margin: 10px 10px 0;
}

.campaign-content-3 {
    width: 100%;
    margin-bottom: 50px;
}

.campaign-recommend {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

.campaign-recommend a {
    margin-left: 30px;
    text-decoration: none;
    color: #262626;
}

.card-content {
    position:relative;
    width: 300px;
    height: 490px;
    background: url("../images/shoppingbag.webp");
    background-repeat: no-repeat;
    background-position: center;
}

.card-content:hover {
        display: inline-block;
        vertical-align: middle;
        -webkit-transform: perspective(1px) translateZ(0);
        transform: perspective(1px) translateZ(0);
        box-shadow: 0 0 1px rgba(0, 0, 0, 0);
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-property: transform;
        transition-property: transform;
        -webkit-transform: scale(1.1) rotate(4deg);
        transform: scale(1.1) rotate(4deg);
}

.cardname {
    margin: 120px 0 0 30px;
}

.crad-info {
    width: 250px;
    height: 70px;
    padding-top: 12px;
    margin: 10px 0 0 40px;
    background: url("../images/textarea.webp");
    background-repeat: no-repeat;
    background-position: center;
}

.crad-info p {
    font-size: 18px;
    letter-spacing: -1.2px;
}

.cardlogo {
    position: absolute;
    top: 410px;
    left:90px;
}

/* nabao_move_animation-------------------------*/
.demo_item1{
	width: 375px;
    height: 250px;
    border-radius: 10px;
    background-image: url(../images/nabao-cart.webp);
    background-size: 100% 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    position: relative;
}
.demo_item1.anime{
    animation-name: upDown;
    animation-iteration-count: infinite;
    animation-duration: 0.1s;
    animation-direction: alternate;
    animation-timing-function: steps(2);
    transition-duration: .3s;
    transition-property: transform;
}

.demo_item2{
    width: 180px;
    height: 210px;
    border-radius: 10px;
    background-image: url(../images/nabao-shopping.webp);
    background-size: 100% 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    position: relative;
}

.demo_item2 img {
    position: absolute;
    top: 50px;
    right: -40px;
}

.slideinLeft {
    animation: slideinLeft 1s infinite;
  }
  
  @keyframes slideinLeft {
    0% {
      transform: translateX(-50px);
    }
    100% {
      transform: translateX(0);
    }
  }

.demo_item2.anime{
    animation-name: upDown;
    animation-iteration-count: infinite;
    animation-duration: 0.1s;
    animation-direction: alternate;
    animation-timing-function: steps(2);
    transition-duration: .3s;
    transition-property: transform;
}

.demo_stage{
    position: relative;
    max-width: 50%;
    height: 250px;
    margin: 0 auto 100px;
    top: 0px;
    display: block;
}

.demo_wrap1{
	display: block;
    position: absolute;
    top: 0;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    animation-duration: 5s;
    animation-iteration-count: 1;
	margin-right: -150px;
}

.demo_wrap1[data-order="left"] {
    animation-name: GoLeft;
}
.demo_wrap1[data-order="right"] {
    animation-name: GoRight;
}

[data-order="right"] > .demo_item1 {
    transform: rotateY(180deg);
}

.demo_wrap2{
	display: block;
    position: absolute;
    top: 40px;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    animation-duration: 20s;
    animation-iteration-count: 1;
	margin-right: -105px;
}

.demo_wrap2[data-order="left"] {
    animation-name: GoLeft;
}
.demo_wrap2[data-order="right"] {
    animation-name: GoRight;
}

[data-order="right"] > .demo_item2 {
    transform: rotateY(180deg);
}

@keyframes GoLeft {
    0% {
        right: 40%;
    }
    100% {
        right: 60%;
    }
}
@keyframes GoRight {
    0% {
        right: 60%;
    }
    100% {
        right: 40%;
    }
}

@keyframes upDown {
    0% {
        top: 0;
    }
    100% {
        top: 3px;
    }
}

@media screen and (max-width:1020px) {
    .campaign-h2 h2 {
        font-size: 45px;
        margin: 5px 5px 0;
    }

    .campaign-h2 img {
        width: 50px;
    }

    /* campaign-content-1-------------------------*/
    .content-1-bag img {
        width: 150px;
    } 

    .content-1-arrow {
        margin-top: 100px;
    }

    .content-1-arrow img {
        width: 150px;
    }

    .content-1-coins {
        margin: 80px 0 0 70px;
    }

    .content-1-coins img {
        width: 150px;
    }

    .content-1-coins p {
        margin-top: 40px;
    }

    /* campaign-content-2-------------------------*/
    .campaign-content-2 {
        position: relative;
        margin: 0 auto 100px;
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .humuhumu {
        position: relative;
        position: absolute;
        margin: 0;
        right: 15px;
        bottom: -130px;
        width: 227px;
        height: 158px;
        //background-color: #f29600;
    }

    .nabao-head {
        left: 115px;
        width: 107px;
        height: 93px;
    }
    
    img[src="images/nabao-hand.webp"] {
        top: 20px;
        left: 65px;
        width: 71px;
        height: 82px;
    }

    /* campaign-content-3-------------------------*/
    .campaign-recommend {
        display: grid;
        padding-right: 30px;
        grid-template-columns: 1fr;
        row-gap: 50px;
    }

    .campaign-recommend a {
        margin-left: 0;
    }
}

@media screen and (max-width:768px) {
    .campaign-h2 {
        margin: 0 auto 25px;
    }

    /* firstview-------------------------*/
    h1 {
        display: none;
    } 
    .firstview div {
        display: block;
    }

    .firstview {
        margin:0 auto 50px;
    }

    /* campaign-content-1-------------------------*/
    .campaign-content-1 {
        margin-bottom: 0px;
    }

    .campaign-content-1 p {
        line-height: 1.5;
        font-size: 18px;
        margin-bottom: 50px;
    }

    .content-1-bag {
        //background-color: green;
    }

    .content-1-bag img {
        width: 150px;
    } 

    .content-1-arrow {
        margin-top: 80px;
        //background-color: aqua;
    }

    .content-1-arrow img {
        width: 150px;
    }

    .content-1-coins {
        margin: 50px 0 0 0px;
        //background-color: #f29600;
    }

    .content-1-coins img {
        width: 150px;
    }

    .content-1-coins p {
        margin-top: 60px;
    }

    /* coin-space-------------------------*/
    .coin-space {
        margin-bottom: 0;
        background-size: 20%;
        background-position: 20%, 80%;
    }

    .demo_item1{
        width: 200px;
        height: 130px;
    }

    .demo_item2{
        width: 105px;
        height: 110px;
    }

    .demo_item2 img {
        width:20px;
        height: 20px;
        position: absolute;
        top: 20px;
        right: -40px;
    }

    .demo_stage{
        height: 250px;
        margin: 0 auto 20px;
        top: 50px;
    }
}

@media screen and (max-width:670px) {
    .campaign-h2 h2,
    .recommend-h2 h2 {
        font-size: 35px;
        margin: 3px 3px 0;
    }

    .campaign-h2 img,
    .recommend-h2 img {
        width: 35px;
    }

    /* coin-space-------------------------*/
    .demo_wrap1 {
        margin-right: -90px;
    }

    .demo_wrap2 {
        margin-right: -55px;
    }
}

@media screen and (max-width:570px) {
    .campaign-h2 h2 {
        font-size: 28px;
        margin: 3px 3px 0;
    }

    .campaign-h2 img {
        width: 28px;
    }

    /* campaign-content-1-------------------------*/
    .campaign-content-1 p {
        font-size: 18px;
        margin-bottom: 50px;
    }

    .content-1-box {
        display: block;
    }

    .content-1-box p {
        font-size: 18px;
    }
    
    .content-1-bag img {
        width: 120px;
    } 

    .content-1-arrow {
        margin: 50px 0 50px;
    }

    .content-1-arrow img {
        width: 100px;
        transform: rotate(90deg);
    }

    .content-1-coins {
        margin: 0;
    }

    .content-1-coins img {
        width: 150px;
    }

    .content-1-coins p {
        margin-top: 15px;
    }

    /* nabao-space-------------------------*/
    .nabao-space {
        background-position: 10%, 90%;
    }

    img[src="images/nabao-cart.webp"] {
        width: 200px;
    }
    
    img[src="images/nabao-shoppingbag.webp"] {
        width: 105px;
    }

    /* campaign-content-2-------------------------*/
    .campaign-content-2 {
        margin: 0 auto 50px;
    }
    
    .content-2-item {
        width: 400px;
        height: 190px;
    }

    .content-2-item p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    img[src="images/point-1.webp"] {
        width: 220px;
    }

    img[src="images/point-2.webp"] {
        width: 200px;
    }

    img[src="images/point-3.webp"] {
        width: 220px;
    }

    .humuhumu {
        position: relative;
        position: absolute;
        margin: 0;
        right: 15px;
        bottom: -130px;
        width: 227px;
        height: 158px;
        //background-color: #f29600;
    }
}

/* fadein_animation-------------------------*/
.scroll_fadein{
    opacity: 0;
}

  .fadein_animation_start{
    animation-name: fadein_animation;
    animation-delay: 0.3s;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadein_animation{
    0% {
      opacity: 0;
    }
    100%{
      opacity: 1;
      transform: translate(0);
    }
}

.slideup{
    transform: translateY(50px);
}