html{
    font-size: 62.5%;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
a{
    color: #fff;
    text-decoration: none;
}
ul {
    list-style: none;
}

@font-face { 
    /* ① ここにfont-familyで指定したい名前を書く*/
    font-family: "YonagaOldMincho-Regular"; 
    /* フォントが置かれているパスを書く */ 
    src: url("/static/font/YonagaOldMincho-Regular.ttf") format("truetype")
}

body {
    margin: 0 auto;

    width: 100%;
    display: flex;
    justify-content: center;
    color: #fff;
    /* background-color: #242424; */
    background-color: #121212;

    /* font-family: YakuHanJP,Noto Sans JP,Hiragino Kaku Gothic ProN,Hiragino Kaku Gothic Pro,"ＭＳ ゴシック",sans-serif,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,Osaka,"ＭＳ Ｐゴシック",MS PGothic,sans-serif; */
    
    font-family: "YonagaOldMincho-Regular"; 
}


.container {
    width: 100%;
    height: 100vh;
}


#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: -50px;
    bottom: 80px;
    background: rgba(14, 14, 14, 0.912);
    opacity: 0.6;
    border-radius: 50%;
    z-index: 50;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 35px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

.pc-nav {

    display: flex;
    justify-content: center;
    align-items: center;
    /* display: grid;
    place-content: center;
    place-items: center; */
    position: fixed;
    width: 100%;
    height: 60px;
    transition: 1s;
    /* box-shadow: 10px 10px 15px -10px; */
    margin: 0 auto;
    z-index: 1000;
    background-color: #00000048;
}

.pc-nav ul {
    display: flex;
    justify-content: space-around;
    width: 80%;
    list-style: none;
}

.pc-nav ul li {
    display: grid;
    place-content: center;
    place-items: center;
}

.pc-nav ul li a {
    font-size: 2rem;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.pc-nav ul li a:hover {
    opacity: 0.5;
    transition: 0.3s;
}

.pc-nav.hide {
    transition: 1s;
    transform: translateY(-60px);
}

.sp-nav {
    display: none;
}




.sp-nav .close {
    position: relative;
    padding-left: 33px;
    cursor: pointer;
    height: 30px;
}

.close:hover {
    opacity: 0.5;
    transition: .3s;
}

.sp-nav .close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 30px;
    height: 1px;
    background: #fff;
    transform: rotate(45deg);
}

.sp-nav .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 30px;
    height: 1px;
    background: #fff;
    transform: rotate(-45deg);
}

#LOGO {
    width: 250px;
}

#LOGO:hover {
    opacity: 0.3;
}


footer {
    width: 100%;
    margin-top: 20px;
    display: grid;
    place-content: center;
    height: 50px;
    background-color: #373737;
    text-align: center;
}
footer p{
    font-size: 2rem;
}
#empty{
    /* position: absolute;
    left: 0;
    bottom: 0; */
}

.title{
    width: 100%;
    display: grid;
    place-content: center;
    margin: 20px 0;
}

.title h2{
    
    width: 1200px;
    font-size: 25px;
    /* border-bottom: 2px solid #fff; */
      /* background-repeat: no-repeat, no-repeat, no-repeat; */
    /* background-position: center, left center, right center; */

    /* background-size: 281px 38px, 360px 21px, 360px 21px; */
    /* background-size: 281px 38px; */
    /* background-size: 220px 34px; */
    height: 38px;
    text-indent: -9999px;
    /* margin-bottom: 40px; */

    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, left center, right center;
    /* background-position: center; */
}
.title img{
    width: 200px;
}

#news{
    background-image: url("/static/images/material/news.png"),
    url("/static/images/material/left.png"),
    url("/static/images/material/right.png");
    background-size: 205px 115px, 362px 80px, 362px 80px;
}
#movie{
    background-image: url("/static/images/material/movie.png"),
    url("/static/images/material/left.png"),
    url("/static/images/material/right.png");
    background-size: 205px 115px, 362px 80px, 362px 80px;
}
#gallery{
    margin-top: 70px;
    background-image: url("/static/images/material/gallery.png"),
    url("/static/images/material/left.png"),
    url("/static/images/material/right.png");
    background-size: 280px 115px, 362px 80px, 362px 80px;
}
#character{
    margin-top: 70px;
    background-image: url("/static/images/material/character.png"),
    url("/static/images/material/left.png"),
    url("/static/images/material/right.png");
    background-size: 355px 115px, 362px 80px, 362px 80px;
}
.album{
    width: 100%;
    display: flex;
    justify-content: center;
}
.album_list{
    width: 80%;
    display: flex;
    gap: 10px 10px;
    flex-wrap: wrap;
}
.album_item{
    width: 500px;
}
.album_item img{
    width: 100%;
}

