@charset "UTF-8";
/* ============================================================
   Re:EDIT OUTER COLLECTION 特集ページ
   css/reedit-outer.css
   ・スタイルはすべて .reedit-outer の中だけに効きます
   ・ブレイクポイント：タブレット 〜1024px / スマホ 〜768px
============================================================ */

/* ============================================================
   基本設定
============================================================ */
.reedit-outer {
  --ro-ink: #1E1C1A;
  --ro-text: #3A3632;
  --ro-sub: #5E564D;
  --ro-accent: #5C4433;
  --ro-catch: #6B4F3A;
  --ro-ground: #F3F0EB;
  --ro-ground2: #E6E0D7;
  --ro-ph: #E3DDD4;
  --ro-line: #CFC6BA;
  --ro-en: "Cormorant Garamond", "Times New Roman", serif;
  --ro-mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --ro-gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;

  background: var(--ro-ground);
  color: var(--ro-ink);
  font-family: var(--ro-gothic);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
.reedit-outer *,
.reedit-outer *::before,
.reedit-outer *::after { box-sizing: border-box; }
.reedit-outer h1,
.reedit-outer h2,
.reedit-outer p,
.reedit-outer ul { margin: 0; }
.reedit-outer a { color: inherit; text-decoration: none; }
.reedit-outer img { display: block; width: 100%; height: auto; }

/* 画像枠（読み込み前・未設定時は薄いベージュ） */
.reedit-ph { position: relative; overflow: hidden; background: var(--ro-ph); }
.reedit-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 画像比率：すべて 760×980 に統一（クラス名はそのまま） */
.reedit-ph--45,
.reedit-ph--34,
.reedit-ph--11 { aspect-ratio: 760 / 980; }

/* PCだけ / スマホだけ 改行 */
.reedit-sp { display: none; }

/* 画像リンクのホバー */
@media (hover: hover) {
  .reedit-outer a .reedit-ph img { transition: opacity .3s; }
  .reedit-outer a:hover .reedit-ph img { opacity: .85; }
}

/* ============================================================
   HERO
============================================================ */
.reedit-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 80px 24px;
  background: #3B342E;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}
.reedit-hero__bg,
.reedit-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 画像の上に薄い影を重ねて文字を読みやすく */
.reedit-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 26, .35);
}
.reedit-hero > *:not(.reedit-hero__bg) { position: relative; z-index: 1; }
.reedit-hero__season {
  font-family: var(--ro-en);
  font-size: 18px;
  letter-spacing: .4em;
  color: #E9E3DA;
}
.reedit-hero__title {
  font-family: var(--ro-en);
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
  letter-spacing: .06em;
}
.reedit-hero__catch {
  margin-top: 8px !important;
  font-family: var(--ro-mincho);
  font-size: 22px;
  letter-spacing: .12em;
}
.reedit-hero__text {
  font-size: 15px;
  line-height: 2;
  letter-spacing: .1em;
  color: #E9E3DA;
}

/* ============================================================
   LEAD
============================================================ */
.reedit-lead {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.reedit-lead__catch {
  font-family: var(--ro-mincho);
  font-size: 26px;
  line-height: 1.8;
  letter-spacing: .1em;
  color: #2A2622;
}
.reedit-lead__text {
  font-family: var(--ro-mincho);
  font-size: 17px;
  line-height: 2.4;
  letter-spacing: .06em;
  color: #2A2622;
}

/* ============================================================
   STYLE INDEX
============================================================ */
.reedit-index {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px 112px;
}
.reedit-index__label {
  margin-bottom: 32px !important;
  text-align: center;
  font-family: var(--ro-en);
  font-size: 22px;
  letter-spacing: .3em;
  color: var(--ro-accent);
}
/* PC：4列 × 2段（8アイテム） */
.reedit-index__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
  padding: 0;
  list-style: none;
}
.reedit-index__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.reedit-index__no {
  font-family: var(--ro-en);
  font-size: 18px;
  letter-spacing: .12em;
}
.reedit-index__name {
  margin-top: -6px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--ro-sub);
}

/* ============================================================
   STYLE（アイテム紹介）
============================================================ */
.reedit-style {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 32px;
  display: flex;
  align-items: center;
  gap: 56px;
  scroll-margin-top: 80px;
}
/* 偶数番は画像を右に */
.reedit-style--rev { flex-direction: row-reverse; }

