@charset "UTF-8";

* {
    box-sizing: border-box;
    line-height: 1.75;
}

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

.sp-only {
    display: none;
}

header {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 159, 159);
    display: flex;
    text-align: center;
    padding-bottom: 80px;
}

h1 {
    font-size: 40px;
    margin: 0;
    position: fixed;
    padding-left: 20px;
}

h1 a {
    text-decoration: none;
    color: #395af0;
}

h1 a:hover {
    color: #8799ff;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style-type: none;
    margin-left: auto;
    position: fixed;
    right: 0;
    padding-top: 10px;
    padding-right: 30px;
}

.nav-list a {
    text-decoration: none;
    color: rgb(255, 159, 159);
}

.nav-list a:hover {
    color: rgb(255, 195, 195);
}

body {
    background-color: rgb(254, 255, 218);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: rgb(91, 91, 91);
}

section {
    padding: 150px 0px 150px 0px;
}

.first-view {
    padding: 30px 0px 100px 0px
}


.mv {
    width: 70%;
    margin: auto;
}

h2 {
    margin: 0;
}

.is-float {
    --is-duration: 1.9s;
    --is-distance: 14px;

    animation: is-float var(--is-duration) ease-in-out infinite;
}

@keyframes is-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(calc(var(--is-distance, 14px) * -1));
    }
}

.catch {
    font-size: 20px;
    padding-right: 30px;
    width: fit-content;
    margin-left: auto;
}


.first-line {
    font-size: 36px;
    font-weight: bold;
    color: rgb(255, 110, 146);
    letter-spacing: 0.1em;
}

.second-line {
    content: "";
    margin-left: 50px;
    font-size: 22px;
    color: #979797;
    letter-spacing: 0.1em;
}


h3 {
    margin: 0;
    font-size: 36px;
    color: #395af0;
    text-align: center;
}


.title-ja {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    text-align: center;
    padding-bottom: 30px;
}

.title p::before {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #333333;
    margin-right: 10px;
    display: inline-block;
}

.title p::after {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #333333;
    margin-left: 10px;
    display: inline-block;
}


.works,
.about,
.contact {
    background-color: rgb(255, 255, 255);
    border-radius: 10% 0% 0% 0%;
    border-top: 3px dotted rgb(255, 159, 159);
}

.works-content {
    width: 80%;
    margin: auto;
}

.works-nav {
    margin: 0;
    padding-left: 0;
    display: flex;
    justify-content: center;
    list-style-type: none;
    gap: 20px;
}

.works-nav a {
    text-decoration: none;
    color: rgb(255, 112, 155);
    border-right: 1px solid rgb(255, 159, 159);
    padding-right: 20px;
}

.works-list-title {
    text-align: center;
    padding-top: 50px;
    font-size: 20px;
    font-weight: bold;
}

.works-nav-item a:hover {
    color: #ffc7cd;
}


.works-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.graphic {
    border-radius: 10px;
}

.work-list-item {
    width: 40%;
}


.hover {
    border-radius: 50%;
    transition: all 0.4s ease 0s;
}

.hover:hover {
    cursor: pointer;
    transform: scale(1.1, 1.1);
}

.category-web {
    margin: 0;
    color: rgb(255, 255, 255);
    background-color: rgb(33, 138, 208);
    width: 70px;
    text-align: center;
    border-radius: 60px;
    margin-left: 30px;
}


.category-graphic {
    color: rgb(255, 255, 255);
    background-color: rgb(255, 133, 133);
    width: 70px;
    text-align: center;
    border-radius: 70px;
    margin-left: 0px;
}

.recruit {
    color: #ff6464;
    border: 1px solid #ff6464;
    padding: 0px 4px;
    font-size: 14px;
}

