@charset "UTF-8";

:root {
    --main-font: "Nort", sans-serif;
    --sub-font: "Lexend Mega", sans-serif;
    --bg-color: #C0C1C3;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #7F8180;
    --LOADING_INDEX: 60;
    --BUTTON_INDEX: 50;
    --NAV_INDEX: 40;
    --HEADER_INDEX: 30;
    --MAIN_INDEX: 20;
    --FOOTER_INDEX: 10;
    --circle-start: 184px;
}

@media (max-width: 767px) {
    :root {
        --circle-start: 112px;
    }
}

/* common */
html {
    font-size: 62.5%;
    overflow-y: scroll;
}

body {
    background-color: var(--bg-color);
    color: var(--black);
    font-family: var(--main-font);
    line-height: 2.6;
}

.body_banner {
    background-color: var(--white);
}

main {
    position: relative;
    overflow-x: hidden;
    flex: 1;
    z-index: var(--MAIN_INDEX);
}

h1,h2,h3 {
    font-weight: normal;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: contain;
}

button {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}

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

    .pc-only {
        display: none;
    }
}

/* loading */
body.is-fixed,
body.is-open {
    overflow: hidden;
}

#loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--LOADING_INDEX);
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    pointer-events: none;
}

.loading__text {
    font-size: 3.2rem;
    mix-blend-mode: difference;
    color: var(--white);
    line-height: 2;
    display: flex;
    flex-direction: column;
}

.loading__line {
    opacity: 0;
    animation: loading-animation 5s infinite alternate;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.loading__line--1 {
    animation-delay: 1s;
}
.loading__line--2 {
    animation-delay: 2s;
}
.loading__line--3 {
    animation-delay: 3s;
}

@keyframes loading-animation {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media screen and (max-width: 767px) {
    .loading__text {
        font-size: 2.4rem;
    }
}

/* header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--HEADER_INDEX);
    width: 100%;
    background-color: transparent;
}

.header__title {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: var(--BUTTON_INDEX);
    font-size: 1.6rem;
    line-height: 2;
    color: var(--white);
}

.body_banner .header__title {
    color: var(--black);
}

.header__burger-button {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: var(--BUTTON_INDEX);
    font-family: var(--main-font);
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50px;
    border: 2px solid var(--white);
    transition: opacity 0.3s ease-out;
}

.header__burger-button:hover {
    opacity: 0.5;
}

.body_banner .header__burger-button {
    border: 2px solid var(--black);
}

.header__burger-text--menu {
    color: var(--white);
    font-size: 1.6rem;
}

.body_banner .header__burger-text--menu {
    color: var(--black);
}

.header__burger-text--menu.menu {
    display: none;
}

.header__burger-text--close {
    color: var(--white);
    font-size: 1.6rem;
    display: none;
}

.body_banner .header__burger-text--close {
    color: var(--black);
}

.header__burger-text--close.close {
    display: block;
}

@media screen and (max-width: 767px) {
    .header__title {
        font-size: 1.4rem;
    }
}

/* nav */
.header__nav {
    position: fixed;
    z-index: var(--NAV_INDEX);
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    padding-top: 120px;
    display: none;
}

@media screen and (max-width: 767px) {
    .header__nav {
        padding-top: 104px;
    }
}

.header__nav-list {
    width: 74%;
    max-width: 1066px;
    display: flex;
    justify-content: space-between;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width: 767px) {
    .header__nav-list {
        display: block;
        max-width: 100%;
    }
}

.header__nav-item a {
    max-width: 320px;
    margin: auto;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    display: block;
    transition: 0.3s;
    position: relative;
}

.header__nav-item--about {
    margin-left: 80px;
}

.header__nav-item--works {
    margin-left: 80px;
}

@media screen and (max-width: 767px) {
    .header__nav-item a {
        max-width: 256px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #E0E0E0;
        display: flex;
    }

    .header__nav-item--about,
    .header__nav-item--works {
        margin-left: 0;
    }
}

.header__nav-img {
    position: relative;
    max-width: 100%;
    transition: 0.3s;
    overflow: hidden;
}

.header__nav-img img {
    transition: 0.3s;
}

.header__nav-img img:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: 0.3s;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .header__nav-img {
        width: 35%;
        margin-right: 24px;
    }
}

.header__nav-title {
    font-size: 4rem;
    font-family: "Lexend Exa";
    color: var(--black);
    margin-top: 16px;
    line-height: normal;
}

@media screen and (max-width: 768px) {
    .header__nav-title {
        font-size: 2.4rem;
        margin-top: 0;
    }
}

.header__nav-label {
    font-size: 1.6rem;
    line-height: normal;
    color: var(--black);
}

.header .header__nav .sns-list {
    padding-top: 56px;
    max-width: 96px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.sns-list__link {
    display: inline-block;
}

.header .header__nav .sns-list .sns-list__icon {
    width: 32px;
    height: auto;
}

@media screen and (max-width: 767px) {
    .header .header__nav .sns-list {
        padding-top: 24px;
        padding-bottom: 40px;
        max-width: 72px;
    }

    .header .header__nav .sns-list .sns-list__icon {
        width: 24px;
    }
}

/* footer */
.footer {
    padding-bottom: 56px;
    background-color: var(--gray);
    color: var(--white);
    overflow: hidden;
}

.footer__inner {
    position: relative;
    z-index: var(--FOOTER_INDEX);
    padding-inline: 80px;
}

.footer__container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--bg-color);
}

