﻿:root {
    --size: 88px; /* PC w1230基準 */
    --brand: #e6002d;
    --shadow: 0 6px 18px rgba(0,0,0,.12);
}

html,
body {
    margin: 0;
		font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
}

.site-logo {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    transform: scale(0.5);
    transform-origin: top left;
    z-index: 1000;
    pointer-events: auto;
}

.candy-menu {
    position: fixed;
    right: 16px;
    top: 16px;
    width: var(--size);
    height: var(--size);
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 10000; /* メニュー（9999）より上に */
    filter: drop-shadow(var(--shadow));
    border-radius: 999px;
    isolation: isolate;
    animation: breath 2.8s ease-in-out infinite;
    -webkit-animation: breath 2.8s ease-in-out infinite;
    pointer-events: auto !important;
}

/* PC表示時の固定サイズ (w1230基準) */
@media (min-width: 1025px) {
    .candy-menu {
        width: 88px !important;
        height: 88px !important;
    }

    .site-logo {
        width: 150px !important;
        height: 150px !important;
        transform: none !important;
        top: -30px !important;
        left: 35px !important;
    }
}

/* キラキラエフェクト用の疑似要素 */
.candy-menu::before,
.candy-menu::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.candy-menu::before {
    top: 15%;
    left: 20%;
    background-image: url('../images/common/stars01.png');
    animation: sparkle1 3s ease-in-out infinite;
    -webkit-animation: sparkle1 3s ease-in-out infinite;
}

.candy-menu::after {
    top: 75%;
    right: 25%;
    background-image: url('../images/common/stars03.png');
    animation: sparkle2 3.8s ease-in-out infinite;
    -webkit-animation: sparkle2 3.8s ease-in-out infinite;
}

/* hover時のはじける演出 */
.candy-menu:hover::before {
    animation: burst1 0.6s ease-out forwards;
}

.candy-menu:hover::after {
    animation: burst2 0.6s ease-out forwards;
}

/* active時（メニュー展開時）は左上と右下のキラキラを停止 */
.candy-menu.active::before,
.candy-menu.active::after {
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* active時（メニュー展開時）はhoverアクションを無効化 */
.candy-menu.active:hover::before,
.candy-menu.active:hover::after {
    animation: none !important;
    opacity: 0 !important;
}

/* candy01コンテナ */
.candy01 {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* キラキラポイント */
.candy01::before,
.candy01::after {
    content: '✨';
    position: absolute;
    font-size: 7px;
    color: #fff;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease-out;
}

.candy01::before {
    top: -1%;
    right: 20%;
    animation: sparkle3 2.2s ease-in-out infinite;
    -webkit-animation: sparkle3 2.2s ease-in-out infinite;
}

.candy01::after {
    bottom: 5%;
    left: 32%;
    animation: sparkle4 2.8s ease-in-out infinite;
    -webkit-animation: sparkle4 2.8s ease-in-out infinite;
}

/* 追加のキラキラ要素（hover時用） */
.sparkle {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
}

.sparkle.star {
    font-size: 7px;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.6);
}

.sparkle.star::before {
    content: '✨';
}

.sparkle.dot {
    width: 7px;
    height: 7px;
    background-image: url('../images/common/stars01.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.5) drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

/* 定期的に表示されるキラキラ要素 */
.sparkle.regular-sparkle {
    width: 10px;
    height: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
}

.sparkle.regular-sparkle.regular1 {
    animation: sparkle3 3.3s ease-in-out infinite;
    -webkit-animation: sparkle3 3.3s ease-in-out infinite;
    animation-delay: 1s;
}

.sparkle.regular-sparkle.regular2 {
    animation: sparkle4 4.2s ease-in-out infinite;
    -webkit-animation: sparkle4 4.2s ease-in-out infinite;
    animation-delay: 1.3s;
}

.sparkle.regular-sparkle.regular3 {
    animation: sparkle1 6s ease-in-out infinite;
    -webkit-animation: sparkle1 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.sparkle.regular-sparkle.regular4 {
    animation: sparkle2 6.8s ease-in-out infinite;
    -webkit-animation: sparkle2 6.8s ease-in-out infinite;
    animation-delay: 0.8s;
}

.sparkle.candy {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.sparkle.candy.large {
    width: 60px;
    height: 60px;
}

.sparkle.candy.medium {
    width: 40px;
    height: 40px;
}

/* 常時表示のキラキラ要素（stars01～stars04.png用） */
.sparkle.star-img {
    width: 8px;
    height: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 4;
}

/* 小さめのキラキラ要素 */
.sparkle.star-img.small {
    width: 6px;
    height: 6px;
}

.sparkle.star-img.twinkle1 {
    animation: starTwinkle1 10s ease-out infinite;
    -webkit-animation: starTwinkle1 10s ease-out infinite;
}
.sparkle.star-img.twinkle2 {
    animation: starTwinkle2 10s ease-out infinite;
    -webkit-animation: starTwinkle2 10s ease-out infinite;
}
.sparkle.star-img.twinkle3 {
    animation: starTwinkle3 10s ease-out infinite;
    -webkit-animation: starTwinkle3 10s ease-out infinite;
}
.sparkle.star-img.twinkle4 {
    animation: starTwinkle4 10s ease-out infinite;
    -webkit-animation: starTwinkle4 10s ease-out infinite;
}
.sparkle.star-img.twinkle5 {
    animation: starTwinkle5 10s ease-out infinite;
    -webkit-animation: starTwinkle5 10s ease-out infinite;
}
.sparkle.star-img.twinkle6 {
    animation: starTwinkle6 10s ease-out infinite;
    -webkit-animation: starTwinkle6 10s ease-out infinite;
}
.sparkle.star-img.twinkle7 {
    animation: starTwinkle7 10s ease-out infinite;
    -webkit-animation: starTwinkle7 10s ease-out infinite;
}
.sparkle.star-img.twinkle8 {
    animation: starTwinkle8 10s ease-out infinite;
    -webkit-animation: starTwinkle8 10s ease-out infinite;
}

@keyframes starTwinkle1 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(0, -20px) rotate(360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(0, -20px) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(0, -20px) rotate(360deg);
    }
}
@-webkit-keyframes starTwinkle1 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(0, -20px) rotate(360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(0, -20px) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(0, -20px) rotate(360deg);
    }
}
@keyframes starTwinkle2 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(15px, -15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(15px, -15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(15px, -15px) rotate(-360deg);
    }
}
@-webkit-keyframes starTwinkle2 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(15px, -15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(15px, -15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(15px, -15px) rotate(-360deg);
    }
}
@-webkit-keyframes starTwinkle3 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(20px, 0) rotate(360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(20px, 0) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(20px, 0) rotate(360deg);
    }
}
@-webkit-keyframes starTwinkle4 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(15px, 15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(15px, 15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(15px, 15px) rotate(-360deg);
    }
}
@-webkit-keyframes starTwinkle5 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(0, 20px) rotate(360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(0, 20px) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(0, 20px) rotate(360deg);
    }
}
@-webkit-keyframes starTwinkle6 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(-15px, 15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(-15px, 15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(-15px, 15px) rotate(-360deg);
    }
}
@-webkit-keyframes starTwinkle7 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(-20px, 0) rotate(360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(-20px, 0) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(-20px, 0) rotate(360deg);
    }
}
@-webkit-keyframes starTwinkle8 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(-15px, -15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(-15px, -15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        -webkit-transform: scale(1.8) translate(-15px, -15px) rotate(-360deg);
    }
}
@keyframes starTwinkle3 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(20px, 0) rotate(360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(20px, 0) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(20px, 0) rotate(360deg);
    }
}
@keyframes starTwinkle4 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(15px, 15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(15px, 15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(15px, 15px) rotate(-360deg);
    }
}
@keyframes starTwinkle5 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(0, 20px) rotate(360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(0, 20px) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(0, 20px) rotate(360deg);
    }
}
@keyframes starTwinkle6 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(-15px, 15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(-15px, 15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(-15px, 15px) rotate(-360deg);
    }
}
@keyframes starTwinkle7 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(-20px, 0) rotate(360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(-20px, 0) rotate(360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(-20px, 0) rotate(360deg);
    }
}
@keyframes starTwinkle8 {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0) rotate(0deg);
    }
    7.5% {
        opacity: 1;
        transform: scale(1.5) translate(-15px, -15px) rotate(-360deg);
    }
    10% {
        opacity: 0;
        transform: scale(1.8) translate(-15px, -15px) rotate(-360deg);
    }
    10.01%, 100% {
        opacity: 0;
        transform: scale(1.8) translate(-15px, -15px) rotate(-360deg);
    }
}

/* hover時のはじける演出 */
.candy-menu:hover .candy01::before {
    animation: burst3 0.9s ease-out forwards;
}

.candy-menu:hover .candy01::after {
    animation: burst4 0.9s ease-out forwards;
}

.candy-menu:hover .sparkle.burst5 {
    opacity: 1;
    animation: burst5 1.0s ease-out forwards;
}
.candy-menu:hover .sparkle.burst6 {
    opacity: 1;
    animation: burst6 1.1s ease-out forwards;
}
.candy-menu:hover .sparkle.burst7 {
    opacity: 1;
    animation: burst7 1.0s ease-out forwards;
}
.candy-menu:hover .sparkle.burst8 {
    opacity: 1;
    animation: burst8 1.2s ease-out forwards;
}
.candy-menu:hover .sparkle.burst9 {
    opacity: 1;
    animation: burst9 1.05s ease-out forwards;
}
.candy-menu:hover .sparkle.burst16 {
    opacity: 1;
    animation: burst16 1.35s ease-out forwards;
}
.candy-menu:hover .sparkle.burst18 {
    opacity: 1;
    animation: burst18 1.15s ease-out forwards;
}
.candy-menu:hover .sparkle.burst20 {
    opacity: 1;
    animation: burst20 1.35s ease-out forwards;
}

/* active時（メニュー展開時）は三本線まわりのキラキラを停止 */
.candy-menu.active .candy01::before,
.candy-menu.active .candy01::after {
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.candy-menu.active:hover .candy01::before,
.candy-menu.active:hover .candy01::after {
    animation: none !important;
    opacity: 0 !important;
}

.candy-menu.active:hover .sparkle {
    animation: none !important;
    opacity: 0 !important;
}

/* active時（メニュー展開時）は常時表示のキラキラ要素も非表示 */
.candy-menu.active .sparkle.star-img,
.candy-menu.active .sparkle.regular-sparkle {
    opacity: 0 !important;
    visibility: hidden !important;
}

.candy-menu.active:hover {
    transform: scale(1) !important;
}

/* active時（メニュー展開時）はドキドキアニメーションを停止 */
.candy-menu.active {
    animation: none !important;
}

/* candy_c: 中央の画像 */
.candy_c {
    position: absolute;
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* candy_l: 左下の画像 */
.candy_l {
    position: absolute;
    width: auto;
    height: 45px;
    object-fit: contain;
    left: -3px;
    bottom: 6px;
    z-index: 1;
    transform-origin: right center;
    animation: flapLeftDouble 4s ease-in-out infinite;
    animation-delay: 0s;
    transition: transform 3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

/* candy_r: 右上の画像 */
.candy_r {
    position: absolute;
    width: auto;
    height: 45px;
    object-fit: contain;
    right: -4px;
    top: 1px;
    z-index: 1;
    transform-origin: left center;
    animation: flapRightDouble 4s ease-in-out infinite;
    animation-delay: 0.1s;
    transition: transform 3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: rotate(-1deg);
    pointer-events: none;
}

/* クリック時（アクティブ時）の3D回転 */
.candy-menu.active .candy_l {
    animation: none !important;
    /* transformはJavaScriptで設定 */
    z-index: 1 !important;
}

.candy-menu.active .candy_r {
    animation: none !important;
    /* transformはJavaScriptで設定 */
    z-index: 1 !important;
}

.candy-menu.active .candy_c {
    z-index: 1 !important;
}

/* active時に画像を確実に非表示にして×を見やすく */
.candy-menu.active .candy_c,
.candy-menu.active .candy_l,
.candy-menu.active .candy_r {
    pointer-events: none !important;
}

/* メニュー展開完了後の×アイコンとCLOSEテキスト */
.close-icon {
    position: absolute;
    left: 50%;
    top: calc(40% - 8px);
    transform: translateX(-53%);
    width: 24px;
    height: 24px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    z-index: 10001; /* メニュー（9999）より上に */
    pointer-events: none;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2.5px;
    background: #00ADEC;
    border-radius: 2.5px;
    transform-origin: center;
}

.close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-text {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font: 700 8px/1 "Noto Sans JP", system-ui, -apple-system, sans-serif;
    letter-spacing: .08em;
    color: #00ADEC;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
    opacity: 0;
    visibility: hidden;
    z-index: 10001; /* メニュー（9999）より上に */
    pointer-events: none;
}

/* メニュー展開開始時にMENUをじんわり非表示 */
.candy-menu.active .bars,
.candy-menu.active .bars::before,
.candy-menu.active .bars::after,
.candy-menu.active .label {
    animation: fadeOutMenu 0.4s ease-out 0.1s forwards;
}

.candy-menu.active .close-icon,
.candy-menu.active .close-text {
    animation: fadeInCloseSoft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

@keyframes fadeOutMenu {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes fadeInCloseSoft {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-53%) translateY(5px) scale(0.9);
    }
    to {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-53%) translateY(0) scale(1);
    }
}

.candy-menu.active .close-text {
    animation: fadeInCloseSoftText 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

@keyframes fadeInCloseSoftText {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(5px) scale(0.9);
    }
    to {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.candy-menu.active .close-icon,
.candy-menu.active .close-text {
    pointer-events: auto;
}

/* ハンバーガーアイコンの線 */
.bars,
.bars::before,
.bars::after {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2.5px;
    background: #00ADEC;
    border-radius: 2.5px;
    content: "";
    transform: translate3d(-53%, 0, 60px);
    z-index: 60;
    mix-blend-mode: normal;
    will-change: transform, opacity;
}

.bars {
    top: calc(52% - 8px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.bars::before {
    top: -8px;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0s, visibility 0s;
    content: "";
}

.bars::after {
    top: 8px;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0s, visibility 0s;
    content: "";
}

/* MENUラベル */
.label {
    position: absolute;
    bottom:26px;
    left: 50%;
    transform: translate3d(-50%, 0, 60px);
    font: 700 8px/1 "Noto Sans JP", system-ui, -apple-system, sans-serif;
    letter-spacing: .08em;
    color: #00ADEC;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
    z-index: 60;
    mix-blend-mode: normal;
}

/* ホバー/プレス */
.candy-menu:hover {
    transform: translateY(-1px) scale(1.02);
}

/* active時（メニュー展開時）はhoverでの拡大・移動を無効化 */
.candy-menu.active:hover {
    transform: none !important;
}

/* CLOSEにホバーしたときはすべてのhoverアクションを無効化 */
.candy-menu:hover:has(.close-text:hover),
.candy-menu:hover:has(.close-icon:hover) {
    transform: none;
}

/* CLOSEにホバーしたときはキラキラエフェクトも無効化 */
.candy-menu:hover:has(.close-text:hover)::before,
.candy-menu:hover:has(.close-text:hover)::after,
.candy-menu:hover:has(.close-icon:hover)::before,
.candy-menu:hover:has(.close-icon:hover)::after {
    animation: none !important;
}

.candy-menu:hover:has(.close-text:hover) .candy01::before,
.candy-menu:hover:has(.close-text:hover) .candy01::after,
.candy-menu:hover:has(.close-icon:hover) .candy01::before,
.candy-menu:hover:has(.close-icon:hover) .candy01::after {
    animation: none !important;
}

.candy-menu:hover:has(.close-text:hover) .sparkle,
.candy-menu:hover:has(.close-icon:hover) .sparkle {
    animation: none !important;
    opacity: 0 !important;
}

.candy-menu:active {
    transform: translateY(0) scale(.96);
}

/* キーボード操作のフォーカス */
.candy-menu:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(230,0,45,.35);
    border-radius: 999px;
}

/* 呼吸アニメーション */
@keyframes breath {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}
@-webkit-keyframes breath {
    0%, 100% {
        -webkit-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.06);
    }
}

/* キラキラポイント1 */
@keyframes sparkle1 {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
}
@-webkit-keyframes sparkle1 {
    0%, 100% {
        opacity: 0;
        -webkit-transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.5) rotate(180deg);
    }
}

/* キラキラポイント2 */
@keyframes sparkle2 {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(-180deg);
    }
}
@-webkit-keyframes sparkle2 {
    0%, 100% {
        opacity: 0;
        -webkit-transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.5) rotate(-180deg);
    }
}

/* キラキラポイント3 */
@keyframes sparkle3 {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(360deg) translateY(-5px);
    }
}
@-webkit-keyframes sparkle3 {
    0%, 100% {
        opacity: 0;
        -webkit-transform: scale(0) rotate(0deg) translateY(0);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.2) rotate(360deg) translateY(-5px);
    }
}

