
/* ==========================================================
   1. 変数・リセット
   ========================================================== */
:root {
  --ink: #141414;
  --paper: #f5f5f3;
  --mist: #e9e9e8;
  --gray: #bcbdbf;
  --indigo: #1d2c52;

  --serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --sans: 'Jost', 'Noto Sans JP', sans-serif;
  --jp: 'Noto Sans JP', sans-serif;

  --ease: cubic-bezier(.22, .8, .24, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--jp);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 300;
}

/* 矢印つきリンク（VIEW COLLECTION など） */
.link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.link .ar {
  display: block;
  width: 44px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .5s var(--ease);
}

.link .ar::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
}

.link:hover .ar {
  width: 66px;
}


/* ==========================================================
   2. 画像プレースホルダー
   写真の後ろの背景。写真を入れても残る
   ========================================================== */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #cfd0d261, #a9aaad7a);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, .17);
  z-index: 0;
  pointer-events: none;
}

.ph::after {
  content: attr(data-label) "\A";
  white-space: pre;
  text-align: center;
  line-height: 2;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .75);
}

.ph img {
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* ==========================================================
   3. ヘッダー
   ========================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  transition: background .5s, padding .5s, box-shadow .5s;
}

/* スクロールしたとき（JSで .scrolled が付く） */
header.scrolled {
  background: rgba(245, 245, 243, .88);
  backdrop-filter: blur(12px);
  padding: 16px 40px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.logo {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .28em;
  font-weight: 500;
}

nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 44px;
}

nav a,
.foot-nav a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  position: relative;
  padding: 4px 0;
}

/* ホバーで下線が走る */
nav a::after,
.foot-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}

nav a:hover::after,
.foot-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icons {
  display: flex;
  gap: 22px;
}

.icons svg {
  width: 17px;
  height: 17px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.2;
  transition: transform .4s var(--ease);
}

.icons svg:hover {
  transform: translateY(-2px) scale(1.1);
}


/* ==========================================================
   4. ヒーロー
   ========================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(180deg, #c5c5c9, #b4b5b9);
}

/* 写真エリア（左側をぼかして背景になじませる） */
.hero-imgs {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 66%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%);
  mask-image: linear-gradient(to right, transparent 0, #000 28%);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}

.slide.on {
  opacity: 1;
  transform: scale(1);
}

/* 左のテキスト */
.hero-copy {
  position: absolute;
  left: 61px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) .3s forwards;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 8vw, 104px);
  line-height: .95;
  letter-spacing: -.01em;
}

/* 1行ずつ下からせり上がる */
.hero h1 span {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}

.hero h1 span i {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  animation: rise 1.3s var(--ease) forwards;
}

.hero h1 span:nth-child(1) i { animation-delay: .5s; }
.hero h1 span:nth-child(2) i { animation-delay: .65s; }
.hero h1 span:nth-child(3) i { animation-delay: .8s; }
.hero h1 span:nth-child(4) i { animation-delay: .95s; }

.hero .jp {
  margin-top: 30px;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: .3em;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.4s forwards;
}

.hero .link {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.6s forwards;
}

/* 右の 01 / 04 カウンター */
.counter {
  position: absolute;
  right: 56px;
  top: 36%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
}

.counter .line {
  width: 1px;
  height: 80px;
  background: rgba(0, 0, 0, .2);
  margin-top: 14px;
  position: relative;
  overflow: hidden;
}

.counter .line b {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
}

.counter .line b.run {
  animation: prog 5s linear forwards;
}

/* 左右の矢印ボタン */
.arrows {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 5;
  display: flex;
  gap: 26px;
}

.arrows button {
  background: none;
  border: 0;
  cursor: pointer;
  width: 28px;
  height: 14px;
  position: relative;
  transition: transform .4s var(--ease);
}

.arrows button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 100%;
  height: 1px;
  background: var(--ink);
}

.arrows button::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}

.arrows .prev::after {
  left: 0;
  transform: rotate(-135deg);
}

.arrows .next::after {
  right: 0;
  transform: rotate(45deg);
}

.arrows .prev:hover { transform: translateX(-6px); }
.arrows .next:hover { transform: translateX(6px); }

/* 左下の SCROLL 表示 */
.scroll {
  position: absolute;
  left: 61px;
  bottom: 30px;
  z-index: 5;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  display: flex;
  align-items: center;
  gap: 14px;
}

.scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: var(--ink);
  transform-origin: top;
  animation: scrollLine 2s var(--ease) infinite;
}


/* ==========================================================
   5. ブランドストーリー
   ========================================================== */
.story {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 130px 61px;
  background: var(--paper);
}

.story h2,
.lookbook h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1.08;
  margin: 18px 0 34px;
}

.story p {
  font-size: 13px;
  line-height: 2.4;
  letter-spacing: .22em;
  font-weight: 300;
}

.story .photo {
  aspect-ratio: 1 / 1.02;
  filter: grayscale(1);
}

.story .photo img {
  transition: transform 1.4s var(--ease);
}

.story .photo:hover img {
  transform: scale(1.06);
}

