/* tenbo.css */
body {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%; /* Safari */
}
#tenbo {
    position: relative;
}
#tenbo * {
    font-family: 'M PLUS 1p';
    box-sizing: border-box;
}






.tenbo .bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(../images/racer_bg.png) no-repeat top left, linear-gradient(90deg, #EBC8FF, #EEB2FF);
    background-size: cover;
    top: 0;
    z-index: -1;
    transform: translateZ(0);
}

#tenbo div.tit{
    text-align: center;
    padding-top: 48px;
    position: relative;
}
#tenbo div.tit::before{
    content: "";
    position: absolute;
    width: 1656px;
    height: 630px;
    background: radial-gradient(ellipse, #fff8,#fff0 70%);
    border-radius: 100%;
    left: 50%;
    top: -100px;
    transform: translateX(-50%);
    z-index: -1;
}
/* #tenbo div.tit::after{
    content: "";
    position: absolute;
    width: 256px;
    height: 448px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    top: 0;
    left: 0;
    mix-blend-mode: soft-light;
} */
#tenbo p.read{
    width: 996px;
    margin: 8px auto 80px;
    background: #fff;
    border-radius: 200px;
    padding: 16px 0;
    font-size: 18px;
    line-height: 2;
    font-weight: 800;
    color: #12004E;
    text-align: center;
}

#tenbo section{
    width: 100%;
    padding: 0 132px 96px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
#tenbo section::before{
    position: absolute;
    content: "";
    width: 360px;
    height: 102px;
    background: url(../images/tenbo_boat.png)no-repeat right bottom;
    top: -90px;
    right: 132px;
    z-index: -1;
}
#tenbo section>div{
    width: 982px;
}
#tenbo section>div p{
    padding: 32px 56px 0 48px;
    font-size: 20px;
    line-height: 2;
    font-weight: 500;
    color: #12004E;
    text-align: justify;
    text-shadow: #F2DCFF 0 0 24px;
}
#tenbo section>div p span{
    font-weight: 800;
    background: #fff100;
    padding: 0 0.2em;
}



/***********************************************************************
「★PC版 CSS★」ブラウザの幅が751px以上ならここの記述が有効になる
**********************************************************************/
@media all and (min-width: 751px) {

    .pc_non{display: none;}

    #tenbo a{
        transition: all 0.2s;
    }
    #tenbo a:hover{
        opacity: 0.8;
        transform: translateY(2px);
    }

    /* ページトップボタン */
    .page_top {
        background: url(../images/page_top.png) no-repeat bottom left / contain;
        width: 110px;
        height: 150px;
        position: fixed;
        bottom: 0;
        right: 0;
        display: block;
        pointer-events: all;
        cursor: pointer;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        pointer-events: none;
    }
    .page_top.show {
        opacity: 1 !important;
        transform: translateY(0);
        pointer-events: all;
    }
}


/***********************************************************************
「★SP版 CSS★」ブラウザの幅が750px以下ならここの記述が有効になる
**********************************************************************/
@media only all and (max-width: 750px) {

.sp_non{display: none;}

#tenbo {
    overflow: hidden;
}

.tenbo .bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(../images/racer_bg_sp.png) no-repeat top left, linear-gradient(90deg, #EBC8FF, #EEB2FF);
    background-size: cover;
    top: 0;
    z-index: -1;
    transform: translateZ(0);
}

#tenbo div.tit{
    text-align: center;
    padding-top: 48px;
    position: relative;
    padding-top: 120px;
}
#tenbo div.tit::before{
    content: "";
    position: absolute;
    width: 1092px;
    height: 950px;
    background: radial-gradient(ellipse, #fff8,#fff0 70%);
    border-radius: 100%;
    left: 50%;
    top: -150px;
    transform: translateX(-50%);
    z-index: -1;
}
#tenbo div.tit::after{
    content: none;
}
#tenbo p.read{
    width: 678px;
    margin: 8px auto 112px;
    background: #fff;
    border-radius: 48px;
    padding: 24px 32px;
    font-size: 24px;
    line-height: 2;
    font-weight: 800;
    color: #12004E;
    text-align: justify;
}

#tenbo section{
    width: 100%;
    padding: 0 36px 128px;
    display: block;
    position: relative;
}
#tenbo section::before{
    position: absolute;
    content: "";
    width: 360px;
    height: 102px;
    background: url(../images/tenbo_boat.png)no-repeat right bottom;
    top: -90px;
    right: -56px;
    z-index: -1;
}
#tenbo section>img:first-of-type{
    margin: 0 -36px -56px;
}
#tenbo section:nth-of-type(1)>img:first-of-type{
    margin: 0 -36px -32px;
}
#tenbo section>div{
    width: 100%;
}
#tenbo section>div p{
    padding: 20px 16px 0;
    font-size: 26px;
    line-height: 2;
    font-weight: 500;
    color: #12004E;
    text-align: justify;
    text-shadow: #F2DCFF 0 0 24px;
}
#tenbo section>div p span{
    font-weight: 800;
    background: #fff100;
    padding: 0 0.2em;
}
#tenbo section>div p img{
    margin: 20px 0;
    width: 100%;
}


}

/***********************************************************************
Key frame
**********************************************************************/
.anime {
    opacity: 0;
}

.tit.anime.mov{
    animation: 0.5s ease 0s 1 normal both running fade-in-bottom;
}
.read.anime.mov{
    animation: 0.5s ease 0.15s 1 normal both running fade-in-bottom;
}
section.anime.mov{
    animation: 0.5s ease 0s 1 normal both running fade-in-bottom;
}

@keyframes fade-in-bottom {
    0% {
    transform: translateY(50px);
    opacity: 0;
    }
    100% {
    transform: translateY(0px);
    opacity: 1;
    }
}

@keyframes scale-width {
    0% {
        transform: scaleX(0);
        transform-origin: center;
    }
    100% {
        transform: scaleX(1);
        transform-origin: center;
    }
}