@charset "UTF-8";

html,
body {
    height: 100%;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

:root {
    --main-color: #f7e4e8;
    --sub1-color: #62bcb8;
    --sub2-color: #cec176;
    --accent-color: #e35a76;
    --main-block: #050000;
    --font-color: #3f1727;
}

/*========= レスポンシブ対応.mb ===============*/
@media(min-width:768px) {
    .openbtn {
        display: none;
    }

    .main-container {
        background-size: 70%;
        background-position: inherit;
    }

    .main__animation-box {
        top: 460px;
        left: 40px;
    }

    .main__title {
        width: 320px;
    }

    .main-nav {
        display: block;
    }

    .main-nav__list {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 25px;
        padding-right: 60px;
    }

    .main-nav__item a {
        position: relative;
        color: #fff;
    }

    .main-nav__item {
        flex-grow: 1;
    }

    .textlink04 a::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background-color: rgba(185, 155, 0, 0.5);
        border-radius: 50%;
        transition: 0.3s;
    }

    .textlink04 a:hover::after {
        width: 40px;
        height: 40px;
    }

    .main-nav__item a::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background: rgba(206, 193, 118, .6);
        border-radius: 50%;
        transition: 0.4s;
    }

    .main-nav__item a:hover::after {
        width: 25px;
        height: 25px;
    }

    .main-visual {
        flex-direction: row-reverse;
        justify-content: space-between;
        padding: 40px 60px 0 60px;
    }

    .main-visual__img {
        width: 600px;
        height: 650px;
    }

    .main-visual__img img {
        height: 650px;
    }

    .portfolio__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 80px;
        justify-content: center;
    }

    .top-title {
        width: 400px;
    }

    .cat__image-01,
    .cat__image-02 {
        max-width: 200px;
        max-width: 250px;
        object-fit: cover;
    }

    .cat__image-01 img,
    .cat__image-02 img {
        max-width: 200px;
        max-width: 250px;
        border-radius: 0 38px 0 37px;
        box-shadow: var(--main-color) 8px 8px 0px 0px;
    }
}

@media (min-width:991px) {
    .main__animation-box {
        top: 410px;
        left: 130px;
    }

    .main__title {
        width: 340px;
    }

    .wrapper {
        display: flex;
        flex-direction: row;
        gap: 80px;
        padding-top: 200px;
    }

    .title {
    width: 260px;
}

    .txt {
        max-width: 420px;
    }

    .illust .txt {
        max-width: 650px;
    }

    .btn {
        margin-top: 45px;
    }

    .main-nav__list {
        gap: 40px;
    }

    .main__title {
        width: 400px;
    }

    .main-visual__img {
        width: 700px;
    }

    .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
    }

    .about__img {
        width: 180px;
    }

    .portfolio__warapper {
        padding-top: 110px;
        padding-bottom: 100px;
    }

    .portfolio__inner {
        padding-bottom: 30px;
    }

    .design .wrapper {
        flex-direction: row-reverse;
    }

    .design__img {
        width: 250px;
    }
}

@media (min-width:1200px) {
    .portfolio__list {
        justify-content: space-between;
        align-items: flex-end;
        width: 1000px;
    }

    .list__item, 
    .list__img img {
        width: 450px;
    }

    .top-title {
        padding-bottom: 100px;
    }

    .me .wrapper {
        flex-direction: row-reverse;
        padding: 110px 9%;
    }

    .me .inner,
    .book .inner,
    .cat .inner {
        align-items: flex-start;
        justify-content: flex-end;
    }

    .book {
        margin-left: auto;
        margin-right: auto;
    }

    .book .warapper {
        display: flex;
        flex-direction: row-reverse;
        max-width: 1300px;
    }

    .cat .wrapper {
        align-items: flex-start;
        flex-direction: row;
        gap: 60px;
        padding-bottom: 70px;
    }

}