/**
 * ローディングアニメーション用CSS
 */

/* ローディング中はヘッダーを非表示 */
body.loading .header_container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* スキップボタン */
.skip-button {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: #fff;
    color: #1B1C20;
    padding: 1rem 2rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 10001;
    opacity: 0.9;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
}

.skip-button::before {
    content: "";
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 663.62 518.51'%3E%3Cellipse class='lemon_eye_bg' cx='340.38' cy='201.11' rx='85.79' ry='66.04' fill='%23fff'/%3E%3Cg%3E%3Ccircle class='lemon_eye' cx='312.79' cy='209.72' r='43.1' fill='%23fff'/%3E%3Cpath class='lemon_eye2' fill='%23fff' d='M372.36,154.85c-14.86,0-27.97,7.52-35.72,18.97,11.6,7.72,19.25,20.92,19.25,35.9,0,8.94-2.72,17.25-7.38,24.13,6.83,4.55,15.03,7.2,23.85,7.2,23.8,0,43.1-19.3,43.1-43.1s-19.3-43.1-43.1-43.1Z'/%3E%3Cpath class='lemon_fill' fill='%231B1C20' d='M644.99,10.34c-7.1-1.74-14.93-2.99-22.02-1.88-22.52,3.5-45,7.55-67.19,12.68-16.73,3.87-33.17,7.37-50.3,3.47-8.28-1.89-16.55-3.88-24.88-5.48-32.03-6.17-63.86-14.25-96.19-17.8-48.97-5.37-96.25,6.18-142.2,22.07-88.06,30.44-145.9,90-168.57,181.12-8.26,33.18-13.77,67.1-19.45,100.86-5.59,33.26-15.6,64.36-36.54,91.43-5.48,7.08-9.94,15.14-13.78,23.26-10.19,21.61.46,40.4,24.39,41.5,13.64.62,28.03.18,41.03-3.51,33.67-9.57,63.02-2.63,92.45,15.24,51.54,31.28,108.21,45.93,155.99,45.19,47.15.03,81.1-3.95,114.17-13.87,60.83-18.24,109.03-52.42,139.15-109.87,35.72-68.13,54.19-140.35,53.7-217.37-.1-15.13-.08-30.34,1.28-45.39,2-22.22,13.53-41.11,23.09-60.66,4.99-10.21,9.98-20.62,13.17-31.47,4.4-14.95-2.23-25.82-17.29-29.52ZM372.36,241.06c-8.82,0-17.02-2.66-23.85-7.2-7.75,11.45-20.85,18.97-35.72,18.97-23.8,0-43.1-19.3-43.1-43.1s19.3-43.1,43.1-43.1c8.82,0,17.02,2.66,23.85,7.2,7.75-11.45,20.85-18.97,35.72-18.97,23.8,0,43.1,19.3,43.1,43.1s-19.3,43.1-43.1,43.1Z'/%3E%3Ccircle class='lemon_kurome_left' cx='326.28' cy='212.31' r='16.37' fill='%231B1C20'/%3E%3Ccircle class='lemon_kurome_right' cx='384.37' cy='195.94' r='16.37' fill='%231B1C20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.skip-button:hover {
    opacity: 0.5;
    transform: translateY(-2px);
}

.skip-button:active {
    transform: translateY(0);
}

.skip-button:active::before {
    transform: translateY(1px) scale(0.98);
}

.skip-button.hidden {
    display: none;
}

.skip-button.hidden::before {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ローディングアニメーションコンテナ */
.top_main_visual {
    position: fixed;
    background: #fff;
    z-index: 10000;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: 0;
    left: 0;
}

.top_main_visual svg {
    width: 90%;
    max-width: 30rem;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

.lemon_all {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.lemon_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 120rem;
    padding: 0 2rem;
    text-align: center;
    z-index: 2;
}

.lemon_content svg {
    width: 100%;
    max-width: 30rem;
    height: auto;
}

.lemon_eye_bg {
    fill: #fff;
}

.lemon_eye {
    fill: #fff;
}

.lemon_eye2 {
    fill: #fff;
}

.lemon_fill {
    fill: #1B1C20;
}

.lemon_kurome_left,
.lemon_kurome_right {
    fill: #1B1C20;
}

.falling_lemons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
}

.falling_lemon {
    position: absolute;
    width: 10rem;
    height: 10rem;
    transform-origin: center center;
}

.falling_lemon svg {
    width: 100%;
    height: 100%;
}

/* レスポンシブ */
@media screen and (max-width: 767px) {
    .lemon_content {
        padding: 0 1.5rem;
    }

    .skip-button {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.6rem;
        font-size: 1.2rem;
    }

    .skip-button::before {
        width: 2rem;
        height: 2rem;
    }
}