/* キラキラポイント4 */
@keyframes sparkle4 {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(-360deg) translateY(5px);
    }
}
@-webkit-keyframes sparkle4 {
    0%, 100% {
        opacity: 0;
        -webkit-transform: scale(0) rotate(0deg) translateY(0);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1.2) rotate(-360deg) translateY(5px);
    }
}

/* はじける演出1 - 左上方向 */
@keyframes burst1 {
    0% {
        opacity: 1 !important;
        transform: scale(1) translate(0, 0) rotate(0deg);
    }
    85% {
        opacity: 1 !important;
        transform: scale(2.3) translate(-37px, -37px) rotate(330deg);
    }
    95% {
        opacity: 0.5 !important;
        transform: scale(2.45) translate(-39px, -39px) rotate(355deg);
    }
    100% {
        opacity: 0;
        transform: scale(2.5) translate(-40px, -40px) rotate(360deg);
    }
}

/* はじける演出2 - 右下方向 */
@keyframes burst2 {
    0% {
        opacity: 1 !important;
        transform: scale(1) translate(0, 0) rotate(0deg);
    }
    85% {
        opacity: 1 !important;
        transform: scale(2.3) translate(37px, 37px) rotate(-330deg);
    }
    95% {
        opacity: 0.5 !important;
        transform: scale(2.45) translate(39px, 39px) rotate(-355deg);
    }
    100% {
        opacity: 0;
        transform: scale(2.5) translate(40px, 40px) rotate(-360deg);
    }
}

/* はじける演出3 - 右上方向 */
@keyframes burst3 {
    0% {
        opacity: 1 !important;
        transform: scale(1) translate(0, 0) rotate(0deg);
    }
    85% {
        opacity: 1 !important;
        transform: scale(2.3) translate(37px, -37px) rotate(330deg);
    }
    95% {
        opacity: 0.5 !important;
        transform: scale(2.45) translate(39px, -39px) rotate(355deg);
    }
    100% {
        opacity: 0;
        transform: scale(2.5) translate(40px, -40px) rotate(360deg);
    }
}

/* はじける演出4 - 左下方向 */
@keyframes burst4 {
    0% {
        opacity: 1 !important;
        transform: scale(1) translate(0, 0) rotate(0deg);
    }
    85% {
        opacity: 1 !important;
        transform: scale(2.3) translate(-37px, 37px) rotate(-330deg);
    }
    95% {
        opacity: 0.5 !important;
        transform: scale(2.45) translate(-39px, 39px) rotate(-355deg);
    }
    100% {
        opacity: 0;
        transform: scale(2.5) translate(-40px, 40px) rotate(-360deg);
    }
}

/* 追加のはじける演出（様々な方向） */
@keyframes burst5 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(28px, -47px) rotate(675deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(29px, -49px) rotate(697deg); }
    100% { opacity: 0; transform: scale(2) translate(30px, -50px) rotate(720deg); }
}
@keyframes burst6 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(-41px, -28px) rotate(-506deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(-43px, -29px) rotate(-523deg); }
    100% { opacity: 0; transform: scale(2) translate(-45px, -30px) rotate(-540deg); }
}
@keyframes burst7 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(48px, -19px) rotate(613deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(49px, -19px) rotate(621deg); }
    100% { opacity: 0; transform: scale(2) translate(50px, -20px) rotate(630deg); }
}
@keyframes burst8 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(-32px, 37px) rotate(-697deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(-34px, 39px) rotate(-707deg); }
    100% { opacity: 0; transform: scale(2) translate(-35px, 40px) rotate(-720deg); }
}
@keyframes burst9 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(24px, 41px) rotate(523deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(24px, 43px) rotate(531deg); }
    100% { opacity: 0; transform: scale(2) translate(25px, 45px) rotate(540deg); }
}
@keyframes burst10 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(-48px, 23px) rotate(-613deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(-49px, 24px) rotate(-621deg); }
    100% { opacity: 0; transform: scale(2) translate(-50px, 25px) rotate(-630deg); }
}
@keyframes burst11 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(37px, 33px) rotate(697deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(39px, 34px) rotate(707deg); }
    100% { opacity: 0; transform: scale(2) translate(40px, 35px) rotate(720deg); }
}
@keyframes burst12 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(-28px, -41px) rotate(-506deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(-29px, -43px) rotate(-523deg); }
    100% { opacity: 0; transform: scale(2) translate(-30px, -45px) rotate(-540deg); }
}
@keyframes burst13 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(33px, -36px) rotate(613deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(34px, -38px) rotate(621deg); }
    100% { opacity: 0; transform: scale(2) translate(35px, -40px) rotate(630deg); }
}
@keyframes burst14 {
    0% { opacity: 1 !important; transform: scale(0.5) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: scale(1.8) translate(-23px, 46px) rotate(-697deg); }
    95% { opacity: 0.5 !important; transform: scale(1.95) translate(-24px, 49px) rotate(-707deg); }
    100% { opacity: 0; transform: scale(2) translate(-25px, 50px) rotate(-720deg); }
}

/* キャンディのはじける演出 - 6方向に均等に分散 */
@keyframes burst15 {
    0% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.2) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.95) translate(72px, 0px) rotate(171deg); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(0.98) translate(76px, 0px) rotate(175deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1) translate(80px, 0px) rotate(180deg); }
}
@keyframes burst16 {
    0% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.2) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.95) translate(36px, -63px) rotate(-171deg); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(0.98) translate(38px, -66px) rotate(-175deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1) translate(40px, -69px) rotate(-180deg); }
}
@keyframes burst17 {
    0% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.2) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.95) translate(-36px, -63px) rotate(139deg); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(0.98) translate(-38px, -66px) rotate(145deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1) translate(-40px, -69px) rotate(150deg); }
}
@keyframes burst18 {
    0% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.2) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.95) translate(-72px, 0px) rotate(-139deg); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(0.98) translate(-76px, 0px) rotate(-145deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1) translate(-80px, 0px) rotate(-150deg); }
}
@keyframes burst19 {
    0% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.2) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.95) translate(-36px, 63px) rotate(171deg); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(0.98) translate(-38px, 66px) rotate(175deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1) translate(-40px, 69px) rotate(180deg); }
}
@keyframes burst20 {
    0% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.2) translate(0, 0) rotate(0deg); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(0.95) translate(36px, 63px) rotate(-171deg); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(0.98) translate(38px, 66px) rotate(-175deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1) translate(40px, 69px) rotate(-180deg); }
}

/* candy_lの2回羽ばたきアニメーション - 3D回転で10-20% */
@keyframes flapLeftDouble {
    0%, 100% {
        transform: rotateZ(-15deg) rotateX(0deg) rotateY(0deg);
    }
    5% {
        transform: rotateZ(-15deg) rotateX(28deg) rotateY(-5deg);
    }
    10% {
        transform: rotateZ(-15deg) rotateX(0deg) rotateY(0deg);
    }
    15% {
        transform: rotateZ(-15deg) rotateX(28deg) rotateY(-5deg);
    }
    20% {
        transform: rotateZ(-15deg) rotateX(0deg) rotateY(0deg);
    }
}

/* candy_rの2回羽ばたきアニメーション - 3D回転で10-20%（lと逆方向） */
@keyframes flapRightDouble {
    0%, 100% {
        transform: rotateZ(-5deg) rotateX(0deg) rotateY(0deg);
    }
    5% {
        transform: rotateZ(-5deg) rotateX(-28deg) rotateY(5deg);
    }
    10% {
        transform: rotateZ(-5deg) rotateX(0deg) rotateY(0deg);
    }
    15% {
        transform: rotateZ(-5deg) rotateX(-28deg) rotateY(5deg);
    }
    20% {
        transform: rotateZ(-5deg) rotateX(0deg) rotateY(0deg);
    }
}

/* メニューナビゲーション */
.global-nav {
    position: fixed !important; /* 追従を確実に */
    top: 16px;
    right: 16px;
    width: 400px;
    height: 400px;
    aspect-ratio: 1 / 1;
    background-image: url('../images/common/nav_bg.jpg');
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    z-index: 998;
    overflow: visible;
    transform-origin: calc(100% - 8px) 22.5px;
    border-radius: 0px;
    padding: 40px 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
    /* 紙のような質感 */
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.45),
        0 4px 16px rgba(0, 0, 0, 0.51),
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 200, 200, 0.4);
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.05);
}

.global-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.global-nav::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: calc(50% + 5px);
    transform: translateX(-50%) translateY(100%) rotate(0deg);
    transform-origin: center bottom;
    width: 120px;
    height: 120px;
    background-image: url('../images/common/peco.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

.global-nav.showing::after {
    animation: pecoPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

@keyframes pecoPopUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(100%) rotate(0deg) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-3px) rotate(0deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px) rotate(0deg) scale(1);
    }
}

/* メニューの背景が×アイコンの上に来ないように */
.global-nav {
    z-index: 998;
    position: fixed; /* 追従を確実に */
}

/* PCでメニューを確実に最前面に */
@media (min-width: 768px) {
    .global-nav {
        z-index: 9999 !important;
        position: fixed !important; /* 追従を確実に */
    }
    
    .global-nav.showing {
        z-index: 9999 !important;
        position: fixed !important;
    }
}

.global-nav * {
    position: relative;
    z-index: auto;
}

.global-nav.showing * {
    pointer-events: auto;
}

/* 回転中（active状態）に背景を表示 */
.candy-menu.active ~ .global-nav {
    opacity: 1;
    pointer-events: auto;
}


/* メニュー内のキラキラ要素 */
.global-nav .menu-sparkle {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(255, 255, 255, 0.6);
}

.global-nav .menu-sparkle::before {
    content: '✨';
}

.global-nav .menu-sparkle.dot {
    width: 10px;
    height: 10px;
    background-image: url('../images/common/stars03.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.5) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.global-nav .menu-sparkle.dot.medium {
    width: 16px;
    height: 16px;
}

.global-nav.showing .menu-sparkle {
    animation: menuSparkle 2.5s ease-out forwards;
    -webkit-animation: menuSparkle 2.5s ease-out forwards;
}

@keyframes menuSparkle {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: scale(1.5) translate(0, -10px) rotate(90deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translate(var(--sparkle-x, 30px), var(--sparkle-y, -30px)) rotate(180deg);
    }
}
@-webkit-keyframes menuSparkle {
    0% {
        opacity: 0;
        -webkit-transform: scale(0) translate(0, 0) rotate(0deg);
    }
    20% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(0, -10px) rotate(90deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(var(--sparkle-x, 30px), var(--sparkle-y, -30px)) rotate(180deg);
    }
}

/* stars03.png用のアニメーション（回転を減らす） */
@keyframes menuSparkleDot {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: scale(1.5) translate(0, -10px) rotate(15deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translate(var(--sparkle-x, 30px), var(--sparkle-y, -30px)) rotate(30deg);
    }
}
@-webkit-keyframes menuSparkleDot {
    0% {
        opacity: 0;
        -webkit-transform: scale(0) translate(0, 0) rotate(0deg);
    }
    20% {
        opacity: 1;
        -webkit-transform: scale(1.5) translate(0, -10px) rotate(15deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.5) translate(var(--sparkle-x, 30px), var(--sparkle-y, -30px)) rotate(30deg);
    }
}

.global-nav.showing .menu-sparkle.dot {
    animation: menuSparkleDot 2.5s ease-out forwards;
    -webkit-animation: menuSparkleDot 2.5s ease-out forwards;
}

/* メニュー周辺のキラキラ要素 */
.menu-sparkle-outside {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    z-index: 997;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.7);
}

.menu-sparkle-outside::before {
    content: '✨';
}

.menu-sparkle-outside.dot {
    width: 12px;
    height: 12px;
    background-image: url('../images/common/stars01.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.5) drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.menu-sparkle-outside.dot.medium {
    width: 18px;
    height: 18px;
}

.global-nav.showing ~ .menu-sparkle-outside,
.candy-menu.active ~ .menu-sparkle-outside {
    animation: menuSparkleOutside 2.8s ease-out forwards;
    -webkit-animation: menuSparkleOutside 2.8s ease-out forwards;
}

@keyframes menuSparkleOutside {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: scale(1.8) translate(0, 0) rotate(90deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate(var(--sparkle-x, -200px), var(--sparkle-y, 200px)) rotate(360deg);
    }
}
@-webkit-keyframes menuSparkleOutside {
    0% {
        opacity: 0;
        -webkit-transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 1;
        -webkit-transform: scale(1.8) translate(0, 0) rotate(90deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.3) translate(var(--sparkle-x, -200px), var(--sparkle-y, 200px)) rotate(360deg);
    }
}

/* stars01.png用のアニメーション（回転を減らす） */
@keyframes menuSparkleOutsideDot {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: scale(1.8) translate(0, 0) rotate(20deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate(var(--sparkle-x, -200px), var(--sparkle-y, 200px)) rotate(45deg);
    }
}
@-webkit-keyframes menuSparkleOutsideDot {
    0% {
        opacity: 0;
        -webkit-transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 1;
        -webkit-transform: scale(1.8) translate(0, 0) rotate(20deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.3) translate(var(--sparkle-x, -200px), var(--sparkle-y, 200px)) rotate(45deg);
    }
}

.global-nav.showing ~ .menu-sparkle-outside.dot,
.candy-menu.active ~ .menu-sparkle-outside.dot {
    animation: menuSparkleOutsideDot 2.8s ease-out forwards;
    -webkit-animation: menuSparkleOutsideDot 2.8s ease-out forwards;
}

/* ピンク背景の上に表示されるキラキラ要素 */
.menu-sparkle-overlay {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    z-index: 997;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.7);
}

.menu-sparkle-overlay::before {
    content: '✨';
}

