/* ============================================
   JAPON HORLOGERIE | 高級腕時計 専門卸
   ラグジュアリー · モバイル最適 · 黒金象牙
   ============================================ */

:root {
  /* 深みのある黒 */
  --black: #07070a;
  --black-2: #0d0c10;
  --black-3: #141218;
  --panel: #17151c;
  /* 暖金 */
  --gold: #c8a968;
  --gold-2: #e7d3a0;
  --gold-3: #8f7040;
  --gold-line: rgba(200, 169, 104, 0.28);
  --gold-hair: rgba(200, 169, 104, 0.55);
  /* 象牙白 */
  --ivory: #f4eddf;
  --ivory-2: #faf5ea;
  --ivory-card: #fbf7ee;
  --ink: #1b1712;
  --ink-2: #4a4234;
  --bordeaux: #7a1f2b;
  /* 文字 */
  --white: #f2ead9;
  --muted: #9a917e;
  --gray: #8a8a8a;
  --line-green: #06c755;
  --font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', 'Noto Serif JP', 'Times New Roman', serif;
  --font-sans: 'Hiragino Sans', 'Yu Gothic', 'YuGothic', 'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--black); color: var(--white);
  line-height: 1.75; font-size: 15px; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--gold); color: var(--black); }

/* —— 金色发丝线分隔（菱形饰） —— */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ornament::before, .ornament::after {
  content: ''; width: 46px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hair));
}
.ornament::after { background: linear-gradient(90deg, var(--gold-hair), transparent); }
.ornament i { color: var(--gold); font-size: 10px; font-style: normal; letter-spacing: 0.3em; }
.ornament.light::before { background: linear-gradient(90deg, transparent, rgba(143, 112, 64, 0.5)); }
.ornament.light::after { background: linear-gradient(90deg, rgba(143, 112, 64, 0.5), transparent); }
.ornament.light i { color: var(--gold-3); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 24px 84px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--black); }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/hero-bg.jpg') center 42%/cover no-repeat;
  animation: heroZoom 1.8s var(--ease);
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 92% 66% at 50% 44%, rgba(7,7,10,0.52), transparent 72%),
    linear-gradient(180deg, rgba(7,7,10,0.86) 0%, rgba(7,7,10,0.32) 36%, rgba(7,7,10,0.42) 62%, rgba(7,7,10,0.9) 88%, var(--black) 100%);
}
/* 金色四角框线 */
.hero-frame {
  position: absolute; z-index: 2; inset: 22px; pointer-events: none;
}
.hero-frame::before, .hero-frame::after,
.hero-frame i::before, .hero-frame i::after {
  content: ''; position: absolute; width: 26px; height: 26px;
  border: 1px solid var(--gold-hair);
}
.hero-frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-frame::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-frame i::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-frame i::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-content {
  position: relative; z-index: 3; max-width: 460px; margin: 0 auto; width: 100%;
  text-align: center; animation: heroUp 1.4s 0.3s both var(--ease);
}
@keyframes heroUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }

.hero-wordmark {
  font-family: var(--font-serif); color: var(--gold);
  font-size: 15px; letter-spacing: 0.55em; text-indent: 0.55em;
  margin-bottom: 26px; font-weight: 600;
}
.hero-wordmark span { display: block; font-family: var(--font-sans); font-size: 9px;
  letter-spacing: 0.4em; text-indent: 0.4em; color: var(--muted); margin-top: 8px; font-weight: 500; }

.hero-title {
  font-family: var(--font-serif); font-size: 40px; line-height: 1.28;
  letter-spacing: 0.1em; margin-bottom: 20px; font-weight: 600;
  background: linear-gradient(175deg, #f4e7c8 0%, var(--gold-2) 38%, var(--gold) 62%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(200, 169, 106, 0.25);
}
.hero-sub {
  font-size: 13.5px; color: rgba(242, 234, 217, 0.72);
  margin: 22px 0 30px; line-height: 2.05; letter-spacing: 0.04em;
}
.hero-stats {
  display: flex; justify-content: center; gap: 0; margin: 30px 0 36px;
  border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
}
.hero-stat { flex: 1; text-align: center; padding: 16px 6px; position: relative; }
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 34px; background: var(--gold-line);
}
.hero-stat-num {
  font-family: var(--font-serif); font-size: 22px; color: var(--gold-2); font-weight: 600;
  letter-spacing: 0.05em;
}
.hero-stat-label {
  font-size: 9px; color: var(--muted); letter-spacing: 0.28em; margin-top: 4px;
  text-transform: uppercase;
}
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 44px; position: relative;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  color: #1a1408; font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-indent: 0.18em;
  border-radius: 1px; box-shadow: 0 18px 45px -14px rgba(200, 169, 106, 0.55);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.hero-cta::after {
  content: ''; position: absolute; inset: 3px; border: 1px solid rgba(26, 20, 8, 0.35);
  pointer-events: none; border-radius: 1px;
}
.hero-cta:active { transform: scale(0.97); }
.hero-cta small { font-size: 10px; opacity: 0.65; font-weight: 600; letter-spacing: 0.1em; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-serif); font-size: 10px; color: rgba(242, 234, 217, 0.4);
  letter-spacing: 0.4em; text-indent: 0.4em; animation: scrollBounce 2.4s infinite var(--ease);
}
@keyframes scrollBounce { 0%, 100% { transform: translate(-50%, 0); opacity: 0.4; } 50% { transform: translate(-50%, 8px); opacity: 0.85; } }

