@charset "UTF-8";

@font-face {
    font-family: MPULS;
    src: url(../font/M_PLUS_Rounded_1c/MPLUSRounded1c-Bold.ttf) format(truetype);
}

body {
    font-family: "MPULS";
}

* {
    margin: 0px;
    list-style: none;
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
}

main {
    /* max-width: 1280px; */
    margin: auto
}

header {
    border-bottom: 2px solid #fff;
    width: 100%;
    position: sticky;
    top: 0;
    box-shadow: 0px 0px 10px #55182b;
    z-index: 200;
}

.header {
    background-color: #ff6e9cdc;
}

.img_1 {
    width: 10%;
    height: 10%;
}

.header_ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    padding: 20px 0;
}

.nav {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    transition: .3s ease;
}

.nav:hover {
    letter-spacing: 0.18em;
}

body {
    background-color: #ffc9da;
}

.top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0px;
    background-color: #ff9bbb;
    position: relative;
}

.top-mv {
    margin: 10px;
    width: 500px;
    animation: fade-in 1s ease;
    min-width: 500px;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.top_h2 {
    font-size: 60px;
    color: #fff1f5;
    letter-spacing: 0.3em;
    width: fit-content;
    animation: wipe 1s steps(10);
    overflow: hidden;
}

.top p {
    color: #fff1f5;
    text-align: center;
}

.top-p {
    font-size: 18px;
    margin: 16px 0;
}

@keyframes wipe {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.top_name {
    font-size: 28px;
}

.cat1,
.cat2 {
    position: absolute;
    top: -100%;
    width: 15%;
}

.cat1 {
    left: 64px;
    animation: fall 2.5s .5s ease-in-out backwards;
}

.cat2 {
    right: 64px;
    animation: fall 2.5s 1.5s ease-in-out backwards;
}

@keyframes fall {
    0% {
        top: -30%;
    }

    40% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.inner {
    max-width: 1280px;
    margin: auto;
}

.works {
    background-color: #ffb3cb;
    padding-bottom: 30px;
}

.works_section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 64px;
}

.works_div {
    font-size: 30px;
    background-color: #ffd3e1;
    width: 480px;
    height: 500px;
    border: 5px double #ff7ca6;
    border-radius: 20px;
    z-index: 100;
    transition: .3s ease;
    position: relative;
}

.works_div:hover {
    transform: translateY(-10px);
}

.date {
    position: absolute;
    right: 24px;
    top: 24px;
    width: fit-content;
    font-size: 20px;
    color: #fb4b83;
}

.works_img {
    width: 100%;
    height: 250px;
    right: 0;
    left: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.works_img img {
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ru-ta,
.site1,
.site2 {
    z-index: 10;
}

.ru-ta img {
    width: 70%;
}

.tag {
    display: flex;
    justify-content: left;
}

.tag_p {
    font-size: 20px;
    border: 1px solid #fb4b83;
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
    color: #fb4b83;
    font-weight: 100;
    margin: 10px 5px 20px 10px;
    background-color: #ffd3e1;
    z-index: 50;
}

.works_p_div {
    position: absolute;
    bottom: 20px;
    z-index: 80;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.works_h4 {
    color: #55182b;
    margin: 20px auto;
    border-bottom: 3px solid #ff9cbb;
    width: fit-content;
    text-align: center;
}

.works_p {
    font-size: 18px;
    color: #55182b;
    font-weight: 100;
    text-align: center;
    padding: 20px;
    padding-top: 10px;
}

.link {
    border: 4px dotted #fb4b83;
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
    font-size: 18px;
    margin: auto;
    transition: .3s ease;
    color: #55182b;
}

.link:hover {
    box-shadow: 2px 5px 10px #ff9cbb;
}

.skill {
    padding-bottom: 30px;
    background-color: #ff9bbb;
}

.skill_ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.skill_li {
    color: #fff1f5;
    width: 500px;
    height: fit-content;
    margin: 0 20px;
}

.skill_h4 {
    font-size: 30px;
    border-bottom: 3px dotted;
}

.skill_p {
    font-size: 18px;
    margin-top: 10px;
}

.skill_quali {
    margin-top: 1em;
}

.illust .title {
    margin: 0;
}

.illust {
    background-color: #ffc2d5;
    position: relative;
}

.illust-p {
    font-size: 18px;
    text-align: center;
    margin: 0;
    margin-top: 16px;
    padding: 0;
    color: #55182b;
    position: relative;
}

.illust-img {
    text-align: center;
}

.illust-img img {
    width: 73%;
    animation: sway 4s ease infinite;
}

@keyframes sway {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }

}

.illust-mini1 img,
.illust-mini2 img,
.illust-mini3 img,
.illust-mini4 img {
    width: 16%;
    position: absolute;
}

.illust-mini1 img {
    top: 170px;
    left: 90px;
    animation: float1 2s ease infinite;
}

.illust-mini2 img {
    top: 170px;
    right: 90px;
    animation: float2 2s ease infinite;
}

.illust-mini3 img {
    top: 400px;
    left: 40px;
    animation: float2 2s ease infinite;
}

.illust-mini4 img {
    top: 400px;
    right: 40px;
    animation: float1 2s ease infinite;
}

@keyframes float1 {
    0% {
        transform: translateY(-10px);
        scale: 1.02;
    }

    50% {
        transform: translateY(4px);
        scale: 1;
    }

    100% {
        transform: translateY(-10px);
        scale: 1.02;
    }
}

@keyframes float2 {
    0% {
        transform: translateY(4px);
        scale: 1;
    }

    50% {
        transform: translateY(-10px);
        scale: 1.02;
    }

    100% {
        transform: translateY(4px);
        scale: 1;
    }
}

.gallery-button {
    border: 2px solid #55182b;
    border-radius: 20px;
    width: fit-content;
    background-color: #ffc2d5;
    margin: auto;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    transition: .2s ease;
}

.gallery-button-p {
    font-size: 32px;
    color: #55182b;
    text-align: center;
    margin: 4px 16px;
}

.gallery-button:hover {
    box-shadow: 2px 2px 5px#55182b;
    transform: translateY(-4px);
}

.about {
    padding-bottom: 80px;
    background-color: #ff9bbb;
}

.about img {
    width: 28%;
    height: 28%;
    flex-shrink: 0;
}

.title {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;
    font-size: 48px;
    color: #55182b;
}

.introduction {
    background-color: #ffc2d5;
    border-radius: 50px;
    width: fit-content;
    padding: 50px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 20px 150px;
}

.about_div {
    color: #fff;
    background-color: #ff9bbb;
    border-radius: 10px;
    padding: 40px;
    width: 40%;
}

.introduction h4 {
    font-size: 35px;
    font-weight: 100;
    margin-bottom: 30px;
}

.introduction span {
    font-size: 20px;
    margin-left: 20px;
}

.introduction p {
    font-size: 18px;
    line-height: 1.5;
}

.contact {
    background-color: #ffc2d5;
    padding-bottom: 32px;
    position: relative;
}

.contact-div {
    background-color: #ff94b4;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: auto;
    padding: 20px 130px;
    border-radius: 20px;
    z-index: 20;
}

.contact-p {
    color: #55182b;
    font-size: 20px;
}

input[type=text] {
    border-radius: 20px;
    border: 2px solid #55182b;
    background-color: #ffe1ea;
    width: 500px;
    height: 40px;
    margin-bottom: 20px;
    font-size: 20px;
}

textarea {
    width: 500px;
    height: 200px;
    border-radius: 20px;
    border: 2px solid #55182b;
    background-color: #ffe1ea;
    font-size: 20px;
}

input[type=submit] {
    width: 120px;
    background-color: #ffe1ea;
    color: #55182b;
    font-family: "MPULS";
    border: 2px solid #55182b;
    border-radius: 20px;
    font-size: 20px;
    cursor: pointer;
}

.cat3,
.cat4 {
    width: 15%;
    z-index: 10;
    position: absolute;
    bottom: 20px;
}

.cat3:hover,
.cat4:hover {
    animation: pop .4s ease;
}

@keyframes pop {
    0% {
        transform: translateY(0px);
    }

    25% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-5px);
    }

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

.cat3 {
    left: 100px;
}

.cat4 {
    right: 100px;
}

.footer {
    background-color: #ff6e9c;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 3px solid #fff;
}

.footer img {
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer_h5 {
    color: #ffe1ea;
    font-size: 44px;
    padding: 10px;
}

small {
    color: #ffe1ea;
}

/* ru-ta 全体設定*/
.mv {
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv img,
.mv-site-area img {
    width: 100%;
}

.mv-site-area {
    width: 600px;
    height: 300px;
    overflow: hidden;
    margin-bottom: 10pz;
}

.mv-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.works-back {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.works-back-ground {
    background-color: #ff9bbb;
}

.works-back-site {
    color: #55182b;
    transition: .2s ease;
    font-size: 32px;
    text-align: center;
}

.works-back-flex {
    width: 40%;
    color: #55182b;
}

.works-back-name {
    font-size: 32px;
    margin: 30px 0;
}

.works-back-li {
    margin-bottom: 20px;
}

.works-heading {
    font-size: 24px;
    margin-bottom: 10px;
    border-bottom: 2px solid#55182b;
}

.works-back-p {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3em;
}

.works-back-a {
    font-size: 18px;
    color: #55182b;
    width: fit-content;
    transition: .2s ease;
}

.works-back-a:hover {
    color: #ffd3e1;
}

.works-back-site:hover {
    color: #ffd3e1;
}

.works-back-a-p {
    text-align: right;
    padding-bottom: 20px;
}

/* gallery */

.gallery {
    background-color: #ffb3cb;
    padding: 20px;
}

.gallery .title {
    margin-bottom: 16px;
    padding: 16px;
}

.gallert-back a {
    color: #55182b;
    font-size: 18px;
}

.gallert-back a:hover {
    color: #ffd3e1;
}

.gallery-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
}

.gallery-div {
    font-size: 30px;
    background-color: #ffd3e1;
    width: fit-content;
    height: 450px;
    border: 5px double #ff7ca6;
    border-radius: 20px;
    z-index: 100;
    transition: .3s ease;
    position: relative;
}

.gallery-div:hover {
    transform: translateY(-10px);
}

.gallery-p {
    text-align: center;
    color: #55182b;
    font-size: 18px;
    margin-bottom: 24px;
}

.gallery-img-area {
    width: 320px;
    height: 260px;
    margin: auto;
    overflow: hidden;
    position: relative;
    margin: 16px;
    margin-top: 50px;
}

.gallery-img-area img {
    width: 100%;
}

.gallery-img-area .gallery-port-ill {
    position: absolute;
    width: 150%;
    left: -100px;
}

.gallery-img-area .gallery-port-ill2 {
    position: absolute;
    width: 140%;
    left: -40px;
}

.gallery-img-area .gallery-port-ill3 {
    position: absolute;
    width: 120%;
    left: -40px;
}

.gallery-intro {
    color: #55182b;
    font-size: 24px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.gallery-small {
    color: #55182b;
    font-size: 18px;
    margin-left: 20px;
    line-height: 1.3;
}

@media screen and (max-width: 768px) {
    .menu_btn {
        position: fixed;
        top: 20px;
        right: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
    }

    .menu_btn span,
    .menu_btn span:before,
    .menu_btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
    }

    .menu_btn span:before {
        bottom: 8px;
    }

    .menu_btn span:after {
        top: 8px;
    }

    #menu_btn_check:checked~.menu_btn span {
        background-color: #ffffff00;
    }

    #menu_btn_check:checked~.menu_btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu_btn_check:checked~.menu_btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        background-color: #fb4b83;
    }

    nav ul {
        padding: 70px 10px 0;
        display: block;
    }

    nav ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }

    nav ul li a {
        display: block;
        width: 100%;
        font-size: 18px;
        box-sizing: border-box;
        color: #ffffff;
        text-decoration: none;
        padding: 9px 15px;
        position: relative;
    }

    .header_ul {
        padding-top: 80px;
        display: block;
        list-style: none;
    }

    nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        transform: transition(1);
        transition: all 0.5s;
    }

    #menu_btn_check:checked~nav {
        left: 50%;
    }

    h1 {
        text-align: center;
    }

    h1 img {
        width: 20%;
    }

    .img_1 {
        width: 20%;
        height: 20%;
    }

    .top-mv {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .top_h2 {
        font-size: 50px;
    }

    .cat1,
    .cat2 {
        position: absolute;
        top: -100%;
    }

    .cat1 {
        left: 64px;
        width: 30%;
        animation: fall 2.5s .5s ease-in-out backwards;
    }

    .cat2 {
        right: 64px;
        width: 30%;
        animation: fall 2.5s 1.5s ease-in-out backwards;
    }

    @keyframes fall {
        0% {
            top: -30%;
        }

        60% {
            opacity: 1;
        }

        100% {
            top: 100%;
            opacity: 0;
        }
    }

    .works_section {
        margin: 0;
    }

    .works_div {
        margin: 0;
    }

    .works a {
        width: fit-content;
    }

    .date {
        font-size: 14px;
    }

    .illust-img {
        width: 100%;
        height: 380px;
        overflow: hidden;
        position: relative;
    }

    .illust-img img {
        width: 160%;
        position: absolute;
        top: -70px;
        left: -200px;
    }

    .gallery-button {
        bottom: 10px;
    }

    .gallery-button-p {
        font-size: 24px;
    }

    .illust-mini1 img,
    .illust-mini2 img,
    .illust-mini3 img,
    .illust-mini4 img {
        display: none;
    }

    .introduction {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 20px 50px;
    }

    .about img {
        width: 70%;
        height: 70%;
    }

    .about_div {
        border-radius: 10px;
        padding: 30px;
        margin-top: 10px;
        width: 70%;
        display: flex;
        flex-direction: column;
    }

    .introduction h4 {
        font-size: 33px;
        font-weight: 100;
        margin-bottom: 30px;
    }

    .introduction span {
        font-size: 17px;
        margin-left: 20px;
    }

    .introduction p {
        margin-top: -10px;
        font-size: 16px;
        line-height: 1.5;
    }

    .contact-div {
        width: 90%;
        padding: 0;
        border-radius: 20px;
    }

    input[type=text] {
        width: 260px;
        height: 40px;
        margin: auto;
    }

    textarea {
        width: 260px;
        height: 200px;
        margin: auto;
    }

    input[type=submit] {
        width: 120px;
        color: #55182b;
    }

    .cat3 {
        left: 50px;
    }

    .cat4 {
        right: 50px;
    }

    .works-back-site {
        text-align: right;
    }

    .works-back-flex {
        width: 80%;
        color: #55182b;
    }

    .works-back-a-p {
        padding-right: 30px;
    }

    .site1-mv {
        width: 600px;
        height: 400px;
    }

    .mv-flex {
        margin-top: 90px;
    }

    .mv-site-area {
        width: 100%;
        height: 250px;
        overflow: hidden;
        margin-bottom: 10px;
    }
}

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

    .top{
        overflow: hidden;
    }

    .works_div {
        width: 350px;
    }

    .top-mv{
        width: 100%;
    }

    .mv-area{
        width: 100%;
    }

}