@charset "UTF-8";
/* ===============================
   COLLECTION PAGE
   =============================== */
.main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.main-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.main-copy h1 {
  font-size: 3rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5em;
}

.main-copy p {
  font-size: 1.2rem;
}

.main-read-txt {
  margin: 2em 0;
}
@media (max-width: 767px) {
  .main-read-txt {
    font-size: 14px !important;
  }
}

/* ===================================
   CATEGORY BLOCK（パララックス背景対応）
   =================================== */
.category-block {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  transition: background-position 0.2s ease-out;
}

.category-block.parallax {
  background-attachment: scroll;
  will-change: background-position;
}

.category-block .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.6s ease;
  z-index: 1;
}

.category-block:hover .overlay,
.category-block:focus-within .overlay {
  background: rgba(0, 0, 0, 0.15);
}

.category-block .inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.category-title {
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.category-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #fff;
  margin: 1rem auto 0;
  opacity: 0.7;
}

/* ===================================
   サブカテゴリリスト (.flex構造)
   =================================== */
.subcategory-list {
  justify-content: center;
  gap: 1.5rem;
}

.subcategory-list .flex-item {
  text-align: center;
  background: rgba(0, 0, 0, 0.4588235294);
  color: #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.subcategory-list .flex-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.subcategory-list figure {
  margin: 0;
  position: relative;
}

.subcategory-list img {
  width: 100%;
  height: auto;
  display: block;
}

.subcategory-list figcaption {
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 600;
  background: #f7f7f7;
  color: #333;
  border-radius: 25px;
  margin: 0.8rem auto;
  width: 80%;
  transition: background 0.3s ease, color 0.3s ease;
}

.subcategory-list .flex-item:hover figcaption {
  background: #333;
  color: #fff;
}

/* ===================================
   AOS + パララックス補正
   =================================== */
[data-aos] {
  will-change: transform, opacity;
}

/* ===================================
   レスポンシブ対応
   =================================== */
@media (max-width: 1024px) {
  .category-title {
    font-size: 2rem;
  }
  .subcategory-list .flex-item {
    border-radius: 6px;
  }
}
@media (max-width: 768px) {
  .category-block {
    background-attachment: scroll;
    min-height: 60vh;
  }
  .category-title {
    font-size: 1.8rem;
  }
  .main-copy h1 {
    font-size: 2rem;
  }
  .main-copy p {
    font-size: 1rem;
  }
  .subcategory-list figcaption {
    width: 90%;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .category-block {
    min-height: 50vh;
  }
  .category-title {
    font-size: 1.5rem;
  }
  .main-copy h1 {
    font-size: 1.6rem;
  }
}
/* ===================================
   詳細
   =================================== */
.collection-page {
  background: #fff;
  color: #333;
  font-family: "Oswald", sans-serif;
}
.collection-page .page-hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: #f8f8f8;
}
.collection-page .page-hero .hero-inner {
  margin-top: 30px;
}
.collection-page .page-hero .hero-title {
  margin: 0;
  letter-spacing: 0.1em;
  color: #046db3 !important;
}
.collection-page .page-hero .hero-sub {
  border-top: 3px solid;
  display: inline-block;
}
.collection-page .category-nav {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.collection-page .category-nav.no-wrap {
  flex-wrap: nowrap;
  padding: 0 20px;
}
.collection-page .category-nav .related-item {
  width: 260px;
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s;
}
.collection-page .category-nav .related-item:hover {
  opacity: 0.7;
}
.collection-page .category-nav .related-item .img-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.collection-page .category-nav .related-item .img-wrap img {
  width: 100%;
  height: auto;
}
.collection-page .related-section {
  padding: 80px 5%;
  background: #f9f9f9;
  text-align: center;
}
.collection-page .related-section .related-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
  font-weight: normal !important;
}
.collection-page .related-section .category-nav {
  display: flex;
  justify-content: center;
  /* 横並びにする */
  gap: 20px;
  /* アイテム間の隙間 */
}
.collection-page .related-section .category-nav .img-wrap {
  position: relative;
  height: 100px;
  /* 固定サイズで調整 */
  overflow: hidden;
  /* 画像が枠外に出ないようにする */
}
.collection-page .related-section .category-nav .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像が枠に収まるようにする（縦横比を保持） */
  object-position: center;
  /* 画像の位置を中央に */
}
.collection-page .related-section .category-nav .img-wrap.no-image img {
  object-fit: contain;
  /* "no image"の場合は画像の比率を保ちつつ中央に収める */
}

