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

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

.container,
.container2 {
    margin-left: 13px;
    margin-right: 5vw;
}

h1 {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 50vw;
    line-height: 1;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    position: absolute;
    z-index: 2;
    margin: 0 0;
    top: 10vw;
}

h2 {
    font-size: 11vw;
    line-height: 1;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: left;
    padding-top: 0;
    text-shadow: 2px 1px 3px rgba(0, 0, 0, 0.3);
    margin-left: 13px;
}

h3 {
    font-size: 18px;
    line-height: 1;
}

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

.profile h3 {
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.impact {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 20px;
}

.works h3 {
    color: #ffffff;
    text-shadow: 0 0 1.5px #000000;
}

.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-color: #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: absolute;
    top: 66vh;
    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: 100;
    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_down {
    position: absolute;
    top: 1%;
    right: 50%;
    animation: arrowmove 0.8s ease-in-out infinite;
  }
  
  @keyframes arrowmove {
    0% {
      bottom: 1%;
    }
  
    50% {
      bottom: 15%;
    }
  
    100% {
      bottom: 1%;
    }
  }
  
  .scroll_down span {
    position: absolute;
    left: -20px;
    bottom: 10px;
    color: #000000;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    margin-top: 0  ;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }
  
  .scroll_down:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #000000;
    transform: skewX(-31deg);
  }
  
  .scroll_down:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1px;
    height: 50px;
    background: #000000;
  }
  
  
  .scrolldown{
    width:100%;
    height: 10vh;
    position: relative;
  } 
  
  .scrolldown:before{
    content: '';
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
    width:100%;
    height: 100vh;
  }
    
.scroll_up {
    transition: 1s ease-in-out;
    transform: translateY(50px);
    opacity: 0;
}

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


.profile {
    margin-top: 100px;
    background-color: #FDF236;
    background-size: cover;
    position: relative;
}

.profile #PCprofile_img {
    display: none;
}

.profile .group_title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 4vw;
    line-height: 1;
    position: absolute;
    bottom: 4vw;
    right: 1px;
    margin: 0 0;
    writing-mode: vertical-lr;
    z-index: 3;
    transform: rotate(180deg);
    white-space: nowrap;
}

.profile h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 2vw;
}

.profile h3 {
    margin-top: 3.5vh;
    margin-bottom: 0;
}

.profile #pro_name {
    margin-top: 0.9vh;
}

.profile #career_image {
    padding-bottom: 5vh;
}

.profile ul {
    list-style: none;
    margin-top: 4vh;
    padding-left: 0;
}

.PCwebsite_img {
    display: none;
}

.works h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.works_title {
    margin-top: 10vh;
    margin-bottom: 1vh;
    position: relative;
    z-index: 1;
}

.works_title img {
    width: 10vw;
    height: auto;
    position: absolute;
    top: 3vw;
    left: 30vw;
    z-index: 2;
}

.website,
.website2 {
    position: relative;
    margin-bottom: 5vh;
}

.works_web .container,
.works_web .container2 {
    position: absolute;
    top: 87vw;
}

.works_web .odd {
    text-align: right;
    padding-right: 2vw;
}

.website a,
.website2 a,
.works_others a {
    font-size: 2vw;
    color: #ffffff;
    padding-top: 5px;
    padding-bottom: 10px;
    display: block;
    text-align: center;
    background-image: url(img/more_btn.png);
    background-repeat: no-repeat;
    background-size: 25vw 11vw;
    background-position: center center;
    text-decoration: none;
}

.website a:hover,
.website a:focus,
.website2 a:hover,
.website2 a:focus,
.works_others a:hover,
.works_others a:focus {
    cursor: pointer;
    background-image: url(img/more_hover.png);
    background-repeat: no-repeat;
    background-size: 25vw 11vw;
    background-position: center center;
}

.website p,
.website2 p {
    margin-bottom: 25px;
}

.works_web .website .group_title,
.works_web .website2 .group_title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 4vw;
    color: #ffffff;
    line-height: 1;
    position: absolute;
    bottom: 4vw;
    right: 1px;
    margin: 0 0;
    writing-mode: vertical-lr;
    z-index: 3;
    transform: rotate(180deg);
    white-space: nowrap;
}

.works_others {
    margin-top: 10vh;
    position: relative;
    z-index: 3;
}

.works_others h3 {
    text-align: center;
    font-size: 24px;
}


.navigation .prev img,
.navigation .next img {
    width: 2vw;
    height: 4vw;
}

.navigation button {
    appearance: none;
    border: none;
    background: none;
}

.carousel .image-container {
    display: flex;
    transition: transform 0.4s;
}

.carousel {
    overflow: hidden;
    width: 90vw;
    height: 120vw;
    margin: 10vw auto;
    margin-bottom: 0;
    position: relative;
}

.navigation .prev {
    position: absolute;
    top: 26vw;
    left: 3vw;
}

.navigation .next {
    position: absolute;
    top: 26vw;
    right: 3vw;
}


.image-container img {
    width: 62vw;
    height: 48vw;
    margin: 0 14vw;
    max-width: max-content;
}

.image-container .others_container .others_flex {
    width: 88vw;
    height: auto;
    margin-left: 2vw;
    margin-right: 6vw;
}

