body {
    margin: 0 0;
    padding: 0 0;
    color: #000000;
    font-family: "ヒラギノ角 ProN", "游ゴシック", "メイリオ", "MS Pゴシック", sans-serif;
    font-weight: normal;
    font-size: 14px;
}   

img {
    max-width: 100%;
    vertical-align: bottom;
}

header p {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.drawer_hidden {
    display: none;
}

.SP_nav {
    position: absolute;
    top: 2vw;
    left: 2vw;
}

.drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3vw;
    left: 3vw;
    z-index: 100;
    cursor: pointer;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 0.5px;
    width: 8vw;
    background-color: #000000;
    transition: 0.5s;
    position: absolute;
}

.drawer_open span {
    width: 6vw;
}


.drawer_open span:before {
    bottom: 2.5vw;
}

.drawer_open span:after {
    top: 2.5vw;
    width: 6vw;
}

#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    width: 8vw;
    top: 0;
    transform: rotate(-45deg);
}

.nav_content {
    width: 100%;
    height: 40vw;
    position: fixed;
    bottom: 100%;
    left: 0%;
    z-index: 1;
    background: #ffffff;
    transition: 0.8s;
    text-align: center;
    border-bottom: 0.5px solid #000000;
}

.nav_list {
    list-style: none;
    display: flex;
    flex-direction: row;
    padding-top: 25vw;
}

.nav_item a {
    color: #000000;
    font-size: 6vw;
    text-decoration: none;
    padding-right: 6vw;
}

#drawer_input:checked~.nav_content {
    bottom: 88vh;
    z-index: 2;
}

header #pc_mainimage {
    display: none;
}

header #main_image {
    width: 100vw;
    height: auto;
    position: relative;
    z-index: 1;
}

header .PC_nav {
    display: none;
}

.header_nav #Portfolio {
    margin: 0 0;
    padding-top: 2vw;
    padding-right: 6vw;
    width: 100%;
    text-align: right;
    font-size: 7vw;
    z-index: 2;
}

header #name {
    font-size: 4vw;
    line-height: 1;
    position: fixed;
    top: 110vw;
    right: 1px;
    margin: 0 0;
    writing-mode: vertical-lr;
    z-index: 3;
    transform: rotate(180deg);
    white-space: nowrap;
}

.header_nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    z-index: 4;
    background-color: rgba(255, 255, 255, 0.6);
    background-position: center top;
    background-size: cover;
    height: 10vw;
    border-bottom: 0.5px solid #000000;
}

header .header_name span {
    border-right: 0.5px solid #000000;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 4.4vw;
    z-index: 3;
}

.scroll_up {
    transition: 1s ease-in-out;
    transform: translateY(100px);
    opacity: 0;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}

main {
    margin-bottom: 30vw;
}

main img {
    width: 100%;
    height: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

main h2 {
    padding-bottom: 8vw;
    font-size: 18px;
    background-image: url(../img/others_title_bg.png);
    background-repeat: no-repeat;
    background-size: 94vw 12vw;
    background-position: left bottom;
}

main h2,
main .detail {
    margin-left: 13px;
    margin-right: 4.1vw;
}

main h2 span {
    display: block;
}

main ul {
    margin-top: 8vw;
    list-style: none;
    padding: 1rem 13px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.others_2 img,
.others_3 img,
.others_4 img {
    margin-top: 20vw;
}

.others_1 img,
.others_2 img,
.others_3 img {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

main .others_4 img {
    width: 90vw;
    height: auto;
    display: block;
    margin-left: 4vw;
}

#pagetop {
    display: none;
}



@media(min-width:768px) {

    header .SP_nav {
        display: none;
    }

    header .PC_nav {
        display: block;
    }

    header nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        flex-grow: 1;
        justify-content: space-between;
        list-style: none;
        width: 45vw;
        height: auto;
        font-size: 3vw;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
        padding-left: 2vw;
        padding-top: 0.5vw;
    }

    header nav ul li a {
        text-decoration: none;
        color: #000000;
    }

    header nav ul li a:hover {
        cursor: pointer;
    }

    header #main_image {
        display: none;
    }

    header #pc_mainimage {
        display: block;
    }

    .header_nav {
        height: 5vw;
    }

    .header_nav #Portfolio {
        font-size: 4vw;
        padding-top: 0.5vw;
    }

    header #name {
        font-size: 4vw;
        top: 28vw;
    }

    main {
        margin-bottom: 4vw;
    }

    .others_1 .flex_container img,
    .others_2 .flex_container_reverse img,
    .others_3 .flex_container img,
    .others_4 .flex_container_reverse img {
        width: 33vw;
        height: auto;
        margin: 0 0;
    }

    main h2 span {
        display: inline;
    }

    .flex_container,
    .flex_container_reverse {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        width: 84vw;
        margin-top: 7vw;
        margin-bottom: 10vw;
        margin-left: 7vw;
        justify-content: space-between;
        align-items: center;

    }

    .flex_container_reverse {
        margin-left: 4vw;
    }

    .flex_text {
        width: 49vw;
        height: auto;
    }

    .flex_container_reverse .flex_text {
        order: 1;
    }

    .flex_container_reverse img {
        order: 2;
    }

    main h2 {
        margin: 0 0;
        padding-bottom: 5vw;
        padding-right: 10vw;
        font-size: 24px;
        background-size: 49vw 6vw;
    }


    .flex_container .flex_text .detail,
    .flex_container_reverse .flex_text .detail {
        margin: 4vw 0;
    }

    .flex_container .flex_text ul,
    .flex_container_reverse .flex_text ul {
        margin-top: 2vw;
        padding: 3vw 2vw;
    }

    #pagetop {
        display: none;
        width: 5vw;
        height: 5vw;
        position: fixed;
        right: 2vw;
        bottom: 5vw;
        z-index: 5;
    }

}