.footer__block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.footer__button {
    margin-left: 80px;
    font-size: 1.5rem;
    font-style: normal;
    line-height: 1;
}

.footer__link {
    color: var(--white);
    transition: opacity 0.3s ease-out;
}

.footer__link:hover {
    opacity: 0.6;
}

.footer__copyright {
    color: var(--bg-color);
    text-align: left;
    font-size: 1.5rem;
    font-style: normal;
    line-height: 1;
}

@media (max-width: 767px) {
    .footer {
        padding-bottom: 40px;
    }

    .footer__inner {
        padding-inline: 40px;
    }

    .footer__container {
        display: block;
        padding-top: 24px;
    }

    .footer__block {
        margin-bottom: 40px;
    }

    .footer__button {
        margin-left: 0;
        font-size: 1.4rem;
    }

    .footer__copyright {
        text-align: center;
        font-size: 1.4rem;
    }
}

.contact {
    padding-bottom: 80px;
}

.contact__inner {
    margin-inline: auto;
    max-width: 1038px;
}

.contact__title {
    margin-bottom: 24px;
    padding-top: 72px;
    font-family: "Lexend Exa";
    color: var(--bg-color);
    font-size: 2.4rem;
    line-height: normal;
}

.contact__mail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact__link {
    color: var(--gray);
    font-size: min(5vw, 6.4rem);
    font-weight: 700;
    line-height: normal;
    font-family: "Lexend Giga";
    text-shadow:
    1px 0 0 var(--white),
    0 1px 0 var(--white),
    -1px 0 0 var(--white),
    0 -1px 0 var(--white),
    2px 0 0 var(--white),
    0 2px 0 var(--white),
    -2px 0 0 var(--white),
    0 -2px 0 var(--white),
    1px 1px 0 var(--white),
    -1px 1px 0 var(--white),
    1px -1px 0 var(--white),
    -1px -1px 0 var(--white);
    transition-property: color, text-shadow;
    transition-duration: 0.4s;
    transition-timing-function: ease-out;
}

.contact__mail:hover .contact__link {
    color: var(--white);
    text-shadow: none;
}

.contact__arrow {
    position: relative;
    width: 37px;
    height: 39px;
    overflow: hidden;
}

.contact__arrow::before,
.contact__arrow::after {
    position: absolute;
    content: "";
    top: 6px;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/common/icon_arrow.svg);
    background-size: contain;
}

.contact__arrow::before {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.4s, opacity 0.3s 0.2s;
    transition-timing-function: ease-in-out;
}

