@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');


body {
    margin: 0;
    padding: 0;
    background-color: #302F30;
    background-image: url("../images/hotel-wallpaper-black.png");
    color: #403A50;
    box-sizing: border-box;
    font-size: 13px;
font-family: "Zen Kaku Gothic New", sans-serif;
    text-align: left;
    line-height: 1.8;
    letter-spacing: .1em;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: #F5F5F5;
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    transition: 0.5s;
    filter: drop-shadow(0px 0px 12px #fff);
}

button {
    /* rest */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
}

.strong_color {
    color: #FF7171;
}

.site_wrapper,
.site_wrapper_result {
    width: 430px;
    min-height: 100dvh;
    /* background: #302F30; */
    margin: 0 auto;
    position: relative;
    padding-top: 85px;
    z-index: 5;
    /* box-shadow: inset 0px 0px 4px #4a4a4a; */
    overflow: hidden;

    background: url("../images/frame_bg01.png");
    background-size: cover;
}

.site_wrapper:before {
    content: "";
    width: auto;
    height: 120px;
    aspect-ratio: 1 / 1;
    background: url("../images/mainframe_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 0;
}

.site_wrapper:after {
    content: "";
    width: auto;
    height: 120px;
    aspect-ratio: 1 / 1;
    background: url("../images/mainframe_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 0;
}

.site_wrapper_result {
    padding-top: 50px;
}

.site_wrapper_result:before {
    content: "";
    background: url("../images/frame_parts02.png");
    width: 238px;
    height: 171px;
    display: flex;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0;
}

.site_wrapper_detail {
    padding-bottom: 113px;
        background-size: 230% auto;
}

.site_wrapper_roulette {
    width: 430px;
    min-height: 100dvh;
    /* background: #302F30; */
    margin: 0 auto;
    position: relative;
    padding-top: 24px;
    padding-bottom: 40px;
    z-index: 5;
    /* box-shadow: inset 0px 0px 4px #4a4a4a; */
    overflow: hidden;

    background: url("../images/frame_bg02.png");
    background-size: cover;
}

.site_wrapper_roulette2 {
    width: 430px;
    min-height: 100dvh;
    /* background: #302F30; */
    margin: 0 auto;
    position: relative;
    padding-top: 0;
    z-index: 5;
    /* box-shadow: inset 0px 0px 4px #4a4a4a; */
    overflow: hidden;
    padding-bottom: 98px;

    background: url("../images/frame_bg03.png");
    background-size: 110% auto;
}

/* 大当たり結果表示時：1画面に収まるレイアウト */
.site_wrapper_roulette2.is-result {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding: 16px 0 24px;
    overflow-x: hidden;
    overflow-y: auto;
}

.site_wrapper_roulette2.is-result .roulette_box {
    display: none;
}

.site_wrapper_roulette2.is-result .roulette2_header {
    flex-shrink: 0;
}

.site_wrapper_roulette2.is-result .roulette2_title {
    padding: 0 16px;
}

.site_wrapper_roulette2.is-result .roulette2_title img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.site_wrapper_roulette2.is-result .roulette2_ac {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    min-width: 0;
    padding: 0 16px;
    overflow-x: hidden;
}



.site_wrapper_roulette:before,
.site_wrapper_roulette2:before,
.site_wrapper_roulette:after,
.site_wrapper_roulette2:after {
    content: none;
}



.page_title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 2rem;
}

.page_title_border {
    border-bottom: 1px solid #FFECC4;
    padding: 0 5px 5px;
}

.section_title {
    margin: 0;
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
}

.basic_card,
.shuffle_card {
    width: 180px;
    margin: 0 auto;
}

.basic_button {
    display: flex;
    justify-content: center;
}

.basic_button a {
border-radius: 40px;
border: 1px solid #D3F0FC;
background: linear-gradient(180deg, #6BEFE1 0%, #18CDBB 100%);
box-shadow: 0 2px 2px 0 rgba(255, 255, 255, 0.10) inset;
box-sizing: border-box;
    padding: 12px;
    border-radius: 50px;
    border: 1px solid #FFECC4;
    transition: 0.5s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #FFECC4;

    color: #FFF;
text-align: center;
text-shadow: 0 0 10px rgba(25, 140, 128, 0.20);

font-size: 15px;
font-style: normal;
letter-spacing: normal;
font-weight: 700;
line-height: 160%; /* 24px */

min-width: 332px;
}

.basic_button.basic_button-small a {
min-width: 240px;
}

.basic_button a span {
    flex-grow: 1;
    text-align: center;
    display: block;
}

.basic_button a:after {
    content: "";
    background: url("../images/arrow-right-circle-fill_be.svg");
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.basic_button a:hover {
    transition: 0.5s;
    box-shadow: 0 0 12px #ffffff;
}

.input_button {
    justify-content: center;
    background: rgba(90, 121, 142, 0.9);
    color: #FFECC4;
    padding: 15px 25px 15px 30px;
    border-radius: 50px;
    border: 1px solid #FFECC4;
    transition: 0.5s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
    font-weight: normal !important;
    font-size: 14px;
}

.input_button:after {
    content: "";
    background: url("../images/arrow-right-circle-fill_be.svg");
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.input_button:hover {
    transition: 0.5s;
    box-shadow: 0 0 12px #ffffff;
}




@media screen and (max-width: 600px) {

    .site_wrapper,
    .site_wrapper_result {
        width: 100%;
        box-shadow: none;
    }

}



/* index */

.opening_header {
    text-align: center;
    margin-bottom: 2rem;
}

.main_title {
    width: 320px;
    margin: 0 auto;
    padding: 0;
}

.main_title:after {
    content: "";
    background: url("../images/frame_parts01.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 99px;
    height: 11px;
    display: block;
    margin: 4px auto 20px;
}

.opening_cardbox {
    margin-bottom: 2rem;
}

.opening_cardbox {
    position: relative;
    width: 343px;
    height: 230px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: auto;
    margin-top: 0;
}

.basic_card {
    position: absolute;
    width: 109px;
    height: 176px;
    transform-origin: bottom center;
    transition: transform 0.8s ease;
    left: -15px;
    right: 0;
}

/* 1枚目のカードのフェードインアニメーション */
.first_card {
    animation: fadeIn 0.8s forwards;
}

/* カードの回転アニメーション */
.rotating_card {
    animation: rotateCard 0.8s forwards;
}

/* アニメーションの定義 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateCard {
    from {
        opacity: 1;
        transform: translateY(20px) rotate(0deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotation));
    }
}




/* shuffle page */

/* カード全体を含むコンテナ */
#shuffle_cardbox {
    width: 100%;
    height: 360px;
    /* コンテナを正方形に */
    position: relative;
    margin: 0;
    perspective: 1000px;
    /* overflow: hidden; */
    /* カードがコンテナからはみ出ないようにする */
    animation: cardFade 4s linear;
}

/* カードが中心を軸に回転する親要素 */
.shuffle_card {
    width: 100px;
    height: 160px;
    position: absolute;
    transform-origin: 50% 100%;
    /* 円の中心を設定 */
    animation: rotateAround linear infinite;
    /* 回転の速度をカードごとにランダムに */
}

/* カード自体のスタイルと回転する子要素 */
.shuffle_card img {
    width: 100%;
    height: 100%;
    background-size: cover;
    animation: spin linear infinite;
}

/* カードが中心を軸に回るアニメーション */
@keyframes rotateAround {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* カード自体が回転するアニメーション */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes cardFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* シャッフル画面のボタン位置を上に調整 */
.shuffle_page_wrap .basic_buttonbox {
    margin-top: -30px;
}



/* select page */

.select_page_wrap {
    padding-top: 85px;
    padding-bottom: 105px;
}

.select_guide_title {
    color: #403A50;
text-align: center;
font-family: "Zen Kaku Gothic Antique";
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 1.8; /* 36px */
letter-spacing: .1em;
}

.select_guide_txt {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 16px;
}

.select_cardbox {
    width: 94%;
    margin: 0 auto 1.5rem;
    z-index: 10;
    position: relative;
}

.select_cardbox_past,
.select_cardbox_present,
.select_cardbox_future {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 0px;
}

.select_cardbox_past,
.select_cardbox_present {
    border-bottom: 1px dashed #F5F5F5;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.select_card_title {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.select_card {
    width: 75px;
}

.select_card img.is-selected {
    transition: box-shadow 0.3s;
}
.select_card img.is-selected {
       box-shadow: 0px 0px 23px 1px rgba(24, 205, 187, 0.7);
}

.selected_cardbox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    width: 75%;
    margin: 0 auto 1rem;
}

.selected_card {
    width: 60px;
    /* height: 122px; */
    aspect-ratio: 75 / 122;
border: 1px dashed #6C529F;
    border-radius: 4px;
    margin: 0 auto;
    box-sizing: border-box;
}

.selected_card.filled {
    border: none;
    /* 画像が入った時に点線を消す */
}

.selected_card_past,
.selected_card_present,
.selected_card_future {
    border-radius: 4px;
    padding: 1px 8px 0;
    color: #302F30;
    margin: 0 auto 0.5rem;
    color: #fff;
}

.selected_card_past {
    background: #9198DD;
}

.selected_card_present {
    background: #9A41D2;
}

.selected_card_future {
    background: #E41FA2;
}

.selected_section {
    width: 94%;
    margin: 0 auto;
    border: 1px solid #FFECC4;
    border-radius: 4px;
background: rgba(255, 255, 255, 0.40);

    padding: 20px 10px 20px;
    box-sizing: border-box;
}

/* select_cardの画像の初期状態 */
.select_card img {
    opacity: 0;
    /* 最初は非表示 */
    transform: translateY(-30px);
    /* 30px上から開始 */
    transition: opacity 1s ease-in-out, transform .5s ease-in-out;
    /* フェードインと同時に移動 */
}

/* フェードインして所定の位置に止まる */
.select_card img.show {
    opacity: 1;
    /* フェードイン時に表示 */
    transform: translateY(0);
    /* 元の位置に戻る */
}

.selected_card img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.selected_card img.show {
    opacity: 1;
}

.selected_cardbox .show {
    opacity: 1;
    transition: opacity 1s ease;
    /* フェードインを2秒に設定 */
}

.select_card img {
    opacity: 0;
}



/* consultation */

.consultation_page_wrap {
    padding-top: 85px;
}

.consultation_guide_txt {
    text-align: center;
    font-size: 12px;
    margin-bottom: 1rem;
    padding-top: 5%;
}

.consultation_formbox {
    width: 94%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.consultation_databox {
    margin-bottom: 1rem;
}

.consultation_formbox textarea {
    width: 100%;
    border: 1px solid #808E94;
    border-radius: 4px;
    background: #d9d9d933;
    color: #D9D9D9;
    padding: 8px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.3;
}

::placeholder {
    color: #d9d9d9a4;
}

.textarea_notice {
    display: block;
    text-align: right;
    font-size: 12px;
}

.selected_checkbox {
    width: 80%;
    margin: 0 auto 2rem;
}

.selected_card.selected_check {
    border: none;
    width: 80px;
}

.selected_card.selected_check img {
    opacity: 1;
}

.text_list {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 175px;
    overflow: hidden;
    position: relative;
}

.text_list:before {
    content: "";
    background: linear-gradient(0deg, rgb(255 255 255 / 0%), rgb(48 47 48));
    background-size: cover;
    background-position: top;
    position: absolute;
    width: 100%;
    height: 25px;
    z-index: 100;
    top: 0;
}

.text_list:after {
    content: "";
    background: linear-gradient(0deg, rgb(48 47 48), rgb(255 255 255 / 0%));
    background-size: cover;
    background-position: bottom;
    position: absolute;
    width: 100%;
    height: 25px;
    z-index: 100;
    bottom: 0;
}

.text_list ul {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    width: 88%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.text_list li {
    padding: 8px;
    margin: 4px 0;
    cursor: pointer;
    text-align: center;
    background: #fff;
    color: #A9AFB2;
    border-radius: 50px;
}

.text_list li:hover {
    background-color: #FBDE9D;
    color: #302F30;
}

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

.input_button {
    cursor: pointer;
    opacity: 1;
}

@keyframes infinity-scroll-top {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

.scroll-infinity__list--top {
    animation: infinity-scroll-top 20s infinite linear 0.2s both;
}




/* result */

.result_wrap {
    position: relative;
    width: 94%;
    margin: 0 auto 2rem;
    z-index: 100;
}

.result_main_title {
    font-size: 22px;
    text-align: center;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #fff1bb00 0%, #FFF1BB 50%, #fff1bd00 100%);
    border-image-slice: 1;
    margin: 0 0 2rem;
    padding: 0 0 10px;
}

.result_databox {
    background: rgba(217, 217, 217, 0.1);
    border: 1px solid #FFECC4;
    padding: 0;
    margin: 3rem 0;
}

.result_databox:before {
    background: url("../images/frame_parts_03.svg");
    content: "";
    width: 205px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    margin: -22px auto 0;
}

.result_databox:after {
    background: url("../images/frame_parts_03.svg");
    content: "";
    width: 205px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    margin: 0 auto -22px;
    transform: rotateX(180deg);
}

.result_databox_inner01,
.result_databox_inner02 {
    margin: 20px 10px;
}

.your_cards_result .selected_checkbox {
    width: 100%;
    margin: 0 auto 2rem;
}

.your_cards_result .selected_cardbox {
    gap: 5px 0;
}

.result_pr_txt {
    font-size: 16px;
    text-align: center;
    margin: 0 0 1rem;
}

.onayami_box {
    margin-bottom: 2rem;
}

.recombox_wrap {
    border: 1px solid #616161;
    background: rgba(217, 217, 217, 0.1);
    padding: 10px;
    margin-bottom: 1rem;
}

.recom_ft_infobox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #616161;
}

.recom_ft_name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.recom_ft_tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ft_tags {
    background: rgba(245, 245, 245, 0.2);
    padding: 3px 5px;
    margin: 0;
    border-radius: 4px;
    color: #FFECC4;
    display: flex;
    align-items: center;
    gap: 3px;
}

.ft_tags:before {
    content: "";
    background: url("../images/tagmark.svg");
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.recom_ft_image {
    position: relative;
    display: flex;
    justify-content: center;
}

.recom_ft_image:after {
    content: "";
    background: url("../images/stars.png");
    width: 65px;
    height: 15px;
    bottom: -7px;
    left: 0;
    right: 0;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    left: 50%;
    transform: translateX(-50%);
}

.recom_ft_image img {
    border: 1px solid;
    border-image: linear-gradient(to right, #C68D1F, #FFF8EB, #E1B97A, #C68D1F);
    border-image-slice: 1;
}

.basic_buttonbox {
    width: 90%;
    margin: 0 auto;
}

.recom_ft_title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
}

.recom_ft_descbox,
.recom_ft_reviewbox {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #616161;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recom_ft_reviewbox {
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    border-bottom: 0;
}

.recom_ft_desc,
.recom_ft_review{
    color: #F5F5F5;
    margin-bottom: 1rem;
}

.recom_ft_title:before {
    background: url("../images/frame_parts_05.svg");
    content: "";
    width: 56px;
    height: 13px;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    padding: 0 5px 0 0;
}

.recom_ft_title:after {
    background: url("../images/frame_parts_05.svg");
    content: "";
    width: 56px;
    height: 13px;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    transform: scale(-1, 1);
    padding: 0 0 0 5px;
}


/* 共通のCSSスタイル */
#recom_ft_desc1,
#recom_ft_review1,
#recom_ft_desc2,
#recom_ft_review2,
#recom_ft_desc3,
#recom_ft_review3,
#recom_ft_desc4,
#recom_ft_review4,
#recom_ft_desc5,
#recom_ft_review5,
#recom_ft_desc6,
#recom_ft_review6,
#recom_ft_desc7,
#recom_ft_review7 {
    overflow: hidden;
    max-height: 4.5em;
    /* 初期状態: 3行分の高さ */
    line-height: 1.5em;
    /* 1行の高さ */
    transition: max-height 0.5s ease;
    /* 開閉時のアニメーション */
}

#recom_ft_desc1.expanded,
#recom_ft_review1.expanded,
#recom_ft_desc2.expanded,
#recom_ft_review2.expanded,
#recom_ft_desc3.expanded,
#recom_ft_review3.expanded,
#recom_ft_desc4.expanded,
#recom_ft_review4.expanded,
#recom_ft_desc5.expanded,
#recom_ft_review5.expanded,
#recom_ft_desc6.expanded,
#recom_ft_review6.expanded,
#recom_ft_desc7.expanded,
#recom_ft_review7.expanded {
    max-height: none;
    /* 全文表示 */
}

.toggle-btn {
    margin: 0 auto;
    cursor: pointer;
    background: rgba(245, 245, 245, 0.2);
    color: #FFECC4;
    border: none;
    padding: 5px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
}

#toggle-btn-desc1:after,
#toggle-btn-review1:after,
#toggle-btn-desc2:after,
#toggle-btn-review2:after,
#toggle-btn-desc3:after,
#toggle-btn-review3:after,
#toggle-btn-desc4:after,
#toggle-btn-review4:after,
#toggle-btn-desc5:after,
#toggle-btn-review5:after,
#toggle-btn-desc6:after,
#toggle-btn-review6:after,
#toggle-btn-desc7:after,
#toggle-btn-review7:after {
    content: "";
    background: url("../images/plus-circle-dotted.svg");
    width: 16px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
}

#toggle-btn-desc1.close:after,
#toggle-btn-review1.close:after,
#toggle-btn-desc2.close:after,
#toggle-btn-review2.close:after,
#toggle-btn-desc3.close:after,
#toggle-btn-review3.close:after,
#toggle-btn-desc4.close:after,
#toggle-btn-review4.close:after,
#toggle-btn-desc5.close:after,
#toggle-btn-review5.close:after,
#toggle-btn-desc6.close:after,
#toggle-btn-review6.close:after,
#toggle-btn-desc7.close:after,
#toggle-btn-review7.close:after {
    content: "";
    background: url("../images/dash-circle-dotted.svg");
    width: 16px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
}

.result_databox_frame {
    position: relative;
}

/* 角の画像共通のスタイル */
.result_databox_frame .corner {
    position: absolute;
    width: 50px;
    /* 画像のサイズを調整 */
    height: 50px;
}

/* 左上 */
.result_databox_frame .top-left {
    top: -40px;
    left: -17px;
    transform: rotate(0deg);
}

/* 右上 */
.result_databox_frame .top-right {
    top: -40px;
    right: -17px;
    transform: rotate(90deg);
}

/* 左下 */
.result_databox_frame .bottom-left {
    bottom: -52px;
    left: -17px;
    transform: rotate(-90deg);
}

/* 右下 */
.result_databox_frame .bottom-right {
    bottom: -52px;
    right: -17px;
    transform: rotate(180deg);
}










.selected_card img {
    width: 180px;
    /* カードの幅 */
    /* カードの高さ */
    transition: transform 0.5s ease-in-out;
    /* 回転アニメーションのトランジション */
    backface-visibility: hidden;
    /* 裏面が見えないようにする */
}

.selected_card {
    position: relative;
    /* カードを重ねるための相対位置 */
    display: inline-block;
    /* インラインブロックで表示 */
}

.rotate {
    transform: rotateY(180deg);
    /* Y軸を中心に回転する */
    transition: transform 0.25s;
    /* 回転のアニメーション */
}

.rotate-180 {
    rotate: 180deg;
    /* X軸を中心に180度回転する */
    transition: none;
    /* アニメーションなし */
    /* backface-visibility: visible !important; */
}

.result_cardarea {
    position: relative;
}

.result_cardarea .bright {
    width: 262px;
    position: absolute;

    transform: translateX(-50%);
    left: 50%;
    top: 30px;

    animation: fade-in 1s ease forwards infinite;
}

.result_cardbox {

}




.result_box {

}

.result_progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    height: calc(100dvh - calc(85px * 2));
    padding-bottom: 85px;
    animation: progress-opacity 4s linear forwards,
               fade-out 0.6s ease forwards;
    animation-delay: 0s, 4s;
}

.result_icon {
    width: 108px;
    margin: 0 auto;
}

.progressbar {
    margin: 24px auto 0;
    width: 290px;
    background-color: #fff;
    height: 8px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;

}

.progressbar_inner {
    width: 100%;
    height: 100%;
    background-color: #A35CCF;
    height: 8px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    animation: progress 4s linear forwards;
}

@keyframes fade-out {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes progress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}


@keyframes progress-opacity {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



.result_progress .text_item {
    margin-top: 16px;
color: #403A50;
text-align: center;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 24px */
letter-spacing: .02em;
}

.result_conplete {
    opacity: 0;
    visibility: hidden;
    animation: fade-in 0.6s ease forwards;
    animation-delay: 4s;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

/* height: calc(100dvh - calc(85px * 2)); */
height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@keyframes fade-in {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

.result_conplete .text_item {
color: #403A50;
text-align: center;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 1.7; /* 34px */
letter-spacing: .02em;
}


.result_cardbox {
    margin-top: 30px;
    height: 117px;
    position: relative;
}
.result_cardbox .basic_card {
    position: absolute;
    width: 57px;
    height: 92px;
    animation-delay: 4s;
}

.result_cardbox .basic_card {
    left: 0;
}

.result_cardbox .basic_card:nth-child(1) {
    top: 6px;
    left: -46px;
}

.result_cardbox .basic_card:nth-last-child(1) {
        top: 6px;
    left: 45px;
}

.rotating_card {

}

.result_buttonbox {
    margin-top: 40px;
}

.result_button {
    width: 262px;
    margin: 0 auto;
}

.result_button a {
    display: flex;
    height: 77px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;

    color: var(--wada-white-ffffff, #FFF);
    text-align: center;
    text-shadow: 0 0 5.5px rgba(67, 42, 104, 0.62);
    
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 24px */
    letter-spacing: 4px;
        box-sizing: border-box;

    background-image: url(../images/result_btn_bg01.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.result_button a:after {
    content: "";
    background: url("../images/arrow-right-circle-fill_be_gold.svg");
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}






.detail_title {
    text-align: center;

font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: 1.2; /* 28.8px */
letter-spacing: 0.2em;

background: var(--Wada-Text-Title02, linear-gradient(180deg, #976DC5 0%, #754DA0 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.detail_box {
    margin-top: 40px;
}

.detail_card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.50);
    padding: 24px 12px 12px 12px;
    max-width: 343px;
    box-sizing: border-box;
    margin: 0 auto;

}

.detail_card + .detail_card {
    margin-top: 16px;


}

.detail_card .time_item {
    color:  #FFF;
    text-align: center;
    
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2; /* 21.6px */
    letter-spacing: .2em;

    border-radius: 4px;
    width: 112px;
    margin: 0 auto;
    padding: 2px;
    margin-bottom: 24px;
}

.detail_card .time_past {

background: #A088E0;
}


.detail_card .time_current {
background: #9A41D2;
}

.detail_card .time_future {
background: #E41FA2;
}

.detail_card .tap_card{
  position: relative;
  width: 88px;
  height: 142px;
  margin: 0 auto;
  perspective: 900px;
}

.tap_icon {
    position: absolute;
    width: 172px;
    top: 35px;
    transform: translateX(-50%);
    left: 50%;
    z-index: 10;

    animation: fade-in 1s ease forwards infinite alternate;

    pointer-events: none;
}

/* 共通サイズ */
.detail_card .basic_card{
  width: 88px;
  height: 142px;
}

/* 下の固定カード（山札） */
.detail_card .stack_card{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.9;
  pointer-events: none; /* 絶対にタップ反応しない */
}

/* 上のめくれるカード */
.detail_card .turn_card{
  position: absolute;
  top: 0;
  left: 0;

  border: 0;
  padding: 0;
  background: transparent;

  transform-style: preserve-3d;
  transition: transform 600ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 裏/表の面 */
.detail_card .turn_card .card_face{
  position: absolute;
  inset: 0;
  display: block;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* 表面は最初は裏向きにして隠す */
.detail_card .turn_card .card_front{
  transform: rotateY(180deg);
}

/* めくれた状態 */
.detail_card .turn_card.is-flipped{
  transform: rotateY(180deg) translate(-18px, 12px);

}

.detail_card.is-open .tap_icon {
    opacity: 0;
    visibility: hidden;
    animation: none;
}


.detail_txt {
    margin-top: 26px;
color:  #403A50;
text-align: center;

font-size: 22px;
font-style: normal;
font-weight: 500;
line-height: 1.2; /* 26.4px */
letter-spacing: .05em;
}

.detail_en {
    margin-top: 2px;
color: #9C62C4;
text-align: center;
font-family: "Cormorant Garamond";
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 1.2; /* 16.8px */
letter-spacing: .07em;
}

.detail_card .text_item {
    margin-top: 16px;
color: var(--Wada-Text-Normal, #403A50);

font-size: 14px;
font-style: normal;
font-weight: 500;
letter-spacing: normal;
line-height: 1.7; /* 23.8px */

border-radius: 10px;
background: rgba(241, 221, 255, 0.80);
padding: 10px 12px;
}

/* 通常カードは最初は閉じる */
.detail_card:not(.contents_blur) .text_item{
  overflow: hidden;
  height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: height 350ms ease, opacity 250ms ease, margin 250ms ease, padding 250ms ease;
}

.detail_card.contents_blur .detail_txt,
.detail_card.contents_blur .detail_en
 {
    filter: blur(6px);
}

/* ロックカードは最初から表示（JSでも強制するけど保険） */
.detail_card.contents_blur .text_item{
  height: auto;
  opacity: 1;
  overflow: visible;
  margin-top: 16px;
  padding: 10px 12px;
}

.text_hidden {
    position: relative;
}

.text_hidden img {
    position: relative;
    z-index: 100;
}


.text_hidden::after {
    content: "";
    position: absolute;
        transform: translateY(-100%);
    z-index: 10;
    top: 20px;
    left: 0;
    width: 100%;
    height: 92px;

    background: linear-gradient(180deg, rgba(241, 221, 255, 0.00) 0.64%, #F1DDFF 67.33%);
}



.time_current {

}


.time_future {

}

.lock_icon {
display: block;
    position: absolute;
    z-index: 100;
    width: 26px;
    top: 60px;
    left: 50px;

    pointer-events: none;
}

.detail_lead {
    margin-top: 16px;
color:#403A50;
text-align: center;

font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 1.6; /* 25.6px */
}

.detail_lead span{
    color: #EC35B2;
 }

.detail_arrow {
    width: 95px;
    margin: 16px auto;
}

.detail_arrow img {
    display: block;
}


.detail_buttonbox {

}

.detail_button {
    width: fit-content;
    margin: 0 auto;
}

.detail_button a {

    display: flex;
width: 295px;
height: 59px;
padding: 10px 16px;
justify-content: space-between;
align-items: center;

color: #FFF;
text-align: left;
text-shadow: 0 0 5.5px rgba(67, 42, 104, 0.62);

font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 1.2; /* 24px */
letter-spacing: 0.016em;

box-sizing: border-box;

    background-image: url(../images/detail_btn_bg01.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.detail_button a span {
    flex-grow: 1;
}


.detail_button a:after {
    content: "";
    background: url("../images/arrow-right-circle-fill_be_gold.svg");
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.detail_button a::before {
    content: "";
    background: url("../images/key.png");
    width: 40px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}





.roulette_header {
    min-height: 120px;
}

.roulette_accent {
    display: block;
    margin: 0 auto;
    width: 140px;
}

.roulette_accent.is-hidden {
    display: none;
}

.roulette_title {
    margin-top: 4px;
color: #FFF;
text-align: center;
text-shadow: 0 0 8px #8826FF;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: #8826FF;
  paint-order: stroke;

font-size: 26px;
font-style: normal;
font-weight: 700;
line-height: 1.5; /* 39px */
letter-spacing: normal;
}

.roulette_title.is-hidden {
    display: none;
}

.roulette_title .large {
color: #FFF;
text-align: center;
text-shadow: 0 0 6px #FF00D0;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: #FF00D0;

font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: 1.5; /* 48px */
letter-spacing: 0.03em;
}

.roulette_retry {
    display: none;
}
.roulette_retry.is-show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.roulette_retry_txt {
color: #FFF;


font-size: 22px;
font-style: normal;
font-weight: 700;
line-height: 1.2; /* 26.4px */
}

.roulette_retry_mark {

}

.roulette_retry_en {
color: #FFF;
text-align: center;
font-family: "Cormorant Garamond";
font-size: 48px;
font-style: normal;
font-weight: 700;
line-height: 1.2; /* 57.6px */
letter-spacing: .02em;
}

.roulette_box{
  position: relative;
  margin-top: 24px;

}

.roulette_img{
  width: 310px;
  margin: 0 auto;
  transform-origin: center center;
  will-change: transform;

}


.roulette_arrow {
    position: absolute;
    width: 48px;
    transform: translateX(-50%);
    top: 118px;
    left: 50%;

}

.roulette_buttonbox {
    margin: 20px auto 0;
    width: fit-content;
}

.roulette_button button,.roulette_button a {
border-radius: 80px;
border: 2px solid #FC2FA5;
background: linear-gradient(180deg, #FFB8DE 0%, #FC0093 100%);
box-shadow: 0 2px 2px 0 rgba(255, 255, 255, 0.10) inset;

color: #FFF;
text-align: center;

font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 160%; /* 38.4px */
letter-spacing: 1.92px;

padding: 12px;

width: 284px;
display: block;
box-sizing: border-box;
}



.roulette_modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    z-index: 10;
    height: 100vh;
    width: 430px;
    transition: all .3s;
    transition-delay: 1s;
    background: rgba(0, 0, 0, 0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
}
@media screen and (max-width: 600px) {
.roulette_modal {
    width: 100%;
}
}

.roulette_modal_inner {
    width: 100%;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.roulette_modal.is-show {
    opacity: 1;
    visibility: visible;
}

.roulette_modal_wrapper {
    background: linear-gradient(180deg, #2D1B4E 0%, #1A0F2E 50%, #0D0618 100%);
    height: auto;
    max-width: min(380px, calc(100vw - 24px));
    width: 100%;
    max-height: 90dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 16px 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 40px rgba(138, 38, 255, 0.3);
    margin: 0 auto;
    box-sizing: border-box;
}

.nowrap {
    white-space: nowrap;
}

.roulette_modal_title {
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.4;
    color: #FFE066;
    text-shadow: 0 0 12px rgba(255, 224, 102, 0.6);
    padding-top: 32px;
}

/* .roulette_modal_title::before {
    content: "";
    border-radius: 320px;
background: radial-gradient(50% 50% at 50% 50%, #FFF 0%, rgba(255, 255, 255, 0.80) 61.18%, rgba(255, 255, 255, 0.00) 100%);
width: 320px;
height: 180px;
display: block;
position: absolute;
left: 0;
top: -70px;
z-index: 1;
} */

.roulette_modal_energy {
    margin-top: 16px;
    color: #FFD700;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.03em;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.roulette_modal_txt {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.roulette_modal_buttonbox {
    margin: 32px auto 0;
    width: 100%;
    max-width: 284px;
    display: flex;
    justify-content: center;
}

.roulette_modal_buttonbox .roulette_button a {
    width: 100%;
    max-width: 284px;
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 18px;
}

.roulette_button {

}

.roulette_modal_notice {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}




.roulette2_header {

}

.roulette2_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




.roulette2_ac {

}

.roulette2_ac_img {
    width: 300px;
    margin: 17px auto 0;
}

.roulette2_ac_time {
    color: #ED004F;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2; /* 24.231px */
    letter-spacing: .05em;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ED004F;
    box-sizing: border-box;
    max-width: 343px;
    margin: 24px auto 0;
}

.roulette2_lead {
    margin-top: 16px;
color: #403A50;
text-align: center;

font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 160%; /* 32px */
}

.roulette2_lead span {
    color: #F9219F;
}

.roulette2_arrow {
    width: 137px;
    margin: 20px auto 0;
}

/* 鑑定のチラ見せ（未来のカード＋鍵アイコン） */
.roulette2_preview {
    margin-top: 20px;
}

.roulette2_preview_card {
    display: flex;
    justify-content: center;
}

.roulette2_preview_card_inner {
    position: relative;
    width: 88px;
    height: 142px;
    perspective: 900px;
}

.roulette2_preview_card_inner .basic_card {
    width: 88px;
    height: 142px;
}

.roulette2_preview_card_inner .stack_card {
    position: absolute;
    top: 0;
    left: 0;
    width: 88px;
    height: 142px;
    opacity: 0.9;
}

.roulette2_preview_card_inner .turn_card {
    position: absolute;
    top: 0;
    left: 0;
    width: 88px;
    height: 142px;
    border: 0;
    padding: 0;
    background: transparent;
    transform-style: preserve-3d;
    pointer-events: none;
}

.roulette2_preview_card_inner .turn_card .card_face {
    position: absolute;
    inset: 0;
    display: block;
    backface-visibility: hidden;
}

.roulette2_preview_card_inner .turn_card .card_front {
    transform: rotateY(180deg);
}

.roulette2_preview_card_inner .turn_card.is-flipped {
    transform: rotateY(180deg) translate(-18px, 12px);
}

.roulette2_preview_card_inner .turn_card img {
    width: 88px;
    height: 142px;
    display: block;
}

.roulette2_lock_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 26px;
    height: 36px;
    pointer-events: none;
    flex-shrink: 0;
}

.roulette2_lock_icon img {
    width: 26px !important;
    height: 36px !important;
    max-width: 26px;
    max-height: 36px;
    object-fit: contain;
    display: block;
}

.roulette2_preview_txt {
    margin: 16px 0 0;
    color: #403A50;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    padding: 0 8px;
}

.roulette2_ac_cv {
    margin-top: 34px;
    color: #403A50;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    padding: 0 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.roulette2_buttonbox {
    margin: 10px auto 0;
    width: fit-content;
}

.roulette_button {

}

.roulette2_ac_notice {
    margin-top: 6px;
    color: var(--Wada-Text-Light, #615C6D);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    letter-spacing: normal;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 8px;
    max-width: 100%;
    box-sizing: border-box;
}

/* 大当たり結果画面：コンパクトレイアウト（1画面に収める） */
.site_wrapper_roulette2.is-result .roulette2_ac_img {
    width: 260px;
    margin: 12px auto 0;
}

.site_wrapper_roulette2.is-result .roulette2_ac_img img {
    width: 100%;
    height: auto;
}

.site_wrapper_roulette2.is-result .roulette2_ac_time {
    margin: 12px auto 0;
    padding: 8px 16px;
    font-size: 18px;
}

.site_wrapper_roulette2.is-result .roulette2_preview {
    margin-top: 16px;
}

.site_wrapper_roulette2.is-result .roulette2_preview_txt {
    margin-top: 12px;
    font-size: 13px;
}

.site_wrapper_roulette2.is-result .roulette2_ac_cv {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #F9219F;
}

.site_wrapper_roulette2.is-result .roulette2_buttonbox {
    margin: 16px auto 0;
}

.roulette2_buttonbox.is-pc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.roulette2_buttonbox.is-pc .roulette_button {
    width: 100%;
    max-width: 284px;
}

.roulette2_buttonbox.is-pc .roulette_button a {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.site_wrapper_roulette2.is-result .roulette2_ac_notice {
    margin-top: 10px;
}



/* タイトル：最初は隠す */
.roulette2_title {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.roulette2_title.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* アコーディオン：閉じ状態 */
.roulette2_ac {
  overflow: hidden;
  height: 0;                 /* JSで開くときにpxを入れる */
  opacity: 0;
  transition: height .6s ease, opacity .4s ease;
}

/* 開いた見た目（高さはJS） */
.roulette2_ac.is-open {
  opacity: 1;
}
