@charset"UTF-8";

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

/* html,
body{
    font-family: 'Noto Sans JP',sans-serif;
} */

img {
    max-width: 100%;
    /*元の画像サイズより大きくならないように*/

    height: auto;
    /*縦横の比率は元のままであるように*/

    vertical-align: middle;
    /*画像の下にできる隙間を無くす*/
}


/*ホバー------------------*/

.gnav-list a:hover {
    color: #ED8A3F;
    transition: .3s;
}

.works-card a:hover {
    /*transform: translate(.2em, .2em);*/
    color: #ED8A3F;
    transition-duration: .3s;
}

.works-hover{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mask:hover{
    opacity: 1;
    transition: 0.3s;
}


.twitter:hover,
.note:hover {
    opacity: .6;
    transition-duration: .3s;
}

.btn-wrap input[type="submit"]:hover {
    background: #fff;
    color: #ED8A3F;
    transition-duration: .3s;
    transform: translateY(0.1em);
}

/*-------共通部分-------*/

.wrap{
    overflow: hidden;
}

/*タイトル*/
.section-title {
    display: flex;
    justify-content: center;
    font-size: 69px;
    color: #484229;
    font-family: "futura";
    font-weight: bold;
}

.about-title,
contact-title {
    vertical-align: 1.5em;
}


/*--------------------*/



/*header---------------------*/

.gnav {
    width: 100%;
    max-width: 800px;
    margin: auto;

}

.gnav-list {
    display: flex;
    justify-content: space-between;
    margin: 40px 25px;
}

.gnav-list li {

    letter-spacing: .07em;
}

.gnav-list a {
    display: block;
    color: #40592E;
    font-family: "futura";
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
}

/*MV-----------------------*/

.mv {
    position: relative;
    margin-bottom: 120px;
    background-image: url("../img/IMG_top.jpg");
    background-size: cover;
    background-position: center bottom 30%;
    background-repeat: no-repeat;
    height: 80vh;
    text-align: center;
}

.mv::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #484229;
    opacity: .25;
}

.mv-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: calc(100% - 30px * 2);
    max-width: 1000px;
    margin: auto;
    color: #fff;
    font-family: "futura";
    font-size: 84px;
    font-weight: bold;
    letter-spacing: .1em;
}


/*footer------------------*/

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

.footer p {
    margin: 20px;
    color: #484229;
    font-size: 18px;
    font-weight: bold;
}


/*WORKS------------*/

.works-box {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 30px * 2);
    max-width: 1000px;
    margin: 80px auto 200px;
}

.works-card {
    width: 30%;
    height: 200px;
}

.works-card a {
    color: #333;
    text-decoration: none;
}

.works-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-card p{
    margin-top: 40px;
}

.mask{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    font-size: 16px;
    color: #fff;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}



.works-card p {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}





/*ABOUT--------------------*/

.about {
    background: #D4E8C1;
    margin-bottom: 120px;
    position: relative;
}

.about-title {
    position: absolute;
    top: -.65em;
    left: 0;
    right: 0;
    margin: auto;
}

.about-inner {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 30px * 2);
    max-width: 1000px;
    margin: auto;
    padding: 100px 0 100px;
}

.about-inner img {
    width: 413px;
    height: 413px;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(-1, 1);
}

.name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
}

.about-inner-about p {
    margin-bottom: 20px;
    line-height: 24px;
}

.about-inner-about p:last-child {
    margin-bottom: 0;
}

.about-inner-about p::before {
    content: '';
    display: inline-block;
    background: #ED8A3F;
    width: 7px;
    height: 24px;
    margin-right: 10px;
    vertical-align: bottom;
}

.about-inner-text {
    font-size: 18px;
    margin: 36px 0 40px;
    max-width: 530px;
  
}

.sns {
    display: flex;
    height: 50%;
    width: 50%;
    transition-duration: .35s;
}

.twitter img,
.note img {
    width: 50px;
    height: auto;
    transform:scale(1,1) ;
}

.twitter {
    margin-right: 32px;
}

/*SKILL--------------------*/

.skill {
    margin-bottom: 204px;
}

.skill-inner {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 30px * 2);
    max-width: 1000px;
    margin: 100px auto 0;
}