.menu-sparkle-overlay.dot {
    width: 10px;
    height: 10px;
    background-image: url('../images/common/stars01.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.2) drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.menu-sparkle-overlay.dot.medium {
    width: 14px;
    height: 14px;
}

.global-nav.showing ~ .menu-sparkle-overlay,
.candy-menu.active ~ .menu-sparkle-overlay {
    animation: menuSparkleOverlay 2.8s ease-out forwards;
    -webkit-animation: menuSparkleOverlay 2.8s ease-out forwards;
}

@keyframes menuSparkleOverlay {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 0.7;
        transform: scale(1.5) translate(0, 0) rotate(90deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate(0, 0) rotate(360deg);
    }
}
@-webkit-keyframes menuSparkleOverlay {
    0% {
        opacity: 0;
        -webkit-transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 0.7;
        -webkit-transform: scale(1.5) translate(0, 0) rotate(90deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.3) translate(0, 0) rotate(360deg);
    }
}

.global-nav.showing ~ .menu-sparkle-overlay.dot,
.candy-menu.active ~ .menu-sparkle-overlay.dot {
    animation: menuSparkleOverlayDot 2.8s ease-out forwards;
    -webkit-animation: menuSparkleOverlayDot 2.8s ease-out forwards;
}

@keyframes menuSparkleOverlayDot {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 0.7;
        transform: scale(1.5) translate(0, 0) rotate(20deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate(0, 0) rotate(45deg);
    }
}
@-webkit-keyframes menuSparkleOverlayDot {
    0% {
        opacity: 0;
        -webkit-transform: scale(0) translate(0, 0) rotate(0deg);
    }
    15% {
        opacity: 0.7;
        -webkit-transform: scale(1.5) translate(0, 0) rotate(20deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.3) translate(0, 0) rotate(45deg);
    }
}

.global-nav.showing {
    animation: menuAppearFromButton 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    pointer-events: auto;
}

/* メニューが開いたときに画面全体に薄いピンクのオーバーレイを表示 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 184, 210, 0.9); /* #FFB8D2 を30%の透明度で */
    pointer-events: none;
    z-index: 997; /* メニューより後ろ、コンテンツより前 */
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* PCでピンク背景がメニューの上に来ないように */
@media (min-width: 768px) {
    body::before {
        z-index: 997 !important; /* メニュー（9999）より後ろに */
    }
}

/* メニューが開いたときにオーバーレイを表示 */
body.menu-open::before {
    opacity: 1;
}

.global-nav.hiding {
    animation: menuDisappearToButton 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

.global-nav.hidden {
    display: none;
}

.global-nav[hidden] {
    display: none;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    position: relative;
    z-index: 1;
    width: 100%;
    animation: none;
    /* 背景の斜め（-3deg）を補正してまっすぐにする */
    transform: rotate(3deg);
    justify-items: center;
    margin-top: -15%;
}

@media not all and (min-width: 768px) {
	.global-nav.showing .menu-list {
		margin-right: -20px;
	}
}

.global-nav.showing .menu-list {
    animation: menuFadeIn 0.4s ease-out 0.2s forwards;
    opacity: 1;
}

.global-nav.hiding .menu-list {
    animation: menuFadeOut 0.2s ease-in forwards;
}

.menu-list li {
    text-align: center;
}

.menu-list li:nth-child(1) {
    grid-column: 1 / 3;
}

.menu-list li:nth-child(6) {
    grid-column: 1 / 3;
}
.menu-list a {
    position: relative;
    font: 700 18px/1.2 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
    color: #00ADEC;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.3s ease-out;
    overflow: visible;
    white-space: nowrap;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    pointer-events: auto;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px #00ADEC;
}

.menu-list a::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 40px;
    height: 40px;
    background-image: url('../images/common/onmouse.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(-18px) scale(0) translateY(5px);
    transform-origin: center;
    transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: -1;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.menu-list a:hover {
    color: #F282B7;
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: inset 0 0 0 1px #F282B7;
}

.menu-list a:hover::before {
    opacity: 1;
    transform: translateX(-18px) scale(1) translateY(-5px);
    animation: onmouseShake 0.5s ease-in-out 0.3s;
}

.menu-list li.current > a,
.menu-list a.is-current,
.menu-list a[aria-current="page"] {
    color: #F282B7;
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: inset 0 0 0 1px #F282B7;
}

.menu-list li.current > a::before,
.menu-list a.is-current::before,
.menu-list a[aria-current="page"]::before {
    opacity: 1;
    transform: translateX(-18px) scale(1) translateY(-5px);
    animation: onmouseShake 0.5s ease-in-out 0.3s;
}

@keyframes onmouseShake {
    0% { transform: translateX(-18px) scale(1) translateY(-5px) rotate(0deg); }
    33% { transform: translateX(-18px) scale(1) translateY(-5px) rotate(-15deg); }
    66% { transform: translateX(-18px) scale(1) translateY(-5px) rotate(15deg); }
    100% { transform: translateX(-18px) scale(1) translateY(-5px) rotate(0deg); }
}

/* 花火エフェクト - 既存のmenu-sparkle要素を活用 */
.global-nav.showing .menu-list a .menu-sparkle {
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}

/* ホバー時はopacityを上書き */
.global-nav.showing .menu-list a:not(.has-ame):hover .menu-sparkle {
    opacity: 1 !important;
}

/* 既存の固定sparkle要素を非表示 */
.menu-list a:not(.has-ame) .menu-sparkle.sparkle1,
.menu-list a:not(.has-ame) .menu-sparkle.sparkle2,
.menu-list a:not(.has-ame) .menu-sparkle.sparkle3,
.menu-list a:not(.has-ame) .menu-sparkle.sparkle4,
.menu-list a:not(.has-ame) .menu-sparkle.sparkle5,
.menu-list a:not(.has-ame) .menu-sparkle.sparkle6 {
    display: none !important;
}

/* メニューアイテム用のburstアニメーション（中心から散らばる） */
@keyframes menuBurst1 {
    0% {
        opacity: 1 !important;
        visibility: visible;
        transform: translate(-50%, -50%) scale(0.9) translate(0, 0) rotate(0deg);
    }
    40% {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.0) translate(-4px, -4px) rotate(60deg);
    }
    60% {
        opacity: 0.85 !important;
        transform: translate(-50%, -50%) scale(1.05) translate(-7px, -7px) rotate(120deg);
    }
    75% {
        opacity: 0.65 !important;
        transform: translate(-50%, -50%) scale(1.1) translate(-10px, -10px) rotate(180deg);
    }
    90% {
        opacity: 0.3 !important;
        transform: translate(-50%, -50%) scale(1.15) translate(-14px, -14px) rotate(240deg);
    }
    100% {
        opacity: 0 !important;
        visibility: hidden;
        transform: translate(-50%, -50%) scale(1.2) translate(-18px, -18px) rotate(300deg);
    }
}

@keyframes menuBurst2 {
    0% {
        opacity: 1 !important;
        visibility: visible;
        transform: translate(-50%, -50%) scale(0.9) translate(0, 0) rotate(0deg);
    }
    40% {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.0) translate(4px, 4px) rotate(-60deg);
    }
    60% {
        opacity: 0.85 !important;
        transform: translate(-50%, -50%) scale(1.05) translate(7px, 7px) rotate(-120deg);
    }
    75% {
        opacity: 0.65 !important;
        transform: translate(-50%, -50%) scale(1.1) translate(10px, 10px) rotate(-180deg);
    }
    90% {
        opacity: 0.3 !important;
        transform: translate(-50%, -50%) scale(1.15) translate(14px, 14px) rotate(-240deg);
    }
    100% {
        opacity: 0 !important;
        visibility: hidden;
        transform: translate(-50%, -50%) scale(1.2) translate(18px, 18px) rotate(-300deg);
    }
}

@keyframes menuBurst3 {
    0% {
        opacity: 1 !important;
        visibility: visible;
        transform: translate(-50%, -50%) scale(0.9) translate(0, 0) rotate(0deg);
    }
    40% {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.0) translate(4px, -4px) rotate(60deg);
    }
    60% {
        opacity: 0.85 !important;
        transform: translate(-50%, -50%) scale(1.05) translate(7px, -7px) rotate(120deg);
    }
    75% {
        opacity: 0.65 !important;
        transform: translate(-50%, -50%) scale(1.1) translate(10px, -10px) rotate(180deg);
    }
    90% {
        opacity: 0.3 !important;
        transform: translate(-50%, -50%) scale(1.15) translate(14px, -14px) rotate(240deg);
    }
    100% {
        opacity: 0 !important;
        visibility: hidden;
        transform: translate(-50%, -50%) scale(1.2) translate(18px, -18px) rotate(300deg);
    }
}

@keyframes menuBurst4 {
    0% {
        opacity: 1 !important;
        visibility: visible;
        transform: translate(-50%, -50%) scale(0.9) translate(0, 0) rotate(0deg);
    }
    40% {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.0) translate(-4px, 4px) rotate(-60deg);
    }
    60% {
        opacity: 0.85 !important;
        transform: translate(-50%, -50%) scale(1.05) translate(-7px, 7px) rotate(-120deg);
    }
    75% {
        opacity: 0.65 !important;
        transform: translate(-50%, -50%) scale(1.1) translate(-10px, 10px) rotate(-180deg);
    }
    90% {
        opacity: 0.3 !important;
        transform: translate(-50%, -50%) scale(1.15) translate(-14px, 14px) rotate(-240deg);
    }
    100% {
        opacity: 0 !important;
        visibility: hidden;
        transform: translate(-50%, -50%) scale(1.2) translate(-18px, 18px) rotate(-300deg);
    }
}

@keyframes menuBurst5 {
    0% {
        opacity: 1 !important;
        visibility: visible;
        transform: translate(-50%, -50%) scale(0.5) translate(0, 0) rotate(0deg);
    }
    40% {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(0.6) translate(3px, -5px) rotate(100deg);
    }
    60% {
        opacity: 0.85 !important;
        transform: translate(-50%, -50%) scale(0.7) translate(5px, -9px) rotate(200deg);
    }
    75% {
        opacity: 0.65 !important;
        transform: translate(-50%, -50%) scale(0.8) translate(7px, -13px) rotate(300deg);
    }
    90% {
        opacity: 0.3 !important;
        transform: translate(-50%, -50%) scale(0.9) translate(10px, -18px) rotate(400deg);
    }
    100% {
        opacity: 0 !important;
        visibility: hidden;
        transform: translate(-50%, -50%) scale(1.0) translate(12px, -22px) rotate(500deg);
    }
}

@keyframes menuBurst6 {
    0% {
        opacity: 1 !important;
        visibility: visible;
        transform: translate(-50%, -50%) scale(0.5) translate(0, 0) rotate(0deg);
    }
    40% {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(0.6) translate(-4px, -3px) rotate(-100deg);
    }
    60% {
        opacity: 0.85 !important;
        transform: translate(-50%, -50%) scale(0.7) translate(-7px, -6px) rotate(-200deg);
    }
    75% {
        opacity: 0.65 !important;
        transform: translate(-50%, -50%) scale(0.8) translate(-10px, -8px) rotate(-300deg);
    }
    90% {
        opacity: 0.3 !important;
        transform: translate(-50%, -50%) scale(0.9) translate(-14px, -11px) rotate(-400deg);
    }
    100% {
        opacity: 0 !important;
        visibility: hidden;
        transform: translate(-50%, -50%) scale(1.0) translate(-18px, -14px) rotate(-500deg);
    }
}

@keyframes magicCircle1 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0px, -25px) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, -25px) scale(1.3) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, -12px) scale(1.0) rotate(60deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, 12px) scale(1.0) rotate(120deg);
    }
    75% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, 25px) scale(1.0) rotate(180deg);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, 12px) scale(1.1) rotate(300deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0px, -25px) scale(0.8) rotate(360deg);
    }
}

@keyframes magicCircle2 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(22px, -12px) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, -12px) scale(1.3) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, 12px) scale(1.0) rotate(60deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, 25px) scale(1.0) rotate(120deg);
    }
    75% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, 12px) scale(1.0) rotate(180deg);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, -12px) scale(1.1) rotate(300deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(22px, -12px) scale(0.8) rotate(360deg);
    }
}

@keyframes magicCircle3 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(22px, 12px) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, 12px) scale(1.3) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, 25px) scale(1.0) rotate(60deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, 12px) scale(1.0) rotate(120deg);
    }
    75% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, -12px) scale(1.0) rotate(180deg);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, -25px) scale(1.1) rotate(300deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(22px, 12px) scale(0.8) rotate(360deg);
    }
}

@keyframes magicCircle4 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0px, 25px) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, 25px) scale(1.3) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, 12px) scale(1.0) rotate(60deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, -12px) scale(1.0) rotate(120deg);
    }
    75% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, -25px) scale(1.0) rotate(180deg);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, -12px) scale(1.1) rotate(300deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0px, 25px) scale(0.8) rotate(360deg);
    }
}

@keyframes magicCircle5 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(-22px, 12px) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, 12px) scale(1.3) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, -12px) scale(1.0) rotate(60deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, -25px) scale(1.0) rotate(120deg);
    }
    75% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, -12px) scale(1.0) rotate(180deg);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, 12px) scale(1.1) rotate(300deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(-22px, 12px) scale(0.8) rotate(360deg);
    }
}

@keyframes magicCircle6 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(-22px, -12px) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(-22px, -12px) scale(1.3) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, -25px) scale(1.0) rotate(60deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, -12px) scale(1.0) rotate(120deg);
    }
    75% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(22px, 12px) scale(1.0) rotate(180deg);
    }
    90% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0px, 25px) scale(1.1) rotate(300deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(-22px, -12px) scale(0.8) rotate(360deg);
    }
}

/* メニュー項目ホバー時のキラキラエフェクト */
.menu-list a .menu-sparkle {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    will-change: transform, opacity;
    content: '';
    font-size: 0;
    text-shadow: none;
    transform-origin: center center;
}

/* 各sparkleの初期位置をテキストの中心に配置（burstエフェクト用） */
.menu-list a:not(.has-ame) .menu-sparkle.sparkle1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-list a:not(.has-ame) .menu-sparkle.sparkle2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-list a:not(.has-ame) .menu-sparkle.sparkle3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-list a:not(.has-ame) .menu-sparkle.sparkle4 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-list a:not(.has-ame) .menu-sparkle.sparkle5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-list a:not(.has-ame) .menu-sparkle.sparkle6 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-list a .menu-sparkle.large {
    width: 7px;
    height: 7px;
}

.menu-list a .menu-sparkle.medium {
    width: 5px;
    height: 5px;
}

.menu-list a .menu-sparkle.small {
    width: 4px;
    height: 4px;
}

/* 花火エフェクト用に表示 */
.global-nav.showing .menu-list a .menu-sparkle {
    display: block;
}

/* 参考サイト方式：ランダムに生成されるキラキラエフェクト */
.menu-list a:not(.has-ame) .menu-sparkle.glitter {
    position: absolute;
    display: block !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
    animation: glitter 0.6s ease-out forwards;
}

/* 大きいサイズ */
.menu-list a:not(.has-ame) .menu-sparkle.glitter.large {
    width: 13px;
    height: 13px;
}

/* 小さいサイズ */
.menu-list a:not(.has-ame) .menu-sparkle.glitter.small {
    width: 10px;
    height: 10px;
}

/* キラキラが発生するアニメーション（参考サイト方式） */
@keyframes glitter {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* 6方向に分散：上、右下、左下、右、左、下 */
@keyframes menuItemSparkle1 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translate(0px, -100px) rotate(360deg);
    }
}

@keyframes menuItemSparkle2 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3) rotate(-180deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translate(87px, 50px) rotate(-360deg);
    }
}

@keyframes menuItemSparkle3 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.4) rotate(90deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translate(-87px, 50px) rotate(270deg);
    }
}

@keyframes menuItemSparkle4 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3) rotate(-90deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translate(100px, 0px) rotate(-270deg);
    }
}

@keyframes menuItemSparkle5 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.6) rotate(225deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translate(-100px, 0px) rotate(405deg);
    }
}

@keyframes menuItemSparkle6 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.4) rotate(-225deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translate(0px, 100px) rotate(-405deg);
    }
}

