:root {
    --black: #111;
    --gray: #666;
    --font-en: 'Outfit', sans-serif;
    --font-jp: 'Zen Kaku Gothic New', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* 春の背景色 */
    --bg-sakura: #fdf2f4;
    --bg-sage: #f2f7f1;
    --bg-mist: #f0f4f8;
    --bg-sand: #f9f6f1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-jp); background: #fff; color: var(--black); line-height: 1.6; overflow-x: hidden; }

/* ✅ SEO: スクリーンリーダー専用テキスト（アイコンのアクセシビリティ対応） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#progress-bar { position: fixed; top: 0; left: 0; height: 2px; background: var(--black); width: 0%; z-index: 1000; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* HERO */
.hero-giant { padding-bottom: 120px; text-align: center; }
.hero-visual { width: 100%; margin: 0 auto; overflow: hidden; background: #e1e0ea; }
.hero-visual img { width: 70%; height: 100%; margin-top: 8%; }
.hero-text-overlap { max-width: 800px; margin: -80px auto 0; background: #fff; padding: 60px 40px; position: relative; z-index: 10; border: 1px solid #eee; }
.tag { font-family: var(--font-en); font-size: 0.7rem; letter-spacing: 0.4em; color: #aaa; text-transform: uppercase; }
.hero-text-overlap h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; margin: 20px 0; letter-spacing: 0.05em; }
.hero-intro { font-size: 0.9rem; color: var(--gray); line-height: 2.2; text-align: justify; }

/* Category Themes */
.cat-section { padding: 160px 0; }
.theme-sakura { background-color: var(--bg-sakura); }
.theme-sage   { background-color: var(--bg-sage); }
.theme-mist   { background-color: var(--bg-mist); }
.theme-sand   { background-color: var(--bg-sand); }

/* Double Visual */
.cat-main-row { display: flex; align-items: flex-end; gap: 80px; margin-bottom: 120px; }
.cat-main-row.reverse { flex-direction: row-reverse; }
.double-visual { flex: 1; position: relative; min-height: 500px; }
.img-main { width: 85%; aspect-ratio: 3/4; overflow: hidden; }
.img-main img { width: 100%; height: 100%; object-fit: cover; }
.img-sub {
    position: absolute; width: 45%; aspect-ratio: 1/1;
    bottom: -15%; right: 0; z-index: 3; overflow: hidden;
    border: 10px solid #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.img-sub img { width: 100%; height: 100%; object-fit: cover; }
.reverse .img-main { margin-left: auto; }
.reverse .img-sub { right: auto; left: 0; }

/* Title Box */
.cat-title-box { position: absolute; top: 10%; left: -6%; z-index: 5; pointer-events: none; }
.reverse .cat-title-box { left: auto; right: -6%; text-align: right; }
.en-title {
    display: block; font-family: var(--font-en); font-size: clamp(3rem, 11vw, 140px);
    font-weight: 600; line-height: 0.75; letter-spacing: -0.03em; color: var(--black);
}
.jp-title { display: block; margin-top: 20px; font-size: 0.85rem; letter-spacing: 0.5em; color: var(--gray); font-weight: 600; }

.cat-text-part { flex: 0 0 350px; font-size: 1rem; color: var(--gray); line-height: 2.4; padding-bottom: 20px; }

.coord-links { margin-top: 30px; padding: 0; list-style: none; border-top: 1px solid rgba(0,0,0,0.1); }
.coord-links li { border-bottom: 1px solid rgba(0,0,0,0.05); }
.coord-links li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; text-decoration: none; transition: 0.3s var(--ease); }
.item-name { font-size: 0.75rem; color: var(--black); position: relative; }
.item-name::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--black); transition: width 0.3s var(--ease); }
.coord-links li a:hover .item-name::after { width: 100%; }
.item-price { font-family: var(--font-en); font-size: 0.7rem; color: #999; }
.coord-links li a:hover { opacity: 0.7; padding-left: 5px; }

/* Grid 3x2 */
.product-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 25px; margin-top: 30%; }
.img-flat { width: 100%; aspect-ratio: 3/4; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; transition: 0.4s var(--ease); border: 1px solid rgba(0,0,0,0.03); text-align: center; }
.img-flat img { width: 90%; height: auto; transition: 0.6s var(--ease); mix-blend-mode: multiply; }
.p-item:hover .img-flat { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.p-info { text-align: center; }
.p-info h3 { font-size: 0.9rem; font-weight: 500; margin-bottom: 5px; }
.p-info p { font-size: 0.8rem; font-family: var(--font-en); color: #aaa; }

/* Footer Button */
.cat-footer-btn { margin-top: 80px; text-align: center; }
.cat-btn {
    display: inline-block;
    padding: 18px 60px;
    border: 1px solid var(--black);
    color: var(--black);
    text-decoration: none;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    position: relative;
    transition: all 0.4s var(--ease);
    background: #fff;
    z-index: 1;
}
.cat-btn:hover { color: #fff; background: var(--black); transform: translateY(-3px); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* レスポンシブ */
@media (max-width: 900px) {
    .double-visual { width: 100%; min-height: auto; margin-bottom: 80px; }
    .img-main { width: 85%; margin-bottom: 0; }
    .img-sub { width: 45%; bottom: -20px; right: 0; left: auto; border-width: 6px; z-index: 2; }
    /* ✅ reverseセクション（TECH・ブルゾン）のサブ画像もスマホでは右に統一 */
    .cat-main-row.reverse .img-sub { right: 0; left: auto; }
    .cat-title-box { position: absolute; top: -30px; left: 0 !important; right: auto !important; z-index: 10; text-align: left !important; }
    .reverse .cat-title-box { text-align: left !important; }
    .en-title { font-size: 3.5rem; line-height: 1; }
    .jp-title { margin-top: 5px; letter-spacing: 0.2em; }
    .cat-main-row.reverse .img-main { margin-left: 0; margin-right: auto; }
    .cat-main-row, .cat-main-row.reverse { flex-direction: column; align-items: flex-start; gap: 40px; }
    .cat-title-box { left: 0 !important; right: 0 !important; top: -50px; text-align: left !important; }
    .cat-text-part { flex: none; width: 100%; }
    .product-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 60px 20px; }
}

.footer { padding: 100px 0; text-align: center; background: #fff; font-size: 0.65rem; color: #ccc; letter-spacing: 0.1em; }

/* =============================
   ポイントアップバナー
   ============================= */

#point-banner {
  position: relative;
  background: linear-gradient(135deg, #b8001a 0%, #e8003a 50%, #b8001a 100%);
  /* ✅ color を #fff に設定し、子要素への継承で !important を不要にする */
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  font-family: var(--font-jp);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(180, 0, 30, 0.4);
  z-index: 100;
}

/* 斜めストライプ（光沢） */
.banner-stripe {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    105deg,
    transparent 0px,
    transparent 20px,
    rgba(255, 255, 255, 0.04) 20px,
    rgba(255, 255, 255, 0.04) 40px
  );
  pointer-events: none;
}

/* 内側レイアウト（aタグ兼用）
   ✅ !important を使わず、#point-banner 配下の a を直接スタイル指定 */
#point-banner a.banner-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s;
}

/* ✅ ホバー時は文字ではなく背景オーバーレイで暗くする */
#point-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s;
  pointer-events: none;
}

#point-banner:has(a.banner-inner:hover)::after {
  background: rgba(0, 0, 0, 0.1);
}

/* 矢印 */
#point-banner .banner-arrow {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  opacity: 0.8;
  transition: transform 0.2s;
}

#point-banner a.banner-inner:hover .banner-arrow {
  transform: translateX(4px);
}

/* 倍率バッジ */
.point-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: #fff;
  color: #c8001e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 2px;
  line-height: 1;
  white-space: nowrap;
}

.point-badge strong {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #c8001e;
}

/* メインテキスト */
#point-banner .banner-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #fff;
}

#point-banner .banner-text strong {
  font-weight: 700;
  color: #fff;
}

/* 期間表示 */
#point-banner .banner-period {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 300;
  color: #fff;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

/* sticky固定（mainに入ったら上部に貼り付く） */
#point-banner.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* スマホ対応 */
@media (max-width: 480px) {
  #point-banner a.banner-inner {
    gap: 8px;
  }
  #point-banner .banner-text {
    font-size: 13px;
  }
  #point-banner .banner-period {
    display: block;
    margin-left: 0;
    margin-top: 4px;
    text-align: center;
  }
}