.skill-card {
    width: 40%;
    background: #F2DEB7;
    border-radius: 20px;
}

.skill-card-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

.skill-card-title img {
    margin-right: 10px;
    vertical-align: bottom;
}

.skill-card-inner {
    margin: 58px auto 60px;
}

.skill-card-inner p {
    display: block;
    justify-content: center;
    margin: 35px auto 37px;
    width: 254px;
    font-size: 18px;
}

.skill-list {
    font-size: 15px;
    font-weight: bold;
}

.skill-list li {
    text-align: center;
}

/*CONTACT-------------------*/

.contact {
    background: #D4E8C1;
    position: relative;
}

.contact-title {
    position: absolute;
    top: -.65em;
    left: 0;
    right: 0;
    margin: auto;
}

.contact-inner {
    width: 100%;
    max-width: 573px;
    margin: auto;
    padding: 120px 0 120px;
}

.form-group textarea {
    width: 100%;
    background: #fff;
    border: 1px solid;
    font-size: 18px;
    resize: none;
}

.form-input {
    width: 100%;
    height: 30px;
    font-size: 18px;
}

.form-title {
    margin: 40px 0 20px;
}

.btn-submit {
    display: flex;
    justify-content: center;
    margin: 80px auto 0;
    width: 170px;
    height: 50px;
    border: 0;
    border-radius: 10px;
    font-size: 18px;
    color: #fff;
    background-color: #ED8A3F;
    letter-spacing: .1em;
}



@media (max-width:767px) {
    /*ハンバーガー*/
    .gnav-btn{
        display: block;
        width: 70px;
        height: 70px;
        background: #ED8A3F;
        border-radius: 50%;
        padding: 18px 15px;
        position: fixed;
        top: 20px;
        right: 5%;
        z-index: 10;
    }

    .gnav-btn span{
        display: block;
        width: 40px;
        height: 5px;
        background: #fff;
        margin-top: 10px;
    }

    .gnav-btn span:first-child{
        margin-top: 0;
    }

    .gnav.show{
       bottom: 0;
    }
  
    .gnav-btn span{
        transition: .3s;
    }

    .show span:nth-of-type(1){
        transform: translate(-50%,-120%) rotate(45deg);
        margin: 50%;
    }

    .show span:nth-of-type(2){
        opacity: 0;
    }

    .show span:nth-of-type(3){
        transform:  translate(50%,-320%) rotate(-45deg);
        margin: -50%;
    }

    .gnav{
        background: rgba(255, 255, 255, .8);
        flex-direction: column;
        padding: 125px 0 80px;
        width: 100vw;
        height: 100vh;
        position: fixed;
        bottom: 100%;
        left: 0;
        right: 0;
        z-index: 5;
        transition: 0.3s;
    }

    .gnav-list{
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .gnav-list a{
        font-size: 25px;
        height: 90px;
        line-height: 90px;
        margin-bottom: 10px;
    }


/*---------*/

    .section-title{
        font-size: 45px;
    }

    .mv{
        margin-bottom: 60px;
    }

    .mv-text{
        font-size: 50px;
        line-height: 2em;
        left: 0;
        bottom: -10%;
        width: calc(100% - 5% * 2);
    }

    .works-box{
        flex-direction: column;
        align-items: center;
        margin-bottom: 120px;
    }

    .works-card{
        width: 70%;
        margin-bottom: 120px;
    }

    .about-inner{
        display: flex;
        flex-direction: column;
        width: calc(100% - 30px * 2);
    }

    .about-inner img{
        width: 70vw;
        height: 70vw;
        margin: 0 auto 60px;
    }

    .about-inner-text{
        display: block;
    }

    .about-inner-box{
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;
    }   

    .sns{
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .sns-icon img{
        width: 50px;
        height: auto;
    }

    .skill{
        margin-bottom: 120px;
    }

    .skill-card-inner{
        padding: 0 5%;
    }

    .skill-inner{
        flex-direction: column;
        width: 70%;
    }

    .skill-card{
        width: 100%;
    }

    .skill-card:first-child{
        margin-bottom: 120px;
    }

    .skill-card-inner p{
        width: 85%;
        font-size: 16px;
    }

    .contact-inner{
        width: 70%;
    }

}


