@charset "utf-8";

/* ここから全体 */

* {
    margin: 0;
    padding: 0;
}

p {
    font-size: 18px;
}

img {
    max-width: 100%;
}

.flex {
    display: flex;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

body {
    background-color: #fbfbfb;
    padding-inline: 100px;
}

.kotei img {
    width: 20%;
}

.aida {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* ここまで全体 */

/* ここからボディ */

/* ここからtop */

.top_box {
    justify-content: space-around;
}

.top_box1 {
    padding-top: 150px;
}

#ana {
    padding-top: 200px;
}

.top_box2 {
    justify-content: space-between;
    flex-direction: column;
    padding-top: 100px;

}

/* hover effect */
.effect {
    position: relative;
    /* width: 230px; */
    /* height: 230px; */
    /* overflow: hidden; */
}

.effect img {
    position: static;
    /* width: 100%; */
    /* height: 100%; */
    object-fit: cover;
    transition-duration: 0.5s;
}

.effect img:hover {
    transform: scale(1.25, 1.25);
}

/* タイトルアニメーション */

.fadeInUp {
    opacity: 0;
    transform: translateY(300px);
    animation-name: fadeIn;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

/* フェードインアニメーション */
@keyframes fadeIn {
    0% {}

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

/* タイトルアニメーション */



/* ここまでtop */

/* ここからワークス */

.nav-box {
    justify-content: end;
    align-items: center;
}

.nav-box li {
    padding: 20px 20px;
    font-size: 20px;
}

.nav-box-s {
    background: url(../images/nav-aikon_03.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 140px;
    height: 30px;
    display: block;
    cursor: pointer;
    padding-top: 10px;
    text-align: center;
    color: #fff;
}

.nav-box-s:hover {
    background-position: left bottom;
}

.nav-box-s1 {
    background: url(../images/nav-aikon_07.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 140px;
    height: 20px;
    display: block;
    cursor: pointer;
    padding-top: 10px;
    text-align: center;
    color: #fff;
}

.nav-box-s1:hover {
    background-position: left bottom;
}

.nav-box-s2 {
    background: url(../images/nav-aikon_003.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 140px;
    height: 30px;
    display: block;
    cursor: pointer;
    padding-top: 20px;
    text-align: center;
    color: #fff;
}

.nav-box-s2:hover {
    background-position: left bottom;
}

#works {
    text-align: center;
    padding-top: 10px;
}

#works img {
    width: 50%;
}

.sakuhin_dtp img {
    width: 70%;
}

.sakuhin_dtp {
    text-align: center;
    /* padding-top: 50px; */
    /* border-bottom: 3px solid black; */
    padding-bottom: 20px;
}

.sakuhin_web img {
    width: 70%;
}

.sakuhin_web {
    text-align: center;
    /* padding-top: 50px; */
    padding-bottom: 40px;
}

#dtp {
    padding-top: 0px;
}

#web {
    padding-top: 40px;
}

#more_dtp {
    text-align: end;
}

#more_dtp img {
    width: 10%;
}

/* ワークスアニメーション */

#dtp {
    animation: shake-up 3s infinite ease-in-out;
}

@keyframes shake-up {

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

    50% {
        transform: translateY(15px);
    }
}


/* ワークスアニメーション */

/* ここまでワークス */

/* ここからアバウト */

.about_title {
    justify-content: space-around;
    align-items: center;
    padding-top: 70px;
}

.grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}

.about_box {
    padding-inline: 50px;
    padding-top: 40px;
}

.about_box_my {
    width: 55%;
}

.about_box1 {
    order: 1;
    /* padding-left: 30px; */
}

.about_box2 {
    order: 3;
    /* padding-left: 30px; */
}

.about_box3 {
    order: 2;
    padding-left: 30px;
}

.about_box4 {
    order: 4;
    padding-left: 30px;
}

.sankou img{
    width: 25%;
}

/* アバウトアニメーション */

#about {
    transform-origin: center bottom;
    animation: yurayura 3s linear infinite;
    transform-origin: top;
}

@keyframes yurayura {

    0%,
    100% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-10deg);
    }
}

/* アバウトアニメーション */

/* ここまでアバウト */

/* ここからコンタクト */

.contact_box {
    justify-content: space-around;
    align-items: center;
    padding-top: 50px;
}

.contact_mail {
    text-align: center;
    padding: 50px 0;
}

#contact {
    padding-top: 50px;
}

/* ここまでコンタクト */

/* ここからdtp */

.box_setumei_1,
.box_setumei_2,
.box_setumei_3 {
    padding-top: 30px;
}

.box_setumei_1 h2 {
    border-bottom: 2px solid black;
}

