/* ========== collection Hero ========== */

.collection-hero {
  position: relative;
  width: 100%;
  overflow: visible;
  margin-bottom: 4%;
}

.collection-hero .hero-grid {
  display: grid;
  grid-template-columns: repeat(3, calc(99% / 3));
  box-sizing: border-box;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.collection-hero .hero-grid.inview {
  opacity: 1;
  transform: none;
}

.collection-hero .hero-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.collection-hero .hero-center {
  position: relative;
  display: block;
}

/* 各画像を覆うラッパー（マスク用ベース） */
.collection-hero .hero-item {
  position: relative;
  display: block;
}

.collection-hero .hero-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* 中央下部のタイトル */
.collection-hero .hero-title {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  color: #eeeeee; /*444444*/
  z-index: 1;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

/* 余白最適化（3枚の間隔を微調整） */
.collection-hero .hero-grid {
  gap: 0.5%;
  padding: 0;
}

@media (min-width: 768px) {
  .collection-hero .hero-grid {
    gap: 14px;
    padding: 14px;
  }
}

@media (min-width: 1600px) {
  .collection-hero .hero-grid {
    max-width: 1100px;
  }
}

/* ========== Collection ========== */
.collection {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.collection-tabs {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px auto 32px;
}

.collection-tabs a {
    padding: 8px 14px;
    border: 0.5px solid #eeeeee;
    font-size: .95rem;
    text-decoration: none;
    color: #eeeeee;
    background-color: #666666;
    transition: background .2s ease, border-color .2s ease;
}

.collection-tabs a:hover {
    background: #eeeeee;
    border-color: #444444;
    color: #444444;
}


.collection .section {
    display: block;
    margin: 120px 0;
    color: #eeeeee;
}

.collection .section-head {
    text-align: center;
    margin: 0 0 22px;
    position: static;
}

.collection .section-head .split-eyebrow {
    margin: 0 0 .6rem;
    letter-spacing: .12em;
    opacity: .7;
}

.collection .section-head .split-title {
    margin: 0 0 1.2rem;
    font-weight: 300;
/*    font-size: clamp(26px, 3.0vw, 38px);*/
    letter-spacing: .02em;
}


.collection .lead {
/*    font-size: 1.25rem;*/
    font-weight: 300;
    margin-bottom: 12px;
}


/* ========== Split (Image + Text) ========== */
.collection .split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.collection .split-media {
    display: flex;
    justify-content: center;
}

.collection .split-media img {
    width: 40%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.collection .split-body {
    color: #eeeeee;
    padding: 2%;
    text-align: center;
}

.collection .split-body p {
    line-height: 1.9;
    margin: 0 0 1rem;
}

:root {
  --sep-size: 4px;                         /* ドットの大きさ */
  --sep-radius: 50%;                       /* 50%=丸 / 0=四角 / 3px=角丸 */
  --sep-color: rgba(238, 238, 238, 0.8);       /* ドットの色 */
  --sep-space: 20px;                       /* 項目間の余白（=ドットの位置計算に使用） */
}

/* ====== 共通（SP基準） ====== */
.collection .point-list{
  display: grid;
  grid-template-columns: 1fr;              /* SPは1列 */
  row-gap: var(--sep-space);               /* 縦の間隔 */
  list-style: none;
  margin: 0;
  padding: 0;
}

.collection .point-list li{
  position: relative;                      /* ::after用の基準 */
  margin: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .7rem;
  line-height: 1.4;
}

/* SP：下にドット（最後は付けない） */
.collection .point-list li:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(var(--sep-space) / -2);     /* 行間の中央に配置 */
  transform: translateX(-50%);
  width: var(--sep-size);
  height: var(--sep-size);
  background: var(--sep-color);
  border-radius: var(--sep-radius);
}


@media (min-width: 768px) {
    .collection .split {
/*        background-color: white;*/
        grid-template-columns: 0.3fr 0.7fr;
        gap: min(5vw, 20px);
        align-items: center;
    }

    .collection .split.reverse {
        grid-template-columns: 0.7fr 0.3fr;
    }

    .collection .split-media {
        justify-content: flex-start;
/*        background-color: green;*/
    }

    .collection .split.reverse .split-media {
        order: 2;
        justify-content: flex-end;
    }

    .collection .split.reverse .split-body {
        order: 1;
    }

    .collection .split-media img {
        width: 90%;
        max-width: none;
        margin: 0 auto;
    }

    .collection .split-body {
        max-width: none;
        margin-left: auto;
        color: #eeeeee;
/*        background-color: red;*/
        padding: 0%;
        text-align: center;
    }
    
    .collection .point-list{
      grid-template-columns: repeat(3, 1fr);
      column-gap: var(--sep-space);          /* 間隔は変数で統一 */
      row-gap: 0;
    }

    .collection .point-list li{
      padding: 40px 0px;
      font-size: 1rem;
    }

    /* 右側の“間”の中央にドットを置く（最後の要素はなし） */
    .collection .point-list li:not(:last-child)::after{
      top: 50%;
      right: calc(var(--sep-space) / -2);    /* カラム間の中央へ */
      bottom: auto;
      left: auto;
      transform: translateY(-50%);
      width: var(--sep-size);
      height: var(--sep-size);
      background: var(--sep-color);
      border-radius: var(--sep-radius);
    }
}


/* ========== Flow / Chips ========== */
.collection .flow {
    margin-top: 16px;
}

.collection h4{
    text-align: center;
    opacity: 0.8;
    margin-bottom: 10px 0 20px;
}

.collection .flow ol {
    counter-reset: f;
    font-size: 0.7rem;
    padding-left: 5%;
    text-align: left;
}

.collection .flow li {
    list-style: none;
    position: relative;
    padding-left: 2rem;
    margin: 8px 0;
    opacity: 0.8;
}

.collection .flow li::before {
    counter-increment: f;
    content: counter(f) ".";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.7;
}

.collection .chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.collection .chips span {
  font-size: 0.7rem;
  border: 1px solid rgba(238, 238, 238, 0.7);
  border-radius: 10px;
  padding: 4px 12px;
  color: rgba(238,238,238,0.7);
  background-color: transparent;
}

@media (min-width: 768px) {
  .collection .flow ol,
  .collection .chips span {
    font-size: 1rem;
  }
}


/* ========== Size（左右交互のまま、本文トーン統一） ========== */
.collection .size-list {
    display: grid;
    gap: 48px;
}

@media (min-width: 768px) {
    .collection .size-list {
        gap: 64px;
    }
}

.collection .size-row .split-media img {
    width: 50%;
}

@media (min-width: 768px) {
    .collection .size-row .split-media img {
        width: 100%;
        margin: 0;
    }
}

.collection .size-row .split-body {
    color: #eeeeee;
    background: rgba(238, 238, 238, .08);
    padding: 2% 8%;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.collection .size-row .split-body .sub {
    opacity: .7;
    margin-bottom: .6rem;
    letter-spacing: .02em;
}

.collection .size-row .split-body .desc {
    line-height: 1.9;
}

@media (min-width: 768px) {
    .collection .size-row .split-body {
        color: #eeeeee;
        padding: 8% 10%;
    }
}


/* ========== Helpers ========== */
.collection .br-sp {
    display: none;
}

.collection .br-sp-reverse {
    display: inline;
}

@media (max-width: 768px) {
    .collection .section {
        margin: 0 0 80px;
    }
}

@media (max-width: 600px) {
    .collection .br-sp {
        display: inline;
    }

    .collection .collection-tabs {
        gap: 8px;
    }

    .collection .br-sp-reverse {
        display: none;
    }
}