.reedit-style__media {
  flex: 1 1 52%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reedit-style__body {
  flex: 1 1 48%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* カラバリ */
/* カラバリ：最大4色（3色・2色の商品は左詰めで、画像サイズは揃います） */
.reedit-color {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}
.reedit-color a {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reedit-color span {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .02em;
  text-align: center;
}

/* テキスト */
.reedit-style__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.reedit-style__no {
  font-family: var(--ro-en);
  font-size: 64px;
  line-height: 1;
  color: var(--ro-accent);
}
.reedit-style__cat {
  font-family: var(--ro-en);
  font-size: 16px;
  letter-spacing: .24em;
  color: var(--ro-sub);
}
.reedit-style__catch {
  font-family: var(--ro-mincho);
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--ro-accent);
}
.reedit-style__name {
  font-family: var(--ro-mincho);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
}
.reedit-style__text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ro-text);
}

/* POINT / COORDINATE */
.reedit-point {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--ro-line);
  border-bottom: 1px solid var(--ro-line);
}
.reedit-point__label {
  font-family: var(--ro-en);
  font-size: 15px;
  letter-spacing: .24em;
  color: var(--ro-accent);
}
.reedit-point__label + .reedit-point__label,
.reedit-point ul + .reedit-point__label { margin-top: 4px !important; }
.reedit-point ul {
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ro-text);
}
.reedit-point p:not(.reedit-point__label) {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ro-text);
}

.reedit-style__price {
  font-size: 16px;
  letter-spacing: .04em;
}
.reedit-style__price small {
  font-size: 12px;
  color: var(--ro-sub);
}

/* サブ画像2枚 + BUY NOW */
.reedit-style__foot {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 420px;
}
.reedit-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.reedit-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 28px;
  background: var(--ro-ink);
  color: #FFFFFF !important;
  font-size: 15px;
  letter-spacing: .24em;
  transition: opacity .3s;
}
@media (hover: hover) {
  .reedit-buy:hover { opacity: .8; }
}

/* ============================================================
   ITEM LIST（モデル ⇄ 物撮り 自動切り替え）
============================================================ */
.reedit-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 32px 40px;
}
.reedit-list__title {
  text-align: center;
  font-family: var(--ro-en);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: .12em;
  color: #2A2622;
}
.reedit-list__sub {
  margin-top: 8px !important;
  text-align: center;
  font-family: var(--ro-mincho);
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--ro-text);
}
.reedit-list__lead {
  margin-top: 20px !important;
  text-align: center;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .06em;
  color: var(--ro-text);
}
/* PC：4列 × 2段（8アイテム） */
.reedit-list__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  margin-top: 48px !important;
  padding: 0;
  list-style: none;
}
.reedit-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* 物撮り画像：8秒周期でフェード（モデル約4秒 → 物撮り約4秒）
   ・物撮りは白背景のJPGを multiply で重ね、白を透過したように見せる
     （背景はページと同じ色にして、商品が浮いているように見える）
   ・物撮りが出ている間は、下のモデル画像をフェードアウトして透けないようにする */
.reedit-card .reedit-ph {
  background: var(--ro-ground);
  isolation: isolate;
}
.reedit-card .reedit-ph .is-item {
  mix-blend-mode: multiply;
  opacity: 0;
  animation: reedit-swap 8s ease-in-out infinite;
}
.reedit-card .reedit-ph .is-model {
  animation: reedit-swap-model 8s ease-in-out infinite;
}
@keyframes reedit-swap {
  0%, 40%  { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}
@keyframes reedit-swap-model {
  0%, 40%  { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}
.reedit-card__catch {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--ro-catch);
}
.reedit-card__no {
  font-family: var(--ro-en);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ro-sub);
}
.reedit-card__name {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: .06em;
}
.reedit-card__price { font-size: 14px; }
.reedit-card__price small { font-size: 12px; color: var(--ro-sub); }

