/* =========================================================
   NORECTIA — Official Site
   Layout concept: 夜の高層ホテルの窓枠のように、細い罫線と大きな余白で
   画面を区切る。装飾は光（アクセント）と文字組みだけに絞る。
   ========================================================= */

:root {
  /* Color */
  --bg: #0B0D10;
  --bg-2: #141820;
  --bg-3: #1A1F28;
  --fg: #F2F0EB;
  --fg-2: rgba(242, 240, 235, 0.78);
  --muted: #8F929A;
  --accent: #C8B58D;
  --accent-soft: rgba(200, 181, 141, 0.16);
  --line: rgba(242, 240, 235, 0.10);
  --line-strong: rgba(242, 240, 235, 0.22);
  --ink: #0B0D10;              /* アクセント上の文字色 */
  --mullion: #06070a;

  /* Type */
  --f-logo: "Cormorant Garamond", "Cormorant", "Bodoni 72", Didot, Georgia, "Times New Roman", serif;
  --f-sans: "Jost", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --f-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;

  /* Scale */
  --t-xs: 11px;
  --t-sm: 13px;
  --t-base: 15px;
  --t-md: 17px;

  /* Layout */
  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

@media (max-width: 959px) {
  :root { --header-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: var(--t-base);
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: var(--ink); }

.en { font-family: var(--f-sans); letter-spacing: 0.06em; }
/* 見出しを読点の位置で折り返す */
.nowrap-group { display: inline-block; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Logo glyphs (ヘッダーとイントロで共通) ---------- */
.logo-word {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.26em;
  white-space: nowrap;
}
.logo-glyph {
  display: inline-block;
  font-family: var(--f-logo);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: var(--fg);
  text-rendering: geometricPrecision;
  font-kerning: none;
  font-feature-settings: "kern" 0, "liga" 0;
}

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(48px, 7vw, 88px);
  max-width: 760px;
}
.section-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}
.section-head--row > div:first-child { display: grid; gap: 18px; }

.section-title {
  font-family: var(--f-ja);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: 0.16em;
  line-height: 1.4;
}
.section-title--brand {
  font-family: var(--f-logo);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 60px);
  letter-spacing: 0.04em;
  line-height: 1.12;
}
.section-lead {
  color: var(--fg-2);
  max-width: 36em;
}
.sub-title {
  font-family: var(--f-ja);
  font-weight: 500;
  font-size: var(--t-md);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 28px;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.26em;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--accent); color: var(--ink); }
