/* ==========================================================
   Hero
========================================================== */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 700px;
    background:
        linear-gradient(
            180deg,
            #d8ecff 0%,
            #eef7ff 45%,
            #ffffff 100%);
}
.hero__background{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:1;
}
.hero__blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
}
.hero__blur--left {
    width: 520px;
    height: 520px;
    left: -180px;
    top: -140px;
    background: #DDFCEA;
}
.hero__blur--right {
    width: 700px;
    height: 700px;
    right: -250px;
    bottom: -250px;
    background: #DDEEFF;
}
.hero__container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 90px;
}
/*====================================
 Snow
====================================*/

.snow{
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
    z-index:2;
}

.snow span{
    position:absolute;
    top:-30px;
    width:14px;
    height:14px;
    background:#fff;
    box-shadow:0 0 8px rgba(255,255,255,.8);
    border-radius:50%;
    opacity:.9;
    animation:snowFall linear infinite;
}

/* ランダム配置 */

.snow span:nth-child(1){left:5%;animation-duration:12s;animation-delay:-1s;}
.snow span:nth-child(2){left:12%;width:5px;height:5px;animation-duration:10s;}
.snow span:nth-child(3){left:18%;width:10px;height:10px;animation-duration:15s;}
.snow span:nth-child(4){left:25%;animation-duration:11s;}
.snow span:nth-child(5){left:32%;width:6px;height:6px;animation-duration:13s;}

.snow span:nth-child(6){left:40%;animation-duration:14s;}
.snow span:nth-child(7){left:46%;width:5px;height:5px;animation-duration:12s;}
.snow span:nth-child(8){left:54%;width:9px;height:9px;animation-duration:16s;}
.snow span:nth-child(9){left:60%;animation-duration:10s;}
.snow span:nth-child(10){left:67%;animation-duration:13s;}

.snow span:nth-child(11){left:72%;width:6px;height:6px;animation-duration:11s;}
.snow span:nth-child(12){left:78%;animation-duration:15s;}
.snow span:nth-child(13){left:84%;width:9px;height:9px;animation-duration:14s;}
.snow span:nth-child(14){left:90%;animation-duration:12s;}
.snow span:nth-child(15){left:96%;width:5px;height:5px;animation-duration:10s;}

.snow span:nth-child(16){left:15%;animation-delay:-6s;animation-duration:13s;}
.snow span:nth-child(17){left:37%;animation-delay:-8s;animation-duration:12s;}
.snow span:nth-child(18){left:58%;animation-delay:-4s;animation-duration:16s;}
.snow span:nth-child(19){left:74%;animation-delay:-7s;animation-duration:14s;}
.snow span:nth-child(20){left:88%;animation-delay:-2s;animation-duration:15s;}

@keyframes snowFall{

    from{
        transform:
            translateY(-20px)
            translateX(0);
    }

    25%{
        transform:
            translateY(25vh)
            translateX(12px);
    }

    50%{
        transform:
            translateY(50vh)
            translateX(-10px);
    }

    75%{
        transform:
            translateY(75vh)
            translateX(10px);
    }

    to{
        transform:
            translateY(110vh)
            translateX(-12px);
    }

}

/* ==========================================================
   Left
========================================================== */
.hero__content {
    flex: 0 0 46%;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ECFDF5;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
}

.hero__title{
    font-size:48px;
    line-height:1.3;
    font-weight:900;
    /* letter-spacing:-.06em; */
    margin-bottom: 28px;
}

