
/*  20261108 セクション */
.anime-container section {
    background: #fff;
    border-radius: 0 30px 0;
    box-shadow: 0 15px 0 rgba(0, 0, 0, 0.1);
    border: 6px solid #fff;
    padding: 60px 40px;
    margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
    .anime-container section {
        padding: 40px 10px;
    }
}

h1 {
    color: #333;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    padding: 0 20px;
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 1.6em;
    }
}

h2 {
    text-align: center;
    color: #de4902;
    font-size: 1.6em;
    margin-bottom: 30px;
    position: relative;
    display: block;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #edc455;
    margin: 10px auto 0;
}

.anime-container p {
    font-size: 16px;
}


/* --- 20261108 ピンクボタンエリア（反転 + 迫る アニメーション適用） --- */
.jp-page-anke-result-flexbox ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    list-style: none;
    padding: 0;
}

.jp-page-anke-result-flexbox ul li {
    display: block;
    width: 48%;
    margin: 5px 0;
    box-sizing: border-box;
}

.jp-page-anke-result-flexbox ul li a {
    display: block;
    padding: 12px 10px;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #ff2554;
    border: 2px solid #ff2554;
    border-radius: 5px;
    text-decoration: none;
    /* アニメーション用の変化設定 */
    transition: all 0.3s ease;
}

/* --- 20261108 ピンクボタンエリア（中央寄せ + 反転 + 迫る） --- */
.jp-page-anke-result-flexbox ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ボタン全体を中央寄せ */
    gap: 15px;               /* ボタン同士の間隔 */
    align-items: center;
    margin: 20px 0;
    list-style: none;
    padding: 0;
}

.jp-page-anke-result-flexbox ul li {
    display: block;
    width: 48%;
    max-width: 300px; /* ボタンが広がりすぎないよう上限を設定 */
    margin: 0;
    box-sizing: border-box;
}

.jp-page-anke-result-flexbox ul li a {
    display: block;
    padding: 12px 10px;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #ff2554;
    border: 2px solid #ff2554;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ホバー時：反転 + 迫る */
.jp-page-anke-result-flexbox ul li a:hover {
    background-color: #fff;
    color: #ff2554;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 222, 0.3);
}

.jp-page-anke-result-flexbox ul li > a::before {
    display: none;
}

@media screen and (max-width: 767px) {
    .jp-page-anke-result-flexbox ul li {
        width: 100%;
        max-width: 100%;
    }

    .jp-page-anke-result-flexbox ul li a {
        padding: 12px 10px;
        font-size: 100%;
    }
}

/*  20261108 アンケート結果発表 */
.anke-result {
    position: relative;
    margin: 40px auto 30px;
    padding: 30px 20px;
    background: #ffffff; 
    border: 3px solid #edc455; 
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    .anke-result {
        margin: 25px 0 20px;
        padding: 20px 10px;
        border-width: 2px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    }
}

.anke-result p {
    text-align: center;
}

.anke-result h3 {
    color: #de4902;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.anke-result h3::before {
    content: url(https://files.joysound.cloud/files/a/private/s/karaoke/feature/animesong/img/star_icon.png);
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: -6px;
}

.anke-result img {
    text-align: center;
    display: block;
}

.anke-img {
    margin: 0 auto;
    width: 80%;
}

@media screen and (max-width: 767px) {
    .anke-img {
        width: 100%;
    }
}

/*  20261108 ランキング枠 */
.anke-result-rank {
    margin: 60px 0 30px;
}

.rank-song-info {
    flex-grow: 1;
    min-width: 0; 
}

.rank-song-title {
    font-weight: 700;
    font-size: 1.3em;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-artist-info {
    flex-grow: 1;
    min-width: 0; 
}

.rank-artist-name {
    font-weight: 700 !important;
    font-size: 1.3em;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* アクションアイコン */
.action-icon {
    margin-left: 12px;
    color: #a0aec0;
    flex-shrink: 0;
    cursor: pointer;
}

.rank-1 .action-icon {
    color: #f65400;
}

/*  --- 20261108 アンケート結果：コメントエリア */
.anke-result-comment {
    margin: 40px 0;
}

.anke-result-comment-title {
    margin-bottom: 20px;
}

.anke-result-comment-title img {
    width: 80%;
    margin: auto;
}

@media screen and (max-width: 767px) {
    .anke-result-comment-title img {
        width: 100%;
    }
}

.anke-result-commentbox {
    margin: 30px 0px;
}

.anke-result-songtitle {
    display: flex;
}

.anke-result-songtitle a {
    font-size: 1.3em;
    display: inline-block;
    margin-left: 8px;
    font-weight: bold;
    color: #333;
}

.anke-result-songtitle img {
    vertical-align: baseline;
    width: 50px;
    padding-right: 10px;
}

.anke-result-comment-txt {
    margin-top: 10px;
    font-size: 16px;
    text-indent: -1em;
    padding-left: 1em;
    padding-bottom: 1em;
    color: #333;
}

/* --- 20261108 曲名・アーティスト名の下に番組名を折り返す設定 */
.anke-result-commentbox > div:first-child {
  flex-wrap: wrap;
}

/* --- 20261108 番組名エリアのCSS */
.anke-result-tvprogram {
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
}

.anke-result-tvprogram h5 {
  margin: 0;
  font-size: 0.9em;
  font-weight: normal;
  color: #666;
}