/* veilfox の公開ページ共通(デザイン https://claude.ai/artifact/V9735oDooKcmURdAmkAdaq の公開側) */
:root {
  --bg: #15131A; --card: #1F1C25; --deep: #1A1820; --line: #34303D; --dash: #5A5463;
  --text: #EEE9E1; --body: #D6D0C7; --sub: #ABA49B; --accent: #E2A65A; --accent-hi: #F0C489; --on-accent: #1A1408;
  --ok-line: #4A6B4E; --ok-bg: #1C2A1E; --ok-text: #CFE6D1; --warn-line: #8A5A2B; --warn-bg: #2A2018;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.7;
       font-family: "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; }
a { color: var(--accent); } a:hover { color: var(--accent-hi); }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sub { color: var(--sub); font-size: 14px; margin: 0; }

header.site { border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { color: var(--text); text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: .08em; }
header nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
header nav a { color: var(--text); text-decoration: none; }
main.wrap { padding-top: 32px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
footer.site { border-top: 1px solid var(--line); color: var(--sub); font-size: 13px; }
footer.site .wrap { padding-top: 24px; padding-bottom: 24px; }
footer.site p { margin: 0 0 4px; }

.head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
section > h2 { margin-bottom: 16px; }
h2 { font-size: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.grid.chars { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .grid.chars { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
}
.grid.videos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid.stores { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.hero h1 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 12px; }
.hero .sub { font-size: 16px; line-height: 1.9; }
.hero .note { color: var(--sub); font-size: 14px; }
.thumb, .cover { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--card); }
.cover { aspect-ratio: 2150 / 3035; }
.card, .char { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; }
.char { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.char .name, .card .name { font-weight: 700; }
figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
figure img { width: 100%; border-radius: 10px; }
figure video { width: 100%; border-radius: 12px; background: #000; }
figcaption { color: var(--sub); font-size: 13px; }

.store, .store-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px;
  min-height: 56px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--card);
  color: var(--text); text-decoration: none; }
.store { flex-direction: column; align-items: flex-start; justify-content: center; }
.accent { color: var(--accent); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0;
  border-radius: 10px; background: var(--accent); color: var(--on-accent); font: inherit; font-size: 16px; font-weight: 700;
  text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--on-accent); background: var(--accent-hi); }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn.ghost:hover { color: var(--accent-hi); }

.crumb { font-size: 14px; color: var(--sub); }
.char-hero { display: flex; flex-wrap: wrap; gap: 32px; }
.char-hero > .thumb { flex: 1 1 280px; max-width: 420px; }
.char-hero > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.char-hero h1 { font-size: 34px; }
.badge { align-self: flex-start; padding: 6px 14px; border: 1px solid var(--ok-line); background: var(--ok-bg); color: var(--ok-text);
  border-radius: 999px; font-size: 14px; }

.lock { border: 1px solid var(--line); border-radius: 16px; background: var(--deep); padding: 32px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 24px; }
.lock-box { max-width: 460px; background: var(--card); border: 1px solid var(--dash); border-radius: 14px; padding: 28px 20px;
  display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; color: var(--accent); }
.lock-box h2 { font-size: 20px; color: var(--text); }
.lock-box p { margin: 0; color: var(--body); font-size: 15px; }
.captions { width: 100%; max-width: 760px; color: var(--body); font-size: 14px; }
.captions h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.captions ul { margin: 0; padding-left: 1.2em; }
.locked-body { display: flex; flex-direction: column; gap: 48px; }
.buy { border: 1px solid var(--line); border-radius: 16px; padding: 24px 16px; background: var(--deep); }

.reader-head, .reader, .reader-end, .narrow { width: 100%; max-width: 560px; margin: 0 auto; }
.reader-head h1 { font-size: 28px; margin-bottom: 8px; }
.reader { display: flex; flex-direction: column; gap: 12px; }
.reader img { width: 100%; border-radius: 4px; }
.reader-end { border: 1px solid var(--dash); border-radius: 16px; background: var(--card); padding: 28px 20px;
  display: flex; flex-direction: column; gap: 14px; align-items: stretch; text-align: center; }
.reader-end p { margin: 0; color: var(--body); }

.narrow { display: flex; flex-direction: column; gap: 20px; }
.narrow h1 { font-size: 28px; }
.narrow > p { margin: 0; color: var(--body); }
form { display: flex; flex-direction: column; gap: 12px; }
.at { display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; border: 1px solid var(--dash);
  border-radius: 10px; background: var(--card); }
.at span { color: var(--sub); font-size: 17px; }
.at input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 17px; }
.alert { border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: 12px; padding: 14px 18px; }
.alert p { margin: 0; }
.notes { color: var(--sub); font-size: 14px; padding-left: 1.2em; margin: 0; }

body.age { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.age-box { width: 100%; max-width: 520px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 40px 24px; display: flex; flex-direction: column; gap: 20px; text-align: center; }
.age-box .brand { margin: 0; letter-spacing: .2em; color: var(--sub); font-size: 14px; }
.age-box h1 { font-size: 26px; }
.age-box .q { margin: 0; font-size: 18px; }
.yesno { flex-direction: row; flex-wrap: wrap; gap: 12px; }
.yesno .btn { flex: 1 1 160px; }
.age-box .notes { padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 13px; }
.age-box .notes p { margin: 0 0 4px; }
