/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    font-family: "Roboto", "PingFang TC", sans-serif, Arial, Helvetica;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}
ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

button, a {
    cursor: pointer;
    border: none;
}

.neutral{
    color: #696969;
}


/* --------common---------- */

.faq-block,.feature-block,.note-content,.banner-container,.video-block{
    max-width: 1200px;
    margin: 0 auto;
}

/* --------progress-bar--------- */

#progress-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: #ED524F;
}

/* --------banner---------- */

.banner{
    height: 700px;
    width: 100%;  
    display: flex;
    background-image: url(../images/elements/KV-bg_desktop.png);
    background-size: cover;
    background-position: center ;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}



.banner-container{
    position: relative;
}
.banner-container::before {
    content: "";
    position: absolute;
    background-image:url(../images/elements/seagull.svg) ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 110px;
    height: 62px;
    top: 120px;
    left: -80px;
    animation: float1 6s ease-in-out infinite;
}

.banner-container::after {
    content: "";
    position: absolute;
    background-image:url(../images/elements/seagull.svg) ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 68px;
    height: 33px;
    top: 200px;
    left: -116px;
    animation: float2 5s ease-in-out infinite;
}

@keyframes float1 {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
  }
  
  @keyframes float2 {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(-15px) rotate(20deg); }
    100% { transform: translateY(0px) rotate(0deg); }
  }

.hero-title{
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 130px;
    position: relative;
    z-index: 1;
}

.left-person{
    position: absolute;
    width: 373px;
    height: 395px;
    bottom: -140px;
    left: -440px;
    z-index: -1;
}

.right-person{
    position: absolute;
    width: 373px;
    height: 395px;
    bottom: -190px;
    right: -440px;
}

.hero-title::before {
    content: "";
    position: absolute;
    width: 189px;
    height: 55px;
    background-image: url(../images/elements/hero-tag.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    right: -100px;
    top: 68px;
    transform: rotate(-8deg);
}

.chip-line{
    display: flex;
    gap: 12px;
    justify-content: center;
}

.kv-title img{
    width: 720px;
}

.kv-slogan{
    width: fit-content;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    padding: 4px 32px;
    background-color: #FFF6EC;
    border-radius: 100px;
    box-shadow: 2.484px 2.484px 0px 0px #F5642F;
}

.kv-slogan h3{
    color: #E75824;
}

/* --------gift-section--------- */


.gift-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 0;
}

.light-text{
    color: #323232;
    font-weight: 500;
    font-size: 32px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 120px;
    position: relative;
}

.light-text::before {
    content: "";
    position: absolute;
    width: 340px;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    height: 0.5em;
    background-color: #FFEB7A;
    z-index: -1;
}

.gift-card{
    position: relative;
}

.gift-content{
    padding: 90px 64px 72px 64px;
    background-color: white;
    border: 2px solid #56A7EE;
    border-radius: 40px;
    font-size: 24px;
}

.new-account-title,.add-friend-title{
    position: absolute;
    max-height: 100px;
}

.new-account-title{
    left:32px;
    top: -52px;
}

.add-friend-title{
    right: 32px;
    top: -52px;
}

.new-account{
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: flex-end;
}

.add-friend .gift-card{
    margin-top: -20px;
}
.add-friend{
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: flex-end;
}


.add-friend-button{
    width: fit-content;
    margin-top: 24px;
    margin-left:auto ;
}

/* --------feature-section--------- */
.feature-container{
    margin-top: 120px;
    padding-bottom: 120px;
    background-color: #F0F8FF;
    position: relative;
}