.btn--solid:hover { background: var(--fg); }
.btn--line { border-color: var(--line-strong); color: var(--fg); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { min-height: 42px; padding: 0 22px; font-size: 11px; }
.btn[aria-disabled="true"] {
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  cursor: default;
  background: transparent;
}

.text-btn {
  font-size: var(--t-sm);
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.text-btn:hover { color: var(--fg); border-color: var(--fg); }
.text-btn--accent { color: var(--accent); border-color: var(--accent); }

.placeholder-tag {
  display: inline-block;
  font-family: var(--f-ja);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px dashed rgba(143, 146, 154, 0.5);
  padding: 4px 10px;
  line-height: 1.5;
  background: rgba(11, 13, 16, 0.55);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header__bg {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.site-header.is-scrolled .site-header__bg,
.site-header.is-open .site-header__bg { opacity: 1; }

.site-header__inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand-wrap { display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; padding: 8px 0; }
.brand__word { font-size: clamp(17px, 0.55vw + 13px, 24px); }
.brand:hover .logo-glyph { color: var(--accent); }
.brand .logo-glyph { transition: color .4s var(--ease); }

.replay {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color .3s, border-color .3s, opacity .6s var(--ease);
}
.replay svg { width: 15px; height: 15px; }
.replay:hover { color: var(--accent); border-color: var(--accent); }

.nav__list { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 0;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  color: var(--fg-2);
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0.26em; bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--fg); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }

.nav, .menu-btn { transition: opacity .8s var(--ease); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.menu-btn span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1px;
  background: var(--fg);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(35deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-35deg); }

@media (max-width: 959px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow-y: auto;
  animation: menu-in .5s var(--ease);
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu__list { display: grid; }
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__list span {
  font-family: var(--f-logo);
  font-size: clamp(24px, 7vw, 32px);
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.mobile-menu__list small { font-family: var(--f-ja); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.mobile-menu .text-btn { align-self: flex-start; }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  overflow: hidden;
}
html.intro-active .intro { display: block; }

.intro__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 52%, #10141a 0%, #090b0e 62%, #060709 100%);
}
.intro__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120vmin;
  height: 60vmin;
  margin: -30vmin 0 0 -60vmin;
  background: radial-gradient(ellipse at center, rgba(200, 181, 141, 0.20) 0%, rgba(200, 181, 141, 0.06) 38%, rgba(200, 181, 141, 0) 66%);
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.intro__stage { position: absolute; inset: 0; pointer-events: none; }
.intro__anchor { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }

.intro-glyph {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform, opacity;
  opacity: 0;
  backface-visibility: hidden;
}

.intro__rule {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 181, 141, 0), rgba(200, 181, 141, 0.7), rgba(200, 181, 141, 0));
  transform: scaleX(0);
  opacity: 0;
}
/* 単語の下のサブテキスト（CREATION / REACTION / NORECTIA で共用） */
.intro__sub {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  text-align: center;
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: clamp(10.5px, 0.35vw + 9px, 15px);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: var(--accent);
  white-space: nowrap;
  opacity: 0;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .intro__sub { letter-spacing: 0.17em; padding-left: 0.17em; font-size: 10.5px; }
}

.intro__skip {
  position: absolute;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--muted);
  border: 1px solid var(--line);
  opacity: 0;
  animation: skip-in .8s ease 1s forwards;
  transition: color .3s, border-color .3s;
}
.intro__skip:hover { color: var(--fg); border-color: var(--line-strong); }
.intro__skip-mark {
  width: 14px;
  height: 1px;
  background: currentColor;
}
@keyframes skip-in { to { opacity: 1; } }

/* イントロ中のサイト側の状態 */
html.intro-lock,
html.intro-lock body { overflow: hidden; }
html.intro-lock body { touch-action: none; }
html.intro-active .brand__word { visibility: hidden; }
html.intro-active.intro-landed .brand__word { visibility: visible; }
html.intro-active .site-header__bg,
html.intro-active .nav,
html.intro-active .menu-btn,
html.intro-active .replay { opacity: 0; }
html.intro-active .reveal-item { opacity: 0; transform: translate3d(0, 16px, 0); }
html.intro-active .hero__visual.reveal-item { transform: none; }

html.intro-active.intro-reveal .nav,
html.intro-active.intro-reveal .menu-btn { opacity: 1; transition-delay: .55s; }
html.intro-active.intro-reveal .replay { opacity: 1; transition-delay: 1.35s; }
html.intro-active.intro-reveal .reveal-item {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 250ms);
}
.reveal-item[data-reveal="1"] { --i: 1; }
.reveal-item[data-reveal="2"] { --i: 2; }
.reveal-item[data-reveal="3"] { --i: 3; }
.reveal-item[data-reveal="4"] { --i: 4; }
.reveal-item[data-reveal="5"] { --i: 5; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 48px) var(--gutter) clamp(56px, 9vh, 112px);
  overflow: hidden;
  isolation: isolate;
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #07080b 0%, #0d1117 60%, #0a0c10 100%);
}
.hero__canvas, .hero__lights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.55) 0%, rgba(11, 13, 16, 0) 22%),
    linear-gradient(0deg, rgba(11, 13, 16, 0.92) 0%, rgba(11, 13, 16, 0.35) 34%, rgba(11, 13, 16, 0) 58%),
    linear-gradient(90deg, rgba(11, 13, 16, 0.6) 0%, rgba(11, 13, 16, 0) 52%);
}
.hero__tag {
  position: absolute;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
  right: var(--gutter);
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: calc(var(--maxw));
  margin-inline: auto;
  display: grid;
  gap: 22px;
}
.hero__title {
  font-family: var(--f-logo);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 84px);
  line-height: 1.04;
  letter-spacing: 0.02em;
}
.hero__title span { display: block; }
.hero__title span:last-child { padding-left: 1.3em; color: var(--accent); }
.hero__lead {
  font-family: var(--f-ja);
  font-size: clamp(14px, 1vw + 8px, 17px);
  letter-spacing: 0.16em;
  color: var(--fg-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

.hero__now {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 9vh, 112px);
  display: grid;
  justify-items: end;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--accent);
  min-width: 180px;
}
.hero__now-label { font-size: 10px; letter-spacing: 0.32em; color: var(--muted); }
.hero__now-name { font-family: var(--f-logo); font-size: 24px; letter-spacing: 0.22em; padding-right: 0; }
.hero__now:hover .hero__now-name { color: var(--accent); }