/* ============================================================
   CTA / BRAND MESSAGE
============================================================ */
.reedit-end {
  margin-top: 80px;
  padding: 112px 24px 120px;
  background: var(--ro-ground2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.reedit-end__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 56px;
  background: var(--ro-accent);
  color: #FFFFFF !important;
  font-size: 16px;
  letter-spacing: .18em;
  transition: opacity .3s;
}
@media (hover: hover) {
  .reedit-end__btn:hover { opacity: .85; }
}
.reedit-end__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.reedit-end__logo {
  font-family: var(--ro-en);
  font-size: 40px;
  letter-spacing: .12em;
  color: #2A2622;
}
.reedit-end__text {
  font-family: var(--ro-mincho);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: .06em;
  color: var(--ro-text);
}

/* ============================================================
   動きを減らす設定の人には切り替えを止める
============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reedit-card .reedit-ph .is-item,
  .reedit-card .reedit-ph .is-model { animation: none; }
  .reedit-outer *, .reedit-outer *::before { transition: none !important; }
}

/* ============================================================
   タブレット（〜1024px）
============================================================ */
@media (max-width: 1024px) {
  .reedit-hero { min-height: 600px; }
  .reedit-hero__title { font-size: 76px; }
  .reedit-style { gap: 40px; padding: 48px 24px; }
  .reedit-style__no { font-size: 52px; }
  .reedit-style__name { font-size: 23px; }
  .reedit-list { padding-left: 24px; padding-right: 24px; }
  .reedit-index__list { column-gap: 16px; row-gap: 32px; }
  .reedit-list__grid { column-gap: 16px; }
  .reedit-card__catch { font-size: 12px; }
}

/* ============================================================
   スマホ（〜768px）
============================================================ */
@media (max-width: 768px) {
  .reedit-pc { display: none; }
  .reedit-sp { display: inline; }

  /* HERO */
  .reedit-hero {
    min-height: 0;
    aspect-ratio: 3 / 4;
    padding: 48px 16px;
    gap: 14px;
  }
  .reedit-hero__season { font-size: 12px; letter-spacing: .3em; }
  .reedit-hero__title { font-size: 48px; }
  .reedit-hero__catch { font-size: 16px; letter-spacing: .08em; }
  .reedit-hero__text { font-size: 12px; letter-spacing: .06em; }

  /* LEAD */
  .reedit-lead { padding: 72px 16px 64px; gap: 28px; }
  .reedit-lead__catch { font-size: 20px; }
  .reedit-lead__text { font-size: 14px; line-height: 2.2; letter-spacing: .04em; }

  /* STYLE INDEX：4列 × 2段 */
  .reedit-index { padding: 0 16px 64px; }
  .reedit-index__label { font-size: 18px; margin-bottom: 20px !important; }
  .reedit-index__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 20px;
  }
  .reedit-index__link { gap: 6px; }
  .reedit-index__no { font-size: 11px; letter-spacing: .02em; line-height: 1.4; }
  .reedit-index__name { margin-top: -4px; font-size: 10px; letter-spacing: 0; line-height: 1.5; }

  /* STYLE：縦積み（画像 → テキスト） */
  .reedit-style,
  .reedit-style--rev {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 40px 16px 48px;
  }
  .reedit-style + .reedit-style { border-top: 1px solid var(--ro-line); }
  .reedit-style__media,
  .reedit-style__body { flex: none; gap: 16px; }
  .reedit-color { gap: 8px; }
  .reedit-color span { font-size: 10px; letter-spacing: 0; }
  .reedit-style__no { font-size: 44px; }
  .reedit-style__cat { font-size: 14px; }
  .reedit-style__catch { font-size: 16px; }
  .reedit-style__name { font-size: 20px; }
  .reedit-style__text { font-size: 14px; line-height: 2; }
  .reedit-point ul,
  .reedit-point p:not(.reedit-point__label) { font-size: 13px; }
  .reedit-style__foot { max-width: none; }
  .reedit-sub { gap: 8px; }

  /* ITEM LIST：2列 */
  .reedit-list { padding: 72px 16px 24px; }
  .reedit-list__title { font-size: 30px; }
  .reedit-list__sub { font-size: 14px; }
  .reedit-list__lead { font-size: 13px; text-align: left; }
  .reedit-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 40px;
    margin-top: 32px !important;
  }
  .reedit-card { gap: 6px; }
  .reedit-card__catch { font-size: 11px; line-height: 1.6; letter-spacing: .02em; }
  .reedit-card__no { font-size: 15px; }
  .reedit-card__name { font-size: 13px; letter-spacing: .02em; }
  .reedit-card__price { font-size: 13px; }
  .reedit-card__price small { font-size: 11px; }

  /* CTA / BRAND */
  .reedit-end { margin-top: 48px; padding: 72px 16px 80px; gap: 28px; }
  .reedit-end__btn { width: 100%; max-width: 360px; padding: 0 24px; font-size: 15px; }
  .reedit-end__brand { margin-top: 16px; }
  .reedit-end__logo { font-size: 32px; }
  .reedit-end__text { font-size: 13px; line-height: 2.1; }
}

