@charset "utf-8";

/* 
hero
*/
.hero {
    width: 100vw;
    height: 100vh;
    display: block;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero hr {
    border: solid 2px #FFE185;
    border-top: none;
}

.hero video {
    z-index: 1;
    position: relative;
    display: inline-block;
    /* width: auto; */
    width: 150%;
    /* height: 100vh; */
    overflow: hidden;
}

.hero > strong {
    z-index: 2;
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FDFDFD;
}

.hero-title {
    font-size: 48px;
    letter-spacing: 0.25em;
    margin: 0;
    display: block;
    width: 100%;
    text-align: center;
}

.hero-subtitle {
    letter-spacing: 0.25em;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    .hero video{
        width: auto;
        height: 150%;
    }

    .hero-title {
        font-size: 32px;
        display: inline-flex;
        max-width: 70%;
    }

    .hero-subtitle {
        font-size: 14px
    }
}

/* 
Portfolio
*/
.portfolio {
    display: block;
    text-align: center;
}
 
.portfolio-contents {
    display: flex;
    justify-content: center;
}

.portfolio-thumbnail {
    order: 1;
    padding: 0;
}

.portfolio-image {
    width: 800px;
    height: 600px;
    overflow: hidden;
    padding: 1em 2em;
    border: solid 3px #FFE185;
    border-radius: 15px;
    margin: 14px 0;
}

.button-back {
    order: 0;
}

.button-next {
    order: 2;
}

.portfolio-title {
    margin: 14px 0;
}

.portfolio-pagecount{
    display: flex;
    justify-content: center;
    letter-spacing: 4px;
    margin: 14px 0;
}

.portfolio-tag{
    display: flex;
    list-style-type: none;
    justify-content: center;
    margin: 10px 0;
    padding: 0;
}

.portfolio-tag > li {
    padding: 0.5em 1em;
    margin: 0.5em;
    border: solid 2px #FFE185;
    color: #FFB547;
    
}

@media screen and (max-width: 768px) {
    .portfolio-tag > li {
        margin: 10px;
    }

    .portfolio-tag svg {
        width: auto;
        height: 24px;
    }

    .portfolio-contents {
        display: flex;
        justify-content: center;
        position: relative;
    }

    .portfolio-image {
        width: 70%;
        height: auto;
        overflow: hidden;
    }    

    .button-back > img {
        width: 55px;
        height: 55px;
    }
    
    .button-next > img {
        width: 55px;
        height: 55px;
    }

    .button-back {
        position: absolute;
        top: 526px;
        left: 205px;
        order: 0;
        z-index: 10;
    }
    
    .button-next {
        position: absolute;
        top: 526px;
        left: 342px;
        z-index: 9;
        order: 2;
    }
}