@charset "UTF-8";

/* (min-width: 1025px)の画面対応 */
@media screen and (min-width: 1025px) {
    /* work */
    .work_top {
        width: 60%;
    }
}
/* (max-width: 768px)の画面対応 */
@media screen and (min-width: 769px) {
    .sp-nav {
        display: none;
    }
}

/* (max-width: 768px)の画面対応 */
@media screen and (max-width: 768px) {
    /* 全体 */
    body {
        font-size: 10px;
    }
    h1 {
        font-size: 25px;
    }
    .header_contents h1 {
        -webkit-text-stroke: 1px #58564E;
    }
    .header_contents h3 {
        font-size: 10px;
        padding: 30px 10px;
    }

    /* header */
    .nav_member {
        display: none;
    }
    #hamburger {
        position: relative;
        display: block;
        width: 30px;
        height: 25px;
        margin: 20px 30px 0 auto;
    }
    #hamburger span {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #58564E;
        transform: translateY(-50%);
    }
    #hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #58564E;
    }
     #hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70%;
        height: 2px;
        background-color: #58564E;
    }
    .sp-nav {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, .8);
        transition: all .2s ease-in-out;
        opacity: 0;
        transform: translateY(-100%);
    }
    .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;
    }
    .sp-nav li span {
        font-size: 15px;
        color: #fff;
    }
    .sp-nav li a, .sp-nav li span {
        display: block;
        padding: 20px 0;
    }
    .sp-nav .close {
        position: relative;
        padding-left: 20px;
    }
    .sp-nav .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( 45deg );
    }
    .sp-nav .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( -45deg );
    }
    .toggle {
        transform: translateY( 0 );
        opacity: 1;
    }

    /* footer */
    .logo_name {
        justify-content: center;
    }
    .logo img {
        width: 15%;
        height: 15%;
    }
    .logo_name .name {
        font-size: 15px;
        margin: 15px 10px;
    }
    .logo .copyright {
        font-size: 10px;
    }

    /*************************
     TOP画面
    *************************/
    /* main_visual */
    .main_visual {
        padding-top: 40px;
    }
    /* about */
    .about_item img {
        width: 50%;
    }
    .about_profile {
        width: 100%;
        margin-left: 0;
    }
    .about_profile .about_name {
        text-align: center;
        display: inline-block;
    }
    .about_profile .about_name h2{
        font-size: 23px;
        margin: 5px 0 0;
    } 
    .about_profile .about_name h3 {
        font-size: 15px;
        margin: 0;
    }
    .about_profile .about_name, .about_profile .about_me {
        width: 70%;
    }

    /* skill */
    .skill_item h3{
        font-size: 20px;
    }
    .skill_item img {
        width: 70%;
    }

    /* design */
    .works_list {
        text-align: center;
    }
    .list {
        justify-content: center;
    }
    .list img {
        width: 100%;
    }
    .small {
        font-size: 10px;
    }

    /* contact */
    .contact p {
        margin: 0 60px 50px;
    }
    .contact a {
        font-size: 15px;
    }

    /*************************
     ABOUT画面
    *************************/
    .profile_detail img{
        width: 40%;
    }

    .strenge_float {
        height: 40px;
    }
    .strenge_title span {
        font-size: 7px;
    }

    /*************************
     WORK画面
    *************************/
    .work {
        padding: 80px 50px 0;
    }
}
