@charset "utf-8";




main{
    width: 100%;
    padding: 0 20px 40px;
}

/*-------------------------------------------------------------
			ALL-Formt-design
-------------------------------------------------------------*/
.main-ttl-wrap{
    text-align: center;
    display: block;
    margin: 54px auto 0;
}
.main-ttl{
    position: relative;
    display: inline-block;
    margin: 0 auto;
    line-height: 1.1;
    text-align: center;

    color: var(--bs-textcolor);

    overflow: hidden;
}

.main-ttl::after{
    content: "";
    width: 100%;
    height: 5px;
    display: block;
    margin-top: 5px;
    background-color: var(--bs-textcolor);
}
/*
.main-ttl-under{
    border-bottom: 5px solid var(--bs-textcolor);
}
.under-line{
    position: absolute;
    display: block;
    bottom: -10px;
    left: 0;
    z-index: 0;

    width: 100%;
    height: 5px;
    background-color: var(--bs-textcolor);
}*/
/**######768px以下～######**/
@media(max-width:768px){
    .main-ttl-wrap{
        margin: 40px auto 0;
    }

}
/*-------------------------------------------------------------
			ALL-Formt-design
-------------------------------------------------------------*/





/*-------------------------------------------------------------
			ALL-Formt-design
-------------------------------------------------------------*/

.chara-navlist-wrap{
    position: relative;
    margin: 50px 0 60px;/*可変*/
    display: flex;
    justify-content: center;
}

.chara-navlist{
    width: 100%;
    min-width: 45px;
    max-width: 80px;
    height: auto;
    margin: 0 10px;

    opacity: 0;
    transform: translate(0px, 5px);
    transition: all ease 0.6s;
}

.chara-navlist-active{
    opacity: 1;
    transform: translate(0px, 0px);
}
.chara-navlist-charaA{transition-delay: 0.1s;}
.chara-navlist-charaB{transition-delay: 0.2s;}
.chara-navlist-charaC{transition-delay: 0.28s;}
.chara-navlist-charaD{transition-delay: 0.34s;}

.chara-navlist a{
    display: block;    
}

.nav-img{
    transition: all ease 0.2s;
}
.chara-navlist-charaA:hover .nav-img{
    background-color: #ffadc7;
    transform: translate(0px,2px);
}
.chara-navlist-charaB:hover .nav-img{
    background-color: #f0d457;
    transform: translate(0px,2px);
}
.chara-navlist-charaC:hover .nav-img{
    background-color: #a9e4d7;
    transform: translate(0px,2px);
}
.chara-navlist-charaD:hover .nav-img{
    background-color: #d195c3;
    transform: translate(0px,2px);
}
.chara-navlist-charaA:active .nav-img{
    transform: translate(0px,4px);
}
.chara-navlist-charaB:active .nav-img{
    transform: translate(0px,4px);
}
.chara-navlist-charaC:active .nav-img{
    transform: translate(0px,4px);
}
.chara-navlist-charaD:active .nav-img{
    transform: translate(0px,4px);
}

.nav-img{
    width: 100%;
    height: auto;

    object-fit: cover;

    background-color: #eee;
    border-radius: 40px;
    overflow: hidden;
}

.nav-txt{
    width: 100%;
    object-fit: cover;
}
.nav-img img{
    max-width:100%;
    vertical-align: bottom;
}
.nav-txt img{
    max-width:100%;
    vertical-align: bottom;
}

/**######768px以下～######**/
@media(max-width:768px){

    .chara-navlist{
        margin: 0 6px;
    }

}

/*******/




/*-------------------------------------------------------------
			wrap deco
-------------------------------------------------------------*/


