/* =========================================
   TinyParade
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');
@import url("https://fonts.googleapis.com/css?family=Sniglet|Raleway:900");

:root {
    --primary-gold: #fff1c6;
    --border-gold: #efdcbd;
    --border-pink: #f8b1ba;
    --title-pink: #ffbcc6;
    --heart-red: #ffafc4;
    --cookie-brown: #dcaf97;
    --green: #ae9891;
    --brown: #676767;
    --white: #fff;
    --gray: #ccc;
    --blue: #afe1ff;
    --yellow: #ffedad;
    --font-cherry: 'Cherry Bomb One', sans-serif;
    --mobile-font-size-text: 12px;
    --mobile-font-size-h2: 46px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'M PLUS 1p', 'Roboto', sans-serif, 'Noto Sans JP';
    line-height: 1.6;
    color: #333;
    background-color: #FFDCDC;
    touch-action: pan-y !important;
    overflow-y: auto !important;
}

@media (max-width: 768px) {
    body {
        background-repeat: repeat-y;
        background-size: 100% auto;
        background-position: center top;
    }
}

img,
canvas {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* =========================================
   TinyParade Contact - status-panel
   ========================================= */
.status-panel {
    position: absolute;
    top: 20px;
    left: 30px;
    background: var(--primary-gold);
    border-radius: 20px;
    padding: 10px 16px 8px 16px;
    width: 320px;
    font-family: var(--font-cherry);
    box-shadow: 0 0 0 4px var(--white);
    border: 2px solid var(--border-gold);
    z-index: 3;
    margin: 10px auto;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.04));
}

.status-title {
    background-color: var(--title-pink);
    border-radius: 20px;
    padding: 3px 12px;
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
    border: 0.5px solid var(--border-pink);
}

.status-body {
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px var(--border-gold);
}

.status-meters {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.meter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 17px;
    border-radius: 20px;
    background: var(--white);
    border: 1.5px solid var(--border-gold);
    box-shadow: 0 0 0 3px var(--white);
}

.meter i {
    font-size: 18px;
}

.meter i.heart {
    color: var(--heart-red);
}

.meter i.cookie {
    color: var(--cookie-brown);
}

.meter i.gray {
    color: var(--gray);
}

@media (max-width: 768px) {
    .status-panel {
        top: 10px;
        left: 24px;
        width: 230px;
        padding: 8px 14px 6px 14px;
        border-radius: 16px;
        box-shadow: 0 0 0 3px var(--white);
        border: 2px solid var(--border-gold);
        filter: drop-shadow(0 2.5px 0 rgba(0, 0, 0, 0.04));
    }

    .status-title {
        font-size: 15px;
        padding: 2px 0;
        border-radius: 16px;
        margin-bottom: 3px;
    }

    .status-body {
        gap: 8px;
    }

    .status-image {
        padding-top: 4px;
    }

    .status-image img {
        width: 60px;
        height: 60px;
        border-radius: 10px;
        border: 2.5px solid var(--white);
        box-shadow: 0 0 0 1.5px var(--border-gold);
    }

    .status-meters {
        gap: 7px;
    }

    .meter {
        padding: 6px 14px;
        border-radius: 16px;
        box-shadow: 0 0 0 1.5px var(--white);
    }

    .meter i {
        font-size: 14px;
    }
}

/* =========================================
   TinyParade - donut-button
   ========================================= */
.donut-button {
    position: fixed;
    top: 160px;
    left: 100px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    padding: 5px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    box-shadow: 0 0 0 4px var(--white);
    border: 4px solid transparent;
    opacity: 1;
    animation: pulse 2s infinite ease-in-out;
    filter: drop-shadow(1px 3px 0 rgba(0, 0, 0, 0.04));
}

.donut-button::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    width: 0;
    height: 0;
    border: 9px solid transparent;
    border-bottom-color: var(--white);
    transform: rotate(-45deg);
}

@keyframes pulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


.donut-button:hover {
    transform: scale(1.1);
}

.donut-button i {
    color: var(--blue);
    font-size: 28px;
}

@media (max-width: 768px) {
    .donut-button {
        top: calc(120px);
        left: calc(80px);
        width: 40px;
        height: 40px;
        border: 3px solid transparent;
    }

    .donut-button::before {
        border: 8px solid transparent;
        border-bottom-color: var(--white);
    }

    .donut-button i {
        font-size: 22px;
    }
}

/* =========================================
 TinyParade - menu-button
 ========================================= */
.menu-button {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: var(--white);
    border: none;
    border-radius: 13px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.04));
}

.menu-button.scrolled {
    background-color: transparent;
}

.menu-button.scrolled .menu-line {
    background-color: var(--white);
}

.menu-button.noScrolled {
    background-color: var(--white);
}

.menu-button.noScrolled .menu-line {
    background-color: var(--title-pink);
}

.menu-button.active {
    background-color: transparent;
}

.menu-line {
    width: 24px;
    height: 4px;
    background-color: var(--title-pink);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-button.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--title-pink);
}

.menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
    background-color: var(--title-pink);
}

.menu-button.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background-color: var(--title-pink);
}

/* =========================================
     TinyParade - modal
     ========================================= */