/* 筆記体「Fashion is Love」（左から書かれるように現れる） */
.script {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.05;
  margin-bottom: 56px;
  transform: rotate(-7deg);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2s var(--ease) .3s;
  padding: 6px 10px;
}

.script div:nth-child(2) { padding-left: 46px; }
.script div:nth-child(3) { padding-left: 90px; }

.script.in {
  clip-path: inset(0 0 0 0);
}

.story .right p {
  font-size: 12px;
  line-height: 2.5;
}


/* ==========================================================
   6. ルックブック
   ========================================================== */
.lookbook {
  background: var(--mist);
  padding: 70px 61px 90px;
}

.lb-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
}

.lb-head h2 {
  margin: 12px 0 0;
}

.lb-head .link {
  margin: 0 0 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card .ph {
  aspect-ratio: 1 / .92;
  transition: box-shadow .6s var(--ease);
}

.card .ph img {
  transition: transform 1.2s var(--ease);
}

.card:hover .ph {
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
}

.card:hover .ph img {
  transform: scale(1.08);
}

.card .cap {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  display: flex;
  gap: 14px;
  align-items: center;
}

.card .cap i {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: width .5s var(--ease);
  font-style: normal;
}

.card:hover .cap i {
  width: 36px;
}


/* ==========================================================
   7. ニューアライバル（ネイビーのデニム生地風）
   ========================================================== */
.arrival {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 420px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #22345f, #182647);
  color: #fff;
  overflow: hidden;
}

.arrival .ph {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: linear-gradient(135deg, #8a92a0, #5f697b);
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent);
  mask-image: linear-gradient(to right, #000 70%, transparent);
}

/* 視差効果のため少し大きく置く */
.arrival .ph img {
  height: 120%;
  top: -10%;
  will-change: transform;
}

.arrival .txt {
  grid-column: 2;
  position: relative;
  z-index: 2;
  padding: 60px 61px 60px 0;
}

.arrival .eyebrow {
  color: #fff;
  opacity: .85;
}

.arrival h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 42px);
  margin: 16px 0 28px;
}

.arrival p {
  font-size: 12px;
  line-height: 2.4;
  letter-spacing: .2em;
  font-weight: 300;
}

.arrival .link {
  margin-top: 26px;
}


/* ==========================================================
   8. フッター
   ========================================================== */
footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 61px;
  background: var(--paper);
}

footer .logo {
  font-size: 17px;
}

footer small {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  color: #666;
  margin-top: 10px;
  font-family: var(--sans);
}

.foot-nav {
  display: flex;
  gap: 30px;
}

.foot-nav a {
  font-size: 9px;
}

.foot-r {
  text-align: right;
}

.foot-r small {
  margin: 0;
}

.sns {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.sns svg {
  width: 13px;
  height: 13px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.3;
  transition: transform .4s var(--ease);
}

.sns svg:hover {
  transform: translateY(-3px);
}


/* ==========================================================
   9. スクロール表示アニメーション
   画面に入ると JS が .in を付ける
   ========================================================== */

/* 下からふわっと */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* 写真用: フェード＋ズーム
   （clip-pathだと表示判定が効かず写真が出ないことがあるため） */
.imgrv {
  opacity: 0;
  transform: scale(.94);
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease);
  transition-delay: var(--d, 0s);
}

.imgrv.in {
  opacity: 1;
  transform: none;
}


/* ==========================================================
   10. キーフレーム
   ========================================================== */
@keyframes rise {
  to { transform: none; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes prog {
  to { transform: scaleY(1); }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}


/* ==========================================================
   11. スマホ対応（幅 900px 以下）
   ========================================================== */
@media (max-width: 900px) {

  /* ヘッダー */
  header,
  header.scrolled {
    padding: 16px 22px;
  }

  nav {
    display: none;
  }

  /* ヒーロー */
  .hero-imgs {
    width: 480px;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: .52;
  }

  .hero-copy {
    left: 24px;
  }

  .counter,
  .scroll {
    display: none;
  }

  /* ブランドストーリー */
  .story {
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 40px;
  }

  /* ルックブック */
  .lookbook {
    padding: 60px 24px;
  }

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

  /* ニューアライバル */
  .arrival {
    grid-template-columns: 1fr;
  }

  .arrival .ph {
    width: 100%;
    opacity: .5;
  }

  .arrival .txt {
    grid-column: 1;
    padding: 60px 24px;
  }

  /* フッター */
  footer {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    padding: 30px 24px;
  }

  .foot-nav {
    justify-content: center;
  }

  .foot-r {
    text-align: center;
  }

  .sns {
    justify-content: center;
  }
}


/* ==========================================================
   12. 動きを減らす設定（OSの「視差効果を減らす」がONの人向け）
   ========================================================== */
@media (prefers-reduced-motion: reduce) {

  * {
    animation: none !important;
    transition: none !important;
  }

  .rv,
  .imgrv {
    opacity: 1;
    transform: none;
  }

  .hero h1 span i {
    transform: none;
  }
}