:root {
  --greydark: #333333;
  --greylight: #d6d6d6;
  --white: #f5f5f7;
  --text: #1d1d1f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  font-size: 14px;
  font-family: Shippori Mincho;
}

.site-title {
  line-height: 1px;
}

.site-title a {
  display: block;
}


#header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  position: fixed;
  z-index: 10;
  background-color: var(--white);

}

#navi {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  color: var(--white);
  padding: 60px 25px;
  background-color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 20;
  opacity: 0;
}

#navi a {
  color: var(--white);
}

.open #navi {
  left: 0;
  opacity: 1;
}

#navi ul {
  margin: 0;
  padding: 0;
}

#navi ul.nav-menu {
  margin-bottom: 60px;
  border-top: solid 1px var(--greydark);
}

#navi ul.nav-menu li {
  position: relative;
  margin: 0;
  padding: 20px 0;
  border-bottom: solid 1px var(--greydark);
}

#navi ul.nav-sns li {
  padding: 5px 0;
}

.toggle_btn {
  display: block;
  position: fixed;
  top: 25px;
  right: 45px;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 20;
}

.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--text);
  border-radius: 4px;
  transition: all .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;
}

.open .toggle_btn span {
  background-color: var(--white);
}

.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}

#mask {
  display: none;
  transition: all .5s;
}

.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--greydark);
  opacity: .8;
  z-index: 10;
  cursor: pointer;
}



#main {
  padding-top: 80px;
}

#bg-video {
  width: 100%;
  height: 50%;
}

.sec-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  font-family: Anton;
  margin-top: 100px;
  margin-bottom: 50px;
  letter-spacing: 4px;
}


#pickup {
  width: 100%;
  padding: 100px 0 50px 0;
   overflow: hidden;
  width: 100%;
}


#pickup .slick-area {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: none;                 
  width: max-content;         
  animation: pickup-scroll 60s linear infinite;
  overflow: scroll;
  scroll-snap-type: x mandatory;
  font-size: 0;
}


#pickup .slick-area > li {
  flex: 0 0 auto;
}


#pickup .slick-area img {
  display: block;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}


@keyframes pickup-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}


#pickup .slick-area li {
  padding: 0 30px;
}


#pickup .slick-area li img {
  width: 370px;
  height: 200px;
  padding: 10px;
  object-fit: cover;
  object-position: center;
}



#feature {
  width: 100%;
  max-width: 1200px;
  padding: 100px 16px 50px;
  margin: 0 auto ;
  box-sizing: border-box;
}

#feature .grid {
  display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
width: 100%;
}

#feature .fadein {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: 100%;
}

#feature .grid .item {
  transition: all 0.3s ease;
  box-shadow: 0 0 8px 4px #ccc;
}

#feature .grid img {
  vertical-align: top;
}

#feature .grid .item-content {
  padding: 30px;
}

#feature .grid .item-cat {
  font-size: 0.75rem;
  margin-bottom: 20px;
}

#feature .grid .item-text {
  font-weight: bold;
  margin-bottom: 20px;
}

#feature .grid .item-date {
  font-size: 0.75rem;
  text-align: right;
  margin-top: 10px;
}



#contact {
  color: var(--white);
  background-color: var(--greydark);
  padding: 20px 0;
}

#contact .sec-title{
  margin-bottom: 100px;
}

#contact .content-info p{
  margin-bottom: 30px;
}

.contact-info p{
  max-width: 500px;
font-size: 17px;
margin-bottom: 20px;
}

#contact .content{
  max-width: 1240px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

#contact .contact-info,
#contact .contact-form {
  width: 45%;}

#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  background-color: var(--white);
  padding: 10px;
  margin-bottom: 20px;
}


#contact .contact-form .button input{
  width: 200px;
  color: var(--white);
background-color: var(--text);
  border: solid 1px var(--greylight);
  padding: 12px 0;
  margin-bottom: 0;
}




#footer{
  background-color: var(--greydark);
  color: var(--white);
  padding: 10px;
}

#footer p{
  display: flex;
 justify-content: center;
}
/*Anton Noto Serif*/




@keyframes pickup-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}


@media (max-width: 600px) {
  #pickup .slick-area {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: none;
    width: max-content;
    animation: pickup-scroll 60s linear infinite; 
    overflow: hidden;
    scroll-snap-type: x mandatory;
    font-size: 0;
  }

  #pickup .slick-area > li {
    flex: 0 0 auto;
  }

  #pickup .slick-area img {
    display: block;
    width: 360px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
  }
}



@media (max-width: 600px) {
  #pickup .slick-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: none; 
  }

  #pickup .slick-area img {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 600px) {


  #header { 
    padding: 14px 16px; 
  }
  #main   { 
    padding-top: 72px;
   }

 
  #feature {
    padding: 60px 16px 40px 16px;
    margin: 0 auto;
  }
  #feature .grid {
    grid-template-columns: 1fr;     
    gap: 18px;
  }
  #feature .fadein {
     width: 100%; height: auto;
     }


  #contact { 
    padding: 30px 0;
   }
  #contact .sec-title {
     margin-bottom: 36px;
     }

  #contact .content {
    flex-direction: column;         
    gap: 28px;
    padding: 0 16px;
    margin: 0 auto 60px;
    max-width: 720px;
  }

  #contact .contact-info,
  #contact .contact-form {
     width: 100%;
     }
  #contact .contact-form .button input {
    width: 100%;
   }



  #pickup .slick-area li {
    padding: 0 !important;
   }

  
  #pickup {
     padding:
      60px 0 30px;
     }
  #pickup .slick-area {
    display: flex;
    flex-direction: row;               
    gap: 10px;
    padding: 0 10px;
    width: max-content;
    overflow-x: auto;                 
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;       
    animation: pickup-scroll 45s linear infinite;
    font-size: 0;
  }

  #pickup .slick-area > li { 
    flex: 0 0 auto; scroll-snap-align: start;
   }


  #pickup .slick-area img {
    width: 260px;            
    height: 170px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
  }
}


@media (max-width: 600px) {

  #feature .grid {
     grid-template-columns: 1f;
     gap: 18px;
     }

       #feature .fadein {
    width: 100%;
    height: auto;
  }
}
  #contact .content { 
    gap: 32px; padding: 0 20px; 
  }



@media (prefers-reduced-motion: reduce) {
  #pickup .slick-area {
     animation: none !important;
     }
}

#pickup .slick-area img,
#feature .grid img {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity .9s ease .75s, transform .9s ease;
  will-change: opacity, transform;
}

/* 画面に入ったら発火 */
#pickup .slick-area img.is-inview,
#feature .grid img.is-inview {
  opacity: 1;
  transform: none;
}

#pickup .slick-area li:nth-child(1) img { transition-delay: .1s; }
#pickup .slick-area li:nth-child(2) img { transition-delay: .3s; }
#pickup .slick-area li:nth-child(3) img { transition-delay: .45s; }
#pickup .slick-area li:nth-child(4) img { transition-delay: .6s; }
#pickup .slick-area li:nth-child(5) img { transition-delay: .75s; }

#feature .grid .item:nth-child(1) img { transition-delay: .1s; }
#feature .grid .item:nth-child(2) img { transition-delay: .3s; }
#feature .grid .item:nth-child(3) img { transition-delay: .45s; }
#feature .grid .item:nth-child(4) img { transition-delay: .6s; }
#feature .grid .item:nth-child(5) img { transition-delay: .75s; }