.contact__arrow::after {
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.4s, opacity 0.3s;
    transition-timing-function: ease-in-out;
}

.contact__mail:hover .contact__arrow::before {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s, opacity 0.3s;
    transition-timing-function: ease-in-out;
}

.contact__mail:hover .contact__arrow::after {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.5s, opacity 0.3s 0.2s;
    transition-timing-function: ease-in-out;
}

@media (max-width: 767px) {
    .contact {
        padding-bottom: 32px;
    }

    .contact__title {
        margin-bottom: 16px;
        padding-top: 32px;
        font-size: 1.6rem;
    }

    .contact__link {
        color: var(--white);
        font-family: "Lexend Mega";
        font-size: 1.6rem;
        font-weight: 900;
        text-shadow: none;
        transition: none;
    }

    .contact__arrow {
        width: 16px;
        height: 18px;
    }

    .contact__arrow::before,
    .contact__arrow::after {
        top: 0;
    }
}

/* component */
.heading {
    width: 30.56%;
    min-width: 312px;
    display: flex;
    justify-content: flex-end;
}

.heading--biography,
.heading--strength {
    width: fit-content;
}

.heading--about,
.heading--works,
.heading--About {
    border-bottom: 5px solid var(--black);
}

.heading--skills {
    border-bottom: 5px solid var(--white);
}

.heading--about,
.heading--skills,
.heading--works,
.heading--strength {
    margin-bottom: 112px;
}

.heading__content {
    display: flex;
    flex-direction: column-reverse;
}

.heading__wrapper {
    margin-bottom: 16px;
    padding-top: 6px;
}

.heading--works .heading__wrapper,
.heading--strength .heading__wrapper {
    margin-bottom: 0;
}

.biography .heading__wrapper {
    margin-bottom: 0;
}

.heading__en {
    font-size: min(6vw, 6.4rem);
    font-family: var(--sub-font);
    line-height: normal;
}

.heading__jp {
    font-size: 1.6rem;
    line-height: normal;
    transition-delay: 0.4s;
}

.heading--skills .heading__jp,
.heading--biography .heading__jp {
    color: var(--white);
}

.heading--skills .heading__en,
.heading--biography .heading__en {
    color: var(--white);
}

.sns-list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sns-list__item {
    transition: opacity 0.3s ease-out;
}

.sns-list__item:hover {
    opacity: 0.6;
}

.sns-list__icon {
    width: 24px;
}

.profile__loop-text {
    position: absolute;
    display: flex;
    top: 50%;
    left: calc(50% - 50vw);
    z-index: -1;
    transform: translateY(-50%);
}

.profile__loop-text-item {
    padding-right: 40px;
    font-family: "sofia-pro", sans-serif;
    font-size: 12.8rem;
    font-weight: 100;
    line-height: normal;
    color: var(--white);
    white-space: nowrap;
    animation: slideText 20s linear infinite;
}

@media (max-width: 767px) {
    .heading {
        width: 208px;
        min-width: auto;
    }

    .heading--biography,
    .heading--strength {
        width: fit-content;
    }

    .heading--about,
    .heading--works,
    .heading--About {
        border-bottom: 3px solid var(--black);
    }

    .heading--skills {
        border-bottom: 3px solid var(--white);
    }

    .heading--about,
    .heading--skills,
    .heading--works,
    .heading--biography,
    .heading--strength {
        margin-bottom: 64px;
    }

    .heading__wrapper {
        padding-top: 4px;
    }

    .heading__en {
        font-size: 3.2rem;
    }

    .sns-list {
        gap: 20px;
    }

    .sns-list__icon {
        width: 20px;
        height: 20px;
    }

    .profile__loop-text-item {
        font-size: 4.8rem;
    }
}

/* keyframes */
@keyframes slideText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
    }

    @keyframes rotateCircle {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
    }

.js-observe-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-observe-target.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* animation */
.animation-fadein {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.animation-fadein.is-show {
    opacity: 1;
}


/* scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}