/* ============================================
   汎用セクション
   ============================================ */
section { padding: 78px 22px; position: relative; }
.section-inner { max-width: 480px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 38px; }
.section-eyebrow {
  font-family: var(--font-serif); font-size: 10.5px; letter-spacing: 0.46em; text-indent: 0.46em;
  color: var(--gold); font-weight: 600; margin-bottom: 14px; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-serif); font-size: 25px; line-height: 1.5;
  letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 600;
}
.section-title em { font-style: normal; color: var(--gold); }
.section-desc { font-size: 12.5px; color: var(--muted); line-height: 1.95; letter-spacing: 0.03em; }

/* ============================================
   FEATURES
   ============================================ */
.features { background: linear-gradient(180deg, var(--black), var(--black-2)); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); }
.feature-card {
  background: linear-gradient(180deg, var(--panel), var(--black-3));
  padding: 30px 16px 26px; text-align: center; position: relative;
  transition: background 0.4s;
}
.feature-card:active { background: var(--black-3); }
.feature-card::before {
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 1px; background: var(--gold-line);
}
.feature-icon {
  width: 48px; height: 48px; margin: 6px auto 16px; border-radius: 50%;
  border: 1px solid var(--gold-hair); background: rgba(200, 169, 104, 0.06);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 17px; color: var(--gold); font-weight: 600;
}
.feature-title { font-family: var(--font-serif); font-size: 14.5px; font-weight: 600; margin-bottom: 8px; color: var(--white); letter-spacing: 0.08em; }
.feature-text { font-size: 11px; color: var(--muted); line-height: 1.75; letter-spacing: 0.03em; }

/* ============================================
   CATALOG（象牙白ブティックギャラリー）
   ============================================ */
.catalog {
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 169, 104, 0.08), transparent 55%),
    var(--ivory);
  color: var(--ink);
}
.catalog .section-eyebrow { color: var(--gold-3); }
.catalog .section-title { color: var(--ink); }
.catalog .section-title em { color: var(--gold-3); }
.catalog .section-desc { color: var(--ink-2); }
.catalog .ornament i { color: var(--gold-3); }

.catalog-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 22px; margin-bottom: 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; justify-content: flex-start;
}
.catalog-tabs::-webkit-scrollbar { display: none; }
.catalog-tab {
  flex-shrink: 0; padding: 9px 20px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(143, 112, 64, 0.35);
  color: var(--ink-2); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  transition: all 0.35s var(--ease); white-space: nowrap;
}
.catalog-tab.active {
  background: linear-gradient(135deg, var(--ink), #2a221a);
  color: var(--gold-2); border-color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(27, 23, 18, 0.5);
}

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product-card {
  background: var(--ivory-card); border-radius: 2px; overflow: hidden;
  position: relative; cursor: pointer;
  border: 1px solid rgba(143, 112, 64, 0.22);
  box-shadow: 0 10px 30px -18px rgba(27, 23, 18, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.product-card:active { transform: scale(0.97); border-color: var(--gold-3); box-shadow: 0 16px 36px -16px rgba(27, 23, 18, 0.45); }
.product-card.hidden { display: none; }
.product-img {
  position: relative; width: 100%; aspect-ratio: 1/1; background: #fff; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:active .product-img img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 10px; font-family: var(--font-serif); border-radius: 1px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; color: #fff;
}
.product-tag.new { background: var(--gold-3); }
.product-tag.hot { background: var(--bordeaux); }
.product-tag.limited { background: var(--ink); }
.product-zoom {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(27, 23, 18, 0.78); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-2); font-size: 13px; border: 1px solid rgba(231, 211, 160, 0.4);
}
.product-info {
  padding: 14px 14px 16px; background: var(--ivory-card);
  border-top: 1px solid rgba(143, 112, 64, 0.18); text-align: center;
}
.product-name {
  font-family: var(--font-serif); font-size: 13.5px; font-weight: 600;
  margin-bottom: 4px; color: var(--ink); letter-spacing: 0.06em;
}
.product-type {
  font-size: 9.5px; color: var(--gold-3); letter-spacing: 0.22em; text-transform: uppercase; }

.load-more {
  display: block; margin: 30px auto 0; padding: 13px 40px;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--font-serif); font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-indent: 0.3em;
  border-radius: 1px; transition: all 0.35s var(--ease);
}
.load-more:active { background: var(--ink); color: var(--gold-2); }

/* ============================================
   PROCESS
   ============================================ */
.process { background: linear-gradient(180deg, var(--black-2), var(--black)); }
.process-steps { display: flex; flex-direction: column; }
.process-step { display: flex; gap: 18px; padding-bottom: 32px; position: relative; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: ''; position: absolute; left: 20px; top: 42px; bottom: 2px;
  width: 1px; background: linear-gradient(180deg, var(--gold-hair), transparent);
}
.process-step:last-child::before { display: none; }
.process-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--gold-hair); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); color: var(--gold); font-size: 15px; font-weight: 600;
}
.process-body { padding-top: 4px; }
.process-body h4 {
  font-family: var(--font-serif); font-size: 15.5px; font-weight: 600;
  color: var(--white); margin-bottom: 5px; letter-spacing: 0.06em;
}
.process-body p { font-size: 12.5px; color: var(--muted); line-height: 1.85; }