/* メニュー5のhover時の画像表示 */
.menu-list a .menu-move-image {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    width: 50px;
    height: 50px;
    background-image: url('../images/common/menu_move01.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    bottom: 0;
    right: 0;
    transform: translate(0, 100%) scale(0);
    transform-origin: bottom right;
}

.menu-list a:hover .menu-move-image {
    animation: menuMoveImagePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes menuMoveImagePop {
    0% {
        opacity: 0;
        transform: translate(0, 100%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(0, -10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

/* ボタンから出現するアニメーション - candy_rの中心から吹き出すように */
@keyframes menuAppearFromButton {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-20deg);
        transform-origin: calc(100% - 8px) 22.5px;
        border-radius: 95% 5% 95% 95%;
    }
    25% {
        opacity: 0.4;
        transform: scale(0.35) rotate(-12deg);
        border-radius: 85% 5% 85% 85%;
    }
    50% {
        opacity: 0.7;
        transform: scale(0.65) rotate(-8deg);
        border-radius: 60% 5% 60% 60%;
    }
    75% {
        opacity: 0.9;
        transform: scale(0.9) rotate(-5deg);
        border-radius: 40% 5% 30% 40%;
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(-3deg);
        transform-origin: calc(100% - 8px) 22.5px;
        border-radius: 1%;
    }
}

/* ボタンへ消えるアニメーション - candy_rの中心へ吸い込まれるように */
@keyframes menuDisappearToButton {
    0% {
        opacity: 1;
        transform: scale(1) rotate(-3deg);
        transform-origin: calc(100% - 8px) 22.5px;
        border-radius: 1%;
    }
    25% {
        opacity: 0.9;
        transform: scale(0.9) rotate(-5deg);
        border-radius: 40% 5% 30% 40%;
    }
    50% {
        opacity: 0.7;
        transform: scale(0.65) rotate(-8deg);
        border-radius: 60% 5% 60% 60%;
    }
    75% {
        opacity: 0.4;
        transform: scale(0.35) rotate(-12deg);
        border-radius: 85% 5% 85% 85%;
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(-25deg);
        transform-origin: calc(100% - 8px) 22.5px;
        border-radius: 95% 5% 95% 95%;
    }
}

/* メニューリストのフェードイン */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) rotate(3deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(3deg);
    }
}

/* メニューリストのフェードアウト */
@keyframes menuFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) rotate(3deg);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) rotate(3deg);
    }
}

/* スクロールダウンインジケーター */
.scroll-down {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out;
}

.scroll-down.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-down-text {
    font: 700 12px/1.2 "Noto Sans JP", system-ui, -apple-system, sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.scroll-down-indicator {
    position: relative;
    width: 1px;
    height: 60px;
    margin: 0 auto;
    background-color: #ffffff;
}

.scroll-down-indicator::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    height: auto;
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    animation: scrollBounceRotate 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollBounceRotate {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(45px) rotate(360deg);
    }
    100% {
        transform: translateX(-50%) translateY(0) rotate(360deg);
    }
}

/***** メインビジュアルセクション *****/
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    z-index: 1;
}

.mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/common/mv_bg.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: 1;
}

.main-visual img {
    position: absolute;
    z-index: 2;
    object-fit: contain;
}

/* 中央ロゴ */
.mv-logo-wrapper {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.mv-logo {
    transform: translate3d(-50%, -50%, 0) scale3d(0, 0, 1);
    transform-origin: center center;
    width: clamp(288px, 30vw, 576px);
    height: auto;
    z-index: 2;
    animation: logoScaleUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    -webkit-animation: logoScaleUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    position: relative;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


@keyframes logoScaleUp {
    0% {
        transform: translate3d(-50%, -50%, 0) scale3d(0, 0, 1);
        opacity: 0;
    }
    50% {
        transform: translate3d(-50%, -50%, 0) scale3d(1.1, 1.1, 1);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
        opacity: 1;
    }
}

@-webkit-keyframes logoScaleUp {
    0% {
        -webkit-transform: translate3d(-50%, -50%, 0) scale3d(0, 0, 1);
        opacity: 0;
    }
    50% {
        -webkit-transform: translate3d(-50%, -50%, 0) scale3d(1.1, 1.1, 1);
    }
    100% {
        -webkit-transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
        opacity: 1;
    }
}


/* 左側ペコ（ロゴの左側） */
.mv-peco-wrapper {
    position: absolute;
    top: 24%;
    left: calc(35% - clamp(160px, 15vw, 288px));
    transform: translate(-50%, -50%);
    z-index: 3;
}

.mv-peco {
    transform: translate3d(0, 0, 0) scale3d(0, 0, 1);
    transform-origin: center center;
    width: clamp(225px, 19.3vw, 371px);
    height: auto;
    animation: pecoScaleUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards, floatPecoRightUp 4s ease-in-out 1.4s infinite;
    -webkit-animation: pecoScaleUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards, floatPecoRightUp 4s ease-in-out 1.4s infinite;
    display: block;
    position: relative;
    z-index: 3;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ペコのパーティクルエフェクト */

.mv-peco-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(185.5px, 19.3vw, 371px);
    height: 100%;
    pointer-events: none;
}

.mv-peco-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ペコのキラキラの初期位置を個別に指定（右寄せ・上に移動） */
.mv-peco-sparkle.burst5 {
    top: 15%;
    left: 75%;
}
.mv-peco-sparkle.burst6 {
    top: 20%;
    left: 35%;
}
.mv-peco-sparkle.burst7 {
    top: 55%;
    left: 80%;
}
.mv-peco-sparkle.burst8 {
    top: 60%;
    left: 40%;
}
.mv-peco-sparkle.burst9 {
    top: 10%;
    left: 50%;
}

.mv-peco-sparkle.star {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.mv-peco-sparkle.star.small {
    width: 12px;
    height: 12px;
}

.mv-peco-sparkle.star::before {
    content: '';
}

.mv-peco-sparkle.dot {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.mv-peco-sparkle.dot.small {
    width: 12px;
    height: 12px;
}

.mv-peco-sparkle.burst5 {
    animation: mvPecoBurst5 1.0s ease-out 0.2s forwards;
    -webkit-animation: mvPecoBurst5 1.0s ease-out 0.2s forwards;
}
.mv-peco-sparkle.burst6 {
    animation: mvPecoBurst6 1.1s ease-out 0.2s forwards;
    -webkit-animation: mvPecoBurst6 1.1s ease-out 0.2s forwards;
}
.mv-peco-sparkle.burst7 {
    animation: mvPecoBurst7 1.0s ease-out 0.2s forwards;
    -webkit-animation: mvPecoBurst7 1.0s ease-out 0.2s forwards;
}
.mv-peco-sparkle.burst8 {
    animation: mvPecoBurst8 1.2s ease-out 0.2s forwards;
    -webkit-animation: mvPecoBurst8 1.2s ease-out 0.2s forwards;
}
.mv-peco-sparkle.burst9 {
    animation: mvPecoBurst9 1.05s ease-out 0.2s forwards;
    -webkit-animation: mvPecoBurst9 1.05s ease-out 0.2s forwards;
}
.mv-peco-sparkle.burst10 {
    animation: mvPecoBurst10 1.0s ease-out 0.3s forwards;
    -webkit-animation: mvPecoBurst10 1.0s ease-out 0.3s forwards;
}

/* 右側（ロゴの右側） */
.mv-dog-wrapper {
    position: absolute;
    top: 30%;
    left: calc(40% + clamp(144px, 15vw, 288px));
    transform: translate(-50%, -50%);
    z-index: 3;
}

.mv-dog {
    transform: translate3d(0, 0, 0) scale3d(0, 0, 1);
    transform-origin: center center;
    width: clamp(161.75px, 16.85vw, 323.5px);
    height: auto;
    animation: dogScaleUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards, floatDogLeftUp 4s ease-in-out 1.5s infinite;
    -webkit-animation: dogScaleUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards, floatDogLeftUp 4s ease-in-out 1.5s infinite;
    display: block;
    position: relative;
    z-index: 3;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 犬のパーティクルエフェクト */

.mv-dog-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(161.75px, 16.85vw, 323.5px);
    height: 100%;
    pointer-events: none;
}

.mv-dog-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 犬のキラキラの初期位置を個別に指定（広げる） */
.mv-dog-sparkle.burst5 {
    top: 15%;
    left: 75%;
}
.mv-dog-sparkle.burst6 {
    top: 50%;
    left: 5%;
}
.mv-dog-sparkle.burst7 {
    top: 85%;
    left: 80%;
}
.mv-dog-sparkle.burst8 {
    top: 90%;
    left: 10%;
}
.mv-dog-sparkle.burst9 {
    top: 10%;
    left: 20%;
}

.mv-dog-sparkle.star {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.mv-dog-sparkle.star.small {
    width: 12px;
    height: 12px;
}

.mv-dog-sparkle.star::before {
    content: '';
}

.mv-dog-sparkle.dot {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.mv-dog-sparkle.dot.small {
    width: 12px;
    height: 12px;
}

.mv-dog-sparkle.burst5 {
    animation: mvDogBurst5 1.0s ease-out 0.3s forwards;
    -webkit-animation: mvDogBurst5 1.0s ease-out 0.3s forwards;
}
.mv-dog-sparkle.burst6 {
    animation: mvDogBurst6 1.1s ease-out 0.3s forwards;
    -webkit-animation: mvDogBurst6 1.1s ease-out 0.3s forwards;
}
.mv-dog-sparkle.burst7 {
    animation: mvDogBurst7 1.0s ease-out 0.3s forwards;
    -webkit-animation: mvDogBurst7 1.0s ease-out 0.3s forwards;
}
.mv-dog-sparkle.burst8 {
    animation: mvDogBurst8 1.2s ease-out 0.3s forwards;
    -webkit-animation: mvDogBurst8 1.2s ease-out 0.3s forwards;
}
.mv-dog-sparkle.burst9 {
    animation: mvDogBurst9 1.05s ease-out 0.3s forwards;
    -webkit-animation: mvDogBurst9 1.05s ease-out 0.3s forwards;
}
.mv-dog-sparkle.burst10 {
    animation: mvDogBurst10 1.0s ease-out 0.4s forwards;
    -webkit-animation: mvDogBurst10 1.0s ease-out 0.4s forwards;
}

@keyframes pecoScaleUp {
    0% {
        transform: translate3d(0, 0, 0) scale3d(0, 0, 1) rotate(-10deg);
        opacity: 0;
    }
    30% {
        transform: translate3d(0, 0, 0) scale3d(1.15, 1.15, 1) rotate(8deg);
    }
    60% {
        transform: translate3d(0, 0, 0) scale3d(0.95, 0.95, 1) rotate(-3deg);
    }
    80% {
        transform: translate3d(0, 0, 0) scale3d(1.05, 1.05, 1) rotate(2deg);
    }
    95% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
}

@-webkit-keyframes pecoScaleUp {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(0, 0, 1) rotate(-10deg);
        opacity: 0;
    }
    30% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1.15, 1.15, 1) rotate(8deg);
    }
    60% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(0.95, 0.95, 1) rotate(-3deg);
    }
    80% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1.05, 1.05, 1) rotate(2deg);
    }
    95% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes dogScaleUp {
    0% {
        transform: translate3d(0, 0, 0) scale3d(0, 0, 1) rotate(10deg);
        opacity: 0;
    }
    30% {
        transform: translate3d(0, 0, 0) scale3d(1.15, 1.15, 1) rotate(-8deg);
    }
    60% {
        transform: translate3d(0, 0, 0) scale3d(0.95, 0.95, 1) rotate(3deg);
    }
    80% {
        transform: translate3d(0, 0, 0) scale3d(1.05, 1.05, 1) rotate(-2deg);
    }
    95% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
}

@-webkit-keyframes dogScaleUp {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(0, 0, 1) rotate(10deg);
        opacity: 0;
    }
    30% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1.15, 1.15, 1) rotate(-8deg);
    }
    60% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(0.95, 0.95, 1) rotate(3deg);
    }
    80% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1.05, 1.05, 1) rotate(-2deg);
    }
    95% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes mvPecoBurst5 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, -25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(15px, -20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(25px, -35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(75px, -110px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(78px, -115px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(80px, -120px); }
}
@-webkit-keyframes mvPecoBurst5 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, -25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(15px, -20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(25px, -35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(75px, -110px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(78px, -115px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(80px, -120px); }
}

@keyframes mvPecoBurst6 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-10px, -7px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-20px, -14px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-82px, -56px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-86px, -58px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-90px, -60px); }
}
@-webkit-keyframes mvPecoBurst6 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-10px, -7px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-20px, -14px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-82px, -56px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-86px, -58px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-90px, -60px); }
}

@keyframes mvPecoBurst7 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, 25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(18px, 20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(30px, 35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(120px, 140px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(125px, 145px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(130px, 150px); }
}
@-webkit-keyframes mvPecoBurst7 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, 25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(18px, 20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(30px, 35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(120px, 140px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(125px, 145px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(130px, 150px); }
}

@keyframes mvPecoBurst8 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, 20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, 9px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, 18px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, 74px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, 78px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, 80px); }
}
@-webkit-keyframes mvPecoBurst8 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, 20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, 9px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, 18px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, 74px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, 78px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, 80px); }
}

@keyframes mvPecoBurst9 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-10px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, -15px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, -30px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, -120px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, -125px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, -130px); }
}
@-webkit-keyframes mvPecoBurst9 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-10px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, -15px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, -30px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, -120px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, -125px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, -130px); }
}