.hero__title span{
    color:#06C755;   /* LINE Green */
}
.hero__description {
    font-size: 16px;
    color: #52525B;
    line-height: 2;
    margin-bottom: 44px;
}
.hero__description__small {
    font-size: 12px;
    color: #898989;
    line-height: 2;
    margin-bottom: 44px;
}
.hero__buttons {
    display: flex;
    gap: 18px;
}
/* ==========================================================
   Trust Badge
========================================================== */
.hero__trust {
    display: flex;
    gap: 30px;
    margin-top: 54px;
    flex-wrap: wrap;
}
.hero__trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .35s ease;
}
.hero__trust-badge:hover {
    transform:
        translateY(-8px) rotate(-2deg) scale(1.04);
}
.hero__medal {
    position: relative;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 28% 24%,
            #fffef7 0%,
            #fff8d7 16%,
            #ffe781 36%,
            #ffd446 58%,
            #f2ba0f 76%,
            #cb8d00 100%);
    border: 5px solid #F5CF4A;
    box-shadow:
        inset 0 3px 10px rgba(255, 255, 255, .95),
        inset 0 -6px 12px rgba(120, 90, 0, .18),
        0 10px 28px rgba(0, 0, 0, .14);
}
.hero__medal::before {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    border: 2px solid rgba(150, 110, 0, .35);
}
.hero__stars {
    position: absolute;
    inset: 0;
}
.hero__stars span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform:
        rotate(calc(var(--i) * 15deg)) translateY(-58px);
    transform-origin: 0 0;
    font-size: 10px;
    color: #d8ad00;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .9);
}
.hero__medal-text-top {
    position: relative;
    z-index: 2;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #805700;
}
.hero__medal-number {
    position: relative;
    z-index: 2;
    margin: 4px 0;
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background:
        linear-gradient(180deg,
            #FF6262,
            #D10028);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__medal-text-bottom {
    position: relative;
    z-index: 2;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
}
/* ==========================================================
   Ribbon
========================================================== */
.hero__ribbon {
    position: relative;
    width: 108px;
    height: 40px;
    margin-top: -8px;
}
.hero__ribbon::before,
.hero__ribbon::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 40px;
    background:
        linear-gradient(180deg,
            #FF6262,
            #D10028);
}
.hero__ribbon::before {
    left: 18px;
    transform: rotate(8deg);
    clip-path: polygon(0 0,
            100% 0,
            100% 78%,
            50% 100%,
            0 78%);
}
.hero__ribbon::after {
    right: 18px;
    transform: rotate(-8deg);
    clip-path: polygon(0 0,
            100% 0,
            100% 78%,
            50% 100%,
            0 78%);
}
/* ==========================================================
   Right
========================================================== */
/* .hero__visual{
    flex:0 0 54%;
    display:flex;
    align-items:center;
    justify-content:center;
} */
/*==================================================
 Hero Visual
==================================================*/

.hero__visual{
    flex:0 0 54%;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

/*------------------------------------
 Phones
------------------------------------*/

.hero__phones{
    position:relative;
    width:520px;
    height:620px;
}

/* 背景のぼかし */

.hero__phones::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;

    background:rgba(255,255,255,.28);
    filter:blur(60px);
}

/*------------------------------------
 Phone Card
------------------------------------*/

.hero__phone-card{
    position:absolute;
    width:280px;

    background:#fff;
    border-radius:34px;
    overflow:hidden;

    box-shadow:
        0 30px 70px rgba(0,0,0,.18);

    animation:phoneFloat 5s ease-in-out infinite;
}

.hero__phone-card img{
    display:block;
    width:100%;
    height:auto;
}

/*------------------------------------
 Front
------------------------------------*/

.hero__phone-card--front{

    --rotate:8deg;

    right:30px;
    top:50px;

    transform:rotate(var(--rotate));

    z-index:2;
}

/*------------------------------------
 Back
------------------------------------*/

.hero__phone-card--back{

    --rotate:-8deg;

    left:30px;
    bottom:40px;

    transform:rotate(var(--rotate));

    animation-delay:1.5s;
}

/*------------------------------------
 Hover
------------------------------------*/

.hero__phone-card:hover{

    transition:.35s;

    transform:
        rotate(var(--rotate))
        translateY(-8px);

}

/*------------------------------------
 Animation
------------------------------------*/

@keyframes phoneFloat{

    0%{
        transform:
            translateY(0)
            rotate(var(--rotate));
    }

    50%{
        transform:
            translateY(-14px)
            rotate(var(--rotate));
    }

    100%{
        transform:
            translateY(0)
            rotate(var(--rotate));
    }

}

/*------------------------------------
 Responsive
------------------------------------*/

@media(max-width:992px){

    .hero__phones{
        width:420px;
        height:520px;
    }

    .hero__phone-card{
        width:220px;
    }

}

@media(max-width:768px){

    .hero__phones{
        width:320px;
        height:420px;
    }

    .hero__phone-card{
        width:180px;
    }

    .hero__phone-card--front{
        right:10px;
        top:20px;
    }

    .hero__phone-card--back{
        left:10px;
        bottom:20px;
    }

}

/* .hero__hero-image{
    width:100%;
    max-width:700px;
    border-radius:28px;
    overflow:hidden;
}

.hero__hero-image img{
    display:block;
    width:100%;
    height:auto;
}

.hero__hero-image.placeholder{
    aspect-ratio:16/10;
    border:2px dashed #d7dce5;
    background:#f7f9fc;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#9ca3af;
    font-size:22px;
    font-weight:600;
} */
/* ==========================================================
   Dashboard Screenshot
========================================================== */
.hero__dashboard {
    position: absolute;
    top: 40px;
    right: 0;
    width: 620px;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, .16);
    /* transform:
        rotate(-4deg);
    transition: .4s ease; */
}
/* .hero__dashboard:hover {
    transform:
        rotate(-2deg) translateY(-8px);
} */
.hero__dashboard-image {
    display: block;
    width: 100%;
    height: auto;
}
/* ==========================================================
   Phone Screenshot
========================================================== */
.hero__phone {
    position: absolute;
    right: -30px;
    bottom: 30px;
    width: 220px;
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, .22);
    transform:
        rotate(8deg);
    z-index: 10;
    transition: .4s ease;
}
.hero__phone:hover {
    transform:
        rotate(5deg) translateY(-8px);
}
.hero__phone-image {
    display: block;
    width: 100%;
    height: auto;
}
/* ==========================================================
   logo
========================================================== */
.logo-cloud{
    padding:70px 0;
    background:#fff;
    overflow:hidden;
    border-top:1px solid #F1F5F9;
    border-bottom:1px solid #F1F5F9;
}
.logo-cloud__title{
    text-align:center;
    margin-bottom:40px;
    color:#94A3B8;
    font-weight:600;
    letter-spacing:.08em;
}
.logo-cloud__slider{
    overflow:hidden;
    width:100%;
    position:relative;
}
.logo-cloud__track{
    display:flex;
    align-items:center;
    width:max-content;
    gap:80px;
    animation:logoScroll 80s linear infinite;
}
.logo-cloud__track img{
    height:80px;
    width:auto;
    opacity:.75;
    transition:.3s;
}
.logo-cloud__track img:hover{
    opacity:1;
    transform:scale(1.08);
}
@keyframes logoScroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}
/* ==========================================================
   Floating Cards
========================================================== */
.floating {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .12);
    animation: float 5s ease-in-out infinite;
    z-index: 20;
}
.floating__icon {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: #ECFDF5;
    font-size: 24px;
    flex-shrink: 0;
}
.floating strong {
    display: block;
    font-size: 16px;
    color: #18181B;
    margin-bottom: 4px;
}
.floating p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}
/* ==========================================================
   Floating Position
========================================================== */
.floating--reservation {
    top: 20px;
    left: -40px;
}
.floating--sales {
    right: -50px;
    top: 220px;
    animation-delay: 1s;
}
.floating--line {
    left: 20px;
    bottom: 40px;
    animation-delay: 2s;
}
/* ==========================================================
   Buttons
========================================================== */
.hero .button {
    min-width: 220px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    transition: .35s ease;
}

