/* =============================================================
  コート特集（Reflect） PC Style
  プレフィックス: coat
  コンテンツ幅: 1190px (min-width: 1200px)
  Figma: 19RSsc3hj4bMgpK0yfsaxI / PC 18:10（2000幅）
  フォント：Adobe Fonts キット ojo1kgu にあるウェイトで代用（2026-10-21 指示）
    源ノ明朝 SemiBold / Bold → source-han-serif-jp-subset 700
    游明朝 Demibold（クレジット）→ yu-mincho-pr6n 400
============================================================= */

/* Reset
   🔴 リセットは必ず .contents-area（＝LPの器）配下に閉じ込める。
      素の `*` / `a` / `ul` / `picture` で書くと WOS共通のヘッダー・フッターまで書き換わる。
      .contents-area の外側に header / footer / .header-sns / .footer-sns がある。
      実害例：`* { box-sizing: border-box }` が漏れて .footer-sns のアイコンが 28px→4px に潰れた
      （サイト側は `a { width:28px; padding:12px }` + `img { width:100% }` で組んでいるため）
------------------------------------------------------------- */
.contents-area, .contents-area *, .contents-area *::before, .contents-area *::after { box-sizing: border-box; margin: 0; padding: 0; }
.contents-area picture { display: block; }
.contents-area picture img { display: block; width: 100%; height: auto; }
.contents-area a { text-decoration: none; color: inherit; }
.contents-area ul { list-style: none; }
/* body だけはルート外だが必要。ローカルプレビューで既定マージン8pxが出るのを防ぐため。
   本番のWOS側CSSも同じ値を設定済みなので実質no-op */
body { margin: 0; padding: 0; }

/* Base
------------------------------------------------------------- */
.contents-area {
  width: 100%;
  min-width: 1200px;
  background: #fff;
}

.coat {
  width: 100%;
  min-width: 1200px;
  color: #000;
  font-family: "source-han-serif-jp-subset", "Source Han Serif JP", "Noto Serif JP", serif;
  font-weight: 700;
}

.contents-area .coat a:hover {
  opacity: 0.8;
}

/* ============================================================
  MV
  Figma: 18:12 / 1190×650px（ヘッダー 126px ＋ gap 10px の下。ヘッダーは実装しない）
============================================================ */
.coat__mv {
  width: 1190px;
  margin: 0 auto;
}

/* ============================================================
  リード
  Figma: 18:416（MV下端から100px＋pt50／pb50＋100px で STYLE 01）
============================================================ */
.coat__lead {
  padding: 150px 0 150px;
  text-align: center;
}

.coat__lead-txt {
  color: #1d1e20;
  font-size: 18px;
  line-height: 40px;
  letter-spacing: 5.4px;
}

/* ============================================================
  STYLE 共通
  Figma: cont1〜cont8（ttl → gap50 → cont_L、pb120、STYLE 間 gap100）
    --r … 写真（main）左・テキスト（sub）右（01 / 03 / 05 / 07）
    --l … テキスト左・写真右（02 / 04 / 06 / 08）
============================================================ */
.coat__style {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding-bottom: 120px;
}

.coat__style + .coat__style {
  margin-top: 100px;
}

/* 見出し（Figma: ttl コンポーネント 8322:184。英字ブロック 392×237 → gap-30 → コピー） */
.coat__ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
}

.coat__ttl-head {
  position: relative;
  width: 392px;
  height: 237px;
  font-weight: normal;
}

.coat__ttl-sub,
.coat__ttl-name,
.coat__ttl-num {
  position: absolute;
  color: #d5001c;
}

/* Coat・2026 AW Collection は Figma でスモールキャップス指定 → Cormorant SC */
.coat__ttl-sub {
  top: 73.7px;
  left: 0;
  font-family: "Cormorant SC", "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.coat__ttl-name {
  top: 125.3px;
  left: 0;
  font-family: "Cormorant SC", "Cormorant Garamond", serif;
  font-size: 96px;
  font-weight: 500;
  line-height: 47.4px;
}

.coat__ttl-num {
  top: 0;
  left: 224px;
  color: rgba(213, 0, 28, 0.1);
  font-family: "the-seasons", serif;
  font-size: 170px;
  font-weight: 400;
  line-height: 237px;
}

.coat__ttl-copy {
  margin-top: -30px;
  color: #000;
  font-size: 26px;
  line-height: 50px;
  letter-spacing: 10.4px;
  text-align: center;
}

/* 写真＋テキストの横並び（Figma: cont_L 上揃え・gap50） */
.coat__style-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
}

.coat__style--l .coat__style-row {
  flex-direction: row-reverse;
}

