/* 紹介サイトの見た目（日本語・简体中文・English の3ページで共通。書体だけ各ページの :root で替える） */
  /* ゲームと同じ「宵待」のデザイン（2026-10-22）：夜の地、灯りの金、好意のローズ。物語の文と見出しは明朝 */
  :root {
    --bg: #150f19;
    --surface: #1e1722;
    --ink: #f2ebe1;
    --muted: rgba(242, 235, 225, 0.72);
    --line: rgba(226, 200, 160, 0.22);
    --gold: #d9b77e;
    --rose: #e09aa3;
    --lilac: #cdb7e0;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
    --sans: "Zen Kaku Gothic New", system-ui, sans-serif;
    --serif: "Shippori Mincho", serif;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.9; letter-spacing: 0.04em; word-break: auto-phrase; }
  a { color: var(--gold); }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
  h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; text-wrap: balance; }

  /* ヘッダー：絵の上に重ねる */
  header { position: sticky; top: 0; z-index: 5; background: rgba(21, 15, 25, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  header .wrap { display: flex; align-items: center; gap: 24px; height: 54px; }
  .logo { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: 0.14em; }
  header nav { margin-left: auto; }
  /* 言語の切り替え（日本語・简体中文・English） */
  .langs { display: flex; gap: 12px; font-size: 12px; white-space: nowrap; }
  .langs a { color: var(--muted); text-decoration: none; }
  .langs a:hover { color: var(--ink); }
  .langs span { color: var(--gold); }
  /* 「简体中文」は日本語の書体に無い字があるので、簡体字の書体（この4字だけ読み込む）で出す */
  .langs [lang="zh-Hans"] { font-family: "Noto Sans SC", var(--sans); }
  .shot-note { margin: 40px auto 0; text-align: center; font-size: 13px; color: var(--muted); }
  header nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; font-size: 13px; }
  header nav a { color: var(--muted); text-decoration: none; }
  header nav a:hover { color: var(--ink); }
  .r18 { font-size: 11px; border: 1px solid var(--rose); color: var(--rose); border-radius: 3px; padding: 0 7px; line-height: 20px; letter-spacing: 0.1em; }

  /* 最初の画面：夕暮れの帰り道の絵に、ロゴとキャッチコピー */
  .hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; overflow: hidden; }
  .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; animation: kenburns 40s ease-in-out infinite alternate; }
  @keyframes kenburns { to { transform: scale(1.06); } }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 15, 25, 0.92) 0%, rgba(21, 15, 25, 0.55) 42%, rgba(21, 15, 25, 0) 64%); }
  .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(0deg, var(--bg), transparent); }
  .hero .wrap { position: relative; z-index: 1; width: 100%; }
  .hero-text { max-width: 640px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 0, 0, 0.5); }
  .en { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.5em; color: var(--gold); margin: 0 0 18px; }
  .en i { display: block; width: 34px; height: 1px; background: var(--gold); }
  .hero h1 { margin: 0; font-size: clamp(44px, 7.4vw, 72px); white-space: nowrap; line-height: 1.1; letter-spacing: 0.12em; }
  .catch { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(18px, 2.6vw, 22px); letter-spacing: 0.2em; }
  .copy { margin: 28px 0 0; font-family: var(--serif); font-size: clamp(16px, 2.2vw, 19px); line-height: 1.9; color: var(--ink); }
  .genre { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
  .genre b { color: var(--rose); font-weight: 500; }
  .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
  .btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 4px; padding: 13px 28px; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: 0.14em; background: var(--gold); color: var(--bg); text-shadow: none; transition: background 0.2s; }
  .btn:hover { background: #f0d6a6; }
  .status { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
  .status::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
  .voice { position: absolute; z-index: 1; left: 49%; top: 14%; writing-mode: vertical-rl; font-family: var(--serif); font-size: 20px; letter-spacing: 0.3em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 0, 0, 0.5); opacity: 0; animation: voice 1.4s ease 2.5s forwards; }
  @keyframes voice { to { opacity: 0.92; } }

  section { padding: 96px 0; scroll-margin-top: 54px; }
  .alt { background: var(--surface); }
  .eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 10px; font-size: 12px; letter-spacing: 0.4em; color: var(--gold); }
  .eyebrow::before, .eyebrow::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); }
  h2 { font-size: clamp(26px, 4.4vw, 34px); margin: 0 0 40px; text-align: center; line-height: 1.5; letter-spacing: 0.12em; }

  /* 3つの特徴 */
  .points { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .point { grid-column: span 6; }
  .point:nth-child(n+5) { grid-column: span 4; }
  .point { border: 1px solid var(--line); border-radius: 8px; padding: 28px 26px; background: rgba(21, 15, 25, 0.5); }
  .point .num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.2em; color: var(--gold); }
  .point h3 { margin: 6px 0 12px; font-size: 20px; line-height: 1.5; letter-spacing: 0.06em; }
  .point p { margin: 0; color: var(--muted); font-size: 14.5px; }

  /* 紹介動画 */
  .video { display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; background: #000; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .video-note { max-width: 900px; margin: 12px auto 0; font-size: 13px; color: var(--muted); text-align: center; }

  /* 遊び方：画像と文を交互に */
  .rows { display: grid; gap: 72px; }
  .row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
  .row:nth-child(even) .shot { order: 2; }
  .shot { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
  .shot img { width: 100%; height: auto; }
  .row .num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.2em; color: var(--gold); }
  .row h3 { font-size: clamp(21px, 3vw, 26px); margin: 4px 0 14px; line-height: 1.5; letter-spacing: 0.08em; }
  .row p { margin: 0; color: var(--muted); font-size: 15px; }
  .row p + p { margin-top: 10px; }
  .mini-pair { display: grid; gap: 8px; margin-top: 18px; }
  .row .mini-pair p { border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; color: var(--ink); font-family: var(--serif); font-size: 15px; line-height: 1.75; }
  .row .mini-pair p.inner { border-color: var(--lilac); background: rgba(205, 183, 224, 0.07); }
  .mini-pair span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
  .mini-pair .inner span { color: var(--lilac); }
  .row .mini-note { margin-top: 6px; font-size: 12px; }

  /* 安全・運営者 */
  ul.safety { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 10px; }
  ul.safety li { border: 1px solid var(--line); border-radius: 6px; padding: 14px 18px 14px 44px; position: relative; font-size: 15px; background: rgba(21, 15, 25, 0.4); }
  ul.safety li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
  table.info { border-collapse: collapse; margin: 0 auto; width: 100%; max-width: 640px; }
  table.info th, table.info td { border-bottom: 1px solid var(--line); padding: 14px 18px; text-align: left; vertical-align: top; }
  table.info th { width: 9em; color: var(--muted); font-weight: 400; }
  footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 13px; text-align: center; }
  footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 12px; }

  /* 料金 */
  .free { max-width: 760px; margin: 0 auto 28px; text-align: center; color: var(--muted); font-size: 15px; }
  .free b { color: var(--ink); font-weight: 500; }
  .first { max-width: 760px; margin: 0 auto 16px; border: 1px solid var(--rose); border-radius: 8px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; background: rgba(224, 154, 163, 0.07); }
  .first .tag { font-size: 12px; letter-spacing: 0.2em; color: var(--rose); }
  .first .yen { font-family: var(--serif); font-size: 26px; }
  .first .pt { font-size: 15px; color: var(--muted); }
  .first .pt b { color: var(--rose); font-size: 20px; font-weight: 500; }
  .packs { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .pack { border: 1px solid var(--line); border-radius: 8px; padding: 16px 10px; text-align: center; background: rgba(21, 15, 25, 0.5); position: relative; }
  .pack .yen { display: block; font-family: var(--serif); font-size: 20px; }
  .pack .pt { display: block; font-size: 15px; }
  .pack .bonus { display: block; font-size: 12px; color: var(--gold); min-height: 1.9em; }
  .pack.best { border-color: var(--gold); }
  .pack .label { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--gold); color: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; border-radius: 3px; padding: 0 8px; line-height: 20px; }
  .uses { max-width: 760px; margin: 28px auto 0; }
  .uses h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: 0.08em; }
  table.uses-t { border-collapse: collapse; width: 100%; font-size: 14.5px; }
  table.uses-t td { border-bottom: 1px solid var(--line); padding: 10px 14px; }
  table.uses-t td:last-child { text-align: right; white-space: nowrap; color: var(--gold); }
  .price-note { max-width: 760px; margin: 18px auto 0; padding-left: 1.2em; color: var(--muted); font-size: 13px; }

  /* 年齢確認 */
  .gate { position: fixed; inset: 0; background: rgba(21, 15, 25, 0.95); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 10; }
  .gate[hidden] { display: none; }
  .gate .box { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 36px 28px; max-width: 440px; width: 100%; text-align: center; }
  .gate h2 { margin-bottom: 10px; font-size: 24px; }
  .gate p { color: var(--muted); font-size: 15px; }
  .gate .btns { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
  .gate button, .gate a { border: 1px solid var(--gold); border-radius: 4px; padding: 10px 24px; font: inherit; font-weight: 700; letter-spacing: 0.1em; cursor: pointer; text-decoration: none; }
  .gate .yes { background: var(--gold); color: var(--bg); }
  .gate .no { background: transparent; color: var(--gold); }

  /* ヘッダー：ページ内のメニューは、言語の切り替え・R18 と並べて収まる幅でだけ出す（日本語のメニューが最も長い） */
  @media (max-width: 1000px) {
    header nav { display: none; }
    header .wrap { gap: 12px; }
    header .langs { margin-left: auto; gap: 10px; }
  }
  @media (max-width: 420px) {
    .logo { font-size: 16px; letter-spacing: 0.06em; gap: 6px; }
    header .wrap { gap: 8px; }
    header .langs { gap: 8px; font-size: 11px; }
  }
  @media (max-width: 360px) {
    .logo svg { display: none; }
  }
  @media (max-width: 760px) {
    /* 縦長の画面：人物を見せつつ、下側を暗くして文字を置く */
    .hero { min-height: 92vh; align-items: flex-end; }
    .hero::before { background: linear-gradient(0deg, rgba(21, 15, 25, 0.96) 0%, rgba(21, 15, 25, 0.6) 45%, rgba(21, 15, 25, 0) 70%); }
    .hero-text { padding-bottom: 56px; }
    .voice { display: none; }
    section { padding: 64px 0; }
    .points { grid-template-columns: 1fr; gap: 14px; }
    .point, .point:nth-child(n+5) { grid-column: auto; }
    .rows { gap: 48px; }
    .row { grid-template-columns: 1fr; gap: 18px; }
    .row:nth-child(even) .shot { order: 0; }
    table.info th { width: 6.5em; }
    .packs { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero > img { animation: none; } .voice { animation: none; opacity: 0.92; } }
