@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500&display=swap');

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Shippori Mincho', serif;
    line-height: 1.6;
    color: #080b15;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

a {
    font-size: 16px;
    color: #323642;
    text-decoration: none;
}

.inner {
    margin: 0 auto;
}

h1 {
    font-family: Athelas;
    font-size: 80px;
    color: #333133;
    font-weight: bold;
    line-height: 1.6;



}

h2 {
    font-family: Big Caslon;
    font-size: 48px;
    text-align: center;
    padding-top: 70px;
    margin-bottom: 30px;
    border-bottom: 3px solid #696E7c;
    position: relative;
    padding-left: 10px;

}

h2::before {
    content: "";
    display: block;
    background: #696E7c;
    width: calc(100% - 15px);
    height: 1px;
    position: absolute;
    bottom: -7px;
    left: 0;
}

h2::after {
    content: "";
    display: block;
    background: #696E7c;
    width: calc(100% - 20px);
    height: 1px;
    position: absolute;
    bottom: -12px;
    left: 0;
}


h3 {
    font-size: 24px;
    font-weight: bold;
    padding: 25px 30px;
    border-left: 5px solid #a2b2e2;
    height: 10px;
    margin-bottom: 15px;
}

p {
    font-size: 16px;
}

header {
    background-image: url(../imges/pf_main.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 720px;
}

.mainpicture,
.mainpicture2 {
    text-align: center;
}


.gnav ul {
    display: flex;
    justify-content: flex-end;
    margin-right: 10%;
}

.gnav li {
    padding: 15px;
}

.gnav a:hover,
.btn1 a:hover {
    color: #AFD0DF;

}

/* アバウト */
.about {
    background-color: #ECF0FC;
}

.about p {
    line-height: 1.8;
}

/* プロフィール画像 */
.profile_picture {
    max-width: 250px;
}

.profile {
    padding-top: 15px;
}

.marker {
    background: linear-gradient(transparent 70%, #adbcf0 70%);

}

.fream1 {
    display: flex;
    justify-content: center;
    padding: 60px 30px;
}

.fream2 {
    width: 30%;
    text-align: center;

}

.fream3 {
    width: 70%;
    margin: 0 30px 60px;
}

/* スキル */
.skills {
    background-image: url(../imges/bgimage.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    padding-bottom: 100px;
}

.fream4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* スキル説明 */
.item1 {
    width: 40%;
    background-color: #fff;
    opacity: 0.8;
    margin: 20px;
    padding: 0 30px;
}

.skills p {
    padding: 0 10px 15px;
}

/* ワークス */
.works {
    background-color: #ECF0FC;
}

.fream5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 60px;

}

/* ワークス画像 */

.item_wrap,
.item_wrap2 {
    width: 28%;
    padding: 0 15px;
}

.item_wrap {
    margin-top: 100px;
}



/* ワークス説明文 */

.item3 {
    margin: 50px 0;
    height: 180px;
    background-color: #F7F9FF;
    padding: 25px 20px;
}

.item4 {
    height: 200px;
    padding: 25px 20px;
    background-color: #F7F9FF;
}

.item2_img {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    object-fit: contain;
    height: 300px;
}
h4{
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    border-top:3px solid #8fa1d6;
    border-bottom:3px solid #8fa1d6;
}



/* 詳細はこちらボタン */
.btn1 {
    font-size: 14px;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    background-color: transparent;
    border-bottom: 1px solid #696E7C;
    width: fit-content;
    float: inline-end;
    margin-top: 40px;
}

.btn1::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center left;
    width: 100%;
    height: 2px;
    background-color: #696E7C;
    transition: transform .3s ease;
}

.btn1:hover::after {
    transform: scaleX(1);

}

/* ご連絡はこちらからボタン */
.btn2 {
    font-size: 14px;
    color: #fff;
    background-color: #696E7C;
    padding: 8px 75px;
}

.btn2:hover {

    background: linear-gradient(180deg, rgba(174, 193, 240, 1) 50%, rgba(202, 215, 252, 1) 80%);


    transition: transform .3s ease;
}

/* その他作品はこちらボタン */
.more_link {
    text-align: center;
    margin: 60px 50px 0;
    padding-bottom: 100px;

}

.more_link:hover {
    opacity: 0.8;
    transition: transform .3s ease;
}

/* コンタクト */
.contact {
    background-color: #AFD0DF;
}

.fream6 {
    padding: 20px 75px;
    text-align: center;
}
.fream6 p{
    text-align: center;
    padding-bottom: 30px;
    
}

/* ご連絡はこちらからボタン */
.more_link2 {
    text-align: center;
    padding-bottom: 60px;
}

.more_link2:hover {
    opacity: 0.8;
    transition: transform .3s ease;

}

/* メールアイコン */
.mail {
    padding: 8px;
}

/* フッター */
footer {
    background-image: url(../imges/pf_footer.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 60px;
}

footer .gnav ul {
    padding-bottom: 175px;
}

/* }ワークスページ */
.works_page {
    background-color: #8fa1d6;
    background-blend-mode: hard-light;
    height: 60%;

}

.works_page2 {
    background-color: #8fa1d6;
    background-blend-mode: hard-light;
    height: 40%;
    margin-top: 150px;

}

/* コンタクトページ */
.contact_page {
    background-color: #93c7df;
    background-blend-mode: hard-light;
    height: 60%;
}

.contact_page2 {
    background-color: #93c7df;
    background-blend-mode: hard-light;
    height: 40%;
}

.item_wrap2 {
    flex-direction: column;
}




.item_wrap3 {
    display: flex;
    justify-content: center;
}

/* レスポンシブ */
@media screen and (max-width:768px) {

    /* スキル説明 */
    .item1 {
        width: 40%;
        background-color: #fff;
        opacity: 0.7;
        margin: 15px;
        padding: 0 15px;
    }

    .profile_picture {
        width: 80%;
    }

    .btn1 {
        margin-top: 10%;
    }

    .item3{
        height: 250px;
    }
    .item4{
        height: 300px;
    }


    /* その他作品はこちらボタン */
    .more_link {
        text-align: center;
    }
    .fream6{
        max-width: 600px;
    }
    iframe {
        max-width: 500px;
    }

}

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

    h1 {
        font-size: 3em;
    }

    .mainpicture2 {
        font-size: 2em;
    }

    h2 {
        font-size: 2em;
    }

    .fream1 {
        display: flex;
        flex-wrap: wrap;
    }

    .item1,
    .fream2,
    .fream3,
    .item_wrap2 {
        width: 100%;
    }
    .item4{
        height: 200px
    }
    

    .fream3 {
        margin-top: 30px;
    }

    .item_wrap {
        width: 100%;
    }

    .fream6 {
        margin: 20px 0;
    }

    .more_link {
        margin: 0 auto;
        margin-top: 50px;
    }

    .fream6{
        max-width: 300px;
    }
    iframe {
        max-width: 300px;
    }


}