.feature-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 330px;
    top: -140px;
    left: 0;
    background-image: url(../images/elements/bg-head.svg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.pool-area{
    background-image: url(../images/elements/pool.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 100px;
    border: 24px solid white;
    margin-top: -60px;
    position: relative;
    padding: 120px 64px 48px 64px ;
}

.grid-card{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto); 
    gap: 40px;
}


.pool-area::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -120px;
    right: -120px;
    background-image:url(../images/elements/green-umber.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: rotateCounterClockwise 30s linear infinite;
}

.pool-area::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    bottom: -120px;
    left: -120px;
    background-image:url(../images/elements/pink-umbre.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: rotateClockwise 60s linear infinite;
}

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

@keyframes rotateClockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-item {
    perspective: 1000px;
    cursor: pointer;
  }
  
  .card-inner {
    position: relative;
    width: 100%;
    height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }
  
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 200px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border-radius: 24px;
    background-color: white;
    box-shadow: 16px 16px 0px 0px #97D3FB;
  }

  .card-list{
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
.flip-to-back,.flip-to-front{
    background-color: #E95B58;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    position: absolute;
    right: -16px;
    bottom: -16px;
}

.flip-to-front img{
    transform: rotate(180deg);
}

  .card-front {
    z-index: 2;
  }
  
  .card-back {
    transform: rotateY(180deg);
  }
  
  .card-inner.flipped {
    transform: rotateY(180deg);
  }


  .card-title,.card-content{
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
  }

  .rate-text{
    font-size: 40px;
    display: inline-block;
    color: #E95B58;
    line-height: 48px;
  }

  .card-content :is(h2, h3, h4, h5) {
    position: relative;
  }

  .card-content :is(h2, h3, h4, h5)::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    width: 110%;
    height: 16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #CDE6FC;
  }

  .feature-item:nth-child(2) .card-content :is(h2, h3, h4, h5)::before,
  .feature-item:nth-child(4) .card-content :is(h2, h3, h4, h5)::before,
  .feature-item:nth-child(6) .card-content :is(h2, h3, h4, h5)::before {
    background-color: #FFECEC;
  }

  .pool-button{
    width: fit-content;
    margin: 0 auto;
    margin-top: 40px;
  }

  .card-content span{
    color: #535353;
  }

  .card-content a{
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .grid-card > .feature-item:nth-child(2) .card-back .card-content,
.grid-card > .feature-item:nth-child(3) .card-back .card-content {
  display: flex;
  flex-direction: column;
}

/* --------video-section--------- */

.video-container{
    padding: 120px 0px;
}

  .video-container iframe {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    height: 100%;
    border: 0;
    margin-top: 56px;
  }
  
.video-block::before {
    content: "";
    position: absolute;
    width: 84px;
    height: 106px;
    right: -100px;
    top: 240px;
    background-image: url(../images/elements/video-star.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --------faq-section--------- */

.faq-container{
    padding: 120px 0;
    background-color: #F0F8FF;
    position: relative;
}

.faq-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 720px;
    bottom: 0;
    left: 0;
    background-image: url(../images/elements/faq-bg.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faq-container::after {
    content: "";
    position: absolute;
    width: 30vw;
    height: auto;
    max-height: 640px;
    aspect-ratio: 2 / 3;
    bottom: 0;
    right: 0;
    background-image: url(../images/elements/faq-tree.svg);
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
}

.accordion {
    width: 100%;
    margin-top: 56px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 9999;
}

.accordion-item{
    border-radius: 40px;
    overflow: hidden;
}

.accordion-title{
    background-color: #3B72C3;
    min-width: 32px;
    height: 32px;
    font-size: 18px;
    color: white;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
  .accordion-header {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
    background-color: white;
    color: black;
    text-align: left;
    padding: 24px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    font-weight: 400;
  }

  .accordion-item.active .accordion-header {
    font-weight: 700; 
}

  .accordion-header::after {
    content: "";
    position: absolute;
    background-image: url(../images/elements/angle-down.svg);
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 30px;
    height: 30px;
    right: 24px;
    font-size: 16px;
    transition: transform 0.3s ease;
  }

  

  
  .accordion-content {
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px 0 30px;
    font-size: 20px;
    background-color: white;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .accordion-content ol li {
    font-size: 20px;
  }

  
  .accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 0px 24px 24px 30px;
  }

  .accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
  }


  ol {
    list-style: decimal;
    list-style-position: outside;
    padding-left: 24px; 
  }
  
  .accordion-content span{
    padding-bottom: 20px;
  }
 

/* --------note-section--------- */

.note-container{
    padding: 120px 0;
    background-color: #FFF5F5;
}

.note-content{
    padding: 40px 64px;
    background-color: white;
    border-radius: 40px;
    margin-top: 56px;
}
.note-list li{
    font-size: 20px;
    line-height: 140%;
    padding-top: 8px;
}

.note-list li a{
    font-weight: 700;
}

/* -------breakpoint:1439px以下--------- */


@media screen and (max-width: 1439px) {

    .banner{
        background-image: url(../images/elements/KV-bg_1439.png);
    }

    .gift-container,.faq-container,.note-container,.video-container{ 
        padding: 120px 48px;
    }

    .feature-container{
        margin-top: 120px;
        padding: 0px 48px;
        padding-bottom: 120px;
    }

    .kv-title img{
        width: 100%;
        height: auto;
    }

    .hero-title{
        width: 640px;
    }

    .hero-title::before{
        right: -120px;
        top: 40px;
    }

    .banner-container::after{
        top: 280px;
        left:-170px
    }

    .banner-container::before{
        top: 180px;
        left:-130px
    }

    .left-person{
        bottom: -220px;
        left: -280px;
        transform: scale(0.7);
    }

    .right-person{
        bottom: -220px;
        right: -300px;
        transform: scale(0.7);
    }

    /* -------gift-section--------- */

    .new-account-title,.add-friend-title{
        min-height: 80px;
        height: 2vw;
    }

    .new-account-title{
        left:16px;
    }

    .add-friend-title{
        right:16px;
    }

    .light-text{
        margin-bottom: 80px;
    }

    .gift-content{
        padding: 56px 32px 40px 32px;
    }

    /* -------feature-section--------- */
    .grid-card{
        grid-template-columns: repeat(2, 1fr);
    }

    .pool-area::after,.pool-area::before{
        width: 200px;
        height: 200px;
    }

    .pool-area::before {
        top: -120px;
        right: -40px;
    }

    .pool-area::after {
        bottom: -80px;
        left: -40px;
    }

    .video-block::before{
        display: none;
    }
}
/* -------breakpoint:1280px以下--------- */




/* -------breakpoint:1023px以下--------- */

@media screen and (max-width: 1023px) {

.gift-container,.faq-container,.note-container,.video-container{ 
    padding: 80px 32px;
}

#progress-bar {
    top: 72px;
}

.banner{
    background-image: url(../images/elements/KV-bg_pad.png);
}

.banner-container::after{
    top: 280px;
    left:-170px
}

.banner-container::before{
    top: 100px;
    left:-40px;
    transform: scale(0.8);
}

.banner-container::after{
    top: 170px;
    left:-46px;
}

.hero-title::before {
    background-size: 80%;
    right: -100px;
    top: 24px;
}

.hero-title{
    width: 520px;
    margin-top: 140px;
    gap: 16px;
}

.kv-slogan{
    gap: 8px;
    padding: 4px 16px;
}

.chip-line{
    gap: 8px;
}

.left-person{
    bottom: -300px;
    left: -235px;
    transform: scale(0.6);
}

.right-person{
    bottom: -320px;
    right: -260px;
    transform: scale(0.6);
}

.feature-container{
    margin-top: 80px;
    padding: 0px 32px;
    padding-bottom: 80px;
}

.new-account-title,.add-friend-title{
    height: 6vw;
    min-height: 60px;
    top: -32px;
}

.new-account-people,.add-friend-people{
    height: 240px;
}

.gift-content{
    font-size: 20px;
    padding: 48px 32px 32px 32px;
}

.add-friend-button{
    margin-top: 12px;
}

.pool-area{
    padding: 80px 32px 32px 32px;
    border: 16px solid white;
    margin-top: -32px;
}

.pool-area::after,.pool-area::before{
    display: none;
}

.grid-card{
    gap: 20px;
}

.card-back,.card-front{
    box-shadow: 8px 8px 0px 0px #97D3FB;
}

.flip-to-front,.flip-to-back{
    width: 40px;
    height: 40px;
    right: -6px;
    bottom: -6px;
}

.flip-to-front img,.flip-to-back img{
    width: 17px;
    height: 15px;
}

.feature-container::before {
    height: 330px;
    top: -80px;
}

}


/* -------breakpoint:767px以下--------- */

@media screen and (max-width: 767px) {

    .banner{
        width: 100%;  
        height: 580px;
        background-image: url(../images/elements/KV-bg_mobile.png);
        background-size: cover;
        background-position: center ;
        background-repeat: no-repeat;
        position: relative;
    }

    .hero-title{
        width: 100%;
        margin-top: 120px;
    }

    #progress-bar {
        top: 58px;
    }

    .hero-title::before{
        right: -60px;
        background-size: 55%;
        top:-40px;
        left: 0;
    }


    .kv-title {
        padding: 0px 8px;
    }

    .kv-title img{
        max-width: 360px;
        min-width: 328px;
    }

    .banner-container::after{
        top: 150px;
        left: 300px;
        transform: rotate(50deg);
        background-size: 50%;
    }

    .banner-container::before{
        top: 95px;
        left: 275px;
        transform: rotate(50deg);
        background-size: 45%;
    }

    .left-person{
        left: -147px;
        bottom: -260px;
        transform: scale(0.4);
    }

    .right-person{
        right: -190px;
        bottom: -260px;
        transform: scale(0.4);
    }

    .chip-line{
        flex-direction: column;
        align-items: center;
    }

    .gift-container,.faq-container,.note-container,.video-container{ 
        padding: 40px 16px;
    }

    .feature-container{
        margin-top: 40px;
        padding: 0px 16px;
        padding-bottom: 40px;
    }

    .light-text{
        font-size: 18px;
    }

    .light-text::before {
        width: 260px;
    }

    .new-account,.add-friend{
        flex-direction: column;
        align-items: center;
    }

    .add-friend{
        margin-top: 40px;
    }

    .new-account-people,.add-friend-people{
        height: 220px;
    }

    .new-account-people{
        order: 1;
    }

    .gift-content{
        padding: 80px 24px 32px 24px;
        font-size: 18px;
    }

    .new-account-title,.add-friend-title{
        height: 110px;
        top: -32px;
        left: 50%;
        transform: translateX(-50%);
    }

    .new-account .gift-card{
        order: 2;
    }

    .add-friend-button{
        margin: 0 auto;
        margin-top: 12px;
    }

    .pool-area{
        padding:64px 24px 32px 24px;
        border: 12px solid white;
        border-radius: 40px;
        margin-top: -32px;
    }

    .card-inner{
        width: 100%;
        height: 120px;
    }

    .card-front,.card-back{
        height: 160px;
        box-shadow: 8px 8px 0px 0px #97D3FB;
    }

    .grid-card{
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .pool-area::after,.pool-area::before{
        display: none;
    }

    .pool-button{
        margin-top: 80px;
    }

    .accordion,.video-container iframe{
        margin-top: 24px;
    }
    

    .accordion-header{
        font-size: 20px;
        padding: 24px 54px 24px 24px;
    }

    .accordion-content,.accordion-content ol li{
        font-size: 16px;
    }

    .accordion-header::after{
        width: 24px;
        height: 24px;
    }

    .note-content{
        padding: 24px 16px;
    }

    
    .feature-container::before {
        background-image: url(../images/elements/bg-head_mobile.svg);
        height: 110px;
        top: -40px;
    }

    .note-list li{
        font-size: 16px;
    }

}