/* 写真＋クレジット＋ALL ITEM（Figma: cont_1 620px・右揃え・gap50・pb30） */
.coat__style-main {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 50px;
  width: 620px;
  padding-bottom: 30px;
}

.coat__ph1 {
  width: 620px;
}

/* クレジット（2列・列間100px） */
.coat__credit {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  color: #000;
  font-family: "yu-mincho-pr6n", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 34px;
  white-space: nowrap;
}

.coat__credit li {
  opacity: 0.6;
}

/* 下線はリンクのときだけ（Coming Soon 行＝リンクなしは下線なし） */
.coat__credit li a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ALL ITEM ボタン（Figma: all_btn 8322:322 / 300×48px） */
.coat .coat__btn-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 48px;
  border: 1px solid #d5001c;
  background: #d5001c;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 3.6px;
  cursor: pointer;
}

/* 説明文＋サブ写真（Figma: cont_2 520px・pt130・gap80） */
.coat__style-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 80px;
  width: 520px;
  padding-top: 130px;
}

.coat__desc {
  width: 450px;
  color: #222;
  font-size: 16px;
  line-height: 40px;
  letter-spacing: 3.2px;
}

.coat__ph2 {
  width: 520px;
}

/* サブ写真スライダー（Figma: slider 520px・gap20・ページネーション 9px 右寄せ pr10 gap10） */
.coat__slider {
  width: 520px;
}

.coat .coat__slider .splide__pagination {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding: 0 10px 0 0;
}

.coat .coat__slider .splide__pagination li {
  line-height: 0;
}

.coat .coat__slider .splide__pagination__page {
  display: block;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
}

.coat .coat__slider .splide__pagination__page.is-active {
  background: #d5001c;
}

/* ============================================================
  Archive
  Figma: 6338:800（最後の STYLE の pb120 から100px下・py80・gap40）
============================================================ */
.coat__archive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 100px;
  padding: 80px 0;
  background: rgba(170, 188, 227, 0.1);
}

.coat__archive-ttl {
  color: #000;
  font-family: "Cormorant SC", "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 12px;
  text-align: center;
}

.coat__archive-list {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

/* 中身未支給のあいだは Figma のダミー枠（#dbdbdb・枠線 #707070）を表示 */
.coat__archive-item {
  width: 401px;
  height: 300px;
  border: 1px solid #707070;
  background: #dbdbdb;
}

/* リンクで包んだ写真（a はインライン要素なので block にする） */
.coat a.coat__ph1,
.coat a.coat__ph2,
.coat a.coat__slide-link {
  display: block;
}

/* ============================================================
  インビューアニメーション
  .js-inview（フック）に JS が .is-inview を付与して発動（1回のみ）
  テーマ「冬のおしゃれを彩る、表情豊かなコート」＝澄んだ冬の空気＋コートでふんわり包み込む
    MV ………… 冬の朝もやが晴れるように、ぼかし→くっきり＋わずかなズームアウト
    リード …… 白い息がほどけるように、1行ずつぼかしからフェード
    透かし番号 … 曇りガラスが晴れるように、ぼかし→くっきり
    Coat ……… 広がった字間がきゅっと締まる（コートの前を合わせて包み込む）
    メイン写真 … 中央から左右に開いて現れる（コートの前を開いて見せる）＋ゆっくりズームアウト
    コピー／説明文／サブ写真／ボタン … 少し遅れてフェードアップ
    クレジット … 1行ずつ時間差フェード
    Archive …… 字間が締まる見出し＋枠がふわっと浮かぶ
============================================================ */
.coat .js-inview {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 遅延 */
.coat .anim-delay-2.is-inview { transition-delay: 0.2s; }
.coat .anim-delay-3.is-inview { transition-delay: 0.3s; }

/* MV：もやが晴れる（ぼかし→くっきり）＋ズームアウト */
.coat .anim-mv {
  overflow: hidden;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 1.6s ease, filter 2s ease;
}
.coat .anim-mv img {
  transform: scale(1.08);
  transition: transform 2.6s var(--ease-out);
}
.coat .anim-mv.is-inview { opacity: 1; filter: blur(0); }
.coat .anim-mv.is-inview img { transform: scale(1); }

/* リード：1行ずつ、白い息がほどけるように */
.coat .anim-lines span {
  display: block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(10px);
  transition: opacity 1.2s ease, filter 1.2s ease, transform 1.4s var(--ease-out);
}
.coat .anim-lines { opacity: 0; transition: opacity 0.3s ease; }
.coat .anim-lines.is-inview { opacity: 1; }
.coat .anim-lines.is-inview span { opacity: 1; filter: blur(0); transform: none; }
.coat .anim-lines.is-inview span:nth-child(2) { transition-delay: 0.2s; }
.coat .anim-lines.is-inview span:nth-child(3) { transition-delay: 0.4s; }
.coat .anim-lines.is-inview span:nth-child(4) { transition-delay: 0.6s; }
.coat .anim-lines.is-inview span:nth-child(5) { transition-delay: 0.8s; }
.coat .anim-lines.is-inview span:nth-child(6) { transition-delay: 1s; }
.coat .anim-lines.is-inview span:nth-child(7) { transition-delay: 1.2s; }

/* 見出し：番号は曇りガラスが晴れるように／Coat は字間が締まる／2026 AW Collection は後からふわっと */
.coat .anim-ttl { opacity: 0; transition: opacity 0.4s ease; }
.coat .anim-ttl.is-inview { opacity: 1; }
.coat .anim-ttl .coat__ttl-num {
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.06);
  transition: opacity 1.6s ease, filter 1.8s ease, transform 2s var(--ease-out);
}
.coat .anim-ttl .coat__ttl-name {
  opacity: 0;
  letter-spacing: 0.3em;
  transition: opacity 1.2s ease 0.15s, letter-spacing 1.6s var(--ease-out) 0.15s;
}
.coat .anim-ttl .coat__ttl-sub {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease 0.45s, transform 1.2s var(--ease-out) 0.45s;
}
.coat .anim-ttl.is-inview .coat__ttl-num { opacity: 1; filter: blur(0); transform: none; }
.coat .anim-ttl.is-inview .coat__ttl-name { opacity: 1; letter-spacing: 0; }
.coat .anim-ttl.is-inview .coat__ttl-sub { opacity: 1; transform: none; }

/* メイン写真：中央から左右に開く（コートの前を開いて見せる）＋ゆっくりズームアウト */
.coat .anim-open {
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  transition: opacity 0.6s ease, clip-path 1.6s var(--ease-out);
}
.coat .anim-open img {
  transform: scale(1.12);
  transition: transform 2.4s var(--ease-out);
}
.coat .anim-open.is-inview { opacity: 1; clip-path: inset(0 0 0 0); }
.coat .anim-open.is-inview img { transform: scale(1); }

/* フェードアップ（コピー・説明文・サブ写真・ボタン） */
.coat .anim-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1.2s var(--ease-out);
}
.coat .anim-up.is-inview { opacity: 1; transform: none; }

