@charset "utf-8";

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 16px;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul {
    margin: 0
}

ul[role='list'],
ol[role='list'] {
    list-style: none
}

ul {
    list-style-type: none;
    padding: 0;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    background: #fdfdfd;
    font-weight: 400;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: clamp(1rem, 0.935rem + 0.28vw, 1.125rem);
    font-family: "Jost", "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", "Zen Kaku Gothic New", Meiryo UI, sans-serif;
    color: #404040;
    line-height: 1;
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance
}

a {
    text-decoration: none;
    transition: opacity .5s;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor
}

img,
picture {
    max-width: 100%;
    height: auto;
    vertical-align: baseline;
    /* display: block */
}

input,
button,
textarea,
select {
    font: inherit
}

textarea:not([rows]) {
    min-height: 10em
}

:target {
    scroll-margin-block: 5ex
}

header {
    position: sticky;
    top: 0;
    z-index: 99;
}

header nav {
    background: rgb(253 253 253 / .6);
    backdrop-filter: blur(1.5px);
    border-bottom: .5px #fff solid;
}

header nav .nav_inner {
    max-width: 1096px;
    margin: auto;
    color: #777;
    /* mix-blend-mode: exclusion; */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    justify-content: space-between;
    align-items: center;
    /* background: rgb(253 253 253 / .5); */
    line-height: 1;
}

header nav .nav_inner a #logo {
    width: 22px;
    filter: invert(47%) sepia(16%) saturate(9%) hue-rotate(359deg) brightness(96%) contrast(87%);
}

header nav ul {
    font-size: clamp(1.125rem, 1.06rem + 0.28vw, 1.25rem);
    font-weight: 300;
    letter-spacing: .03em;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
}

header nav a {
    padding: clamp(0.75rem, 0.62rem + 0.55vw, 1rem) clamp(1rem, 0.87rem + 0.55vw, 1.25rem);
}


main section:has(.title) {
    height: 100vh;
    position: relative;
}

main .title {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -110%);
}

main .title h1 {
    font-size: clamp(3.125rem, 2.93rem + 0.83vw, 3.5rem);
    font-weight: 300;
    letter-spacing: .01rem;
    white-space: nowrap;
}

main .title .typingText::after {
    content: "|";
    font-weight: 200;
    color: #ccc;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

main .title p {
    font-weight: 300;
    font-size: clamp(1.5rem, 1.435rem + 0.28vw, 1.625rem);
    color: #777;
    letter-spacing: .03rem;
    line-height: 1.5;
}


#works {
    background: #f4f4f4;
    padding: clamp(1.875rem, 0.51rem + 5.83vw, 4.5rem) 0;
}

#works .works_container {
    max-width: 1096px;
    padding: 0 clamp(1rem, 0.87rem + 0.55vw, 1.25rem);
    margin: auto;
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    grid-template-columns: 1fr 1fr 1fr;
    /* column-gap: 34px; */
    column-gap: 21px;
    row-gap: clamp(1.875rem, 1.55rem + 1.39vw, 2.5rem);
}

#works .disc {
    font-weight: 400;
    line-height: 1.5;
    padding-top: 8px;
}

#works .disc {
    transition: opacity .5s;
}

#works img {
    transition: transform .5s;
}

#works .img_wrapper {
    overflow: hidden;
}

#works .border {
    border: #e5e5e5 solid 1px;
}

#works .disc01 {
    font-size: clamp(1.125rem, 1.06rem + 0.28vw, 1.25rem);
}

#works .disc02 {
    color: #777;
    font-size: clamp(0.875rem, 0.745rem + 0.55vw, 1.125rem);
}

#works.banner {
    background-color: #efefef;
}

#works.banner .works_container {
    grid-template-columns: 1fr 1fr;
}

#works.banner .border {
    box-sizing: border-box;
    border: #d7d7d7 solid 1px;
}

#works.banner ul {
    color: #777;
    font-weight: 300;
    font-size: clamp(0.875rem, 0.745rem + 0.55vw, 1.125rem);
    line-height: 1.1;
}

#works.banner .bnr530::after {
    content: "530 x 172";
}

#works.banner .bnr750::after {
    content: "750 x 188";
}

#works.banner .bnr880::after {
    content: "880 x 220";
}

#works.banner .bnr900::after {
    content: "900 x 170";
}

#works.banner .bnr1200::after {
    content: "1200 x 300";
}

#works.banner .works_container {
    /* row-gap: clamp(1.875rem, 1.55rem + 1.39vw, 2.5rem); */
    row-gap: clamp(1rem, 0.87rem + 0.55vw, 1.25rem);
    ;

}

#concept {
    background: #f4f4f4;
}

#concept .concept_inner {
    padding: clamp(2.5rem, 1.46rem + 4.44vw, 4.5rem) clamp(1rem, 0.87rem + 0.55vw, 1.25rem);
    max-width: 1096px;
    margin: auto;
    line-height: 1.9;
    word-break: break-all;
}

#profile {
    background: #efefef;
    margin: auto;
}

#profile .profile_inner {
    max-width: 1096px;
    padding: clamp(2.5rem, 1.46rem + 4.44vw, 4.5rem) clamp(1rem, 0.87rem + 0.55vw, 1.25rem);
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: auto;
}

#profile img {
    width: 20%;
}


#profile .name {
    padding-bottom: .5em;
    font-weight: 600;
}


#profile .self-intro {
    /* width: calc(100% - 148px); */
    width: calc(80% - 10px);
    padding-left: 10px;
    line-height: 1.7;
    /* padding-left: 16px; */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

#profile self-intro_inner {}

#profile .w430 {
    display: none;
}


footer {
    font-family: "Jost", sans-serif;
    /* background: #f4f4f4; */
    text-align: center;
    font-size: .8rem;
    padding: 24px 0;
}

@media (hover) {
    #works .disc {
        opacity: 0;
    }
}

@media (hover: none) {
    #works .disc {
        opacity: 1;
    }
}

@media (hover: hover) and (pointer: fine) {
    a:hover {
        cursor: pointer;
    }


    header nav ul li a:hover {
        opacity: .5;
    }

    #works img:hover {
        transform: scale(1.04);
    }

    #works.banner img:hover {
        transform: none;
    }



    #works a:hover .disc {
        opacity: 1;
    }
}

@media (max-width: 768px) {

    #works .works_container {
        max-width: 768px;
        grid-template-columns: 1fr 1fr;
        /* row-gap: 32px; */
    }

    #profile .profile_inner {
        display: block;
    }

    #profile img {
        width: 30%;
    }

    #profile .name {
        font-size: 1.1rem;
        padding: 1em 0 .2em;
    }


    #profile .self-intro {
        width: 100%;
        padding-left: 0;
    }


}

@media (max-width: 430px) {

    #works .works_container,
    #works.banner .works_container {
        /* max-width: 430px; */
        padding: 0 clamp(1rem, 0.87rem + 0.55vw, 1.25rem);
        grid-template-columns: 1fr;
        /* row-gap: 40px; */
    }

    /* #works .works_container .work_item {
        flex: 1 1 100%;
        1カラム配置
    } */

    #profile img {
        width: 40%;
    }

    #profile .w430 {
        display: block;
    }



}