html {
    position: relative;
    overflow-x: hidden;
}

body {
    background: var(--white);
    margin: 0;
}

header {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 1.5%;
    margin-bottom: 1.5%;
}

header a {
    display: flex;
    color: var(--darkgray);
}

header .contact path {
    fill: currentColor;
}

h2,
p {
    margin-top: 0;
    margin-bottom: 0;
    color: #373737;
    font-feature-settings: "palt";
}

.pc,
.tablet,
.sp {
    width: 100%;
}

.contents-1 {
    position: relative;
    margin-left: 1.15dvw;
    margin-right: 1.15dvw;
}

.contents1-text {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: end;
    display: flex;
    flex-direction: column;
}

.text-1.mask,
.text-2.mask {
    mask-image: url(../images/pc-mask.svg);
    mask-size: 100dvw;
    mask-repeat: no-repeat;
}

.text-1 {
    width: 100%;
}

.text-2 {
    width: 46%;
}

.contents-1>.text-2 .pc-title,
.contents-1>.text-2 .table-title,
.contents-1>.text-2 .sp-title {
    margin-bottom: 1dvw;
}

.contents1-text>.font-roboto-regular {
    font-size: .9dvw;
    letter-spacing: .04dvw;
    width: 37dvw;
    text-align: justify;
    text-align-last: right;
    margin-left: auto;
}

.contents1-text>.font-roboto-regular.sp {
    display: none;
}

.contents1-text-mask1 {
    width: 13dvw;
    mask-image: url(../images/contents1-text-mask1.svg);
    mask-size: 100dvw;
    mask-repeat: no-repeat;
    margin-left: auto;
}

.contents1-text-mask2 {
    width: 44.5dvw;
    mask-image: url(../images/contents1-text-mask2.svg);
    mask-size: 100dvw;
    mask-repeat: no-repeat;
    margin-left: auto;
}

.contents1-text-mask3 {
    width: 37dvw;
    mask-image: url(../images/contents1-text-mask3.svg);
    mask-size: 100dvw;
    mask-repeat: no-repeat;
    margin-left: auto;
}

.chirp {
    width: 100%;
    margin-left: auto;
    margin-bottom: .5dvw;
}

.norman-bold-1 {
    width: 100%;
    margin-left: auto;
    margin-bottom: .3dvw;
}

.norman-bold-2 {
    width: 100%;
    margin-left: auto;
    margin-bottom: 1.5dvw;
}

.contents1-text>.font-roboto-regular>sp {
    display: none;
}

.contents-2 {
    position: relative;
    padding-left: 1.15dvw;
    padding-right: 1.15dvw;
}

.contents2-border {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 1.8dvw;
    margin-bottom: 1.8dvw;

    /* for Animation */
    position: relative;
    overflow: hidden;
    transition: height 0.5s ease;
}

.contents2-border .font-notosansjp-500 {
    margin-bottom: 1dvw;
}

.contents2-border .markered-text {
    font-size: 1.35dvw;
    line-height: 2;
}

.about {
    position: absolute;
    width: fit-content;
    height: fit-content;
    bottom: 1.5dvw;
    right: 0;
    font-size: .83dvw;
    z-index: 1;
    text-decoration: none;
    display: flex;
    flex-direction: inherit;
}

.about>h2 {
    display: inline;
    writing-mode: vertical-rl;
    margin: 0;
    color: var(--darkgray);
    vertical-align: top;
    font-size: 1.1dvw;
    text-decoration: none;
}

.about>span {
    display: inline-block;
    width: .78dvw;
    height: 7dvw;
    background-color: var(--blue);
}

.about>a {
    text-decoration: none;
    color: #878787;
    writing-mode: vertical-rl;
    vertical-align: top;
    font-size: 1.2dvw;
}

.about-text {
    color: var(--blue);
    background: #373737;
    padding-left: .5dvw;
    padding-right: .2dvw;
    padding-bottom: .2dvw;
    letter-spacing: .3dvw;
    margin-top: 1dvw;
    margin-bottom: 1dvw;
}