.news {
    width: 100%;
    display: flex;
    justify-content: center;
}
.news_segment {
    width: 80%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.news_inner {
    width: 50%;
    border: 1px solid #fff;
    border-radius: 10px;
}

.news_list {
    /* min-width: 200px;
    max-width: 700px; */
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}
.news_link{
    font-size: 2rem;
}

.news_item {
    width: 100%;
    height: 20px;
    cursor: pointer;
    color: #fff;
    color: orange;
    /* background-color: #454245; */
}

.news_item:hover {
    opacity: 0.3;
    transition: all 0.3s;
}

.twitter{
    width: 50%;
}

.keyvisual {
    width: 100%;
    position: relative;
    margin-bottom: -110px;
}

.keyvisual img {
    width: 100%;
    position: relative;
    top: -110px;
}

.youtube {
    /* width: 100%;
    height: 100%; */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /* background-color: #5b5b5b; */
    background-color: #121212;
}

.movie {
    width: 80%;
    aspect-ratio: 16 / 9;
    /* border: 2px solid #fff;
    padding: 15px;
    border-radius: 50px; */
    padding: 5px;
    /* border: 1px solid #ffffff; */
    border-radius: 10px;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}


.introduce {
    max-width: 500px;
}

.introduce p {
    word-wrap: break-word;
}

.swiper{
    /* width: 100%; */
    width: 1200px;
    /* height: 700px; */
    /* height: 760px; */
}

.swiper--wrapper {
    /* wrapperのサイズを調整 */
    /* width: 100%;
    height: 300px; */
}

.swiper-slide {
    /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
    color: #ffffff;
    /* width: 100%; */
    /* height: 100%; */
    cursor: grab;
}
.swiper-button-prev{
    /* color:#f5009a; */
    text-rendering: auto;
}
.swiper-button-next{
    /* color:#f5009a; */
    text-rendering: auto;
}

.characters{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.character {
    display: flex;
    justify-content: space-around;
}
.character-image{
    position: relative;
    height: 847px;
}
.character img {
    position: relative;
    width: 90%;
    height: 100%;
    /* width: 600px; */
    /* height: 847px; */
    height: 100%;
    /* top: -70px; */
}
.name {
    position: relative;
    /* bottom: 400px;
    left: 250px; */
}
.name span{
    display: block;
}
.kana{
    font-size: 2rem;
}
.kanji{
    font-size: 4.6rem;
}
.character ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}
.character-detail{
    width: 600px;
    bottom: 200px;
    /* background-color: rgba(45, 42, 45, 0.7); */
}
.character-explain{
    font-size: 2rem;
    /* width: 200px;
    height: 300px; */
    /* word-wrap:break-word; */
    line-height: 1.7;
    word-break: break-word;
}

.character-explain h3{
    font-size: 2.5rem;
    line-height: 1.7;
    word-break: break-word;
    margin-bottom: 20px;
}
.character-change{
    width: 100px;
    display: grid;
    place-content: center;
    margin: 20px 0;
    position: absolute;
    left: 0;
    bottom: 0;
}
.character-change li{
    width: 100%;
    font-size: 25px;
    height: 38px;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: center;
    /* background-position: center; */
    cursor: pointer;
}

#normal{
    background-image: url("/static/images/material/normal.png");
    background-size: 68px 70px;
}
#smile{
    background-image: url("/static/images/material/smile.png");
    background-size: 68px 70px;
}

.character-face{
    /* visibility: hidden; */
    display: none;
}

.current{
    /* visibility: visible !important; */
    display: block;
}



