@charset "utf-8";

/* iframeの初期状態のスタイル */
iframe {
    opacity: 0; /* 透明 */
    transition: opacity 0.5s; /* 0.5秒かけて透明度が変わる */
}

/* iframeの表示状態のスタイル */
iframe.active {
    opacity: 1; /* 不透明 */
}


/* タイトルのスタイル */
.title_ranking {
    font-weight: bold;
    font-size: 1.5rem; /* 24px */
    text-align: center;
    margin-bottom: 1.25rem; /* 20px */
}

/* ランキングエリアの背景色 */
.ranking_area {
    background-color: #feecec; /* 薄いピンク */
    padding: 1.25rem 0; /* 20px */
}

/* 全体のコンテナを中心に配置するためのスタイル */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; /* コンテナの背景色を白に */
    padding: 0.625rem 0; /* 10px */
    border-radius: 0; /* 10px */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

/* ボタンの基本的なスタイル */
.btn-category {
    padding: 0.625rem 0.1875rem; /* 10px 3px */
    border: none;
    border-radius: 0.3125rem; /* 5px */
    background-color: transparent; /* 背景色を透明に */
    color: #FFC0CB; /* 文字色を薄いピンクに */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s; /* 色の変化を滑らかに */
    margin: 0 0.3125rem; /* 左右の間隔 5px */
}

.btn-category:hover {
    color: #FF69B4; /* ホバー時の文字色を濃いピンクに */
}