.box_setumei_3{
    padding-bottom: 30px;
}

.daina_box img {
    width: 70%;
}

.daina_box {
    text-align: center;
}

.daina_box_setumei {
    padding-inline: 150px;
}

.inumaturi_box img {
    padding-top: 30px;
    width: 50%;
}

.inumaturi_box {
    text-align: center;
}

.inumaturi_box_setumei {
    padding-inline: 100px;

}

.nekotippu_box img {
    padding-right: 50px;
    width: 70%;
}

.nekotippu_box_setumei {
    padding-inline: 150px;
}

.nekotippu_box{
    text-align: center;
}

.osidori_box img {
    padding-right: 50px;
    /* width: 80%; */
}

.osidori_box_setumei {
    padding-inline: 150px;
}

.nav-box-modoru {
    margin-bottom: 30px;
    padding-bottom: 10px;
    background-image: url(../images/modoru_03.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 140px;
    height: 30px;
    display: block;
    cursor: pointer;
    padding-top: 10px;
    text-align: center;
    color: #fff;
}

.nav-box-modoru:hover {
    background-position: left bottom;
}

/* ここからdtp */

/* ここからabout */

.about_box_my{
    padding-right: 30px;
    /* margin-right: 30px; */
}

.about_box_my li{
    font-size: 14px;
}

.bord{
    font-weight: bolder;
    border-bottom: 3px solid black;
    border-top: 3px solid black;
}

.aki{
    padding-top: 10px;
}

.about_box1,
.about_box2,
.about_box3,
.about_box4{
    padding: 10px;
}

/* ここまでabout */

/* ここからスマホ用 */

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

    /* ここから全体 */

    body{
        padding-inline: 0;
    }

    p{
        text-wrap: balance;
        word-break: auto-phrase;
    }

    /* ここまで全体 */

    /* ここからダイナー */

    .daina_box img{
        width: 100%;
    }

    .daina_box_setumei{
        padding-inline: 0;
    }

    .box_setumei_1 h2{
        font-size: larger;
    }

    .nav-box-s{
        background: url(../images/nav-aikon_03.png);
        background-size: 100%;
        background-repeat: no-repeat;
        width: 100px;
        max-width: 100%;
        height: 20px;
        display: block;
        cursor: pointer;
        padding-top: 10px;
        text-align: center;
        color: #fff;
    }

    .nav-box-s1 {
        background: url(../images/nav-aikon_07.png);
        background-size: 100%;
        background-repeat: no-repeat;
        width: 100px;
        max-width: 100%;
        height: 15px;
        display: block;
        cursor: pointer;
        padding-top: 10px;
        text-align: center;
        color: #fff;
    }
    
    .nav-box-s2 {
        background: url(../images/nav-aikon_003.png);
        background-size: 100%;
        background-repeat: no-repeat;
        width: 100px;
        height: 15px;
        display: block;
        cursor: pointer;
        padding-top: 20px;
        text-align: center;
        color: #fff;
    }

    .nav-box-modoru {
        margin-bottom: 30px;
        padding-bottom: 10px;
        background-image: url(../images/modoru_03.png);
        background-size: 100%;
        background-repeat: no-repeat;
        width: 100px;
        height: 15px;
        display: block;
        cursor: pointer;
        padding-top: 10px;
        text-align: center;
        color: #fff;
    }

    /* ここまでダイナー */

    /* ここからいぬまつり */

    .inumaturi_box_setumei{
        padding-inline: 0;
    }

    .setumei_2 h2{
        font-size: large;
    }

    /* ここまでいぬまつり */

    /* ここから猫チップ */

    .nekotippu_box_setumei{
        padding-inline: 0;
    }

    .setumei_1 h2{
        font-size: large;
    }

    .nekotippu_box img{
        padding: 0 0;
        width: 100%;
        max-width: 100%;
    }

    /* ここまで猫チップ */

    /* ここからおしどり */

    .osidori_box_setumei{
        padding-inline: 0;
    }

    

    /* ここまでおしどり */

    /* ここからabout */

    .about_box{
        display: block;
        padding-inline: 0;
    }

    .about_box_my{
        display: flex;
        width: 100%;
        align-items: center;
    }

    .about_box_my_img{
        width: 40%;
        margin: 0 auto;
    }

    .about_box_my_ul{
        margin: 0 auto;
    }

    .about_box_grid{
        display: block;
    }

    /* ここまでabout */

    /* ここからコンタクト */

    #contact{
        padding-top: 0;
    }

    /* ここまでコンタクト */

}

/* ここまでスマホ用 */

/* ここまでボディ */