.brand-logo {
  text-align: center;
}
.brand-logo .wp-element-caption {
  display: none;
}
.brand-logo img {
  width: auto !important;
  height: auto !important;
  max-height: 115px;
  max-width: 200px;
  margin-bottom: 20px;
}

.wp-block-buttons > .wp-block-button {
  margin: 0;
}

/* =========================================================
   Collection ナビ SCSS（横スライド最終版）
   HTML構造は変更なし
========================================================= */
/* =========================
   Base
========================= */
.collection-nav {
  width: 100%;
  background: #fff;
}
.collection-nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.collection-nav .collection-second-nav {
  display: flex;
}
.collection-nav .second-nav-item-wrap {
  position: relative;
}
.collection-nav .second-nav-item,
.collection-nav .third-nav-item {
  text-decoration: none;
  color: #222;
}
.collection-nav .second-nav-arrow {
  font-size: 12px;
}

/* =========================
   PC
========================= */
@media (min-width: 1200px) {
  .collection-toggle,
  .collection-overlay {
    display: none;
  }
  .collection-nav {
    /* ▼ デフォルト：左に表示（inline） */
    /* ▼ current のときだけ下に absolute */
    /* 第3階層（current のみ表示） */
  }
  .collection-nav .collection-second-nav {
    gap: 32px;
    padding: 0 24px;
    align-items: center;
  }
  .collection-nav .second-nav-item-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .collection-nav .second-nav-item {
    font-size: 16px;
    font-weight: 600;
  }
  .collection-nav .second-nav-item.is-current {
    padding: 6px 10px;
    background: #000;
    color: #fff;
  }
  .collection-nav .second-nav-arrow {
    position: static;
    transform: none;
    font-size: 12px;
  }
  .collection-nav .second-nav-item.is-current + .second-nav-arrow,
  .collection-nav .second-nav-item-wrap:has(.second-nav-item.is-current) .second-nav-arrow {
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    z-index: 2;
  }
  .collection-nav .collection-third-nav {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2;
    display: none;
    gap: 12px;
    padding: 12px 16px;
    white-space: nowrap;
  }
  .collection-nav .collection-third-nav.is-current {
    display: flex;
  }
  .collection-nav .third-nav-item {
    padding: 3px 14px;
    border-radius: 999px;
    border: 1px solid #ddd;
  }
  .collection-nav .third-nav-item.is-current, .collection-nav .third-nav-item:hover {
    background: #222;
    color: #fff;
    border-color: #222;
  }
}
/* =========================
   SP / Tablet
========================= */
@media (max-width: 1199px) {
  .collection-mobile-nav {
    position: sticky;
    top: 50px;
    z-index: 3;
  }
  .collection-toggle {
    width: 100%;
    padding: 14px 16px;
    background: #222;
    color: #fff;
    border: none;
    text-align: left;
  }
  .collection-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 88%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 400;
    overflow-y: auto;
  }
  html.is-collection-open .collection-nav {
    transform: translateX(0);
  }
  .collection-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 2;
  }
  html.is-collection-open .collection-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  html.is-collection-open,
  html.is-collection-open body {
    overflow: hidden;
  }
  .collection-second-nav {
    flex-direction: column;
  }
  .second-nav-item-wrap {
    border-bottom: 1px solid #eee;
  }
  .second-nav-arrow {
    margin-left: 16px;
  }
  .second-nav-item {
    display: block;
    padding: 16px;
    font-weight: 600;
  }
  .second-nav-item.is-current {
    color: #ff004c;
  }
  /* SP：3階層は常に表示 */
  .collection-third-nav {
    display: block;
    background: #f7f7f7;
  }
  .third-nav-item {
    display: block;
    padding: 14px 0 14px 2em;
    border-bottom: 1px solid #e5e5e5;
  }
  .third-nav-item.is-current {
    border-left: 3px solid #ff004c;
  }
}