/* クレジット：1行ずつ（左列→右列の順） */
.coat .anim-stagger { opacity: 0; transition: opacity 0.3s ease; }
.coat .anim-stagger.is-inview { opacity: 1; }
.coat .anim-stagger li { opacity: 0; transition: opacity 0.8s ease; }
.coat .anim-stagger.is-inview li { opacity: 0.6; } /* デザインの不透明度 0.6 */
.coat .anim-stagger.is-inview ul:nth-child(1) li:nth-child(2) { transition-delay: 0.1s; }
.coat .anim-stagger.is-inview ul:nth-child(1) li:nth-child(3) { transition-delay: 0.2s; }
.coat .anim-stagger.is-inview ul:nth-child(1) li:nth-child(4) { transition-delay: 0.3s; }
.coat .anim-stagger.is-inview ul:nth-child(2) li:nth-child(1) { transition-delay: 0.4s; }
.coat .anim-stagger.is-inview ul:nth-child(2) li:nth-child(2) { transition-delay: 0.5s; }
.coat .anim-stagger.is-inview ul:nth-child(2) li:nth-child(3) { transition-delay: 0.6s; }
.coat .anim-stagger.is-inview ul:nth-child(2) li:nth-child(4) { transition-delay: 0.7s; }

/* Archive 見出し：字間がきゅっと締まる */
.coat .anim-spread {
  opacity: 0;
  letter-spacing: 32px;
  transition: opacity 1s ease, letter-spacing 1.4s var(--ease-out);
}
.coat .anim-spread.is-inview { opacity: 1; letter-spacing: 12px; }

/* Archive 枠：ふわっと浮かぶ（2つ目は少し遅れて） */
.coat .anim-pop {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.9s ease, transform 1.1s var(--ease-out);
}
.coat .anim-pop.is-inview { opacity: 1; transform: none; }
.coat .anim-pop.is-inview:nth-child(2) { transition-delay: 0.18s; }

/* 動きを減らす設定のユーザーにはアニメーションしない */
@media (prefers-reduced-motion: reduce) {
  .coat .js-inview,
  .coat .js-inview * {
    transition: none !important;
  }
}
