#index #content {
  padding-bottom: 90px;
}

#index #content ul {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
}

#index #content ul li
/*{width:235px;height:316px;margin:10px}*/ {
  width: calc(25% - 10px);
  margin: 5px 5px 10px;
}

#index #content ul li a {
  display: block;
  width: 100%;
  aspect-ratio: 55/82;
}

#index #content ul li a .img {
  width: 100%;
  height: 100%;
}

#index #content ul li a .txt {
  font-size: 14px;
  font-weight: normal;
}

#index #content ul li a .txt strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Montserrat", "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.1em;
  font-size: 20px;
  font-weight: 700;
}

#index #content ul li .details {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

#index #content ul li .details .details_image {
  width: 30%;
}

#index #content ul li .details .details_image img {
  width: 100%;
}

#index #content ul li .details ul {
  width: 70%;
  display: flex;
  flex-direction: column;
}

#index #content ul li .details ul li {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}

#index #content ul li .details ul .details_name {
  font-size: 14px;
  margin-bottom: 1rem;
}

#index #content ul li .details ul .details_class {
  font-size: 12px;
}

#index #content ul li .details ul .details_smane {
  font-size: 12px;
}

@media screen and (max-width: 737px) {
  #index #content {
    padding-bottom: 40px;
  }
  #index #content ul {
    width: auto;
    padding: 0 15px;
  }
  #index #content ul li {
    width: calc(50% - 10px);
    margin: 5px 5px 10px;
  }
  #index #content ul li .img {
    /*height: 60vw;*/
  }
  #index #content ul li .txt {
    position: inherit;
    margin-top: 5px;
    font-size: 12px;
    color: #000;
  }
  #index #content ul li .txt strong {
    margin-bottom: 0;
    font-size: 14px;
  }
  #index #content ul li .details ul {
    padding: 0;
  }
  #index #content ul li .details ul .details_name {
    font-size: 12px;
    margin-bottom: 0;
  }

  #index #content ul li .details ul .details_class {
    font-size: 10px;
  }

  #index #content ul li .details ul .details_smane {
    font-size: 10px;
  }
}

#detail #content {
  padding-bottom: 90px;
}

#detail #content article .row {
  position: relative;
}

#detail #content.inner {
  max-width: 1100px;
  padding: 80px 20px 90px 20px;
}

#detail #content article .row .slideArea {
  float: left;
  width: 50%;
}

#detail #content article .row .slideArea #main-carousel img {
  width: 100%;
  object-fit: cover;
}

#detail #content article .row .slideArea #thumbnail-carousel {
  position: absolute;
  bottom: 0;
  right: -100%;
  width: 100%;
  max-width: 500px;
}

#detail #content article .row .slideArea #thumbnail-carousel img {
  width: 100%;
  object-fit: cover;
}

/*
#detail #content article .row .slideArea .slideArea-for li {
  height: auto;
  overflow: hidden;
}

#detail #content article .row .slideArea .slideArea-for li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

#detail #content article .row .slideArea .slideArea-nav {
  position: absolute;
  bottom: 0;
  right: -100%;
  width: 100%;
  max-width: 500px;
}

#detail #content article .row .slideArea .slideArea-nav li {
  width: 150px;
  height: 200px;
  margin: 0 6px;
  overflow: hidden;
  cursor: pointer;
}

#detail #content article .row .slideArea .slideArea-nav li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

#detail #content article .row .slideArea .slick-track {
  margin: 0;
}
*/

#detail #content article .row .txtArea {
  float: right;
  width: 48%;
}

#detail #content article .row .txtArea .hd {
  padding-bottom: 5px;
  border-bottom: 1px solid #000;
}

#detail #content article .row .txtArea .hd h3 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

#detail #content article .row .txtArea .list {
  position: relative;
  margin-top: 17px;
}

#detail #content article .row .txtArea .list + dl {
  margin-top: 7px;
}

#detail #content article .row .txtArea .list dt {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
}

#detail #content article .row .txtArea .list dd {
  padding-left: 80px;
}

#detail #content article .row .txtArea .staffArea {
  margin-top: 16px;
}

#detail #content article .row .txtArea .staffArea .row {
  display: table;
}

#detail #content article .row .txtArea .staffArea .row:after {
  display: none;
}

#detail #content article .row .txtArea .staffArea .row .staffImg {
  display: table-cell;
  float: none;
  vertical-align: middle;
}

#detail #content article .row .txtArea .staffArea .row .staffImg .img {
  width: 70px;
  height: 70px;
  overflow: hidden;
}

#detail #content article .row .txtArea .staffArea .row .staffImg .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

#detail #content article .row .txtArea .staffArea .row .staffImg .img img {
  height: auto;
}

#detail #content article .row .txtArea .staffArea .row dl {
  display: table-cell;
  padding-left: 10px;
  vertical-align: middle;
}

#detail #content article .row .txtArea .staffArea .row dl dt {
  font-size: 13px;
  /*font-weight:bold*/
}

#detail #content article .row .txtArea .staffArea .row dl dd a {
  font-size: 20px;
  font-weight: bold;
}

#detail #content article .row .txtArea .staffArea .row dl:after {
  display: none;
}

#detail #content article .row .txtArea .staffArea .comment {
  position: relative;
  margin-top: 20px;
  padding: 16px 20px;
  background: #efefef;
}

/*#detail #content article .row .txtArea .staffArea .comment:after{position:absolute;top:-20px;left:32px;width:0;height:0;border-style:solid;border-width:20px 0 0 23px;border-color:transparent transparent transparent #efefef;content:""}*/

