/* SOCIA 販売ページ
   紙（プログラム冊子）とケースの紺ベルベット、真鍮の金。
   リーダー罫（……）は演奏会プログラムの「作曲者 … 曲名」から。 */

:root {
  --paper: #F2F3F0;
  --surface: #E8EAE4;
  --sheet: #FBFBF9;
  --ink: #1A1F33;
  --muted: #555C70;
  --rule: #D2D5CD;
  --rule-strong: #B9BDB3;

  --velvet: #171C38;
  --velvet-2: #1F2546;
  --velvet-rule: #343B66;
  --on-velvet: #ECE8DE;
  --on-velvet-muted: #A9ACC0;

  --brass: #D3AF63;
  --brass-ink: #866320;
  --error: #A3302B;

  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  line-break: strict;
}
/* 見出しは文節で折り返す（対応ブラウザのみ） */
h1, h2, h3, h4, summary { word-break: auto-phrase; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }

:focus-visible {
  outline: 2px solid var(--brass-ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible, .section-velvet :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--brass);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--brass);
  color: var(--velvet);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-wide { width: 100%; }
.btn-brass { background: var(--brass); color: var(--velvet); }
.btn-brass:hover { background: #E2C27D; }
.btn-velvet { background: var(--velvet); color: var(--on-velvet); }
.btn-velvet:hover { background: #2A3160; }
.btn-ghost { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-quiet {
  font-weight: 500;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.link-quiet:hover { text-decoration-thickness: 2px; }

/* ---------- リーダー罫 ---------- */
.leader-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
/* 定義リストでは dt の後ろに罫を描く（dl の中に余計な要素を置かないため） */
.leader-row > dt {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.leader, .leader-row > dt::after {
  flex: 1 1 24px;
  min-width: 24px;
  align-self: baseline;
  height: 2px;
  transform: translateY(-0.3em);
  background-image: radial-gradient(circle, currentColor 0.9px, transparent 1.3px);
  background-size: 7px 2px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.leader-row > dt::after { content: ""; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--velvet);
  color: var(--on-velvet);
  border-bottom: 1px solid var(--velvet-rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.brand-signature { display: block; width: 148px; }
.brand-logo { width: 100%; height: auto; }
.brand-reading {
  display: block;
  margin-left: 32.5%;
  margin-top: 1px;
  font-family: var(--gothic);
  font-size: 0.5625rem;
  line-height: 1.2;
  letter-spacing: 0.22em;
  color: var(--on-velvet-muted);
}
.footer-brand { display: inline-block; text-decoration: none; margin-bottom: 10px; }
.footer-brand .brand-signature { width: 180px; }
.footer-brand .brand-reading { font-size: 0.625rem; }
.legal-header .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 400px) {
  .legal-header .brand-signature { width: 128px; }
  .legal-header .btn { padding-inline: 14px; font-size: 0.75rem; }
}
.brand-name {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.brand-sub {
  font-size: 0.75rem;
  color: var(--on-velvet-muted);
  letter-spacing: 0.12em;
}
.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}
.site-nav a { text-decoration: none; padding: 6px 0; }
.site-nav a:hover { color: var(--brass); }
.nav-toggle { display: none; }

@media (max-width: 1200px) {
  .header-inner { gap: 12px; }
  .brand-sub { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 4px;
    background: none;
    border: 0;
    color: var(--on-velvet);
    font-size: 0.8125rem;
    cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform .2s;
  }
  .nav-toggle-bars { position: relative; transform: translateY(-3px); }
  .nav-toggle-bars::before { content: ""; position: absolute; top: 6px; }
  .site-header.is-open .nav-toggle-bars { transform: rotate(45deg); }
  .site-header.is-open .nav-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--velvet);
    border-bottom: 1px solid var(--velvet-rule);
    font-size: 1rem;
    display: none;
  }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--velvet-rule); }
  .site-header.is-open .site-nav { display: flex; }
}
/* スマホでは、ヒーローのボタンと画面下部の固定ボタンに任せる */
@media (max-width: 720px) {
  .header-cta { display: none; }
}
.brand-name, .nav-toggle-text { white-space: nowrap; }

/* ---------- ヒーロー ---------- */
.hero {
  background: var(--velvet);
  color: var(--on-velvet);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.hero-kicker {
  color: var(--brass);
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(2.25rem, 3.9vw, 3.5rem);
  line-height: 1.45;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  white-space: nowrap;
}
.hero-lead {
  margin-top: 28px;
  max-width: 30em;
  color: var(--on-velvet-muted);
  font-size: 1rem;
  line-height: 2;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 36px;
}
.facts {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--velvet-rule);
  max-width: 30rem;
}
.facts .leader-row { padding: 8px 0; }
.facts dt { font-size: 0.9375rem; }
.facts dd {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--brass);
  white-space: nowrap;
  text-align: right;
}
.facts dd small {
  display: block;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--on-velvet-muted);
}
/* 長い項目名は、決めた位置（.nb の切れ目）でだけ折り返す */
.fact-label { flex: 0 1 auto; line-height: 1.6; }
.nb { display: inline-block; white-space: nowrap; }
/* 2行に組む項目名。幅を長い方の行に合わせ、残りをリーダー罫に渡す */
.is-stacked { width: min-content; }

