*{
    padding: 0;
    margin: 0;
}

/* 余白消去 */
.wrap{
    overflow: hidden;
}
/* ＊＊＊＊ */


div.container-fluid{
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}

/* ＊＊＊＊＊ */
/* header */
/* ＊＊＊＊＊ */

.header{
    height: 100%    ;
    overflow: hidden;
}


/* ナビバー */

nav.navbar{
    background: white;
    height: auto;
    width: 100%;
}

.nav-set{
    float: right;
    padding-top: 40px;
}

div.nav-box {
    display: inline-block;
    padding: 10px;
    font-size: small;
}

div.nav-box a{
    color: #949494;
    text-decoration: none;
}

div.nav-box a:hover{
    color:black;
}

/* ＊＊＊＊＊＊ */
/* ＊＊＊＊＊＊ */


/* SECTION */

section.s-sec1,section.s-sec2,section.s-sec4{
    height: 900px;
    padding-top: 100px;
    margin: 0;
}

section.s-sec3{
    height: auto;
    padding-top: 100px;
}

section.s-sec2,section.s-sec4{
    background-color: whitesmoke;
}

/* ＊＊＊＊＊＊＊ */
/* ＊＊🍔＊＊ */
/* ＊＊＊＊＊＊ */

.sumafo{
    float: right;
    width: 50px;
    height: 65px;
}

/* 中身 */
#content{
    float: right;
    background-color: black;
    width: 200px;
    height: 1000px;
    text-align: left;
    transform: translateX(200px);
    transition: .5s ease-in-out;
    margin-top: 17px;
}

div.s-nav-box{
    font-size: 24px;
    margin: 10px 50px 10px 10px; 
    
}

div.s-nav-box a{
    color: #B2B2B2;
    text-decoration: none;
}

/* チェックボックス消す */
#nav-input{
    display: none;
}


/* ハンバーガーライン */
.line-top{
    width: 30px;
    height: 3px;
    background-color: black;
    margin:20px 5px 5px 5px;
}

.line{
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 5px;
}


/* 薄黒カバー */
#nav-close{ 
    display: none;
    position: fixed;
    top:0;  /*全体に広げる */
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

/* チェックが入ったら */

#nav-input:checked~#content{
    transform: translateX(0px);
}

#nav-input:checked~#nav-close{
    display: block;  /*カバーを表示*/
    opacity: .5;
}

/* ＊＊＊＊＊＊＊ */
/* ＊＊＊＊＊＊＊ */


img.logo{
    width: 150px;
    padding-top: 10px;
}

img.main{
    width: 100%;
    margin-top: 75px;
}

div.main-img{
    background-image:url("images/josh-calabrese-mZf9BZxyKZE-unsplash.jpg");
    background-size: cover;
    width: 100%;
    height: 800px;
}

div.main-txtbox{
    width: 100%;
}

h2.h2-main{
    padding-top: 200px;
    padding-right: 0%;
    text-align: center;
    color: lightslategray;
    font-size: 40px;
    font-weight: 500;
}

span.sp-txtbox{
    padding-left: 125px;
}

/* ******* */
/* ******* */



/* ************ */
/* about */
/* ************ */

div.about-box{
    padding-top: 50px;
}

h2.s-h2{
    text-align: center;
    padding-bottom: 10px;
    margin: 0 auto;
    border-bottom: 3px solid black;
    width: 120px;
}

div.h3-box{
    width: 40%;
    text-align: center;
    padding-left: 230px;
    padding-top: 20px;
}

img.s1-img{
    width: 30%;
    float: right;
    margin-right: 12%;
}

p.s1-p{
   width: 50%;
   padding-left: 160px;
   line-height: 2;
   font-weight: 500;
   font-size: 15px;
}

span.sp-pro{
    font-weight: 800;
}

div.container{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}

div.a-iconbox{
    padding: 20px;
    text-align: center;
}

p.i-p{
    padding-top: 10px;
}

/* ********** */
/* ********** */

/* ********** */
/* servise */
/* ********** */


div.s-container{
    text-align: center;
    display: flex;
    justify-content: space-around;
    padding-top: 100px;
}

div.s-iconbox{
    width: 100%;
    line-height: 1.8;
}

/* エフェクト */
.effect-fade {
    opacity: 0;
    transform: translate(0, 100px); /* フェードインで動く高さを指定 */
    transition: all 2000ms; /* フェードインにかかる時間を指定 */
  }
  .effect-scroll {
    opacity: 1;
    transform: translate(0, 0);
  }
