@charset "UTF-8";
/*
	Title	   : アニメ「イド・インヴェイデッド」公式サイト
	URI            : id
	Designer       : GRAPHNETWORK
	Designer's URI : http://graphnetwork.com/
*/

/* --------------------------------------------------------------

							Layout

-----------------------------------------------------------------*/
.cast_staff_wrap h2 {
    margin-bottom: 50px;
}
#cast_staff h1.page_ttl {
    background-position: top 3px left -30px;
    width: 230px;
}
.cast_staff_block {
    text-align: center;
    font-size: 1em;
}
.cast_staff_block .wrap .box {
    margin-bottom: 60px;
    position: relative;
}
.cast_staff_block img {
    width: 300px;
    margin-bottom: 10px;
}
.cover{
    filter: alpha(opacity=100);
    -moz-opacity:100;
    opacity:100;
    position: absolute;
    width: 301px !important;
    transition: 1.0s ;
}
.cover:hover{
    filter: alpha(opacity=0);
    -moz-opacity:0;
    opacity:0;
    
}
#cast , 
#staff {
    margin: 40px auto;
    width: 85%;
}
#cast .wrap ,
#staff .wrap {
    display:flex;
    flex-wrap: wrap;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
#cast .box ,
#staff .box {
    width: 100%;
    text-align: left;
    margin-bottom: 60px;
}

#cast .jp ,
#staff .jp {
    border-left: 2px solid #c5c5c5;
    padding-left: 15px;
    margin-bottom:18px;
    font-size: 1em;
    line-height: 1.5em;
}
#cast .name,
#staff .name {
    font-size: 1.7em;
    margin-top: 15px;
}
#cast .en,
#staff .en {
    color: #666;
    line-height: 1.4em;
    font-size: 1em;
}
#staff .performance {
    font-size: 0.9em;
    line-height: 1.8em;
    margin-bottom: 10px;
        margin-left: -5px;
}
.anchor .wrap{
    display:flex;
    width: 240px;
    margin: auto;
    }
.anchor .box {
    width: 100px;
    margin: 4%;
    display: -webkit-inline-box;
    text-align: center
    }
.anchor a {
    font-size: 1em;
    width: 100px;
    height: 34px;
    border: 1px solid #e0e0e0;
    display: block;
    padding-top: 4px;
}
.anchor a:hover {
    border: 1px solid #fff100;
    width: 100px;
    height: 34px;
    }
.anchor .anchor_arrow {
    font-size: 0.4em;
    position: relative;
    top: -8px;
    }
.anchor_arrow::before {
    content: "\A" ;
    white-space: pre ;
    }


@media screen and (min-width:960px) {

.cast_staff_wrap h2 {
    margin-bottom: 70px;
}
    #cast_staff #main {
        margin: 0 auto;
        float: left;
        padding: 0;
        padding-left: 250px;
        min-height: 1100px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-size: 100%;
        background-attachment: fixed;
        background-position: top 0 left 100px;
    }
    #cast_staff h1.page_ttl {
        background-position: top 45px left -24px;
        width: 260px;
        margin: auto;
    }
    .cast_staff_wrap {
        width: 730px;
        margin: auto;
        text-align: center;
    }
    #cast , 
    #staff {
        width: 730px;
        margin: 80px 0 120px 0;
    }
    #cast .wrap ,
    #staff .wrap {
        display:flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #cast .box ,
    #staff .box {
        width: 48%;
        text-align: left;
        margin-bottom: 80px;
    }
    h2 {
        font-size: 1.3em;
        margin-bottom: 80px;
    }
    #cast .jp ,
    #staff .jp {
        border-left: 1px solid #e0e0e0;
        padding-left: 20px;
        margin-bottom: 20px;
        font-size: 0.8em;
    }
    #cast .name,
    #staff .name {
        font-size: 1.8em;
        margin-top: 15px;
    }
    #cast .en,
    #staff .en {
        color: #666;
        line-height: 1.4em;
        font-size: 0.85em;
    }
    #staff .performance {
        font-size: 0.7em;
        line-height: 1.8em;
        margin-bottom: 12px;
        height: 36px;
    }
    .anchor .box {
        width: 100px;
        margin: 4%;
        display: -webkit-inline-box;
    }
    .anchor a {
        font-size: 0.8em;
        width: 100px;
        height: 38px;
        border: 1px solid #e0e0e0;
        display: block;
        
    }
    .anchor a:hover {
        border: 1px solid #fff100;
        width: 100px;
        height: 38px;
    }
    .anchor .anchor_arrow {
        font-size: 0.4em;
        position: relative;
        top: -14px;
    }
    .anchor_arrow::before {
        content: "\A" ;
        white-space: pre ;
    }
    

}

/* --------------------------------------------------------------

				リンクニメーション

-----------------------------------------------------------------*/
a:hover{
    animation: ani 1.2s linear infinite;
}
a:nth-child(1){
    animation-delay: .2s;
}
a:nth-child(2){
    animation-delay: .6s;
}
a:nth-child(3){
    animation-delay: .8s;
}
a:nth-child(4){
    animation-delay: 1.0s;
}
a:nth-child(5){
    animation-delay: 1.4s;
}
a:nth-child(6){
    animation-delay: 1.8s;
}
a:nth-child(7){
    animation-delay: 1.12s;
}






