
.anri_mov_pan {
    display: flex;
}

#header-common >p {
    text-align: left;
}

h1[class="ttl_txt"]  {
    margin-top: 20px;
    width: 60%;
}

#anri_mov {
    width: 640px;
}

#anri_mov * p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
}


#anri_ttl {
    margin: 2rem 0 6rem;
    height: 440px;
    background: url(../images/anrimv.jpg) no-repeat;
    background-position: right -25px top -100px;
    background-size: 110%;
    overflow: hidden;
    position: relative;
    z-index: -1;
}

#anri_ttl::after {
    content: "";
    position: absolute;
    width: 94%;
    height: 92%;
    display: block;
    border: 1px solid #fff;
/*
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
*/
    top:4%;
    left:2.8%;
    display: inline-block;
    opacity: 0;
    animation: videoin;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 2s;

     
}


h1[class="ttl_txt"]  {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 65%;
    left: 50%;
    width: 45%;
    z-index: 1;
}

h1[class="ttl_txt"]  > img {
    width: 100%;
}

.disp_txt {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    line-height: 1.4em;
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    color: #444;
}
.disp_txt>span{
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
}

.mv_bg {
    background: #e2edef;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 138px;
    width: 100%;
    z-index: 0;

}

.anime_videoin{
    opacity: 0;
    animation: videoin;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}

.anime_videoin2{
    opacity: 0;
    animation: videoin;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
}
.anime_videoin3{
    opacity: 0;
    animation: videoin;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 4s;
}




h2 {
    width: 100%;
    margin: 80px auto 40px;
}

h2 img {
    height: 56px;
}

h2 p {
    margin: 0;
    vertical-align: middle;
    color: #444;
    font-weight: 300;
}

.step_disp_wrap{
    align-self: center;
    margin-left: 1.4rem;
    text-align: left;
}
.ttlmovie{
    margin:6rem 0 3rem ;
}

.ttlmovie:nth-of-type(2) .step_disp_wrap{
margin-left: 1rem;
}

.step_disp_wrap p:first-of-type {
    font-size: 0.8rem;
    font-weight: 600;
    text-indent: 0.1rem;
    margin-bottom: 0.3em;
    margin-top: 0.1em;
    letter-spacing: 0.1rem;
    vertical-align: -5%;
}

.step_disp_wrap p:nth-of-type(2){
    font-size: 1.1rem;
    letter-spacing: 0.4rem;
    font-weight: 300;
}

.step_disp_wrap p[name="dabo"]{
letter-spacing:0.23rem;
font-size: 1.05rem;
}
.step_disp_wrap p[name="dabo"]>span{
margin: 0 -0.1em 0 -0.1em;
}
.step_disp_wrap p[name="dabo"]>span:last-of-type{
margin: 0 -0.5em 0 -0.2em;
}
.step_ttl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.btn_pd {
    width: 40%;
    border: solid 1px #e2edef;
    margin: 80px auto 80px;
    position: relative;
    background: #e2edef;
}

.btn_pd > a {
    text-decoration: none;
}

.btn_pd > p {
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    margin: 1rem 0;
    color: #333;
    letter-spacing: 0.05rem;
}

#anri_mov .arrow_right > img {
    width: 3rem;
}

#anri_mov .arrow_right {
    position: absolute;
    right: -10%;
    top: 45%;
}

#anri_mov a:hover .arrow_right {
    right: -15%;
    transition: 300ms;
}

#anri_mov a {
    text-decoration-line: none;
}

#smf-header-nav-frame {
    display: none;
    overflow-x: hidden;

}

.ttlmovie > img {
    width: 4rem;
}

.sp_display {
    display: none;
}
 .sp_iphonese{
        display: none;
    }

/*-------------------------------------------------------
                     footer
-------------------------------------------------------*/
.footer_cont {
    width: 100%;
    margin-top: 2rem;
    
}

.footer_cont > p {
    margin: 4rem auto 2rem;


}

#notice {
    font-size: 0.8rem;
    line-height: 1.0em;
    width: 96%;
    margin: 0 auto;
}

#footer_link {
    margin: auto 0.5rem;
    text-align: center;
    font-size: 1rem;
}

#footer_link p a {
    font-size: 0.7rem;
}

.cpright {
    margin-top: 1rem;
    padding: 0.5rem;
    font-size: 0.8rem;
    background-color: #8b8b8b;
    color: #fff;
    font-weight: 200;
}

