@charset "utf-8";

/* 共通部分 */
html {
    font-size: 100%;
}

body {
    animation: bgchange 20s ease infinite;
    /*変化の時間を変更したい場合は20sの部分を好きな時間に変更*/
    color: #6EC8B9;
    line-height: 1.7;
    background-attachment: fixed;
    background-size: cover;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #6EC8B9;
}

.bg {
    background-color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    position: fixed;
    /* 以下ヘッダー固定 */
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    z-index: 1;
    align-items: center;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    /* 余白　ボックスを中央に配置 */
}

.main-title h1 {
    font-size: 30px;
}

.main-title h2 {
    font-size: 20px;
}

.main-nav {
    display: flex;
    list-style: none;
    font-size: 20px;
}

.main-nav li {
    margin: 10px 36px;
}

.main-nav a {
    color: #6EC8B9;
}

.main-nav a:hover {
    color: #468076;
}

@keyframes bgchange {

    0% {
        background: #ccfff7;
    }

    25% {
        background: #cfccff;
    }

    50% {
        background: #ffccf2;
    }

    75% {
        background: #ffe3cc;
    }

    90% {
        background: #deffcc;
    }

    100% {
        background: #ccfff7;
    }
}

/* works*/

.title {
    font-size: 50px;
    text-align: center;
    margin-bottom: 30px;
}

#works {
    margin-top: 130px;
    padding-top: 90px;
}

.works {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    list-style: none;
}

.works-name {
    color: #468076;
    margin-top: 20px;
    margin-bottom: 50px;
    text-align: center;
}

#works img {
    box-shadow: 0 0px 10px 0 rgba(0, 0, 0, .5);
    display: block;
    transition-duration: 0.2s;
    margin: 0 auto;
}

#works img:hover {
    transform: scale(1.05);
}

/* about*/
#about {
    padding: 90px 0;
}

.profile {
    color: #446a64;
    justify-content: center;
}

.skils {
    text-align: center;
    margin-top: 20px;
}

.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1;
    width: 80px;
}

/* work-detail */

.work-detail {
    margin-top: 130px;
    color: #446a64;
    padding: 20px 10px;
}

.mockup,
.work-name {
    text-align: center;
}

.work-image img {
    margin-bottom: 20px;
    box-shadow: 0 0px 10px 0 rgba(0, 0, 0, .5);
}

.spimage {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 40px;
}

.spimage img {
    min-width: 30%;
    height: auto;
}

.work-time,
.work-text,
.work-time p {
    margin-bottom: 20px;
}

.work-text {
    margin-top: 20px;
}

.link {
    margin-bottom: 40px;
}

.link a {
    font-size: 25px;
    text-decoration: underline;
}

.link :hover {
    color: #512a2a;
}

.work-time p,
.link {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

table {
    display: flex;
    justify-content: center;
}

table td {
    text-align-last: justify;
}


footer {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.7);
}

footer p {
    text-align: center;
    font-size: 1.2rem;
}




/* mobile */
@media(max-width:600px) {

    /* 共通 */
    .page-header {
        display: block;
        padding: 0 2%;
        /*   height: 110px; */
    }

    .main-title h1 {
        font-size: 20px;
    }

    .main-title h2 {
        font-size: 15px;
    }

    .main-nav {
        justify-content: space-between;
        font-size: 15px;
    }

    .pagetop {
        width: 50px;
    }

    /* works */
    .works-name {
        font-size: 15px;
        margin-top: 10px;
        margin-bottom: 50px;
    }

    .title {
        font-size: 30px;
    }

    .works {
        padding: 2%;
        display: block;
    }

    /* about */
    .profile {
        padding: 0 25px 10px;
    }

    /* work-detail */
    .spimage {
        margin-bottom: 10px;
    }

    .work-text {
        padding: 0 10px;
    }


}