@font-face {
    font-family: 'AktivGrotesk';
    src: url('../font/AktivGrotesk-Thin.woff') format('woff');
    src: url('../font/AktivGrotesk-Thin.woff2') format('woff2');
    font-style: normal;
}



:root {
    --main-background-color: #a3a3a370;
    --item-background-color: #cacaca;
    --works-background-color: #ffffff0e;
    --about-background-color: #000000c7;
    --dark-color: #000;
    --text-color: #333;
    --other-color: #dddddd;
    --split-color: #d7dbd8;
    --accent-color: #e95d32;
    --accent-color-gray: #9c9c9c86;
    --thin-font: "AktivGrotesk", "Sawarabi Gothic", sans-serif;
    --regular-font: YakuHanJP, "Sawarabi Gothic", sans-serif;
    --mincho-font: "Shippori Mincho", serif;
    --animation-font: "Courier New", monospace;
    --font-size-default: 1rem;
    --font-size-small: 0.8125rem;
    --line-height-default: 1.6;
    --line-height-small: 2;
    --letter-spacing-default: 0.1px;
    --letter-spacing-small: 0.3px;
    --combined-margin: 30px;
    --main-all-margin: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -ms-scroll-chaining: none;
    overscroll-behavior: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: #e8ebe7;
    font-family: var(--thin-font);
    color: var(--text-color);
    height: 100svh;
    display: flex;
    flex-direction: column;

}

.pin-spacer {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    flex-basis: auto !important;

}


.container {
    position: relative;
    display: flex;
    width: calc(100vw - var(--combined-margin));
    height: calc(100svh - var(--combined-margin));
    margin: 15px 15px 0px 15px;
    overflow: hidden;
}


::-moz-selection {
    background-color: #363636;
    color: var(--accent-color);
}

::selection {
    background-color: #363636;
    color: var(--accent-color);
}



.right-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    overflow: hidden;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 2rem;
    color: var(--dark-color);
    background-color: var(--item-background-color);

    p {
        font-family: var(--animation-font);
        display: inline-block;
        margin-right: 22px;
        transform: translateY(100svh);
        -webkit-animation: scrollUp 15s linear infinite;
        animation: scrollUp 15s linear infinite;
        overflow: hidden;

    }
}



@-webkit-keyframes scrollUp {
    0% {
        transform: translateY(100svh);
    }

    100% {
        transform: translateY(-100%);

    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(100svh);
    }

    100% {
        transform: translateY(-100%);

    }
}


.left-content {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 300px;
    height: calc(100svh - var(--combined-margin));
    overflow: hidden;
    color: var(--dark-color);
    z-index: 10;

}


.left-top {
    display: flex;
    height: calc(20% - 20px);
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;

}

.left-top__box,
.left-center__info,
.left-bottom__list li {
    background-color: var(--item-background-color);
}

