/* hmr.css — Hotel Moonlit Resort（仮デザイン 2026-11-17）
   方針：Second Life にあった夜のリゾートホテル。夜の海と月、水面に映る月の光。
   動く文字は使わない。アニメーションは入れていない。 */

/* ------------------------------------------------------------ 1. Tokens */
:root {
  --bg: #080b1a;
  --bg-2: #0d1230;
  --panel: #10163a;
  --line: rgba(200, 210, 255, 0.14);
  --line-strong: rgba(200, 210, 255, 0.38);
  --text: #e8ebf7;
  --text-dim: #a4aac8;
  --text-faint: #6c7398;
  --accent: #ecd9a0;          /* 月の光 */
  --accent-2: #9fb3ff;        /* 夜の青 */
  --off: #6c7398;
  --font-display: "Cormorant Garamond", "Zen Kaku Gothic New", serif;
  --font-mono: "Share Tech Mono", ui-monospace, "Cascadia Mono", monospace;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --max: 1040px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

/* ------------------------------------------------------------ 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 80% -10%, rgba(236, 217, 160, 0.08), transparent 45%),
    linear-gradient(var(--bg), var(--bg-2));
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: var(--bg); padding: 4px 10px; }

/* ------------------------------------------------------------ 3. Header */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: rgba(8, 11, 26, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand span { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; line-height: 1.1; }
.brand i { font-style: normal; color: var(--accent); margin-left: 0.3em; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
}
.site-nav a:hover { color: var(--accent); }

/* ------------------------------------------------------------ 4. Hero */
.hero { padding: clamp(40px, 8vw, 88px) 0 clamp(32px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.eyebrow {
  margin: 0 0 14px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.lamp { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--off); }
.hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  font-size: clamp(40px, 7vw, 72px); letter-spacing: 0.01em;
}
.hero h1 span { color: var(--accent); }
.hero h1 { font-weight: 600; letter-spacing: 0.02em; }
.lede { margin: 18px 0 0; font-size: clamp(16px, 2vw, 18px); color: var(--text-dim); }

/* 夜の海と月（飾り） */
.scene { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scene svg { display: block; width: 100%; height: auto; }
.scene figcaption {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--text-dim);
}

/* ------------------------------------------------------------ 5. Sections */
.notice {
  margin: 32px 0 0; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--text-dim); font-size: 15px;
}
.tag {
  display: inline-block; margin-right: 10px; padding: 0 8px; border-radius: 3px;
  background: var(--accent-2); color: var(--bg); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
}
.block { margin: 56px 0; }
.sec-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); letter-spacing: 0.04em;
}
.sec-head .idx { font-family: var(--font-mono); font-weight: 400; font-size: 14px; color: var(--accent); }
.sec-head .ja { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--text-faint); letter-spacing: 0; }

.panel { padding: clamp(18px, 3vw, 28px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.panel p { margin: 0; }
.panel--empty, .card--empty { border-style: dashed; color: var(--text-faint); text-align: center; }

.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 22px 0 0; }
.spec div { padding: 10px 14px; border-left: 3px solid var(--accent); background: rgba(236, 217, 160, 0.05); }
.spec dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-faint); }
.spec dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 17px; display: flex; align-items: center; gap: 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.card {
  display: flex; flex-direction: column; gap: 4px; padding: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.card .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-faint); }
.card .t { font-family: var(--font-display); font-size: 18px; }

/* ------------------------------------------------------------ 6. Footer */
.site-foot { margin-top: 72px; border-top: 1px solid var(--line); }
.site-foot__bar {
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 28px; font-size: 14px; color: var(--text-faint);
}
.site-foot p { margin: 0; }
.copy { font-family: var(--font-mono); }

/* ------------------------------------------------------------ 7. Narrow */
@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; }
  .site-nav ul { gap: 4px 14px; }
}
