@charset "UTF-8";
/* CSS Document */
.section__category {
  width: 95%;
  margin: 0 auto;
}
.section__category h2 {
  font-size: 8rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;;
    color: #000;
    padding: 3% 5%;
    border-radius: 10px;
    margin: 15% auto 5%;
    text-align: left;
}
.section__category h2 span{
  font-size: 1.8rem;
    font-family: 'Noto Sans JP';
    margin-left: 15px;
}
.fashion, .beauty, .interior, .food {
  display: flex;
  flex-direction: row;
  width: 90%;
  margin: 200px auto 80px;
  gap: 5%;
}
.fashion__text, .beauty__text,.interior__text, .food__text  {
  display: flex;
  flex-direction: column;
  column-gap: 10%;
  align-items: center;
}
.line { 
   font-family: "Noto Sans JP";
    font-size: 2rem;
    margin-bottom: 30px;
    /* letter-spacing: 0; */
    text-align: left;
    background: linear-gradient(transparent 95%, rgba(1, 1, 1, 1) 80%);
    width: 100%;
}
.line {
  /* 背景の繰り返しを停止 */
  background-repeat: no-repeat;
  /* マーカーの横方向を0にして縮める */
  background-size: 0% 100%;
  /* マーカーが引かれる速度を指定 */
  transition: background-size 1.5s;
}
/* マーカーが引かれる際に付与するクラス */
.line.on {
  /* 横方向を100%にして、マーカーを引く */
  background-size: 100% 100%;
}


.fashion img, .beauty img,.interior img, .food img {
  width: 55%;
  height: 420px;
  object-fit: cover;
}
@media (max-width: 820px) {
  .section__category {
    width: 100%;
  }
    .section__category h2{
   font-size: 4.3rem;
   margin-top: 25%;
  }
  .section__category h2 span{
  font-size: 1.5rem;
  }
}
@media (max-width: 820px) {
  .fashion, .beauty,.interior, .food {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin: 130px auto 0;
  }
  .line {
    margin: 30px 0 ;
        
  }
  .fashion__text, .beauty__text,.interior__text, .food__text{
        margin: 0 auto 30px;
    width: 80%;
    align-items: center;
  }

  .fashion img, .beauty img, .interior img, .food img {
    width: 100%;
    height: 450px;
    object-fit: cover;
  }
}
@media (max-width: 520px){
 .section__category h2 {
        margin-top: 40%;
  }

    .fashion h3, .beauty h3, .interior h3, .food h3{
                font-size: 2.5rem;
        line-height: 3.5rem;
      
  }
    .fashion__text p, .beauty__text p, .interior__text p, .food__text p {
        width: 95%;
}
  .fashion img, .beauty img, .interior img, .food img {
    height: 280px;
  }
     .fashion__text, .beauty__text,.interior__text, .food__text{
       width: 100%;
}
}
.section__category {
  position: relative;
}
.section__category_wapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.section__category_content {
  position: relative;
  margin-bottom: 60px;
  border-radius: 20px;
  overflow: hidden;
}
.section__category_content a {
  opacity: 1;
}
.section__category_content h3 {
    font-family: "Noto Sans JP";
    font-size: 2rem;
    margin-bottom: 10%;
    font-weight: 500;
    line-height: 2.5rem;
    text-align: center;
    position: absolute;
    top: 55%;
    left: 50%;
    color: #FFF;
    z-index: 10;
    transform: translate(-50%, -50%);
}
.section__category_content_img {
  cursor: pointer;
  max-width: 480px;
  overflow: hidden;
  width: 420px;
  height: 280px;
}
.section__category_content_img h3 {
  display: flex;
  flex-direction: column;
}
.section__category_content_img::after {
  content: "";
  background: #333;
  opacity: .5;
  position: absolute;
  /*top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  ↓nset:0;*/
  inset: 0;
}
.section__category_content_img img {
  width: 420px;
  height: 280px;
  transition: transform 1s ease; /* ゆっくり変化させる */
}
.section__category_content_img:hover img {
  transform: scale(1.2); /* 拡大 */
}
.section__category_content_img span {
  font-family: "Noto Sans JP";
  font-size: 1.2rem;
  font-weight: 500;
}
.slider {
  visibility: hidden;
}
.slider, .slick-initialized, .slick-slider, .slick-dotted {
  width: 100%;
}
.slider.slick-initialized {
  visibility: visible;
}
.slick-prev, .slick-next {
  z-index: 1;
}
.slick-prev {
  left: 10px;
}
.slick-next {
  right: 10px;
}
.slider img {
  border-radius: 1%;
  width: 85%; /*スライダー内の画像を横幅100%に*/
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
@media (max-width: 820px) {
  .section__category_wapper {
    width: 90%;
    margin: 0 auto;
  }
  .section__category_content_img {
    height: 140px;
    display: flex;
   align-items: center;
  }
  .section__category_content_img img {
        object-fit: contain;
        object-position: -62% 0;
        margin: 0 auto;
  }
  .section__category_content {
    margin-bottom: 30px;
    width: 280px;
    border-radius: 10px;
  }
}

.food h3 {
  position: relative;
}
.food h3 span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0%;
  width: 100%;
  height: 1px;
  background: #FFF;
  transition: all .3s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*左上基点*/
}
 .food h3 span:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}