/*-------SP--------*/
@keyframes mvin {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    15% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes videoin {
    0% {
        transform: translateY(-3%);
        opacity: 0;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes videoout {
    0% {

        opacity: 1;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

@media screen and (max-width:640px) {
    body {
        overflow-x: hidden;
        padding: 0;
        margin: 0;
        width: 100vw;
    }
    table{
        max-width: 100vw;
        overflow-x: hidden;
        table-layout: fixed;
        word-break: break-all;
        word-wrap: break-word;
    }
    #all{
        width: 100vw !important;
    }
    
    #content{
        width: 100vw !important;
        padding-left: 0;
    }
    #anri_wrap{
        width: 100vw !important;
    }
    #main_right{
        width: 100vw !important;
    }
    td[width="78"]{
        display: none;
    }
    .pc_display {
        display: none !important;
    }

    .sp_display {
        display: block;
    }

    .cont_wrap {
        width: 100vw;
    }

    /*------------SPMV-----------*/

    #anri_ttl {
        margin-top: -4vh;
        margin-bottom: 4vh;
        width: 100%;
        height: 68vh;
        background: url(../images/anrimv.jpg) no-repeat;
        background-position: left -24vw top -6vh;
        background-size: 78vh;
        overflow: hidden;
        z-index: -1;
        background-origin: content-box;
    }

    #anri_ttl::after {
        content: "";
        position: absolute;

        width: 92%;
        height: 92.5%;
        display: block;
        border: 1px solid #fff;
/*
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
*/
        top:4%;
        left:3.5%;

    }


    h1[class="ttl_txt"] {
        position: absolute;
        top: 43vh;
        left: 60vw;
        width: 100vw;
        z-index: 1;
        margin: 0;
    }

    h1[class="ttl_txt"] > img {
        width: 78vw;
    }

    .disp_txt {
        position: absolute;
        bottom: 6vh;
        width: 100%;
        text-align: center;
        line-height: 2.0em;
        font-size: 1.00em;
        letter-spacing: 0.1rem;
        color: #444;
    }
    .disp_txt >span {
     font-size: 0.7rem;
     line-height: 1.6em;
    letter-spacing: 0;
    }
    .mv_bg {
        background: #e2edef;
        position: absolute;
        bottom: 0;
        right: 0;
        height: 26vh;
        width: 100vw;
        width: 100vw;
        z-index: 0;

    }

    .step_disp > p {
        margin: 0.5rem 0;
        width: 100vw;
        font-size: 0.5rem;
        text-align: center;
    }

    .scroll_area {
        margin-top: 0rem;
        width: 100%;
        height: 14vh;
        position: relative;
    }

    .scroll_area > span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: scroll;
        animation-duration: 4s;
        animation-timing-function: ease-in;
        animation-iteration-count: infinite;
    }

    .arrow_d {
        width: 9vw;
    }

    #anri_mov {
        width: 100vw;
    }

    #move_cont {
        margin-top: -14vh;
    }
    .step_ttl{
        justify-content:center;
    }
    h2 img {
        height: 2.8rem;
    }
    .step_disp_wrap{
        margin-left: 1.1rem;
    }
    .ttlmovie:nth-of-type(2) .step_disp_wrap{
        margin-left: 0.8rem;
    }
    step_disp_wrap p:nth-of-type(1){
        font-size:0.5rem;
        
    }
    .step_disp_wrap p:nth-of-type(2) {
        letter-spacing: 0.2rem;
        font-size: 0.8rem;
    }
    .step_disp_wrap p[name="dabo"]{
        letter-spacing: 0.0rem;
    }

    .step_disp_wrap p[name="dabo"]>span:last-of-type{
        margin: 0 -0.3em 0 -0em;
    }

    h2 {
        margin: 60px auto 20px;
    }

    iframe {
        width: 100vw;
        height: 50vw;
        overflow-x: hidden;
    }
    .kotei-review{
        display: none !important;
    }
    
    .btn_pd {
        width: 80%;

    }

    .btn_pd p {
        letter-spacing: 0.2rem;
    }


    #smf-header-nav-frame {
        display: block;
        position: fixed;
    }

    .ttlmovie > img {
        width: 4rem;
    }

    .scroll_area .fade {
        opacity: 1;
    }


    .scroll_area .fadein {
        opacity: 0;
        animation: videoout;
        animation-duration: 0.5s;
    }

    .fade {
        opacity: 0;
    }


    .fadein {
        animation: videoin;
        animation-duration: 0.5s;
    }
    .footer_cont{
        width: 100vw;
        overflow-x: hidden;
        font-size: 1.3rem;
    }
    
    .footer_cont a > p {
        font-size: 1.3rem;
        margin-bottom: 1rem;
             color:#666;
    }
    #footer_link p a {
            font-size: 1.3rem;
             color:#666;
        
    }
    #footer_link{
        margin: 0;
        color:#666;
    }
    .cpright{
        padding: 1.2rem;
        margin-top: 1.5rem;
    }
}
@media screen and (max-width:330px) {
     .disp_txt {
        font-size: 0.8em;
        letter-spacing: 0.05rem;
         bottom: 4vh
    }
    
    .disp_txt >span {
     font-size: 0.7rem;

    }
    .sp_iphonese{
        display: block;
    }
}