/* ============================================================
   トップページ専用（index.html だけが読む）
   白・銀・ガラス。写真が主役。完成図＝便BR（2026-11-28）
   共通部品（ヘッダー・カート・告知バー・フッター）は style.css 側のまま
   ============================================================ */
.top {
  --paper: #fbfbf9;
  --glass: #eef1f1;
  --ink: #1c1c1b;
  --sub: #5f5f5c;
  --mute: #737370; /* 完成図より濃い。小さい字が読めるように */
  --line: #e3e3df;
  --silver: #b9bcbd;
  --en: "Cormorant Garamond", serif;
  --jp: "Shippori Mincho B1", serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  display: block;
  padding-top: calc(72px + var(--promo-h, 0px));
  background: var(--paper);
  color: var(--ink);
  letter-spacing: .04em;
  font-variant-numeric: lining-nums;
}
.top img { display: block; width: 100%; height: auto; }
.top section { scroll-margin-top: calc(72px + var(--promo-h, 0px)); }
.top-jp { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.top-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(24px, 7vw, 110px);
  padding-right: clamp(24px, 7vw, 110px);
}
.top-eyebrow { font-family: var(--en); font-size: 13px; letter-spacing: .36em; color: var(--mute); text-transform: uppercase; }
.top-h2 { font-family: var(--jp); font-weight: 400; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.8; letter-spacing: .14em; margin-top: 18px; }
.top-more { display: inline-block; font-size: 13px; letter-spacing: .24em; line-height: 1.9; border-bottom: 1px solid currentColor; padding-bottom: 4px; white-space: nowrap; }
.top-photo-note { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-size: 13px; letter-spacing: .1em; line-height: 1.6; color: var(--sub); background: rgba(251, 251, 249, .78); padding: 2px 8px; }

/* ---- ヒーロー ---- */
.top-fv { position: relative; height: calc(100vh - 72px - var(--promo-h, 0px)); min-height: 560px; overflow: hidden; }
.top .top-fv__img { position: absolute; inset: 0; height: 100%; object-fit: cover; transform: scale(1.08); animation: top-zoom 3.2s var(--ease) forwards; }
@keyframes top-zoom { to { transform: scale(1); } }
.top-fv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 251, 249, .92) 0%, rgba(251, 251, 249, .6) 38%, transparent 66%); }
.top-fv__tx { position: absolute; z-index: 2; left: clamp(24px, 8vw, 130px); top: 50%; transform: translateY(-50%); max-width: 560px; }
.top-fv .top-eyebrow { color: var(--sub); }
.top-fv__title { font-family: var(--jp); font-weight: 400; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.7; letter-spacing: .16em; margin-top: 26px; }
.top-fv__lead { font-size: 14px; color: var(--sub); margin-top: 24px; letter-spacing: .1em; }
.top-btn { display: inline-flex; align-items: center; gap: 18px; margin-top: 44px; min-height: 54px; padding: 0 36px; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .24em; white-space: nowrap; }
.top-btn::after { content: ""; width: 28px; height: 1px; background: #fff; }
.top-fv__scroll { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 20px; font-family: var(--en); font-size: 13px; letter-spacing: .4em; color: var(--sub); }

/* ---- クリアセラム ---- */
.top-feat { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 120px); padding-top: clamp(100px, 14vw, 200px); padding-bottom: clamp(80px, 11vw, 160px); }
.top-feat__ph { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.top .top-feat__ph img { width: 76%; mix-blend-mode: multiply; }
.top-feat__ph::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 26%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-14deg); animation: top-sheen 7s var(--ease) 1.5s infinite; pointer-events: none; }
@keyframes top-sheen { 0% { left: -40%; } 35%, 100% { left: 130%; } }
.top-feat__name { font-family: var(--en); font-weight: 300; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: .01em; margin: 22px 0 12px; }
.top-feat__name i { font-style: italic; }
.top-feat__namejp { font-family: var(--jp); font-size: 13px; letter-spacing: .2em; color: var(--sub); }
.top-feat__copy { font-family: var(--jp); font-size: clamp(17px, 1.5vw, 20px); line-height: 2; letter-spacing: .12em; margin: 36px 0; }
.top-feat__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.top-feat__price { font-family: var(--en); font-size: 26px; white-space: nowrap; }
.top-feat__price small { font-family: var(--jp); font-size: 13px; color: var(--sub); margin-left: 4px; }

