@charset "utf-8";

a:hover{
    opacity: 0.5;
    transition:all 1.5s;
}


body{
    line-height: 1.7;
}

h3{
    text-align: center;
    font-weight: bold;
    padding-top: 100px;
}

h5{
    padding-bottom: 30px;
}

.navbar-toggler-icon{
    height: 60px;
    width: 60px;
}

hr{
    height: 50px;
    background-color: #143264;
    border: none;
}
.nav-link{
    font-weight: bold;
}

header{
    border-top: 3px;
    border-color: #061735;
}

.top{
    background-image: url(/img/top-s.jpg);
    background-color: #061735;
    background-blend-mode:hard-light ;
    background-size: cover;
    padding: 50px 0 50px 0 ;
}

.top h1{
    font-size: 50px;
    letter-spacing: 0.2em;
    margin: 50px 0;
}

.about-wrapper{
    display: flex;
    justify-content: space-evenly;
}

.about-left{
    width:33%;
    margin: 5px;
}

.about-img{
    width:100%;
}

.about-right{
    width:33%;
    margin: 5px;
}

.about-right ol li span{
    background:linear-gradient(transparent 50%,lightblue 60%);
}

.card img{
    width: 80%;
    padding: 50px;
    margin: auto;
    margin-top: 35px;
}

.works-wrapper{
 display: grid;
 grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
 gap:50px;
 text-align: center;
}

.works-item img{
    width: 200px;
    height: 200px;
    object-fit: cover; /*指定した部分を自動でトリミング*/
    border: 3px solid #143264;
    padding: 2px;
}

.contact-wrapper{
    display: flex;
    justify-content: center;
    gap:20px;
    text-align: center;
}

.contact-item img{
       width: 45%;
}

footer{
background:#143264;
}


/*---レスポンシブ---*/

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

h5{
    padding-bottom: 3px;
}

.about-wrapper{
flex-direction: column;
align-items: center;
}

.about-left{
    width:75%;
    margin: 5px;
    text-align: center;
}

.about-img{
    width:50%;
    padding: 20px 0;
}

.about-right{
    width:90%;
    margin: 5px;
    text-align: center;
}

.works-wrapper{
    display: grid;
    grid-template-columns: 1fr;
    gap:50px;
    text-align: center;
   }

.card img{
    width: 75%;
    padding:25px;
    margin: auto;
    margin-top: 35px;
}
}