html, body {
    margin: 0;
    padding: 0;
}

img {
    -webkit-user-drag: none;
    -moz-user-select: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
}

table th, table td {
    padding: 10px 0;
    text-align: center;
}

table td {
    width: 50%;
}

table tr {
    border-bottom: solid 1px #eee;
}

table tr:nth-child(odd) {
    background-color: #dee5e8
}

a {
    color: #000000;
    text-decoration: none;
}

* {
    box-sizing: border-box;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    position: relative;
    z-index: 0;
}

.wrapper, .works {
    z-index: auto;
}

.wrapper {
    min-height: calc(100lvh - 75px);
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

html.is-animating .wrapper {
    opacity: 0;
    transform: translateY(20px);
}

html.is-animating footer {
    opacity: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: #ffffff;
}

.header-logo {
    z-index: 100;
}

.header-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    width: fit-content;
    z-index: 100;
}

.header-nav li {
    margin: 0 20px;
    font-weight: 700;
    font-size: 14px;
    height: 30px;
    display: flex;
    align-items: center;
}

.header-nav li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    background: #9a69d0;
    width: 100%;
    height: 2px;
    transform-origin: right center;
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(.19, 1, .22, 1);
}

.header-nav li.is-active::after, .header-nav li.is-current::after {
    transform-origin: left center;
    transform: scaleX(100%);
}

.header-nav a {
    color: #000000;
    transition: color .2s;
}

.header-nav a.is-active, .header-nav a.is-current {
    color: #9a69d0;
}

.header-hamburger {
    margin: 0 !important;
    z-index: 100;
}

.header-hamburger__btn {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.header-hamburger__btn .header-hamburger__btn-area {
    transition: all .4s;
}

.header-hamburger__btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    background: #000000;
    width: 45%;
}

.header-hamburger__btn span:nth-of-type(1) {
    top: 15px;
}

.header-hamburger__btn span:nth-of-type(2) {
    top: 23px;
}

.header-hamburger__btn span:nth-of-type(3) {
    top: 31px;
}

.header-hamburger__btn.active .header-hamburger__btn-area {
    transform: rotateY(-360deg);
}

.header-hamburger__btn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.header-hamburger__btn.active span:nth-of-type(2) {
    opacity: 0;
}

.header-hamburger__btn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}