@keyframes mvPecoBurst10 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(25px, 0px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(20px, 0px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(35px, 0px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(140px, 0px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(145px, 0px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(150px, 0px); }
}
@-webkit-keyframes mvPecoBurst10 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(25px, 0px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(20px, 0px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(35px, 0px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(140px, 0px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(145px, 0px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(150px, 0px); }
}

/* mv-logo用のキラキラアニメーション - 削除済み */

@keyframes mvDogBurst5 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, -25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(15px, -20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(25px, -35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(75px, -110px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(78px, -115px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(80px, -120px); }
}
@-webkit-keyframes mvDogBurst5 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, -25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(15px, -20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(25px, -35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(75px, -110px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(78px, -115px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(80px, -120px); }
}

@keyframes mvDogBurst6 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-10px, -7px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-20px, -14px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-82px, -56px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-86px, -58px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-90px, -60px); }
}
@-webkit-keyframes mvDogBurst6 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-10px, -7px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-20px, -14px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-82px, -56px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-86px, -58px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-90px, -60px); }
}

@keyframes mvDogBurst7 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, 25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(18px, 20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(30px, 35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(120px, 140px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(125px, 145px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(130px, 150px); }
}
@-webkit-keyframes mvDogBurst7 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(20px, 25px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(18px, 20px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(30px, 35px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(120px, 140px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(125px, 145px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(130px, 150px); }
}

@keyframes mvDogBurst8 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, 20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, 9px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, 18px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, 74px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, 78px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, 80px); }
}
@-webkit-keyframes mvDogBurst8 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-15px, 20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, 9px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, 18px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, 74px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, 78px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, 80px); }
}

@keyframes mvDogBurst9 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-10px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, -15px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, -30px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, -120px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, -125px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, -130px); }
}
@-webkit-keyframes mvDogBurst9 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(-10px, -20px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(-8px, -15px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(-16px, -30px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(-64px, -120px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(-68px, -125px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(-70px, -130px); }
}

@keyframes mvDogBurst10 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(25px, 0px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(20px, 0px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(35px, 0px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(140px, 0px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(145px, 0px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(150px, 0px); }
}
@-webkit-keyframes mvDogBurst10 {
    0% { opacity: 0 !important; transform: translate(-50%, -50%) scale(0.5) translate(25px, 0px); }
    10% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.0) translate(20px, 0px); }
    20% { opacity: 1 !important; transform: translate(-50%, -50%) scale(1.2) translate(35px, 0px); }
    85% { opacity: 1 !important; transform: translate(-50%, -50%) scale(2.5) translate(140px, 0px); }
    95% { opacity: 0.5 !important; transform: translate(-50%, -50%) scale(2.7) translate(145px, 0px); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3) translate(150px, 0px); }
}

/* 左右のプレゼント */
.mv-present1 {
    left: 9%;
    top: 85%;
    max-width: 70px;
    max-height: 130px;
    position: absolute;
    animation: presentDrop1 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards;
    -webkit-animation: presentDrop1 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards;
    transform: translateY(-100px);
    opacity: 0;
    z-index: 2;
}

.mv-present2 {
    right: 14%;
    top: 85%;
    max-width: 80px;
    max-height: 108px;
    position: absolute;
    animation: presentDrop2 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s forwards;
    -webkit-animation: presentDrop2 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s forwards;
    transform: translateY(-100px);
    opacity: 0;
    z-index: 2;
}

.mv-milky4-1 {
    position: absolute;
    max-width: 100px;
    max-height: 100px;
    z-index: 2;
    animation: floatMilky4-1 4s ease-in-out infinite;
    -webkit-animation: floatMilky4-1 4s ease-in-out infinite;
}

.mv-milky4-2 {
    position: absolute;
    max-width: 60px;
    max-height: 60px;
    z-index: 2;
    animation: floatMilky4-2 4.2s ease-in-out infinite;
    -webkit-animation: floatMilky4-2 4.2s ease-in-out infinite;
}

@keyframes presentDrop1 {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    80% {
        transform: translateY(5px);
        opacity: 1;
    }
    90% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@-webkit-keyframes presentDrop1 {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    80% {
        transform: translateY(5px);
        opacity: 1;
    }
    90% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes presentDrop2 {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    80% {
        transform: translateY(5px);
        opacity: 1;
    }
    90% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@-webkit-keyframes presentDrop2 {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    80% {
        transform: translateY(5px);
        opacity: 1;
    }
    90% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ふわふわアニメーション */
@keyframes floatAme1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
@-webkit-keyframes floatAme1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatAme3 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
@-webkit-keyframes floatAme3 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatAme4 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}
@-webkit-keyframes floatAme4 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

@keyframes floatAme4Top {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
@-webkit-keyframes floatAme4Top {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* pecoとdogのふわふわアニメーション（異なる方向） */
@keyframes floatPecoRightUp {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
    }
    50% {
        transform: translate3d(5px, -6px, 0) scale3d(1, 1, 1) rotate(0deg);
    }
}
@-webkit-keyframes floatPecoRightUp {
    0%, 100% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
    }
    50% {
        -webkit-transform: translate3d(5px, -6px, 0) scale3d(1, 1, 1) rotate(0deg);
    }
}

@keyframes floatDogLeftUp {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
    }
    50% {
        transform: translate3d(-5px, -6px, 0) scale3d(1, 1, 1) rotate(0deg);
    }
}
@-webkit-keyframes floatDogLeftUp {
    0%, 100% {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0deg);
    }
    50% {
        -webkit-transform: translate3d(-5px, -6px, 0) scale3d(1, 1, 1) rotate(0deg);
    }
}

@keyframes floatMilky {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
@-webkit-keyframes floatMilky {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatMilky1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@-webkit-keyframes floatMilky1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatMilky5 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}
@-webkit-keyframes floatMilky5 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes floatMilky4-1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@-webkit-keyframes floatMilky4-1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatMilky4-2 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@-webkit-keyframes floatMilky4-2 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 星の回転アニメーション */
@keyframes rotateStar1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes rotateStar1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateStar4 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes rotateStar4 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateStar5 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes rotateStar5 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ふわふわ + ピコピコアニメーション（milky用） */
@keyframes floatFlutterMilky1 {
    /* 前半：滑らかなふわふわ */
    0% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-8px);
    }
    30% {
        transform: translateY(-10px);
    }
    45% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(0);
    }
    /* 後半：ピコピコ */
    65% {
        transform: translateY(-3px);
    }
    70% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-4px);
    }
    80% {
        transform: translateY(0);
    }
    85% {
        transform: translateY(-3px);
    }
    90% {
        transform: translateY(0);
    }
    95% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}
@-webkit-keyframes floatFlutterMilky1 {
    /* 前半：滑らかなふわふわ */
    0% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-8px);
    }
    30% {
        transform: translateY(-10px);
    }
    45% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(0);
    }
    /* 後半：ピコピコ */
    65% {
        transform: translateY(-3px);
    }
    70% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-4px);
    }
    80% {
        transform: translateY(0);
    }
    85% {
        transform: translateY(-3px);
    }
    90% {
        transform: translateY(0);
    }
    95% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes floatFlutterMilky2 {
    /* 前半：滑らかなふわふわ */
    0% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-10px);
    }
    30% {
        transform: translateY(-12px);
    }
    45% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(0);
    }
    /* 後半：ピコピコ */
    65% {
        transform: translateY(-4px);
    }
    70% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-5px);
    }
    80% {
        transform: translateY(0);
    }
    85% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(0);
    }
    95% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}
@-webkit-keyframes floatFlutterMilky2 {
    /* 前半：滑らかなふわふわ */
    0% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-10px);
    }
    30% {
        transform: translateY(-12px);
    }
    45% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(0);
    }
    /* 後半：ピコピコ */
    65% {
        transform: translateY(-4px);
    }
    70% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-5px);
    }
    80% {
        transform: translateY(0);
    }
    85% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(0);
    }
    95% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes floatFlutterMilky5 {
    /* 前半：滑らかなふわふわ */
    0% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-11px);
    }
    30% {
        transform: translateY(-14px);
    }
    45% {
        transform: translateY(-11px);
    }
    60% {
        transform: translateY(0);
    }
    /* 後半：ピコピコ */
    65% {
        transform: translateY(-4px);
    }
    70% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-5px);
    }
    80% {
        transform: translateY(0);
    }
    85% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(0);
    }
    95% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}
@-webkit-keyframes floatFlutterMilky5 {
    /* 前半：滑らかなふわふわ */
    0% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-11px);
    }
    30% {
        transform: translateY(-14px);
    }
    45% {
        transform: translateY(-11px);
    }
    60% {
        transform: translateY(0);
    }
    /* 後半：ピコピコ */
    65% {
        transform: translateY(-4px);
    }
    70% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-5px);
    }
    80% {
        transform: translateY(0);
    }
    85% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(0);
    }
    95% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 左上の要素 */
.mv-ame1 {
    top: 30%;
    left: 3%;
    max-width: 80px;
    max-height: 80px;
    position: absolute;
    animation: floatAme1 3s ease-in-out infinite;
    -webkit-animation: floatAme1 3s ease-in-out infinite;
}

.mv-milky2 {
    top: 12%;
    left: 8%;
    max-width: 90px;
    max-height: 90px;
    position: absolute;
    animation: floatMilky 4s ease-in-out infinite;
    -webkit-animation: floatMilky 4s ease-in-out infinite;
}

.mv-ame4-top {
    top: 3%;
    left: 15%;
    max-width: 100px;
    max-height: 100px;
    position: absolute;
    animation: floatAme4Top 3.5s ease-in-out infinite;
    -webkit-animation: floatAme4Top 3.5s ease-in-out infinite;
}

.mv-stars4 {
    top: 10%;
    left: 28%;
    max-width: 70px;
    max-height: 70px;
    position: absolute;
}

/* 右上の要素 */
.mv-milky1 {
    top: 5%;
    right: 20%;
    max-width: 100px;
    max-height: 100px;
    position: absolute;
    animation: floatMilky1 3.5s ease-in-out infinite;
    -webkit-animation: floatMilky1 3.5s ease-in-out infinite;
}

.mv-stars5 {
    top: 15%;
    right: 20%;
    max-width: 90px;
    max-height: 90px;
    position: absolute;
}

.mv-ame3 {
    top: 23%;
    right: 15%;
    max-width: 80px;
    max-height: 80px;
    position: absolute;
    animation: floatAme3 3.2s ease-in-out infinite;
    -webkit-animation: floatAme3 3.2s ease-in-out infinite;
}

.mv-stars1 {
    top: 20%;
    right: 5%;
    max-width: 50px;
    max-height: 50px;
    position: absolute;
}

/* ランダム回転用のクラス */
.mv-stars4.rotate-star,
.mv-stars5.rotate-star,
.mv-stars1.rotate-star {
    animation: rotateStarRandom 0.8s ease-in-out forwards;
    -webkit-animation: rotateStarRandom 0.8s ease-in-out forwards;
}

@keyframes rotateStarRandom {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes rotateStarRandom {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.mv-milky5 {
    top: 30%;
    right: 4%;
    max-width: 90px;
    max-height: 90px;
    position: absolute;
    animation: floatMilky5 4.2s ease-in-out infinite;
    -webkit-animation: floatMilky5 4.2s ease-in-out infinite;
}

.mv-ame4 {
    top: 43%;
    right: 3%;
    max-width: 100px;
    max-height: 100px;
    position: absolute;
    animation: floatAme4 3.8s ease-in-out infinite;
    -webkit-animation: floatAme4 3.8s ease-in-out infinite;
}

@media (min-width: 1025px) {
    .mv-logo {
        width: clamp(288px, 34.4vw, 1200px);
    }

    .mv-logo-sparkles {
        width: clamp(288px, 34.4vw, 1200px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .mv-peco-wrapper {
        left: calc(35% - clamp(160px, 19.1vw, 667px));
    }

    .mv-peco {
        width: clamp(225px, 26.9vw, 937px);
    }

    .mv-peco-sparkles {
        width: clamp(185.5px, 22.2vw, 772px);
    }

    .mv-dog-wrapper {
        left: calc(40% + clamp(144px, 17.2vw, 600px));
    }

    .mv-dog {
        width: clamp(161.75px, 19.3vw, 672px);
    }

    .mv-dog-sparkles {
        width: clamp(161.75px, 19.3vw, 672px);
    }

    .mv-ame1 {
        max-width: clamp(80px, 9.6vw, 333px);
        max-height: clamp(80px, 9.6vw, 333px);
    }

    .mv-milky2 {
        max-width: clamp(110px, 13.2vw, 460px);
        max-height: clamp(110px, 13.2vw, 460px);
    }

    .mv-ame4-top {
        max-width: clamp(100px, 12vw, 417px);
        max-height: clamp(100px, 12vw, 417px);
    }

    .mv-stars4 {
        max-width: clamp(70px, 8.4vw, 292px);
        max-height: clamp(70px, 8.4vw, 292px);
    }

    .mv-milky1 {
        max-width: clamp(120px, 14.4vw, 500px);
        max-height: clamp(120px, 14.4vw, 500px);
    }

    .mv-stars5 {
        max-width: clamp(75px, 9vw, 300px);
        max-height: clamp(75px, 9vw, 300px);
    }

    .mv-ame3 {
        max-width: clamp(80px, 9.6vw, 333px);
        max-height: clamp(80px, 9.6vw, 333px);
    }

    .mv-stars1 {
        max-width: clamp(50px, 6vw, 208px);
        max-height: clamp(50px, 6vw, 208px);
    }

    .mv-milky5 {
        max-width: clamp(110px, 13.2vw, 460px);
        max-height: clamp(110px, 13.2vw, 460px);
    }

    .mv-milky4-1 {
        max-width: clamp(100px, 12vw, 417px);
        max-height: clamp(100px, 12vw, 417px);
    }

    .mv-milky4-2 {
        max-width: clamp(60px, 7.2vw, 250px);
        max-height: clamp(60px, 7.2vw, 250px);
    }

    .mv-ame4 {
        max-width: clamp(100px, 12vw, 417px);
        max-height: clamp(100px, 12vw, 417px);
    }

    .mv-present1 {
        max-width: clamp(70px, 8.3vw, 290px);
        max-height: clamp(100px, 11.9vw, 410px);
    }

    .mv-present2 {
        max-width: clamp(80px, 9.5vw, 330px);
        max-height: clamp(85px, 10.1vw, 350px);
    }

    .scroll-down-text {
        font: 700 18px/1.2 "Noto Sans JP", system-ui, -apple-system, sans-serif;
        margin-bottom: 30px;
    }

    .scroll-down-indicator {
        height: 90px;
    }

    .scroll-down-indicator::before {
        font-size: 24px;
        animation: scrollBounceRotatePC 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }

    @keyframes scrollBounceRotatePC {
        0% {
            transform: translateX(-50%) translateY(0) rotate(0deg);
        }
        50% {
            transform: translateX(-50%) translateY(68px) rotate(360deg);
        }
        100% {
            transform: translateX(-50%) translateY(0) rotate(360deg);
        }
    }

    /* PCでハンバーガーメニュー展開時のサイズを1.5倍に */
    .global-nav {
        width: 600px !important;
        height: min(600px, calc(100vh - 50px)) !important;
        max-height: calc(100vh - 50px) !important;
        padding: 60px 45px !important;
        transform-origin: calc(100% - 12px) 33.75px !important;
        overflow: visible !important;
        z-index: 9999 !important; /* PCでメニューを最前面に */
    }

    .global-nav::after {
        width: 180px !important;
        height: 180px !important;
        bottom: -30.5px !important;
    }

    .menu-list {
        gap: 22.5px !important;
    }

    .menu-list a {
        font: 700 27px/1.2 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif !important;
        padding: 15px 22.5px !important;
    }

    .candy-menu.active ~ .site-logo,
    body.menu-open .site-logo {
        z-index: 997 !important;
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .main-visual {
        min-height: 600px;
        padding-bottom: 40px;
    }

    .mv-bg {
        background-image: url('../images/common/mv_bg_sp.png');
        background-size: contain;
        background-position: top center;
    }

    .mv-logo-wrapper {
        top: 43% !important;
    }

    .mv-logo {
        top: 50%;
        width: clamp(240px, 70vw, 576px);
    }

    .mv-logo-sparkles {
        width: clamp(240px, 70vw, 576px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .scroll-down {
        bottom: 0;
    }

    .mv-peco-wrapper {
        top: 47%;
        left: 1%;
        transform: translate(-50%, -50%);
    }

    .mv-peco {
        width: clamp(100px, 35vw, 371px);
    }

    .mv-dog-wrapper {
        top: 51%;
        left: 63%;
        transform: translate(-50%, -50%);
    }

    .mv-dog {
        width: clamp(90px, 32vw, 323.5px);
    }

    .mv-present1 {
        max-width: 70px;
        max-height: 80px;
        top: 70% !important;
        left: 3% !important;
        right: auto !important;
        bottom: auto !important;
    }

    .mv-present2 {
        max-width: 70px;
        max-height: 60px;
        top: 70% !important;
        right: 3% !important;
        left: auto !important;
        bottom: auto !important;
    }

    .mv-milky4-1 {
        max-width: clamp(100px, 26.7vw, 130px) !important;
        max-height: clamp(100px, 26.7vw, 130px) !important;
    }

    .mv-milky4-2 {
        max-width: clamp(70px, 18.7vw, 90px) !important;
        max-height: clamp(70px, 18.7vw, 90px) !important;
    }

    .mv-ame4-top,
    .mv-ame4,
    .mv-stars5 {
        display: none !important;
    }

    .mv-ame1,
    .mv-ame4,
    .mv-ame4-top {
        max-width: 60px;
        max-height: 60px;
    }

    .mv-milky1,
    .mv-milky5 {
        max-width: 105px;
        max-height: 105px;
    }
    
    .mv-milky2 {
        max-width: 90px;
        max-height: 90px;
    }

    .mv-milky1 {
        top: 12% !important;
        right: 20% !important;
        left: auto !important;
    }

    .mv-milky2 {
        top: 19% !important;
        left: 8% !important;
    }

    .mv-milky5 {
        top: 66% !important;
        right: 32% !important;
        left: auto !important;
    }

    .mv-ame3 {
        top: 23% !important;
        right: 5% !important;
        left: auto !important;
        max-width: 65px !important;
        max-height: 65px !important;
    }

    .mv-stars1 {
        top: 225px !important;
        right: 2% !important;
        left: auto !important;
    }

    .mv-stars1,
    .mv-stars4,
    .mv-stars5 {
        max-width: 45px;
        max-height: 45px;
    }

    .mv-stars4 {
        top: 11% !important;
        left: 33% !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
}

/* コンテンツエリア */
.content {
    padding: 0;
    position: relative;
		overflow: clip;
		box-sizing: border-box;
}
.content * {
	box-sizing: border-box;
}

.content-bg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.content img:not(.content-bg) {
    position: absolute;
    width: 80px;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease-in, left 0s, top 0s;
    will-change: transform, opacity;
}
/* SPで.pick-up .content-float.ame1を右に移動して小さく */
@media not all and (min-width: 768px) {
	.content section.pick-up img.content-float.ame1:not(.content-bg),
	.content .pick-up img.content-float.ame1:not(.content-bg),
	.content img.content-float.ame1:not(.content-bg) {
		width: 25vw !important;
		left: auto !important;
		right: -10vw !important;
		bottom: -9.2vw !important;
		top: auto !important;
		position: absolute !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}
/* SPで.calendarセクション内の.content-float.ameを非表示 */
@media not all and (min-width: 768px) {
	.content section.calendar img.content-float.ame:not(.content-bg),
	.content .calendar img.content-float.ame:not(.content-bg),
	.content .calendar img.ame.content-float:not(.content-bg) {
		/* display: none !important;
		visibility: hidden !important;
		opacity: 0 !important; */
	}
	/* カレンダースライダー内のame06を非表示 */
	.calendar .calendar-slider img[src*="ame06"],
	.calendar .swiper img[src*="ame06"],
	.calendar .calendar-slider .content-float.ame,
	.calendar .swiper .content-float.ame {
		display: none !important;
		visibility: hidden !important;
	}
}

.content .ame1 {
    top: 400px;
    left: 10%;
    animation: contentFloat1 3s ease-in-out infinite;
}

.content .ame2 {
    top: 800px;
    right: 15%;
    animation: contentFloat2 3.5s ease-in-out infinite;
}

.content .ame3 {
    top: 1200px;
    left: 25%;
    animation: contentFloat3 3.2s ease-in-out infinite;
}

.content .ame4 {
    top: 1800px;
    right: 20%;
    animation: contentFloat4 3.8s ease-in-out infinite;
}

.content .milky1 {
    top: 600px;
    left: 5%;
    animation: contentFloat5 3.3s ease-in-out infinite;
}
/* SPで.content .milky1を右に移動 */
@media not all and (min-width: 768px) {
	.content .milky1 {
		left: 60%;
	}
}
/* SPで.content .pick-up-character.content-floatを配置（top.cssで上書き） */

.content .milky2 {
    top: 1000px;
    right: 10%;
    animation: contentFloat1 3.6s ease-in-out infinite;
}

.content .milky3 {
    top: 1400px;
    left: 15%;
    animation: contentFloat2 3.4s ease-in-out infinite;
}

.content .milky4 {
    top: 2000px;
    right: 5%;
    animation: contentFloat3 3.7s ease-in-out infinite;
}

.content .milky5 {
    top: 2400px;
    left: 20%;
    animation: contentFloat4 3.9s ease-in-out infinite;
}

/* コンテンツ画像のふわふわアニメーション */
@keyframes contentFloat1 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(5px);
    }
}

@keyframes contentFloat2 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(-8px);
    }
}

@keyframes contentFloat3 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-18px) translateX(6px);
    }
}

@keyframes contentFloat4 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-22px) translateX(-5px);
    }
}

