@charset "utf-8";

body{
    font-family: "Kosugi Maru", sans-serif;
    color: #969796;
    font-size: clamp(15px,3.0vw,22px);
    letter-spacing: 0.15rem;
}

img{
    max-width: 100%;  /* 画像が親要素の幅を超えないようにする */
    height: auto;  /* 画像の縦横比を保つ */
    vertical-align: bottom; /* 下側の余白を消す */
}


h1{
    margin: auto;
    width: 70%;
}

.fv{
    width: 100%;
}

/*
common
*/
.wrapper{
    padding: 0 20px;
    position: relative;
}
.contact-submit-btn{
    all: unset;
    display: flex;
    justify-content: center;
    width: 100%;
}
.btn{
    width: 100%;
    max-width: 500px;
    margin: auto;
}
.btn:hover {
    opacity: 0.8;
    transform: scale(0.98,0.98);
}
.link{
    width: 100%;
    max-width: 600px;
    margin: auto;
}
.link:hover {
    opacity: 0.8;
    transform: scale(0.98,0.98);
}
.half-space{
    margin-right: 5px;
}
.space{
    margin-right: 10px;
}

.bg-bubbles{
    background-image: url(img/service-bg.jpg);
    background-repeat:no-repeat; /*背景画像の繰り返しを解除*/
    background-size:cover; /*背景画像のサイズ指定*/
    background-position: center center;/*画像の位置指定（これは左右上下中央）*/
}
/*
service
*/
.service-title{
    width: 70%;
    margin: auto;
    padding: 15px 0;
}
.service-img{
    width: 100%;
}
.service-text{
    padding: 35px 0 70px;
}
.service{
    padding-bottom: 100px;
}


/*
cat
*/
.cat-img{
    width: 45%;
    max-width: 250px;
    position: absolute;
}
.cat1{
    top: -70%;
    right: 10px;
}
.cat2{
    bottom: -65%;
    left: 10px;
}


/*recruit*/
.recruit{
    padding: 100px 0 0;
    background-image: url(img/recruit-bg.png);
    background-repeat:no-repeat; /*背景画像の繰り返しを解除*/
    background-size:cover; /*背景画像のサイズ指定*/
    background-position: center top;/*画像の位置指定（これは左右上下中央）*/
}

/*
contact
*/
.contact{
    padding-bottom: 100px;
    padding-top: 20px;
    background-image: url(img/contact-bg.png);
    background-repeat:no-repeat; /*背景画像の繰り返しを解除*/
    background-size:cover; /*背景画像のサイズ指定*/
    background-position: center center;/*画像の位置指定（これは左右上下中央）*/
}
.contact-title{
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    padding-top: 120px;
    margin: 30px 0;
}
.contact-text{
    text-align: center;
    padding: 0 5px;
}
.contact-text_small{
    color: #999999;
    font-size: 14px;
    text-align: center;
    padding-bottom: 50px;
}

/*
form
*/
.contact-form{
    width: 95%;
    margin: auto;
    max-width: 800px;
}
input,textarea{
    width: 95%;
    padding: 15px 20px;
    background-color: #ffffff;
    border: #ffffff;
    margin: 8px;
}
input{
    border-radius: 999px;
}
input[type="image"]{
    background-color: transparent;
}
textarea{
    height: 200px;
    border-radius: 20px;
}
input::placeholder,
textarea::placeholder{
    color: #cecece;
}


/*
info
*/
.info{
    padding: 50px 0;
    background-color: #ffffff;
}
.info-title{
    font-size: larger;
    margin-bottom: 24px;
}
.info-table{
    font-size: 12px;
    color: #969796;
}

/*
gray(確認)
*/
.gray-circle{
    display: flex;
    gap: 20px;
    margin: 20px 40px;
}
.gray{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #808080;
}

/*
footer
*/
footer{
    background-color: #e6e6e6;
    padding: 10px;
}
footer p{
    text-align: center;
    font-size: 10px;
}



/*
thanks
*/
.thanks-wrapper{
    max-width: 800px;
    margin: auto;
    padding: 50px 20px;
    font-size: 16px;
    text-align: center;
}
.thanks-link{
    text-align: center;
    margin-top: 20px;
}
.thanks-link:hover{
    opacity: 0.8;
    text-decoration: underline #000000;
}




/*モバイルファースト*/
@media screen and (min-width: 481px) {
	/* 481px以上に適用されるCSS（タブレット用） */
    /*
    common
    */
    .wrapper{
        max-width: 800px;
        margin: auto;
    }
    h1{
        width: 60%;
    }
    /*
    service
    */
    .service-title{
        width: 50%;
    }
    .service-img{
        width: 80%;
        margin: auto;
    }
    .service-text{
        width: 80%;
        margin: auto;
    }
    .service{
        padding-bottom: 100px;
    }

    /*
    cat
    */
    .cat1{
        top: -55%;
    }
    .cat2{
        bottom: -55%;
    }
    /*
    contact
    */
    .contact{
        padding-bottom: 100px;
    }
    .contact-title{
        font-size: 40px;
    }
    .contact-text_small{
        font-size: 18px;
    }

    /*
    form
    */
    input,textarea{
        padding: 20px 25px;
        font-size: 16px;
    }

    /*
    info
    */
    .info-table{
        font-size: 18px;
    }

    /*
    footer
    */
    footer p{
    font-size: 12px;
    }

}
@media screen and (min-width: 960px) {
	/* 960px以上に適用されるCSS（PC用） */
    .wrapper{
        max-width: 900px;
    }
    h1{
        width: 40%;
    }
    /*
    service
    */
    .service-title{
        width: 30%;
    }
    .service-img{
        width: 100%;
    }
    .service-text{
        width: 100%;
    }
    .service{
        padding-bottom: 100px;
    }
    .text-pc{
        display: none;
    }
}