.modal {
    position: fixed;
    top: 20px;
    right: 25px;
    background-color: var(--white);
    border-radius: 20px;
    padding: 55px 30px 10px 30px;
    width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px var(--white);
    border: 2px solid #e7dfdc;
    z-index: 999;
    display: none;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.04));
}

.modal.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.modal-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-nav li {
    margin-bottom: 12px;
}

.modal-nav a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--green);
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
}

.modal-nav a i {
    color: var(--title-pink);
}

.modal-nav a:hover {
    background-color: var(--title-pink);
    color: var(--white);
    transform: translateY(-1px);
}

.modal-nav a:hover i {
    color: var(--white);
}

.modal-nav i {
    margin-right: 8px;
    width: 16px;
}

.modal-sns {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.sns-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.sns-buttons a {
    color: var(--green);
}

@media (max-width: 768px) {
    .menu-line {
        width: 19px;
        height: 3px;
    }

    .menu-button.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .menu-button.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .menu-button {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .modal {
        top: 20px;
        right: 20px;
        width: 200px;
        padding: 35px 20px 10px 20px;
        border-radius: 16px;
        box-shadow: 0 0 0 3px var(--white);
        filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.04));
    }

    .modal-nav li {
        margin-bottom: 10px;
    }

    .modal-nav a {
        padding: 10px 14px;
        font-size: 13px;
    }

    .modal-sns {
        margin-top: 20px;
        padding-top: 15px;
    }
}

/* =========================================
   TinyParade - gif
   ========================================= */
.floating-gif {
    position: absolute;
    top: 900px;
    left: 0;
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

.floating-gif img {
    max-width: 100%;
    height: auto;
}

@media(min-width: 769px) {
    .floating-gif {
        display: none;
    }
}

/* =========================================
   TinyParade - hero-section
   ========================================= */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('https://oqtyzqptwyujwfwudpme.supabase.co/storage/v1/object/public/assets/img/backgroundPC.PNG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-section {
        background-image: url('https://oqtyzqptwyujwfwudpme.supabase.co/storage/v1/object/public/assets/img/background3.PNG');
    }
}

canvas {
    touch-action: none;
}

#error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    z-index: 3;
    color: var(--white);
    display: none;
    text-align: center;
}

#container {
    position: relative;
    width: 80%;
    height: 60vh;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
}

/* =========================================
   TinyParade - process-section
   ========================================= */
.content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.process-section {
    position: relative;
    padding: 100vh 20px 270px 20px;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: backdrop-filter 0.1s ease;
}

.process-section i {
    color: var(--heart-red);
}

.process-container {
    max-width: 800px;
    margin: 0 auto;
}

.process-title {
    color: var(--white);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 60px;
    font-family: 'Roboto', sans-serif, 'Noto Sans JP';
}

.process-step {
    margin-bottom: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 60px;
}

.step-title {
    color: var(--white);
    font-size: 15px;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    font-weight: 590;
    text-align: left;
    align-self: flex-start;
}

.step-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    display: block;
}

.section-description {
    padding: 0 60px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
}

.section-description p {
    color: var(--white);
    font-size: 15px;
    letter-spacing: 0.12em;
    line-height: 1.8;

}

@media (max-width: 768px) {
    .process-container {
        margin: 0 15px;
    }

    .process-section {
        padding: 100vh 20px 170px 20px;
        background: transparent;
    }

    .process-title {
        font-size: 25px;

        margin-bottom: 30px;
    }

    .step-title {
        font-size: 11px;
        text-align: left;
        margin-bottom: 10px;
        align-self: flex-start;
        font-weight: 700;
    }

    .process-step {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .step-image {
        width: 100%;
    }

    .section-description {
        margin-top: 30px;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .section-description p {
        font-size: 11px;
        font-weight: 700;
    }
}

/* =========================================
   TinyParade - footer
   ========================================= */
.minimal-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 0 20px;
    background: transparent;
}

.divider {
    width: 80%;
    height: 2px;
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 100px auto;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.social-name {
    color: #f1f1f1;
    opacity: 0.7;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    font-family: 'Roboto', sans-serif, 'Noto Sans JP';
    align-items: flex-end;
}

.footer-left a {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-link {
    color: #f1f1f1;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    font-family: 'Roboto', sans-serif, 'Noto Sans JP';
    margin-bottom: 10px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-link:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .minimal-footer {
        bottom: 30px;
        padding: 0 40px;
    }

    .divider {
        width: 100%;
        margin: 0 auto 50px auto;
    }

    .footer-content {
        flex-direction: row;
        text-align: left;
    }

    .social-name {
        margin-bottom: 0;
        font-size: 10px;
    }

    .footer-left a {
        font-size: 11px;
    }

    .footer-links {
        align-items: flex-end;
    }

    .footer-link {
        font-size: 15px;
    }
}

/* =========================================
   TinyParade - sns-btn
   ========================================= */
.unified-sns-btn:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {

    .unified-sns-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .unified-sns-btn i {
        font-size: 20px;
    }
}

@media (min-width: 769px) {

    .unified-sns-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .unified-sns-btn i {
        font-size: 25px;
    }
}