/* ============================================
   LINE CTA
   ============================================ */
.cta {
  background:
    radial-gradient(circle at 50% 18%, rgba(200, 169, 104, 0.14), transparent 58%),
    var(--black-2);
  position: relative; overflow: hidden;
}
.cta-frame {
  position: relative; z-index: 2; text-align: center;
  border: 1px solid var(--gold-line); padding: 44px 24px 38px;
  background: rgba(20, 18, 24, 0.45); backdrop-filter: blur(2px);
}
.cta-frame::before {
  content: ''; position: absolute; inset: 6px; border: 1px solid rgba(200, 169, 104, 0.14);
  pointer-events: none;
}
.cta-badge {
  display: inline-block; padding: 6px 16px;
  background: linear-gradient(135deg, var(--bordeaux), #5c1620);
  color: #f3d9d9; font-family: var(--font-serif);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.3em; text-indent: 0.3em;
  border-radius: 1px; margin-bottom: 22px;
}
.cta-title {
  font-family: var(--font-serif); font-size: 27px; line-height: 1.5;
  letter-spacing: 0.08em; margin-bottom: 14px; font-weight: 600;
}
.cta-title em { font-style: normal; color: var(--gold); }
.cta-sub { font-size: 13px; color: var(--muted); margin-bottom: 30px; line-height: 2; }

.cta-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; text-align: left; }
.cta-feature {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 16px; background: rgba(7, 7, 10, 0.5);
  border: 1px solid var(--gold-line); border-radius: 1px;
}
.cta-feature-icon {
  flex-shrink: 0; width: 22px; height: 22px; color: var(--gold); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.cta-feature-text { font-size: 12.5px; color: rgba(242, 234, 217, 0.92); letter-spacing: 0.03em; }
.cta-feature-text strong { color: var(--gold-2); font-weight: 600; }

.line-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px 24px; position: relative;
  background: linear-gradient(135deg, #0ad462, #04a844);
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-indent: 0.1em;
  border-radius: 2px; box-shadow: 0 16px 36px -12px rgba(6, 199, 85, 0.5);
  transition: transform 0.35s var(--ease); overflow: hidden;
}
.line-btn::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(255, 255, 255, 0.35); pointer-events: none; border-radius: 2px; }
.line-btn:active { transform: scale(0.97); }
.line-icon { width: 22px; height: 22px; flex-shrink: 0; }
.cta-note { font-size: 10.5px; color: var(--muted); margin-top: 16px; line-height: 1.8; letter-spacing: 0.04em; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050507; padding: 44px 22px 46px; text-align: center;
  border-top: 1px solid var(--gold-line);
}
.footer-brand {
  font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.42em; text-indent: 0.42em;
  color: var(--gold); margin-bottom: 8px; font-weight: 600;
}
.footer-tagline { font-size: 9px; color: var(--muted); margin-bottom: 22px; letter-spacing: 0.34em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 22px; }
.footer-links a { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; transition: color 0.3s; }
.footer-links a:active { color: var(--gold); }
.footer-copy { font-size: 9.5px; color: #45403a; letter-spacing: 0.12em; }

/* ============================================
   FAB
   ============================================ */
.fab {
  position: fixed; bottom: 18px; right: 18px; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  padding: 13px 20px 13px 15px;
  background: linear-gradient(135deg, #0ad462, #04a844);
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 999px; box-shadow: 0 10px 28px -6px rgba(6, 199, 85, 0.6);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.fab.show { opacity: 1; transform: translateY(0); }
.fab:active { transform: scale(0.95); }
.fab-icon { width: 20px; height: 20px; flex-shrink: 0; }
.fab-pulse {
  position: absolute; top: -2px; right: -2px; width: 12px; height: 12px;
  background: #ff3b3b; border-radius: 50%; border: 2px solid #fff;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 5, 7, 0.94); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  padding: 30px; opacity: 0; transition: opacity 0.35s var(--ease);
}
.lightbox.show { display: flex; opacity: 1; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 2px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--gold-line);
  color: var(--gold-2); font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.lightbox-caption {
  position: absolute; bottom: 32px; left: 0; right: 0; text-align: center;
  font-family: var(--font-serif); color: var(--gold-2); font-size: 14px; letter-spacing: 0.2em;
}

/* ============================================
   アニメーション
   ============================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@supports (padding: max(0px)) {
  .fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .hero { padding-top: calc(80px + env(safe-area-inset-top)); }
}