@keyframes contentFloat5 {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-16px);
    }
}


/* 動きを控える設定のユーザーには配慮 */
@media (prefers-reduced-motion: reduce) {
    .candy-menu,
    .candy-menu::before,
    .candy-menu::after,
    .candy01::before,
    .candy01::after,
    .candy_l,
    .candy_r,
    .global-nav,
    .menu-list,
    .content img:not(.content-bg) {
        animation: none !important;
    }
}

/* スマートフォン表示時のレスポンシブ対応 */
@media (max-width: 1024px) {
    :root {
        --size: clamp(70px, 12vw, 100px); /* w375: 70px, w572: 88px, w800: 100px */
    }
    
    .site-logo {
        left: 12px;
        top: -15px;
        width: 70px !important;
        height: 70px !important;
        transform: scale(1) !important;
    }

    /* SPでハンバーガーメニュー展開時、ロゴをピンク背景より後ろに */
    .candy-menu.active ~ .site-logo,
    body.menu-open .site-logo {
        z-index: 996 !important;
    }
    
    .candy-menu {
        right: 26px;
        top: 16px;
        width: clamp(70px, 12vw, 100px) !important; /* w375: 70px, w572: 88px, w800: 100px */
        height: clamp(70px, 12vw, 100px) !important;
    }
    
    .candy_c {
        width: clamp(55px, 7.8vw, 75px) !important; /* w375: 55px, w572: 60px, w800: 75px - 三本線とMENUテキストが収まるサイズ */
        height: clamp(55px, 7.8vw, 75px) !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .candy_l {
        height: clamp(41px, 5.8vw, 56px) !important; /* w375: 41px, w572: 45px, w800: 56px - candy_cに合わせて調整 */
        width: auto !important;
        left: -10px !important; /* デフォルト: 外側 */
        bottom: 6px !important;
        transform-origin: right center !important;
        animation: flapLeftDouble 4s ease-in-out infinite !important; /* アニメーションを有効化 */
        -webkit-animation: flapLeftDouble 4s ease-in-out infinite !important;
        animation-delay: 0s !important;
    }
    
    .candy_r {
        height: clamp(41px, 5.8vw, 56px) !important; /* w375: 41px, w572: 45px, w800: 56px - candy_cに合わせて調整 */
        width: auto !important;
        right: -11px !important; /* デフォルト: 外側 */
        top: 1px !important;
        transform-origin: left center !important;
        animation: flapRightDouble 4s ease-in-out infinite !important; /* アニメーションを有効化 */
        -webkit-animation: flapRightDouble 4s ease-in-out infinite !important;
        animation-delay: 0.1s !important;
        transition: transform 3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }
    
    /* w610以上～w910: 内側に配置 */
    @media (min-width: 610px) and (max-width: 910px) {
        .candy_l {
            left: -3px !important;
        }
        
        .candy_r {
            right: -4px !important;
            top: 1px !important;
        }
    }
    
    /* w910以上: 少し内側 */
    @media (min-width: 911px) {
        .candy_l {
            left: -10px !important;
        }
        
        .candy_r {
            right: -11px !important;
        }
    }
    
    .bars,
    .bars::before,
    .bars::after {
        width: clamp(20px, 2.8vw, 28px) !important; /* w375: 20px, w572: 24px, w800: 28px - candy_cに収まるサイズ */
        height: clamp(2.2px, 0.31vw, 2.8px) !important;
    }
    
    .bars {
        top: calc(50% - clamp(6px, 0.85vw, 8px)) !important; /* candy_cのサイズに比例して調整 */
    }
    
    .bars::before {
        top: clamp(-6px, -0.85vw, -8px) !important;
    }
    
    .bars::after {
        top: clamp(6px, 0.85vw, 8px) !important;
    }
    
    .label {
        font-size: clamp(7px, 1vw, 9.5px) !important; /* w375: 7px, w572: 8px, w800: 9.5px - candy_cに収まるサイズ */
        bottom: calc(50% - clamp(6px, 0.85vw, 8px) - clamp(10px, 1.4vw, 14px)) !important; /* candy_cのサイズに比例して三本線から固定距離（上に移動） */
        left: 50% !important;
        transform: translate3d(-50%, 0, 60px) !important;
    }
    
    .global-nav {
        width: min(360px, calc(100vw - 24px));
        height: min(360px, calc(100vw - 24px));
        aspect-ratio: 1 / 1;
        right: 12px;
        top: 12px;
        padding: 32px 18px;
    }
    
    .menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 5px 10px;
    }
    
    .menu-list li:nth-child(1) {
        grid-column: 1 / 3;
    }
    
    .menu-list li:nth-child(6) {
        grid-column: 1 / 3;
    }
    
    .menu-list a {
        font-size: clamp(16px, 5vw, 17px);
        font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
        padding: 10px 16px;
        justify-content: center;
        line-height: 1.35;
        margin: 0 auto 5px;
    }
    
    .close-icon {
        top: calc(33% - 8px);
    }
    
    .close-text {
        bottom: auto;
        top: calc(33% + 14px);
        font-size: 8px;
    }
    
    .global-nav::after {
        width: 135px;
        height: 135px;
        bottom: -30px;
    }
    
    .global-nav.showing::after {
        animation: pecoPopUpSP 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
    }
    
    @keyframes pecoPopUpSP {
        0% {
            opacity: 0;
            transform: translateX(-50%) translateY(100%) rotate(0deg) scale(0.5);
        }
        50% {
            opacity: 1;
            transform: translateX(-50%) translateY(-25px) rotate(0deg) scale(1.1);
        }
        100% {
            opacity: 1;
            transform: translateX(-50%) translateY(0px) rotate(0deg) scale(1);
        }
    }
}

/* 手書き風見出しサンプル */
.handwritten-demo {
    margin: 120px auto 0;
    max-width: 640px;
    padding: 62px 36px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(120deg, #ffd8eb, #ff9acb, #ffd8eb) border-box;
    border-radius: 28px;
    box-shadow: 0 40px 120px rgba(255, 105, 180, 0.35);
    text-align: center;
    font-family: 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
    border: 6px solid transparent;
    background-clip: padding-box, border-box;
    position: relative;
    overflow: hidden;
}

.handmade-peco {
    position: absolute;
    top: 48px;
    left: 18px;
    width: 120px;
    transform: rotate(-6deg);
    pointer-events: none;
    z-index: 2;
}

.handmade-peco img {
    display: block;
    width: 100%;
    height: auto;
}

.handmade-scribble {
    position: absolute;
    top: 24px;
    left: 28px;
    width: 120px;
    display: block;
    pointer-events: none;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 4px 8px rgba(255, 120, 180, 0.35));
    transform: rotate(-12deg);
}

.handmade-scribble--right {
    left: auto;
    right: 28px;
    transform: rotate(14deg);
}

.handmade-scribble img {
    display: block;
    width: 100%;
    height: auto;
}

.handwritten-star {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 2;
    animation: starFloat 4s ease-in-out infinite;
}

.handwritten-star img {
    width: 100%;
    height: auto;
    display: block;
    animation: starSpin 6.5s linear infinite;
}

.handwritten-star.star-left {
    top: 90px;
    left: 40px;
    width: 48px;
    animation-delay: 0.4s;
}

.handwritten-star.star-right {
    top: 60px;
    right: 60px;
    width: 36px;
    animation-delay: 1s;
}

.handwritten-demo::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 20px;
}
.handwritten-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(90deg, rgba(255, 226, 240, 0.8), rgba(255, 205, 225, 0.75));
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    padding: 4px 0;
}

.handwritten-marquee img {
    width: 120%;
    height: auto;
    animation: handwrittenScroll 14s linear infinite;
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(255, 120, 190, 0.35));
}

@keyframes handwrittenScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
    border: 2px dashed rgba(255, 174, 205, 0.65);
    pointer-events: none;
}

.handwritten-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(260px, 60vw);
    text-align: center;
    font-size: clamp(28px, 4vw, 56px);
    color: #F893B8;
    transform: rotate(-0.8deg);
    animation: wobble 3s ease-in-out infinite;
    margin: 0 auto;
    font-weight: 700;
    font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
    min-height: 110px;
    overflow: hidden;
}

.handwritten-title svg,
.handwritten-title span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handwritten-svg-line {
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 70%;
    max-width: 220px;
    height: 2px;
    background: rgba(255, 118, 155, 0.8);
    border-radius: 999px;
    transform: translateX(-50%);
    opacity: 1;
    pointer-events: none;
}

.handwritten-title svg {
    width: 70%;
    max-width: 220px;
    height: auto;
    animation: svgReveal 1.6s ease forwards;
    animation-fill-mode: forwards;
    display: block;
    transform-origin: left center;
    transform: scaleX(0);
}

.handwritten-title-text {
    opacity: 0;
    animation: titleTextFade 0.8s ease forwards 1.3s;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: #F893B8;
}

.handwritten-title::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    border-radius: 999px;
    pointer-events: none;
}

.handwritten-title::after {
    bottom: -2px;
    height: 2px;
    background: rgba(255, 118, 155, 1);
    border-radius: 999px;
    overflow: hidden;
}

.handwritten-base-line {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: -2px;
    height: 2px;
    background: #ff6fae;
    border-radius: 999px;
    pointer-events: none;
}

.handwritten-line-active {
    position: absolute;
    left: 0;
    width: 100%;
    top: auto;
    bottom: -2px;
    height: 3px;
    border-radius: 999px;
    pointer-events: none;
    mix-blend-mode: screen;
    overflow: hidden;
}

.handwritten-line-active::before {
    content: '';
    position: absolute;
    left: -40%;
    width: 40%;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0));
    border-radius: 999px;
    animation: underlineSlide 1.4s cubic-bezier(0.6, 0.04, 0.98, 0.335) infinite;
}

.handwritten-line-mid {
    position: absolute;
    left: 15%;
    width: 70%;
    top: auto;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(244, 78, 143, 0), rgba(244, 78, 143, 0.85), rgba(244, 78, 143, 0));
    border-radius: 999px;
    animation: underlineGlow 2.6s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.9;
}

.handwritten-title::after {
    position: relative;
}

.handwritten-title::after span {
    content: '';
}

.handwritten-demo p {
    margin: 28px 0 0;
    font-size: 16px;
    color: #7d2c50;
    line-height: 1.9;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.handwritten-items {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.handwritten-item {
    border: none;
    border-radius: 24px;
    padding: 18px 18px 20px;
    min-height: 140px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.04);
    color: #a05c7c;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    letter-spacing: 0.05em;
}

.handwritten-item-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: linear-gradient(145deg, #dbdbdb, #f5f5f5);
    position: relative;
}

.handwritten-item-thumb::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.handwritten-item span {
    display: block;
}

.handwritten-item p {
    margin: 0;
    font-size: 13px;
    color: #90506c;
    line-height: 1.6;
    text-align: center;
}

.handwritten-item button {
    margin-top: 4px;
    border: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)) padding-box,
        linear-gradient(120deg, #ffd0e8, #ff9ed0, #ff74ba) border-box;
    color: #b0305e;
    font-family: inherit;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(255, 145, 196, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.handwritten-item button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 145, 196, 0.55);
}

.handwritten-item button::before {
    content: '⬇';
    display: inline-block;
    margin-right: 6px;
    font-size: 12px;
}


.handwritten-flow {
    margin-top: 42px;
    width: calc(100% + 72px);
    margin-left: -36px;
    margin-right: -36px;
    height: 90px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, #ffd1e8, #ffbadc);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 0 12px rgba(255, 255, 255, 0.6),
        0 8px 26px rgba(255, 133, 186, 0.35);
}

.handwritten-flow img {
    position: absolute;
    left: 0;
    top: 50%;
    width: 160%;
    transform: translateY(-50%);
    animation: handwrittenFlow 16s linear infinite;
    opacity: 0.85;
}

@keyframes handwrittenFlow {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-50%);
    }
}

@keyframes wobble {
    0%, 100% { transform: rotate(-0.8deg); }
    50%      { transform: rotate(1deg); }
}

