@charset "UTF-8";

/* ==========================================================================
   スタイリング一覧・スタイリング紹介
   ========================================================================== */

.page_styling .site-main img {
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* スタイリング一覧
--------------------------------------------- */

.slist {
  padding: 0 0 120px;
  text-align: left;
}

.slist_inr {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 820px);
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
}

/* スタッフごとの一覧（絞り込みなし）は1カラム */
.slist_inr--full {
  grid-template-columns: minmax(0, 1fr);
}

.slist_inr--full .slist_list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.slist_side {
  align-self: start;
  position: sticky;
  top: 90px;
}

/* 絞り込み */
.sfilter {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.sfilter_group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sfilter_group legend,
.sfilter_label {
  display: block;
  padding: 0;
  margin-bottom: 15px;
  font-family: var(--ff-jp);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #313437;
}

.sfilter_group:nth-child(3) legend {
  margin-bottom: 18px;
}

.sfilter_label {
  margin-bottom: 11px;
}

.sfilter_group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sfilter_check {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--ff-jp);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #313437;
  cursor: pointer;
}

.sfilter_check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #d9d9d9;
  border-radius: 3px;
  background: #fff no-repeat center / contain;
  cursor: pointer;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.sfilter_check input:checked {
  border-color: transparent;
  background-image: url(../img/styling/ico_styling_check.svg);
}

.sfilter_check input:focus-visible {
  outline: 2px solid #313437;
  outline-offset: 2px;
}

.sfilter_check:hover input:not(:checked) {
  border-color: #b3b3b3;
}

/* キーワード */
.sfilter_kw {
  display: flex;
  width: 218px;
  max-width: 100%;
}

.sfilter_kw input {
  flex: 1;
  min-width: 0;
  height: 29px;
  padding: 4px 10px;
  border: 0;
  border-radius: 2px 0 0 2px;
  background-color: #f5f6f9;
  font-family: var(--ff-jp);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #313437;
  -webkit-appearance: none;
  appearance: none;
}

.sfilter_kw input::placeholder {
  color: #ccc;
}

.sfilter_kw input:focus {
  outline: 1px solid #313437;
  outline-offset: -1px;
}

.sfilter_kw button {
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 0;
  border-radius: 0 2px 2px 0;
  background: #313437 url(../img/styling/ico_styling_search.svg) no-repeat center / 24px;
  cursor: pointer;
  transition: opacity 0.25s;
}

.sfilter_kw button:hover {
  opacity: 0.8;
}

/* 一覧 */
.slist_list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 30px 0;
}

/* 一覧のアイコンは少し小さめ（共通は 40px） */
.slist_list .bstyling_shop {
  --icon: 32px;
}

/* 件数とページ送り（右寄せで、件数はページ送りのすぐ左） */
.slist_head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.slist_count {
  font-family: var(--ff-jp);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #656565;
}

.slist_empty {
  margin: 30px 0;
  font-family: var(--ff-jp);
  font-size: 15px;
}

/* スタイリング紹介
--------------------------------------------- */

.sdetail {
  padding: 100px 0 120px;
  background-color: #f8f7f3;
  text-align: left;
}

.sdetail_inr {
  max-width: 1100px;
}

.sdetail_intro {
  display: flex;
  align-items: flex-start;
  gap: 5.37%;
  padding-bottom: 30px;
}

/* 写真ギャラリー */
.sgallery {
  flex-shrink: 0;
  width: 43%;
}

/* メイン写真（スライド） */
.sgallery_main {
  position: relative;
  overflow: hidden;
  touch-action: pan-y; /* 横スワイプは写真の切り替えに使う（縦スクロールは通常どおり） */
}

.sgallery_track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); /* ゆるやかに減速 */
  will-change: transform;
}

.sgallery_track.is-dragging {
  transition: none; /* 指で動かしている間は追従させる */
}

.sgallery_slide {
  flex: 0 0 100%;
  margin: 0;
}

.sgallery_slide img {
  display: block;
  width: 100%;
  aspect-ratio: 470 / 587;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

/* 枚数（右下） */
.sgallery_count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* サムネイル */
.sgallery_thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-top: 6px;
}

.sgallery_thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.sgallery_thumb img {
  width: 100%;
  aspect-ratio: 64 / 80;
  object-fit: cover;
  transition: opacity 0.3s;
}

/* 表示中の写真のサムネイルを薄くする */
.sgallery_thumb.is-current img {
  opacity: 0.45;
}

@media (hover: hover) {
  .sgallery_thumb:not(.is-current):hover img {
    opacity: 0.75;
  }
}

/* テキスト */
.sdetail_txtbox {
  flex: 1;
  min-width: 0;
}

.sdetail_author {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  font-family: var(--ff-jp);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #313437;
}