.left-top__box,
.left-center__info {
    height: 100%;
    width: 258px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.left-center {
    display: flex;
    height: calc(20% - 20px);
    margin-bottom: 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
}



.left-bottom {
    height: calc(60% - 20px);
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.left-bottom__box {
    height: 100%;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.left-bottom__list {
    display: flex;
    flex-direction: row;
    height: 100%;

    li {
        width: 51px;
        height: 100%;
        -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-size: 1.2rem;
        margin-right: 1px;

    }

}



.left-bottom__list li:last-child {
    margin-right: 0;
}

.left-top__box,
.left-center__info,
.left-bottom__list li {
    position: relative;
    overflow: hidden;
}

.left-bottom__list li a {
    display: block;
    position: relative;
    z-index: 100;
    text-align: center;
    padding-right: 15px;
}


.left-top__box a,
.left-center__info a,
.js-Squiggly a {
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.Squiggly {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.SquigglyPath {
    fill: var(--accent-color-gray);
    transition: fill 0.3s cubic-bezier(.02, .53, .34, 1);
}

#mos-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100svw - var(--combined-margin));
    height: calc(100svh - var(--combined-margin));
    margin: var(--main-all-margin);
    z-index: -1;
}

.mouse-stalker {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(2px);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.1s ease, height 0.1s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.mouse-stalker span {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mouse-stalker.active span {
    opacity: 1;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .mouse-stalker {
        display: none;

        span {
            display: none;
        }
    }
}

.header {
    position: absolute;
    height: 60px;
    display: flex;
    justify-content: space-between;
    width: calc(100svw - 410px);
    margin-left: 300px;
    z-index: 999;

}

.header__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(51, 51, 51, 0.8) 50%,
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(51, 51, 51, 0.8) 50%,
            rgba(0, 0, 0, 0) 100%);
}

.header__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 var(--combined-margin);
}

.header__logo,
.header-hamburger {
    z-index: 999;
    width: 36px;
    height: auto;
    display: flex;
    justify-content: center;
}



.header__button {
    margin-top: 4px;
    padding: 16px 7px;
    border-radius: 50%;
    z-index: 999;
    background-color: var(--item-background-color);

    button {
        color: var(--text-color);
        font-family: var(--thin-font);
        font-size: 1rem;
    }
}


.header-nav {
    position: absolute;
    top: -100svh;
    left: 0;
    width: 100%;
    height: calc(100svh - var(--combined-margin));
    z-index: -1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.header-nav-Squiggly {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.header-nav-SquigglyPath {
    fill: #242323;

}

.header-nav ul {
    position: relative;
    list-style: none;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: left;
    z-index: 1;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-auto-flow: column;
    -moz-column-gap: 100px;
    column-gap: 100px;
    row-gap: 18px;

    li a {
        color: #cecece;
        text-decoration: none;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
    }
}

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

.header-nav__span {
    font-size: 1.2rem;
    display: inline-block;
    vertical-align: middle;
}

.header-nav__span-text {
    margin-left: 5px;
}


@media (max-width: 768px) {
    .header-nav ul {
        -moz-column-gap: 20px;
        column-gap: 20px;
        row-gap: 18px;

        li a {
            font-size: 1.2rem;
        }
    }

    .header-nav__span {
        font-size: var(--font-size-default);
    }
}

@media (max-width: 535px) {
    .header__inner {
        margin: 0 10px;
    }

    .header__logo,
    .header-hamburger {
        width: 32px;
    }

    .header__button {
        padding: 13px 7px;
        margin-top: 4px;

        button {
            font-size: 1rem;
        }
    }

    .header-nav ul {
        grid-auto-flow: row;
    }

}


.main {
    height: 100%;
    margin-left: 300px;
    margin-right: 80px;
    overflow-y: auto;
    position: relative;
    width: calc(100svw - 410px);
    display: flex;
    justify-content: center;
}

.footer {
    font-family: var(--regular-font);
    font-size: 0.7rem;
    text-align: right;
    margin-top: auto;
    margin-right: 15px;
    position: relative;

    p {
        margin-bottom: 1px;
    }

}



@media (max-width: 1100px) {
    .left-content {
        display: none;
    }

    .right-content {
        width: 65px;
        font-size: 1.8rem;

        p {
            margin-right: 17px;
        }
    }

    .header,
    .main {
        margin-left: 0px;
        width: calc(100svw - 95px);
    }
}

@media (max-width: 535px) {
    .right-content {

        width: 28px;
        font-size: 1.3rem;

        p {
            margin-right: 4px;
        }
    }

    .header,
    .main {
        width: calc(100svw - 58px);
    }

}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

.app-wrapper {
    position: absolute;
    transform: translateZ(0);
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.app-wrapper::-webkit-scrollbar {
    display: none;
}

.main__content {
    font-family: var(--thin-font);
    width: 100%;
    display: flex;
    z-index: 10;
    color: var(--text-color);
}


#loading {
    font-family: var(--thin-font);
    display: flex;
    color: #727272;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(37, 37, 37);
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    transition: transform 0.5s cubic-bezier(.69, .13, .72, .98);
    z-index: 9999;
}

.up-hidden {
    transform: translateY(-120%);
}


.page-title {
    margin: 0 10px;
}


.loading {
    opacity: 1;
    z-index: 20;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}



@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }

    1% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    8% {
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    17% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}



@keyframes blink {
    0% {
        opacity: 1;
    }

    1% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    8% {
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    17% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}


.page-title__blink {
    color: #ffffff;
    opacity: 0;
    -webkit-animation: blink 1.5s 1 1s;
    animation: blink 1.5s 1 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


svg {
    position: absolute;
    width: 0;
    height: 0;
    top: -9999px;
    left: -9999px;
}

#main__works {
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100svh;
    display: flex;
    opacity: 0;
    -webkit-filter: blur(20px);
    filter: blur(20px);
    pointer-events: none;
    transition: opacity 2.3s cubic-bezier(.06, .65, 0, .96),
        filter 0.3s cubic-bezier(.03, .83, .4, 1.01),
        -webkit-filter 0.3s cubic-bezier(.03, .83, .4, 1.01);

    &.show {
        opacity: 1;
        -webkit-filter: blur(0);
        filter: blur(0);
        pointer-events: auto;
    }

}




#main-set {
    display: flex;
    min-height: 100%;

}

.main-set__scrolls {
    flex: 2;
    width: 100%;
    min-height: 100%;

    img {
        height: auto;
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -webkit-filter: grayscale(1) contrast(1) brightness(0.9);
        filter: grayscale(1) contrast(1) brightness(0.9);
        transition: -webkit-filter 1.5s ease;
        transition: filter 1.5s ease;
        transition: filter 1.5s ease, -webkit-filter 1.5s ease;

        &:hover {
            -webkit-filter: none;
            filter: none;
        }
    }
}

.scroll-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: #7c7c7c 1px solid;
    height: 100svh;
}

.main-set__fixed {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    flex: 1.5;
    max-width: 490px;

}

.fixed-title {
    display: flex;
    justify-content: space-around;
}

.main-set__fixed-title {
    min-height: 100%;
    display: flex;
    justify-content: flex-end;
}

.goo-title {
    -webkit-filter: url(#goo);
    filter: url(#goo);

}

.main-content__title {
    color: #292929;
    font-family: var(--mincho-font);
    font-size: clamp(2rem, -1.184rem + 15.07svw, 12rem);
    height: 300px;
    margin-right: 20px;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    margin-top: 70px;
}

.tight {
    margin-top: -1rem;
}

.main-set__fixed-blur-box {
    margin: 0 auto 0 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    height: 100svh;

}

@media(max-height: 700px) {
    .main-content__title {
        font-size: clamp(2rem, -1.184rem + 11.07svw, 12rem);
    }

    .tight {
        margin-top: -0.5rem;
    }
}

.blur-title,
.blur-text {
    color: #313131;
    font-family: var(--regular-font);
    z-index: 2;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: sideways;
    text-orientation: sideways;
}


.blur-title {
    font-family: var(--mincho-font);
    font-size: 1.6rem;
    margin-left: 20px;
    color: var(--text-color);
    text-align: center;
    margin-right: 20px;
}


.blur-text {
    font-size: var(--font-size-default);
    width: 20px;
}



@media(max-width: 900px) {

    .main-content__title {
        font-size: clamp(1rem, calc(1.1rem + 6vmin), 6rem);
        margin-right: 20px;
    }

    .tight {
        margin-top: -0.3rem;
    }

    .main-set__scrolls img {
        width: 100%;
        height: auto;
    }

    .blur-title {
        font-size: 1.3rem;
    }


    .blur-text {
        margin-left: 10px;
        font-size: var(--font-size-small);
    }


}

@media(max-width: 535px) {
    .main-content__title {
        margin-right: 10px;
    }

    .blur-title {
        font-size: 1.3rem;
        padding-left: 5px;
    }

    .blur-text {
        font-size: var(--font-size-small);
    }
}

#about {
    background-color: var(--about-background-color);
    min-height: calc(100dvh - var(--combined-margin));
    display: flex;
    flex-direction: row-reverse;

}

.about__body {
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 40px;
    max-width: 60%;
}


.about__myname,
.about__main-text {
    color: #cccccc;
}

.about__myname {
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 20px;
}

.about__more {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 60px;


    a {
        color: var(--split-color);
    }
}


.char {
    display: inline-block;
    transition: color 0.1s;
}

@-webkit-keyframes slideColor {
    0% {
        color: var(--split-color);
    }

    50% {
        color: var(--dark-color);
    }

    100% {
        color: var(--split-color);
    }
}

@keyframes slideColor {
    0% {
        color: var(--split-color);
    }

    50% {
        color: var(--dark-color);
    }

    100% {
        color: var(--split-color);
    }
}

@keyframes slideColor-dark {
    0% {
        color: var(--text-color);
    }

    50% {
        color: var(--split-color);
    }

    100% {
        color: var(--text-color);
    }
}

@-webkit-keyframes slideColor-dark {
    0% {
        color: var(--text-color);
    }

    50% {
        color: var(--split-color);
    }

    100% {
        color: var(--text-color);
    }
}


#contact {
    display: flex;
    flex-direction: row-reverse;
    min-height: calc(100svh - var(--combined-margin));

}


.contact__body {
    position: relative;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 40px;
    max-width: 70%;
}

.contact__box {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__subtitle {
    font-size: clamp(0.9rem, calc(0.6rem + 1svw), 1.3rem);
    align-self: flex-start;
    margin-bottom: 10px;
}


.contact__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.contact__a a {
    font-size: clamp(2.8rem, -3.2rem + 8svw, 3.8rem);
}

.contact__X {
    font-size: clamp(1.2rem, calc(0.299rem + 3.6svw), 3rem);
}

.about__title {
    color: #e0e0e0;
}




.about-text,
.works__box-text {
    font-family: var(--regular-font);
    font-size: var(--font-size-default);
    line-height: var(--line-height-default);
    letter-spacing: var(--letter-spacing-default);
    text-align: justify;
}

@media (max-width: 1100px) {

    .about__body,
    .contact__body {
        margin-left: 30px;
    }

    .contact__a a {
        font-size: clamp(1.8rem, 0.786rem + 4.38svw, 3.8rem);
    }
}

@media (max-width: 768px) {

    .about__body,
    .contact__body {
        margin-left: 20px;
    }

    .about-text,
    .works__box-text {
        font-size: var(--font-size-small);
        line-height: var(--line-height-small);
        letter-spacing: var(--letter-spacing-small);
    }

    .myself__box__title {
        font-size: 1.2rem;
    }

}

@media (max-width: 535px) {
    .about__myname {
        margin-top: 70px;
        margin-bottom: 30px;
    }

    .about__body,
    .contact__body {
        margin-left: 10px;
    }

}


.works-content-color {
    color: var(--text-color);
}

.about-content-color {
    background-color: var(--about-background-color);
    color: #cccccc;
}

.fade-in-animation {
    opacity: 0;
    -webkit-filter: blur(100px);
    filter: blur(100px);
    transition: opacity 0.6s cubic-bezier(.28, .09, .34, 1), transform 0.6s cubic-bezier(.28, .09, .34, 1), -webkit-filter 0.6s cubic-bezier(.03, .83, .4, 1.01);
    transition: opacity 0.6s cubic-bezier(.28, .09, .34, 1), transform 0.6s cubic-bezier(.28, .09, .34, 1), filter 0.6s cubic-bezier(.03, .83, .4, 1.01);
    transition: opacity 0.6s cubic-bezier(.28, .09, .34, 1), transform 0.6s cubic-bezier(.28, .09, .34, 1), filter 0.6s cubic-bezier(.03, .83, .4, 1.01), -webkit-filter 0.6s cubic-bezier(.03, .83, .4, 1.01);
}

.fade-in-animation.show {
    opacity: 1;
    -webkit-filter: blur(0);
    filter: blur(0);
}

.scroll-s {
    margin-bottom: 130px;
}



#about-page {
    max-width: 1200px;
    margin-inline: auto;
}

.about__wrapper {
    padding-inline: 40px;
}

.about-wrapper__title {
    display: flex;
    padding: 20px;
    color: var(--text-color);
    font-size: 3rem;
    text-align: center;
    align-items: center;
    margin-top: 150px;
    margin-bottom: 150px;
    font-family: var(--thin-font);

    h2 {
        position: relative;
        display: inline-block;

        .about-wrapper__subtitle {
            margin-top: 10px;
            position: absolute;
            display: block;
            left: 0;
            font-size: 1.5rem;
        }


    }


}

.view-site,
.view-site-port {
    display: flex;
    z-index: 999;
    font-size: 1.5rem;
    text-align: center;
    align-items: center;
    margin-left: 60px;
    border-bottom: var(--text-color) solid 1px;
}

.material-symbols-outlined {
    font-size: 25px;
}


.titleColor {
    padding: 20px;
    color: var(--other-color);
    font-size: 3rem;
    text-align: center;
    margin-top: 150px;
    margin-bottom: 150px;
    font-family: var(--thin-font);
    font-weight: 300;
}

.profile__box-myname {
    font-size: 2rem;
    margin-bottom: 10px;
}

.myself__box {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}

.myself__box__title {
    font-size: 1.6rem;
    width: 50%;
    margin-right: 20px;
}

.myself__box__text {
    width: 600px;
}



.skills__box {
    margin-bottom: 40px;
}

.skills__subtitle {
    font-size: 2rem;
    border-bottom: 1px solid var(--other-color);
    margin-bottom: 50px;
    padding-bottom: 5px;
}


.skills__content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 100px;
}

.skills__item {
    flex: 1 1 calc(50% - 20px);
}

.skills__item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.skills__item-text {
    font-size: var(--font-size-default);
    line-height: 1.5;

}



@media (max-width: 768px) {
    .titleColor {
        font-size: 2.2rem;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .skills__subtitle {
        margin-bottom: 30px;
        font-size: 1.8rem;

    }

    .about-wrapper__title {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        font-size: 2.2rem;
        margin-top: 100px;
        margin-bottom: 100px;

        h2 {
            .about-wrapper__subtitle {
                font-size: 1.2rem;
            }
        }
    }

    .view-site {
        margin-left: 1px;
        margin-top: 40px;
        font-size: 1.2rem;
    }

    .view-site-port {
        margin-left: 1px;
        margin-top: 10px;
        font-size: 1.2rem;
    }

    .material-symbols-outlined {
        font-size: 20px;
    }




    .myself__box__title {
        width: 100%;

    }

    .myself__box {
        flex-direction: column;
    }


    .myself__box__title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .myself__box__text {
        width: 100%;
    }

    .skills__content {
        display: flex;
        flex-direction: column;

    }

    .skills__item-title {
        margin-bottom: 10px;
    }


}

@media (max-width: 535px) {
    .about-wrapper__title {
        padding: 10px;
        font-size: 2rem;
        margin-top: 100px;
        margin-bottom: 100px;

        h2 {
            .about-wrapper__subtitle {
                font-size: 1rem;
            }
        }
    }

    .view-site,
    .view-site-port {
        font-size: 1rem;
    }

    .material-symbols-outlined {
        font-size: 18px;
    }


}


@media (max-width: 352px) {

    .about-wrapper__title {
        font-size: 1.8rem;
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .about-wrapper__subtitle {
        font-size: 100rem;
    }

}

.line {
    opacity: 0;
    transform: translateY(15px);
}


.works-content {
    background-color: var(--works-background-color);
}

.works__img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.works__img video {
    width: 90%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.works__wrapper {
    max-width: 1200px;
    margin-top: 100px;
    margin-inline: auto;
    padding-inline: 40px;
    font-family: var(--regular-font);
}

.works__box {
    transform-origin: center top;
    transform: rotate3d(1, 0, 0, -90deg);
    transition: transform 0.9s cubic-bezier(.06, .33, .15, 1.04);
}

.works__box.show {
    transform: rotate3d(1, 0, 0, 0deg);
}



.works__box-wrapper {
    color: var(--text-color);

}

.works__sub-title {
    display: inline-block;
    width: auto;
    font-size: var(--font-size-default);
    padding: 2px;
    margin-bottom: 10px;
    border-bottom: #202020 solid 1px;


}


.works__box-text {
    padding-bottom: 30px;
}

.works__box-list {
    font-family: var(--regular-font);
    padding-bottom: 30px;
    display: flex;
    gap: 20px;
}


.works__box-link {
    border-bottom: 1px dashed var(--text-color);
}

.works__img-box {
    margin-top: 100px;
    display: flex;
    gap: 20px;
}


.works__pc-img {
    width: calc(80% - 10px);

}

.works__sp-img {
    width: calc(20% - 10px);

}

.works__pc-img img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;


}

.works__sp-img img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}


.banner__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-inline: 40px
}

.banner__wrapper-left {
    flex: 3;
}

.banner__wrapper-right {
    flex: 2;
    display: flex;
    justify-content: center;
    width: 100%;

    img {
        max-width: 100%;
        height: auto;
        -o-object-fit: cover;
        object-fit: cover;

    }

}


@media (max-width: 1100px) {

    .works__wrapper,
    .about__wrapper,
    .banner__wrapper {
        padding-inline: 30px;

    }
}

@media (max-width: 768px) {
    .banner__wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .banner__wrapper-right,
    .banner__wrapper-left {
        flex: unset;
        width: 100%;
    }

    .banner__wrapper-left {
        margin-top: 30px;
    }

    .banner__wrapper-right {
        justify-content: center;
    }

    .works__wrapper,
    .about__wrapper,
    .banner__wrapper {
        padding-inline: 20px;

    }

    .works__img-box {
        display: flex;
        flex-direction: column;
    }

    .works__pc-img {
        width: 100%;
    }

    .works__sp-img {
        width: 100%;
        display: flex;
        justify-content: flex-end;

        img {
            width: 50%;
            height: auto;

        }
    }


}

@media (max-width: 535px) {

    .works__wrapper,
    .about__wrapper,
    .banner__wrapper {
        padding-inline: 10px;
    }

}
