@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_pc.png) no-repeat top;
        width: 1920px;
        height: 1819px;
        position: relative;
    }

    .dream_area {
        padding: 159px 0 0;
    }

    .dream_tit {
        background: url(../images/dream_tit.png) no-repeat center;
        background-size: cover;
        width: 801px;
        height: 256px;
        margin: 0 auto;
    }

    .dream_day {
        background: url(../images/dream_day.svg) no-repeat center;
        background-size: cover;
        width: 678px;
        height: 47px;
        margin: 28px auto 0px;
        padding: 0px;
    }

    .come {
        font-family: "Noto Sans JP", serif;
        font-size: 18px;
        text-align: center;
        margin: 21px auto 21px;
    }


    /* タブ */
    .btn_area {
        display: flex;
        justify-content: center;
    }

    /* 基本スタイル */
    .tab_btn {
        padding: 10px 20px;
        cursor: pointer;
        margin-right: -18px;
        width: 185px;
        height: 262px;
        position: relative;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(0);
        /* 初期位置 */
    }

    .btn_area .tab_btn:nth-child(even) {
    margin-top: 75px;
    right: 5px;
}

    /* アクティブ時 */
    .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: 625px;
        background: url(../images/dream_data_bg.png);
    }

    .tab_content {
        display: none;
        padding: 55px 0;
        width: 100%;
        height: 100%;
    }

    .racer {
        position: absolute;
        width: 426px;
        height: 596px;
        left: 333px;
        top: 0px;
        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: 836px;
        padding-top: 67px;
    }

    /* フェードインアニメーション */
    .data .right {
        opacity: 0;
    }

    .data .right.fade-in {
        opacity: 1;
    }

    .data .tit {
        background: url(../images/dream_data_tit.svg) no-repeat center / cover;
        width: 338px;
        height: 44px;
    }


    .seiseki {
        margin: 0;
        padding: 0;
    }

    .seiseki ul {
        display: flex;
        justify-content: space-between;
        padding: 0;
        margin: 27px 0 20px;
        width: 777px;
    }

    .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: 2641px;
        margin: 0;
    }

    .dream_area {
        padding: 101px 0;
        margin: 0;
    }

    .dream_tit {
        background: url(../images/dream_tit.png) no-repeat center;
        background-size: cover;
        width: 750px;
        height: 302px;
        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: 15px auto 0px;
        padding: 0px;
    }

    .come {
        font-family: "Noto Sans JP", serif;
        font-size: 24px;
        text-align: center;
        margin: 30px auto;
    }


    /* タブ */
    .btn_area {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* 基本スタイル */
    .tab_btn {
        padding: 10px 20px;
        cursor: pointer;
        width: 208px;
        height: 292px;
        position: relative;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: translateY(0);
    }

    .tab_d1,
    .tab_d2,
    .tab_d3 {
        margin: 0px -5px 50px;
    }

    .tab_d4,
    .tab_d5,
    .tab_d6 {
        margin: 0px -9px 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;
    }

    .tab_content {
        display: none;
        padding: 67px 0;
        width: 100%;
        height: 100%;
    }

    .racer {
        position: absolute;
        width: 399px;
        height: 558px;
        left: 21px;
        top: 57px;
    }

    .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: 423px;
        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: 32px 0 20px;
        width: 291px;
        flex-wrap: wrap;
        bottom: 20px;
        position: relative;
    }

    .data .tit {
        background: url(../images/dream_data_tit_sp.svg) no-repeat center / cover;
        width: 285px;
        height: 40px;
    }

    .tab_content.active {
        display: block;
    }

    .seiseki li {
        width: 140px;
        border: 1px solid #000;
        height: 126px;
        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: 676px;
        position: relative;
        right: 383px;
        margin: 0 auto;
        line-height: 45px;
    }

    .yel {
        background: #edff76;
    }


}