@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Rufina:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    width: 100%;
    margin: auto;
    line-height: 1.5;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

img {
    max-width: 100%;
}

h1 {
    padding-right: 20px;
}

h1,
h2 {
    text-align: center;
    font-family: 'Itim', cursive;
    font-size: 50px;
}

h2 {
    font-size: 80px;
    margin: 0;
}

/* へったー */

header {
    background: rgba(155, 218, 221, 1);
    position: sticky;
    top: 0;
    z-index: 80;
}


.header-miku {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-img {
    width: 180px;
    height: auto;
}


.nav {
    display: flex;
    gap: 20px;
    list-style: none;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    font-family: 'Caveat', cursive;
    font-size: 30px;
    padding-right: 30px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

/* ナビ */

.nav a:hover {
    color: #fbfcaf;
    transition: all 0.3s ease;
}

/* アバウト */

.about-section {
    margin-bottom: 150px;
}

.illustration-section {
    margin-bottom: 50px;
    padding-top: 30px;
    padding-bottom: 100px;
    background-color: #b9ecee;
}

.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-container p {
    position: relative;
    z-index: 2;
    color: #000000;
}


p {
    font-family: "Kiwi Maru", Static;
    font-size: 20px;
}

.about-p {
    text-align: center;
}

/* イラスト */

.graphic-div {
    padding-left: 5%;
    padding-right: 5%;
}

.graphic-div ul {
    text-align: center;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 60px;
    gap: 2%;
}

.natu-img {
    width: 80%;
    height: auto;
    display: block;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.natu-img:hover {
    opacity: 0.7;
    transition: 0.8s ease;
}

.graphic-link-p {
    font-size: 24px;
    text-align: center;
    margin: 0 auto;
}

.graphic-link-p:hover {
    color: #456bdd;
    transition: 0.5s;
}

.img-p {
    margin: 0 auto;
    padding: 10px;
}

.img-transform {
    padding: 20px;
    display: block;
    gap: 10px;
    border: 5px solid#20297d;
}

.img-transform img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.img-transform:hover {
    transform: translate(0, -5px);
    transition: 0.7s ease;

}

/* グラヒィっく */

ul {
    grid-template-columns: 1fr 1fr;
    margin-top: 2.4375rem;
}

li {
    grid-column: span 1;
}

.graphic-div img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 戻る */

.portfolio-back {
    background-color: #eff4f6;
    width: 300px;
    height: 60px;
    border: 2px solid#a0ced2;
    border-radius: 30px;
    display: block;
    line-height: 2.5;
    justify-content: center;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 100px;
}

.portfolio-back:hover {
    background-color: #fffec7d0;
    transition: 1s;
}

.portfolio-back-p {
    font-family: 'Itim', cursive;
    font-weight: 500;
    font-size: 20px;
    margin: auto;
    text-align: center;
    display: block;
}

/* フッター */

footer {
    background-color: #9bdadd;
    margin-top: 20px;
    height: 150px;
}

.footer-p {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-p a:hover {
    color: #fbfcaf;
    transition: 0.2s ease;
}

.icon-img-footer {
    width: 60px;
    height: auto;
    padding-left: 10px;
    display: block;
    align-items: center;
    margin: 0 auto;
}

@media screen and (min-width:768px) {
    .header-div {
        display: flex;
        justify-content: space-between;
        padding: 0 10%;
    }

    .header-div {
        font-size: 30px;
        padding: 0;
        margin-top: auto;
        margin-bottom: auto;
    }

    .footer-p {
        display: flex;
        margin: 0 auto;
        margin-left: 10%;
        margin-right: 10%;
    }

}

@media screen and (max-width:768px) {
    .graphic-link-p {
        text-align: center;
        margin: 0 auto;
    }

    .graphic-div img {
        width: 100%;
        margin: 0 auto;
        padding: 0 10%;
        margin-bottom: 10px;
    }

    .graphic-div ul {
        margin-bottom: 100px;
        display: block;
    }
}