@charset "UTF-8";

.idol {
    padding: 0;
    margin-bottom: 40px;
    background-color: #fff;
}

.idol-container {
    background-color: #FF6B00; 
    padding: 40px 20px;
}

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

/* セクション */
.idol-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) {
    .idol-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: #00A0E9;
    font-size: 1.6em;
    margin-bottom: 30px;
    position: relative;
    display: block;
}

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

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

/* アンケート */
.anketitle {
    font-size: 0.8em;
}

.anke p {
    text-align: center;
    padding-bottom: 10px;
}

.anke-box {
    text-align: center;
}

.anke-box p {
    font-size: 1.4em;
}

.marker {
    background: linear-gradient(transparent 50%, #5ec2b2 50%);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 50%;
    font-weight: bold;
}

.time {
    color: #f65400;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}

/* アンケート結果発表 */
.anke-result {
    position: relative;
    margin: 40px auto 30px;
    padding: 30px 20px;
    background: #ffffff; 
    border: 3px solid #FFD700; 
    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: #ff00de;
    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/idol/img/heart_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%;
    }
}

/* ランキング枠 */
.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;
}

/* アンケート結果：コメントエリア */
.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;
}

/* アーティスト名エリアの文字を右寄せ & 太字にする */
.anke-result-artist {
    margin-left: auto !important;
    text-align: right !important;
}

.anke-result-artist a {
    font-weight: bold !important;
}

/* キャンペーン紹介 */
.campaign-item {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-evenly;
}

.campaign-thumb {
    width: 300px;
    object-fit: cover;
    box-shadow: 0 10px 0px #ffb84d56;
}

.campaign-detail h3 {
    color: #333;
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    .campaign-item {
        flex-direction: column;
        text-align: center;
    }
    .campaign-thumb {
        width: 100%;
        height: auto;
    }
}

/* --- 楽曲紹介セクション：1列レイアウト --- */
.song-grid {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.song-card a {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.song-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #f65400;
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 楽曲テキスト情報 */
.song-info {
    overflow-wrap: anywhere; 
    word-break: normal;
}

.song-rank {
    display: block;
    font-size: 1.1em;
    color: #f65400;
    opacity: 0.8;
    line-height: 1.4;
    font-weight: bold;
}

.song-title {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

@media screen and (max-width: 767px) {
    .song-card a {
        display: block;
        padding: 30px 15px;
        box-shadow: 2px 2px 7px 1px #33333336;
    }

    .song-card:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: #f65400;
        transform: translateX(2px);
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    }

    .jacket-wrapper {
        height: auto;
        margin-right: 0; 
    }

    .song-info {
        margin-top: 15px;
    }
}

/* --- ピンクボタンエリア（反転 + 迫る アニメーション適用） --- */
.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: #ff00de;
    border: 2px solid #ff00de;
    border-radius: 5px;
    text-decoration: none;
    /* アニメーション用の変化設定 */
    transition: all 0.3s ease;
}

/* --- ピンクボタンエリア（中央寄せ + 反転 + 迫る） --- */
.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: #ff00de;
    border: 2px solid #ff00de;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ホバー時：反転 + 迫る */
.jp-page-anke-result-flexbox ul li a:hover {
    background-color: #fff;
    color: #ff00de;
    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%;
    }
}