.game-title .alt-char {
    display: inline-block;
    animation: jump 0.5s ease infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes jump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}.toc-title {
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    padding: 0.5rem 1rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    position: relative;
    border-radius: 4px;
    box-shadow: 3px 3px 0 var(--key-color-1);
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.toc-title .alt-char {
    color: var(--key-color-1);
}.alt-char {
    color: #ffffff !important;
    display: inline-block;
}

/* 以下の交互の色指定は無効化
.alt-char:nth-child(odd) {
    color: var(--key-color-1);
}

.alt-char:nth-child(even) {
    color: var(--key-color-2);
}
*//* miracle-stars.css */
:root {
    --key-color-1: #fc5f00;
    --key-color-2: #ffae01;
    --text-color: #000000;
    --bg-color-item: #ffffff;
}

body {
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    color: var(--text-color);
    line-height: 1.6;
    background-attachment: fixed;
    min-height: 100vh;
}
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px;
}
.container {
    max-width: 95%;
    width: 1000px;
    margin: 1rem auto;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 1.5rem;
}

h1 {
    color: var(--key-color-1);
    font-size: 2.2rem;
    text-shadow: 2px 2px 0px var(--key-color-2);
    margin: 0;
    padding: 0.8rem 0;
    animation: pulse 2s infinite;
}

.toc {
    background-color: var(--bg-color-item);
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 5px solid var(--key-color-1);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.toc h2 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: #ffffff;
    background-color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 3px 3px 0 var(--key-color-1);
}

.toc ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 0.4rem;
    transition: transform 0.2s;
}

.toc li:hover {
    transform: translateX(5px);
}

.toc a {
    color: var(--key-color-1);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    display: block;
    padding: 0.2rem 0;
}

.toc a:hover {
    color: var(--key-color-2);
    text-decoration: underline;
}

.section {
    background-color: var(--bg-color-item);
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

h2 {
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    padding: 0.5rem 1rem;
    margin-top: 0;
    position: relative;
    border-radius: 4px;
    box-shadow: 3px 3px 0 var(--key-color-1);
    border: none;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

h2 .alt-char {
    color: var(--key-color-1);
}

h2::after {
    content: "♪";
    position: absolute;
    right: 0;
    color: var(--key-color-2);
    font-size: 1.5rem;
}

strong {
    color: var(--key-color-1);
    font-weight: bold;
}

.game-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.game-list li {
    margin-bottom: 1.5rem;
    position: relative;
    border-left: 3px solid var(--key-color-2);
    padding-left: 1rem;
}

.game-list li::before {
    content: "♪";
    position: absolute;
    left: -1.5rem;
    color: var(--key-color-2);
    font-size: 1.2rem;
    top: 0;
}

.game-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    box-shadow: 2px 2px 0 var(--key-color-1);
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.game-title .alt-char {
    color: var(--key-color-1);
}

.footer {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: rgba(0, 0, 0, 0.7);
}

/* 画像スタイル */
figure {
    margin: 1.2rem 0;
    text-align: center;
    max-width: 100%;
}

figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

figure img:hover {
    transform: scale(1.01);
}

figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--key-color-1);
    font-style: italic;
}

/* アニメーション */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* 背景パターン */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.5;
}

/* ホバー効果の強調 */
.game-list li:hover .game-title {
    background-color: #232323;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--key-color-1);
    transition: all 0.3s ease;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        width: auto;
        max-width: 100%;
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 8px;
    }

    h1 {
        font-size: 1.8rem;
        padding: 0.5rem 0;
    }

    h2 {
        font-size: 1.4rem;
    }

    .section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .toc {
        padding: 1rem;
    }

    figure {
        margin: 1rem 0;
    }

    .game-list li {
        margin-bottom: 1rem;
    }

    .game-title {
        font-size: 1rem;
    }

    body {
        font-size: 0.95rem;
    }
}
/* 更新日時とSNSボタンのスタイル - グラデーション背景版 */
.article-info {
    margin: 1.5rem 0;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: 3px 3px 0 var(--key-color-1);
}

/* 時間アイコンをリズム天国風に */
.time-icon::before {
    content: "♪";
    color: #ffffff;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: pulse-beat 1.5s infinite;
}

