/* index */

.title-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    top: 68%;
    width: 20%;
    animation: bound .3s ease infinite alternate;
}
.title-logo {
    width: 60%;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    animation: opacity 1s ease-in infinite alternate;
}
.pc {
    display: none;
}
.start-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 75%;
    width: 75%;
    animation: bound .3s ease infinite alternate;
}
body {
    background-color:#222222;
}

@media screen and (min-width:540px) {
    /*　タブレットまで　*/
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }

    .title-logo {
        width: 50%;
        top: 40%;
        animation: opacity2 1s ease-in infinite alternate;
    }
    .start-btn {
        top:70%;
        width: 30%;
    }
}
@keyframes bound {
    0% {
        transform: translate(-50%, 0%);
    }
    100% {
        transform: translate(-50%, 6%);
    }
}

@keyframes opacity {
    0% {
        opacity:0.8;
        width:80%;
    }
    100% {
        opacity:1;
        width:90%;
    }
}


@keyframes opacity2 {
    0% {
        opacity:0.8;
        width:50%;
    }
    100% {
        opacity:1;
        width:60%;
    }
}


/* app */

.app-inner {
    width: 100%;
    height: auto;
    margin: 0 auto;
    max-width: 500px;
}
.left-side-bar {
    display: none;
}
.menu-nav {
    display: flex;
}
.pc {
    display: none;
}

/*　タブレットまで　*/
@media screen and (min-width:540px) {
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }
    .app-inner {
        width: calc((1280 / 1920) * 100%);
        max-width: 1280px;
        min-width: 768px;
        padding: 0 10px;
    }
    .app-content {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
    .left-side-bar {
        display: block;
        width: 47.6%;
        margin:0px 10px;
    }
    .content {
        width: 50%;
        height:auto;
    }
    .menu-nav {
        display: none;
    }
}



/* menu */

.side-nav {
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
}
.side-nav__item {
    width: 10%;
    cursor: pointer;
}
.side-nav__item img {
    max-width: 100%;
    max-height: 90px;
}

.side-dot {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
}
.side-dot__circle {
    width: 30px;
    height: 30px;
    background: ;
    border-radius: ;
}

@media screen and (min-width:540px) {
    .side-nav {
        display:flex;
    }
}




/* my */

.side-menu {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    width: 70px;
}
.side-menu a {
    display: block;
    margin-bottom: 10px;
    width: 100%;
}
.side-menu img {
    max-width: 100%;
    max-height: 100%;
}
.change-scale-button {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.change-scale-button img {
    max-width: 100%;
}
.work-value {
    display: flex;
    justify-content: space-between;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top:74px;
    width: 33px;
}
.work-value img {
    display: block;
    width: 30%;
}
.talk-nav {
    position: absolute;
    right: 10px;
    top: 90px;
}
.favorability {
    position: absolute;
    right: 10px;
    top: 15px;
    width:50px;
}
.favorability img {
    max-width:100%;
}

.my-stone {
    position:absolute;
    top:15px;
    left:15px;
    padding:2px 30px;
    color:#3aa2fa;
    background:#fff;
    border:1px solid #3aa2fa;
    border-radius:50px;
}
.my-stone p {
    margin:0;
}
.my-stone .stone-icon {
    position:absolute;
    top:50%;
    left:-10px;
    transform:translateY(-50%);
    width:auto;
    height:110%;
}
.love-guage {
    position:absolute;
    top:55px;
    left:15px;
    width:80px;
}
.love-guage p {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    margin:0;
}
.love-guage img {
    max-width:100%;
}


@media screen and (min-width:540px) {
    .side-menu {
        display: none;
    }
    .talk-nav {
        display: block;
    }
    .change-scale-button {
        left: auto;
        right: 10px;
    }
}

.talk-pop {
    position: absolute;
    top: -10px;
    left: 25px;
    background-color: #F00;
    border-radius: 50px;
    color: #FFF;
    width: 25px;
    height: 25px;
    z-index: 999;
}



/*side-bar */

.side-ttl {
    width: 100%;
}

.side-ttl img {
    max-width: 100%;
}

.side-data {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.side-level {
    width: 43%;
    padding: 10px;
    font-size: 12px;
    background: #dfd6c4;
    border: 1px solid #b7732a;
    border-radius: 15px;
}

.side-level p {
    margin: 0;
}

.side-level .level-num {
    font-size: 12px;
}

.side-level .level-num span {
    font-size: 15px;
}

.side-level .level-guage {
    overflow: hidden;
    position: relative;
    height: 15px;
    background: #d8ceb7;
    border: 2px solid #3aa2fa;
    border-radius: 50px;
}

.side-level .level-guage span {
    top: 0;
    left: -70%;
    width: 100%;
    height: 100%;
    background: #3aa2fa;
    border-radius: 50px;
}

.side-skill {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 56%;
}

.side-skill .skill-box {
    display: flex;
    align-items: center;
    position: relative;
    width: 49%;
    background: #dfd6c4;
    border: 1px solid #b7732a;
    border-radius: 10px;
}

.side-skill .skill-box:nth-of-type(n + 3) {
    margin-top: 5px;
}

.side-skill .skill-box p {
    margin: 0;
    margin-left: auto;
}

.side-skill .skill-box img {
    width: auto;
    height: 30px;
}

.side-info {
    display: flex;
    flex-wrap: wrap;
    height: 240px;
    padding-top: 5px;
    text-align: center;
}

.side-block {
    position:relative;
    width: calc((100% - 10px) / 3);
    display: inline-block;
    margin: 0px 0px;
    margin-left: 5px;
}

.side-block:nth-of-type(3n + 1) {
    margin-left: 0;
}

.side-block span {
    position:absolute;
    top:40px;
    left: 50px;
    background-color:#F00;
    border-radius:50px;
    color:#FFF;
    width:25px;
    height:25px;
    z-index:999;
}

.side-block img{
    position:relative;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

@keyframes bound-chr {
    0% {
        transform: translate(0%,-2%);
    }
    100% {
        transform: translate(0%,2%);
    }
}



/* footer */

.menu-nav {
    position: fixed;
    bottom: 5px;
    left: 0;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
}
.menu-nav .menu-nav__item {
    display: inline-block;
    width: calc((100% - 10px) / 6);
    padding: 0 0px;
}
.menu-nav .menu-nav__item img {
    max-width: 100%;
    object-fit: contain;
}


/* present */

.present-box {
    background-image: url({{ asset('/images_tsuyokiss/bg/present_under.png') }});
    background-size: 100% 100%;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    height: 500px;
    padding: 42% 10px 10px;
}
.present-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    top: 9%;
}
#wrapper_item {
    height: 100%;
}
@media screen and (min-width:540px) {
    .present-box {
        height: 700px;
    }
}