@media screen and (max-width: 737px) {
  #detail #content.inner {
    padding: 30px 20px 90px 20px;
  }
  #detail #content article .row .slideArea {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  #detail #content article .row .slideArea #main-carousel {
    width: 250px;
    height: auto;
    margin: 0 auto;
  }

  #detail #content article .row .slideArea #thumbnail-carousel {
    position: inherit;
    bottom: inherit;
    right: inherit;
    width: auto;
    margin: 10px auto 0;
  }

  /*
  #detail #content article .row .slideArea .slideArea-for {
    width: 250px;
    height: auto;
    margin: 0 auto;
  }
  #detail #content article .row .slideArea .slideArea-for li {
    height: auto;
  }
  #detail #content article .row .slideArea .slideArea-nav {
    position: inherit;
    bottom: inherit;
    right: inherit;
    width: auto;
    margin: 10px auto 0;
  }
  #detail #content article .row .slideArea .slideArea-nav li {
    width: auto;
    height: 28vw;
  }
  */
  #detail #content article .row .txtArea {
    float: none;
    width: 100%;
    margin-top: 20px;
    /*padding:0 20px;*/
    box-sizing: border-box;
  }
  #detail #content article .row .txtArea .hd {
    padding-bottom: 5px;
  }
  #detail #content article .row .txtArea .hd h3 {
    font-size: 21px;
  }
  #detail #content article .row .txtArea .list {
    margin-top: 15px;
  }
  #detail #content article .row .txtArea .list + dl {
    margin-top: 10px;
  }
  #detail #content article .row .txtArea .list dt {
    width: 70px;
    font-size: 12px;
    line-height: 20px;
  }
  #detail #content article .row .txtArea .list dd {
    padding-left: 80px;
  }
  #detail #content article .row .txtArea .staffArea {
    margin-top: 10px;
  }
  #detail #content article .row .txtArea .staffArea .comment {
    padding: 12px 15px;
    font-size: 12px;
  }
  /*#detail #content article .row .txtArea .staffArea .comment:after{left:26px}*/
}

#detail #content .pagerArea {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  margin-top: 20px;
}

#detail #content .pagerArea .arr {
  width: 80px;
  height: 100px;
  text-align: center;
}

#detail #content .pagerArea .arr img {
  width: 100%;
}

#detail #content .pagerArea .index {
  width: 100%;
  margin-top: 10px;
}

#detail #content .pagerArea .index a {
  width: 500px;
  margin: 0 auto;
}

#detail #content .pagerArea .item.h-txt .txt {
  font-family: "Montserrat", "Roboto", sans-serif;
}

@media screen and (max-width: 737px) {
  #detail #content .pagerArea {
    margin-top: 20px;
    /*padding:0 20px*/
  }
  /*#detail #content .pagerArea .arr span{width:50px;height:68px;font-size:12px}*/
  #detail #content .pagerArea .item.h-txt .txt {
    position: inherit;
    margin-top: 5px;
    font-size: 12px;
    color: #000;
    font-family: "Montserrat", "Roboto", sans-serif;
  }
  #detail #content .pagerArea .index a {
    width: 65%;
    line-height: 40px;
  }
}

#detail #content article .row .txtArea .staffArea .row .staffImg .img img,
#detail #content .pagerArea .arr img {
  image-rendering: -webkit-optimize-contrast;
}

/* #hairsearch */

#hairsearch {
  border: 1px solid #000;
  max-width: 1170px;
  width: 100%;
  padding: 10px;
  margin: 0 auto 20px auto;
}

#hairsearch form {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: auto;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}

.searchbox {
  width: 82%;
}

.searchlist {
  padding: 5px 0;
  border-bottom: #7f7f7f 1px dotted;
  margin-right: 1rem;
}

.searchbox_title {
  display: inline-block;
  text-align: center;
  width: 110px;
  background: #7f7f7f;
  color: #fff;
  margin: 0 1rem 0.5rem 0;
}

.searchlist label {
  cursor: pointer;
  display: inline-block;
  margin-right: 10px;
  line-height: 16px;
}

.searchlist input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: -2px 5px 0 0;
  padding: 0;
  box-sizing: border-box;
  vertical-align: middle;
}

.searchlist input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: -2px 5px 0 0;
  padding: 0;
  box-sizing: border-box;
  vertical-align: middle;
}

.buttonbox button {
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;
}

.buttonbox .btnSimple {
  display: block;
  line-height: 3 !important;
  width: 200px;
  background: #7f7f7f;
  color: #fff !important;
  -webkit-writing-mode: horizontal-tb !important;
  -webkit-appearance: button;
  border-color: rgb(216, 216, 216) rgb(209, 209, 209) rgb(186, 186, 186);
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  padding: 1px 7px 2px;
  text-rendering: auto;
  color: initial;
  display: inline-block;
  text-align: center;
  margin: 0em;
  font: 400 11px system-ui;
  letter-spacing: 0.05em;
  font-size: 14px;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 737px) {
  #hairsearch {
    width: 92%;
    margin: 0 auto;
  }
  #hairsearch form {
    max-width: auto;
    margin: 0 auto;
  }
  .searchbox {
    width: 100%;
  }
  .searchbox .searchlist:first-child {
    border-top: none;
  }
  .searchbox_title {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  .searchlist {
    margin-right: 0;
  }
  .searchlist label {
    line-height: 2;
    margin: 0 0.5rem;
  }
  .searchlist input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: -2px 5px 0 0;
    padding: 0;
    box-sizing: border-box;
    vertical-align: middle;
  }
  .searchlist input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: -2px 5px 0 0;
    padding: 0;
    box-sizing: border-box;
    vertical-align: middle;
  }
  .buttonbox {
    margin-top: 10px;
  }
  .buttonbox .btnSimple span {
    display: inline-block;
  }
}