@media (max-width: 767px) {
    .header-hamburger {
        display: block;
    }

    .header-nav {
        width: 100%;
        height: 100lvh;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        transform: translateY(-100lvh);
        transition: transform ease .5s;
        background-color: #ffffff;
        z-index: 50;
    }

    .header-nav ul {
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .header-nav li {
        font-size: 40px;
        margin: 10px 0;
        height: 60px;
    }

    .header-nav.isActive {
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .header-hamburger {
        display: none;
    }

    .header-nav ul {
        display: flex;
    }

    .header-nav {
        position: relative;
        width: fit-content;
    }
}

footer {
    background-color: #161e34;
    padding: 30px 5%;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.footer-logo a {
    font-size: 30px;
    color: #ffffff;
}

.footer-copyright p {
    margin: 0;
    font-size: 12px;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin: 0 20px;
}

.footer-nav a {
    color: #ffffff;
}

.footer-nav {
    display: flex;
}

.footer-nav__pagetop {
    height: 50px;
    width: 50px;
    background-color: #ffffff;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 20px;
}

.footer-nav__pagetop-svg {
    display: inline-block;
    transform: translateZ(0);
    width: 16%;
}

.footer-nav__sns {
    width: 25px;
    height: 25px;
}

.footer-nav__sns a {
    width: 100%;
    height: 100%;
}

.footer-nav__sns svg {
    fill: #ffffff;
    width: 100%;
}

@media (max-width: 767px) {
    footer {
        flex-direction: column;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        width: 90%;
    }

    .footer-nav li {
        margin: 2vw 0;
        width: 50%;
    }

    .footer-nav a {
        font-size: 6vw;
    }

    .footer-about {
        order: 1;
    }

    .footer-nav {
        order: 0;
        margin-bottom: 50px;
        justify-content: space-between;
    }
    .footer-nav__pagetop {
        margin-left: 3vw;
        width: 10vw;
        height: 10vw;
    }
    .footer-nav-ul{
        width: calc(100% - 13vw);
    }
}

.top {
    background-image: url("/assets/purple-2484167_1920.jpg");
    width: 100%;
    height: 100lvh;
}

.works, .about {
    width: 100%;
    max-width: 1000px;
    margin: 75px auto 0;
    padding: 0 20px;
}

.work-category {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 20px 0;
}

.work-category a {
    color: #000000;
    display: block;
}

.work-category__box {
    margin: 0 10px;
}

.work-underline {
    background-color: #a0a0a0;
    bottom: 0;
    height: 1px;
    width: 100%;
}

.works-list {
    padding: 20px 0 0 0;
}

.works-list h3 {
    text-align: center;
    margin: 0;
    font-size: 24px;
}

.works-list__child{
    margin-top: 60px
}

.works-list__child h3{
    opacity: 0;
    transform: translateY(20px);
}

.works-list ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 10px;
    position: relative;
}

.works-list li {
    height: 150px;
    width: 200px;
    display: block;
    position: relative;
    margin: 10px;
    flex-grow: 1;
    cursor: pointer;
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.works-list li.isActive {
    opacity: 1;
    transform: translateY(0);
}

.works-list__image {
    height: 100%;
}

.works-list__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-list__text {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity .5s ease;
}

.works-list__text h2 {
    font-size: 13px;
}

.works-list__text.isActive {
    opacity: 1;
}

.works-list__text h2 {
    font-size: 11px;
    padding: 10px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.works-gallery {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.66);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: none;
}

.works-gallery__prev {
    position: fixed;
    left: 0;
    top: 30%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    max-width: 10vw;
    width: 8rem;
}

.works-gallery__prev svg {
    fill: #ffffff;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 10;
}

.works-gallery__next {
    position: fixed;
    right: 0;
    top: 30%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    max-width: 10vw;
    width: 8rem;
}

.works-gallery__next svg {
    fill: #ffffff;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 10;
}

.works-gallery__closearea {
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.works-gallery__close {
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3%;
    z-index: 10;
}

.works-gallery__close svg {
    fill: #ffffff;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.works-gallery svg {
    transition: fill .4s ease;
}

.works-gallery svg:hover {
    fill: #c0c0c0;
}

.works-gallery__btn {
    z-index: 10;
}

.works-gallery__image {
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.works-gallery__image img {
    max-width: 80%;
    max-height: 80%;
    transform: translateY(0);
    opacity: 1;
    transition: all .4s ease;
}

.works-gallery__image img.is-hide {
    transform: translateY(-20px);
    opacity: 0;
}

@media (max-width: 767px) {
    .works-gallery__image img {
        max-width: 100%;
        max-height: 100%;
    }

    .works-gallery svg {
        background-color: rgba(89, 89, 89, 0.75);
        border-radius: 100px;
        padding: 10px;
        height: 40px;
        width: 40px;
    }

    .works-gallery__next, .works-gallery__prev {
        width: 60px;
        max-width: none;
    }
}

.info {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.info-status {
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    margin-top: 70px
}

.info-status h2 {
    text-align: center;
}

.info-status__note, .info-text {
    text-align: center;
}

.about-profile {
    display: flex;
}

.about-icon {
    padding: 10px;
    width: 270px;
}

.about-icon img {
    width: 250px;
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.about-text {
    padding: 10px;
    margin-left: 3%;
    width: calc(100% - 270px);
}

.about-text__name h1 {
    margin: 20px 0 0;
}

.about-text__name p {
    margin: 0;
}

.about-text__border {
    width: 100%;
    height: 1px;
    background-color: #a0a0a0;
    transform-origin: center center;
    transform: scaleX(0);
    margin-top: 40px;
}

.about-text__sns {
    padding-top: 20px;
}

.about-text__sns ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.about-text__sns li {
    margin: 0 20px 0 0;
}

.about-text__sns svg {
    height: 20px;
}

.title {
    font-weight: 700;
    font-size: 60px;
    text-align: center;
    margin: 140px 0 40px;
    overflow: hidden;
}

.title span {
    display: inline-block;
}

@media (max-width: 767px) {
    .about-profile {
        flex-direction: column;
        align-items: center;
    }

    .about-text {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 550px) {
    .title {
        font-size: 10vw;
    }
}

select, option {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    color: #333;
    font-size: 14px;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    outline: none;
}


@-webkit-keyframes ball-pulse-sync {
    33% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    66% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes ball-pulse-sync {
    33% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    66% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.ball-pulse-sync > div:nth-child(1) {
    -webkit-animation: ball-pulse-sync 0.6s -0.14s infinite ease-in-out;
    animation: ball-pulse-sync 0.6s -0.14s infinite ease-in-out;
}

.ball-pulse-sync > div:nth-child(2) {
    -webkit-animation: ball-pulse-sync 0.6s -0.07s infinite ease-in-out;
    animation: ball-pulse-sync 0.6s -0.07s infinite ease-in-out;
}

.ball-pulse-sync > div:nth-child(3) {
    -webkit-animation: ball-pulse-sync 0.6s 0s infinite ease-in-out;
    animation: ball-pulse-sync 0.6s 0s infinite ease-in-out;
}

.ball-pulse-sync > div {
    background-color: #707070;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    display: inline-block;
}

.loader {
    box-sizing: border-box;
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 25%;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