.button--primary{
    position:relative;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:0 34px;
    height:60px;
    border-radius:999px;
    background:linear-gradient(
        135deg,
        #22C55E,
        #16A34A
    );
    color:#fff;
    font-weight:700;
    text-decoration:none;
    box-shadow:
        0 18px 40px rgba(34,197,94,.28);
    transition:
        transform .3s,
        box-shadow .3s;
}
.button--primary::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transition:left .7s;
}
.button--primary:hover{
    transform:translateY(-4px);
    box-shadow:
        0 28px 55px rgba(34,197,94,.38);
}
.button--primary:hover::before{
    left:150%;
}
.button__icon{
    transition:transform .3s;
}
.button--primary:hover .button__icon{
    transform:translateX(4px);
}
.hero .button--outline {
    background: #fff;
    color: #18181B;
    border: 1px solid #E5E7EB;
}
.hero .button--outline:hover {
    transform:
        translateY(-4px);
    box-shadow:
        0 18px 35px rgba(0, 0, 0, .08);
}
/* ==========================================================
   Animation
========================================================== */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.hero__content>* {
    animation: fadeUp .8s ease both;
}
.hero__content>*:nth-child(2) {
    animation-delay: .15s;
}
.hero__content>*:nth-child(3) {
    animation-delay: .30s;
}
.hero__content>*:nth-child(4) {
    animation-delay: .45s;
}
.hero__content>*:nth-child(5) {
    animation-delay: .60s;
}
.hero__visual {
    animation:
        fadeUp 1s ease .3s both;
}
/* ==========================================================
   Responsive
========================================================== */
@media(max-width:1200px) {
    .hero__title {
        font-size: 56px;
    }
    .hero__dashboard {
        width: 540px;
    }
}
@media(max-width:992px) {
    .hero {
        padding: 90px 0;
        min-height: auto;
    }
    .hero__container {
        flex-direction: column;
        gap: 70px;
    }
    .hero__content {
        width: 100%;
        flex: none;
        text-align: center;
    }
    .hero__buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero__trust {
        justify-content: center;
    }
    .hero__visual {
        width: 100%;
        height: 640px;
    }
    .hero__dashboard {
        left: 50%;
        right: auto;
        transform:
            translateX(-50%) rotate(-3deg);
    }
    .hero__dashboard:hover {
        transform:
            translateX(-50%) rotate(-2deg) translateY(-8px);
    }
    .hero__phone {
        right: 50%;
        transform:
            translateX(120%) rotate(8deg);
    }
    .hero__phone:hover {
        transform:
            translateX(120%) rotate(5deg) translateY(-8px);
    }
    .floating {
        transform: scale(.92);
    }
}
@media(max-width:768px) {
    .hero {
        padding: 70px 0;
    }
    .hero__title {
        font-size: 42px;
    }
    .hero__description {
        font-size: 15px;
    }
    .hero__buttons {
        flex-direction: column;
    }
    .hero .button {
        width: 100%;
    }
    .hero__visual {
        height: auto;
        display: flex;
        justify-content: center;
    }
    .hero__dashboard {
        position: relative;
        top: 0;
        left: auto;
        right: auto;
        width: 100%;
        transform: none;
    }
    .hero__dashboard:hover {
        transform: translateY(-5px);
    }
    .hero__phone {
        display: none;
    }
    .floating {
        display: none;
    }
    .hero__trust {
        gap: 22px;
    }
    .hero__medal {
        width: 112px;
        height: 112px;
    }
    .hero__stars span {
        font-size: 9px;
        transform:
            rotate(calc(var(--i) * 15deg)) translateY(-49px);
    }
    .hero__medal-number {
        font-size: 30px;
    }
    .hero__medal-text-top,
    .hero__medal-text-bottom {
        font-size: 11px;
    }
    .hero__ribbon {
        width: 88px;
        height: 52px;
    }
    .hero__ribbon::before,
    .hero__ribbon::after {
        width: 24px;
        height: 52px;
    }
}
