@charset "UTF-8";

/* ====TOPページ=== */

#top-header {
    margin-top: 0;
    margin-bottom: 300px;
}

.top-text {
    width: 100%;
    padding-top: 3rem;
    text-align: center;
    font-family: "Zen Kurenaido", sans-serif;
    color: #F9F5E8;
    opacity: 0;
    padding: 2rem 0 3rem 0;
	animation:fadeIn4500ms .8s ease-in 4500ms 1 forwards;
}


@keyframes fadeIn4500ms {
    0% {
    }
    100% {
        opacity: 1;
    }
}

#lottie {
    width: 100%;
    padding: 50px 20px 0 20px;
}

.sec__title {
    width: auto;
    height: 150px;
    background-position: center;
    position: relative;
    /* margin-bottom: 50px; */
}


.sec__h2 {
    /* width: 80px; */
    height: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-70%);
}

/* = タブレット版 = */

@media screen and (min-width: 600px) {

    .sec__title {
        background-position: left;
        margin-left: 20px;

    }

    .sec__h2 {
        left: 10%;
    }

}

/* = デスクトップ版 = */

@media screen and (min-width: 1025px) {

    .wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }

    #lottie {
        width: 60%;
        padding-top: 130px;
    }

    .spimage {
        display: none !important;
    }

    #top-header {
        background-image: url(../images/hero1.jpg);
        background-size: 50%;
        background-position: top right;
        background-repeat: no-repeat;
        height: 900px;
        margin-bottom: 100px;
    }

    .top-text {
        width: 60%;
        font-size: 1.2rem;
    }

    .sec__title {
        width: 500px;
        height: 300px;
        background-position: left;

    }

    .sec__h2 {
        position: absolute;
        bottom: -15%;
        left: 30%;
        transform: translateX(-50%) translateY(-120%);
    }

    .pc-grid {
        display: grid;
        grid-template-columns: 20% 15% 50%;
        justify-content: right;
        align-items: end;
    }

    .pc-grid2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

/* works */

#works {
    padding-bottom: 100px;
}

.works__title {
    background-image: url(../images/SVG/updock-works.svg);
}

.works__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-self: center;
    align-self: center;
    padding: 10px;
}

.works__items {
    text-align: center;
    position: relative;
    padding: 25px;
}

.works__items img {
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
}

.works__items--last {
    display: none;
}

.works__items:nth-child(1),
.works__items:nth-child(4),
.works__items:nth-child(5),
.works__items:nth-child(8) {
    background-color: #F9F5E8;
}

.works__items:nth-child(2),
.works__items:nth-child(3),
.works__items:nth-child(6),
.works__items:nth-child(7) {
    background-color: #B3A57E;
}

#works p {
    text-align: center;
    margin-top: 1rem;
}

.work-plan-text{
    color: #F9F5E8;
    font-size: 1.2rem;
    text-align: right;
    padding-bottom: 2rem;

}


/* = タブレット版 = */

@media screen and (min-width: 600px) {

    #works p {
        text-align: right;
        padding-right: 2rem;

    }

    .work-plan-text{
        margin-bottom: 150px;
    
    }
    

    /* = デスクトップ版 = */

    @media screen and (min-width: 1025px) {

        #works {
            padding-bottom: 10px;
        }

        .works__items--last {
            display: block;
        }

        .works__box {
            grid-template-columns: repeat(auto-fit, minmax(298px, 1fr));
            aspect-ratio: 1;
        }

        .works__items {
            display: grid;
            place-content: center;
            place-items: center;
        }

        .works__items:nth-child(odd) {
            background-color: #F9F5E8;
        }

        .works__items:nth-child(even) {
            background-color: #B3A57E;
        }

    }

}

/* profile */

.profile__title {
    background-image: url(../images/SVG/updock-prf.svg);
}

.profile__portlate {
    text-align: center;
    width: 150px;
    height: auto;
    margin: auto;
}

.profile__h2 {
    height: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-70%);
}

.profile__text {
    text-align: center;
}

.profile__text dt {
    font-size: 1.5rem;
    padding-top: 10px;
    padding-bottom: 10px;
}


.profile__text dd:last-child {
    padding-top: 1rem;
}

/* = タブレット版 = */

@media screen and (min-width: 600px) {
    .profile__h2 {
        left: 10%;
        margin-left: 20px;
    }

    .profile__portlate {
        text-align: center;
        width: 300px;
        height: auto;
        margin: auto;
    }
}


/* = デスクトップ版 = */

@media screen and (min-width: 1025px) {

    .profile__h2 {
        position: absolute;
        bottom: 20%;
        left: 30%;
        transform: translateX(-50%) translateY(-20%);
    }

    .profile__title {
        order: 3;
        margin-bottom: 100px;
    }

    .profile__portlate {
        order: 1;
        width: 100%;
        height: auto;
        margin-top: 100px;

    }

    .profile__text {
        order: 2;
        text-align: right;
        margin-bottom: 80px;
        margin-left: 5px;
    }

}

/* contact */

#contact {
    margin: 50px 0 50px 0;
}

.contact__title {
    background-image: url(../images/SVG/updock-contact.svg);
}

.contact__form {
    width: 80%;
    height: auto;
    margin: auto;

}

.contact__form dt {
    padding: 10px 0;
}


input,
textarea {
    background-color: #F9F5E8;
    padding: 10px;
    width: 100%;
}

textarea {
    height: 10rem;
}


button {
    display: block;
    padding: 10px;
    margin-top: 10px;
    background-color: #1E0A0A;
    color: #F9F5E8;
}

/* = タブレット版 = */

@media screen and (min-width: 600px) {

    .contact__form {
        margin-bottom: 60px;
        width: 400px;
    }

}


/* = デスクトップ版 = */

@media screen and (min-width: 1025px) {

    .contact__title {
        margin-bottom: 300px;
    }

    .contact__form {
        margin-bottom: 60px;

    }
}