@keyframes pulse-beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* 時間テキスト */
.time {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* イラレブックテキスト */
.kisho-lazy-text {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* シェアボタン領域 */
.share-buttons {
    display: flex;
    align-items: center;
}

/* シェアボタングループ */
.share-group {
    display: flex;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

/* シェアボタンに共通の装飾 */
.share-group > div {
    padding: 0.1rem;
    transition: transform 0.2s ease;
}

.share-group > div:hover {
    transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}
/* パンくずリスト部分のスタイル - グラデーション背景版 */
.breadcrumb-nav {
    margin: 1rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    border-radius: 8px;
    box-shadow: 3px 3px 0 var(--key-color-1);
    padding: 0.6rem 1rem;
    position: relative;
}

.breadcrumb::before {
    content: "♪";
    position: absolute;
    right: 10px;
    top: 5px;
    color: #ffffff;
    font-size: 1rem;
    opacity: 0.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: bounce-rhythm 2s infinite;
}

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

.breadcrumb-item {
    display: flex;
    align-items: center;
    margin-right: 0.3rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 8px solid #ffffff;
    border-bottom: 5px solid transparent;
    margin: 0 0.5rem;
}

.breadcrumb-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.breadcrumb-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.breadcrumb-link:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    animation: slide-in 0.3s forwards;
}

@keyframes slide-in {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.breadcrumb-item.active {
    position: relative;
}

.current-page {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.current-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shine 2s infinite;
    z-index: -1;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .breadcrumb-link, .current-page {
        font-size: 0.8rem;
        padding: 0.15rem 0.3rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        border-top: 4px solid transparent;
        border-left: 6px solid #ffffff;
        border-bottom: 4px solid transparent;
        margin: 0 0.3rem;
    }
}
/* おすすめ項目のスタイル - グラデーション背景版 */
#recommendations {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    border-radius: 10px;
    box-shadow: 0 4px 0 var(--key-color-1);
    position: relative;
    overflow: hidden;
}

#recommendations::before {
    content: "おすすめ";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: bold;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    border-bottom-right-radius: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#recommendations::after {
    content: "♪";
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #ffffff;
    font-size: 2rem;
    opacity: 0.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: float-note 4s ease-in-out infinite;
}

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

#recommendations a.push0 {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 1rem 0;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    color: #000000;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#recommendations a.push0:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

#recommendations a.push0:hover::before {
    content: "♪";
    position: absolute;
    right: 10px;
    color: var(--key-color-1);
    font-size: 1.2rem;
    animation: bounce-note 0.5s infinite;
}

@keyframes bounce-note {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

#recommendations img.sneak {
    width: 80px;
    height: auto;
    border-radius: 6px;
    margin-right: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#recommendations a.push0:hover img.sneak {
    border-color: var(--key-color-1);
    transform: scale(1.05);
}

/* リズム天国風のキラキラエフェクト */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

#recommendations a.push0::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: var(--key-color-2);
    border-radius: 50%;
    top: 10px;
    right: 10px;
    animation: sparkle 2s infinite;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #recommendations {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }

    #recommendations a.push0 {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem;
    }

    #recommendations img.sneak {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