/* ============================================================
   画像の表示アニメーション
   ・ページを開いたとき：キービジュアルがゆっくりズームアウト、文字が順に浮かび上がる
   ・スクロールしたとき：画像が画面に入るタイミングでふわっと表示
     - アイテムのメイン画像：下から幕が開くように表示＋ゆっくりズームアウト
     - それ以外の画像：下から浮かび上がるフェードイン（横並びは少しずつ時間差）
   ・スクロール連動は CSS の scroll-driven animations を使用（JavaScriptなし）
     対応していないブラウザでは、動きなしで最初から普通に表示されます
   ・端末で「視差効果を減らす」設定の人には動きをつけません
============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* ---------- キービジュアル（ページを開いたとき） ---------- */
  .reedit-hero__bg img {
    animation: reedit-hero-zoom 2.4s cubic-bezier(.22, 1, .36, 1) both;
  }
  .reedit-hero__season,
  .reedit-hero__title,
  .reedit-hero__catch,
  .reedit-hero__text {
    animation: reedit-fade-up 1.2s cubic-bezier(.22, 1, .36, 1) both;
  }
  .reedit-hero__season { animation-delay: .3s; }
  .reedit-hero__title  { animation-delay: .5s; }
  .reedit-hero__catch  { animation-delay: .8s; }
  .reedit-hero__text   { animation-delay: 1.05s; }

  /* ---------- スクロールで表示（対応ブラウザのみ） ---------- */
  @supports (animation-timeline: view()) {

    /* 共通：下から浮かび上がるフェードイン */
    .reedit-index .reedit-ph,
    .reedit-color .reedit-ph,
    .reedit-sub .reedit-ph,
    .reedit-list .reedit-ph {
      animation: reedit-fade-up linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 80%;
    }

    /* 横並びは少しずつ時間差をつける */
    .reedit-color li:nth-child(2) .reedit-ph,
    .reedit-sub .reedit-ph:nth-child(2) {
      animation-range: entry 20% entry 90%;
    }
    .reedit-color li:nth-child(3) .reedit-ph {
      animation-range: entry 30% entry 100%;
    }
    .reedit-color li:nth-child(4) .reedit-ph {
      animation-range: entry 35% entry 100%;
    }
    /* STYLE INDEX / ITEM LIST は4列なので4段階 */
    .reedit-index__list li:nth-child(4n+2) .reedit-ph,
    .reedit-list__grid li:nth-child(4n+2) .reedit-ph {
      animation-range: entry 15% entry 85%;
    }
    .reedit-index__list li:nth-child(4n+3) .reedit-ph,
    .reedit-list__grid li:nth-child(4n+3) .reedit-ph {
      animation-range: entry 20% entry 90%;
    }
    .reedit-index__list li:nth-child(4n) .reedit-ph,
    .reedit-list__grid li:nth-child(4n) .reedit-ph {
      animation-range: entry 30% entry 100%;
    }

    /* アイテムのメイン画像：下から幕が開く ＋ ゆっくりズームアウト */
    /* ※ range は entry（画面に入りきるまで）で完了。
       cover まで伸ばすと、ページ全体が1画面に収まる表示（iframe・全画面キャプチャ等）で
       ページ下部の画像が途中の状態（上が欠けた状態）で止まってしまうため */
    .reedit-style__media > a .reedit-ph {
      animation: reedit-curtain linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .reedit-style__media > a .reedit-ph img {
      animation: reedit-zoom-out linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}

@keyframes reedit-hero-zoom {
  from { transform: scale(1.12); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
@keyframes reedit-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes reedit-curtain {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes reedit-zoom-out {
  from { transform: scale(1.15); }
  to   { transform: scale(1); }
}

/* スマホは2列なので、ITEM LISTの時間差を2列用に */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reedit-list__grid li .reedit-ph,
    .reedit-list__grid li:nth-child(4n+3) .reedit-ph { animation-range: entry 10% entry 80%; }
    .reedit-list__grid li:nth-child(2n) .reedit-ph { animation-range: entry 20% entry 90%; }
  }
}