/* 見本（モック） */
.demo-stage {
  position: relative;
  padding: 0 9% 7% 0;
}
/* 中の重なり（ベルベットの暗幕など）を枠の内側で閉じ、スマホの画像より前に出さない */
.mock {
  isolation: isolate;
  border-radius: 10px;
  overflow: hidden;
  background: #262C52;
  border: 1px solid var(--velvet-rule);
  box-shadow: 0 30px 60px -20px rgba(4, 6, 20, 0.7);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 34px;
  padding: 0 14px;
  background: #262C52;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #464E80; }
.mock-url {
  flex: 1;
  max-width: 340px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #171C38;
  color: var(--on-velvet-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-url span { color: var(--on-velvet); }

/* 見本サイトの中身は、配色トークン（--bg ほか）と cqw で描く */
.mock-screen {
  --bg: #FDFCFA; --surface: #F3F0E9; --text: #1C1D21; --muted: #686A70; --accent: #8C6A2F; --line: #E2DDD2;
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--gothic);
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.mock-screen p { margin: 0; }
.tpl { position: absolute; inset: 0; display: none; }
.mock[data-template="recital"] .tpl-recital,
.mock[data-template="velvet"] .tpl-velvet,
.mock[data-template="poster"] .tpl-poster { display: grid; }

.m-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2cqw;
}
.m-logo {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.9cqw;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.m-logo i {
  display: block;
  font-family: "Bodoni Moda", serif;
  font-size: 1.15cqw;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.m-menu { font-size: 1.1cqw; letter-spacing: 0.16em; white-space: nowrap; }
.m-role { font-size: 1.3cqw; letter-spacing: 0.2em; }
.m-role i { margin-left: 1cqw; font-family: "Bodoni Moda", serif; color: var(--muted); letter-spacing: 0.02em; }
.m-next-label { display: block; font-size: 1cqw; color: var(--muted); letter-spacing: 0.16em; }
.m-date {
  font-family: "Bodoni Moda", serif;
  font-size: 3.6cqw;
  line-height: 1;
  color: var(--text);
}
.m-date small { display: block; font-family: var(--gothic); font-size: 1cqw; color: var(--muted); margin-top: 0.6cqw; }
.m-next-title { font-weight: 700; font-size: 1.3cqw; line-height: 1.6; }
.m-next-title small { display: block; font-weight: 400; font-size: 1cqw; color: var(--muted); }

/* リサイタル */
.tpl-recital {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 3cqw;
  padding: 3cqw 4cqw 4cqw;
}
.tpl-recital .m-body {
  display: grid;
  grid-template-columns: 44% 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 3.5cqw;
  min-height: 0;
}
.tpl-recital .m-left {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: 1.4cqw;
  min-height: 0;
}
.tpl-recital .m-role { grid-column: 1; grid-row: 1; }
.m-vlatin {
  grid-column: 2; grid-row: 1;
  writing-mode: vertical-rl;
  font-family: "Bodoni Moda", serif;
  font-style: italic;
  font-size: 1.5cqw;
  color: var(--muted);
}
.m-vname {
  grid-column: 3; grid-row: 1;
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 5.6cqw;
  line-height: 1;
  letter-spacing: 0.32em;
}
.tpl-recital .m-bottom { grid-column: 1 / -1; grid-row: 2; }
.m-tagline { font-size: 1.25cqw; line-height: 2; padding-bottom: 2cqw; border-bottom: 1px solid var(--line); }
.tpl-recital .m-next {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 2cqw;
  margin-top: 1.6cqw;
}
.tpl-recital .m-next-label { grid-column: 1 / -1; margin-bottom: 0.6cqw; }
.m-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* ベルベット */
/* 右下はスマホの画像が重なるので、次の公演は中央寄りに置く */
.tpl-velvet {
  grid-template-columns: 50% 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 3cqw 4cqw 4cqw;
}
.tpl-velvet .m-nav { grid-column: 1 / -1; }
.tpl-velvet .m-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 30%;
}
.tpl-velvet::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 46%, transparent 72%),
    linear-gradient(0deg, color-mix(in srgb, var(--bg) 80%, transparent) 0%, transparent 40%);
  z-index: 1;
}
.tpl-velvet > :not(.m-bg) { position: relative; z-index: 2; }
.m-velvet-name { grid-column: 1; grid-row: 3; align-self: end; justify-self: start; }
.m-hname {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 6.2cqw;
  line-height: 1.15;
  letter-spacing: 0.2em;
}
.m-hlatin {
  font-family: "Bodoni Moda", serif;
  font-style: italic;
  font-size: 2.1cqw;
  margin: 0.4cqw 0 1.6cqw;
  color: var(--accent);
}
.m-next-velvet {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  align-self: end;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 1.6cqw;
  padding-top: 1.4cqw;
  border-top: 1px solid var(--accent);
}
.m-next-velvet .m-next-label { grid-column: 1 / -1; margin-bottom: 0.4cqw; }

/* ポスター */
.tpl-poster {
  grid-template-columns: 54% 1fr;
  grid-template-rows: auto minmax(0, 1fr);
}
.tpl-poster .m-nav {
  grid-column: 1 / -1;
  padding: 2.2cqw 4cqw;
  background: var(--bg);
}
.tpl-poster .m-logo { font-family: var(--gothic); font-weight: 700; }
.tpl-poster .m-logo i { font-family: var(--gothic); font-style: normal; font-weight: 500; }
.m-poster-block {
  display: flex;
  flex-direction: column;
  padding: 3.4cqw 4cqw;
  background: var(--accent);
  color: var(--bg);
  min-height: 0;
}
.m-big {
  font-family: "Syne", var(--gothic);
  font-weight: 800;
  font-size: 6.4cqw;
  line-height: 0.95;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.m-poster-jp {
  margin-top: 2cqw;
  font-weight: 700;
  font-size: 2.2cqw;
  letter-spacing: 0.2em;
}
.m-poster-jp small { margin-left: 1.4cqw; font-size: 1.2cqw; font-weight: 500; }
.m-tile {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 1.4cqw 1.8cqw;
  background: var(--bg);
  color: var(--text);
  width: fit-content;
}
.m-tile-date { font-family: "Syne", var(--gothic); font-weight: 800; font-size: 3cqw; line-height: 1; }
.m-tile-date small { display: block; font-size: 1cqw; letter-spacing: 0.1em; color: var(--muted); margin-top: 0.4cqw; }
.m-tile-title { font-weight: 700; font-size: 1.3cqw; line-height: 1.5; }
.m-tile-title small { display: block; font-weight: 400; font-size: 1cqw; color: var(--muted); }
.m-poster-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; min-height: 0; }

/* スマホの管理画面 */
.phone {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 25%;
  padding: 1.2%;
  border-radius: 14% / 6.5%;
  background: #0F1329;
  box-shadow: 0 24px 48px -12px rgba(4, 6, 20, 0.75), inset 0 0 0 1px #3A4170;
}
.phone img { border-radius: 12% / 5.5%; width: 100%; }

/* 見本の切り替え */
.demo-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: center;
  margin-top: 28px;
}
.demo-group {
  display: contents;
}
.demo-group legend {
  float: left;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--on-velvet-muted);
  letter-spacing: 0.12em;
}
.seg {
  display: inline-flex;
  width: fit-content;
  padding: 3px;
  border: 1px solid var(--velvet-rule);
  border-radius: 999px;
}
.seg label { position: relative; }
.seg input, .swatches input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.seg span {
  display: block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.seg input:checked + span { background: var(--on-velvet); color: var(--velvet); font-weight: 700; }
.seg input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { position: relative; cursor: pointer; }
.swatch {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sw-bg) 50%, var(--sw-accent) 50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: box-shadow .2s;
}
.swatches input:checked + .swatch { box-shadow: 0 0 0 2px var(--velvet), 0 0 0 4px var(--brass); }
.swatches input:focus-visible + .swatch { outline: 2px solid var(--brass); outline-offset: 5px; }
.demo-note {
  grid-column: 2;
  min-height: 3.2em;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--on-velvet-muted);
}
.demo-note b { display: block; color: var(--on-velvet); font-weight: 700; font-size: 0.9375rem; }
.demo-caption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--velvet-rule);
  font-size: 0.75rem;
  color: var(--on-velvet-muted);
  line-height: 1.7;
}

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: clamp(2rem, 8.4vw, 3.5rem); }
}
@media (max-width: 560px) {
  .demo-controls { grid-template-columns: 1fr; gap: 10px; }
  .demo-group legend { float: none; margin-top: 8px; }
  .demo-note { grid-column: 1; }
  .phone { width: 28%; }
}

