@charset "UTF-8";

/*
フェード表示させる要素に使用するためのクラス
*/
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

a{
  color: black;
  text-decoration: none;
}

img{
  max-width: 100%;
}

li{
  list-style: none;
}

header{
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px 40px;
  position: fixed;
  z-index: 10;
  background-color: white;
}

nav{
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  padding: 60px 25px;
  color: white;
  background-color: black;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.5s;
  z-index: 20;
  opacity: 0;
}

nav ul{
  margin: 0;
  padding: 0;
}

.nav-menu{
  margin-bottom: 60px;
  border-top: solid 1px white;
  font-size: 14px;
}

.nav-menu li{
  position: relative;
  margin: 0;
  padding: 20px 0;
  border-bottom: solid 1px white;
}

nav a{
  color: white;
}

.nav-sns li{
  padding: 5px 0;
}

.toggle-btn{
  display: block;
  position: fixed;
  top: 25px;
  right: 45px;
  width: 30px;
  height: 30px;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 20;
}

.toggle-btn span{
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: black;
  border-radius: 4px;
  transition: all 0.5s;
}

.toggle-btn span:nth-child(1){
  top: 4px;
}

.toggle-btn span:nth-child(2){
  top: 14px;
}

.toggle-btn span:nth-child(3){
  bottom: 4px;
}

.mask{
  display: none;
  transition: all;
}

.open nav{
  left: 0;
  opacity: 1;
}

.open .toggle-btn span{
  background-color: white;
}

.open .toggle-btn span:nth-child(1){
  transform: translateY(10px) rotate(-315deg);
}

.open .toggle-btn span:nth-child(2){
  opacity: 0;
}

.open .toggle-btn span:nth-child(3){
  transform: translateY(-10px) rotate(315deg);
}

.open .mask{
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.8;
  z-index: 10;
  cursor: pointer;
}

.bg-video{
  width: 100%;
  max-height: 960px;
  object-fit: cover;
}

.pickup{
  width: 100%;
  padding: 100px 0 50px;
}

.sec-title{
  margin-bottom: 30px;
  text-align: center;
  font-size: 36px;
}

.slick-slide{
  margin: 0 15px;
}

.feature{
  max-width: 1240px;
  padding: 100px 16px 50px;
  margin: -50px auto 10px;
}

.grid{
  display: grid;
  gap:26px;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
}

.grid .item{
  box-shadow: 0 0 8px 4px rgb( 157, 156, 156);
  transition: all 0.3s ease;
}

.grid img{
  vertical-align: top;
}

.grid .item-content{
  padding: 30px;
}

.grid .item-cat{
  font-size: 12px;
  margin-bottom: 20px;
}

.grid .item-text{
  margin-bottom: 20px;
  font-weight: bold;
}

.grid .item-date{
  text-align: right;
  font-size: 12px;
}

.fedein{
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

.contact{
  padding: 50px 16px;
  color: white;
  background-color: black;
}

.contact-wrapper{
  display: flex;
  justify-content: space-between;
  max-width: 1240px;
  padding: 0 16px;
  margin: 0 auto;
  font-size: 14px;
}

.contact-info{
  width: 40%;
}

.contact-form{
  width: 45%;
}

.contact-info p{
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  background-color: white;
}

.button input{
  width: 200px;
  padding: 12px 0;
  margin-bottom: 0;
  border: solid 1px white;
  color: white;
  background-color: black;
}

.button input:hover{
  color: black;
  background-color: white;
}

footer{
  padding: 10px;
  text-align: center;
  color: white;
  background-color: black;
  font-size: 12px;
}

@media(max-width: 600px){
  header{
    padding: 20px 16px;
  }

  .toggle-btn{
    right: 20px;
  }

  .sec-title{
    margin-bottom: 20px;
    font-size: 24px;
  }

  .bg-video{
    height: 100vh;
  }

  .feature{
    padding: 80px 16px;
  }

  .grid .item-content{
    padding: 16px;
  }

  .contact{
    padding: 80px 0;
  }

  .contact-wrapper{
    flex-direction: column;
  }

  .contact-info,
  .contact-form,
  .button input{
    width: 100%;
  }
}