/* ---- 見出しの行 ---- */
.top-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---- 人気のアイテム（main.js の productCardHTML を、写真・名前・値段だけにする） ---- */
.top-shop { padding-bottom: clamp(100px, 13vw, 190px); }
.top-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px); margin-top: 56px; }
.top-grid .product-card { position: relative; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.top-grid .product-card:hover { transform: none; box-shadow: none; }
/* style.css の .product-card の transition が出方を打ち消すので、ここで指定し直す */
.top-grid .product-card.reveal { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.top-grid .product-card.reveal:not(.is-visible) { transform: translateY(34px); }
/* 写真のリンクをカード全体に広げる（名前と値段を押しても商品ページへ） */
.top-grid .product-card__image::after { content: ""; position: absolute; inset: 0; }
.top-grid .product-card__image { display: block; background: #fff; aspect-ratio: 1; overflow: hidden; border-radius: 0; }
.top-grid .product-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.top-grid .product-card:hover .product-card__image img { transform: scale(1.04); }
.top-grid .product-card__body { display: block; padding: 16px 0 0; }
.top-grid .product-card__category,
.top-grid .product-card__name,
.top-grid .product-card__volume,
.top-grid .product-card__footer { display: none; }
.top-grid .product-card__name-ja { font-family: var(--jp); font-size: 13px; font-weight: 400; letter-spacing: .06em; line-height: 1.8; color: var(--ink); margin: 0; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.top-grid .product-card__price { font-family: var(--en); font-size: 15px; font-weight: 400; color: var(--sub); margin: 2px 0 0; }
.top-grid .product-card__price small { font-family: var(--jp); font-size: 13px; margin-left: 2px; }
.top-cats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; font-size: 13px; letter-spacing: .14em; color: var(--sub); }
.top-cats a { border-bottom: 1px solid var(--line); padding-bottom: 4px; white-space: nowrap; }

/* ---- LAÉSSE とは ---- */
.top-about { display: grid; grid-template-columns: 1fr 1fr; background: var(--glass); }
.top-about__ph { position: relative; }
.top .top-about__ph img { height: 100%; object-fit: cover; }
.top-about__tx { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 150px) clamp(24px, 7vw, 110px); }
.top-about__lead { font-size: 14px; color: var(--sub); margin-top: 26px; line-height: 2.1; max-width: 420px; text-wrap: pretty; }
.top-three { list-style: none; margin-top: 40px; border-top: 1px solid #d9dddd; }
.top-three li { display: flex; align-items: baseline; gap: 22px; padding: 16px 0; border-bottom: 1px solid #d9dddd; font-size: 13px; letter-spacing: .06em; }
.top-three em { flex: none; width: 24px; font-family: var(--en); font-style: italic; font-size: 18px; color: var(--sub); }
.top-about__tx .top-more { margin-top: 40px; align-self: flex-start; }

/* ---- サロン20年 ---- */
.top-salon { background: var(--ink); color: #ecece8; padding: clamp(90px, 13vw, 190px) 0; }
.top-salon .top-eyebrow { color: #96968f; }
.top-salon__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.top-salon__big { margin-top: 10px; font-family: var(--en); font-weight: 300; font-size: clamp(110px, 15vw, 210px); line-height: .85; letter-spacing: -.02em; white-space: nowrap; }
.top-salon__big small { font-family: var(--jp); font-size: .16em; letter-spacing: .2em; margin-left: 14px; }
.top-salon__lead { font-size: 14px; color: #b4b4af; line-height: 2.1; margin-top: 24px; max-width: 420px; text-wrap: pretty; }
.top-salon .top-more { margin-top: 40px; }

/* ---- 読みもの ---- */
.top-journal { padding-top: clamp(100px, 13vw, 180px); padding-bottom: clamp(100px, 13vw, 180px); }
.top-journal[hidden] { display: none; }
.top-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 50px; }
.top-post { display: block; border-top: 1px solid var(--line); padding-top: 22px; }
.top-post time { font-family: var(--en); font-size: 13px; color: var(--mute); letter-spacing: .14em; }
.top-post p { font-family: var(--jp); font-size: 15px; line-height: 1.9; letter-spacing: .08em; margin-top: 10px; }
.top-post .blog-nb { white-space: nowrap; }

/* ---- 押せる物はマウスを乗せると少し薄くする ---- */
.top-btn, .top-more, .top-cats a, .top-post { transition: opacity .3s; }
.top-btn:hover, .top-more:hover, .top-cats a:hover, .top-post:hover { opacity: .7; }

/* ---- 出方 ---- */
.top-rv { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.top-rv.is-wait:not(.is-in) { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) {
  .top .top-fv__img { animation: none; transform: none; }
  .top-feat__ph::after { display: none; }
  .top-rv, .top-grid .product-card.reveal, .top-grid .product-card__image img { transition: none; }
}

/* ---- タブレット・スマホ ---- */
/* 名前が1行と2行のカードが並んでも値段の高さをそろえる */
@media (max-width: 1100px) {
  .top-grid .product-card__name-ja { min-height: 3.6em; }
}
@media (max-width: 900px) {
  .top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .top-fv { height: calc(92vh - 72px - var(--promo-h, 0px)); min-height: 480px; }
  .top-fv::after { background: linear-gradient(0deg, rgba(251, 251, 249, .95) 0%, rgba(251, 251, 249, .75) 40%, transparent 75%); }
  .top-fv__tx { top: auto; bottom: 56px; transform: none; left: 24px; right: 40px; }
  .top-fv .top-photo-note { top: 14px; bottom: auto; }
  .top-feat, .top-about, .top-salon__in { grid-template-columns: minmax(0, 1fr); }
  .top-head { flex-direction: column; align-items: flex-start; }
  .top-about__ph { aspect-ratio: 4 / 5; }
  .top .top-about__ph img { position: absolute; inset: 0; }
  .top-posts { grid-template-columns: minmax(0, 1fr); }
}
