/* マイページ専用スタイル */

.p-mypage__header {
    width: 100%;
    margin: 0 auto;
    max-width: calc(100% - 40px);
}
@media screen and (min-width: 768px) {
    .p-mypage__header {
        max-width: 87.8477306003vw;
    }
}
@media screen and (min-width: 1366px) {
    .p-mypage__header {
        max-width: 1200px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypage__header {
        position: relative;
    }
}
.p-mypageHeader__heading {
    margin-bottom: 40px;
}
.p-mypageHeader__btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    width: 100%;
    height: 74px;
    gap: 18px;
    margin-bottom: 0;
    position: relative;
}
@media screen and (min-width: 1024px) {
    .p-mypageHeader__btn {
        position: absolute;
        top: 30px;
        right: 0;
        width: 360px;
    }
}
.p-mypageHeader__btn:after {
    background: transparent url(../img/mypage/icon_triangle-w.svg) no-repeat
        center;
    background-size: contain;
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
}
.p-mypageHeader__btn:hover:after {
    background: transparent url(../img/mypage/icon_triangle-r.svg) no-repeat
        center;
    background-size: contain;
}
.p-mypageHeader__btn:hover .p-mypageHeader__icon {
    background: #cb2000;
}
.p-mypageHeader__icon {
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}
.p-mypageHeader__text {
    font-size: 15px;
    font-weight: 700;
}
.p-mypageHeader__news {
    background: #ffffff;
    box-shadow: 0px 0px 20px 0px rgba(90, 41, 0, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    position: relative;
    padding: 15px 55px 15px 20px;
    gap: 5px;
    margin-bottom: 10px;
}
.p-mypageHeader__news:after {
    background: transparent url(../img/common/icon_play.svg) no-repeat center;
    background-size: contain;
    border-radius: 50%;
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: all 0.25s ease;
}
.p-mypageHeader__news:hover {
    background: #fffdf2;
}
.p-mypageHeader__news:hover:after {
    right: 10px;
}
.p-mypageHeader__newsCategory {
    background: #bd5846;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}
@media screen and (min-width: 1024px) {
    .p-mypageHeader__newsContent {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }
}
.p-mypageHeader__newsDate {
    font-size: 12px;
}
.p-mypageHeader__newsText {
    margin-top: 5px;
    font-size: 15px;
    line-height: 150%;
}
@media screen and (min-width: 1024px) {
    .p-mypageHeader__newsText {
        margin-top: 0;
    }
}
.p-mypageHeader__newsSection {
    background-color: #f5f5f5;
    padding: 0 20px 30px 20px;
    border-radius: 20px;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
}
@media screen and (min-width: 768px) {
    .p-mypageHeader__newsSection {
        padding: 0 30px 40px 30px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageHeader__newsSection {
        padding: 0 40px 50px 40px;
    }
}

.p-mypage__new {
    background: #efebeb;
    padding: 40px 0;
}
@media screen and (min-width: 1024px) {
    .p-mypage__new {
        padding: 80px 0;
        margin-top: 0;
    }
}
.p-mypage__new .swiper-pagination-bullet {
    background: #d9d9d9;
}
.p-mypageNew__content {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: calc(100% - 40px);
}
@media screen and (min-width: 768px) {
    .p-mypageNew__content {
        max-width: 87.8477306003vw;
    }
}
@media screen and (min-width: 1366px) {
    .p-mypageNew__content {
        max-width: 1200px;
    }
}
.p-mypageNew__sliderWrapper {
    margin: 0 auto;
}
@media screen and (min-width: 1024px) {
    .p-mypageNew__sliderWrapper {
        max-width: 87.8477306003vw;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        gap: 15px;
    }
}
@media screen and (min-width: 1366px) {
    .p-mypageNew__sliderWrapper {
        max-width: 1200px;
    }
}
.p-mypageNew__sliderItem {
    background: #ffffff;
    box-shadow: 0px 0px 20px 0px rgba(90, 41, 0, 0.05);
    border-radius: 20px;
    padding: 10px 10px 20px;
    width: 100%;
}
@media screen and (min-width: 1024px) {
    .p-mypageNew__sliderItem {
        max-width: calc((100% - 30px) / 3);
    }
}

.p-mypage__recommend {
    background: #f5f5f5;
    padding: 40px 0 60px;
}
@media screen and (min-width: 1024px) {
    .p-mypage__recommend {
        padding: 50px 0 80px;
    }
}
/* 最近遊んだゲーム：シンプルなレスポンシブグリッド */
.p-mypageRecommend__container {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* 見切れ防止 */
}

.p-mypageRecommend__list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px; /* モバイル用の狭いgap */
    flex-wrap: nowrap; /* 横スクロールは避ける */
}

.p-mypageRecommend__item {
    flex: 1;
    min-width: 0; /* flex-shrinkを効かせるため */
    max-width: calc((100% - 12px) / 2); /* モバイル：2個表示 */
}

/* 3番目以降のアイテムをモバイルで非表示 */
.p-mypageRecommend__item--mobile-hidden {
    display: none;
}

/* PC表示（1024px以上） */
@media screen and (min-width: 1024px) {
    .p-mypageRecommend__list {
        gap: 24px; /* PC用の広いgap */
    }

    .p-mypageRecommend__item {
        max-width: calc((100% - 48px) / 3); /* PC：3個表示 */
    }

    /* PCでは3番目のアイテムも表示 */
    .p-mypageRecommend__item--mobile-hidden {
        display: block;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageRecommend__item .l-item__link {
        position: relative;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageRecommend__item .l-item__thumbnail {
        margin-bottom: 0;
    }
}
.p-mypageRecommend__item .-start {
    position: relative;
    width: 100%;
    bottom: 0;
    left: 0;
}
@media screen and (min-width: 1024px) {
    .p-mypageRecommend__item .-start {
        position: absolute;
        bottom: 10px;
        left: 10px;
        width: 148px;
    }
}

.p-mypage__mission {
    background: #f9f9f9 url(../img/mypage/bg_mission-sp.png) no-repeat top;
    background-size: contain;
    padding: 45px 0;
    overflow: hidden;
}
@media screen and (min-width: 1024px) {
    .p-mypage__mission {
        background: #f9f9f9;
        padding: 40px 0 80px;
        position: relative;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypage__mission:before {
        background: transparent url(../img/mypage/bg_mission_01-pc.png)
            no-repeat center;
        background-size: contain;
        content: "";
        width: 277px;
        height: 314px;
        position: absolute;
        top: 15px;
        right: -15px;
        z-index: 0;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypage__mission:after {
        background: transparent url(../img/mypage/bg_mission_02-pc.png)
            no-repeat center;
        background-size: contain;
        content: "";
        width: 672px;
        height: 561px;
        position: absolute;
        left: -15px;
        bottom: -90px;
        z-index: 0;
    }
}
.p-mypageMission__content {
    background: #ffffff;
    border-radius: 30px;
    padding: 20px 0;
}
@media screen and (min-width: 1024px) {
    .p-mypageMission__content {
        padding: 45px 0 40px;
        position: relative;
        z-index: 1;
    }
}
.p-mypageMission__contentItem:not(:last-of-type) {
    margin-bottom: 35px;
}
@media screen and (min-width: 1024px) {
    .p-mypageMission__contentItem:not(:last-of-type) {
        margin-bottom: 45px;
    }
}
.p-mypageMission__contentInner {
    margin: 0 auto;
    max-width: calc(100% - 30px);
}
@media screen and (min-width: 768px) {
    .p-mypageMission__contentInner {
        max-width: 79.0629575403vw;
    }
}
@media screen and (min-width: 1366px) {
    .p-mypageMission__contentInner {
        max-width: 1080px;
    }
}
.p-mypageMission__contentHeading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}
.p-mypageMission__list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 37px 15px;
}
@media screen and (min-width: 1024px) {
    .p-mypageMission__list {
        gap: 20px;
    }
}
.p-mypageMission__list.-unachieved {
    gap: 15px;
}
.p-mypageMission__item {
    width: 100%;
    max-width: calc((100% - 15px) / 2);
}
@media screen and (min-width: 1024px) {
    .p-mypageMission__item {
        max-width: calc((100% - 80px) / 5);
    }
}
.p-mypageMission__link {
    box-shadow: 0px 0px 30px 0px rgba(35, 24, 22, 0.1);
    display: block;
    position: relative;
}
.p-mypageMission__link:hover img {
    opacity: 0.8;
}
.p-mypageMission__thumbnail {
    border-radius: 10px;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.p-mypageMission__thumbnail img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    transition: all 0.25s ease;
}
.p-mypageMission__num {
    background: #cb2000;
    border: 4px solid #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    position: absolute;
    top: -16px;
    right: -4px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.p-mypageMission__more {
    margin-top: 20px;
}
@media screen and (min-width: 1024px) {
    .p-mypageMission__more {
        margin-top: 40px;
    }
}
.p-mypageMission__moreBtn {
    background: #ededed;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
    height: 60px;
    position: relative;
    transition: background 0.3s;
}
@media screen and (min-width: 1024px) {
    .p-mypageMission__moreBtn {
        max-width: none;
        height: 60px;
        font-size: 15px;
    }
}
.p-mypageMission__moreBtn:hover {
    background: #d8d8d8;
}
.p-mypageMission__moreBtn:before {
    content: "もっと見る";
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: 0.3s;
}
.p-mypageMission__moreBtn:after {
    background: transparent url(../img/common/icon_plus.svg) no-repeat center;
    background-size: contain;
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: 0.3s;
}
.p-mypageMission__moreBtn.is-open:before {
    content: "とじる";
}
.p-mypageMission__moreBtn.is-open:after {
    background: transparent url(../img/common/icon_minus.svg) no-repeat center;
    background-size: contain;
}

.p-mypage__profile {
    padding: 60px 0;
}
@media screen and (min-width: 1024px) {
    .p-mypage__profile {
        padding: 60px 0 80px;
    }
}
.p-mypageProfile__box {
    background: #ffffff;
    border-radius: 40px;
    padding: 30px 20px 0;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__box {
        border-radius: 60px;
        padding: 0;
        overflow: hidden;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__item {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__item:not(:last-of-type) {
        border-bottom: 1px solid #cfc3b9;
    }
}
.p-mypageProfile__title {
    background: #eee9e5;
    border-radius: 6px;
    padding: 5px 0 7px;
    color: #6d655e;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__title {
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 60px;
        padding-right: 0;
        width: 260px;
    }
}
.p-mypageProfile__content {
    padding: 20px 0 30px;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__content {
        padding: 50px 40px;
        width: 100%;
        max-width: calc(100% - 260px);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}
.p-mypageProfile__content.-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__content.-copy {
        justify-content: flex-start;
    }
}
.p-mypageProfile__content.-copy .p-mypageProfile__paragraph {
    padding-left: 36px;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__content.-copy .p-mypageProfile__paragraph {
        padding: 0;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__content.-item {
        padding: 0;
        flex-wrap: wrap;
    }
}
.p-mypageProfile__content .c-btn {
    font-weight: 700;
}
.p-mypageProfile__content .c-btn.-profileEdit {
    padding: 12px 17px 14px;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__content .c-btn.-profileEdit {
        padding: 12px 35px 14px;
    }
}
.p-mypageProfile__contentItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__contentItem {
        width: 100%;
        max-width: 50%;
        padding: 20px 40px;
        min-height: 120px;
        align-content: center;
    }
}
.p-mypageProfile__contentItem {
    border-bottom: 1px solid #cfc3b9;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__contentItem {
        padding-bottom: 20px;
        margin-bottom: 0;
        border-bottom: none;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__contentItem:nth-of-type(1) {
        border-right: 1px solid #cfc3b9;
        border-bottom: 1px solid #cfc3b9;
        min-height: 140px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__contentItem:nth-of-type(2) {
        border-bottom: 1px solid #cfc3b9;
        min-height: 140px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__contentItem:nth-of-type(3) {
        border-right: 1px solid #cfc3b9;
        border-bottom: 1px solid #cfc3b9;
        min-height: 140px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__contentItem:nth-of-type(4) {
        border-bottom: 1px solid #cfc3b9;
        min-height: 140px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__contentItem:nth-of-type(5) {
        border-right: 1px solid #cfc3b9;
        min-height: 140px;
    }
}
.p-mypageProfile__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__btn {
        margin-top: 0;
    }
}
.p-mypageProfile__paragraph {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__paragraph {
        text-align: left;
    }
}
.p-mypageProfile__paragraph small {
    display: inline-block;
    margin-left: 4px;
    font-size: 15px;
}
.p-mypageProfile__itemHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 170px;
}
.p-mypageProfile__itemTitle {
    font-size: 20px;
    font-weight: 700;
}
.p-mypageProfile__itemTitle small {
    font-size: 12px;
}
.p-mypageProfile__itemBtn {
    width: 110px;
    height: 36px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__itemBtn {
        width: 170px;
    }
}
.p-mypageProfile__itemIcon {
    width: 40px;
    flex-shrink: 0;
}
.p-mypageProfile__itemNotice {
    background: #fee;
    border-radius: 6px;
    padding: 5px 6px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
}
@media screen and (min-width: 1024px) {
    .p-mypageProfile__itemNotice {
        padding: 10px;
    }
}
.p-mypageProfile__itemNoticeText {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 155px;
    font-size: 12px;
    font-weight: 700;
}
.p-mypageProfile__itemNoticeText .c-primary {
    font-size: 15px;
}
.p-mypageProfile__itemNoticeText .c-primary small {
    font-size: 12px;
}
.p-mypageProfile__itemNoticePeriod {
    font-size: 12px;
}
.p-mypageProfile__copy {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: transform 0.1s ease;
}
.p-mypageProfile__copy:hover {
    opacity: 0.7;
}

.p-mypage__all {
    background: #ffffff;
    border-radius: 40px 40px 0 0;
    padding: 40px 0 60px;
}
@media screen and (min-width: 1024px) {
    .p-mypage__all {
        padding: 60px 0 80px;
    }
}
.p-mypageAll__content {
    width: 100%;
    margin: 0 auto;
    max-width: calc(100% - 40px);
}
@media screen and (min-width: 768px) {
    .p-mypageAll__content {
        max-width: 87.8477306003vw;
    }
}
@media screen and (min-width: 1366px) {
    .p-mypageAll__content {
        max-width: 1200px;
    }
}
.p-mypageAll__filter {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}
@media screen and (min-width: 1024px) {
    .p-mypageAll__filter {
        gap: 12px;
        margin-bottom: 40px;
    }
}
.p-mypageAll__filterBtn {
    border: 2px solid transparent;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: calc((100% - 7px) / 2);
    height: 48px;
    font-size: 14px;
    font-weight: 700;
}
@media screen and (min-width: 1024px) {
    .p-mypageAll__filterBtn {
        max-width: calc((100% - 60px) / 6);
        font-size: 15px;
    }
}
.p-mypageAll__filterBtn:hover {
    border-color: #000000;
}
.p-mypageAll__filterBtn.-blue {
    background: #abd6fc;
}
.p-mypageAll__filterBtn.-blue:hover {
    background: #87c7ff;
}
.p-mypageAll__filterBtn.-green {
    background: #89dcbf;
}
.p-mypageAll__filterBtn.-green:hover {
    background: #70d4b1;
}
.p-mypageAll__filterBtn.-pink {
    background: #ffc9c9;
}
.p-mypageAll__filterBtn.-pink:hover {
    background: #ffb2b2;
}
.p-mypageAll__filterBtn.-yellow {
    background: #f6eb84;
}
.p-mypageAll__filterBtn.-yellow:hover {
    background: #f7e856;
}
.p-mypageAll__filterBtn.-purple {
    background: #d9bff9;
}
.p-mypageAll__filterBtn.-purple:hover {
    background: #c8a5f4;
}
.p-mypageAll__filterBtn.-orange {
    background: #ffd2a6;
}
.p-mypageAll__filterBtn.-orange:hover {
    background: #ffbe85;
}
.p-mypageAll__filterBtn.is-selected {
    border-color: #000000;
}
.p-mypageAll__filterBtn.is-selected:before {
    background: transparent url(../img/common/icon_check.svg) no-repeat center;
    background-size: contain;
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}
.p-mypageAll__list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 40px;
}
@media screen and (min-width: 1024px) {
    .p-mypageAll__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 60px;
    }
}
.p-mypageAll__item {
    width: 100%;
}
@media screen and (min-width: 1024px) {
    .p-mypageAll__item {
        max-width: calc((100% - 120px) / 3);
    }
}
.p-mypageAll__more {
    margin-top: 40px;
}
@media screen and (min-width: 1024px) {
    .p-mypageAll__more {
        display: none;
    }
}
.p-mypageAll__moreBtn {
    background: #ededed;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
    height: 60px;
    position: relative;
    transition: background 0.3s;
}
.p-mypageAll__moreBtn:hover {
    background: #d8d8d8;
}
.p-mypageAll__moreBtn:before {
    content: "もっと見る";
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: 0.3s;
}
.p-mypageAll__moreBtn:after {
    background: transparent url(../img/common/icon_plus.svg) no-repeat center;
    background-size: contain;
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: 0.3s;
}
.p-mypageAll__moreBtn.is-open:before {
    content: "とじる";
}
.p-mypageAll__moreBtn.is-open:after {
    background: transparent url(../img/common/icon_minus.svg) no-repeat center;
    background-size: contain;
}

/* お知らせのもっと見るボタン */
.p-mypageHeader__more {
    margin-top: 40px;
}
.p-mypageHeader__moreBtn {
    background: #ededed;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
    height: 60px;
    position: relative;
    transition: background 0.3s;
}
.p-mypageHeader__moreBtn:hover {
    background: #d8d8d8;
}
.p-mypageHeader__moreBtn:before {
    content: "もっと見る";
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: 0.3s;
}
.p-mypageHeader__moreBtn:after {
    background: transparent url(../img/common/icon_plus.svg) no-repeat center;
    background-size: contain;
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: 0.3s;
}

/* buttonタグ用の追加スタイル */
.p-mypageHeader__moreBtn--button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding-top: 40px;
}

/* buttonタグでも同じ見た目になるように既存スタイルを調整 */
button.p-mypageHeader__moreBtn {
    background: #ededed;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
    height: 60px;
    position: relative;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

button.p-mypageHeader__moreBtn:hover {
    background: #d8d8d8;
}

button.p-mypageHeader__moreBtn:before {
    content: "もっと見る";
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: 0.3s;
}

button.p-mypageHeader__moreBtn:after {
    background: transparent url(../img/common/icon_plus.svg) no-repeat center;
    background-size: contain;
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: 0.3s;
}

.p-mypage__popup {
    display: none;
    position: fixed;
    z-index: var(--z-popup);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.p-mypagePopup__bg {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
}
.p-mypagePopup__wrapper {
    background-color: #ffffff;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: calc(100% - 40px);
    height: auto;
    max-height: calc(100vh - 40px);
    max-height: calc(var(--vh, 1vh) * 100 - 40px);
    display: flex;
    flex-direction: column;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__wrapper {
        max-width: 64.6412884334vw;
        max-height: calc(100vh - 60px);
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__wrapper {
        max-width: 64.6412884334vw;
        max-height: calc(100vh - 80px);
    }
}
@media screen and (min-width: 1366px) {
    .p-mypagePopup__wrapper {
        max-width: 883px;
        max-height: calc(100vh - 100px);
    }
}
.p-mypagePopup__header {
    background: #231816;
    border-radius: 20px 20px 0 0;
    padding: 19px 0;
    flex-shrink: 0;
}
.p-mypagePopup__title {
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}
.p-mypagePopup__contents {
    background: #f5f4f1;
    border-radius: 0 0 1.25rem 1.25rem;
    flex: 1;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 10px;
    position: relative;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__contents {
        padding: 15px 30px;
        max-height: calc(100vh - 220px);
        position: relative;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__contents {
        padding: 20px 40px;
        max-height: calc(100vh - 240px);
        position: relative;
    }
}
.p-mypagePopup__list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
}
.p-mypagePopup__item {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 10px;
    width: 100%;
    gap: 6px;
}
@media screen and (min-width: 768px) {
    .p-mypagePopup__item {
        gap: 35px;
        padding: 18px 25px 18px 16px;
    }
}
.p-mypagePopup__item.is-complete {
    background: #ffedc0;
    border: 2px solid #ecc6a6;
}
.p-mypagePopup__item.is-complete .p-mypagePopup__icon {
    background: #ffffff;
}
.p-mypagePopup__item.is-complete .p-mypagePopup__btn {
    background: linear-gradient(90deg, #f69000 0%, #cb2000 100%);
}
.p-mypagePopup__item.is-complete .p-mypagePopup__btn:before {
    color: #ffffff;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}
.p-mypagePopup__icon {
    background: #f4f1f1;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__icon {
        width: 60px;
        height: 60px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__icon {
        width: 80px;
        height: 80px;
    }
}
.p-mypagePopup__iconImg {
    width: 24px;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__iconImg {
        width: 30px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__iconImg {
        width: 41px;
    }
}
.p-mypagePopup__iconNum {
    color: #7e5d37;
    font-size: 13px;
    font-weight: 700;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__iconNum {
        font-size: 14px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__iconNum {
        font-size: 15px;
    }
}
.p-mypagePopup__content {
    flex: 1;
    max-width: 40vw;
    margin: 0 10px;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__content {
        max-width: 50vw;
        margin: 0 10px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__content {
        max-width: 440px;
        margin: 0 20px;
    }
}
.p-mypagePopup__missionTitle {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__missionTitle {
        font-size: 14px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__missionTitle {
        font-size: 15px;
    }
}
.p-mypagePopup__barWrapper {
    border-radius: 9999px;
    width: 100%;
    height: 8px;
    position: relative;
    margin-bottom: 2px;
    overflow: hidden;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__barWrapper {
        height: 12px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__barWrapper {
        height: 16px;
    }
}
.p-mypagePopup__barBg {
    background: #eaeaea;
    width: 100%;
    height: 100%;
}
.p-mypagePopup__barItem {
    background: #fb892a;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
}
.p-mypagePopup__barText {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__barText {
        font-size: 13px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__barText {
        font-size: 15px;
    }
}
.p-mypagePopup__btn {
    color: #fff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 31px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__btn {
        width: 140px;
        height: 40px;
        flex-shrink: 0;
        font-size: 13px;
    }
}
@media screen and (min-width: 1024px) {
    .p-mypagePopup__btn {
        width: 180px;
        height: 48px;
        flex-shrink: 0;
        font-size: 15px;
    }
}
.p-mypagePopup__btn.is-disabled {
    background: #d9d9d9;
    pointer-events: none;
    color: #787878;
}
.p-mypagePopup__footer {
    background: #eee9e5;
    border-radius: 0 0 20px 20px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
}
.p-mypagePopup__footerBtn {
    background: #ffffff;
    border-radius: 9999px;
    width: 240px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

/* ポップアップ内メッセージ（リスト上部配置） */
.p-mypagePopup__overlay-message {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    max-width: 280px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 成功メッセージ */
.p-mypagePopup__overlay-message.is-success {
    background: rgba(76, 175, 80, 0.95);
    border-color: rgba(76, 175, 80, 0.5);
}

/* エラーメッセージ */
.p-mypagePopup__overlay-message.is-error {
    background: rgba(244, 67, 54, 0.95);
    border-color: rgba(244, 67, 54, 0.5);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .p-mypagePopup__overlay-message {
        max-width: calc(100% - 40px);
        min-width: 280px;
        padding: 10px 14px;
        font-size: 12px;
        white-space: nowrap;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .p-mypagePopup__overlay-message {
        max-width: calc(100% - 60px);
        padding: 18px 28px;
        font-size: 15px;
        white-space: nowrap;
    }
}

@media screen and (min-width: 1024px) {
    .p-mypagePopup__overlay-message {
        max-width: 85%;
        padding: 20px 32px;
        font-size: 16px;
    }
}

/* 統合されたモーダルコンポーネント */
.p-mypageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
}

.p-mypageModal__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-mypageModal__wrapper {
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    height: auto;
    max-height: 90vh;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.p-mypageModal__header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e1e1e1;
}

.p-mypageModal__title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #231815;
    margin: 0;
}

.p-mypageModal__content {
    padding: 2rem;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow-y: auto;
}

.p-mypageModal__footer {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

/* ローディング状態 */
.p-mypageModal__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b6b;
    border-radius: 50%;
    animation: modalSpin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes modalSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.p-mypageModal__loadingText {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* 成功メッセージ */
.p-mypageModal__successText {
    font-size: 1.25rem;
    color: #231815;
    line-height: 1.8;
    margin: 0;
}

/* エラーメッセージ */
.p-mypageModal__errorIcon {
    margin-bottom: 1rem;
}

.p-mypageModal__errorIcon img {
    width: 40px;
    height: 40px;
}

.p-mypageModal__errorTitle {
    color: #bf0f2c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.p-mypageModal__errorText {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .p-mypageModal__wrapper {
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 40px);
        border-radius: 12px;
    }

    .p-mypageModal__header {
        padding: 1rem;
    }

    .p-mypageModal__title {
        font-size: 1.1rem;
    }

    .p-mypageModal__content {
        padding: 1.5rem 1rem;
        min-height: 40px;
    }

    .p-mypageModal__footer {
        padding: 1rem;
    }

    .p-mypageModal__spinner {
        width: 32px;
        height: 32px;
    }

    .p-mypageModal__loadingText {
        font-size: 0.9rem;
    }

    .p-mypageModal__successText {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .p-mypageModal__errorText {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 768px) {
    .p-mypageModal__wrapper {
        max-width: 450px;
        max-height: 80vh;
        border-radius: 12px;
    }

    .p-mypageModal__header {
        padding: 1.75rem;
    }

    .p-mypageModal__title {
        font-size: 1.375rem;
    }

    .p-mypageModal__content {
        padding: 2.5rem 2rem;
        min-height: 140px;
    }

    .p-mypageModal__footer {
        padding: 1.25rem 1.75rem 1.75rem;
    }

    .p-mypageModal__spinner {
        width: 44px;
        height: 44px;
    }

    .p-mypageModal__loadingText {
        font-size: 1.05rem;
    }

    .p-mypageModal__successText {
        font-size: 1.375rem;
        line-height: 1.75;
    }

    .p-mypageModal__errorTitle {
        font-size: 1.2rem;
    }

    .p-mypageModal__errorText {
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 1024px) {
    .p-mypageModal__wrapper {
        max-width: 500px;
        max-height: 600px;
        border-radius: 16px;
    }

    .p-mypageModal__header {
        padding: 2rem;
    }

    .p-mypageModal__title {
        font-size: 1.5rem;
    }

    .p-mypageModal__content {
        padding: 3rem 2.5rem;
        min-height: 160px;
    }

    .p-mypageModal__footer {
        padding: 1.5rem 2rem 2rem;
    }

    .p-mypageModal__spinner {
        width: 48px;
        height: 48px;
    }

    .p-mypageModal__loadingText {
        font-size: 1.125rem;
    }

    .p-mypageModal__successText {
        font-size: 1.5rem;
        line-height: 1.8;
    }

    .p-mypageModal__errorTitle {
        font-size: 1.25rem;
    }

    .p-mypageModal__errorText {
        font-size: 1rem;
    }

    .p-mypageModal__errorIcon img {
        width: 48px;
        height: 48px;
    }
}

/* ギフトパッドモーダル専用スタイル */
.p-mypageModal__wrapper--giftpad {
    max-width: 500px;
}

.p-giftpadModal__main {
    padding: 1rem 0;
}

/* ジェム残高表示 */
.p-giftpadModal__balance {
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.p-giftpadModal__balanceItem {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.p-giftpadModal__balanceText {
    font-size: 0.9rem;
    color: #666;
}

.p-giftpadModal__balanceAmount {
    font-size: 1.25rem;
    font-weight: bold;
    color: #231815;
}

.p-giftpadModal__balanceUnit {
    font-size: 0.9rem;
    color: #666;
}

.p-giftpadModal__required {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.p-giftpadModal__requiredText {
    font-size: 0.85rem;
    color: #888;
}

.p-giftpadModal__requiredAmount {
    font-size: 1rem;
    font-weight: bold;
    color: #cb2000;
}

.p-giftpadModal__requiredUnit {
    font-size: 0.85rem;
    color: #888;
}

/* 選択肢 */
.p-giftpadModal__options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.p-giftpadModal__option {
    width: 100%;
}

.p-giftpadModal__optionBtn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #cb2000;
    border-radius: 9999px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.p-giftpadModal__optionBtn:hover:not(:disabled) {
    border-color: #cb2000;
    background: #cb2000;
}

.p-giftpadModal__optionBtn:hover:not(:disabled) .p-giftpadModal__optionTitle {
    color: #ffffff;
}

.p-giftpadModal__optionBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.p-giftpadModal__optionBtn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.p-giftpadModal__optionBtn--crypto {
    border-color: #cb2000;
}

.p-giftpadModal__optionBtn--crypto svg {
    stroke: #cb2000;
}

.p-giftpadModal__optionContent {
    flex: 1;
}

.p-giftpadModal__catalogLink {
    display: block;
    text-align: center;
    padding: 12px;
    color: #231815;
    text-decoration: underline;
    font-weight: 500;
}

.p-giftpadModal__catalogLink:hover {
    color: #cb2000;
}

.p-giftpadModal__optionTitle {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #231815;
    margin: 0 0 0.25rem 0;
}

.p-giftpadModal__optionDesc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* 注意事項 */
.p-giftpadModal__notice {
    text-align: center;
    padding: 0.75rem;
    background: #fff9c4;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

.p-giftpadModal__noticeText {
    font-size: 0.8rem;
    color: #856404;
    margin: 0;
}

/* GEM消費警告 */
.p-giftpadModal__warning {
    text-align: center;
    padding: 0.75rem;
    background: #ffebee;
    border-radius: 6px;
    border-left: 4px solid #f44336;
}

.p-giftpadModal__warningText {
    font-size: 0.8rem;
    color: #c62828;
    margin: 0;
    font-weight: 500;
}

/* 成功画面 */
.p-giftpadModal__successIcon {
    text-align: center;
    margin-bottom: 1rem;
}

.p-giftpadModal__successTitle {
    font-size: 1.25rem;
    font-weight: bold;
    color: #231815;
    text-align: center;
    margin: 0 0 1rem 0;
}

.p-giftpadModal__successText {
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.p-giftpadModal__newBalance {
    background: #f8fff8;
    border: 1px solid #4caf50;
    border-radius: 6px;
    padding: 0.75rem;
    text-align: center;
}

.p-giftpadModal__newBalanceText {
    font-size: 0.9rem;
    color: #666;
}

.p-giftpadModal__newBalanceAmount {
    font-size: 1.125rem;
    font-weight: bold;
    color: #4caf50;
}

.p-giftpadModal__newBalanceUnit {
    font-size: 0.9rem;
    color: #666;
}

/* エラー画面 */
.p-giftpadModal__errorIcon {
    text-align: center;
    margin-bottom: 1rem;
}

.p-giftpadModal__errorTitle {
    font-size: 1.25rem;
    font-weight: bold;
    color: #231815;
    text-align: center;
    margin: 0 0 1rem 0;
}

.p-giftpadModal__errorText {
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* レスポンシブデザイン */
@media screen and (max-width: 767px) {
    .p-mypageModal__wrapper--giftpad {
        max-width: 95%;
        margin: 1rem auto;
    }

    .p-giftpadModal__optionBtn {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .p-giftpadModal__optionIcon {
        width: 40px;
        height: 40px;
    }

    .p-giftpadModal__optionTitle {
        font-size: 0.9rem;
    }

    .p-giftpadModal__optionDesc {
        font-size: 0.8rem;
    }

    .p-giftpadModal__balanceAmount {
        font-size: 1.125rem;
    }
}

@media screen and (min-width: 768px) {
    .p-giftpadModal__options {
        gap: 1.25rem;
    }

    .p-giftpadModal__optionBtn {
        padding: 1.25rem;
    }
}

/* 確認セクション用CSS */
.p-giftpadModal__confirm {
    text-align: center;
    padding: 40px 20px;
}

.p-giftpadModal__confirmText {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.p-giftpadModal__confirmButtons {
    display: flex;
    justify-content: center;
}
/* ========================================
   インラインスタイル除去のための新規クラス
   Phase 1: インラインスタイルの除去
   ======================================== */

/* ゲーム開始ボタンのリセットスタイル */
.l-item__link--reset {
    border: none;
    background: transparent;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

/* 中央寄せボタンラッパー */
.p-mypageMission__btnWrapper--centered {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ミッション領域内のランキングボタン */
.p-mypageMission__contentItem.-ranking .p-mypageHeader__btn.ranking-button {
    width: 100%;
    max-width: 400px;
    margin-bottom: 5px;
}

/* ミッション領域内の報酬履歴ボタン */
.p-mypageMission__contentItem.-ranking .ranking-history-btn {
    width: 100%;
    max-width: 400px;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.p-mypageMission__contentItem.-ranking .ranking-history-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.p-mypageMission__contentItem.-ranking .ranking-history-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.p-mypageMission__contentItem.-ranking
    .ranking-history-btn
    .p-mypageHeader__icon {
    display: flex;
    align-items: center;
}

.p-mypageMission__contentItem.-ranking
    .ranking-history-btn
    .p-mypageHeader__icon
    i {
    font-size: 16px;
    color: #6c757d;
}

/* ミッション達成情報の表示 */
.p-mypagePopup__achievementInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
}

.p-mypagePopup__achievementCount {
    margin-bottom: 5px;
    font-size: 12px;
    color: #666;
}

/* インラインフォーム */
.js-missionClaimForm--inline {
    display: inline;
}

/* 非表示要素（JavaScriptで制御） */
.is-hidden {
    display: none !important;
}

/* Google Tag Manager用 */
.c-gtm-iframe {
    display: none;
    visibility: hidden;
}

/* ミッション未達成時のインラインブロック表示 */
.p-mypagePopup__form--inline {
    display: inline-block;
    margin: 0;
}

/* 中央寄せボタン */
.p-mypagePopup__playBtn--centered {
    margin: 0 auto;
}

/* アニメーション用クラス */
.is-sliding-out {
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    transform: translateX(100%);
    opacity: 0;
}

.is-fading-out {
    transition: opacity 0.3s ease-out;
    opacity: 0;
}

.is-scale-animated {
    transition: transform 0.3s ease-out;
}

.is-gem-updating {
    animation: gemUpdate 0.5s ease-out;
}

@keyframes gemUpdate {
    0% {
        transform: scale(1);
        color: inherit;
    }
    50% {
        transform: scale(1.2);
        color: #4caf50;
    }
    100% {
        transform: scale(1);
        color: inherit;
    }
}

/* コピー機能用のテキストエリア（一時的に使用） */
.u-copy-textarea {
    position: fixed;
    left: -9999px;
    top: 0;
}

/* ローディングテキスト */
.c-loading-text {
    display: inline-block;
}

/* ゲームスタートボタン（ポップアップ内） */
.p-mypagePopup__btn--gameStart {
    background: #ffffff;
    color: #cb2000;
    border: 1px solid #ddd;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 40px;
    font-size: 13px;
    padding: 0 12px;
}

.p-mypagePopup__btn--gameStart span {
    margin-right: 3px;
    font-weight: 700;
}

/* ミッションポップアップ内の達成回数表示 */
.p-mypagePopup__achievementWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
}

.p-mypagePopup__achievementContainer {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
}

.p-mypagePopup__achievementLabel {
    font-size: 11px;
    color: #666;
}

.p-mypagePopup__achievementCurrent {
    font-size: 13px;
    font-weight: 700;
    color: #cb2000;
}

.p-mypagePopup__achievementSeparator {
    font-size: 11px;
    color: #666;
}

.p-mypagePopup__achievementMax {
    font-size: 13px;
    color: #666;
}

.p-mypagePopup__achievementText {
    margin-bottom: 8px;
    font-size: 12px;
}

/* チェックマークアイコン付きメッセージ */
.p-mypagePopup__checkMessage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ─────────── 最近遊んだゲーム ─────────── */
/* PC：4件目以降を非表示 */
@media (min-width: 768px) {
    .p-mypageRecommend__item--pc-only {
        display: none !important;
    }
}

/* SP：3件目以降を非表示（= 2件だけ表示）*/
@media (max-width: 767.98px) {
    .p-mypageRecommend__item--mobile-hidden {
        display: none !important;
    }
}

/* ========================================
   電話番号認証モーダル
======================================== */
.p-phoneVerification__container {
    padding: 1.25rem;
}

/* ステップインジケーター */
.p-phoneVerification__stepIndicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.p-phoneVerification__stepNumber {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.p-phoneVerification__stepNumber--active {
    background: #b71c1c;
    color: white;
}

.p-phoneVerification__stepNumber--inactive {
    background: #e0e0e0;
    color: #9e9e9e;
}

.p-phoneVerification__stepNumber--completed {
    background: #4caf50;
    color: white;
}

.p-phoneVerification__stepLine {
    width: 2.5rem;
    height: 0.125rem;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.p-phoneVerification__stepLine--completed {
    background: #4caf50;
}

/* ステップコンテンツ */
.p-phoneVerification__stepContent {
    display: none;
}

.p-phoneVerification__stepContent--active {
    display: block;
}

/* 入力セクション */
.p-phoneVerification__inputSection {
    margin-bottom: 1.5rem;
}

.p-phoneVerification__inputLabel {
    display: block;
    font-size: 0.875rem;
    color: #424242;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.p-phoneVerification__warningText {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.p-phoneVerification__helper {
    margin-bottom: 1.25rem;
}

.p-phoneVerification__helperText {
    font-size: 0.875rem;
    color: red;
}

.p-phoneVerification__inputGroup {
    margin-bottom: 15px;
}

.p-phoneVerification__input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 0.125rem solid #bdbdbd;
    background: transparent;
    font-size: 1.25rem;
    letter-spacing: 0.125rem;
    transition: border-color 0.3s ease;
    text-align: left;
}

.p-phoneVerification__input:focus {
    outline: none;
    border-bottom-color: #b71c1c;
}

.p-phoneVerification__input::placeholder {
    color: #bdbdbd;
    opacity: 1;
}

.p-phoneVerification__input::-webkit-input-placeholder {
    color: #ccc;
}

.p-phoneVerification__input::-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

.p-phoneVerification__input:-ms-input-placeholder {
    color: #ccc;
}

/* Auto-fill styles to maintain transparent background */
.p-phoneVerification__input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #424242 !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

.p-phoneVerification__input:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #424242 !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

.p-phoneVerification__input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #424242 !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

.p-phoneVerification__input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #424242 !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

.p-phoneVerification__sendContainer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-phoneVerification__cooldownTimer {
    font-weight: bold;
    color: #666;
    min-width: 30px;
    text-align: right;
}

/* 入力と一緒に表示する小さいSMS送信ボタン */
.p-phoneVerification__inputWithButton {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.p-phoneVerification__inputWithButton .p-phoneVerification__input {
    flex: 1;
}

.p-phoneVerification__smsButton {
    background: white;
    color: #b71c1c;
    border: 0.125rem solid #b71c1c;
    padding: 0.625rem 1.5rem;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.p-phoneVerification__smsButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* タイマーテキスト */
.p-phoneVerification__timerText {
    font-size: 0.75rem;
    color: #757575;
    text-align: center;
    margin-top: 0.75rem;
}

/* SMS送信ステータス */
.p-phoneVerification__sendingStatus {
    font-size: 0.75rem;
    color: #757575;
    text-align: center;
    margin-top: 0.75rem;
}

/* メインの送信/認証ボタン */
.p-phoneVerification__submitButton {
    width: 100%;
    padding: 0.875rem;
    background: #b71c1c;
    color: white;
    border: none;
    border-radius: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    letter-spacing: 0.03125rem;
    text-align: center;
}

.p-phoneVerification__submitButton:hover:not(:disabled) {
    background: #d32f2f;
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.25rem 0.75rem rgba(183, 28, 28, 0.3);
}

.p-phoneVerification__submitButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.p-phoneVerification__sendBtn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: #cb2000;
    background-color: #fff;
    border: 0.125rem solid #cb2000;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.p-phoneVerification__sendBtn:hover:not(:disabled) {
    background-color: #fff5f3;
}

.p-phoneVerification__sendBtn:disabled {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.p-phoneVerification__verifyBtn {
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #cb2000;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.p-phoneVerification__verifyBtn:hover:not(:disabled) {
    background-color: #a01900;
}

.p-phoneVerification__verifyBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.p-phoneVerification__codeSection {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.p-phoneVerification__verifySection {
    margin-top: 20px;
}

.p-phoneVerification__codeHelper {
    margin-bottom: 15px;
}

.p-phoneVerification__codeHelperText {
    font-size: 14px;
    color: #666;
}

.p-phoneVerification__codeInputGroup {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-phoneVerification__codeInput {
    width: 6rem;
    padding: 12px 15px;
    font-size: 16px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    font-family: monospace;
}

.p-phoneVerification__codeInput:focus {
    outline: none;
}

.p-phoneVerification__codeInput:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.p-phoneVerification__verifyContainer {
    text-align: center;
}

/* エラーメッセージ */
.p-phoneVerification__errorMessage {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.p-phoneVerification__errorList {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.p-phoneVerification__errorList li {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #d32f2f;
}

.p-phoneVerification__error {
    margin-top: 1.25rem;
    padding: 0.75rem;
    background-color: #ffebee;
    border-radius: 0.25rem;
}

.p-phoneVerification__errorText {
    color: #c62828;
    font-size: 0.875rem;
    margin: 0;
}

/* 成功画面 */
.p-phoneVerification__successContainer {
    text-align: center;
    padding: 2.5rem 0;
}

.p-phoneVerification__successIcon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.p-phoneVerification__successText {
    font-size: 1.125rem;
    color: #424242;
    font-weight: 500;
}

/* ヘルパーテキスト */
.p-phoneVerification__helperText {
    font-size: 0.75rem;
    color: #757575;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

/* 旧クラス互換性維持 */
.p-phoneVerification__success {
    text-align: center;
    padding: 1.875rem;
}

/* モーダル閉じるボタン */
.p-mypagePopup__closeBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-mypagePopup__closeBtn:hover {
    opacity: 0.8;
}

/* GiftPadモーダル内の電話番号認証ボタン */
.p-giftpadModal__phoneVerifyBtn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #cb2000;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.p-giftpadModal__phoneVerifyBtn:hover:not(:disabled) {
    background-color: #a21800;
}

.p-giftpadModal__phoneVerifyBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ランキングボタンのスタイル */
.p-mypageHeader__btn.ranking-button {
    position: relative;
    background: #ff5722;
    border: 2px solid transparent;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: visible;
}

/* 下三角のafterを無効化 */
.p-mypageHeader__btn.ranking-button:after {
    display: none;
}

/* ランキングボタンのホバー時は、ミッションボタンと同様に色反転させる */
/* オレンジ背景 → 白背景、白文字 → オレンジ文字 */
.p-mypageHeader__btn.ranking-button:hover {
    background: #ffffff;
    border: 2px solid #ff5722;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

/* ホバー時のテキストカラーをオレンジに */
.p-mypageHeader__btn.ranking-button:hover .p-mypageHeader__text {
    color: #ff5722;
}

/* ホバー時に「開催中」の文字もオレンジに */
.p-mypageHeader__btn.ranking-button:hover .ranking-count-badge .badge-label {
    color: #ff5722;
}

/* ホバー時もアイコンカラーは黄色のまま維持し、背景をオレンジに */
.p-mypageHeader__btn.ranking-button:hover .p-mypageHeader__icon {
    background: #ff5722;
}

.p-mypageHeader__btn.ranking-button:active {
    transform: scale(0.98);
    /* activeスタイルも親クラスから継承 */
}

.p-mypageHeader__btn.ranking-button .p-mypageHeader__icon {
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.p-mypageHeader__btn.ranking-button .p-mypageHeader__icon i {
    color: #ffd700;
    font-size: 29px;
    display: block;
}

.p-mypageHeader__btn.ranking-button .p-mypageHeader__text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.p-mypageHeader__btn.ranking-button .ranking-title {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

/* モバイル版でランキングボタンの調整 */
@media (max-width: 767px) {
    .p-mypageHeader__btn.ranking-button {
        padding: 10px 10px;
    }

    .p-mypageHeader__btn.ranking-button .ranking-title {
        font-size: 15px;
    }

    .p-mypageHeader__btn.ranking-button .ranking-count-badge {
        margin-left: 6px;
        margin-right: 4px;
    }

    .p-mypageHeader__btn.ranking-button .ranking-count-badge .badge-number {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .p-mypageHeader__btn.ranking-button .ranking-count-badge .badge-label {
        font-size: 9px;
    }
}

/* ランキング数バッジ（円形） */
.ranking-count-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: 8px;
}

.ranking-count-badge .badge-number {
    background-color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ff7a00;
}

.ranking-count-badge .badge-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
    white-space: nowrap;
}

@media screen and (min-width: 768px) {
    .p-mypageHeader__btn.ranking-button {
        padding: 20px 24px;
    }

    .p-mypageHeader__btn.ranking-button .ranking-title {
        font-size: 20px;
    }

    .ranking-count-badge .badge-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .ranking-count-badge .badge-label {
        font-size: 11px;
    }
}

/* ミッションセクション内のランキングボタン */
.p-mypageMission__contentItem.-ranking {
    margin-top: 24px;
}

.p-mypageMission__contentItem.-ranking .p-mypageMission__contentInner {
    padding: 0;
}

/* モバイル対応の報酬履歴ボタン */
@media (max-width: 767px) {
    .p-mypageMission__contentItem.-ranking .ranking-history-btn {
        width: 100%;
        max-width: 100%;
        padding: 6px 12px;
        font-size: 12px;
    }

    .p-mypageMission__contentItem.-ranking
        .ranking-history-btn
        .p-mypageHeader__icon
        i {
        font-size: 14px;
    }
}

/* 報酬履歴モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading i {
    font-size: 24px;
    animation: spin 1s linear infinite;
    display: block;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.reward-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-history-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
}

.reward-history-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.reward-history-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward-history-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reward-history-place {
    font-size: 14px;
    color: #333;
}

.reward-history-rank {
    font-size: 12px;
    color: #ff5722;
    font-weight: 600;
}

.reward-history-amount {
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
}

.no-history,
.error-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error-message {
    color: #dc3545;
}

/* 古いミッションボタンスタイル（無効化） */
/*
.p-mypageMission__contentItem.-ranking .c-btn.-primary.-mission {
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    border: none;
}

.p-mypageMission__contentItem.-ranking .c-btn.-primary.-mission:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.3);
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
}

.p-mypageMission__contentItem.-ranking .c-btn.-primary.-mission:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #F57C00 0%, #E64A19 100%);
}

.p-mypageMission__contentItem.-ranking .c-btn.-primary.-mission i {
    color: #FFD700;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    margin-right: 8px;
    font-size: 1.2em;
}
*/

@media screen and (min-width: 768px) {
    .p-mypageMission__contentItem.-ranking {
        margin-top: 32px;
    }

    /* PC版でミッション領域内のランキングボタンのサイズ調整 */
    .p-mypageMission__contentItem.-ranking .p-mypageHeader__btn.ranking-button {
        max-width: 500px;
    }
}

/* ランキング報酬履歴のメダル表示用スタイル */
.p-mypageRanking__rewardHistoryRank {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rank-medal-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
}

/* モーダル内のメダル表示 */
.reward-history-rank {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* PC版はやや大きめ */
@media (min-width: 768px) {
    .rank-medal-small {
        width: 24px;
        height: 24px;
    }
}

/* ゲームセクションへの固定スクロールボタン */
.scroll-to-games-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    /* background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%); */
    background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 204, 51, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-games-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-games-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 179, 71, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15);
    /* background: linear-gradient(135deg, #FF7B7B 0%, #FF9E63 100%); */
    background: linear-gradient(135deg, #ffc157 0%, #ffdd44 100%);
}

.scroll-to-games-btn:active {
    transform: translateY(-1px) scale(1.02);
    transition: transform 0.1s;
}

.scroll-to-games-btn__content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scroll-to-games-btn__icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    animation: bounce 1.5s ease-in-out infinite;
}

.scroll-to-games-btn__text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* パルスアニメーション */
@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 204, 51, 0.3),
            0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 204, 51, 0.5),
            0 2px 12px rgba(0, 0, 0, 0.15);
    }
}

/* 矢印のバウンスアニメーション */
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-2px);
    }
    75% {
        transform: translateY(2px);
    }
}

/* スマホ対応 */
@media (max-width: 767px) {
    .scroll-to-games-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
    }

    .scroll-to-games-btn__icon {
        width: 20px;
        height: 20px;
    }

    .scroll-to-games-btn__text {
        font-size: 14px;
    }

    .scroll-to-games-btn__content {
        gap: 8px;
    }
}

/* 小画面対応 */
@media (max-width: 400px) {
    .scroll-to-games-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
    }

    .scroll-to-games-btn__text {
        font-size: 13px;
    }
}
