
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');

body{
    font-family: 'Sawarabi Gothic', sans-serif;
    line-height: 1.8;
    position: relative;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 700;
}

a{
    text-decoration: none;
}

h3{
    position: relative;
}

h3:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;/*線の上下位置*/
    display: inline-block;
    width: 65px;/*線の長さ*/
    height: 5px;/*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);/*位置調整*/
    background-color: #0f9bff;/*線の色*/
    border-radius: 2px;/*線の丸み*/
}

p{
    line-height: 1.8;
}

section{
    padding: 120px 30px 120px 50px;
}



/* --------------ナビ-----------------*/



.navbar{
    background: white;
    height: 70px;
    border-bottom: 1px solid #f2f6f7;
}

.navbar .nav-top{   
    color: #b2d850;
    font-weight: bold;
}

.navbar .nav-link{   
    color: #0f9bff;
    font-weight: bold;
    font-size: 18px;
    padding-top: 16px;
}

.nav-pills .nav-link.active{
    background: rgba(158,158,158,0.5);
    padding: 10px;
    color: #0f9bff;
}

@media screen and (max-width:768px){
    
    .nav{
        background-color: #f2f6f7;
        flex-direction: column;
        display: flex;
    }
}

/* --------------トップページ-----------------*/



/* .top{
    background-image: url("img/sea.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 2;
}  */




.top::before {
    content: "";
    background: url(img/sea.jpg) no-repeat center center;
    background-size: cover;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
} 

.top-text{
    color: white;
    font-weight: bold;
}

.top::after{
    content: "";
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 70px;
    left: 0;
    background-color: rgba(37, 39, 71, 0.4);
    z-index: 1;
}



/* --------------スクロールダウン-----------------*/



.scroll{
    position: absolute;
    top: 80vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    z-index: 10;
} 

.chevron {
    position: absolute;
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}
  
.chevron:first-child {
    animation: move 3s ease-out 1s infinite;
}
  
.chevron:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}
  
.chevron:before,
.chevron:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #fff;
}
  
.chevron:before {
    left: 0;
    transform: skew(0deg, 30deg);
}
  
.chevron:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}
  
@keyframes move {
    25% {
      opacity: 1;
  
    }
    33% {
      opacity: 1;
      transform: translateY(30px);
    }
    67% {
      opacity: 1;
      transform: translateY(40px);
    }
    100% {
      opacity: 0;
      transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}
    
@keyframes pulse {
    to {
      opacity: 1;
    }
}



/* --------------aboutページ-----------------*/



.about-block{
    /* background: #a6a6a6; */
    background: white;
}

.about-title, .about-text{
    /* color: white; */
    color: #6c6e70;
}

.face img{
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.about-text1wrap{
    padding-top: 15px;
}

.about-text1{
   border-bottom: 4px solid rgba(178, 216, 80, 0.7);
   font-size: 17px;
}

.about-text2{
    display: block;
    padding-top: 5px;
    line-height: 2;
}

.about-text2 li::marker{
    font-weight: bold;
    font-size: 21px;
    color: #b2d850;
}

.about-text3{
    display: block;
    padding-top: 24px;
    font-size: 18px;
    font-weight: 800;
    line-height: 2;
}



/* --------------スキルページ-----------------*/



.skill-block{
    background: #f2f6f7;
}

.skill-title{
    color: #6c6e70;
}

.skill-img{
    text-align: right;
    padding-right: 0;
}

.skill-img2{
    text-align: left;
    padding-left: 0;
}

.skill-img img, .skill-img2 img{
    width: 50px;
    height: 50px;
}

@media screen and (max-width:768px){
    .skill-img,.skill-img2{
        text-align: center;
    }

    .skill-img{
    padding-right: 12px;
    }
    
    .skill-img2{
    padding-left: 12px;
    }

    
}

.skill-text{
    line-height: 1.8;
    color: #6c6e70;
    padding-top: 15px;
}



/* --------------サービスページ-----------------*/



.service-block{
    background: white;
}

.service-title,.service-subtitle,.service-text{
    color: #6c6e70;
}

.service-block img{
    width: 72px;
    height: 72px;
}

.service-subtitlewrap{
    padding-top: 30px;
}

.service-subtitle{
    border-bottom: 3px solid rgba(178, 216, 80, 0.7);
    display: inline;
}

.service-text{
    padding-top: 36px;
}



/* --------------ワークスページ-----------------*/



.works-block{
    background: #f2f6f7;
}

.works-title, .card-title, .card-text{
    color: #6c6e70;
}

.card{
    border: none;
    border-radius: 0;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
}

.carousel-inner{
    position: relative;
    padding: 1em;
}

.carousel-control-prev,.carousel-control-next{
    position: absolute;
    background-color: #e1e1e1;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev span,.carousel-control-next span{
    width: 3rem;
    height: 3rem;
}

@media screen and (min-width: 992px){
    .cards-wrapper{
        display: flex;
    }
    
    .card{
        margin: 0 .8em;
        width: calc(100%/3);
    }
}

.image-wrapper{
    height: 300px;
    margin: 0 auto;
}

.image-wrapper img{
    max-width: 100%;
    max-height: 100%;
}

.modal-img{
    max-width: 100%;
    height: auto;  
}



/* --------------コンタクトページ-----------------*/



.contact-block{
    background: white;
}

.contact-title,.contact-text, label{
    color: #6c6e70;
}

.form-group{
    padding-top: 30px;
}



/* --------------　ボタン　-----------------*/



.btn{
    background: #0f9bff;
    color: white;
}



/* --------------thanksページ-----------------*/



.submit-title, .submit-text{
    color: #6c6e70;
}



/* --------------フッターページ-----------------*/



.footer{
    background: #f2f6f7;
}
/* --------------トップページ-----------------*/
/* --------------トップページ-----------------*/
/* --------------トップページ-----------------*/