.about-text.pc {
    display: inline;
}

.about-text.tablet {
    display: none;
}

.about-text.sp {
    display: none;
}

.contents2-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1dvw;
    margin-bottom: .75dvw;
}

.contents2-top>p {
    color: #878787;
}

.contents2-border .contents2-top.pc>.font-roboto-extrabold {
    font-size: 1.31dvw;
}

.contents2-border .contents2-top.pc>.font-roboto-regular {
    font-size: 1.12dvw;
}

table {
    color: #232323;
    font-feature-settings: "palt";
    width: 100%;
    margin-top: 1.3dvw;
    line-height: 2.5;
    font-size: .8dvw;
    padding-left: .5dvw;
    margin-top: 2.19dvw;
    margin-bottom: 2.19dvw;
}

.table-pc {
    display: block;
}

.table-tablet {
    display: none;
}

.table-sp {
    display: none;
}

th {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 100;
    White-space: nowrap;
    text-align-last: justify;
    text-justify: inter-ideograph;
    padding-top: 0;
    padding-bottom: 0;
}

td {
    White-space: nowrap;
    padding-right: 3.12dvw;
    vertical-align: top;
    padding-top: 0;
    padding-bottom: 0;
}

.contents-3 {
    padding-left: 1.15dvw;
    padding-right: 1.15dvw;
}

.works-title {
    color: var(--black);
    font-size: 1dvw;
}

.works-text {
    width: 100dvw;
    margin-bottom: 1dvw;
}

.sp-copy {
    display: none;
}

.copy {
    text-align: right;
    color: var(--lightgray);
    font-size: .62dvw;
    margin-bottom: .65dvw;
}

:root {
    --white: #fafafa;
    --blue: #64ffff;
    --darkgray: #878787;
    --lightgray: #d7d7d7;
    --black: #414141;
    --border: #d2d2d2;
}

/* for ABOUT Animation */
.tab-about {
    visibility: hidden;

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
}

.tab-content {
    visibility: hidden;
}

.tab-content,
.tab-about {
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.tab-content.active,
.tab-about.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


/* フォントの種類一覧 */
.font-notosansjp-100 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 100;
}

.font-notosansjp-500 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
}

.font-roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.font-roboto-extrabold {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
}

.font-alexandria-extrabold {
    font-family: "Alexandria", sans-serif;
    font-weight: 500;
}


/*アニメーション*/
.overlay {
    background: linear-gradient(#232323 50%, #fafafa 50%);
    background-size: 200% 200%;
    background-position: 200% 200%;
    width: 100dvw;
    position: fixed;
    bottom: 0;
    height: 100%;
    z-index: 10000000;
    pointer-events: none;
    animation: overlay 1s 5s ease-in-out forwards;
}

.overlay-logo {
    position: absolute;
    inset: 0;
    width: 10.6dvw;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    background: linear-gradient(0deg, #fafafa 50%, #64ffff 50%);
    background-size: 100% 108%;
    mask-image: url(../images/logo-animation.svg);
    mask-repeat: no-repeat;
    mask-size: 100%;
    mask-position: center;
    animation: overlay-logo 4s ease-in forwards;
}

.text-1.pc-title,
.text-1.tablet-title,
.text-1.sp-title {
    animation: pc-title 1.3s 6s ease-in-out forwards;
    opacity: 0;
}

.text-2.pc-title,
.text-2.tablet-title,
.text-2.sp-title {
    animation: pc-title 1.3s 6s ease-in-out forwards;
    opacity: 0;
}

.chirp {
    animation: contents1-text1 1.3s 6s ease-in-out forwards;
    opacity: 0;
}

.norman-bold-1 {
    animation: contents1-text2 1.3s 6s ease-in-out forwards;
    opacity: 0;
}

.norman-bold-2 {
    animation: contents1-text3 1.3s 6s ease-in-out forwards;
    opacity: 0;
}

/* マウスカーソル */
#cursor {
    width: 60px;
    height: 60px;
    border: 1px solid black;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s ease, height 0.3s ease, border 0.3s ease;
    z-index: 1000;
}

/* マウスカーソル(タッチデバイスでは表示しない) */
@media (hover: none) and (pointer: coarse) {
    #cursor {
        display: none;
    }
}


