﻿/* site.css — いなかもんグループ公式サイト 共通デザインシステム（pattern_c_v4 より抽出） */
  :root {
    --bg: #14110f;
    --bg-alt: #1a1714;
    --bg-deep: #0e0c0a;
    --ink: #f0ebe1;
    --ink-soft: #a39c8e;
    --ink-dim: #6f6a5f;
    --line: #2a251f;
    --line-soft: #1f1b16;
    --accent: #b8945e;
    --accent-hi: #d4a574;
    --accent-deep: #8a6c40;
  }
  * { -webkit-font-smoothing: antialiased; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.95;
    letter-spacing: 0.04em;
    overflow-x: hidden;
  }
  .font-en  { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.08em; }
  .font-mincho { font-family: 'Shippori Mincho', serif; }
  .text-accent     { color: var(--accent); }
  .text-accent-hi  { color: var(--accent-hi); }
  .text-soft       { color: var(--ink-soft); }
  .text-dim        { color: var(--ink-dim); }

  /* --- グレーンノイズ（金が浮かないように極薄） --- */
  body::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.72 0 0 0 0 0.58 0 0 0 0 0.37 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
    opacity: 0.05; mix-blend-mode: overlay;
  }
  main, header, footer { position: relative; z-index: 2; }

  /* --- 画像プレースホルダ：斜線→繊細なドット＋ヘアライン --- */
  .placeholder {
    background:
      linear-gradient(135deg, rgba(184,148,94,0.04) 0%, rgba(184,148,94,0) 60%),
      radial-gradient(rgba(184,148,94,0.18) 1px, transparent 1px) 0 0 / 14px 14px,
      var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    color: rgba(240,235,225,0.32);
    font-size: 0.68rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.18em;
    position: relative;
    overflow: hidden;
  }
  .placeholder::before, .placeholder::after {
    content: ""; position: absolute; background: rgba(184,148,94,0.25);
  }
  .placeholder::before { top:12px; left:12px; width:18px; height:1px; box-shadow: 0 0 0 0; }
  .placeholder::after  { top:12px; left:12px; width:1px; height:18px; }
  .ph-br::before, .ph-br::after { background: rgba(184,148,94,0.25); }
  .ph-corner { position:absolute; right:12px; bottom:12px; }
  .ph-corner::before, .ph-corner::after { content:""; position:absolute; background:rgba(184,148,94,0.25); right:0; bottom:0; }
  .ph-corner::before { width:18px; height:1px; }
  .ph-corner::after  { width:1px;  height:18px; }

  /* --- ライン --- */
  .gold-line     { background: var(--accent); height: 1px; }
  .gold-line-hi  { background: var(--accent-hi); height: 1px; }
  .hairline      { background: var(--line); height: 1px; }
  .vline         { border-left: 1px solid var(--line); }

  /* --- ラベル --- */
  .label-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .label-en::before {
    content: ""; width: 22px; height: 1px; background: var(--accent);
    display: inline-block;
  }

  /* --- ボタン --- */
  .btn-gold {
    background: var(--accent); color: #14110f;
    transition: all .35s ease;
    font-weight: 700; letter-spacing: 0.14em;
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 14px;
  }
  .btn-gold::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: translateX(-100%); transition: transform .6s ease;
  }
  .btn-gold:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(184,148,94,0.55); }
  .btn-gold:hover::after { transform: translateX(100%); }
  .btn-line {
    border: 1px solid var(--accent); color: var(--accent);
    transition: all .3s ease;
    display: inline-flex; align-items: center; gap: 12px;
    background: rgba(20,17,15,0.4);
  }
  .btn-line:hover { background: var(--accent); color: var(--bg); }

  .arrow-link {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: 'Cormorant Garamond', serif;
    color: var(--accent); font-style: italic;
    transition: gap .25s ease, color .25s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    white-space: nowrap;
  }
  .arrow-link .arrow {
    display:inline-block; width: 28px; height: 1px; background: currentColor;
    position: relative; transition: width .25s ease;
  }
  .arrow-link .arrow::after {
    content:""; position:absolute; right:-1px; top:-3px;
    width: 8px; height: 8px; border-right: 1px solid currentColor; border-top: 1px solid currentColor;
    transform: rotate(45deg);
  }
  .arrow-link:hover { gap: 22px; color: var(--accent-hi); }
  .arrow-link:hover .arrow { width: 40px; }

  /* --- マーキー --- */
  .marquee-tape {
    background: var(--accent); color: #14110f;
    padding: 16px 0; overflow: hidden;
    border-top: 1px solid var(--accent-deep);
    border-bottom: 1px solid var(--accent-deep);
    position: relative;
  }
  .marquee-tape::before, .marquee-tape::after {
    content:""; position:absolute; top:0; bottom:0; width: 80px; z-index: 2; pointer-events:none;
  }
  .marquee-tape::before { left:0;  background: linear-gradient(to right, var(--accent), rgba(184,148,94,0)); }
  .marquee-tape::after  { right:0; background: linear-gradient(to left,  var(--accent), rgba(184,148,94,0)); }
  .marquee {
    display: inline-block; white-space: nowrap;
    animation: marquee 60s linear infinite;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem; font-weight: 500; letter-spacing: 0.32em;
  }
  .marquee .dot { color: rgba(20,17,15,0.45); margin: 0 26px; }
  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* --- リボン / スタンプ --- */
  .ribbon {
    display: inline-block; background: var(--accent); color: #14110f;
    padding: 5px 14px; font-weight: 700; font-size: 0.66rem;
    letter-spacing: 0.28em;
    font-family: 'Cormorant Garamond', serif;
  }
  .ribbon-outline {
    display: inline-block; border: 1px solid var(--accent); color: var(--accent);
    padding: 4px 12px; font-weight: 500; font-size: 0.62rem;
    letter-spacing: 0.28em;
    font-family: 'Cormorant Garamond', serif;
    background: rgba(20,17,15,0.65);
    backdrop-filter: blur(4px);
  }
  .stamp {
    display: inline-block; border: 2px solid var(--accent);
    color: var(--accent); padding: 6px 14px;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.85rem; letter-spacing: 0.1em;
    transform: rotate(-3deg);
    background: rgba(20,17,15,0.55);
  }

  /* --- 大型グラデ数字 --- */
  .big-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    background: linear-gradient(165deg, var(--accent-hi) 0%, var(--accent) 45%, var(--accent-deep) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 0.9;
  }

  /* --- 縦書きラベル --- */
  .v-label {
    writing-mode: vertical-rl;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: 0.4em;
    font-size: 0.72rem;
    color: var(--ink-dim);
    text-transform: uppercase;
  }

  /* --- 章マーカー --- */
  .chapter {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.78rem; letter-spacing: 0.3em;
    color: var(--ink-soft); text-transform: uppercase;
  }
  .chapter .num { display: none; } /* 章番号は表示しない */
  .chapter::before {
    content:""; width: 30px; height: 1px; background: currentColor;
  }

  /* --- ヘッダー --- */
  .header-shell {
    background: rgba(20,17,15,0.7);
    backdrop-filter: blur(14px) saturate(120%);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-link {
    position: relative; padding: 6px 0;
    font-size: 0.85rem; letter-spacing: 0.12em;
    font-family: 'Noto Sans JP', sans-serif;
    transition: color .25s ease;
  }
  .nav-link::after {
    content:""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width .3s ease;
  }
  .nav-link:hover { color: var(--accent); }
  .nav-link:hover::after { width: 100%; }

  /* --- スクロールヒント --- */
  .scroll-hint {
    position: absolute; left: 50%; bottom: 36px;
    transform: translateX(-50%);
    display:flex; flex-direction: column; align-items: center; gap: 10px;
  }
  .scroll-hint .l {
    width: 1px; height: 56px; background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollLine 2.4s ease-in-out infinite;
    transform-origin: top;
  }
  @keyframes scrollLine {
    0%   { transform: scaleY(0); }
    50%  { transform: scaleY(1); }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  /* --- カード --- */
  .store-card { position: relative; }
  .store-card .img-wrap {
    position: relative; overflow: hidden;
  }
  .store-card .img-wrap .img {
    transition: transform .9s cubic-bezier(.2,.7,.2,1);
  }
  .store-card:hover .img-wrap .img { transform: scale(1.06); }
  .store-card .img-wrap::after {
    content:""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,17,15,0) 50%, rgba(20,17,15,0.7) 100%);
    pointer-events: none;
  }
  .store-card .num-tag {
    position: absolute; top: -22px; left: -8px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 5rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(184,148,94,0.35);
    pointer-events: none;
  }

  /* --- フェード --- */
  .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
  .fade-up.in { opacity: 1; transform: translateY(0); }
  .stagger > * { transition-delay: 0ms; }
  .stagger.in > *:nth-child(2) { transition-delay: 80ms; }
  .stagger.in > *:nth-child(3) { transition-delay: 160ms; }
  .stagger.in > *:nth-child(4) { transition-delay: 240ms; }

  /* --- セクション仕切り --- */
  .section-sep {
    display:flex; align-items:center; gap: 14px; justify-content:center;
  }
  .section-sep .l { width: 36px; height: 1px; background: var(--accent); }
  .section-sep .s { width: 14px; height: 1px; background: var(--accent-hi); }
  .section-sep .d {
    width: 5px; height: 5px; transform: rotate(45deg);
    background: var(--accent); margin: 0 4px;
  }

  /* --- 価値スタック --- */
  .pillar {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    transition: border-color .4s ease;
  }
  .pillar:hover { border-color: var(--accent); }

  /* --- モバイル --- */
  @media (max-width: 768px) {
    body { letter-spacing: 0.03em; }
    .v-label { display: none; }
  }

/* --- mobile responsive fixes (auto) --- */
.img-wrap{position:relative;overflow:hidden;}
@media(max-width:767px){.arrow-link{padding-top:6px;padding-bottom:6px;}}