@media (max-width: 959px) {
  .hero__now { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 48px; }
  .hero__title span:last-child { padding-left: 0.8em; }
  .hero__lead { letter-spacing: 0.08em; }
  .hero__actions .btn { flex: 1 1 140px; padding: 0 16px; }
  .hero__tag { left: var(--gutter); right: auto; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  position: relative;
  padding-block: clamp(96px, 12vw, 168px);
  scroll-margin-top: 0;
}
.section--sub { background: var(--bg-2); }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 64px);
}
@media (max-width: 760px) {
  .products { grid-template-columns: minmax(0, 1fr); }
}

.product { display: grid; gap: 24px; align-content: start; }
.product__media { position: relative; }
.product__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  max-width: 100%;
}
.product__status {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.26em;
  background: rgba(11, 13, 16, 0.72);
  border: 1px solid var(--line-strong);
  color: var(--fg-2);
  line-height: 1.6;
}
.product__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.product__status--in-development::before { background: var(--accent); }
.product__status--available { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.product__status--available::before { background: var(--ink); }

.product__body { display: grid; gap: 14px; min-width: 0; }
.product__series { font-size: 10.5px; letter-spacing: 0.32em; color: var(--muted); }
.product__name {
  font-family: var(--f-logo);
  font-size: clamp(24px, 2.1vw, 32px);
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.product__summary { color: var(--fg-2); font-size: 14px; }
.product__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.product__specs li + li::before { content: "/"; margin-right: 18px; color: var(--line-strong); }
.product__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 6px;
}


/* 商品シリーズの中の各パッケージ：導入ガイドへの直接リンクを保持 */
.product__variants { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.product__variant {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.product__variant-info { display: grid; gap: 2px; min-width: 0; }
.product__variant-name { font-size: 13.5px; line-height: 1.4; letter-spacing: 0.04em; }
.product__variant-status { font-size: 11px; color: var(--muted); }
.product__variant-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.product__variant-actions .text-btn { font-size: 12.5px; white-space: nowrap; }
.product__future-note { margin-top: 12px; font-size: 11px; letter-spacing: 0.24em; color: var(--muted); }

/* NEXT TIME：商品登録・購入ボタン・導入ガイドはまだ設けない */
.ph--future {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 48%, #1c2028 0%, #11151d 48%, #0b0d10 100%);
}
.ph--future::after {
  inset: 16% 20%;
  border: 1px solid rgba(200, 181, 141, 0.18);
  transform: skewX(-10deg);
}
.ph__message {
  position: relative;
  z-index: 1;
  font-family: var(--f-logo);
  font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: 0.14em;
  color: var(--accent);
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 440px) {
  .product__variant { align-items: flex-start; }
  .product__variant-actions { width: 100%; }
}

/* Placeholder visuals (CSS only) */
.ph {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1015;
}
.ph::after {
  /* 窓枠（マリオン） */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ph__label {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: rgba(242, 240, 235, 0.42);
}

.ph--hotel {
  background:
    radial-gradient(1.5px 1.5px at 18% 58%, rgba(236, 214, 170, .9) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 27% 63%, rgba(236, 214, 170, .7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 44% 55%, rgba(190, 210, 230, .7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 58% 61%, rgba(236, 214, 170, .8) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 72% 57%, rgba(236, 214, 170, .7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 86% 64%, rgba(190, 210, 230, .6) 50%, transparent 52%),
    radial-gradient(2px 2px at 63% 40%, rgba(220, 80, 70, .9) 50%, transparent 52%),
    linear-gradient(180deg, transparent 0 66%, rgba(200, 181, 141, .55) 66% calc(66% + 1px), transparent calc(66% + 1px)),
    linear-gradient(180deg, #07090c 0%, #121722 52%, #2a2721 66%, #0c0f14 66.2%, #090b0e 100%);
}
.ph--hotel::after {
  background:
    linear-gradient(90deg, transparent 0 calc(33.3% - 3px), var(--mullion) calc(33.3% - 3px) calc(33.3% + 3px), transparent calc(33.3% + 3px) calc(66.6% - 3px), var(--mullion) calc(66.6% - 3px) calc(66.6% + 3px), transparent calc(66.6% + 3px)),
    linear-gradient(180deg, var(--mullion) 0 10px, transparent 10px);
}

.ph--bar {
  background:
    radial-gradient(ellipse 9% 22% at 26% 30%, rgba(232, 200, 140, .45), transparent 70%),
    radial-gradient(ellipse 9% 22% at 50% 30%, rgba(232, 200, 140, .45), transparent 70%),
    radial-gradient(ellipse 9% 22% at 74% 30%, rgba(232, 200, 140, .45), transparent 70%),
    linear-gradient(180deg, transparent 0 64%, rgba(200, 181, 141, .7) 64% calc(64% + 1px), #15110d calc(64% + 1px) 72%, #0a0908 72%),
    linear-gradient(180deg, #0b0a09 0%, #17130f 64%);
}
.ph--bar::after {
  background:
    linear-gradient(90deg, transparent 0 calc(26% - .5px), rgba(200, 181, 141, .35) calc(26% - .5px) calc(26% + .5px), transparent calc(26% + .5px)) 0 0 / 100% 22% no-repeat,
    linear-gradient(90deg, transparent 0 calc(50% - .5px), rgba(200, 181, 141, .35) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)) 0 0 / 100% 22% no-repeat,
    linear-gradient(90deg, transparent 0 calc(74% - .5px), rgba(200, 181, 141, .35) calc(74% - .5px) calc(74% + .5px), transparent calc(74% + .5px)) 0 0 / 100% 22% no-repeat;
}

.ph--city {
  background: linear-gradient(180deg, #080a0e 0%, #10151d 55%, #1d1f22 100%);
}
.ph--city::before,
.ph--set::before {
  /* 窓明かり：間隔の違う2つの格子を重ねて不規則に見せる */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(236, 214, 170, .7) 0 .8px, transparent 1.3px) 0 0 / 11px 9px,
    radial-gradient(circle at center, rgba(190, 210, 230, .45) 0 .8px, transparent 1.3px) 4px 3px / 17px 13px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, rgba(0,0,0,.25) 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, rgba(0,0,0,.25) 100%);
  opacity: .8;
}
.ph--city::after {
  /* シルエット：段状のビル群の上側で窓明かりを隠す */
  background:
    linear-gradient(#0a0c10, #0a0c10) 0 0 / 8% 46% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 8% 0 / 7% 30% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 15% 0 / 9% 52% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 24% 0 / 6% 22% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 30% 0 / 10% 40% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 40% 0 / 7% 18% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 47% 0 / 9% 34% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 56% 0 / 8% 48% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 64% 0 / 6% 26% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 70% 0 / 11% 42% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 81% 0 / 7% 20% no-repeat,
    linear-gradient(#0a0c10, #0a0c10) 88% 0 / 12% 50% no-repeat,
    linear-gradient(0deg, rgba(8, 10, 14, .9) 0%, transparent 30%);
}

.ph--set {
  background:
    radial-gradient(ellipse 14% 26% at 50% 34%, rgba(232, 200, 140, .4), transparent 70%),
    linear-gradient(90deg, #121722 0 33.3%, #17130f 33.3% 66.6%, #0d1118 66.6%);
}
.ph--set::before { left: 66.6%; }
.ph--set::after {
  background:
    linear-gradient(90deg, transparent 0 33.3%, var(--mullion) 33.3% calc(33.3% + 3px), transparent calc(33.3% + 3px) 66.6%, var(--mullion) 66.6% calc(66.6% + 3px), transparent calc(66.6% + 3px)),
    linear-gradient(180deg, transparent 0 64%, rgba(200, 181, 141, .5) 64% calc(64% + 1px), rgba(6, 7, 10, .55) calc(64% + 1px));
}
.ph > .ph__label { z-index: 1; }

/* ---------- Start Guide（ホームの紹介セクション） ---------- */
.guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.guide-intro__head { margin-bottom: 0; }
.guide-intro__btn { justify-self: start; margin-top: 14px; }
.guide-intro__btn span { font-family: var(--f-sans); letter-spacing: 0; font-size: 15px; }
.guide-intro__steps { border-top: 1px solid var(--line); }
.guide-intro__step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.guide-intro__num { font-size: 12px; letter-spacing: 0.24em; color: var(--accent); font-variant-numeric: tabular-nums; }
.guide-intro__name { font-family: var(--f-ja); font-size: 15px; letter-spacing: 0.1em; color: var(--fg-2); }
@media (max-width: 860px) {
  .guide-intro { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- News ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 36px;
  padding: 0 16px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color .3s, border-color .3s, background-color .3s;
}
.chip:hover { color: var(--fg); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--accent); border-color: var(--accent); }

.news { border-top: 1px solid var(--line); }
.news__item {
  display: grid;
  grid-template-columns: 132px 140px minmax(0, 1fr);
  gap: 8px 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.news__date {
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.news__cat {
  justify-self: start;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.news__cat--bug { color: #d9a08f; }
.news__main { min-width: 0; }
.news__title { font-family: var(--f-ja); font-size: 16px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.7; }
.news__title a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.news__title a:hover { color: var(--accent); border-color: var(--accent); }
.news__body { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.news__sample {
  display: inline-block;
  margin-left: 10px;
  padding: 0 7px;
  font-family: var(--f-sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
  border: 1px dashed rgba(143, 146, 154, 0.5);
  vertical-align: 2px;
  line-height: 1.7;
}
.news__empty { padding: 40px 0; color: var(--muted); }

@media (max-width: 760px) {
  .news__item { grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; }
  .news__main { grid-column: 1 / -1; }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 128px);
}
.about__origin, .about__policy { display: grid; gap: 0; align-content: start; }
.about__origin > p, .about__policy > p { color: var(--fg-2); max-width: 34em; }
.about__origin .btn { justify-self: start; margin-top: 36px; }
.about__policy > .sub-title:not(:first-child) { margin-top: 48px; }
@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
}

.anagram {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  overflow-x: auto;
}
.anagram__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.anagram__word { display: flex; }
.anagram__ch {
  width: clamp(26px, 3.2vw, 38px);
  text-align: center;
  font-family: var(--f-logo);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
  color: rgba(242, 240, 235, 0.42);
}
.anagram__ch--core { color: var(--accent); }
.anagram__row--brand .anagram__ch { color: var(--fg); }
.anagram__row--brand .anagram__ch--core { color: var(--accent); }
.anagram__label { font-family: var(--f-ja); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); white-space: nowrap; }
.anagram__legend { margin-top: 8px; font-size: 12px; color: var(--muted); }
.anagram__legend b { font-weight: 400; color: var(--accent); }

.policy { margin: 0 0 8px; border-top: 1px solid var(--line); }
.policy__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.policy dt { font-family: var(--f-ja); font-weight: 500; letter-spacing: 0.12em; }
.policy dt .en { display: block; font-size: 10.5px; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; font-weight: 400; }
.policy dd { margin: 0; color: var(--fg-2); font-size: 14px; }
@media (max-width: 560px) {
  .policy__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.contact__main { display: grid; gap: 0; }
.contact__main > p { color: var(--fg-2); max-width: 34em; }
.contact__main .btn { margin-top: 32px; justify-self: start; }
.contact__pending { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.contact__sns { border-top: 1px solid var(--line); }
.sns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.sns__label { font-size: 10.5px; letter-spacing: 0.28em; color: var(--muted); grid-column: 1 / -1; text-transform: uppercase; }
.sns__value { font-family: var(--f-logo); font-size: clamp(22px, 2vw, 28px); letter-spacing: 0.06em; line-height: 1.3; overflow-wrap: anywhere; }
.sns__value a { border-bottom: 1px solid var(--line-strong); }
.sns__value a:hover { color: var(--accent); border-color: var(--accent); }
.sns__actions { display: flex; gap: 16px; align-items: center; }
@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px));
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
}
.site-footer__brand { font-family: var(--f-logo); font-size: 18px; letter-spacing: 0.32em; }
.site-footer__copy { font-size: 11.5px; letter-spacing: 0.14em; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  transform: translate3d(-50%, 12px, 0);
  padding: 12px 20px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
  white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Home / image-assisted NOCTELLE START GUIDE */
.guide-intro__facts { display:flex; gap:clamp(22px,4vw,42px); list-style:none; margin:24px 0 6px; padding:0; }
.guide-intro__facts li { display:grid; gap:2px; }
.guide-intro__facts strong { color:var(--accent); font-family:var(--f-logo); font-size:36px; font-weight:400; line-height:1.2; }
.guide-intro__facts span { color:var(--fg-2); font-size:12px; letter-spacing:.1em; }
.guide-intro__save { max-width:36em; font-size:12px; color:var(--muted); line-height:1.9; margin-top:14px; }
.guide-preview { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); border:1px solid var(--line); background:var(--bg); margin-top:40px; }
.guide-preview__image { display:block; min-width:0; align-self:center; padding:16px; }
.guide-preview__image img { display:block; width:100%; height:auto; }
.guide-preview__image > span { display:flex; justify-content:space-between; gap:12px; color:var(--accent); font-size:10px; letter-spacing:.12em; margin-top:10px; }
.guide-preview__image:hover,.guide-preview__image:focus-visible { outline:1px solid var(--accent); outline-offset:-1px; }
.guide-preview__body { padding:clamp(22px,3vw,36px); min-width:0; border-left:1px solid var(--line); }
.guide-preview__body h3 { font-family:var(--f-ja); font-size:clamp(19px,2vw,25px); line-height:1.7; letter-spacing:.08em; font-weight:500; margin:12px 0 18px; }
.guide-preview__body > p:not(.eyebrow) { font-size:14px; color:var(--fg-2); line-height:1.95; }
.guide-preview__body > p + p { margin-top:12px; }
.guide-routes { margin-top:30px; }
.guide-routes__title { font-weight:500; font-size:14px; letter-spacing:.1em; margin-bottom:14px; }
.guide-routes__links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.guide-routes__links a { position:relative; display:grid; gap:8px; min-width:0; padding:20px 30px 20px 18px; border:1px solid var(--line); background:var(--bg); }
.guide-routes__links a:hover,.guide-routes__links a:focus-visible { border-color:var(--accent); outline-offset:3px; }
.guide-routes__links span { font-family:var(--f-logo); font-size:21px; color:var(--accent); letter-spacing:.05em; }
.guide-routes__links small { font-size:11px; line-height:1.7; color:var(--fg-2); }
.guide-routes__links b { position:absolute; top:18px; right:12px; font-size:14px; color:var(--accent); font-weight:400; }
.guide-routes__note { font-size:12px; color:var(--muted); line-height:1.9; margin-top:14px; }
@media(max-width:900px) {
  .guide-preview { grid-template-columns:minmax(0,1fr); }
  .guide-preview__body { border-left:0; border-top:1px solid var(--line); }
  .guide-routes__links { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:380px) {
  .guide-routes__links { grid-template-columns:minmax(0,1fr); }
  .guide-intro__btn { letter-spacing:.06em; padding-inline:18px; font-size:12px; }
}

/* Supplied brand and NOCTELLE artwork: retain the complete originals. */
.hero--brand {
  --brand-panel-h:clamp(180px,33.333vw,560px);
  padding-top:calc(var(--header-h) + var(--brand-panel-h) + 48px);
  min-height:max(640px,100svh);
}
.hero--brand .hero__visual { top:var(--header-h); bottom:auto; height:var(--brand-panel-h); background:#0b0d10; }
.hero__brand-image { display:block; width:100%; height:100%; object-fit:contain; }
.product--collection .product__img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; background:var(--bg); }
@media(max-width:560px) { .hero--brand { min-height:0; justify-content:flex-start; padding-top:calc(var(--header-h) + var(--brand-panel-h) + 36px); } }

/* v06: compact brand hero, product comparison, focus and touch targets. */
.sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.hero--brand { --brand-panel-h:clamp(140px,25vw,350px); min-height:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.85fr); align-items:center; gap:28px 48px; padding-top:calc(var(--header-h) + var(--brand-panel-h) + 32px); padding-bottom:48px; }
.hero__brand-picture { display:block; width:100%; height:100%; }
.hero--brand .hero__content { gap:14px; max-width:none; }
.hero__title--compact { font-size:30px; letter-spacing:.13em; line-height:1.3; }
.hero__title--compact .hero__descriptor { font-family:var(--f-sans); padding:8px 0 0; color:var(--fg-2); font-size:13px; line-height:1.6; letter-spacing:.1em; }
.hero--brand .hero__lead { max-width:30em; font-size:15px; line-height:1.8; }
.hero--brand .hero__actions { margin-top:4px; }
.hero__product { display:grid; grid-template-columns:minmax(110px,160px) minmax(0,1fr); align-items:center; gap:24px; min-width:0; border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); padding:16px 0; }
.hero__product picture,.hero__product img { width:100%; height:auto; }
.hero__product > span { display:grid; gap:10px; }
.hero__product strong { color:var(--accent); font:400 28px/1.4 var(--f-logo); letter-spacing:.1em; }
.hero__product small { font-size:11px; line-height:1.8; color:var(--fg-2); }
.hero__product b { color:var(--accent); font-size:13px; font-weight:400; }
.product-comparison { margin-top:56px; }
.product-comparison > h3 { font-size:22px; letter-spacing:.08em; }
.product-comparison__lead { color:var(--fg-2); font-size:14px; margin:10px 0 24px; }
.product-comparison__cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.product-option { display:flex; flex-direction:column; min-width:0; gap:16px; padding:clamp(20px,3vw,30px); border:1px solid var(--line-strong); background:var(--bg-2); }
.product-option h4 { font:400 27px/1.4 var(--f-logo); color:var(--accent); letter-spacing:.04em; margin:0; }
.product-option__price { font:400 27px/1.2 var(--f-sans); }
.product-option__summary { font-size:15px; color:var(--fg-2); }
.product-option dl { margin:0; }
.product-option dl > div { padding:12px 0; border-top:1px solid var(--line); }
.product-option dt { color:var(--accent); font-size:12px; }
.product-option dd { margin:4px 0 0; color:var(--fg-2); font-size:14px; overflow-wrap:anywhere; }
.product-option code { font-size:13px; }
.product-option__note { border-left:2px solid var(--accent); padding-left:12px; color:var(--fg-2); font-size:13px; }
.product-option__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding-top:10px; }
.product-option__actions .btn { letter-spacing:.03em; }
:focus-visible { outline-width:2px; }
.text-btn,.chip,.replay { min-height:44px; }
.replay { min-width:44px; }
.nav__link { display:inline-flex; align-items:center; min-height:44px; }
@media(max-width:760px) {
  .hero--brand { grid-template-columns:minmax(0,1fr); gap:20px; padding-top:calc(var(--header-h) + var(--brand-panel-h) + 24px); padding-bottom:32px; }
  .hero__title--compact { font-size:25px; }
  .hero__product { grid-template-columns:110px minmax(0,1fr); gap:18px; }
  .hero__product strong { font-size:24px; }
  .product-comparison__cards { grid-template-columns:minmax(0,1fr); }
  .product-option__actions .btn { width:100%; }
}

/* Final anchor and keyboard polish found during visual comparison. */
.skip-link { position:fixed; top:12px; left:12px; z-index:300; padding:10px 16px; background:var(--accent); color:var(--ink); transform:translateY(-200%); }
.skip-link:focus { transform:translateY(0); }
.product-comparison { scroll-margin-top:calc(var(--header-h) + 24px); }
.hero__title--compact span.hero__descriptor { padding-left:0; color:var(--fg-2); }
@media(prefers-reduced-motion:reduce) { .mobile-menu { animation:none; } }
.skip-link { transition:none!important; animation:none!important; }