.sdetail_author img {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 0;
}

.sdetail_author_link {
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.sdetail_author_link:hover {
  opacity: 0.7;
}

.sdetail_author_link img {
  display: block;
}

.sdetail_shop_link,
.sdetail_shop_link:visited {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sdetail_shop_link:hover {
  text-decoration: none;
}

.sdetail_date {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-en);
  font-size: 15px;
  font-weight: 700;
  line-height: 37.4px;
  letter-spacing: 0.03em;
}

.sdetail_catch {
  margin-top: 10px;
  font-family: var(--ff-jp);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.sdetail_txt {
  margin-top: 10px;
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0.05em;
  text-align: justify;
}

.sdetail_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-top: 10px;
}

.sdetail_tags a,
.sdetail_tags a:visited {
  font-family: var(--ff-jp);
  font-size: 14px;
  line-height: 27.2px;
  letter-spacing: 0.05em;
  color: #868686;
}

.sdetail_tags a:hover {
  text-decoration: underline;
  color: #313437;
}

/* 着用している商品 */
.sdetail_items {
  margin-top: 43px;
}

.sdetail_items h2 {
  font-family: var(--ff-jp);
  font-size: 20px;
  font-weight: 500;
  line-height: 27.2px;
  letter-spacing: 0.05em;
}

.sitem_list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 23px;
}

.sitem {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitem_img img {
  width: 100%;
  aspect-ratio: 126.5 / 158;
  object-fit: cover;
}

.sitem_txt {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 10px;
  font-family: var(--ff-jp);
  font-size: 13px;
  color: #313437;
}

.sitem_brand {
  font-weight: 700;
}

.sitem_brand a,
.sitem_brand a:visited {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sitem_brand a:hover {
  text-decoration: none;
}

.sitem_spec {
  color: #999;
}

.sitem_btn,
.sitem_btn:visited,
.sitem_btn:hover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 57px;
  padding: 9px 30px 8px 20px;
  border: 2px solid var(--c-black);
  border-radius: 100px;
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--c-black);
  background-color: #fff;
}

/* ●（ホバーで矢印付きの円に）：.btn_more と同じ動き */
.sitem_btn::before,
.sitem_btn::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translate(50%, -50%);
}

.sitem_btn::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  transition: width 0.3s, height 0.3s;
}

.sitem_btn::after {
  width: 20px;
  height: 20px;
  background-color: #fff;
  -webkit-mask: url(../img/common/ico_common_chevron.svg) no-repeat center / contain;
  mask: url(../img/common/ico_common_chevron.svg) no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.3s;
}

.sitem_btn:hover::before {
  width: 20px;
  height: 20px;
}

.sitem_btn:hover::after {
  opacity: 1;
}


/* タブレット
--------------------------------------------- */

@media screen and (max-width: 1100px) {
  .slist_inr {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }

  .slist_list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slist_inr--full {
    grid-template-columns: minmax(0, 1fr);
  }

  .slist_inr--full .slist_list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sitem_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* スマートフォン
--------------------------------------------- */

@media screen and (max-width: 640px) {
  /* 一覧 */
  .post-type-archive-styling .page_ttl {
    padding-bottom: 20px;
  }

  .slist {
    padding: 0 0 70px;
  }

  .slist_inr {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .slist_side {
    position: static;
    padding: 20px;
    background-color: #f8f7f3;
  }

  .sfilter {
    gap: 22px;
  }

  .sfilter_group legend,
  .sfilter_label,
  .sfilter_group:nth-child(3) legend {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .sfilter_group ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .sfilter_kw {
    width: 100%;
  }

  .sfilter_kw input,
  .sfilter_kw button {
    height: 36px;
  }

  .sfilter_kw input {
    background-color: #fff;
  }

  .sfilter_kw button {
    width: 36px;
  }

  .slist_list,
  .slist_inr--full .slist_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin: 20px 0;
  }

  /* 紹介 */
  .sdetail {
    padding: 40px 0 70px;
  }

  .sdetail_intro {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 20px;
  }


  .sgallery {
    width: 100%;
  }

  /* サムネイルを大きくして押しやすく（収まらない分は横スクロール） */
  .sgallery_thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sgallery_thumbs::-webkit-scrollbar {
    display: none;
  }

  .sgallery_thumb {
    flex: 0 0 64px;
  }

  .sgallery_count {
    right: 10px;
    bottom: 10px;
  }

  .sdetail_catch {
    font-size: 18px;
  }

  .sdetail_txt {
    font-size: 15px;
    line-height: 1.9;
  }

  .sdetail_items {
    margin-top: 30px;
  }

  .sdetail_items h2 {
    font-size: 18px;
  }

  .sitem_list {
    gap: 20px 14px;
    margin-top: 16px;
  }
}
