@charset "UTF-8";

/* 基本レイアウト */
body,
html {
    height: 100%;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    min-width: 375px;
}

main {
    padding-top: 90px;
}

footer {
    height: 2.5rem;
    background-color: #ff4d79;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

/* ヘッダー */
.fixed-top {
    background-color: #ff4d79;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-x-post {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #ff4d79;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, transform 0.3s;
}

.btn-x-post:hover {
    color: #ff4d79;
    opacity: 0.9;
    transform: scale(1.05);
}

/* 背景・演出演出 */
#Gremlins_stripe {
    background-image: repeating-linear-gradient(315deg,
            #fff5f7 0,
            #fff5f7 45px,
            #ffccd5 45px,
            #ffccd5 92px);
    background-attachment: fixed;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

#sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.sakura-petal {
    position: absolute;
    background-color: #ff85a2;
    border-radius: 150% 0 150% 0;
    opacity: 0.8;
    z-index: 0;
    animation-name: sakura-fall, sakura-sway;
    animation-iteration-count: infinite;
    animation-timing-function: linear, ease-in-out;
}

.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

@keyframes sakura-fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }

    100% {
        top: 110%;
        transform: translateX(100px) rotate(720deg);
    }
}

@keyframes sakura-sway {

    0%,
    100% {
        margin-left: 0;
    }

    50% {
        margin-left: 50px;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ボーダー・アクセント */
.border-pink {
    border-color: #ff4d79 !important;
}

.bg-pink {
    background-color: #f895ad !important;
}

/* コンテキスト・共通 */
.text-sensor {
    color: #ff4713 !important;
}

/* トースト通知 */
.toast-body,
.toast-header,
.toast {
    color: #fff;
}

.toast {
    background-color: #ff9800;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 90%;
    max-width: 450px;
}

.toast-header {
    background-color: #f57c00;
}