* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --black: #262626;
    --bgcolor: #fffafa;
    --white: #FFF;
    --grayline: #2626264d;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    li {
        list-style: none;
    }
    a {
        color: var(--black);
        text-decoration: none;
        cursor: pointer;
    }
    a:visited {
        color: var(--black);
    }
    background-color: var(--bgcolor);
    color: var(--black);
    font-size: 1.6rem;
    font-family: 'Italiana', 'Zen Kaku Gothic Antique', serif;
    text-align: center;
    line-height: 200%;
}
.flex {
    display: flex;
    position: relative;
    z-index: 10;
}
.message_wrapper {
    z-index: 0;
    position: fixed;
    width: 100%;
    height: 20rem;
    display: flex;
    white-space: nowrap;
    align-items: center;
    overflow: hidden;
}
.ticker {
    display: flex;
    position: relative;
    align-items: center;
    animation-name: loop;
    animation-duration: 150s;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function: linear;
}
.message {
    font-family: 'Italiana';
    font-size: 12rem;
    margin-right: 15rem;
    color: var(--bgcolor);
    opacity: 0.3;
    -webkit-text-stroke: 1px var(--black);
}
@keyframes loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.left_container {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 30%;
    height: 100vh;
}
.left_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.center_container {
    margin: 0 auto;
    width: 40%;
    height: 100%;
    background-color: var(--white);
    border-right: solid 1px var(--grayline);
    border-left: solid 1px var(--grayline);
}
.wrapper {
    padding-top: 8.0rem;
    padding-bottom: 8.0rem;
}
.inner {
    font-family: 'Zen Kaku Gothic Antique', serif;;
    padding-inline: 2.0rem;
}
.title {
    font-family: 'Italiana';
    font-size: 4.5rem;
    margin-bottom: 5rem;
}
.about_icon {
    width: 100%;
}
.about_name {
    margin: 3rem 0;
}
.about_txt {
    text-align: left;
}
#skills {
    background-color: var(--bgcolor);
}
.skills_wrapper {
    text-align: left;
}
.skills_1 {
    margin-bottom: 4rem;
}
.skills_ttl {
    font-size: 2rem;
    border-bottom: 1px solid var(--black);
    padding-bottom: 1rem;
}
.skills_txt {
    padding-top: 2rem;
}
.works_flex {
    display: flex;
    flex-flow: column;
    gap: 2rem;
    margin-bottom: 10rem;
    align-items: center;
}
.works_flex img {
    width: 70%;
    text-align: left;
}
footer {
    position: relative;
    background-color: var(--black);
}
.footer_wave {
    position: absolute;
    left: 0;
    bottom: 42rem;
    z-index: 100;
}
.footer_inner {
    padding-inline: 30px;
}
.contact_inner {
    margin-inline: auto;
    max-width: 1160px;
}
.contact {
    text-align: left;
    color: var(--white);
}
.mailto {
    font-family: 'Italiana';
    font-size: 7rem;
    color: var(--black);
    -webkit-text-fill-color: var(--black);
    -webkit-text-stroke: 1px var(--bgcolor);
}
.copy_inner {
    margin-inline: auto;
    max-width: 1160px;
}
.copy_txt {
    border-top: 1px solid var(--bgcolor);
    text-align: right;
    color: var(--bgcolor);
    padding-bottom: 10rem;
}
.nav_list {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}
.nav_item {
    color: var(--black);
}
.nav_item span {
    font-size: 2.4rem;
}
.right_container {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    width: 30%;
    height: 100vh;
    z-index: 110;
}

@media screen and (max-width:768px) {
    body {
        font-size: 1.2rem;
    }
    .message_wrapper {
        height: 10rem;
    }
    .message {
        font-size: 7rem;
    }
    .left_container {
        width: 0;
    }
    .center_container{
        width: 100%;
        position: relative;
        top: 10rem;
    }
    .title {
        font-size: 3rem;
    }
    .right_container {
        display: none;
    }
    .nav_list{
        flex-wrap: wrap;
    }
    .mailto {
        font-size: 3rem;
        color: var(--black);
        -webkit-text-fill-color: var(--black);
        -webkit-text-stroke: 1px var(--bgcolor);
    }
    footer {
        top: 10rem;
    }
    .footer_wave {
        bottom: 38rem;
    }
}
