/* news */
.newsWrap{
    width: 80%;
    margin: 100px auto 0;
}
.newsWrap h2{
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.1rem;
}
.newsWrap h2 span{
    display: block;
    padding: 30px;
}
.newsDetailWrap{
    padding: 60px 0;
}
.newsDetail{
    display: flex;
    border-top: 1px solid #8d8d8d;
    padding: 30px 0;
}
.last-child{
    border-bottom: 1px solid #8d8d8d;
}
.newsDetail dt{
    font-size: 1.4rem;
    width: 10rem;
}
.newsDetail dd{
    font-size: 1.4rem;
    line-height: 1.7rem;
}

/* contents */
.contentsWrap{
    margin: 100px 0;
}
.contentsWrap ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

}
.contents{
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center; 
    align-items: center; 
    aspect-ratio: 600 / 360;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
}
.contents1{
    background-image: url(/top/img/company.png);
}
.contents2{
    background-image: url(/top/img/brand.png);
}
.contents3{
    background-image: url(/top/img/shop.png);
}
.contents4{
    background-image: url(/top/img/corporatepartner.png);
}
.contents5{
    background-image: url(/top/img/recruit.png);
}
.contents::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.4); /* 黒フィルター */
    z-index: 1;
}

.contentsTxtWrap {
    position: relative;
    z-index: 2;
    text-align: center;
}
.contentsTtlWrap{
    color: #ffffff;
}
.contentsTtl-en{
    display: inline-block;
}
.contentsTtl-ja{
    font-size: 1.8rem;
    padding: 1.8rem 0;
}


/* acordion */
.newsMore {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.newsWrap.is-open .newsMore {
  max-height: 500px;
}
.newsAccordionBtn {
  display: block;
  margin: 0 auto;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 30px;
  transition: transform 0.3s;
}
.newsWrap.is-open .newsAccordionBtn {
  transform: rotate(180deg);
}
.newsAccordionBtn p{
    max-width: 50px;
    margin: 0 auto;
}
.newsAccordionBtn p img{
    width: 100%;
    height: auto;
}



@media screen and (max-width: 768px) {
    .newsWrap{
        width: 100%;
        margin-top: 50px;
    }
    .newsDetail{
        display: block;
        padding: 30px 0;
    }
    .newsDetail dt{
        padding-bottom: 10px;
        width: 95%;
        margin: 0 auto;
    }
    .newsDetail dd{
        line-height: 2rem;
        width: 90%;
        margin: 0 auto;
        
    }
}


@media screen and (max-width: 587px) {
    .newsWrap h2{
        font-size: 1.6rem;
    }
    .newsWrap h2 span{
        font-size: 1.2rem;
        padding: 15px;

    }
    .newsDetailWrap{
        padding: 40px 0;
    }
    .newsDetail{
        padding: 20px 0;
        font-size: 0.8rem;
    }
    .newsDetail dt{
        padding-bottom: 10px;
    }
    .newsDetail dd{
        line-height: 2rem;
    }


    .contentsWrap{
        margin: 100px 0;
    }
    .contentsWrap ul{
        display: block;
        
    }
    .contents{
        margin-bottom: 20px;

    }

}