@import url(./reset.css);
html{
    font-size: 16px;
    line-height: 1.6;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    background-color: #ececec;
}

.mundial{
    font-family: "mundial";
}

.dm-sans{
    font-family: "DM Sans", sans-serif;
}

.br-pc,
.br-tablet,
.br-phone {
    display: none;
}

footer {
    background-color: #515151;
}

/* スマホ用のデザインはここから */
@media screen and (max-width:767px) {
    .br-phone {
        display: block;
    }

    nav {
        display: none;
    }

/* ここからMain */
    .works-content-area {
        width: 90%;
        margin: 50px auto 0 auto;
    }

    .works-picture-area {
        width: 100%;
        height: 100%;
        margin-bottom: 30px;
    }

    .works-title {
        font-size: 1.75rem;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .works-member-area {
        display: flex;
        width: fit-content;
        font-size: 1rem;
        border-bottom: 1px solid #515151;
        margin-bottom: 30px;
    }

    .works-member-name-title {
        padding-right: 20px;
    }

    .works-description-text {
        font-size: 1rem;
        margin-bottom: 50px;
    }

    .works-button-area {
        display: flex;
        justify-content: space-between;
        font-size: 1rem;
        margin-bottom: 100px;
    }

    .works-button {
        border: 1px solid #515151;
        padding: 0px 10px;
        transition: all 0.3s ease;
    }

    .works-button:hover {
        background-color: #515151;
        color: #ffffff;
        cursor: pointer;
        text-decoration: none;
    }
/* ここまでMain */

/*footer*/
    footer {
        background-color: #515151;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .copyright {
        color: #8f8f8f;
        font-family: "DM Sans", sans-serif;;
        font-size: 1rem ;
        text-align: center;
    }
/* ここまでfooter */

}

/*タブレット用のデザインはここから*/
@media screen and (min-width:768px){
    .br-phone {
        display: none;
    }

    .br-tablet {
        display: block;
    }

/* ここからNavigation */
    nav {
        color: #ffffff;
        font-family: "DM Sans", sans-serif;
        font-weight: bold;
        position: fixed;
        top: 0;
        width: 100%;
        background-color: #515151;
        z-index: 20;
    }

    nav ul {
        display: flex;
        height: 8vw;
        font-size: 1.25rem;
    }

    nav img {
        filter: invert(1);
        height: 48px;
    }

    .nav-hover {
        display: flex; 
        flex: 1;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    nav a:hover{
        opacity: 0.3;
    }
/* ここまでNavigation */

/* ここからMain */
    .works-content-area {
        width: 75%;
        margin: 100px auto 0 auto;
    }

    .works-picture-area {
        width: 100%;
        height: 100%;
        margin-bottom: 50px;
    }

    .works-title {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 50px;
    }

    .works-member-area {
        display: flex;
        width: fit-content;
        font-size: 1.25rem;
        border-bottom: 1px solid #515151;
        margin-bottom: 50px;
    }

    .works-member-name-title {
        padding-right: 50px;
    }


    .works-description-text {
        font-size: 1.25rem;
        margin-bottom: 100px;
    }

    .works-button-area {
        display: flex;
        justify-content: space-between;
        font-size: 1.25rem;
        margin-bottom: 100px;
    }

    .works-button {
        border: 1px solid #515151;
        padding: 0px 25px;
        transition: all 0.3s ease;
    }

    .works-button:hover {
        background-color: #515151;
        color: #ffffff;
        cursor: pointer;
        text-decoration: none;
    }
/* ここまでMain */

/*footer*/
    footer {
        background-color: #515151;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .copyright {
        color: #8f8f8f;
        font-family: "DM Sans", sans-serif;;
        font-size: 1rem ;
        text-align: center;
    }
/* ここまでfooter */
}
/* pc画面 */
@media screen and (min-width:1024px){
    .br-tablet {
        display: none;
    }

    .br-pc {
        display: block;
    }

/* ここからNavigation */
    nav {
        font-family: "DM Sans", sans-serif;
        font-weight: bold;
        color: #ffffff;
        position: fixed;
        top: 0;
        width: 100%;
        background-color: #515151;
        z-index: 20;
    }

    nav ul {
        display: flex;
        height: 6vw;
        font-size: 2vw;
    }

    nav img {
        filter: invert(1);
        height: 70px;
    }

    .nav-hover {
        display: flex; 
        flex: 1;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    nav a:hover{
        opacity: 0.3;
    }
/* ここまでNavigation */

/* ここからMain */  
    .works-content-area {
        width: 75%;
        margin: 100px auto 0 auto;
    }

    .works-picture-area {
        width: 100%;
        height: 100%;
        margin-bottom: 50px;
    }

    .works-title {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 50px;
    }

    .works-member-area {
        display: flex;
        width: fit-content;
        font-size: 1.5rem;
        border-bottom: 1px solid #515151;
        margin-bottom: 50px;
    }

    .works-member-name-title {
        padding-right: 100px;
    }

    .works-description-text {
        font-size: 1.25rem;
        margin-bottom: 100px;
    }

    .works-button-area {
        display: flex;
        justify-content: space-between;
        font-size: 1.25rem;
        margin-bottom: 100px;
    }

    .works-button {
        border: 1px solid #515151;
        padding: 0px 40px;
        transition: all 0.3s ease;
    }

    .works-button:hover {
        background-color: #515151;
        color: #ffffff;
        cursor: pointer;
        text-decoration: none;
    }
/* ここまでMain */

/*footer*/
    footer {
        background-color: #515151;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .copyright {
        color: #8f8f8f;
        font-family: "DM Sans", sans-serif;;
        font-size: 0.875rem ;
        text-align: center;
    }
}