/* ---------- セクション共通 ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-surface { background: var(--surface); }
.section-rule { border-top: 1px solid var(--rule); }
.section-velvet { background: var(--velvet-2); color: var(--on-velvet); }
.section-head { max-width: 42rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  line-height: 1.55;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}
.section-lead {
  margin-top: 20px;
  max-width: 36em;
  color: var(--muted);
}
.section-velvet .section-lead { color: var(--on-velvet-muted); }

/* 提供価値 */
.value-photo {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: 4px;
}
.audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}
.audience { padding: 4px 36px 0; border-left: 1px solid var(--rule); }
.audience:first-child { padding-left: 0; border-left: 0; }
.audience:last-child { padding-right: 0; }
.audience-who { font-size: 0.875rem; color: var(--brass-ink); font-weight: 700; letter-spacing: 0.1em; }
.audience-title {
  margin: 10px 0 14px;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}
.audience p:last-child { font-size: 0.9375rem; color: var(--muted); }

@media (max-width: 860px) {
  .value-photo { aspect-ratio: 16 / 9; }
  .audiences { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .audience, .audience:first-child { padding: 28px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .audience:first-child { border-top: 0; padding-top: 0; }
}

/* 管理画面 */
.admin-figure img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--velvet-rule);
}
.admin-figure figcaption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--on-velvet-muted);
}
.admin-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: 48px;
}
.admin-list > div { padding: 20px 0; border-top: 1px solid var(--velvet-rule); }
.admin-list dt {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--brass);
  margin-bottom: 6px;
}
.admin-list dd { font-size: 0.9375rem; color: var(--on-velvet-muted); line-height: 1.8; }
@media (max-width: 860px) {
  .admin-figure { margin-inline: calc(var(--gutter) * -1); overflow-x: auto; padding: 0 var(--gutter) 8px; }
  .admin-figure img { width: 760px; max-width: none; }
  .admin-list { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
}

/* 主な機能 */
.page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-bottom: 1px solid var(--rule);
}
.page-list > div {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.page-list dt { font-family: var(--mincho); font-weight: 600; font-size: 1.0625rem; }
.page-list dd { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; padding-top: 2px; }
.feature-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 56px;
}
.feature-notes > div { padding-left: 20px; border-left: 2px solid var(--brass); }
.feature-notes h3 { font-family: var(--mincho); font-weight: 600; font-size: 1.125rem; margin-bottom: 8px; }
.feature-notes p { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }
@media (max-width: 860px) {
  .page-list { grid-template-columns: minmax(0, 1fr); }
  .page-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .feature-notes { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
}

/* 料金（プログラム冊子の体裁） */
.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.program {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
}
.program::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.program-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-bottom: 18px;
  border-bottom: 3px double var(--rule-strong);
}
.program-head h3 { font-family: var(--mincho); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.3em; }
.program-head p { font-size: 0.8125rem; color: var(--muted); }
.price-row { padding: 26px 0 24px; border-bottom: 1px solid var(--rule); }
.price-name {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}
.price-name small {
  display: block;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.price-amount {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.125rem;
  white-space: nowrap;
}
.price-amount .num { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: 0.02em; margin-right: 2px; }
.price-amount .per { font-size: 0.875rem; color: var(--muted); }
.price-desc { margin-top: 10px; font-size: 0.9375rem; color: var(--muted); line-height: 1.8; max-width: 30em; }
.price-tax { margin-top: 4px; text-align: right; font-size: 0.8125rem; color: var(--brass-ink); font-weight: 500; }
.price-row .leader { color: var(--muted); }
.program-foot { margin-top: 20px; font-size: 0.8125rem; color: var(--muted); line-height: 1.8; }

.included { padding-top: 8px; }
.included h3 { font-family: var(--mincho); font-weight: 600; font-size: 1.25rem; margin-bottom: 20px; }
.check-list { margin-bottom: 32px; border-top: 1px solid var(--rule-strong); }
.check-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.25em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--brass-ink);
  border-bottom: 2px solid var(--brass-ink);
  transform: rotate(-45deg);
}
@media (max-width: 960px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); }
}
.price-name { flex: 0 1 auto; line-height: 1.6; }
@media (max-width: 480px) {
  .program { padding: 28px 22px; }
  .price-row > .leader-row { gap: 8px; }
  .price-row .leader { min-width: 12px; }
  .price-name { font-size: 1.125rem; }
  /* 2行の項目名と金額は横に並ばないので、金額を次の行の右に置く */
  .price-row > .leader-row:has(.is-stacked) { flex-wrap: wrap; }
  .price-row > .leader-row:has(.is-stacked) .leader { display: none; }
  .price-row > .leader-row:has(.is-stacked) .price-amount { width: 100%; text-align: right; }
  .price-amount .num { font-size: 1.625rem; }
}
@media (max-width: 359px) {
  .price-row > .leader-row { flex-wrap: wrap; }
  .price-row .leader { display: none; }
  .price-amount { width: 100%; text-align: right; }
}