.image-container .others_container {
    width: 90vw;
}

.image-container .others_container .others_flex p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


.image-container .others_container a {
    width: 90vw;
    display: block;
    text-align: center;
    height: auto;
    z-index: 3;

}

.works_others .group_title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 4vw;
    color: #000000;
    line-height: 1;
    position: absolute;
    bottom: 4vw;
    right: 1px;
    margin: 0 0;
    writing-mode: vertical-lr;
    z-index: 3;
    transform: rotate(180deg);
    white-space: nowrap;
}

#pagetop {
    display: none;
}

footer {
    width: 100%;
    height: 100vw;
    margin-top: -10vw;
    position: relative;
    overflow: hidden;

}

footer img {
    width: 68vw;
    height: auto;
    position: absolute;
    bottom: -12vw;
    left: 18vw;
    transform: rotate(-15deg);
    overflow: hidden;
    z-index: 5;

}

footer p {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 7vw;
    color: #ffffff;
    width: 100%;
    height: auto;
    line-height: 1;
    margin: 0 0;
    padding: 1vw 1vw;
    position: absolute;
    bottom: 0;
    z-index: 4;
    background-color: #FDF236;
    background-size: cover;
    background-position: center bottom;
}


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

    h1 {
        font-size: 26vw;
        text-align: left;
        padding-left: 2vw;
        top: 6vw;
        line-height: 0.9;
    }

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

    h2 {
        font-size: 8vw;
    }

    .profile #profile_img {
        display: none;
    }

    .profile {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        flex-grow: 1;
        justify-content: space-between;
        align-items: stretch;
    }

    .profile #PCprofile_img {
        display: block;
        width: 38vw;
        height: 100%;
        object-fit: cover;
    }

    .profile .profile_text {
        width: 62vw;
        height: auto;
        margin-top: 1vw;
    }

    .profile ul,
    .profile h3 {
        margin-top: 2vw;
    }

    .profile #career_image {
        padding-bottom: 1vw;
        width: 39vw;
        height: auto;
    }

    .profile_text p {
        margin-top: 1vw;
        margin-bottom: 0;
    }

    .works_title img {
        width: 7vw;
        left: 21vw;
    }

    .website_img {
        display: none;
    }

    .PCwebsite_img {
        display: block;
    }

    .works_title {
        margin-bottom: 1vw;
    }

    .works_web .container {
        top: 6vw;
        left: 50vw;
        width: 36vw;
    }

    .works_web .container2 {
        top: 6vw;
        left: 10vw;
        width: 36vw;
    }

    .works_others h3 {
        font-size: 36px;
        margin-top: 16vw;
    }

    .works_web .container h3,
    .works_web .container2 h3 {
        margin-top: 2vw;
        font-size: 3vw;
    }

    .works_web .container p,
    .works_web .container2 p {
        margin-top: 5vw;
    }

    .website a,
    .website2 a,
    .works_others a {
        font-size: 1vw;
        padding-top: 2.5vw;
        padding-bottom: 3vw;
        background-size: 12vw 5vw;
    }

    .website a:hover,
    .website a:focus,
    .website2 a:hover,
    .website2 a:focus,
    .works_others a:hover,
    .works_others a:focus {
        font-size: 1vw;
        padding-top: 2.5vw;
        padding-bottom: 3vw;
        background-size: 12vw 5vw;
    }

    .website,
    .website2 {
        margin-bottom: 10vh;
    }

    .carousel {
        overflow: hidden;
        width: 82vw;
        height: 31vw;
        margin: 5vw auto;
    }

    .works_others .carousel .image-container .others_container {
        display: flex;
        width: 82vw;
        margin: 0 auto;
        flex-direction: row;
        flex-basis: auto;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .others_flex {
        width: 40vw;
        height: 22vw;
    }

    .others_container img {
        width: 40vw;
        height: auto;
        margin: 0 2vw;
    }

    .others_container .others_flex p {
        position: static;
        margin-top: 4vw;
        margin-bottom: 4vw;
        margin-left: -4vw;
        padding: 0 0;
        width: 35vw;
        height: auto;
    }

    .navigation .prev {
        top: 14vw;
        left: 0;
    }

    .navigation .next {
        top: 14vw;
        right: 0;
    }

    .others_container .others_flex a {
        position: static;
        display: block;
        width: 35vw;
        height: auto;
        text-align: right;
        margin-left: -7vw;
        padding-right: 4vw;
        background-position: center right;
    }

    .others_container .others_flex a:hover,
    .others_container .others_flex a:focus {
        background-position: center right;
    }

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

    footer {
        height: 91vw;
    }

    footer img {
        width: 51vw;
        height: auto;
        position: absolute;
        bottom: -8vw;
        left: 25vw;
        transform: rotate(-20deg);
        overflow: hidden;
    }

    footer p {
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        font-size: 6vw;
        color: #ffffff;
        width: 100%;
        height: 56;
        line-height: 1;
        margin: 0 0;
        padding: 1vw 1vw;
        position: absolute;
        bottom: 0;
    }

}

@media(min-width:950px) {

    .works_web .container,
    .works_web .container2 {
        top: 13vw;
    }

}