.category-flex {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

.works-title {
    font-size: 18px;
    font-weight: bold;
    padding-top: 10px;
    text-align: center;
    line-height: 1.3;
}

.graphic-img {
    background-color: #f1f1f1;
    border-radius: 10px;
}

.category-oc {
    margin: 0;
    color: rgb(255, 255, 255);
    background-color: rgb(78, 174, 93);
    width: 70px;
    text-align: center;
    border-radius: 70px;
}

.work-list-item-illustration {
    width: 25%;
}

.work-list-item-illustration img {
    border-radius: 10px;
}

.time {
    color: rgb(150, 150, 150);
}

.works-top-flex {
    display: flex;
    gap: 10px;
    color: rgb(150, 150, 150);
}

.production-time {
    font-size: 12px;
    padding-top: 5px;
}



.space {
    background-color: rgb(255, 159, 159);
    padding: 10px;
}

.space p {
    /* width: 50%; */
    margin: auto;
    width: 30ch;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #ffffff;
    font-size: 1.5em;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #ffffff;
    animation: typing 1s steps(10), typingEffect .5s step-end infinite alternate;
}

@keyframes typing {
    from {
        width: 0
    }
}

@keyframes typingEffect {
    50% {
        border-color: transparent
    }
}

.about-content {
    width: 70%;
    margin: auto;
}

.about-img {
    width: 30%;
    margin: auto;
}

.about-img img {
    border-radius: 50%;
}

.about-flex {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-text {
    width: 70%;
    margin: auto;
}

.name-flex {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.name {
    font-size: 20px;
}


.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee div {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 9s linear infinite;
    color: #ffffff;
    font-size: 1.5em;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}



.skill-content {
    width: 70%;
    margin: auto;
}

.nav-skill {
    list-style-type: none;
    padding-left: 0;
}

.nav-skill li {
    padding-bottom: 50px;
}

h4 {
    font-size: 24px;
    margin: 0;
}

.skill-flex {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid;
}

.skill-flex img {
    width: 50px;
    padding-bottom: 10px;
}

.skill-time {
    padding-top: 5px;
    color: rgb(150, 150, 150);
}

.test::before {
    content: "⚫︎";
    color: #395af0;
}


.contact p {
    text-align: center;
}

.mail {
    background-color: #395af0;
    padding: 10px;
    width: 50%;
    margin: auto;
    border-radius: 70px;
}

.contact-flex {
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mail-icon {
    width: 5%;
}

.mail a {
    text-decoration: none;
    color: #ffffff;
}

.mail:hover {
    background-color: #6cacff;
}


footer {
    background-color: rgb(255, 159, 159);
    padding: 100px 0px 20px 0px;
}

.footer-nav {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding-left: 0;
}

.footer-nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.footer-nav a:hover {
    color: rgb(253, 255, 204);
}

.sns img {
    width: 40px;
}

.sns-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 30px;
}

.sns a {
    text-decoration: none;
}

.small {
    color: #ffffff;
    text-align: center;
    padding-top: 50px;
}

/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* 初期状態では画面の外に隠れている */
    width: 300px;
    height: 100%;
    background-color: rgb(255, 159, 159);
    color: #333;
    transition: right 0.3s ease;
    /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 10;
}

/* メニューが開いているとき */
.menu.open {
    right: 0;
    background-image: url(../img/topwhite.png);
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center 90%;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 20;
    padding-top: 5px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: rgb(255, 159, 159);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 10px;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #ffffff;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #ffffff;
}

/* メニューリストのスタイル */
.menu ul {
    list-style-type: none;
    padding: 0;
    margin-top: 80px;
}

.menu li {
    padding: 20px 0;
    border-bottom: 2px dotted rgb(255, 255, 255);
}

.menu li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: block;
}

.menu li a:hover {
    text-decoration: underline solid rgb(255, 255, 255);
}


@media screen and (max-width:768px) {

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .nav-list {
        display: none;
    }

    .first-view {
        padding: 230px 0px;
    }

    .catch {
        text-align: center;
        width: 80%;
        margin: auto;
        padding-right: 0;
    }

    .first-line {
        font-size: 20px;
    }

    .second-line {
        margin-left: 0;
        font-size: 16px;
    }

    .works-list {
        display: block;
    }

    .work-list-item {
        width: 80%;
        margin: auto;
        padding-bottom: 100px;
    }

    .works-end {
        display: none;
    }

    .work-list-item-illustration {
        width: 60%;
        margin: auto;
    }

    .oc-name {
        font-size: 16px;
    }


    .about-flex {
        display: block;
    }

    .name-flex {
        display: block;
        text-align: center;
    }

    .about-img {
        width: 70%;
        padding-bottom: 30px;
    }

    .skill-time {
        font-size: 12px;
    }


    .mail {
        width: 80%;
        margin: auto;
    }

    .mail a {
        font-size: 14px;
    }


    .footer-nav-content {
        width: 80%;
        margin: auto;
        padding-bottom: 50px;
    }


    .works,
    .about,
    .contact {
        border-radius: 0% 0% 0% 0%;
    }

    .second-line {
        font-size: 16px;
        line-height: 1.4;
    }

    .skill-time-sp {
        text-align: right;
        padding-top: 5px;
        color: rgb(150, 150, 150);
    }

    .mail-content {
        gap: 5px;
    }

}