/* 納品の流れ */
.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 24px;
}
.flow-span {
  grid-column: 3 / 6;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--brass-ink);
  position: relative;
}
.flow-span::before, .flow-span::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 1px;
  height: 12px;
  background: var(--brass-ink);
}
.flow-span::before { left: 0; }
.flow-span::after { right: 0; }
.flow-span span { font-size: 0.875rem; color: var(--muted); }
.flow-span b { font-family: var(--mincho); font-weight: 700; font-size: 1.5rem; color: var(--brass-ink); letter-spacing: 0.08em; white-space: nowrap; }
.flow-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  counter-reset: step;
}
.flow-steps li {
  counter-increment: step;
  position: relative;
  padding-top: 64px;
}
.flow-steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 1;
}
.flow-steps li::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 44px;
  right: -24px;
  height: 1px;
  background: var(--rule-strong);
}
.flow-steps li:last-child::after { display: none; }
.flow-steps li.is-span::before { background: var(--velvet); color: var(--on-velvet); border-color: var(--velvet); }
.flow-steps h3 { font-family: var(--mincho); font-weight: 600; font-size: 1.125rem; margin-bottom: 8px; letter-spacing: 0.04em; }
.flow-steps p { font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
.fine { margin-top: 40px; font-size: 0.8125rem; color: var(--muted); }

@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-span {
    grid-column: 1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2px 14px;
    padding: 14px 18px;
    margin-bottom: 32px;
    border: 1px solid var(--brass-ink);
    border-radius: 4px;
  }
  .flow-span::before, .flow-span::after { display: none; }
  .flow-steps { grid-template-columns: minmax(0, 1fr); }
  .flow-steps li { padding: 0 0 32px 64px; }
  .flow-steps li::after { top: 44px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
}

/* よくある質問 */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: start;
}
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform .25s;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq-grid .section-head { position: static; margin-bottom: 32px; }
}

