@charset "utf-8";
*{
    box-sizing: border-box;
}
:root{
    --color-primary :rgb(0,78,162);
}
body{
    line-height: 1.5;
}
img{
    width: 100%;
    height: auto;
}
h1,p,li{
    font-family: "Noto Sans JP", sans-serif;
}
.wrapper{
    width: 100%;
    height: auto;
}
.header{
    width: 100%;
    height: 100vh;
    background-image: url(../img/00_MV_knight_zentai_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}
.top-p-img{
    width: 25%;
    max-width: 180px;
    margin: 1rem 1rem 0 0;
    position: absolute;
    right: 0;
}
.portfolio-link-sp, .Youtube-link-sp{
    font-size: 1.05rem;
    display: block;
    width: 80%;
    margin: 1.5rem auto;
    padding: 15px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
}
.portfolio-link-sp:hover, .Youtube-link-sp:hover{
    background-color: #808080;
}
.portfolio-link-pc,.Youtube-link-pc{
    display: none;
}
.content-container{
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
}
.container{
    margin: 1.5rem auto 0;
}
.mc-img{
    width: 100%;
    object-fit: cover;
}
.description{
    background-color :#000000;
    line-height: 1.75;
}
.description p{
    padding: 2.43rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-align: justify;
    text-justify: inter-ideograph;
}
.class-img-top,.class-img-bottom{
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.class-img-top img,.class-img-bottom img{
    width: 33.3%;
    object-fit: cover;
}
.class-img-top{
    margin-top: 1.5rem;
}
.class-img-bottom{
    margin-bottom: 1.5rem;
}
.overview-container{
    width: 90%;
    max-width: 1080px;
    margin: 0 auto 1.5rem;
}
.footer{
    height: 100%;
    padding: 0 0 4.5vh;
    background-color: var(--color-primary);
}
.footer-content{
    display: flex;
    flex-wrap: nowrap;
}
.yda-logo{
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
}
.header-portfolio{
    height: 100%;
    padding: 2.5vh 0 3.5vh;
    background-color: var(--color-primary);
}
.header-portfolio-content{
    display: flex;
    flex-wrap: nowrap;
}
.portfolio-top{
    margin: 1rem;
}
.link-wrapper{
    width: 90%;
    margin: 1rem auto 0;
    padding: 0 0 2rem 0;
}
.portfolio-description{
    width: 100%;
    padding: 1.5rem;
    background-color: #000000;
}
.portfolio-description h1{
    text-align: center;
    font-weight: 400;
    color: #ffffff;
}
.portfolio-link{
    text-align: center;
    margin: 3rem 0;
}
.portfolio-link li{
    margin: 1.25rem 0;
}
.portfolio-link a{
    display: inline-block;
    width: 250px;
    padding: 0.7rem;
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-radius: 5px;
    text-decoration: none;
}
.portfolio-link a:hover{
    opacity: 50%;
    text-decoration: underline;
}
@media screen and (min-width:1024px){
    .header{
        background-image: url(../img/00_MV_knight_zentai_pc.jpg);
    }
    .top-p-img{
        width: 17%;
        max-width: 200px;
        margin: 1rem 1rem 0 0;
        position: absolute;
        right: 0;
    }
    .portfolio-link-pc{
        font-size: 1.25rem;
        display: block;
        position: absolute;
        width: 35%;
        margin: 0 0 3% 0;
        padding: 15px;
        background-color: #ffffff;
        color: #000000;
        border-radius: 20px;
        text-decoration: none;
        text-align: center;
        top: 70%;
        left: 49%;
    }
    .Youtube-link-pc{
        font-size: 1.25rem;
        display: block;
        position: absolute;
        width: 35%;
        padding: 15px;
        background-color: #ffffff;
        color: #000000;
        border-radius: 20px;
        text-decoration: none;
        text-align: center;
        top: 83%;
        left: 49%;
    }
    .portfolio-link-pc:hover,.Youtube-link-pc:hover{
        background-color: #d3d3d3;
    }
    .portfolio-link-sp,.Youtube-link-sp{
        display: none;
    }
    .container{
        display: flex;
    }
    .mc-img{
        width: 33.3%;
        object-fit: cover;
    }
    .description{
        width: 100%;
        background-color :#000000;
        line-height: 1.75;
    }
    .description p{
        margin: 2.5rem 0 0 0;
        font-size: 0.95rem;
        padding: 2.43rem;
        font-size: 1.3rem;
        font-weight: 600;
        color: #ffffff;
    }
    .class-img-top img,.class-img-bottom img{
        object-fit: cover;
    }
    .overview-container{
        display: flex;
        flex-wrap: wrap;
    }
    .ex-logo{
        width: 60%;
    }
    .map-img{
        width: 40%;
    }
    .footer{
        height: 100%;
    }
    .yda-logo{
        max-width: 700px;
        width: 75%;
    }
}