

body{
    color: black;
    line-height:1.5;
}

img{
    width: 100%;
    height: auto;
}

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

a:hover{
    opacity: 0.7;
}

.container{
    width: 90%;
    max-width: 980px;
    margin: auto;
}

.clear::after{
    content: "";
    clear: both;
    display: block;
}

/*================
header
================*/

header{
    padding: 20px 0;
}

.header-title{
    font-weight: 200;
    font-size: 27px;

}

.header-left{
    float: left;
    font-size: 13px;
}

.header-right{
    float: right;
}

.header-nav-item{
    float: left;
    margin-left: 50px;
    list-style-type:none;
}

.header-nav-item a{
    font-size: 20px;
    font-weight: 200;
    line-height: 39px;
}




/*=========
top
========*/

.top{
    background-image:url(../img/no-revisions-d2zvqp3fpro-unsplash.jpg);
    background-size: cover;
    padding: 120px 0;
   
   
}

.top-title{
    font-family: 'Snell Roundhand',sans-serif;
    font-weight: 600;
    font-size: 80px;
    text-align: center;
    color: #fff;
    margin-block: auto;

}

/*=============
section共通クラス
=============*/

.section{
    padding: 60px 0;
}

.section-title{
    font-size: 32px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 0.5px;
    margin-top: auto;

}

.section-subtitle{
    text-align: center;
    margin-top: 0.5px;
    margin-bottom: 40px;
}


/*===========
about
==========*/



.box2 {
    padding: 60px 60px;
    margin: 20px 70px;
    font-weight: bold;
    color:gray
    background: #FFF;
    border: solid 3px gray;
    border-radius: 10px;/*角の丸み*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}

.about-left{
    float: left;
    width: 40%;
    text-align: center;
    

}
.about-right{
    float: right;
    width: 50%;
}

.about-content{
    font-weight: 100;
    margin-top: 16px;
    line-height: 1.6;
}

.about-subcontent{
    font-weight: 100;
    margin-top: 25px;
}
.about-title{
    font-weight: 100;
}

.about-name{
    font-weight: 600;
    margin-top: 5px;
}
/*===========
service
===========*/
.service {
    background-color: lightgray;


}

.service-wrapper{
    display: flex;
    justify-content: space-between;
    background-color: lightgray;
    

}

.service-item{
    width: 30%;
    padding: 24px 20px;
    box-sizing: border-box;
    display: block;
    background-color: #fff;
    text-align: center;
}

    

.service-item img{
    height: 150px;
    width: 150px;
    box-shadow: 0 0 3px;
    border-radius: 50%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: block;
}

.service-item-title{
    margin-top: 16px;
    font-weight: 500;
    font-size: 22px;
}

.service-item-subtitle{
    line-height: 1.8;
    margin-top: 12px;
    text-align: justify;

}

/*=========
works
==========*/
.works-wrapper{
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    justify-content: center;
    

}

.works-item{
    display: block;
    width: 300px;
    margin-left: 50px;
    
    


}

.works-item-link a{
    color: cadetblue;
}

/*===========
contact
===========*/

.contact{
    background-color: lightgray;
    padding: 60px 0;
}

.contact-wrapper{
    display: flex;
    justify-content: center;

}


.contact-message{
    text-align: center;
    margin-bottom: 20px;
}


.contact-item{
    margin-right: 10px;
    text-align: center;

}


.contact-item img{
    width: 40px;
    text-align: center;
    display: block;
    margin-left: 30%;
}
.contact-name{

    margin-top: 20px;
    text-align: center;
    


}

/*========
footer
=======*/


footer{
    background-color: #555;
    padding: 6px;
}

.copyright{
    font-size: 12px;
    float: right;
}

/*PCでは無効（改行しない）*/
.sma{
    display: none;
}



/*===============
スマホ用css
================*/
@media only screen and (max-width:767px) {

    /*==============
    top
    ==============*/
    .top{
        background-image:url(../img/no-revisions-d2zvqp3fpro-unsplash.jpg);
        background-size: cover;
        padding: 90px 0;
    }

    .top-title{
        font-size: 34px;
        position: absolute;
        bottom: 73%;
        left: 50%;
        transform: translateX(-50%);


     }


/*=============
section共通クラス
=============*/

.section{
    padding: 60px 0;
}

.section-title{
    font-size: 25px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 0.5px;
    margin-top: auto;

}

.section-subtitle{
    text-align: center;
    margin-top: 0.5px;
    margin-bottom: 40px;
}

/*=========
about
==========*/

.box2 {
    padding: 30px 30px;
    margin: 20px 25px;
    font-weight: bold;
    color:gray
    background: #FFF;
    border: solid 3px gray;
    border-radius: 10px;/*角の丸み*/
}

.about-left{
    float: none;
    width: 100%;
}
.about-right{
    float: none;
    width: 100%;
}
.about-title{
    margin-top: 10px;
}

/*============
service
=============*/
.service-wrapper{
    flex-wrap: wrap;
    padding: 25px 30px;
    
}

.service-item{
    width: 100%;
    padding: 24px 30px;
    margin-bottom: 20px;

}

/*===========
works
============*/
.works-item{
    margin: 0;
    padding: 30px 20px;
}

/*==========
contact
===========*/
.sma{
    display: block;
}
.contact-wrapper{
    margin-top: 20px;
}
}