body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: #fff;
  color: #704a28;
}

.select-stylist {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.select-stylist-head {
  flex: 0 0 auto;
}

.select-stylist ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: baseline;
}

.select-stylist li + li {
  margin-left: 15px;
}

@media screen and (max-width: 767px) {
  .select-stylist {
    flex-wrap: wrap;
    gap: 8px;
  }

  .select-stylist ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .select-stylist li + li {
    margin-left: 10px;
  }
}

.top-image .slides {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-image .slides li {
  display: none;
}

.top-image .slides li:first-child {
  display: block;
}

/* Keep HOME BLOG thumbnails square like WP middle-feature output. */
.top-blog .top-blog-image {
  aspect-ratio: 1 / 1;
  background-position: center center;
  background-size: cover;
}

.top-blog .top-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.top-blog:nth-child(1) .top-blog-image img,
.top-blog:nth-child(2) .top-blog-image img,
.top-blog:nth-child(3) .top-blog-image img,
.top-blog:nth-child(4) .top-blog-image img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Fallback for cases where JS orientation class is delayed. */
.hair-style .hair-style-wrapper {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-size: contain;
}

.hair-style .hair-style-wrapper.is-landscape {
  width: 100%;
  height: 75%;
  left: 0;
  top: 12.5%;
}

.hair-style .hair-style-wrapper.is-portrait {
  width: 75%;
  height: 100%;
  left: 12.5%;
  top: 0;
}

/* HOME HAIR STYLE slider: avoid first-slide-only top offset from legacy rules. */
.home .hp-styles-slider .slides > li {
  margin-top: 0 !important;
}

.main-contents .article-body video {
  display: block;
  max-width: 100%;
  height: auto;
}

.single-news .main-contents {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.calendar td {
  background: #fff;
}

.calendar .is-close {
  background: rgba(255, 0, 0, 0.08);
}

.staff-profile .staff-link + .staff-link {
  margin-left: 3px;
}

.overlay-bg {
  display: block !important;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 100ms ease, visibility 0s linear 100ms;
}

.overlay-bg.is-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.sp-menu {
  right: 0 !important;
  transform: translate3d(100%, 0, 0);
  transition: transform 100ms linear;
  will-change: transform;
}

.sp-menu.is-menu-open {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .overlay-bg,
  .sp-menu {
    transition: none;
  }
}

@media screen and (max-width: 767px) {
  .title {
    overflow: hidden;
    padding-left: 48px;
    padding-right: 48px;
  }

  .title a {
    display: block;
    max-width: 100%;
  }

  .title-main img {
    width: min(62vw, 250px) !important;
    max-width: 100%;
    height: auto !important;
  }

  .page-price .main-contents,
  .single .is-detail .main-contents {
    box-sizing: border-box;
    width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-price .priecs {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .page-price .priecs > li,
  .page-price .price-category {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 34px 0 0 !important;
    box-sizing: border-box;
  }

  .page-price .price-list,
  .page-price .priecs dl {
    display: block !important;
    font-size: 14px !important;
  }

  .page-price .price-list dt,
  .page-price .priecs dt {
    box-sizing: border-box;
    display: inline !important;
    float: none !important;
    width: auto !important;
    max-width: none;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.6;
  }

  .page-price .price-list dd,
  .page-price .priecs dd {
    display: inline !important;
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 0 0 0.75em !important;
    font-size: 14px !important;
    line-height: 1.6;
    text-align: left;
    white-space: nowrap;
  }

  .page-price .price-list dd::after,
  .page-price .priecs dd::after {
    content: "";
    display: block;
  }

  .hairstyle-photos,
  .hairstyle-information,
  .hairstyle-menu,
  .hairstyle-data,
  .hairstyle-type,
  .hairstyle-comment {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  .hairstyle-photo-main-wrapper,
  .hairstyle-photo-thumbnails {
    max-width: 100%;
  }

  .hairstyle-information {
    margin-top: 28px;
  }

  .hairstyle-information-body {
    overflow-wrap: anywhere;
  }
}
