@charset "utf-8";
html{
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
}
.btn,
a.btn,
button.btn {
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}
/* ヘッダー */
.header{
    position: relative;
}
.header-image{
    width: 100vw;
    height: 700px;
    object-fit: cover;
}
.logo{
    width: 280px;
    position: absolute;
    left: 30px;
    top: 30px;
}
.gaiyou{
    font-size: 72px;
    position: absolute;
    left: 200px;
    top: 300px;
    color: #fff;
    font-weight: bold;
}
/* ナビゲーション */
.nav{
    display: flex;
    position: absolute;
    right: 0px;
    top: 30px;
}
.nav a {
    margin: 0 10px;
}
a.btn-flat {
    overflow: hidden;
    color: #fff;
    border-radius: 0;
    background: #000;
  }
  
  a.btn-flat span {
    position: relative;
  }
  
  a.btn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-96%);
    transform: translateX(-96%);
    background: #eb6877;
  }
  
  a.btn-flat:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }


/* メイン */
.bunsyou1{
    width: 800px;
    font-size: 40px;
    text-align: center;
    padding: 100px 0;
    margin: 0 auto;
    font-weight: 600;
}
.images{
    display: flex;
}
.message{
    padding-bottom: 200px;
}
/* アニメーション */
.slide-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-wrapper {
  display: flex;
  animation: slide-flow 40s infinite linear 1s both;
}
.slide{
  width: 600px;
  object-fit:cover;
  border: 10px solid #fff;
}
@keyframes slide-flow {
     0% {transform: translateX(0);}
 100% {transform: translateX(-100%);}
}


/* メッセージ */
.message1{
    background-color: #000;
    display: flex;
    justify-content: center;
}
.message1 h1{
    color: #fff;
    font-size: 72px;
    text-align: center;
    padding: 50px;
}
.bun{
    background-color: #909090;
    margin: 40px;
    font-size: 18px;
}
.gazou{
    width: 400px;
    height: 400px;
    background-color: #fff;
    margin: 0 auto;
}
/* 会社概要 */
.company{
    background-color: #fff;
}
.company1{
    font-size: 72px;
    text-align: center;
    padding-top: 30px;
}
.company2{
    font-size: 32px;
    text-align: center;
    padding: 50px;
}
.gaiyou1{
    display: flex;
    font-size: 18px;
    justify-content: center;
    padding: 27px 0;
    border-top: #000 solid 1px;
}
.gaiyou1:last-child{
    border-bottom: #000 solid 1px;
}
.gaiyou1 div{
    width: 250px;
    padding-right: 100px;
}
.gaiyou1 p{
    width: 700px;
}
.ul{
    width: 950px;
    margin: 0 auto;
    padding-bottom: 100px;
}
/* フッター */
.footer{
    background-color: #222;
    position: relative;
    display: flex;
}
.footer img{
    width: 200px;
    margin: 50px 400px;
}
.footer p{
    color: #fff;
}
.kiyaku{
    display: flex;
    position: absolute;
    top: 90px;
    right: 300px;
}
.kiyaku p{
    padding-left: 30px;
}
.small{
    text-align: left;
    padding: 50px 400px;
    display: flex;
    position: relative;
}
.small img{
    width: 60px;
    

}
.apuri{
    position: absolute;
    right: 300px;
    top: 40px;
}
.apuri img{
    margin-right: 20px;
}
.footer2{
    background-color: #fff;
}
.btn2{
    position: absolute;
    position: fixed;
    transition: 0.3s;
}
.btn2:hover{
    opacity: 0.5;
}
.btn2 img{
    width: 100px;
}