@keyframes highlight-swipe {
    0%   { transform: scaleX(0); opacity: 0; }
    20%  { opacity: 1; }
    60%  { transform: scaleX(1); }
    100% { transform: scaleX(1); opacity: 0.4; }
}


@keyframes underlineSlide {
    0% {
        transform: translateX(-60%);
        opacity: 0;
    }
    100% {
        transform: translateX(60%);
        opacity: 1;
    }
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.9;
    }
}

@keyframes starFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes starSpin {
    0% {
        transform: rotate(0deg);
    }
    40% {
        transform: rotate(0deg);
    }
    45% {
        transform: rotate(360deg);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes svgReveal {
    0% {
        opacity: 1;
        transform: scaleX(0);
        visibility: visible;
    }
    70% {
        opacity: 1;
        transform: scaleX(1);
        visibility: visible;
    }
    85% {
        opacity: 0.6;
        transform: scaleX(1);
        visibility: visible;
    }
    100% {
        opacity: 0;
        transform: scaleX(1);
        visibility: hidden;
    }
}

@keyframes titleTextFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ページトップへ戻るボタン */
.to-top-button {
    position: fixed;
    right: -100px;
    bottom: -100px;
    width: 88px;
    height: 88px;
    background-color: transparent;
    background-image: url('../images/common/totop.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.to-top-button.show {
    opacity: 1;
    pointer-events: auto;
    right: 12px;
    bottom: 24px;
    transition: opacity 0.6s ease-out, right 0s, bottom 0s;
    animation: toTopFloatIn 2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               toTopFloat 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 2s;
}

@keyframes toTopFloatIn {
    0% {
        right: -100px;
        bottom: -100px;
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    100% {
        right: 12px;
        bottom: 24px;
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

.to-top-button.show:hover {
    animation: toTopFloat 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 2s;
}

@keyframes toTopFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) translateX(1px) rotate(1deg);
    }
}

/* SP表示時の調整 */
@media (max-width: 1024px) {
    .to-top-button {
        width: 88px;
        height: 88px;
        right: -100px;
        bottom: -100px;
    }

    .to-top-button.show {
        right: 12px;
        bottom: 20px;
        transition: opacity 0.6s ease-out, right 0s, bottom 0s;
        animation: toTopFloatInSP 2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
                   toTopFloat 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 2s;
    }

    @keyframes toTopFloatInSP {
        0% {
            right: -100px;
            bottom: -100px;
            transform: translateY(0) rotate(0deg);
            opacity: 0;
        }
        100% {
            right: 12px;
            bottom: 20px;
            transform: translateY(0) rotate(0deg);
            opacity: 1;
        }
    }

    .to-top-button.show:hover {
        animation: toTopFloat 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 2s;
    }
}

/* PC表示時の調整 */
@media (min-width: 1025px) {
    .to-top-button {
        width: 70px;
        height: 70px;
    }
}

.site-footer {
	height: 32vw;
	border-top: 10px solid #ffe96b;
    background-color: #69ccf6;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 2.1333vw;
}
@media (min-width: 768px) {
	.site-footer {
		height: 10.4167vw;
        row-gap: 1.3889vw;
	}
}
@media (min-width: 1440px) {
	.site-footer {
		height: 150px;
        row-gap: 20px;
	}
}
.footer-logo {
	margin: 0;
}
/* SPで.footer-logoの位置を少し下げる */
@media not all and (min-width: 768px) {
	.footer-logo {
		margin-top: 4vw;
	}
}
.no-luxy-transform {
	transform: none !important;
	animation: none !important;
	transition: none !important;
	will-change: auto !important;
	backface-visibility: visible !important;
	-webkit-backface-visibility: visible !important;
}
.copyright {
	margin: 0;
	font-size: 3.2vw;
	color: #fff;
	line-height: 1;
	font-weight: 700;
}
@media (min-width: 768px) {
	.copyright {
		font-size: 0.9722vw;
	}
}
@media (min-width: 1440px) {
	.copyright {
		font-size: 14px;
	}
}

@media (min-width: 768px) {
    .pc-hide-br {
        display: none;
    }
}
@media not all and (min-width: 768px) {
    .sp-hide-br {
        display: none;
    }
}

/* .page .content {
	position: relative;
}
.page .content::before {
	width: 75.7333vw;
	height: 67.3333vw;
	background-color: #f00;
	clip-path: ellipse(calc((258 / 375) * 100vw) calc((254 / 375) * 100vw) at 50% 115%);
	content: '\0020';
	display: block;
	position: absolute;
	top: -9.8667vw;
	left: 50%;
	z-index: 10;
	transform: translateX(-50%);
}
.page .wrapper {
	background-color: #fff;
	position: relative;
	z-index: 50;
} */

.pc-contents {
	display: none;
}
@media (min-width: 1240px) {
	.sp-contents {
		display: none;
	}
	.pc-contents {
		display: block;
	}
}

.button {
  height: 16vw;
	margin: 0 auto;
	border-radius: calc(infinity * 1px);
	border: 2px solid #000;
	box-shadow: 0 5px 0 rgb(0 0 0 / 1.0);
	overflow: hidden;
	position: relative;
	z-index: 100;
}
.button:hover {
	box-shadow: 0 0 0 rgb(0 0 0 / 1.0);
	transition: .3s;
}
.button__link {
	width: 100%;
	height: 100%;
	background-color: #fff;
	font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
	font-size: 4.8vw;
	font-weight: 800;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
}
.button__link:link {
	color: #000;
}
.button__link:visited {
	color: #000;
}
.button__link:hover {
	color: #000;
}
.button__link:focus {
	color: #000;
}
@media (min-width: 768px) {
	.button {
		height: 5.5556vw;
	}
	.button__link {
		font-size: 1.6667vw;
		letter-spacing: 0.08em;
	}
}
@media (min-width: 1440px) {
	.button {
		height: 80px;
	}
	.button__link {
		font-size: 24px;
	}
}

.button2 {
	width: 66.6667vw;
	height: 13.3333vw;
	margin: 0;
	border-radius: calc(infinity * 1px);
	border: 2px solid #000;
	overflow: hidden;
}
.button2__link {
	width: 100%;
	height: 100%;
	background-color: #fff;
	font-size: 4.2667vw;
	line-height: calc(19 / 16);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 2.6667vw;
}
.button2__link::before {
	width: 4.8vw;
	height: 4.8vw;
	background: url(../images/common/icon-arrow-right-orange.svg) no-repeat center / contain;
	content: '\0020';
	display: block;
}
.button2__link[download]::before {
	width: 5.3333vw;
	height: 4.8vw;
	background: #f00;
	content: '\0020';
	display: block;
}
.button2__link:link {
	color: #000;
}
.button2__link:visited {
	color: #000;
}
.button2__link:hover {
	color: #000;
}
.button2__link:focus {
	color: #000;
}
@media (min-width: 768px) {
	.button2 {
		width: 17.3611vw;
		height: 3.4722vw;
	}
	.button2:hover {
		border-width: 4px;
		transition: 0.3s;
	}
	.button2__link {
		font-size: 1.1111vw;
		column-gap: 0.6944vw;
	}
	.button2__link::before {
		width: 1.25vw;
		height: 1.25vw;
	}
	.button2__link[download]::before {
		width: 1.3889vw;
		height: 1.25vw;
	}
}
@media (min-width: 1440px) {
	.button2 {
		width: 250px;
		height: 50px;
	}
	.button2__link {
		font-size: 16px;
		column-gap: 10px;
	}
	.button2__link::before {
		width: 18px;
		height: 18px;
	}
	.button2__link[download]::before {
		width: 20px;
		height: 18px;
	}
}
.button-more {
	width: 80vw;
	height: 16vw;
	margin-top: 2vw;
	margin-bottom: 8vw;
	margin-left: auto;
	margin-right: auto;
	border: none;
	border-radius: calc(infinity * 1px);
	background-color: #00adec;
	font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
	font-size: 4.8vw;
	color: #fff;
	font-weight: 800;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}


.top-section {
  width: 100%;
  padding-top: 10.6667vw;
  margin-bottom: -9.3333vw;
  position: relative;
  box-sizing: border-box;
}
.top-section::before {
  width: 100%;
  height: 10.6667vw;
  content: '\0020';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  clip-path: ellipse(calc((520 / 375) * 100vw) calc((515 / 375) * 100vw) at 50% 1289%)
}
.top-section * {
  box-sizing: border-box;
}
.top-section__inner {
  padding-top: 8vw;
	/* padding-bottom: 52vw; */
	position: relative;
}
@media (min-width: 768px) {
  .top-section {
    padding-top: 10.4167vw;
    margin-top: -12.7778vw;
  }
  .top-section::before {
    height: 10.4167vw;
    clip-path: ellipse(calc((2000 / 1440) * 100vw) calc((2160 / 1440) * 100vw) at 50% 1440%);
  }
  .top-section__inner {
    padding: 0 1.3889vw 14.0278vw;
    padding-bottom: 9.7222vw;
  }
}
@media (min-width: 1440px) {
  .top-section {
    /* padding-top: 150px; */
    /* margin-top: -184px; */
  }
  .top-section__inner {
    padding: 0 0 140px;
  }
}


.follow-us.top-section {
  height: 78vw;
	margin-bottom: 0;
}
.follow-us.top-section::before {
	height: 8.6427vw;
	background: url(../images/common/follow-up-mask_sp.svg) no-repeat 50% 0 / 100% auto;
  clip-path: unset;
	top: 0.9vw;
}
.follow-us .top-section__inner {
  padding-top: 2.1333vw;
  padding-bottom: 40vw;
	background: #fff;
	position: relative;
	overflow: hidden;
}

.follow-us .top-section__inner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/common/bg-follow-us_sp.png) no-repeat 50% 33.2667vw / 58.6667vw auto;
	transform: scale(0.8);
	opacity: 0;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 0;
	pointer-events: none;
}

.follow-us .top-section__inner.is-visible::before {
	transform: scale(1);
	opacity: 1;
}
.follow-us .content-float.ame1 {
  width: 40.5139vw;
  top: -4.4444vw;
  right: -6.3vw;
  left: auto;
  display: none !important;
}
.follow-us .content-float.milky {
  bottom: -10.6667vw;
  left: -3.7333vw;
  animation: contentFloat1 3s ease-in-out infinite;
}
.follow-us .content-float.star {
  top: -8.5333vw;
  left: 7.4667vw;
  animation: contentFloat4 3.9s ease-in-out infinite;
}
@media (min-width: 768px) {
  .follow-us.top-section {
    height: 31vw;
		margin-bottom: 0;
  }
	.follow-us.top-section::before {
		height: 10.4167vw;
		background: url(../images/common/follow-up-mask_pc.svg) no-repeat 50% 0 / 100% auto;
		clip-path: unset;
		top: 0.2083vw;
	}
  .follow-us .top-section__inner {
    padding-top: 3.4722vw;
    padding-bottom: 12.4167vw;
    background: #fff;
  }
  .follow-us .top-section__inner::before {
    background: url(../images/common/bg-follow-us.png) no-repeat 50% 0 / 68.4722vw auto;
  }
  .follow-us .content-float.ame1 {
    width: 14.5139vw;
    top: 1.6667vw;
    right: auto;
    left: calc(50% + 37.3611vw);
    display: block !important;
  }
  .follow-us .content-float.milky {
    display: none;
  }
  .follow-us .content-float.star {
    width: 9.0278vw;
    top: -0.2778vw;
    left: calc(50% - 31.111vw);
  }
}
@media (min-width: 1440px) {
  .follow-us.top-section {
    /* height: 463px; */
		margin-bottom: 0;
  }
  .follow-us .top-section__inner {
    /* padding-top: 50px;
    padding-bottom: 150px; */
    background: #fff;
  }
  .follow-us .top-section__inner::before {
    background: url(../images/common/bg-follow-us.png) no-repeat 50% 0 / 986px auto;
  }
  .follow-us .content-float.ame1 {
    width: 209px;
    top: -4px;
    left: calc(50% + 448px);
  }
  .follow-us .content-float.star {
    width: 130px;
    top: -53px;
    left: calc(50% - 306px);
  }
}

.follow-us__title {
	margin: 0 0 5.3333vw;
	font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
	font-size: 4.8vw;
	color: #763914;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: center;
}
@media (min-width: 768px) {
  .follow-us__title {
    margin-bottom: 1.3889vw;
    font-size: 1.6667vw;
  }
}
@media (min-width: 1440px) {
  .follow-us__title {
    margin-bottom: 20px;
    font-size: 24px;
  }
}


.follow-us__list {
	padding: 0;
	margin: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, 13.3333vw);
  grid-template-rows: 13.3333vw;
	justify-content: center;
	column-gap: 4.2667vw;
}
@media (min-width: 768px) {
  .follow-us__list {
    grid-template-columns: repeat(5, 4.8611vw);
    grid-template-rows: 4.86111vw;
    column-gap: 2.0833vw;
  }
}
@media (min-width: 1440px) {
  .follow-us__list {
    grid-template-columns: repeat(5, 70px);
    grid-template-rows: 70px;
    column-gap: 30px;
  }
}

.follow-us__list img:not(.content-bg) {
	width: 100%;
	height: 100%;
	position: relative;
}
@media (min-width: 768px) {
	.follow-us__list-link:hover .follow-us__list-icon {
		animation: bnr_zoom .3s;
	}
}