/* ---------- フォーム ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.apply-form, .form-done {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 48px);
}
.form-legend-note { font-size: 0.875rem; color: var(--muted); margin-bottom: 8px; }
.form-block {
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--rule);
  min-width: 0;
}
.form-block:first-of-type { border-top: 0; }
.form-block > legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 18px;
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: 0.06em;
}
.form-block > legend + * { clear: both; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.field + .field, .form-row + .field, .field + .form-row, .form-row + .form-row { margin-top: 20px; }
.form-row .field + .field { margin-top: 0; }
.field label:not(.chip):not(.check), .label, .sub-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
}
.req, .opt {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.7;
  vertical-align: 2px;
  letter-spacing: 0.08em;
}
.req { background: var(--velvet); color: var(--on-velvet); }
.form-legend-note .req { margin: 0 4px 0 0; }
.opt { background: transparent; color: var(--muted); font-weight: 400; padding: 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], select, textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color .2s;
}
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 1px; border-color: var(--brass-ink); }
::placeholder { color: #9A9FA9; }
[aria-invalid="true"] { border-color: var(--error) !important; }

.url-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.url-input:focus-within { outline: 2px solid var(--brass-ink); outline-offset: 1px; border-color: var(--brass-ink); }
.url-input:has([aria-invalid="true"]) { border-color: var(--error); }
.url-input span {
  display: flex;
  align-items: center;
  padding: 0 4px 0 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.url-input input { border: 0; border-radius: 0; padding-left: 2px; min-width: 0; }
.url-input input:focus-visible { outline: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--velvet); border-color: var(--velvet); color: var(--on-velvet); }
.chip input[type="checkbox"]:checked + span::before {
  content: "";
  width: 9px;
  height: 5px;
  margin-right: 10px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg) translateY(-2px);
}
.chip input:focus-visible + span { outline: 2px solid var(--brass-ink); outline-offset: 2px; }
.field.is-invalid .chip span { border-color: var(--error); }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--velvet);
}
.check .req { margin-left: 6px; }

.sub-field {
  margin-top: 18px;
  padding: 18px 0 0 18px;
  border-left: 2px solid var(--brass);
}
.field-hint { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); line-height: 1.7; }
.field-error { font-size: 0.8125rem; color: var(--error); font-weight: 700; line-height: 1.6; }
.field-error:not(:empty) { margin-top: 8px; }
.form-error { color: var(--error); font-weight: 700; font-size: 0.9375rem; }
.form-error:not(:empty) { margin: 4px 0 16px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { padding-top: 28px; border-top: 1px solid var(--rule); }
.form-submit .field { margin-bottom: 24px; }

.form-done { text-align: left; }
.form-done h3 { font-family: var(--mincho); font-weight: 700; font-size: 1.5rem; margin-bottom: 16px; }
.form-done p { color: var(--muted); margin-bottom: 24px; }
.form-done #done-email { color: var(--ink); font-weight: 700; }
.form-done:focus { outline: none; }

/* お見積りの目安 */
.estimate {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--velvet);
  color: var(--on-velvet);
  border-radius: 6px;
  padding: 32px 28px;
}
.estimate h3 { font-family: var(--mincho); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.08em; margin-bottom: 20px; }
.estimate-domain { padding-bottom: 18px; border-bottom: 1px solid var(--velvet-rule); }
.estimate-domain p:first-child { font-size: 0.75rem; color: var(--on-velvet-muted); letter-spacing: 0.1em; }
.estimate-url { font-family: var(--mincho); font-weight: 600; font-size: 1.125rem; color: var(--brass); word-break: break-all; line-height: 1.5; margin-top: 4px; }
.estimate-lines { padding: 14px 0; border-bottom: 1px solid var(--velvet-rule); }
.estimate-lines .leader-row { padding: 6px 0; font-size: 0.9375rem; }
.estimate-lines .leader-row[hidden] { display: none; }
.estimate-lines dd { font-family: var(--mincho); font-weight: 600; white-space: nowrap; }
.estimate-total { padding: 18px 0; }
.estimate-total-label { font-size: 0.8125rem; color: var(--on-velvet-muted); }
.estimate-total-num { font-family: var(--mincho); font-weight: 700; font-size: 2rem; color: var(--brass); line-height: 1.4; }
.estimate-total-tax { font-size: 0.8125rem; color: var(--on-velvet-muted); }
.estimate-notes { border-top: 1px solid var(--velvet-rule); padding-top: 14px; }
.estimate-notes li { font-size: 0.8125rem; color: var(--on-velvet-muted); line-height: 1.8; padding-left: 1em; text-indent: -1em; }
.estimate-notes li::before { content: "・"; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .estimate { position: static; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-row .field + .field, .form-row > div + div { margin-top: 20px; }
  .apply-form { padding: 24px 18px; }
  .sub-field { padding-left: 14px; }
}

/* 確認ダイアログ */
.confirm {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(10, 12, 30, 0.6);
}
.confirm::backdrop { background: rgba(23, 28, 56, 0.6); }
.confirm-inner { padding: clamp(24px, 4vw, 40px); }
.confirm h3 { font-family: var(--mincho); font-weight: 700; font-size: 1.375rem; }
.confirm-lead { margin: 8px 0 20px; font-size: 0.875rem; color: var(--muted); }
.confirm-list { border-top: 1px solid var(--rule-strong); margin-bottom: 20px; }
.confirm-list > div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.confirm-list dt { color: var(--muted); font-size: 0.875rem; }
.confirm-list dd { white-space: pre-wrap; }
.confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) {
  .confirm-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .confirm-actions .btn { flex: 1 1 100%; }
  .confirm-actions .btn-velvet { order: -1; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--velvet);
  color: var(--on-velvet);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 56px;
  align-items: start;
}
.footer-sub { font-size: 0.8125rem; color: var(--on-velvet-muted); margin-top: 4px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
  font-size: 0.875rem;
}
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--brass); }
.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--velvet-rule);
  font-size: 0.75rem;
  color: var(--on-velvet-muted);
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { justify-content: flex-start; }
}

