/* フォントを追加 */
@font-face {
    font-family: 源暎ノンブル;
    src: url(/image/GenEiNombre_v2.0/GenEiNombre-Roman.ttf)
}

@font-face {
    font-family: はんなり明朝;
    src: url(/image/HannariMincho-Regular.otf);
}

/* 共通パーツ */

h1 {
    font-size: 40px;
    font-family: 源暎ノンブル;
}

.title {
    font-size: 40ox;
    padding-bottom: 50px;
}

.text {
    font-family: はんなり明朝;
}

/* header */

.g-navi {
    width: 100%;
    background-color: #B6EE81;

}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 5%;
}

.g-navi-logo {
    width: 207px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 1%;
}

.g-navi ul {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
}

.g-navi ul li {
    font-family: 源暎ノンブル;
    text-align: center;
    margin-left: 20px;
}

.g-navi ul li a {
    display: block;
    color: #FFFFFF;
    font-size: 30px;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 35px;

}

/* Top */

.mv-wrapper {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #E5FFCC;
    text-align: center
}

.m-logo {

    width: 610px;
    padding-top: 120px;
    padding-bottom: 40px;
}

.mv-text {
    text-align: center;
    color: #598C6B;
}

/* About */

#about {
    background-color: #DAF1F3;
    background-image: url(../image/1_レース1.png),
        url(../image/1_レース2.png);
    background-size: 50%,
        50%;
    background-repeat: no-repeat;
    background-position: -55% -10%, 155% 110%;
    text-align: center;
}

.a-wrapper {
    color: #2C5899;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* works */

.w-wrapper {
    background-color: #C3E6DF;
    color: #3E897A;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 115px;
}

.w-box1 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 28px;
}

.w-box2 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-left: 30%;
    margin-right: 30%;
}

.W-text {
    padding-bottom: 50px;
}

.thumbnail-img {
    height: 145px;
    margin-left: 17px;
    margin-right: 17px;
}

.w-name {
    text-decoration: none;
}

/* Works（ポップアップ） */

h2 {}

/* モーダル関係*/

.modal-main {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
}

.modal-container {
    background: rgba(0, 0, 0, 0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal-body {
    background: #fff;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1024px;
}



.inner-title {
    padding-top: 50px;
    margin-bottom: 26px;
    text-align: center;
}

.modal-content {
    display: flex;
    flex-wrap: nowrap;
}

.mainImage img {
    width: 650px;
    height: auto;
    margin-left: 49px;
    margin-bottom: 30px;

}

.thumbnails img {
    margin-left: 40px;
    margin-bottom: 50px;
    max-width: 527px;
    width: 80px;
    height: 80px;
}

.inner-title {
    margin-top: 40px;
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: bold;
    margin-left: 182px;
    margin-right: 485px;
}

.inner-text {
    font-size: 14px;
    width: 210px;
    text-align: left;
    margin-left: 63px;
    padding: 0;
}

.github-link {
    margin-top: 16px;
    margin-bottom: 34px;
        font-size: 12px;
}

.ul-title {
    font-size: 25px;
}

.used-language {
    margin-top: 19px;
    margin-bottom: 51px;
    font-size: 14px;
}

li {
    list-style: none;
}

/* コピペ */

.thumbnails {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: distribute;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 30px auto 0;
}

.thumbnails img:hover {
    opacity: 0.8;
    transition: all .3s;
}

/* フッダー　*/
.copyright {
    background-color: #D6EEBF;
    text-align: center;
    padding-top: 69px;
    padding-bottom: 19px;
    color: #3E897A;
    font-family: はんなり明朝;
}

/*スマホ版のレイアウト */

@media screen and (max-width:768px) {
    /* 画面サイズが768px以下はここを読み込む */
    .m-logo {
        width: 500px;
        padding-top: 70px;
        padding-bottom: 50px;
    }
    .thumbnail-img {
        height:80px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .w-box1 {
        margin-left: 5%;
        margin-right: 5%;
    }

    .w-box2{
        margin-left: 20%;
        margin-right: 20%;
    }

    .w-name {
        font-size: 13px;
    }
    .modal-body {
        width: 650px;
    }
    .mainImage img {
        width: 400px;
        height: auto;
        margin-left: 15px;
        margin-bottom: 15px;
    }
    .thumbnails img {
        margin-left: 20px;
        margin-bottom: 30px;
        max-width: 527px;
        width: 50px;
        height: 50px;
    }
    .inner-title {
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 20px;
        margin-left: 50px;
        margin-right: 250px;
    }
    .inner-text {
        font-size: 10px;
        width: 170px;
        text-align: left;
        margin-left: 25px;
        margin-right: 15px;
    }
    .github-link {
        margin-top: 16px;
        margin-bottom: 15px;
        font-size: 12px;
    }
    .ul-title {
        font-size: 16px;
    }
}

@media screen and (max-width:430px) {
    /* 画面サイズが768px以下はここを読み込む */
    .g-logo{
        width: 120px;
        padding-left: 10px;
    }

    .m-logo {
        width: 300px;
        padding-top: 70px;
    }

    .g-navi ul li a {
        font-size: 20px;
        margin-left: 10px;
    }

    .w-wrapper{
        padding-bottom: 0px;
    }

    .w-text{
        padding-bottom: 30px;
    }

    .w-name{
        margin-bottom: 15px;
    }

    .a-wrapper{
        font-size: 13px;
    }

    .w-box1 {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0px;
    }

    .w-box2{
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0px;
    }

    .thumbnail-img {
        height: 145px;
    }

    .modal-body {
        width: 320px;
        height: 630px;
    }

    .modal-content {
        display: block;
    }

    .inner-title {
        margin-top: 10px;
        font-size: 18px;
        margin-left: 50px;
        margin-right: 50px;
       padding-top: 25px;
    }

    .inner-text {
        font-size: 10px;
        width: 330px;
        margin-left: 25px;
        margin-right: 15px;
        max-width: 280px;
    }

    .mainImage img {
        width: 300px;
        height: auto;
        margin-left: 0px;
        margin-bottom: 10px;
    }

    .thumbnails {
        margin-top: 0;
        margin-left: 10px;
        margin-right: 10px;
    }

    .thumbnails img {
        margin-left: 10px;
        margin-bottom: 30px;
        max-width: 400px;
        width: 40px;
        height: 40px;
    }

    .m-img{
        text-align: center;
        justify-content: center;
    }

}