.key-visual {
	width: 100%;
	background: #fff url(../images/common/bg-kv_sp.png) no-repeat 50% 0 / auto 100%;
	aspect-ratio: 375 / 300;
	min-height: 80vw; /* 画像読み込み前でも高さを確保（375/300 = 1.25, 100vw / 1.25 = 80vw） */
	position: relative;
}
.key-visual::before {
	width: 53.733vw;
	height: 9.6vw;
	background: url(../images/common/kv-mask_sp.svg) no-repeat 50% 100% / 100% auto;
	content: '\0020';
	display: block;
	position: absolute;
	bottom: -1px;
	left: 50%;
	z-index: 10;
	transform: translateX(-50%);
}
.key-visual::after {
	width: 100%;
	background: url(../images/common/crowd_sp.png) no-repeat 50% 0 / cover;
	content: '\0020';
	aspect-ratio: 750 / 120;
	display: block;
	position: absolute;
	bottom: -8vw;
	left: 0;
	z-index: 50;
}
.key-visual__contents {
	width: 100%;
	padding-top: 5.8667vw;
	margin: 0 auto;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: calc(-50% - 1.8667vw) -50%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.key-visual__logo {
	width: 34.6667vw;
	display: block;
	order: 2;
}
.key-visual__logo-image:not(.content-bg) {
	width: 100%;
	height: auto;
	position: relative;
}
.key-visual__logo-peco:not(.content-bg) {
	width: 29.5278vw;
	height: auto;
	margin: 4.8vw -2.667vw 0 0;
	order: 1;
}
.key-visual__logo-dog:not(.content-bg) {
	width: 21.1944vw;
	height: auto;
	margin: 13.1333vw 0 0 -1.3333vw;
	order: 3;
}

@media (min-width: 768px) {
	.key-visual {
		background: #fff url(../images/common/bg-kv_pc.png) no-repeat 50% 0 / cover;
		aspect-ratio: 1440 / 430;
		min-height: 29.8611vw; /* 画像読み込み前でも高さを確保（1440/430 = 3.3488, 100vw / 3.3488 ≈ 29.8611vw） */
	}
	.key-visual::before {
		width: 26.25vw;
		height: 4.6528vw;
		background: url(../images/common/kv-mask_pc.svg) no-repeat 50% 100% / 100% auto;
	}
	.key-visual::after {
		background: url(../images/common/crowd_pc.png) no-repeat 50% 0 / cover;
		aspect-ratio: 2880 / 636;
		bottom: -15.9722vw;
		transform-origin: center bottom;
		transform: scale(1);
		filter: blur(0);
		opacity: 1;
		transition: transform 0.3s ease-out, filter 0.3s ease-out, opacity 0.3s ease-out;
	}
	
	.key-visual:not(.crowd-animate)::after {
		transform: scale(1) !important;
		filter: blur(0) !important;
		opacity: 1 !important;
		transition: transform 0.3s ease-out, filter 0.3s ease-out, opacity 0.3s ease-out;
	}
	
	.key-visual.crowd-animate::after {
		transform: scale(var(--crowd-scale, 1.5));
		filter: blur(var(--crowd-blur, 20px));
		opacity: var(--crowd-opacity, 0);
		transition: transform 0.3s ease-out, filter 0.3s ease-out, opacity 0.3s ease-out;
	}
	.key-visual__contents {
		padding-top: 0;
		translate: calc(-50% - 2.5vw) calc(-50% - 0.2778vw);
	}
	.key-visual__logo {
		width: 41.6667vw;
	}
	.key-visual__logo-peco:not(.content-bg) {
		width: 14.7222vw;
		margin: 5.5556vw 0 0;
	}
	.key-visual__logo-dog:not(.content-bg) {
		width: 10.4167vw;
		margin: 11.1806vw 0 0 -0.3472vw;
	}
}
@media (min-width: 1440px) {
	.key-visual__contents {
		translate: calc(-50% - 36px) calc(-50% - 4px);
	}
	.key-visual__logo {
		width: 600px;
	}
	.key-visual__logo-peco:not(.content-bg) {
		width: 212px;
		margin-top: 80px;
	}
	.key-visual__logo-dog:not(.content-bg) {
		width: 150px;
		margin: 161px 0 0 -5px;
	}
}

.kv-ame1 {
	width: 19.5333vw;
	position: absolute;
	top: 18.0667vw;
	left: calc(50% + 27.8vw);
}
.kv-ame2 {
	width: 24.5333vw;
	position: absolute;
	top: 57.0667vw;
	left: calc(50% + 24.8vw);
}
.kv-star1 {
	width: 9.5333vw;
	position: absolute;
	top: 23.3667vw;
	left: calc(50% + 18.8vw);
}
.kv-star2 {
	width: 11.5333vw;
	position: absolute;
	top: 19.3667vw;
	left: calc(50% - 45.8vw);
}
.kv-star3 {
	position: absolute;
	display: none;
}
.kv-milky1 {
	width: 19.5333vw;
	position: absolute;
	top: 58.6667vw;
	left: calc(50% - 50.8vw);
}
.kv-milky2 {
	position: absolute;
	display: none;
}
.kv-milky3 {
	position: absolute;
	display: none;
}
@media (min-width: 768px) {
	.kv-ame1 {
		width: 11.1111vw;
		top: 2.9167vw;
		left: calc(50% + 22.5694vw);
	}
	.kv-ame2 {
		width: 13.5417vw;
		top: 13.4722vw;
		left: calc(50% + 33.3333vw);
	}
	.kv-star1 {
		width: 6.5972vw;
		top: 1.1806vw;
		left: calc(50% + 18.8194vw);
	}
	.kv-star2 {
		width: 5.7639vw;
		top: 9.3056vw;
		left: calc(50% - 47.0139vw);
	}
	.kv-star3 {
		width: 3.9583vw;
		top: 18.75vw;
		left: calc(50% - 15.5556vw);
		display: block;
	}
	.kv-milky1 {
		display: none;
	}
	.kv-milky2 {
		width: 11.3194vw;
		top: -3.9583vw;
		left: calc(50% - 31.1111vw);
		transform: rotate(-9deg);
		display: block;
	}
	.kv-milky3 {
		width: 10.4861vw;
		top: 18.4722vw;
		left: calc(50% - 44.0278vw);
		display: block;
	}
}
@media (min-width: 1440px) {
	/* .kv-ame1 {
		width: 160px;
		top: 42px;
		left: calc(50% + 325px);
	}
	.kv-ame2 {
		width: 195px;
		top: 194px;
		left: calc(50% + 480px);
	}
	.kv-star1 {
		width: 95px;
		top: 17px;
		left: calc(50% + 271px);
	}
	.kv-star2 {
		width: 83px;
		top: 134px;
		left: calc(50% - 677px);
	}
	.kv-star3 {
		width: 57px;
		top: 270px;
		left: calc(50% - 224px);
		display: block;
	}
	.kv-milky1 {
		display: none;
	}
	.kv-milky2 {
		width: 163px;
		top: -57px;
		left: calc(50% - 448px);
		transform: rotate(-9deg);
		display: block;
	}
	.kv-milky3 {
		width: 151px;
		top: 266px;
		left: calc(50% - 634px);
		display: block;
	} */
}

.page-contents {
  width: 100%;
  padding-top: 13.6vw;
  border-radius: 13.3333vw 13.3333vw 0 0;
	position: relative;
}
@media (min-width: 768px) {
  .page-contents {
		padding-top: 4.7222vw;
    border-radius: 10.41667vw 10.41667vw 0 0;
  }
}
@media (min-width: 1440px) {
  .page-contents {
    padding-top: 68px;
    border-radius: 150px 150px 0 0;
  }
}

.page-contents__bg {
  margin-bottom: 11vw;
  display: block;
}
.page-contents__bg img:not(.content-bg) {
  width: 100%;
  position: relative;
  transition: unset;
  vertical-align: top;
}
@media (min-width: 768px) {
  .page-contents__bg {
    margin-bottom: 4.3056vw;
  }
}
@media (min-width: 1440px) {
  .page-contents__bg {
    margin-bottom: 62px;
  }
}


.page-title {
	padding-bottom: 8vw;
	margin: 7.7333vw auto 4.2667vw;
	background-repeat: no-repeat;
	background-position: 50% 100%;
	background-size: 51.7333vw auto;
  font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
  font-size: 8vw;
  line-height: 1.2;
	text-align: center;
	font-weight: 800;
}
.page-title span {
	padding: 0 10.6667vw;
	background-repeat: no-repeat;
	background-position: 0 50%, 100% 50%;
	background-size: 5.8667vw auto, 5.8667vw auto;
	display: inline-flex;
}
@media (min-width: 768px) {
	.page-title {
		padding-bottom: 3.0556vw;
		margin-top: 5.2778vw;
		margin-bottom: 2.0139vw;
		background-size: 26.7361vw auto;
		font-size: 3.8194vw;
	}
	.page-title span {
		padding: 0 5.9722vw;
		background-size: 2.9861vw auto, 2.9861vw auto;
	}
}
@media (min-width: 1440px) {
	.page-title {
		padding-bottom: 44px;
		margin-top: 76px;
		margin-bottom: 29px;
		background-size: 385px auto;
		font-size: 55px;
	}
	.page-title span {
		padding: 0 86px;
		background-size: 43px auto, 43px auto;
	}
}

/* 下層ページのh1アニメーション */
.page-title.title-animate {
	opacity: 0;
	transform: translateY(30px) scale(0.95);
	transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-title.title-animate.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.lead {
	padding: 0 4.2667vw;
	margin-bottom: 10.1333vw;
	font-size: 4.2667vw;
	line-height: calc(28 / 16);
	text-align: center;
}
.lead p {
	margin: 0;
}
@media (min-width: 768px) {
	.lead {
		margin-bottom: 7.0833vw;
		font-size: 1.25vw;
		line-height: calc(36 / 18);
		letter-spacing: 0.05em;
	}
}
@media (min-width: 1440px) {
	.lead {
		margin-bottom: 102px;
		font-size: 18px;
	}
}

.page-section {
	/* padding-top: 6.4vw; */
	padding-bottom: 24vw;
	margin: 0;
  /* background-color: #fff; */
  position: relative;
}
.page-section::before {
	width: 100%;
  height: 8.5333vw;
	background-color: #fff;
  content: '\0020';
  display: block;
  position: absolute;
  top: -8.5333vw;
  left: 0;
  clip-path: ellipse(calc((550 / 375) * 100vw) calc((515 / 375) * 100vw) at 50% 1610%);
}
@media (min-width: 768px) {
	.page-section {
    padding-top: 0.9028vw;
		padding-bottom: 17.3611vw;
  }
	.page-section::before {
    height: 6.1806vw;
		top: -6.1806vw;
    clip-path: ellipse(calc((2569 / 1440) * 100vw) calc((2160 / 1440) * 100vw) at 50% 2428%);
  }
}
@media (min-width: 1440px) {
	.page-section {
    padding-top: 13px;
		padding-bottom: 250px;
  }
	.page-section::before {
		/* top: -109px; */
	}
}


.image-button {
  margin: 0;
  position: relative;
}
.image-button > img:not(.content-bg) {
  position: absolute;
  animation: unset;
}
.image-button__image {
  margin: 0;
  border-radius: 1.6vw;
  overflow: hidden;
}
.image-button__image img:not(.content-bg) {
  width: 100%;
  vertical-align: top;
  position: static;
}
.image-button__link {
  width: 100%;
  height: 100%;
  padding: 2.6667vw;
  border-radius: 2.6667vw;
  background: #ffa121 url(../images/common/arrow-white.svg) no-repeat 96% 50% / 5.3333vw auto;
  font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
  font-size: 5.8667vw;
  line-height: calc(26 / 22);
  font-weight: 800;
  letter-spacing: 0.05em;
  display: grid;
  grid-template-columns: calc((110 / 280) * 100%) calc((156 / 280) * 100%);
  column-gap: calc((14 / 280) * 100%);
  align-items: center;
}
.image-button__label {
  letter-spacing: 0.01em;
}
.image-button__link:link {
  color: #fff;
  text-decoration: none;
}
.image-button__link:visited {
  color: #fff;
  text-decoration: none;
}
.image-button__link:hover {
  color: #fff;
  text-decoration: none;
}
.image-button__link:focus {
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .image-button__link {
    padding: 0.9028vw;
    border-radius: 0.9722vw;
    background-size: 2.0833vw auto;
    font-size: 2.2222vw;
    line-height: calc(38 / 32);
  }
  .image-button--has-icon .image-button__link {
    background-position: calc(100% - 0.6944vw) calc(100% - 0.6944vw);
  }
	.image-button__link:hover img {
		animation: bnr_zoom .3s;
	}
  .image-button__image {
    border-radius: 0.625vw;
  }
}
@media (min-width: 1440px) {
  .image-button__link {
    padding: 13px;
    border-radius: 14px;
    background-size: 30px auto;
    font-size: 32px;
  }
  .image-button--has-icon .image-button__link {
    background-position: calc(100% - 10px) calc(100% - 10px);
  }
  .image-button__image {
    border-radius: 6px;
  }
}
.image-button .milky:not(.content-bg) {
  width: 19.2vw;
  top: -6.1333vw;
  right: 6.6667vw;
}
.image-button .ame:not(.content-bg) {
  width: 14.1333vw;
  top: -5.1333vw;
  right: -5.1333vw;
}
@media (min-width: 768px) {
	.image-button .milky:not(.content-bg) {
    width: 6.0417vw;
    top: 1.04167vw;
    right: 0.7639vw;
  }
  .image-button .ame:not(.content-bg) {
    width: 6.7361vw;
    top: -1.7361vw;
    right: -3.6111vw;
  }
}
@media (min-width: 1440px) {
  .image-button .milky:not(.content-bg) {
    width: 87px;
    top: 15px;
    right: 11px;
  }
  .image-button .ame:not(.content-bg) {
    width: 97px;
    top: -25px;
    right: -52px;
  }
}

.page-section__inner {
	position: relative;
}

.page-section__title {
	padding-bottom: 2.0833vw;
	margin: 0 auto 5.3333vw;
	line-height: 1.2;
	font-weight: 800;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}

.page-section__title .en {
	width: 91.4667vw;
	font-family: 'Rounded Mplus 1c', 'Yomogi', "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", sans-serif;
	font-size: 8vw;
	aspect-ratio: 686 / 110;
}

.page-section__title .jpn {
	font-size: 4.8vw;
	letter-spacing: 0.1em;
}
@media (min-width: 768px) {
	.page-section__title {
		margin-bottom: 0.8333vw;
	}
	.page-section__title .en {
		width: 52.9167vw;
		font-size: 3.8194vw;
		aspect-ratio: 762 / 122;
	}
	.page-section__title .jpn {
		font-size: 1.6667vw;
	}
}
@media (min-width: 1440px) {
	.page-section__title {
		margin-bottom: 12px;
	}
	.page-section__title .en {
		width: 762px;
		font-size: 55px;
	}
	.page-section__title .jpn {
		font-size: 24px;
	}
}

.fade-in {
	opacity: 0;
	transform: translateY(60px) scale(0.95);
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: opacity, transform;
	visibility: hidden;
}
.fade-in.is-show {
	opacity: 1;
	transform: translateY(0) scale(1);
	visibility: visible;
}

.zoom-in {
	transform: scale(0.8);
  opacity: 0;
}
.zoom-in.is-animated {
  animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* キービジュアルのかわいいギミック（全ページ共通） */
@keyframes logoPop {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    opacity: 1;
    transform: scale(1.15);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.key-visual__logo-image {
  animation: logoPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.key-visual__logo-peco {
  animation: float 3s ease-in-out infinite;
}

.key-visual__logo-dog {
  animation: float 2.5s ease-in-out infinite 0.5s;
}

.kv-star1,
.kv-star2,
.kv-star3 {
  animation: float 2.8s ease-in-out infinite;
}

.kv-star1 {
  animation-delay: 0s;
}

.kv-star2 {
  animation-delay: 0.7s;
}

.kv-star3 {
  animation-delay: 1.4s;
}

.kv-ame1,
.kv-ame2 {
  animation: float 2.6s ease-in-out infinite;
}

.kv-ame1 {
  animation-delay: 0.3s;
}

.kv-ame2 {
  animation-delay: 0.8s;
}

.kv-milky1,
.kv-milky2,
.kv-milky3 {
  animation: float 3.2s ease-in-out infinite;
}

.kv-milky1 {
  animation-delay: 0.2s;
}

.kv-milky2 {
  animation-delay: 0.6s;
}

.kv-milky3 {
  animation-delay: 1s;
}


.wrapper {
	position: relative;
}

.top-milky {
	width: 25.8676vw;
	margin: 0;
	position: absolute;
	bottom: 0;
	left: calc(50% - 13.3333vw);
	z-index: 150;
}
.top-milky img:not(.content_bg) {
	width: 100%;
	height: auto;
	position: static;
	transition: unset;
	vertical-align: top;
}
@media (min-width: 768px) {
	.top-milky {
		width: 12.2917vw;
		bottom:0.2778vw;
		left: calc(50% - 5.5556vw);
	}
}
@media (min-width: 1440px) {
	.top-milky {
		width: 177px;
		bottom: 4px;
		left: calc(50% - 80px);
	}
}


@keyframes infinity-scroll-left {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100%);
	}
}

.logo-scroll {
	margin-bottom: 14.4vw;
	display: flex;
	overflow: hidden;
}
.logo-scroll__item {
	display: flex;
	animation: infinity-scroll-left 360s infinite linear 0.5s both;
}
.logo-scroll__item p {
	width: 86.9333vw;
	margin: 0;
}
.logo-scroll__item p img:not(.content_bg) {
	width: 100%;
	position: static;
	vertical-align: top;
	transition: unset;
}
@media (min-width: 768px) {
	.logo-scroll {
		margin-bottom: 7.5vw;
	}
	.logo-scroll__item p {
		width: 46.8056vw;
	}
}
@media (min-width: 1440px) {
	.logo-scroll {
		margin-bottom: 108px;
	}
	.logo-scroll__item p {
		width: 674px;
	}
}