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;
}

main p,
main h1 {
    margin-left: 13px;
    margin-right: 5vw;
}

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: 45vw;
    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;
}

.PCpreview {
    display: none;
}

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

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

h1 {
    font-size: 18px;
}

main .title {
    margin-top: 5vw;
    padding-bottom: 8vw;
    width: 93vw;
    background-image: url(../img/website3/title_bg3.png);
    background-repeat: no-repeat;
    background-size: 94vw 15vw;
    background-position: bottom center;
}

.outline img {
    width: 73vw;
    height: 82vw;
    display: block;
    margin: 8vw auto;
    margin-bottom: 4vw;
}

.outline .tools {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    background-position: center center;
    background-size: cover;
}

.outline ul {
    color: #ffffff;
    list-style: none;
    padding-left: 13px;
    padding-right: 5vw;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.outline ul a {
    color: #ffffff;
}

.detail {
    margin-top: 12vw;
}

.detail .preview_img {
    width: 85vw;
    height: auto;
    display: block;
    margin-top: 8vw;
    margin-bottom: 4vw;
    margin-left: 5vw;
}

.detail .preview2_img {
    width: 87vw;
    height: auto;
    display: block;
    margin-top: 8vw;
    margin-bottom: 4vw;
    margin-left: 4vw;
}

main {
    margin-bottom: 15vw;
}

#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-top: 7vw;
        margin-left: 6vw;
        margin-right: 0;
    }

    main .title {
        background-size: 49vw 6vw;
    }

    .outline .SPpreview {
        display: none;
    }

    .PCpreview {
        display: block;
        width: 32vw;
    }

    .main_head {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
        justify-content: space-between;
        width: 84vw;
    }

    .flex_left {
        width: 32vw;
    }

    .flex_right {
        width: 48vw;
    }

    .flex_right .title h1 {
        margin-right: 0;
        padding: 0 0;
        text-align: left;
        width: 48vw;
        word-wrap: break-word;
    }

    .flex_right .title {
        width: 48vw;
        background-size: 48vw 6vw;
        background-position: bottom left;
        padding-bottom: 4vw;
    }

    .reverse {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
        justify-content: space-between;
        width: 84vw;
        margin: 0 0;
    }

    .reverse_right #contents_img {
        width: 46vw;
        height: 26vw;
        margin: 0 0;
    }

    .reverse_left {
        width: 38vw;
        height: auto;
        margin: 0 0;
        order: 1;
    }

    .reverse_left p {
        margin: 0 0;
        margin-top: 2vw;
        margin-right: 2vw;
    }

    .reverse_right {
        width: 47vw;
        height: 35vw;
        order: 2;
    }

    .reverse_right .preview_img {
        width: 47vw;
        height: 35vw;
        margin-left: 0;
    }

    main span {
        display: block;
        margin-top: 2vw;
    }

    .original {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
        justify-content: space-between;
        width: 84vw;
        margin: 0 0;
        margin-top: 10vw;
    }

    .original_left {
        width: 47vw;
        height: auto;
    }

    .original_left .preview2_img {
        margin-left: 0;
    }

    .original_right {
        width: 38vw;
        height: auto;
        margin: 0 0;
    }

    .original_right p {
        margin: 0 0;
        margin-top: 2vw;
        margin-left: 2vw;
    }

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

}