/* スマホ下部の問い合わせボタン */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    min-height: 54px;
    border-radius: 999px;
    background: var(--brass);
    color: var(--velvet);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    box-shadow: 0 12px 28px -8px rgba(10, 12, 30, 0.55);
    transform: translateY(calc(100% + 24px));
    transition: transform .3s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- サービス紹介・実画面 ---------- */
[hidden] { display: none !important; }
.eyebrow { color: var(--brass-ink); font-size: .75rem; font-weight: 700; letter-spacing: .18em; margin-bottom: 14px; }
.section-velvet .eyebrow { color: var(--brass); }
.hero-story { padding: 54px 0 0; }
.hero-story .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-story .hero-kicker { font-size: .82rem; letter-spacing: .09em; margin-bottom: 25px; }
.hero-story .hero-title { font-size: clamp(2.8rem,4.3vw,3.7rem); line-height: 1.35; letter-spacing: .04em; }
.hero-title em { display: inline-block; font-style: normal; color: var(--brass); font-size: .69em; margin-top: 16px; }
.hero-story .hero-lead { margin-top: 25px; font-size: .97rem; color: #C5C7D3; line-height: 1.95; }
.hero-story .hero-actions { margin-top: 28px; gap: 18px; }
.hero-story .btn { gap: 14px; font-size: .94rem; padding-inline: 23px; }
.hero-story .link-quiet { font-size: .88rem; }
.hero-assurance { color: var(--on-velvet-muted); font-size: .78rem; margin-top: 16px; }
.hero-visual { position: relative; padding: 0 0 66px 34px; min-width: 0; }
.hero-lifestyle { width: 100%; height: 550px; object-fit: cover; object-position: center 36%; border-radius: 3px 3px 70px 3px; }
.hero-photo-note { position: absolute; right: 20px; top: 23px; font-family: var(--mincho); font-size: .88rem; line-height: 1.8; color: #fff; text-shadow: 0 1px 8px #241608; writing-mode: vertical-rl; letter-spacing: .13em; }
.hero-site-preview { position: absolute; left: 0; bottom: 20px; width: 70%; border: 5px solid #E9E8E1; border-radius: 9px; box-shadow: 0 18px 40px #090D2460; overflow: hidden; background: #FDFCFA; transform: rotate(-2deg); }
.hero-site-preview img { width: 100%; }
.browser-chrome { display: flex; align-items: center; gap: 16px; min-height: 27px; padding: 4px 12px; font: 10px/1.5 var(--gothic); letter-spacing: .06em; color: #656574; background: #ECECE7; }
.browser-chrome span:first-child { font-size: 7px; color: #B0B2B4; letter-spacing: 3px; }
.hero-visual > figcaption { position: absolute; bottom: -10px; right: 0; color: var(--on-velvet-muted); font-size: .65rem; }
.hero-prices { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 30px; padding: 28px 0 30px; margin-top: 32px; border-top: 1px solid var(--velvet-rule); }
.hero-prices > div + div { border-left: 1px solid var(--velvet-rule); padding-left: 32px; }
.hero-prices dt { font-size: .78rem; color: #C5C7D3; }
.hero-prices dd { font-family: var(--mincho); font-size: 1.05rem; line-height: 1.7; margin-top: 2px; }
.hero-prices strong { color: var(--brass); font-size: 2rem; font-weight: 600; letter-spacing: .02em; }
.hero-prices small { font-family: var(--gothic); font-size: .7rem; }
.hero-prices .price-note { display: block; font: .68rem/1.8 var(--gothic); color: var(--on-velvet-muted); margin-top: 3px; }
.intro-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 38px; margin: -10px 0 45px; }
.intro-steps > div { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.intro-steps span { font-family: var(--mincho); font-size: .85rem; color: var(--brass-ink); }
.intro-steps h3 { font: 600 1.18rem/1.7 var(--mincho); margin: 6px 0 12px; }
.intro-steps p { font-size: .9rem; color: var(--muted); }
.screen-tabs { display: flex; border-bottom: 1px solid #5A6080; gap: 6px; overflow-x: auto; padding-bottom: 0; }
.screen-tabs button { flex: 1 0 auto; padding: 16px 20px; min-height: 54px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #CDD0DF; font-size: .95rem; cursor: pointer; }
.screen-tabs button:hover { background: #FFFFFF08; }
.screen-tabs button[aria-selected="true"] { color: var(--brass); border-color: var(--brass); font-weight: 700; }
.screen-panel { padding: 32px 0 0; }
.screen-panel-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; margin-bottom: 30px; }
.screen-panel-intro .eyebrow { grid-column: 1; margin: 0 0 8px; }
.screen-panel-intro h3 { grid-column: 1; font: 600 clamp(1.25rem,2vw,1.6rem)/1.7 var(--mincho); }
.screen-panel-intro > p:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .91rem; color: #BDC2D5; }
.screen-pair { display: grid; grid-template-columns: minmax(0,245px) 48px minmax(0,1fr); gap: 25px; align-items: start; }
.screen-pair figcaption { display: flex; align-items: center; gap: 12px; color: #BEC2D5; font-size: .8rem; min-height: 40px; margin-bottom: 12px; }
.screen-pair figcaption > span { flex: none; font-size: .7rem; font-weight: 700; color: var(--brass); border: 1px solid #655D43; padding: 3px 10px; border-radius: 3px; }
.screen-zoom { display: block; text-decoration: none; position: relative; overflow: hidden; border: 1px solid #595D70; border-radius: 8px; background: #FDFCFA; color: var(--ink); box-shadow: 0 12px 32px #090B2330; }
.screen-admin .screen-zoom { border: 6px solid #44495C; border-radius: 22px; }
.screen-zoom img { width: 100%; }
.screen-zoom > span { position: absolute; bottom: 12px; right: 12px; border-radius: 999px; background: #171C38ED; color: #fff; padding: 6px 13px; font: .72rem/1.6 var(--gothic); opacity: .9; }
.screen-zoom:hover > span { background: #866320; opacity: 1; }
.screen-arrow { align-self: center; color: var(--brass); font-size: 2rem; font-weight: 400; text-align: center; }
.screen-public { padding-top: 32px; }
.screen-disclaimer { margin-top: 26px; font-size: .76rem; color: var(--on-velvet-muted); }
.design-section { padding-top: 0; }
.design-grid { display: grid; grid-template-columns: 4fr 7fr; align-items: center; gap: 64px; padding-top: 72px; position: relative; }
.design-grid::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--velvet-rule); }
.design-grid .section-head { margin-bottom: 0; }
.design-grid .section-title { font-size: clamp(1.8rem,3vw,2.4rem); }
.design-spec { border-top: 1px solid var(--velvet-rule); margin-top: 28px; padding-top: 20px; color: var(--brass); font-size: .86rem; }
.comparison-section { background: var(--sheet); }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--rule); }
.comparison-table { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; font-size: .88rem; line-height: 1.75; }
.comparison-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.comparison-table th, .comparison-table td { padding: 24px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.comparison-table th:first-child { width: 18%; }
.comparison-table th { font-weight: 500; }
.comparison-table thead th { font: 600 1.08rem/1.6 var(--mincho); background: #E8EAE4; padding-top: 28px; padding-bottom: 28px; }
.comparison-table .featured { background: #F3EDE0; }
.comparison-table thead .featured { background: var(--velvet); color: var(--on-velvet); font-size: 1.4rem; }
.comparison-table small { display: block; margin-top: 8px; font: .75rem/1.7 var(--gothic); color: var(--muted); }
.comparison-table thead .featured small { color: var(--brass); }
.comparison-table strong { font-size: 1.05rem; font-weight: 700; }
.comparison-table tr:last-child > * { border-bottom: none; }
.comparison-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 50px; margin-top: 25px; }
.comparison-notes p { font-size: .8rem; color: var(--muted); }
.comparison-notes p:first-child { font-size: .92rem; color: var(--ink); }
.comparison-notes .comparison-sources { grid-column: 1 / -1; font-size: .72rem; }
.comparison-sources a { text-underline-offset: 3px; }
.table-scroll-hint { display: none; font-size: .76rem; color: var(--muted); margin-bottom: 10px; }
.screen-dialog { margin: auto; padding: 0; border: none; border-radius: 8px; width: min(1360px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); color: var(--ink); background: var(--sheet); }
.screen-dialog::backdrop { background: #06091ED9; }
.screen-dialog-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--rule); background: var(--sheet); z-index: 1; }
.screen-dialog-head h2 { font-size: 1rem; }
.screen-dialog-body { padding: 20px; background: #E7E8E3; }
.screen-dialog-body img { width: auto; max-width: 100%; margin: auto; }
body:has(.screen-dialog[open]) { overflow: hidden; }
@media (max-width: 1100px) {
  .hero-story .hero-grid { gap: 28px; }
  .hero-story .hero-title { font-size: 3rem; }
  .hero-story .hero-lead { font-size: .91rem; }
  .desktop-br { display: none; }
  .hero-lifestyle { height: 510px; }
  .hero-story .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .screen-pair { grid-template-columns: 220px 25px minmax(0,1fr); gap: 18px; }
  .design-grid { gap: 35px; }
}
@media (max-width: 760px) {
  .hero-story { padding-top: 35px; }
  .hero-story .hero-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .hero-story .hero-title { font-size: clamp(1.9rem,10vw,3.6rem); }
  .hero-story .hero-kicker { font-size: .72rem; margin-bottom: 19px; }
  .hero-title em { font-size: clamp(1.4rem,7.8vw,1.82rem); margin-top: 8px; }
  .hero-story .hero-lead { margin-top: 20px; max-width: 35em; }
  .hero-story .hero-actions { flex-direction: row; align-items: center; gap: 12px; margin-top: 22px; }
  .hero-story .btn { min-height: 50px; font-size: .82rem; padding-inline: 19px; }
  .hero-story .link-quiet { font-size: .78rem; }
  .hero-assurance { font-size: .69rem; margin-top: 13px; }
  .hero-visual { width: min(100%,540px); margin: auto; padding-left: 22px; padding-bottom: 55px; }
  .hero-lifestyle { height: auto; max-height: 550px; aspect-ratio: 1.1; object-position: center 10%; border-bottom-right-radius: 48px; }
  .hero-site-preview { width: 57%; bottom: 12px; transform: rotate(-2deg); border-width: 4px; }
  .hero-photo-note { top: 15px; right: 15px; font-size: .74rem; }
  .hero-visual > figcaption { font-size: .6rem; bottom: -13px; }
  .hero-prices { grid-template-columns: 1fr 1fr; margin-top: 37px; padding: 20px 0 24px; gap: 20px 12px; }
  .hero-prices > div + div { padding-left: 16px; }
  .hero-prices > div:last-child { grid-column: 1 / -1; padding: 16px 0 0; border-left: none; border-top: 1px solid var(--velvet-rule); }
  .hero-prices > div:last-child dt { display: inline; margin-right: 8px; }
  .hero-prices > div:last-child dd { display: inline; }
  .hero-prices > div:last-child strong { font-size: 1.6rem; }
  .hero-prices dt { font-size: .68rem; }
  .hero-prices dd { font-size: .86rem; }
  .hero-prices strong { font-size: 1.8rem; }
  .hero-prices .price-note { font-size: .61rem; }
  .intro-steps { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .intro-steps > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding-top: 16px; }
  .intro-steps h3 { margin: 0 0 8px; font-size: 1.1rem; }
  .intro-steps p { grid-column: 2; }
  .screen-tabs button { flex: none; padding: 12px 18px; font-size: .86rem; }
  .screen-panel-intro { display: block; margin-bottom: 25px; }
  .screen-panel-intro h3 { font-size: 1.25rem; margin-bottom: 13px; }
  .screen-panel-intro > p:last-child { font-size: .86rem; }
  .screen-pair { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .screen-admin { width: min(230px,75%); margin: auto; }
  .screen-public { padding-top: 0; }
  .screen-pair figcaption { flex-wrap: wrap; gap: 4px 9px; font-size: .75rem; min-height: 0; }
  .screen-pair figcaption > span { font-size: .66rem; }
  .screen-arrow { display: none; }
  .screen-zoom > span { bottom: 9px; right: 9px; font-size: .65rem; padding: 5px 10px; }
  .screen-admin .screen-zoom { border-width: 5px; }
  .screen-disclaimer { font-size: .7rem; }
  .design-grid { grid-template-columns: 1fr; padding-top: 50px; gap: 35px; }
  .design-grid .section-head { max-width: 35em; }
  .design-spec { margin-top: 20px; padding-top: 14px; }
  .table-scroll-hint { display: block; }
  .comparison-notes { grid-template-columns: 1fr; gap: 14px; }
  .comparison-table { min-width: 830px; }
  .comparison-table th, .comparison-table td { padding: 20px 18px; }
  .screen-dialog-head { padding: 12px; }
  .screen-dialog-head h2 { font-size: .83rem; }
  .screen-dialog-body { padding: 8px; }
  .screen-dialog .btn { min-height: 38px; padding: 0 12px; font-size: .8rem; }
}

/* ---------- 仮の法定表記・プライバシー ---------- */
.legal-main { padding: 55px var(--gutter) 100px; max-width: 900px; margin: auto; }
.legal-back { font-size: .85rem; text-underline-offset: 4px; }
.legal-main > h1 { font: 600 clamp(1.7rem,4vw,2.5rem)/1.6 var(--mincho); margin: 34px 0 18px; }
.draft-notice { border-left: 3px solid var(--brass-ink); background: #ECE7DA; padding: 20px 24px; font-size: .88rem; margin: 25px 0 35px; }
.draft-notice strong { display: block; margin-bottom: 5px; }
.legal-date { color: var(--muted); font-size: .8rem; margin-bottom: 20px; }
.legal-table { margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.legal-table > div { display: grid; grid-template-columns: 11em 1fr; gap: 30px; padding: 23px 0; border-bottom: 1px solid var(--rule); }
.legal-table dt { font-weight: 700; font-size: .91rem; }
.legal-table dd { font-size: .91rem; }
.legal-table dd p + p { margin-top: 12px; }
.legal-pending { color: #805619; font-weight: 700; }
.legal-section { margin-top: 36px; }
.legal-section h2 { font: 600 1.2rem/1.7 var(--mincho); margin-bottom: 14px; }
.legal-section p, .legal-section li { font-size: .91rem; }
.legal-section p + p { margin-top: 12px; }
.legal-section ul { list-style: disc; padding-left: 1.4em; }
.legal-section li + li { margin-top: 8px; }
.legal-section a, .legal-table a { text-underline-offset: 4px; }
.legal-footer { display: flex; gap: 15px 28px; flex-wrap: wrap; padding-top: 35px; margin-top: 45px; border-top: 1px solid var(--rule); font-size: .83rem; }
@media(max-width:600px) { .legal-main { padding-top: 30px; }.legal-table > div { grid-template-columns: 1fr; gap: 8px; }.draft-notice { padding: 17px; }.legal-main .brand-sub { display: none; } }
