@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Paytone+One&display=swap');

/* base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: sans-serif;
    background-color: #008dd6;
    overflow: hidden;
    position: relative;
}

.sp { display: none; }
.pc { display: block; }

.dela {
    font-family: "Dela Gothic One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ryo {
    font-family: "ryo-gothic-plusn", sans-serif;
    font-weight: 500;
    font-style: normal;
}

/* drop */
.snow-img {
    position: absolute;
    width: 250px;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    pointer-events: none;
    z-index: 1;
}

.snow-img.visible {
    opacity: 1;
    transform: scale(1) rotate(var(--rotation));
}

/* background-pc */
.signboard-bg {
    position: fixed;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    background: url('../images/signboard.png') no-repeat left center / contain;
    width: 80%;
    height: 15%;
    z-index: 0;
    pointer-events: none;
}

/* scroll area */
.scroll-area {
    position: relative;
    z-index: 2;
    height: calc(var(--vh, 1vh) * 100);
    overflow-y: auto;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* qa */
.chat-wrapper {
    max-width: 700px;
    margin: auto;
}

.chat {
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
    justify-content: space-evenly;
}

.chat.left { flex-direction: row; }
.chat.right { flex-direction: row-reverse; }

.character {
    max-width: 30%;
    height: auto;
}

.bubble {
    position: relative;
    width: 57%;
    padding: 0.8rem;
    border-radius: 20px;
    background: white;
    font-size: clamp(1rem, 3.8vw, 30px);
    line-height: 1.5;
    min-height: 4.6rem;
}

.chat.left .bubble {
    border: 6px solid #dd4d62;
    box-shadow: 4px 4px 0 #000;
    min-height: 4.2rem;
}

.chat.right .bubble {
    border: 6px solid #0081cc;
    box-shadow: 4px 4px 0 #000;
    min-height: 7rem;
}

.f-right::before,
.f-left::before {
    content: "";
    display: block;
    width: 36px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
}

.f-right::before {
    background-image: url("../images/f_right.png");
    top: 183px;
    right: -34px;
}

.f-left::before {
    background-image: url("../images/f_left.png");
    top: 19px;
    left: -34px;
}

/* contents */
.content-box {
    width: 100%;
    border: 2px solid #251514;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 10px;
    overflow-y: auto;
    max-width: 700px;
}

.content-box-l {
    width: 100%;
    border: 2px solid #251514;
    background-image: url(../images/more_bg.png);
    background-size: cover;
    padding: 20px;
    overflow-y: auto;
    max-width: 800px;
    margin: 0 auto;
}

/* animation */
@keyframes rotate-y-left {
    0%, 100% { transform: rotateY(0deg) translateY(0); }
    25% { transform: rotateY(60deg) translateY(-10px); }
    50% { transform: rotateY(0deg) translateY(0); }
    75% { transform: rotateY(-60deg) translateY(10px); }
}

@keyframes rotate-y-right {
    0%, 80%, 100% { transform: rotateY(0deg) translateY(0); }
    20% { transform: rotateY(-45deg) translateY(8px); }
    40% { transform: rotateY(0deg) translateY(0); }
    60% { transform: rotateY(45deg) translateY(-8px); }
}

@keyframes nod-left {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes nod-right {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(5deg); }
}

@keyframes tire-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes poyoyon {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    70% { transform: scale(1.05); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.kirakira {
    max-width: 800px;
    position: relative;
    margin: auto;
}

.kira-l {
    position: absolute;
    left: 3rem;
    top: 0.8rem;
    width: 16%;
    animation: rotate-y-left 6.4s ease-in-out infinite;
    transform-origin: center center;
    backface-visibility: visible;
}

.kira-s {
    position: absolute;
    right: 3rem;
    top: 4rem;
    width: 12%;
    animation: rotate-y-right 5s ease-in-out infinite;
    transform-origin: center center;
    backface-visibility: visible;
}

.character.nod-left {
    animation: nod-left 3.8s ease-in-out infinite;
    transform-origin: center bottom;
}

.character.nod-right {
    animation: nod-right 3.8s ease-in-out infinite;
    transform-origin: center bottom;
}

/* mv */
.main {
    background-image: url(../images/mv_bg.png);
    background-size: 100%;
    position: relative;
    padding: 0;
}

.mv {
    width: 100%;
    padding: 0.6rem 0 0 0.5rem;
}

/* mv下 */
.mechanic {
    height: 240px;
    font-size: 69px;
    color: #fff;
    line-height: 1.3;
    text-align: center;
    background: url(../images/mechanic_bg.webp);
    background-size: cover;
    border-radius: 20px;
    margin: 24px 0;
    overflow: hidden;
    padding: 20px;
}

.mechanic .smail { font-size: 48px; }
.mechanic .yellow { color: #ffd900; }

#what {
    background: url(../images/what_bg.webp) repeat;
    border-radius: 20px;
}

/* illustration */
.what-illust {
    position: relative;
    margin: auto;
    max-width: 700px;
}

.what-illust01 {
    position: absolute;
    top: -1rem;
    right: 283px;
}

.what-illust02 {
    position: absolute;
    bottom: -1rem;
    right: -15px;
    width: 14%;
}

/* title */
.what-ttl {
    font-size: clamp(16px, 8vw, 66px);
    text-align: center;
    margin: 2rem 0;
    color: #fff;
    letter-spacing: 0.1em;
}

.what-ttl span { color: #ffd900; }

.text-shadow-common {
    text-shadow: 
        -0.05em -0.05em 0 #19110e,
        0.05em -0.05em 0 #19110e,
        -0.05em 0.05em 0 #19110e,
        0.05em 0.05em 0 #19110e,
        0em -0.05em 0 #19110e,
        0em 0.05em 0 #19110e,
        -0.05em 0em 0 #19110e,
        0.05em 0em 0 #19110e,
        0.1em 0.1em 0 #19110e;
}

.recommendation {
    position: relative;
    padding-bottom: 2.8rem;
    margin: 2.4rem auto -0.3rem;
    overflow: hidden;
    max-width: 710px;
}

.recommendation-txt {
    width: 700px;
    position: absolute;
    text-align: center;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.recommendation .l-txt {
    font-size: clamp(16px, 10vw, 88px);
    line-height: 1.2;
    color: #fff;
    letter-spacing: 0.1em;
    text-shadow: 
        -0.05em -0.05em 0 #19110e,
        0.05em -0.05em 0 #19110e,
        -0.05em 0.05em 0 #19110e,
        0.05em 0.05em 0 #19110e,
        0em -0.05em 0 #19110e,
        0em 0.05em 0 #19110e,
        -0.05em 0em 0 #19110e,
        0.05em 0em 0 #19110e,
        0.12em 0.12em 0 #19110e;
}

.recommendation .s-txt {
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: -1px;
    font-size: clamp(16px, 5vw, 34px);
    margin-top: 1rem;
}

.start, .goal {
    position: relative;
    z-index: 3;
    margin: 0 auto;
}

.start-txt, .goal-txt {
    font-family: "Paytone One", sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 10vw, 90px);
    color: #fff;
    -webkit-text-stroke: 1px #19110e;
    text-shadow: 0 0 1px #19110e;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.start-txt { top: 19.3rem; }
.goal-txt { bottom: -33.9rem; }

.tire {
    position: relative;
    display: flex;
}

.l-tire, .r-tire {
    position: absolute;
    top: -8rem;
    z-index: 0;
    animation: tire-rotate 4s linear infinite;
    transform-origin: center;
    max-width: 24%;
}

.l-tire { left: 2rem; }
.r-tire { right: 2rem; }

.bg-road {
    position: absolute;
    top: 10%;
    width: 86%;
    z-index: 2;
    left: 0;
    right: 0;
    margin: auto;
}

.more-ttl {
    margin: 2rem auto 16rem;
    font-size: clamp(16px, 8vw, 66px);
    text-align: center;
    color: #fff;
    letter-spacing: 0.1em;
}

.more {
    position: relative;
    min-height: 3515px;
}

.more-about, .more-how, .more-all {
    background-color: #01a4e3;
    text-align: center;
    border: 1px solid #19110e;
    z-index: 3;
    position: absolute;
    display: block;
    border-radius: 35px;
    width: 95%;
}

.more-about { margin: -2rem auto 0; }
.more-how { margin-top: 7rem; }
.more-all { 
    border-radius: 34px;
    width: 90%;
    margin: 16rem auto 0;
}

.more-about p, .more-how p, .more-all p {
    color: #fff;
    -webkit-text-stroke: 1px #19110e;
    text-shadow: 0 0 0.6px #19110e;
    padding: 0.7rem;
    font-size: clamp(16px, 6.1vw, 48px);
}

/* MORE illustration */
.more-illust01 { position: absolute; top: 4rem; }
.more-illust02 { position: absolute; top: 7rem; right: 2rem; }
.more-illust03 { position: absolute; right: 0; left: 0; top: 18.5rem; margin: 0 auto; }
.more-illust04 { position: absolute; top: 17rem; z-index: 3; }
.more-illust05 { position: absolute; top: 17rem; right: 4rem; z-index: 3; }
.more-illust06 { position: absolute; right: 0; left: 0; bottom: -36.5rem; margin: 0 auto; }

.car01, .car02, .car03 {
    position: relative;
    margin-bottom: 2rem;
    z-index: 3;
    top: 6rem;
}

.car04 {
    position: relative;
    margin-bottom: 2rem;
    z-index: 3;
    top: 15rem;
}

.car05 {
    position: relative;
    margin-bottom: 2rem;
    z-index: 3;
    top: 25rem;
}

.car-img {
    margin: 0 auto;
    display: block;
    width: 90%;
}

.car-link {
    z-index: 2;
    position: absolute;
    right: 0;
    left: 0;
    top: 6%;
    margin: auto;
    max-width: 66%;
}

/* footer-illustration */
.more-illust07 { position: absolute; bottom: 2rem; left: 3rem; z-index: 3; }
.more-illust08 { position: absolute; bottom: 2rem; right: 3rem; z-index: 3; }
.more-illust09 { position: absolute; bottom: 2rem; left: 5.4px; z-index: 3; }
.more-illust10 { position: absolute; bottom: 2rem; right: 1rem; z-index: 3; }

.gototop {
    position: fixed;
    bottom: 22px;
    right: 40px;
    width: 80px;
    height: 80px;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gototop img {
    width: 100%;
    height: auto;
    display: block;
}

.gototop.hide {
    opacity: 0;
    pointer-events: none;
}

.animate-poyoyon {
    animation: poyoyon 0.6s ease;
}

.footer {
    background: #208e89;
    color: #fff;
    text-align: center;
    height: 140px;
    padding: 3.6rem 0;
}

/* loop text */
.moving-text, .moving-text-l {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 46px;
    line-height: 40px;
    background: #ea9b00;
    color: #0081cc;
    font-size: 34px;
    display: flex;
    align-items: center;
}

.moving-text {
    max-width: 700px;
    width: 100%;
}

.moving-text-l {
    max-width: 800px;
    margin: auto;
}

.moving-text ul, .moving-text-l ul {
    list-style: none;
    display: flex;
    animation: marquee 20s linear infinite;
}

.moving-text ul li, .moving-text-l ul li {
    padding: 0 10px;
    flex-shrink: 0;
}

.mv-btn {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    margin-top: -6rem;
}

.custom-button {
    position: relative;
    height: 4.3rem;
    background: linear-gradient(135deg, #01A4E3, #0195CC);
    border: 2px solid #251514;
    border-radius: 25px;
    color: white;
    font-size: clamp(18px, 6vw, 48px);
    transition: all 0.3s ease;
    overflow: hidden;
    letter-spacing: 2px;
}

.custom-button a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.custom-button:hover {
    animation-play-state: paused;
}

.custom-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-button::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid white;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    filter: drop-shadow(1px 0 0 #19110e) drop-shadow(-1px 0 0 #19110e) drop-shadow(0 1px 0 #19110e) drop-shadow(0 -1px 0 #19110e);
}

.button-text {
    white-space: nowrap;
}

/* tablet */
@media screen and (max-width: 700px) {
    .what-illust01 {
        max-width: 600px;
        right: 152px;
    }
    
    .what-illust02 { right: 11px; }
    .footer-illust { display: block; position: relative; }
    .circle { width: 100%; }
    
    .mechanic {
        font-size: 40px;
        height: 140px;
        padding: 10px 0;
    }
    
    .mechanic .smail { font-size: 36px; }
    .content-wrapper { width: 90%; }
    .btn { padding-bottom: 0.6rem; width: 99%; }
    .bg-road { top: 10%; width: 89%; }
    .start-txt { top: 13.4rem; }
    .goal-txt { bottom: -20.3rem; }
    
    .more-illust03 { top: 12.2rem; width: 29%; }
    .more-illust06 { bottom: -23.5rem; width: 29%; }
    .more-illust04 { top: 13.6rem; width: 24%; left: 0.7rem; }
    .more-illust05 { top: 14.2rem; right: 1rem; width: 21%; }
    
    .more-about { margin: -4rem auto 0; }
    .car01, .car02, .car03 { top: 2rem; }
    .more-how { margin-top: 2rem; }
    .more-all { margin: 8rem auto 0; }
    .car04 { top: 8rem; }
    .car05 { top: 14rem; }
    
    .more-illust07 { width: 26%; left: 1.7rem; top: 16rem; }
    .more-illust08 { width: 23%; right: 1.8rem; top: 15.8rem; }
    .more-illust09 { top: 25.4rem; left: 14px; width: 11%; }
    .more-illust10 { width: 12%; top: 25.4rem; }
    
    .kira-l { left: 1rem; top: 0.8rem; }
    .kira-s { right: 1rem; top: 3rem; }
    .l-tire, .r-tire { top: -6.7rem; }
    
    .f-right::before { width: 30px; height: 31px; right: -29px; top: 50%; }
    .f-left::before { width: 28px; height: 30px; left: -24px; top: 32%; }
    
    .more-illust01 { top: 3rem; left: 0.6rem; width: 15%; }
    .more-illust02 { top: 4rem; right: 0.6rem; width: 13%; }
}

/* sp */
@media screen and (max-width: 428px) {
    .sp { display: block; }
    .pc { display: none; }
    
    .snow-img { width: 100px; }
    .btn { padding-bottom: 0.4rem; width: 97%; }
    .what-illust01 { top: -0.4rem; left: -175px; width: 50px; }
    .what-illust02 { bottom: -0.6rem; right: 10px; }
    .more-illust03 { top: 9.8rem; width: 29%; }
    .start-txt { top: 11.4rem; }
    .car-img { width: 93%; }
    
    .mechanic {
        height: 195px;
        font-size: 42px;
        line-height: 1.1;
    }
    
    .car04 { top: 9rem; }
    .car05 { top: 14rem; }
    .mechanic .yellow, .mechanic .smail { font-size: 40px; }
    
    .recommendation {
        width: 97%;
        margin: 2.4rem auto -0.8rem;
    }
    
    .recommendation-txt { width: 100%; }
    .recommendation .s-txt { margin-top: 0.6rem; }
    
    .more-about {
        width: 90%;
        margin: -2rem auto 0;
    }
    
    .more-ttl { margin: 2rem auto 11rem; }
    .more-how { width: 90%; margin-top: 4rem; }
    .more-all { margin: 9rem auto 0; }
    
    .more-about p, .more-how p, .more-all p {
        -webkit-text-stroke: 0.7px #19110e;
        text-shadow: 0 0 0.7px #19110e;
    }
    
    .car01, .car02, .car03 {
        top: 3.5rem;
        margin-bottom: 1.3rem;
    }
    
    .goal-txt { bottom: -18rem; }
    .bg-road { top: 13%; width: 91%; }
    .l-tire, .r-tire { top: -3.5rem; }
    .gototop { bottom: 10px; right: 10px; }
    
    .more-illust04 { top: 10.6rem; }
    .more-illust05 { top: 10.2rem; }
    .more-illust06 { bottom: -19.8rem; }
    .more-illust09 { top: 19.4rem; left: -0.6rem; }
    .more-illust10 { top: 19.4rem; right: -0.2rem; }
    
    .character { max-width: 78px !important; }
    .bubble { font-size: clamp(1.2rem, 5vw, 48px); min-width: 66%; }
    .content-box { padding: 0; }
    
    .custom-button {
        font-size: clamp(16px, 6.5vw, 30px);
        height: 3rem;
        border-radius: 16px;
    }
    
    .mv-btn {
        padding: 15px;
        gap: 10px;
        margin-top: -5rem;
    }
    
    .custom-button::after {
        right: 10px;
        border-top: 7px solid white;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
    }
}

@media screen and (max-width: 768px) {
    .more {
        min-height: fit-content;
        padding-bottom: 494px;
    }
}

@media screen and (max-width: 428px) {
    .more { padding-bottom: 97%; }
}