.chara-box-wrap{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.chara-deco-bg{
    position:absolute;
    top: 0;
    right: -20px;
    display: block;
    width: 42.3%;
    height: 80%;

    z-index: -1;
}
.chara-deco-bg-A{background-color: #ffadc7;}
.chara-deco-bg-B{background-color: #f5dc6d;}
.chara-deco-bg-C{background-color: #8bead5;}
.chara-deco-bg-D{background-color: #dba7cf;}

/**######768px以下～######**/
@media(max-width:768px){
    .chara-deco-bg{
        top: 90px;
        width: 30.3%;
    }

}

.chara-box{
    position: relative;
    width: 100%;
    max-width: 1040px;
    height: auto;
    min-height: 1400px;

    margin: 0 auto;
    /*border: 1px solid red;*/

}
/**######768px以下～######**/
@media(max-width:768px){
    .chara-box{
        min-height: inherit;
    }
}

/*-------------------------------------------------------------
			ALL-Formt-design
-------------------------------------------------------------*/

.chara-list-wrap{
    margin-top: 10px;/*可変*/
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.chara-ttl{
    line-height: 1.25;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.chara-ttlB{
    line-height: 2.0;
    font-weight: bold;

    margin-bottom: 20px;
}
/**######768px以下～######**/
@media(max-width:768px){
    .chara-ttlB{
        line-height: 1.25;
    }
}
/*-------------------------------------------------------------
			ALL-Formt-design
-------------------------------------------------------------*/
.chara-list{
    min-width: 74px;
    margin-top: 8px;
    padding: 4px 14px;
    color: #FFF;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.chara-list-b{
    background-color: #4e3412;
}
.chara-list-y{
    background-color: #ffd800;
}
.chara-list-blue{
    background-color: #7cd6ff;
}
/*-------------------------------------------------------------
			ALL-Formt-design
-------------------------------------------------------------*/
.chara-stand{
    position: absolute;
    top: 0;/*可変*/
    left: 0;
    z-index: -1;
}
.chara-stand img{
    max-width: 100%;
    user-select: none;
}
/**######768px以下～######**/
@media(max-width:768px){
    .chara-stand{
        position: relative;
        top: -120px;/*可変*/
        text-align: center;
    }
}
/*-------------------------------------------------------------
			change btn
-------------------------------------------------------------*/
.btn{
    display: block;
    position: absolute;

    top: 585px;
    left: 375px;

    text-align: center;
    cursor: pointer;
    transition: all ease 0.2s;
}
.counter-txt{
    margin-top: 0.8em;
    opacity: 0.45;
}
.btn:hover{
    opacity: 0.6;
}
.btn span{
    /*transform: rotate(360deg);
    transition: all ease 0.4s;*/
    animation-name: toggle-up;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}
.is-active-bt span{
    animation-name: toggle-down;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}
/*animations*/
@keyframes toggle-up {
    100% {
      transform: rotate(180deg);
    }
  }
  @keyframes toggle-down {
    100% {
      transform: rotate(180deg);
    }
  }
/**######768px以下～######**/
@media(max-width:768px){
    .btn{
        top: 115px;
        left:initial;
        right: -5px;
    }
}
/*-------------------------------------------------------------
			chara-txt
-------------------------------------------------------------*/
.chara-txt-box{
    position: relative;
    margin-top: 300px;/*可変*/
    width: 100%;
    max-width: 360px;
    text-align: justify;

    margin-bottom: 20px;
    line-height: 1.65em;
    text-shadow:1px 1px 2px rgb(255 255 255);
}

.chara-txt-box::before{
    content: "";
    position: absolute;
    top: -12px;
    left: 0;

    width: 85px;
    height: 1px;
    background-color: #4e3412;
}

.chara-episode-box{
    width: 100%;
    max-width: 568px;
    margin-bottom: 20px;
    font-weight: bold;

    line-height: 1.825em;
}

.chara-episode-txt{
    line-height: 1.825em;
    text-shadow:1px 1px 2px rgb(255 255 255);
}

.text-underline{
    padding-bottom: 3px;
    border-bottom: 1px solid var(--bs-textcolor);
}

/**######768px以下～######**/
@media(max-width:768px){
    .chara-txt-box{
        margin-top: -100px;
        max-width:initial;
    }

}

/*-------------------------------------------------------------
			gallery
-------------------------------------------------------------*/

.chara-gallerybox{

}

.chara-galler-ttl{
    margin-bottom: 10px;
}

.chara-evlist-wrap{
    width: 580px;

    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
}
.chara-evlist{
    margin-bottom: 10px;
    transition: all ease 0.2s;
    position: relative;
}
.chara-evlist:hover{
    transform: translate(0px, 2px);
}

.chara-evlist-set a{
    display: block;
    margin-bottom: 10px;
    border-radius: 3px;
    overflow: hidden;
    background-color: #000;
    transition: all ease 0.3s;
}
.chara-evlist-set a:hover{
    
    transform: translate(0px, 2px);
}
.chara-evlist-set a img{
    vertical-align: bottom;
    transition: all ease 0.3s;
}
.chara-evlist-set a img:hover{
    opacity: 0.65;
}
/*
.chara-evlist a{
    display: block;
    border-radius: 4px;
    overflow: hidden;

    transition: all ease 0.2s;
}
.chara-evlist a:hover{
    transform: translate(0px, 1px);
}
*/
.new-set{
    position: relative;
}
.new-set:before{
    content: "NEW!";
    position: absolute;

    display: block;
    top:0px;
    left: 0px;
    background-color: red;
    font-size: .8125rem;
    color:#FFF;
    padding: 0.25em 0.35em;
    z-index: 10;
}

.chara-evlist img{
    vertical-align: bottom;
}

/**######768px以下～######**/
@media(max-width:768px){
    .chara-evlist-wrap{
        width: 100%;
    }
    .chara-evlist, .chara-evlist-set{
        width: 32%;
    }
    .chara-evlist img, .chara-evlist-set img{
        width: 100%;
        max-width: 100%;
    }
    .new-set:before{
        top: 0px;
    }

}

/*-------------------------------------------------------------
			serif
-------------------------------------------------------------*/
.chara-serif{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    user-select: none;
}
.chara-serif img{
    max-width: 100%;
}
/*-------------------------------------------------------------
			profile
-------------------------------------------------------------*/
.chara-profile{
    position: absolute;
    width: 225px;
    right: 15px;
    bottom: 345px;

    color: #FFF;
}

.chara-profile-wrap{
    color: #FFF;
    display: flex;
    flex-wrap: wrap;
}
.chara-profile-ttl{
    margin-bottom: 4px;
}

.chara-profile-wrap dt{
    width: 96px;
    line-height: 2em;
    margin-bottom: 4px;
    text-decoration: underline;
}
.chara-profile-wrap dd{
    width: calc(100% - 96px);
    height: auto;
    line-height: 2em;
    margin-bottom: 4px;
    text-decoration: underline;
}

/*-------------------------------------------------------------
			chara-movie
-------------------------------------------------------------*/
.chara-moviebox{
    position: absolute;
    top: 15px;
    right: 15px;
}
.chara-movie-ttl{
    margin-bottom: 0.5em;
}
.chara-movie{
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background-color: #000;
}

.chara-movie img{
    vertical-align: bottom;
}
.chara-movie img{
    transition: all ease 0.2s;
}
.chara-movie:hover img{
    opacity: 0.7;
}

/**######768px以下～######**/
@media(max-width:768px){
    .chara-moviebox{
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        right: 0

    }
    .chara-movie img{
        width: 100%;
    }

}

/*-------------------------------------------------------------
			like-btn
-------------------------------------------------------------*/
.like-btn{
    text-align: center;
}

#counter-btn{
    width: 160px;
    height: 42px;
    margin: 0 auto;
    border: 2px solid #f19fb6;
    line-height: 40px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.counter-item span{
    vertical-align: sub;
    /*olor: #f19fb6;*/
}
.counter-item{
    background-color: #FFF;
    color: #f19fb6;
    transition: all ease 0.2s;
}
.counter-item:hover{
    background-color:#f19fb6 ;
    color: #FFF;
}
.counter-item:active{
    transform: translate(0px, 3px);
}

.counter-active span{
    animation-name: heart;
    animation-duration: 1.4s;
    animation-fill-mode: backwards;
}

@keyframes heart {
    0% {
      transform: scale(1.0);
    }
    20% {
      transform: scale(1.4);
    }
    50% {
      transform: scale(1);
      /*color: #ea4674;*/
    }
    100% {
      transform: scale(1);
        /*color: #ea4674;*/
    }
}
  
/*-------------------------------------------------------------
			ALL-Formt-design
-------------------------------------------------------------*/

.back-chara-nav {
    width: 100%;
    margin: 60px 0 60px;
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.back-chara-list a {
    display: block;
    padding: 0 1em;
    color: #999999;
    letter-spacing: 0.1em;
    text-decoration: none;

    border-left: 1px solid #d9d9d9;

    transition: all ease 0.2s;
}

.back-chara-list:last-child a {
    border-right: 1px solid #d9d9d9;
}


.back-chara-navA a:hover{
    color: #FFF;
    background-color: #f87a9e;
}
.back-chara-navB a:hover{
    color: #FFF;
    background-color: #ffdb3a;
}
.back-chara-navC a:hover{
    color: #FFF;
    background-color: #9be2db;
}
.back-chara-navD a:hover{
    color: #FFF;
    background-color: #d195c3;
}
