@charset "utf-8";

/* =======================
　　　PC・共通部分
======================= */
main{
    padding-top: 70px;
}

section{
    margin: 100px auto;
    padding: 0 10px;
}

.case_ttl{
    margin: 80px 0 60px;
    text-align: center;
}

/* BTN */
.case_btn {
  background: #fff;
  color: #000;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 1px solid #000;
  width: 207px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 53px auto;
}

.case_btn::after{
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .4s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.case_btn:hover a{
  color: #fff;
}

.case_btn:hover::after{
  transform: scale(1, 1);
}


/* NAV */
.case_page_nav {
    display: flex;
    justify-content: space-around;
    width: 19%;
    margin: 0 auto;
}



/* スーツ一覧 */
.case_wrap {
    display: flex;
    flex-wrap: wrap;
    width: 69%;
    margin: 0 auto;
    justify-content: flex-start;
}

.case_box {
    width: 24%;
    margin: 3em;
}

p.suit_name {
    font-size: 1.2em;
    padding: 0.5em 0;
}

/* 詳細ページ */
.suit_case h2 {
    text-align: center;
    font-size: 1.8em;
}

/* .case_wrap.width_img {
    justify-content: center;
} */

/* ---------------

     SP

------------------ */
@media screen and (max-width:768px){
.case_ttl {
    margin: 40px 0 50px;
    text-align: center;
}

section {
    margin: 100px auto;
    padding: 0 10px;
    margin-top: 52px;
}

.suit_case h2 {
    text-align: center;
    font-size: 1.4em;
    padding-bottom: 9px;
}

.case_box {
    width: 50%;
    padding: 10px;
    margin: 0;
}

.case_wrap{
    width: 100%;
}

.case_page_nav {
    width: 70%;
}

.case_wrap.width_img {
    justify-content: flex-start;
}

}