/* フッター部分のスタイル - グラデーション背景版 */
.copy {
    background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 -4px 0 var(--key-color-1);
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.copy::before {
    content: "♪";
    position: absolute;
    top: 10px;
    right: 15px;
    color: #ffffff;
    font-size: 2rem;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

.copy::after {
    content: "♪";
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: #ffffff;
    font-size: 2rem;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

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

.contact-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.contact-info a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.contact-info a:hover::after {
    content: "♪";
    position: absolute;
    right: -12px;
    top: 0;
    color: #ffffff;
    animation: bounce 0.5s infinite;
}

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

.contact-info img {
    vertical-align: middle;
    margin-right: 5px;
}

.usage-terms {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
}

.usage-terms p {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 20px;
}

.usage-terms p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
}

.copyright {
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    padding-top: 0.5rem;
}

.copyright a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.copyright a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.copyright a img {
    vertical-align: middle;
    margin-right: 5px;
}

.push0 {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem !important;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.push0:hover {
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .copy {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .contact-info, .usage-terms {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .usage-terms p {
        padding-left: 15px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}
/* リズム天国風のド派手でヘンテコなh1タイトルアニメーション */
h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin: 1.5rem 0;
  padding: 1rem;
  color: transparent;
  background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  letter-spacing: 0.05em;
  overflow: hidden;
  animation:
    text-pop 0.5s ease forwards,
    text-color-bounce 3s ease-in-out infinite 0.5s,
    text-wobble 3.5s ease-in-out infinite 0.5s;
  transform-origin: center;
  display: inline-block;
  width: 100%;
  text-shadow: 5px 5px 0 var(--key-color-1);
}

h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 1;
  animation: shine-effect 3s ease-in-out infinite 1s;
}

h1::after {
  content: "♪";
  position: absolute;
  font-size: 2rem;
  color: var(--key-color-2);
  right: 10px;
  top: 0;
  opacity: 0;
  animation: note-bounce 3s ease-in-out infinite 0.7s;
}

/* テキストがポップアップするアニメーション */
@keyframes text-pop {
  0% {
    transform: scale(0) rotate(-10deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(5deg);
  }
  75% {
    transform: scale(0.9) rotate(-2deg);
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

/* テキストが跳ねるようなアニメーション */
@keyframes text-wobble {
  0%, 100% {
    transform: rotate(0) translateY(0);
  }
  25% {
    transform: rotate(-3deg) translateY(-5px);
  }
  75% {
    transform: rotate(3deg) translateY(5px);
  }
}

/* テキストの色が変わるアニメーション */
@keyframes text-color-bounce {
  0%, 100% {
    filter: hue-rotate(0deg) brightness(1);
    text-shadow: 5px 5px 0 var(--key-color-1);
  }
  33% {
    filter: hue-rotate(60deg) brightness(1.1);
    text-shadow: -5px 5px 0 var(--key-color-2);
  }
  66% {
    filter: hue-rotate(-60deg) brightness(1.1);
    text-shadow: 5px -5px 0 var(--key-color-1);
  }
}

/* キラキラ効果 */
@keyframes shine-effect {
  0% {
    left: -100%;
  }
  20%, 100% {
    left: 100%;
  }
}

/* 音符が跳ねるアニメーション */
@keyframes note-bounce {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0);
  }
  10% {
    opacity: 1;
  }
  40% {
    transform: translateY(-30px) rotate(20deg);
    opacity: 1;
  }
  60% {
    transform: translateY(-15px) rotate(-10deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-50px) rotate(30deg);
    opacity: 0;
  }
}

/* 追加のエフェクト：文字をそれぞれ個別にアニメーション */
h1 span {
  display: inline-block;
  animation: letter-dance 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes letter-dance {
  0%, 40%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-15px) scale(1.2);
  }
}

/* リズム天国風のカラフルなドットの飛び散り効果 */
h1::before, h1::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--key-color-1);
  animation: dot-fly 3s ease-in-out infinite;
  opacity: 0;
}

h1::before {
  top: -10px;
  left: 30%;
  animation-delay: 0.5s;
  background-color: var(--key-color-1);
}

h1::after {
  bottom: -10px;
  right: 30%;
  animation-delay: 1s;
  background-color: var(--key-color-2);
}

@keyframes dot-fly {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  30% {
    opacity: 1;
    transform: translate(var(--tx, -30px), var(--ty, -30px)) scale(1.2);
  }
  60% {
    opacity: 0.5;
    transform: translate(calc(var(--tx, -30px) * 2), calc(var(--ty, -30px) * 2)) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--tx, -30px) * 3), calc(var(--ty, -30px) * 3)) scale(0);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
    padding: 0.8rem;
  }
}
/* リズム天国風の飛び散るドットとノート */
.title-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: dot-fly 3s ease-in-out infinite;
  opacity: 0;
  z-index: 2;
}

.dot1 {
  top: 20%;
  left: 30%;
  background-color: var(--key-color-1);
  animation-delay: 0.5s;
}

.dot2 {
  top: 30%;
  right: 25%;
  background-color: var(--key-color-2);
  animation-delay: 1s;
}

.dot3 {
  bottom: 20%;
  left: 40%;
  background-color: #00b5ff;
  animation-delay: 1.5s;
}

.title-note {
  position: absolute;
  font-size: 2rem;
  color: var(--key-color-2);
  right: 10px;
  top: 0;
  opacity: 0;
  animation: note-bounce 3s ease-in-out infinite 0.7s;
  z-index: 2;
}
.twitter-share-button, .fb-share-button {
  display: none !important;
}

/* リズム天国動画のスタイル */
.rhythm-video-container {
  margin: 2rem auto;
  position: relative;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ec3bb6, #00b5ff, #1f5bf0);
  padding: 4px;
}

.rhythm-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9のアスペクト比 */
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.rhythm-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.rhythm-video-label {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  margin-top: 4px;
  border-radius: 6px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rhythm-video-icon {
  color: var(--key-color-1);
  margin: 0 0.5rem;
  font-size: 1.2rem;
  animation: bounce-rhythm 1.5s infinite alternate;
}

.rhythm-video-icon:last-child {
  animation-delay: 0.75s;
}

@keyframes bounce-rhythm {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-5px) scale(1.2);
  }
}

/* リズム天国風の装飾的な要素 */
.rhythm-video-container::before,
.rhythm-video-container::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--key-color-2);
  opacity: 0.6;
  z-index: -1;
}

.rhythm-video-container::before {
  top: -15px;
  right: -15px;
  animation: pulse 2s infinite;
}

.rhythm-video-container::after {
  bottom: -15px;
  left: -15px;
  animation: pulse 2s infinite 1s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.3;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .rhythm-video-container {
    margin: 1.5rem auto;
  }

  .rhythm-video-label {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }

  .rhythm-video-icon {
    font-size: 1rem;
  }
}