/* ****** */


p.s-p{
    text-align: left;
    margin: 0 auto;
    width: 50%;
    font-size: 15px;
}

/* ********** */
/* ********** */

/* ********* */
/* portfolio */
/* ********* */

div.portforio-box{
    padding-top: 100px;
}


  /* paddingを消す */
  .no-gutters {
    padding:0;
  }
   
  .no-gutters > .col,
  .no-gutters > [class*="col-"] {
    padding:0px;
  }
/* ＊＊＊＊＊ */



div a.thumbnail{
    margin-bottom: 0;
    width: 100%;
    display: block;
}


.black .mask{
    width:100%;
    height:100%;
    position:absolute;  /* 絶対位置指定 */
    top:0;
    left:0;
    opacity:0;  /* マスクを表示しない */
    background-color:   rgba(0,0,0,0.4);    /* マスクは半透明 */
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    pointer-events: none;
    border-radius: 3px;
    border: none;
}


div.black div.caption{
    font-size:100%;
    font-weight: 200;
    text-align: center;
    color:  #fff;
    padding:  30% 70% 0 5%;
    font-family: "azo-sans-web",sans-serif;
}



.black:hover .mask {
    opacity: 1;  /* マスクを表示する */
}


img.img-simple{
    width: 100%;
}

.col-md-offset-1{
    margin-left: 8.33333333%;
    margin-bottom: 3%;
    margin-top: 3%;
}

.col-md-offset-2{
    margin-left: 16.66666667%;
    margin-top: 3%;
    margin-bottom: 3%;
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊ */
/* ＊＊＊＊＊＊＊＊＊＊＊＊ */

/* ********* */
/* contact */
/* ********* */

div.contact-box{
    padding-top: 100px;
}

section.s3{
    height: 800px;
    padding-top: 120px;
    margin: 0 80px;
}

div.form{
    margin: 0 auto;
    width: 80%;
}

input.in-box{
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background-color: rgba(0,0,0,0.035);
    outline: 0;
}

textarea.in-message{
    width: 100%;
    height: 150px;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background-color: rgba(0,0,0,0.035);
    outline: 0;
    
}

input.in-box:hover,textarea.in-message:hover{
    border-bottom: 3px solid black;
    transition: .5s;
}


button.s-send{
    position: relative;
    width: 180px;
    height: 40px;
    padding: 10px;
    margin-top: 30px;
    background-color: black;
    text-align: center;
    color: white;
    border: none;
}

a.box-send{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    padding-top: 10px;
}

button.s-send:hover{
    opacity: .8;
    text-decoration: none;
}

p.s-p{
    margin-bottom: 5px;
}


/* ********* */
/* ********* */


/* ********* */
/* footer */
/* ********* */

.footer{
    margin-top: 20px;
}

div.f-div{
    text-align: center;
    padding-bottom: 0px;
}

/* ********* */
/* ********* */



@media screen and (max-width:991px){
    div.black{
        margin-bottom: 30px; 
    }
}

@media screen and (max-width:767px){
    div.black{
        margin-bottom: 30px;
    }

    img.p-thum{
        display: block;
        
        max-width: 100%;
        height: auto;
    }

    a.thumbnail{
        height: 100%;
        padding-top: 0%;
    }

    div.black:hover::before{
        height: 95%;
    }

    .pc{
        display: none;
    }

    img.main{
        margin-top: 66px;
    }    

    section.s-sec1,section.s-sec2,section.s-sec3,section.s-sec4{
        height: auto;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    div.s-container{
        display: block;
    }

    /* about */
    div.img-about{
        text-align: center;
    }

    img.s1-img{
        float: none;
        width: 250px;
        margin: 0 auto;
        
    }

   div.about-box{
       width: 100%;
        clear: both;
        margin: 0 auto;
   }

   p.s1-p{
       width: 72%;
       padding-top: 30px;
       padding-left: 30px;
       margin: 0 auto;
   }

   div.h3-box{
       width: 100%;
       padding-left: 0;
   }

   div.container{
       text-align: center;
       display: block;
   }

    /* servise */
    div.s-iconbox{
        margin-bottom: 30px;
    }

}


@media screen and (min-width:767px){
    .sumafo{
        display: none;
    }

}

