/* ---------------------------------------全ての要素に設定----------------------------------------- */

@charset "UTF-8";

* , *::before , *::after{
    box-sizing : border-box;
    font-family: serif ,'M PLUS 1p', sans-serif;
}

body{
    margin : 0;
    padding: 0;
    overflow-y: scroll;
}

body:before{
    content:"";
    display:block;
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
    width:100%;
    height:100vh;
    background-repeat:no-repeat;
    background-position:50% 100%;
    background-image:url(https://rk-eng.com/kurovina/img/back-2.jpg);
    background-size:cover;
    background-color : rgb(10, 10, 10,0.2);
    background-blend-mode:lighten;
}

a{
    text-decoration : none;
}

li{
    list-style: none;
}

.c-container{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width : 100%;
    margin: auto;
}

main{
    margin-top: 80px;
    margin-bottom: 30px;
}

/* ----グーグルフォント----- */

.prata-regular {
  font-family: "Prata", serif;
  font-weight: 400;
  font-style: normal;
}

.vidaloka-regular {
  font-family: "Vidaloka", serif;
  font-weight: 400;
  font-style: normal;
}

.sawarabi-mincho-regular {
  font-family: "Sawarabi Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.lora-k {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ----------header---------- */

.header-o{
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 2;
}

.logo-o{
    position: absolute;
}

.logo{
    opacity: 0;
    /* width: 100%; */
    transition: .5s;
    color: white;
    font-size: 27px;
    letter-spacing: 1px;
    position: absolute;
    top:25px;
    left:25px;
    z-index: 3;
}

.logo.showUp{
    opacity: 1;
}

@media (any-hover: hover) {
    .logo:hover{
        color: rgb(110, 0, 0);
    }
}

.ul{
    font-size: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 2.5px;
    right: 0px;
    z-index: 3;
    padding: 0;
}

.nav-li-a{
    opacity: 0;
    color: white;
    width: 130px;
    position: relative;
    display: inline-block;
    text-align: center;
    transition: .5s;
    margin-right: 10px;
}

.nav-li-a.showUp{
    opacity: 1;
    margin-right: 0;
}

.nav-li-a:hover{
    color: rgb(150, 150, 150);
}

.nav-li-a::after{
    position: absolute;
    bottom: -6px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: rgb(110, 0, 0);
    transform: scale(0, 1);
    transform-origin: center;
    transition: transform .3s;
}

@media (any-hover: hover) {
    .nav-li-a:hover::after{
        transform: scale(1, 1);
    }
}

.menu-button{
    display: none;
}

/* ----------top----------- */

.top-text-o{
    margin: auto;
    margin-top: 100px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 10px;
    padding-bottom: 10px;
    width: 50%;
    letter-spacing: 2px;
}

.top-text-c{
    width: 100%;
    color: white;
    text-align: center;
}

.x-a{
    color :rgb(130, 0, 110);
}

@media (any-hover: hover) {
    .x-a:hover{
        color :rgb(240, 0, 210);
    }
}

/* ------music------ */

.demo-a{
    color :rgb(130, 0, 110);
    text-align: justify;
    text-align-last: justify;
    font-feature-settings: "palt";
}

@media (any-hover: hover) {
    .demo-a:hover{
        color :rgb(240, 0, 210);
    }
}

.hr{
    width : 60%;
    margin-top : 10px;
    margin-bottom : 10px;
    opacity : 0.3;
}

/* -----------------------------footer--------------------------------- */

footer{
    margin-top: auto;
    margin-bottom: 20px;
}

.footer-text{
    font-size: 18px;
    text-align: center;
    color: rgb(240, 240, 240);
    letter-spacing: 10px;
}


@media screen and (max-width: 1220px) {
    /* --------------------------メニューボタン---------------------------- */

    .menu-button{
        display: inline-block;
        width : 45px;
        position : fixed;
        top : 38px;
        right: 10px;
        z-index: 7;
        cursor : pointer;
        margin-left: 3px;
    }

    .menu-button div{
        height : 4px;
        width : 78%;
        background-color: rgb(255, 255, 255);
        position: absolute;
        top : 60%;
        left : 40%;
        transform : translate(-50% , -50%);
        transition : 0.1s;
    }

    .menu-button div:nth-of-type(1){
        transform : translate(-50% , -10px);
    }

    .menu-button div:nth-of-type(2){
        transform : translate(-50% , 0);
        width: 65%;
    }

    .menu-button div:nth-of-type(3){
        transform : translate(-50% , 10px);
        width: 50%;
    }

    .menu-button.active div:nth-of-type(1){
        transform : rotate(45deg) translate(-50% , 0);
        transform-origin : 0% 50%;
        background-color: gray;
    }

    .menu-button.active div:nth-of-type(2){
        opacity : 0;
    }

    .menu-button.active div:nth-of-type(3){
        transform : rotate(-45deg) translate(-50% , 0);
        transform-origin : 0% 50%;
        width: 78%;
        background-color: gray;
    }

    /* -------------------------mask------------------------ */

    .back-mask{
        position: fixed;
        left : 0;
        z-index: 4;
        width : 100%;
        height : 100%;
        background-color : black;
        opacity : 0;
        visibility : hidden;
        transition : 0.5s;
    }

    .back-mask.active{
        opacity : 0.8;
        visibility : visible;
    }

    /* ------------menu---------------- */
    
    .nav{
        position: fixed;
        margin-top:0;
        right : unset;
        transition: 0.5s;
        display: none;
        width: 100%;
        z-index: 5;
        background-color: transparent;
        box-shadow: none;
    }

    .nav.active{
        display: block;
    }

    .ul{
        right: unset;
        display: block;
        margin-top: 80px;
        width: 100%;
    }

    .li{
        border-bottom: 1px solid rgb(110, 0, 0);
        margin: auto;
        margin-bottom: 10px;
        width: 80%;
    }

    .nav-li-a{
        width: 100%;
    }

    .nav-li-a.showUp{
        position: unset;
    }
    
    .nav-li-a::after{
        position: unset;
        bottom: unset;
        left: unset;
        content: unset;
        width: unset;
        height: unset;
        background: unset;
        transform: unset;
        transform-origin: unset;
        transition: unset;
    }

    .nav-li-a:hover{
        color: white;
    }
    
    .nav-li-a:hover::after{
        transform: unset;

    }

    /* ---------top---------- */

    .top-text-o{
        width: 70%;
        margin-top: 20px;
        letter-spacing: unset;
    }

    /* -------footer--------- */

    .footer-text{
        font-size: 12px;
        letter-spacing: 1px;
    }

}


@media screen and (max-width: 721px) {

    /* ----------logo---------- */

    .logo-o{
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    .logo{
        margin-left: 0px;
        font-size: 20px;
        position: unset;
        opacity: 1;
    }

    /* ---------top---------- */

    .top-text-o{
        width: 95%;
        margin-top: 20px;
        letter-spacing: unset;
    }

    /* -------footer--------- */

    .footer-text{
        font-size: 12px;
        letter-spacing: 1px;
    }

}