@keyframes overlay {
    0% {
        background-position: 0% 0%;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        background-position: -100% -100%;
    }
}

@keyframes overlay-logo {
    0% {
        background-position: 0% 0%;
    }

    95% {
        opacity: 1;
    }

    99% {
        background-position: 100% 100%;
    }

    100% {
        opacity: 0;
    }
}

@keyframes pc-title {
    0% {
        transform: translateY(21dvw);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes contents1-text1 {
    0% {
        transform: translateX(-20dvw);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes contents1-text2 {
    0% {
        transform: translateX(-50dvw);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes contents1-text3 {
    0% {
        transform: translateX(-40dvw);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (min-width:1281px) {
    header {
        margin-right: 1.5%;
    }

    header .icon-x,
    header .icon-facebook,
    header .icon-insta {
        width: .8dvw;
        margin-left: .7dvw;
    }

    header .contact {
        width: 4.1dvw;
        margin-left: 2dvw;
    }

    .pc-title {
        display: block;
    }

    .tablet-title {
        position: absolute;
        opacity: 0;
    }

    .sp-title {
        position: absolute;
        opacity: 0;
    }
}

@media (max-width:1280px) {
    header {
        margin-right: 1.6%;
    }

    header .icon-x,
    header .icon-facebook,
    header .icon-insta {
        width: 1.3dvw;
        margin-left: .9dvw;
    }

    header .contact {
        width: 5.3dvw;
        margin-left: 2.5dvw;
    }

    .pc-title {
        position: absolute;
        opacity: 0;
    }

    .tablet-title {
        display: block;
    }

    .sp-title {
        position: absolute;
        opacity: 0;
    }

    .contents1-text-mask1 {
        width: 14dvw;
    }

    .contents1-text-mask2 {
        width: 47.5dvw;

    }

    .contents1-text-mask3 {
        width: 39dvw;

    }

    .norman-bold-2 {
        margin-bottom: 1dvw;
    }

    .contents1-text>.font-roboto-regular {
        width: 36dvw;
    }

    .contents2-border .markered-text {
        font-size: 1.5dvw;
        line-height: 2.2;
        margin-top: 1.2dvw;
    }

    .contents2-border .font-notosansjp-500 {
        margin-bottom: .8dvw;
    }

    .about {
        bottom: 2.3dvw;
    }

    .about>a {
        font-size: max(1.2vw, 10px);
    }

    .about-text {
        letter-spacing: .5dvw;
        margin-top: .5dvw;
        margin-bottom: .5dvw;
    }

    .about-text.pc {
        display: none;
    }

    .about-text.tablet {
        display: inline;
    }

    .contents2-top {
        font-size: 1dvw;
    }

    .contents2-border .contents2-top.pc>.font-roboto-extrabold {
        font-size: 1.4dvw;
    }

    .contents2-border .contents2-top.pc>.font-roboto-regular {
        font-size: 1.18dvw;
    }

    .table-pc {
        display: none;
    }

    .table-tablet {
        display: block;
        letter-spacing: .2dvw;
        font-size: .95dvw;
        margin-top: 0dvw;
        margin-bottom: 0dvw;
    }

    th {
        vertical-align: top;
    }

    td {
        padding-right: 5dvw;
        vertical-align: top;
    }

    .works-title {
        margin-bottom: .5dvw;
    }

    .copy {
        font-size: 1dvw;
    }
}

@media (max-width:750px) {
    header {
        margin-right: 1.6%;
        max-height: 15px;
    }

    header .icon-x,
    header .icon-facebook,
    header .icon-insta {
        width: 2.1dvw;
        margin-left: 1.7vw;
    }

    header .contact {
        width: 8.8dvw;
        min-width: 33px;
        margin-left: 3dvw;
    }

    .pc-title {
        position: absolute;
        opacity: 0;
    }

    .tablet-title {
        position: absolute;
        opacity: 0;
    }

    .sp-title {
        position: relative;
        display: block;
        margin-bottom: 2dvw;
    }

    .text-1.mask,
    .text-2.mask {
        mask-image: url(../images/sp-mask.svg);
        mask-size: 100dvw;
        mask-repeat: no-repeat;
    }

    .text-2 {
        width: 100dvw;
    }

    .contents1-text {
        position: relative;
    }

    .contents1-text-mask1 {
        width: 21dvw;
    }

    .contents1-text-mask2 {
        width: 87.5dvw;
        mask-size: 100% 100%;
    }

    .contents1-text-mask3 {
        width: 69.5dvw;
    }

    .norman-bold-2 {
        margin-bottom: 1.5dvw;
    }

    .contents1-text>.font-roboto-regular {
        font-size: 1.8dvw;
        width: 100%;
    }

    .contents1-text>.font-roboto-regular.pc {
        display: none;
    }

    .contents1-text>.font-roboto-regular.sp {
        display: block;
    }

    .contents2-border {
        height: auto;
        margin-bottom: 2.5dvw;
        margin-top: 2.5dvw;
    }

    .about {
        top: 21dvw;
    }

    .about>span {
        width: 1.33dvw;
        height: 12dvw;
        min-width: 7px;
        min-height: 50px;
    }

    .about>h2 {
        font-size: max(1.8vw, 7px);
    }

    .about-text.pc {
        display: none;
    }

    .about-text.tablet {
        display: none;
    }

    .about-text.sp {
        display: inline;
        letter-spacing: .65dvw;
    }

    .about-text.sp.adjust {
        letter-spacing: .83dvw;
    }

    .contents2-border .markered-text {
        font-size: 2.1dvw;
        line-height: 2;
    }

    .contents2-top.pc {
        display: none;
    }

    .table-tablet {
        display: none;
    }

    .table-sp {
        display: block;
        line-height: 2;
        font-size: 1.8dvw;
        margin-bottom: 3dvw;
        margin-top: 2dvw;
    }

    .works-title {
        color: var(--darkgray);
        font-size: max(1.8vw, 7px);
        margin-bottom: 1dvw;
    }

    .works-text {
        margin-bottom: 2dvw;
    }

    .font-roboto-regular.copy.pc {
        display: none;
    }

    .sp-copy {
        display: block;
        margin-bottom: 1.5dvw;
    }

    .sp-copy>p {
        color: var(--lightgray);
        font-size: 2.6dvw;
    }

    .copy {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .copy>p {
        color: var(--lightgray);
        font-size: 1.75dvw;
    }

    .tab-content {
        visibility: visible;
        position: relative;
        opacity: 1;
    }

    /* アニメーション */
    .text-1.sp-title {
        animation: pc-title 1s 6s ease-in-out forwards;
        opacity: 0;
    }

    .text-2.sp-title {
        animation: pc-title 1s 6s ease-in-out forwards;
        opacity: 0;
    }

    .chirp {
        animation: contents1-text1 1s 6s ease-in-out forwards;
    }

    .norman-bold-1 {
        animation: contents1-text2 1s 6s ease-in-out forwards;
    }

    .norman-bold-2 {
        animation: contents1-text3 1s 6s ease-in-out forwards;
    }

    @keyframes pc-title {
        0% {
            transform: translateY(28dvw);
            opacity: 1;
        }

        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes contents1-text1 {
        0% {
            transform: translateX(-25dvw);
            opacity: 1;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes contents1-text2 {
        0% {
            transform: translateX(-90dvw);
            opacity: 1;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes contents1-text3 {
        0% {
            transform: translateX(-85dvw);
            opacity: 1;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
}