.section{
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
.section_area{
    width: 1200px;
}
.section_area img{
    width: 100%;
}

/* about */
.credits{
    width: 100%;
    min-height: 80%;
    max-height: 100%;
    display: flex;
    place-items: center;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 100px;
}

.credits table{
    /* width: 100%; */
    /* height: 100px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: column;
    /* border: 1px solid #fff; */

    border-collapse: collapse;
    border-spacing: 0;
    
    font-size: 3rem;
}

.credits tbody tr th{
    height: 40px;
}
.credits tbody tr th{
    /* width: 50%; */
    font-weight: 900;
    color: #007aff;
    /* background-color: rgba(148, 12, 5, 0.8); */
    border-right: 2px #007aff solid;
    /* border-bottom: 1px #8a8a8a dotted; */
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 7px;
    padding-right: 20px;
    vertical-align: middle;
    margin: 10px 10px;
    text-align: right;
}

.credits tbody tr td{
    display: inline-flex;
    width: 100%;
    /* border-bottom: 1px #8a8a8a dotted; */
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: middle;
    margin: 5px 5px;
}



@media screen and (max-width: 959px) {
    header{
        position: absolute;
        top: 5px;
        left: 5px;
    }
    .pc-nav {
        display: none;
    }

    .sp-nav {
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, .8);
        opacity: 0;
        transform: translateY(-100%);
        transition: all .2s ease-in-out;
    }

    #hamburger {
        padding-top: 30px;
        position: relative;
        display: block;
        width: 30px;
        height: 25px;
        margin: 0 0 0 auto;
        cursor: pointer;
        /* background: rgba(219, 219, 219, 0.8); */
    }

    #hamburger:hover {
        opacity: 0.5;
        transition: .3s;
    }

    #hamburger span {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transform: translateY(-50%);
    }

    #hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff;
    }

    #hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70%;
        height: 2px;
        background-color: #fff;
    }

    /*スマホメニュー*/
    .sp-nav ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .sp-nav li {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 30px;
    }

    .sp-nav li span {
        font-size: 15px;
        color: #fff;
    }

    .sp-nav li a,
    .sp-nav li span {
        display: block;
        padding: 20px 0;
    }

    .sp-nav li a {
        text-decoration: none;
        color: #fff;
    }

    .sp-nav li a:hover {
        opacity: 0.5;
        transition: .3s;
    }

    .toggle {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* 205px 115px, 362px 80px, 362px 80px */
    .title h2{
        width: 800px;
        
    }
    #news{
        background-size: 205px 115px, 250px 55px, 250px 55px;
    }
    #movie{
        background-size: 205px 115px, 250px 55px, 250px 55px;
    }
    .news_segment{
        display: flex;
        flex-direction: column;
    }
    .news_inner{
        width: 100%;
    }
    .twitter{
        width: 100%;
    }
    #character{
        background-size: 355px 115px, 250px 55px, 250px 55px;
    }
    #gallery{
        background-size: 280px 115px, 250px 55px, 250px 55px;
    }
    .album_list{
        justify-content: center;
    }
    #empty{
        bottom:auto;
    }
    .credits table{
        font-size: 1.5rem;
    }

    .character{
        display: flex;
        flex-direction: column;
    }
    #character{
        margin-top: 40px;
    }
    .character-image{
        height: 390px;
        z-index: -1;
    }
    .character img{
        width: 100%;
        height: 100%;
    }
    .character-detail {
        width: 100%;
    }
    .character-change {
        width: 70px;
        top: 20px;
    }
    #normal {
        background-size: 34px 35px;
    }
    #smile {
        background-size: 34px 35px;
    }
}


@media screen and (max-width: 480px) {
	.keyvisual{
        margin-top: 200px;
    }
    /* 480px以下に適用されるCSS（スマホ用） */
    .title{
        margin: 0px; 
    }
    .title h2{
        width: 100%;
    }
    #news{
        background-size: 123px 69px, 181px 40px, 181px 40px;
    }
    #movie{
        background-size: 123px 69px, 181px 40px, 181px 40px;
    }
    .news_segment{
        display: flex;
        flex-direction: column;
    }
    .news_inner{
        width: 100%;
    }
    .twitter{
        width: 100%;
    }
    #character{
        background-size: 172px 57px, 90px 40px, 90px 40px;
    }
    #gallery{
        background-size: 140px 57px, 90px 40px, 90px 40px;
    }
    #empty{
        bottom:auto;
    }
    .credits table{
        font-size: 1.2rem;
    }
    .character{
        display: flex;
        flex-direction: column;
    }
    #character{
        margin-top: 40px;
    }
    .character-image{
        height: 390px;
        z-index: -1;
    }
    .character img{
        width: 100%;
        height: 100%;
    }
    .character-detail {
        width: 100%;
    }
    .character-change {
        width: 70px;
        top: 20px;
    }
    #normal {
        background-size: 34px 35px;
    }
    #smile {
        background-size: 34px 35px;
    }
    .swiper{
        height: 100%;
    }
    .credits{
        margin-top: 0px;
        margin-bottom: 0px;
    }
}