@charset "utf-8";

/*
  File Name   : hair-style.css
  Description : STYLEページ
*/

/* hair-style index
============================================================ */
.style-category-list ul {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.style-category-list li {
  display: table-cell;
}
.style-category-list li + li {
  border-left: 1px solid;
}
.style-category-list li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  text-decoration: none;
  transition: .3s ease;
}
.style-category-list li a:hover,
.style-category-list li.current a {
  color: #fff;
  background: #000;
}
.style-list ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.style-list__item a {
  display: block;
  text-decoration: none;
}
.style-list__item__image {
  width: 100%;
}
.style-list__item__image > div {
  width: 100%;
  padding-top: 100%;
  background: no-repeat center center / cover;
}

@media screen and (min-width: 812px) {
  .style-category-list {
    margin-bottom: 80px;
  }
  .style-category-list li a {
    height: 4em;
  }
  .style-list ul:before,
  .style-list ul:after {
    content: "";
    width: 23.5%;
    height: 0;
    visibility: hidden;
  }
  .style-list ul:before {
    order: 1;
  }
  .style-list__item {
    width: 23.5%;
  }
  .style-list__item:nth-child(n+5) {
    margin-top: 40px;
  }
  .style-list__item__image {
    margin-bottom: 1.5em;
  }
  .style-list + .com-pagination {
    margin-top: 100px;
  }
}

@media screen and (max-width: 811px) {
  .style-category-list {
    margin-bottom: 3rem;
    font-size: .7rem;
  }
  .style-category-list li a {
    height: 3em;
  }
  .style-list__item {
    width: 47.5%;
  }
  .style-list__item:nth-child(n+3) {
    margin-top: 3rem;
  }
  .style-list__item__image {
    margin-bottom: 1rem;
  }
  .style-list + .com-pagination {
    margin-top: 5rem;
  }
}


/* hair-style detail
============================================================ */
.style-detail .com-change-images__main {
  max-width: 540px;
  margin: 0 auto;
}
.style-detail .com-change-images__thumb li {
  width: calc(100% / 7);
}
.style-detail .com-change-images__thumb__image {
  padding-top: calc(168 / 128 * 100%);
}
.style-detail-staff a {
  display: inline-block;
}
.style-detail-staff-inner {
  display: flex;
  align-items: center;
}
.style-detail-staff__image > div {
  width: 100%;
  padding-top: 100%;
  border-radius: 50%;
  background: no-repeat center center / cover;
}
.style-detail-staff__text {
  font-weight: bold;
}
.style-detail-content__ttl {
  line-height: 1.4;
}
.style-detail-footer {
  text-align: center;
}

@media screen and (min-width: 812px) {
  .style-detail .com-change-images__thumb {
    margin-left: -7px;
    margin-right: -7px;
  }
  .style-detail .com-change-images__thumb li {
    padding-left: 7px;
    padding-right: 7px;
  }

  .style-detail-staff {
    margin-top: 60px;
  }
  .style-detail-staff__image {
    width: 90px;
  }
  .style-detail-staff__text {
    padding-left: 2em;
  }
  .style-detail-content {
    margin-top: 40px;
  }
  .style-detail-content__ttl {
    margin-bottom: 1em;
    font-size: 2rem;
  }
  .style-detail-footer {
    margin-top: 70px;
  }
}

@media screen and (max-width: 811px) {
  .style-detail-staff {
    margin-top: 2rem;
  }
  .style-detail-staff__image {
    width: 5rem;
  }
  .style-detail-staff__text {
    padding-left: 1em;
  }
  .style-detail-content {
    margin-top: 2rem;
  }
  .style-detail-content__ttl {
    margin-bottom: .5em;
    font-size: 1.2rem;
  }
  .style-detail-footer {
    margin-top: 5rem;
  }
}
