html {
    position: relative;
}

.darumadrop-one-regular {
    font-family: "Darumadrop One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kurenaido-regular {
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.dot {
    background-image: radial-gradient(#fff 40%, #4a96f8 40%);
    background-size: 200px 200px;
    background-position: center;
}

/* アニメーションする背景レイヤー */
html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    /* z-index: 1; */
    opacity: 0.8;
}

body {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "serif";
    max-width: 480px;
    height: 130vh;
    margin: 0 auto;
    padding: 20px;
    display: block;
}


.text-span {
    font-weight: 600;
    color: #1f6ccf;
}


img {
    width: 100%;
    height: auto;
}

.omikuji-result::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 200px;
    height: 200px;
    background-image: url('./main_image/assets1.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    top: -10px;
    left: -20px;
    transform: translateX(-50%);
    animation: yurayura 2s ease-in-out infinite;
}

.omikuji-result::after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 200px;
    height: 200px;
    background-image: url('./main_image/assets2.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    right: -20px;
    bottom: -160px;
    transform: translateY(-50%);
    animation: yurayura 2s ease-in-out infinite;
}

@media screen and (max-width:768px) {
    .omikuji-result::before {
        top: -20px;
        left: -60px;
        width: 180px;
    }

    .omikuji-result::after {
        right: -10px;
        bottom: -170px;
        width: 120px;
    }
}

@keyframes yurayura {

    0%,
    100% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-10deg);
    }
}



.omikuji-wrap {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    margin: 40px 0;

}

@media screen and (max-width:768px) {
    .omikuji-wrap {
        margin: 20px 0;
    }
}

.omikuji {
    text-align: center;
    border-radius: 5px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.omikuji-headline {
    position: relative;

    &::before {
        position: absolute;
        content: attr(data-sub);
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
    }
}

.omikuji-headline {
    font-size: 3.2rem;
}

.omikuji-headline,
.omikuji-result {
    color: #1f6ccf;
    margin-bottom: 0;
}

.omikuji-result {
    position: relative;
    margin-bottom: 20px;
    /* padding: 20px; */
    /* background: #fff; */
}

.omikuji-button {
    cursor: pointer;
    width: 220px;
    margin-top: 30px;
    padding: 12px 20px;
    color: pointer;
    border: 0;
    border-radius: 24px;
    background: #c83d4f;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

.omikuji-button:hover {
    opacity: 0.7;
}

.instagram-icon {
    width: 200px;
    height: auto;
    margin: auto;
    display: block;
}

@media screen and (max-width:768px) {
    .instagram-icon {
        width: 100px;
        height: auto;
        margin: auto;
        display: block;
    }
}

h2.title_h2 {
    text-align: center !important;
    color: #1f6ccf !important;
}

.wrap {
    padding: 0 0 20px 0;
}

.Copyright {
    text-align: center !important;
    color: #000;
    padding: 0 0 20px 0;
}