@charset "UTF-8";

/*******************************
共通CSS
********************************/

p {
    font-family: "Noto Sans JP", serif;
}


/***********************************************************************
  「★PC版 CSS★」ブラウザの幅が751px以上ならここの記述が有効になる
  **********************************************************************/
@media all and (min-width: 751px) {

    .dream_wrapper {
        background: url(../images/dream_bg.png) no-repeat top;
        width: 1920px;
        height: 1287px;
        position: relative;
    }

    .dream_area {
        padding: 79px 0 0;
    }

    .dream_tit {
        background: url(../images/dream_tit.svg) no-repeat center;
        background-size: cover;
        width: 602px;
        height: 87px;
        margin: 0 auto;
    }

    .dream_day {
        background: url(../images/dream_day.svg) no-repeat center;
        background-size: cover;
        width: 618px;
        height: 59px;
        margin: 4px auto 0px;
        padding: 0px;
    }

    .dream_toto {
        background: url(../images/dream_toto.png) no-repeat center;
        background-size: cover;
        width: 930px;
        height: 124px;
        padding: 0px;
        position: absolute;
        left: 25.8%;
        top: 140px;
    }

    .come {
        font-family: "Noto Sans JP", serif;
        font-size: 17px;
        text-align: center;
        margin: 15px auto 16px;
    }


    /* タブ */
    .btn_area {
        display: flex;
        justify-content: center;
    }

    /* 基本スタイル */
    .tab_btn {
        padding: 10px 20px;
        cursor: pointer;
        margin-right: 16px;
        width: 145px;
        height: 246px;
        position: relative;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(0);
        /* 初期位置 */
    }

    /* アクティブ時 */
    .tab_btn.active {
        opacity: 0.5;
        transform: translateY(10px);
        /* 下に10px移動 */
    }

    .tab_d1 {
        background: url(../images/dream_tab01.png) no-repeat center;
        background-size: cover;
    }

    .tab_d2 {
        background: url(../images/dream_tab02.png) no-repeat center;
        background-size: cover;
    }

    .tab_d3 {
        background: url(../images/dream_tab03.png) no-repeat center;
        background-size: cover;
    }

    .tab_d4 {
        background: url(../images/dream_tab04.png) no-repeat center;
        background-size: cover;
    }

    .tab_d5 {
        background: url(../images/dream_tab05.png) no-repeat center;
        background-size: cover;
    }

    .tab_d6 {
        background: url(../images/dream_tab06.png) no-repeat center;
        background-size: cover;
    }

    /* 矢印の基本スタイル */
    .tab_btn::after {
        content: '';
        width: 40px;
        height: 40px;
        background: url(../images/dream_yaji.svg) no-repeat center;
        background-size: contain;
        position: absolute;
        bottom: -43px;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        /* 初期位置 */
        opacity: 1;
        transition: opacity 0.3s ease, transform 0.3s ease;
        /* アニメーション設定 */
    }

    /* ホバー時：矢印が少し下にスライド */
    .tab_btn:hover::after {
        transform: translateX(-50%) translateY(5px);
        /* 下に5px移動 */
    }

    /* アクティブ時：矢印をぬるっと非表示 */
    .tab_btn.active::after {
        opacity: 0;
        /* 透明にする */
        transform: translateX(-50%) translateY(10px);
        /* 下にさらに移動して消える */
    }

    /* 位置を調整 */
    .tab_btn {
        position: relative;
    }

    .tab_content_area {
        position: relative;
        margin: 50px auto;
        width: 1920px;
        height: 634px;
        background: url(../images/dream_data_bg.png);
    }

    .tab_content {
        display: none;
        padding: 55px 0;
        width: 100%;
        height: 100%;
    }

    .racer {
        position: absolute;
        width: 493px;
        height: 545px;
        left: 283px;
        top: 20px;
        transition: transform 0.6s ease, opacity 0.6s ease;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        opacity: 0;
        transform: rotateY(-180deg);
        /* 最初は180度回転して裏側の状態 */
    }

    .racer.active {
        transform: rotateY(0deg);
        opacity: 1;
    }

    .racer.rotate-in {
        transform: rotateY(180deg);
        opacity: 0;
    }

    .racer.d1 {
        background: url(../images/dream_01.png) no-repeat center;
        background-size: cover;
    }

    .racer.d2 {
        background: url(../images/dream_02.png) no-repeat center;
        background-size: cover;
    }

    .racer.d3 {
        background: url(../images/dream_03.png) no-repeat center;
        background-size: cover;
    }

    .racer.d4 {
        background: url(../images/dream_04.png) no-repeat center;
        background-size: cover;
    }

    .racer.d5 {
        background: url(../images/dream_05.png) no-repeat center;
        background-size: cover;
    }

    .racer.d6 {
        background: url(../images/dream_06.png) no-repeat center;
        background-size: cover;
    }

    .data {
        margin: 0;
        padding: 0;
    }

    .data .right {
        margin-left: 762px;
        padding-top: 10px;
    }

    /* フェードインアニメーション */
    .data .right {
        opacity: 0;
    }

    .data .right.fade-in {
        opacity: 1;
    }


    .seiseki {
        margin: 0;
        padding: 0;
    }

    .seiseki ul {
        display: flex;
        justify-content: space-between;
        padding: 0;
        margin: 5px 0 20px;
        width: 777px;
    }

    .tit p::before {
        content: '';
        display: inline-block;
        width: 48px;
        height: 70px;
        background-image: url(../images/dream_kira.svg);
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 5px;
        vertical-align: middle;
    }

    .tit p {
        font-family: "fot-chiaro-std", sans-serif;
        font-size: 50px;
        margin: 0;
        padding: 0;
        background: linear-gradient(to bottom, #9544FF, #6488FF);
        -webkit-background-clip: text; /* 背景を文字で切り抜く（Safari/Chrome対応） */
        -webkit-text-fill-color: transparent; /* テキストの中身を透明にする */
        background-clip: text; /* 他ブラウザ対応 */
        color: transparent; /* 念のため */
    }

    .tab_content.active {
        display: block;
    }

    .seiseki li {
        width: 122px;
        border: 1px solid #000;
        height: 121px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 24px;
        position: relative;
        font-family: 'Noto Sans', sans-serif;
        flex-direction: column;
    }

    .seiseki li p.dt {
        position: absolute;
        top: 0;
        background: linear-gradient(to bottom, #B037FF, #5E2EFF);
        line-height: 38px;
        color: #FFF;
        text-align: center;
        width: 70px;
        height: 38px;
        top: -24px;
        font-size: 20px;
        margin: 0;
        padding: 0px;
        font-weight: bold;
    }

    .seiseki li .dd {
        font-size: 38px;
        font-family: 'Roboto', sans-serif;
        font-weight: bold;
        display: flex;
        flex-direction: column;
        text-align: center;
        line-height: 33px;
        position: relative;
        top: 6px;
    }

    .seiseki li p span {
        font-size: 25px;
        font-weight: bold;
    }

    .yel {
        background: #edff76;
    }

    .txt {
        font-family: "Noto Sans JP", serif;
        width: 777px;
        font-size: 19px;
        line-height: 34px;
    }

}

/***********************************************************************
  「★SP版 CSS★」ブラウザの幅が750px以下ならここの記述が有効になる
  **********************************************************************/
@media only all and (max-width: 750px) {


    .dream_wrapper {
        background: url(../images/dream_bg_sp.png) no-repeat top;
        width: 750px;
        position: relative;
        height: 2273px;
        margin: 0;
    }

    .dream_area {
        padding: 110px 0;
        margin: 0;
    }

    .dream_tit {
        background: url(../images/dream_tit.svg) no-repeat center;
        background-size: cover;
        width: 700px;
        height: 102px;
        margin: 0 auto;
        position: relative;
        right: 3px;
    }

    .dream_day {
        background: url(../images/dream_day.svg) no-repeat center;
        background-size: cover;
        width: 630px;
        height: 53px;
        margin: 10px auto 0px;
        padding: 0px;
    }

    .come {
        font-family: "Noto Sans JP", serif;
        font-size: 24px;
        text-align: center;
        margin: 27px auto;
    }


    /* タブ */
    .btn_area {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* 基本スタイル */
    .tab_btn {
        padding: 10px 20px;
        cursor: pointer;
        width: 176px;
        height: 290px;
        position: relative;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: translateY(0);
    }

    .tab_d1,
    .tab_d2,
    .tab_d3 {
        margin: 0px 8px 55px;
    }
    .tab_d4,
    .tab_d5,
    .tab_d6 {
        margin: 0px 8px 10px;
    }

    /* アクティブ時 */
    .tab_btn.active {
        opacity: 0.5;
        transform: translateY(10px);
        /* 下に10px移動 */
    }

    .tab_d1 {
        background: url(../images/dream_tab01.png) no-repeat center;
        background-size: cover;
    }

    .tab_d2 {
        background: url(../images/dream_tab02.png) no-repeat center;
        background-size: cover;
    }

    .tab_d3 {
        background: url(../images/dream_tab03.png) no-repeat center;
        background-size: cover;
    }

    .tab_d4 {
        background: url(../images/dream_tab04.png) no-repeat center;
        background-size: cover;
    }

    .tab_d5 {
        background: url(../images/dream_tab05.png) no-repeat center;
        background-size: cover;
    }

    .tab_d6 {
        background: url(../images/dream_tab06.png) no-repeat center;
        background-size: cover;
    }

    /* 矢印の基本スタイル */
    .tab_btn::after {
        content: '';
        width: 40px;
        height: 40px;
        background: url(../images/dream_yaji.svg) no-repeat center;
        background-size: contain;
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        transition: opacity 0.3s ease, transform 0.3s ease;
        /* アニメーション設定 */
    }

    /* アクティブ時：矢印をぬるっと非表示 */
    .tab_btn.active::after {
        opacity: 0;
        /* 透明にする */
        transform: translateX(-50%) translateY(10px);
        /* 下にさらに移動して消える */
    }

    /* 位置を調整 */
    .tab_btn {
        position: relative;
    }

    .tab_content_area {
        position: relative;
        margin: 51px auto 0;
        width: 750px;
        height: 1100px;
        background: url(../images/dream_data_bg_sp.png);
    }

    .tab_content {
        display: none;
        padding: 50px 0;
        width: 100%;
        height: 100%;
    }

    .racer {
        position: absolute;
        width: 428px;
        height: 480px;
        left: -7px;
        top: 67px;
    }

    .racer.d1 {
        background: url(../images/dream_01.png) no-repeat center;
        background-size: cover;
    }

    .racer.d2 {
        background: url(../images/dream_02.png) no-repeat center;
        background-size: cover;
    }

    .racer.d3 {
        background: url(../images/dream_03.png) no-repeat center;
        background-size: cover;
    }

    .racer.d4 {
        background: url(../images/dream_04.png) no-repeat center;
        background-size: cover;
    }

    .racer.d5 {
        background: url(../images/dream_05.png) no-repeat center;
        background-size: cover;
    }

    .racer.d6 {
        background: url(../images/dream_06.png) no-repeat center;
        background-size: cover;
    }

    .data {
        margin: 0;
        padding: 0;
    }

    .data .right {
        margin-left: 403px;
        padding-top: 10px;
    }

    /* フェードインアニメーション */
    .racer .data .right {
        opacity: 0;
    }

    .racer .data .right.fade-in {
        opacity: 1;
    }


    .seiseki {
        margin: 0;
        padding: 0;
    }

    .seiseki ul {
        display: flex;
        justify-content: space-between;
        padding: 0;
        margin: 5px 0 20px;
        width: 302px;
        flex-wrap: wrap;
        bottom: 20px;
        position: relative;
    }

    .tit p::before {
        content: '';
        display: inline-block;
        width: 40px;
        height: 60px;
        background-image: url(../images/dream_kira.svg);
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 10px;
        vertical-align: middle;
    }

    .tit p {
        font-family: "fot-chiaro-std", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 41px;
        position: relative;
        bottom: 10px;
        margin: 0;
        padding: 0;
        background: linear-gradient(to bottom, #9544FF, #6488FF);
        -webkit-background-clip: text; /* 背景を文字で切り抜く（Safari/Chrome対応） */
        -webkit-text-fill-color: transparent; /* テキストの中身を透明にする */
        background-clip: text; /* 他ブラウザ対応 */
        color: transparent; /* 念のため */
    }

    .tab_content.active {
        display: block;
    }

    .seiseki li {
        width: 140px;
        border: 1px solid #000;
        height: 114px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 34px;
        position: relative;
        font-family: 'Noto Sans', sans-serif;
        flex-direction: column;
        left: 5px;
        padding: 0;
    }

    .seiseki li p.dt {
        position: absolute;
        top: 0;
        background: linear-gradient(to bottom, #B037FF, #5E2EFF);
        line-height: 44px;
        color: #FFF;
        text-align: center;
        width: 110px;
        height: 48px;
        top: -24px;
        font-size: 28px;
        font-weight: bold;
        margin: 0;
        padding: 0px;
    }

    .seiseki li .dd {
        font-size: 41px;
        font-family: 'Roboto', sans-serif;
        font-weight: bold;
        display: flex;
        flex-direction: column;
        text-align: center;
        line-height: 32px;
        position: relative;
        top: 12px;
        margin: 0;
        padding: 0;
    }

    .seiseki li p span {
        font-size: 24px;
        font-weight: bold;
    }

    .txt {
        font-family: "Noto Sans JP", serif;
        width: 670px;
        position: relative;
        right: 358px;
        margin: 0 auto;
    }

        .yel {
        background: #edff76;
    }


}