@charset "UTF-8";

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
}

.works h2 {
    width: 25%;
    margin: auto;
    margin-top: -40px;
}

.skill h2 {
    width: 20%;
    margin: auto;
}




/* ヘッダー */
header {
    position: absolute;
    width: 100%;
    position: fixed;
    background-color: #a91818c4;
}

.header-nav li,
.footer-nav li {
    list-style-type: none;
}

.header-nav ul {
    display: flex;
    justify-content: space-around;
    padding: 0;
}

.nav-item,
.nav-item-footer {
    color: #f8faed;
    font-family: serif;
}

/* メインヴィジュアル */
.mv img {
    width: 100%;
}

/* works */
.works {
    background-color: #f8faed;
    font-family: serif;
    padding-top: 20px;
    padding-bottom: 50px;
}

.works-item ul {
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

.works-item li {
    list-style-type: none;
    text-align: center;
}

.works-item li p {
    color: #181717;
    margin-bottom: 50px;
}

.works-item img {
    width: 40%;
    display: block;
}

.works_title {
    margin-top: 40px;
}

.works-item h3 {
    text-align: center;
    color: #a91818;
    font-size: 30px;
}

.works-subtitle h3 {
    margin-top: 100px;
}

.works-item li img {
    margin: auto;
    transition: 0.3s;
}

.works-item ul img:hover {
    transform: translateY(-10px);
}

.work-web1 img {
    margin: auto;
    width: 30%;
    transition: 0.3s;
}

.work-web1 img:hover {
    transform: translateY(-10px);
}

.work-web1 p {
    text-align: center;
    color: #181717;
}

.works h3::after {
    content: "✦";
}

.works h3::before {
    content: "✦";
}





/* about */
.about {
    background-color: #a91818;
    padding-bottom: 50px;
    font-family: serif;
}

.about-text {
    background-color: #f8faed;
    border-radius: 20px;
    align-self: flex-start;
    padding: 20px;
    line-height: 2;
    margin-top: 60px;
    width: 40%;
}

.about h2 {
    color: #f8faed;
    font-family: "Snell Roundhand", cursive;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 80px;
    padding-top: 30px;
    font-size: 100px;
}

.about-name {
    font-size: 30px;
}

.aboutme {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.aboutme-right {
    width: 40%;
    /* margin-top: -20px; */

}

.aboutme-right img {
    align-items: center;
}


/* skill */
.skill {
    background-color: #f8faed;
    padding-bottom: 100px;
    font-family: serif;
}

.skill-ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style-type: none;
    gap: 40px;
    padding-left: 0;
    margin-left: 50px;
}

.skill-ul span {
    font-size: 11px;
    padding-left: 6px;
    margin-top: 10px;
}

.skill-ul img {
    width: 80%;
}

.skill-ul h3 {
    margin-bottom: 0;
    margin-left: 10px;
}

.skill-ul li {
    width: 40%;
}


/* contact */
.contact {
    background-color: #a91818;
    font-family: serif;

}

.contact h2 {
    color: #f8faed;
    font-family: "Snell Roundhand", cursive;
    font-size: 100px;
    margin: auto;
    text-align: center;

}

.contact-link {
    position: relative;
    background-image: url(../images/contact-img-bottom-01.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* height: 500px; */
    aspect-ratio: 1200 / 800;
    /* ← 便箋画像の実際の縦横比に変更 */
    width: 80%;
    margin: auto;
}

.contact-link a {
    /* font-size: 16px; */
    font-size: clamp(18px, 1.3vw, 16px);
    color: #181717;
    text-align: center;

}

.contact-text {
    /* padding-top: 80px; */
    position: absolute;

    top: 25%;
    left: 10%;
    width: 80%;
}

.contact-img-icon {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.icon-mail img {
    width: 20%;
}

.icon-insta img {
    width: 30%;
}

/* フッター */
footer {
    background-color: #181717;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-small {
    color: #f8faed;
    text-align: center;
}

.footer-nav {
    text-align: center;

}

.footer-nav ul {
    padding-left: 0;
}


/* ROVE */
.page-rove .nav-item {
    color: #f8faed;
}


.rove-main {
    background-color: #f8faed;
    padding-bottom: 200px;
    font-family: serif;
    padding-top: 70px;
}

.rove-ul {
    list-style-type: none;
}

.rove-ul h3,
p {
    margin: 4px;

}

.rove-ul p {
    margin-left: 30px;

}

.rove-main ul {
    width: 90%;
    margin: auto;
}

.rove-ul h3 {
    color: #a91818;

}

.rove-ul li {
    margin-bottom: 20px;
}

.rove-main h1 {
    color: #a91818;
    font-size: 30px;
    text-align: center;
}

.rove-main h1::before {
    content: "✦";
}

.rove-main h1::after {
    content: "✦";
}

.rove-main h3::before {
    content: "✦";
    margin-right: 10px;
    font-size: 20px;
}


.rove-main h2 {
    font-size: 14px;
    text-align: center;
    margin-bottom: 80px;
    margin-top: 20px;
    line-height: 1.8;
}

.rove-main-img {
    width: 30%;
    margin: auto;
}

/* 学園祭パネル */
.panel-main-img {
    width: 70%;
    margin: auto;
}

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

    .works-item li {
        margin: auto;
        font-size: 10px;
    }

    .work-web1 {
        margin-top: -10px;
    }

    .work-web1 img {
        margin: auto;
    }

    .work-web1 p {
        margin-top: auto;
        font-size: 10px;
    }

    .works h3 {
        font-size: 20px;
    }

    .works {
        padding-top: 10px;
    }

    .works-item ul {
        display: block;

    }



    .about h2 {
        font-size: 60px;
        margin-left: 30px;
    }

    .about-text {
        font-size: 10px;
    }

    .about-name {
        font-size: 20px;
    }

    .rove-main ul {
        margin: 0;
    }


    .contact-link a {
        font-size: 10px;
    }

    .skill-ul {
        display: block;
        margin-left: 0;
    }

    .skill-ul li {

        width: 50%;
        margin: auto;
        margin-bottom: 30px;

    }

    .skill-ul img {
        width: 100%;
    }

    .skill-ul li p {
        font-size: 12px;
    }
}