/* =========================================================
   Artist CMS — 公開サイト
   色と書体は <style>:root{...}</style> で管理画面の設定から注入される
   テンプレートは body[data-template] で切り替える
   ========================================================= */

:root {
  --gutter: clamp(16px, 4.5vw, 48px);
  --maxw: 1180px;
  --measure: 38em;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --btn-bg: var(--accent);
  --btn-fg: var(--bg);
  --radius: 0px;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--bg));
  --scrim: rgba(8, 9, 14, 0.62);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(0.97rem, 0.92rem + 0.2vw, 1.0625rem);
  line-height: 1.9;
  letter-spacing: 0.03em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
  overflow-x: clip; /* 長い英単語などで横スクロールが出ないように */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: 'palt';
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--bg);
  padding: 0.5rem 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.preview-flag {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 50;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
}

.empty {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

.pre {
  white-space: pre-line;
}

/* ---------- ボタン・リンク ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.55em 1.6em;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 35%, transparent);
}

.btn--small {
  min-height: 40px;
  padding: 0.3em 1.1em;
  font-size: var(--step--1);
}

.btn--block {
  display: flex;
  width: 100%;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15em;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.tag {
  display: inline-block;
  padding: 0.05em 0.7em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--muted);
  margin-inline-end: 0.4em;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: relative;
  z-index: 20;
  padding-block: 1.1rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
}

.site-logo__ja {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.site-logo__en {
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current='page'] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
}

@media (min-width: 961px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }

  .site-nav > ul {
    display: flex;
    gap: 0.4rem 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .site-nav a[aria-current='page'] {
    text-decoration: underline;
    text-decoration-color: currentColor;
  }

  .site-nav .site-nav__social {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0 0.2rem;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    z-index: 31;
  }

  .nav-toggle__bars {
    position: relative;
    width: 22px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transition: transform 0.25s;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle__bars {
    border-bottom-color: transparent;
    transform: translateY(4px) rotate(45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: var(--bg);
    color: var(--text);
    padding: 6rem var(--gutter) 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav > ul {
    display: grid;
    gap: 0.2rem;
  }

  .site-nav > ul a {
    display: block;
    padding: 0.55rem 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header--overlay {
    color: var(--text);
  }
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
}

.site-header--overlay .site-logo__en {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- SNSアイコン ---------- */

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: inherit;
}

.social a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

/* =========================================================
   ヒーロー
   ========================================================= */

.hero {
  position: relative;
}

.hero__ja {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.6rem + 4.6vw, 5.4rem);
  line-height: 1.12;
  letter-spacing: 0.14em;
}

.hero__en {
  display: block;
  margin-top: 0.5em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 0.9rem + 0.9vw, 1.6rem);
  letter-spacing: 0.03em;
  color: var(--muted);
}

.hero__inst {
  margin: 1.2em 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
}

.hero__inst-en {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-inline-start: 0.9em;
  color: var(--muted);
}

.hero__tagline {
  margin: 1.4em 0 0;
  max-width: 26em;
  line-height: 2;
}

.hero__credit {
  position: absolute;
  right: 0.6rem;
  bottom: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.04em;
}

.hero__next {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.2rem;
  margin-top: 2.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  text-decoration: none;
  max-width: 30rem;
}

.hero__next-label {
  grid-column: 1 / -1;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.hero__next-date {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1.1;
}

.hero__next-md {
  font-size: 2.1rem;
  font-variant-numeric: lining-nums;
  letter-spacing: 0.02em;
}

.hero__next-wd {
  font-size: var(--step--1);
  color: var(--muted);
}

.hero__next-title {
  font-weight: 500;
  line-height: 1.6;
}

.hero__next-venue {
  font-size: var(--step--1);
  color: var(--muted);
}

.hero__next:hover .hero__next-title {
  color: var(--accent);
}

/* --- 左右分割 --- */

.hero--split {
  display: grid;
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding-block: 0 clamp(2rem, 6vw, 5rem);
}

.hero--split .hero__media {
  position: relative;
}

.hero--split .hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 861px) {
  .hero--split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: end;
    padding-top: clamp(1rem, 3vw, 2.5rem);
  }

  .hero--split .hero__media {
    order: 2;
  }

  .hero--split .hero__media img {
    max-height: calc(100svh - 7rem);
  }

  .hero--split .hero__text {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 860px) {
  .hero--split {
    width: 100%;
  }

  .hero--split .hero__media img {
    max-height: 78svh;
    border-radius: 0;
  }

  .hero--split .hero__text {
    padding-inline: var(--gutter);
  }
}

/* --- 全面写真 --- */

.hero--full {
  display: grid;
  min-height: min(100svh, 1000px);
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.hero--full .hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero--full .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--full .hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--scrim) 0%, transparent 62%),
    linear-gradient(to bottom, rgba(8, 9, 14, 0.4) 0%, transparent 22%);
}

.hero--full .hero__text {
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-block: 8rem clamp(2.5rem, 7vw, 5.5rem);
}

.hero--full .hero__en,
.hero--full .hero__inst-en,
.hero--full .hero__next-label,
.hero--full .hero__next-wd,
.hero--full .hero__next-venue {
  color: rgba(255, 255, 255, 0.8);
}

.hero--full .hero__next:hover .hero__next-title {
  color: inherit;
  text-decoration: underline;
}

@media (min-width: 861px) {
  .hero--full .hero__text {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
  }

  .hero--full .hero__next {
    margin-top: 0;
    min-width: 18rem;
  }
}

/* --- 文字だけ --- */

.hero--type {
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 12vw, 9rem) clamp(3rem, 8vw, 6rem);
}

.hero--type .hero__ja {
  font-size: clamp(3rem, 1.5rem + 8vw, 8rem);
  letter-spacing: 0.1em;
}

.hero--type .hero__en {
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem);
}

/* =========================================================
   セクション・見出し
   ========================================================= */

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section__head {
  margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
}

.sec-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1rem;
}

.sec-title__ja {
  font-size: var(--step-3);
  letter-spacing: 0.14em;
}

.sec-title__en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.section__more {
  margin: 2.4rem 0 0;
}

.page-head {
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.page-head .sec-title__ja {
  font-size: var(--step-4);
}

.page-head__lead {
  margin: 1.4rem 0 0;
  max-width: var(--measure);
  color: var(--muted);
}

.crumbs {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 1.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
}

.crumbs a {
  text-decoration: none;
  color: var(--muted);
}

.crumbs a::before {
  content: '‹ ';
}

/* ---------- 本文 ---------- */

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-size: var(--step-2);
  margin: 2.4em 0 0.8em;
}

.prose h3 {
  font-size: var(--step-1);
  margin: 2em 0 0.6em;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.4em;
}

.prose blockquote {
  margin: 1.6em 0;
  padding-inline-start: 1.2em;
  border-inline-start: 2px solid var(--accent);
  color: var(--muted);
}

.prose .md-figure {
  margin: 2em 0;
}

.prose figcaption {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 0.5em;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92em;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 0.5em 0.6em;
  text-align: left;
}

/* =========================================================
   公演（プログラム形式）
   ========================================================= */

.cx-year + .cx-year {
  margin-top: 3rem;
}

.cx-year__label {
  font-size: var(--step-2);
  font-variant-numeric: lining-nums;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.cx {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.5rem 1.8rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line);
}

.cx:last-child {
  border-bottom: 1px solid var(--line);
}

.cx__date {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.1;
}

.cx__date time {
  display: flex;
  flex-direction: column;
}

.cx__y {
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.08em;
}

.cx__md {
  font-size: 2.15rem;
  font-variant-numeric: lining-nums;
  letter-spacing: 0.01em;
}

.cx__wd {
  margin-top: 0.3em;
  font-size: var(--step--1);
  color: var(--muted);
}

.cx__end {
  display: block;
  margin-top: 0.2em;
}

.cx__title {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.cx__title a {
  text-decoration: none;
}

.cx__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4em;
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cx__perf {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
}

.cx__links {
  display: flex;
  gap: 1.4rem;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.cx--compact {
  padding-block: 1.1rem;
}

.cx--compact .cx__md {
  font-size: 1.5rem;
}

.cx--compact .cx__links {
  display: none;
}

.programme {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  max-width: 40rem;
  font-size: 0.95rem;
}

.programme li {
  display: flex;
  align-items: baseline;
  padding-block: 0.12rem;
}

.programme__composer {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  color: var(--muted);
  white-space: nowrap;
}

.programme__composer::after {
  content: '';
  flex: 1;
  min-width: 1.5rem;
  margin: 0 0.6rem;
  border-bottom: 1px dotted color-mix(in srgb, var(--text) 35%, transparent);
  transform: translateY(-0.3em);
}

.programme__work {
  flex: 0 1 auto;
  text-align: right;
}

.programme li:not(:has(.programme__composer)) .programme__work {
  text-align: left;
}

@media (max-width: 600px) {
  .cx {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .cx__date time {
    flex-direction: row;
    align-items: baseline;
    gap: 0.6rem;
  }

  .cx__wd {
    margin: 0;
  }

  .cx__end {
    display: inline;
  }

  .programme li {
    display: block;
    padding-block: 0.3rem;
  }

  .programme__composer {
    display: block;
    font-size: var(--step--1);
    white-space: normal;
  }

  .programme__composer::after {
    display: none;
  }

  .programme__work {
    display: block;
    text-align: left;
  }
}

/* --- タイル形式 --- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.tile__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.2s;
}

.tile__link:hover {
  border-color: var(--accent);
  color: inherit;
}

.tile__date {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin: 0;
  padding: 0.9rem 1.1rem 0.7rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  line-height: 1;
}

.tile__ym {
  grid-column: 1 / -1;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.tile__d {
  font-size: 3.6rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.02em;
  margin-top: 0.3rem;
}

.tile__wd {
  font-size: var(--step--1);
  padding-bottom: 0.4rem;
}

.tile__body {
  padding: 1rem 1.1rem 1.2rem;
}

.tile__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 0.6rem;
}

.tile__venue,
.tile__time {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.past {
  margin-top: 3.5rem;
}

.past summary {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
}

.past[open] summary {
  margin-bottom: 1rem;
}

/* ---------- 公演詳細 ---------- */

.concert {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.concert__head {
  margin-bottom: clamp(1.5rem, 4vw, 2.8rem);
}

.concert__date {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1.2rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
}

.concert__date time {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.concert__y {
  color: var(--muted);
  letter-spacing: 0.06em;
}

.concert__md {
  font-size: clamp(2.6rem, 2rem + 3vw, 4.2rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.concert__wd {
  color: var(--muted);
}

.concert__title {
  font-size: var(--step-4);
  letter-spacing: 0.08em;
  max-width: 22em;
}

.concert__grid {
  display: grid;
  gap: 2rem 4rem;
}

@media (min-width: 861px) {
  .concert__grid {
    grid-template-columns: minmax(0, 1fr) 17rem;
  }

  .concert__aside {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

.concert__aside {
  display: grid;
  gap: 0.8rem;
}

.concert__img {
  margin-bottom: 2rem;
  max-height: 80svh;
  width: auto;
  border-radius: var(--radius);
}

.concert__desc {
  margin-top: 2rem;
}

.facts {
  margin: 0;
}

.facts > div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}

.facts > div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.facts dd {
  margin: 0;
}

.facts__sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.facts__line {
  display: block;
}

.programme--detail {
  margin: 0;
}

@media (max-width: 600px) {
  .facts > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* =========================================================
   動画・音源
   ========================================================= */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 3vw, 2rem);
}

.media-grid + .media-grid {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.media-item {
  margin: 0;
}

.media-item figcaption {
  display: grid;
  margin-top: 0.7rem;
}

.media-item__title {
  font-weight: 500;
  line-height: 1.6;
}

.media-item__desc {
  font-size: 0.88rem;
  color: var(--muted);
}

.embed {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed--video {
  aspect-ratio: 16 / 9;
}

.embed--audio {
  height: 166px;
}

.embed--audio-tall {
  height: 380px;
}

.embed--link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  aspect-ratio: 16 / 9;
  text-decoration: none;
}

.lite {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}

.lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lite__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  color: var(--accent);
  padding-left: 4px;
  transition: transform 0.2s;
}

.lite:hover .lite__play {
  transform: scale(1.06);
}

/* =========================================================
   ブログ
   ========================================================= */

.posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.8rem, 4vw, 2.6rem);
}

.post-card a {
  display: grid;
  gap: 1rem 1.6rem;
  text-decoration: none;
}

@media (min-width: 640px) {
  .post-card a:has(.post-card__img) {
    grid-template-columns: 15rem minmax(0, 1fr);
  }
}

.post-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.post-card__text {
  display: grid;
  align-content: start;
  gap: 0.3rem;
}

.post-card__date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: lining-nums;
  letter-spacing: 0.06em;
}

.post-card__title {
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.6;
}

.post-card a:hover .post-card__title {
  color: var(--accent);
}

.post-card__excerpt {
  font-size: 0.92rem;
  color: var(--muted);
}

.posts--compact {
  gap: 0;
}

.posts--compact .post-card a {
  grid-template-columns: 7rem minmax(0, 1fr);
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
}

.posts--compact .post-card:last-child a {
  border-bottom: 1px solid var(--line);
}

.posts--compact .post-card__text {
  display: contents;
}

.posts--compact .post-card__title {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 520px) {
  .posts--compact .post-card a {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}

.pager--article a {
  display: grid;
  max-width: 48%;
  text-decoration: none;
}

.pager--article a:last-child {
  text-align: right;
}

.pager small {
  color: var(--muted);
}

.article {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.article__head {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.article__date {
  font-family: var(--font-display);
  color: var(--muted);
  letter-spacing: 0.06em;
}

.article__title {
  font-size: var(--step-4);
  margin-top: 0.5rem;
  letter-spacing: 0.06em;
}

.article__tags {
  margin-top: 1rem;
}

.article__cover {
  width: 100%;
  max-height: 70svh;
  object-fit: cover;
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
}

.article__body {
  font-size: 1.04em;
}

/* =========================================================
   写真
   ========================================================= */

.photos {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3 240px;
  column-gap: clamp(0.6rem, 2vw, 1.2rem);
}

.photos li {
  break-inside: avoid;
  margin-bottom: clamp(0.6rem, 2vw, 1.2rem);
}

.photo {
  display: block;
  cursor: zoom-in;
}

.photo img {
  width: 100%;
  border-radius: var(--radius);
}

.photo__cap {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.photo__credit {
  display: block;
  font-size: 0.75rem;
}

.lightbox {
  max-width: 96vw;
  max-height: 96vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(5, 5, 8, 0.9);
}

.lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  margin: auto;
}

.lightbox__cap {
  text-align: center;
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
}

.lightbox__close {
  position: fixed;
  top: 0.8rem;
  right: 0.8rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================================================
   ディスコグラフィ
   ========================================================= */

.releases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.release {
  display: grid;
  gap: 1.2rem 2rem;
}

@media (min-width: 640px) {
  .release {
    grid-template-columns: 15rem minmax(0, 1fr);
  }
}

.release__cover {
  aspect-ratio: 1;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--muted);
  overflow: hidden;
  border-radius: var(--radius);
}

.release__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release__title {
  font-size: var(--step-2);
}

.release__meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.4rem 0 1rem;
}

.release__tracks {
  font-size: 0.92rem;
  padding-inline-start: 1.6em;
  margin: 1rem 0;
}

.release__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.releases--compact {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.releases--compact .release {
  grid-template-columns: 1fr;
}

.releases--compact .release__title {
  font-size: 1.05rem;
}

/* =========================================================
   トップ：プロフィール抜粋・帯
   ========================================================= */

.about {
  display: grid;
  gap: 2rem 3rem;
  align-items: start;
}

@media (min-width: 761px) {
  .about:has(.about__img) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
}

.about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.band {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--surface);
}

.band + .band {
  border-top: 1px solid var(--line);
}

.band__inner {
  display: grid;
  gap: 1rem 4rem;
}

@media (min-width: 861px) {
  .band__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: center;
  }

  .band__title {
    grid-row: span 2;
  }
}

.band__title {
  font-size: var(--step-3);
  letter-spacing: 0.14em;
}

.band__text {
  margin: 0;
  max-width: 34em;
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.6rem 0 0;
}

/* =========================================================
   プロフィールページ
   ========================================================= */

.profile {
  display: grid;
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

@media (min-width: 861px) {
  .profile {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .profile__photo {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

.profile__photo {
  margin: 0;
}

.profile__photo img {
  width: 100%;
  border-radius: var(--radius);
}

.profile__name {
  display: grid;
  margin-bottom: 2rem;
}

.profile__ja {
  font-family: var(--font-display);
  font-size: var(--step-3);
  letter-spacing: 0.16em;
}

.profile__en {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: var(--step-1);
}

.profile__inst {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-top: 0.4rem;
}

.profile__en-bio {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.profile__en-bio summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
}

.profile__en-bio .prose {
  margin-top: 1rem;
  letter-spacing: 0;
  line-height: 1.7;
}

.profile__press {
  margin-top: 2.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  font-size: 0.92rem;
  border-radius: var(--radius);
}

/* =========================================================
   主催者の方へ
   ========================================================= */

.press {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.press__toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.press__toc a {
  display: inline-block;
  padding: 0.35em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  text-decoration: none;
}

.press__toc a:hover {
  border-color: var(--accent);
}

.press__sec {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  scroll-margin-top: 1rem;
}

.press__h {
  font-size: var(--step-2);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.press__note {
  color: var(--muted);
  font-size: 0.92rem;
}

.bio-blocks {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 900px) {
  .bio-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bio-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  background: var(--bg);
}

.bio-block__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.bio-block__label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.bio-block__count {
  font-size: var(--step--1);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.copy-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 36px;
  padding: 0 0.9em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: var(--step--1);
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.copy-btn.is-done {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.bio-block__text {
  margin: 0;
  white-space: pre-line;
  font-size: 0.94rem;
  line-height: 1.95;
}

.bio-block__text[lang='en'] {
  letter-spacing: 0;
  line-height: 1.7;
}

.callout {
  padding: 1rem 1.2rem;
  background: var(--accent-soft);
  border-inline-start: 3px solid var(--accent);
  margin: 1rem 0 1.6rem;
  font-size: 0.94rem;
}

.callout p:last-child,
.callout .prose > :last-child {
  margin-bottom: 0;
}

.callout--ok {
  font-size: 1rem;
}

.callout--error {
  border-color: #b3261e;
  background: color-mix(in srgb, #b3261e 8%, var(--bg));
}

.press-photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.6rem 1.2rem;
}

.press-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--surface);
  border-radius: var(--radius);
}

.press-photo__meta {
  padding-top: 0.7rem;
  font-size: 0.86rem;
}

.press-photo__meta p {
  margin: 0 0 0.2rem;
}

.press-photo__spec,
.press-photo__credit {
  color: var(--muted);
}

.press-photo .btn {
  margin-top: 0.6rem;
}

.files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.files a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.files a:hover {
  border-color: var(--accent);
}

.files__spec {
  font-size: var(--step--1);
  color: var(--muted);
}

.press__cta {
  margin-top: 2rem;
}

/* =========================================================
   お問い合わせ
   ========================================================= */

.contact {
  display: grid;
  gap: 3rem clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

@media (min-width: 861px) {
  .contact {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.contact__aside {
  font-size: 0.94rem;
}

.contact__press {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 1.4rem;
  max-width: 40rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.field label,
.field legend {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0;
}

.req {
  display: inline-block;
  margin-inline-start: 0.6em;
  padding: 0 0.5em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border-radius: 2px;
  vertical-align: 0.1em;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--text) 25%, transparent);
  border-radius: max(var(--radius), 4px);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
  line-height: 1.8;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.field [aria-invalid='true'] {
  border-color: #b3261e;
}

.field__error {
  color: #b3261e;
  font-size: 0.88rem;
}

[data-theme-dark] .field__error {
  color: #ffb4ab;
}

.field-row {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid color-mix(in srgb, var(--text) 25%, transparent);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
}

.chip input:checked + span {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  margin: 0.4rem 0 0;
}

.form__actions .btn {
  min-width: 12rem;
}

/* =========================================================
   レッスン
   ========================================================= */

.lesson {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

/* ページ専用のヘッダー画像（横長） */
.lesson-cover {
  position: relative;
  margin: 0;
}

.lesson-cover img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 62svh;
  object-fit: cover;
}

@media (min-width: 761px) {
  .lesson-cover img {
    aspect-ratio: 5 / 2;
    max-height: 560px;
  }
}

.lesson-cover__credit {
  position: absolute;
  right: 0.6rem;
  bottom: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.55);
}

.lesson-head--cover {
  padding-top: clamp(1.8rem, 5vw, 3.5rem);
}

.lesson-status-box {
  margin-top: 1.4rem;
}

.lesson-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.35rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.4em;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

.lesson-status__dot {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.lesson-status--waitlist .lesson-status__dot {
  background: #c58b00;
}

.lesson-status--closed {
  color: var(--muted);
}

.lesson-status--closed .lesson-status__dot {
  background: var(--muted);
}

.lesson-status__note {
  max-width: 32em;
  margin: 0.6rem 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--muted);
}

[data-template='velvet'] .lesson-status__note {
  margin-inline: auto;
}

/* 紹介文は読みやすいよう、どのテンプレートでも左揃え */
.lesson__intro {
  max-width: var(--measure);
  padding-top: clamp(0.5rem, 2vw, 1rem);
  margin-bottom: 2rem;
}

[data-template='velvet'] .lesson__intro {
  margin-inline: auto;
}

[data-template='velvet'] .lesson .press__toc ul {
  justify-content: center;
}

.lesson__intro p {
  margin: 0 0 1.2em;
}

.lesson__cta {
  margin: 1.8rem 0 0;
}

.lesson__sec {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  scroll-margin-top: 1rem;
}

.lesson__h {
  font-size: var(--step-2);
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.lesson__note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.taglist li {
  padding: 0.1em 0.85em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
}

.facts__link {
  display: block;
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.facts dd .facts__sub {
  display: block;
  margin: 0.4rem 0 0;
}

.lesson-contents {
  display: grid;
  gap: 0 clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 761px) {
  .lesson-contents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lesson-contents li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.lesson-contents h3 {
  font-size: var(--step-1);
  margin-bottom: 0.4rem;
}

.lesson-contents p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* 料金表 */

.fees {
  width: 100%;
  border-collapse: collapse;
}

.fees thead th {
  padding: 0 0.8rem 0.6rem 0;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--text);
}

.fees thead th:last-child {
  text-align: right;
  padding-right: 0;
}

.fees tbody th,
.fees td {
  padding: 1rem 0.8rem 1rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.fees__name {
  display: block;
  font-weight: 600;
}

.fees__note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.fees__spec {
  white-space: nowrap;
  font-size: 0.94rem;
}

.fees__price {
  text-align: right !important;
  padding-right: 0 !important;
}

.price__main {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.price__unit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 0.2em;
}

.price__sub {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .fees thead {
    display: none;
  }

  .fees tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.3rem 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .fees tbody th,
  .fees td {
    padding: 0;
    border: 0;
  }

  .fees tbody th {
    grid-column: 1 / -1;
  }

  .fees__spec {
    color: var(--muted);
  }
}

/* 場所 */

.places {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.places {
  align-items: start;
}

.place {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.place--visit {
  grid-column: 1 / -1;
}

@media (min-width: 761px) {
  .place--visit .mini-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

.place__kind {
  margin: 0 0 0.3rem;
  font-size: var(--step--1);
  color: var(--accent);
  letter-spacing: 0.12em;
}

.place__name {
  font-size: var(--step-1);
  margin-bottom: 0.3rem;
}

.place__area {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.place__note,
.place__fee {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
}

.place__fee .price__main {
  display: inline;
  font-size: 1rem;
}

.mini-facts {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
}

.mini-facts > div {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}

.mini-facts dt {
  color: var(--muted);
}

.mini-facts dd {
  margin: 0;
}

.mini-facts .facts__sub {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.mini-facts .price__main {
  display: inline;
  font-size: 1rem;
}

/* 曜日と時間 */

.week {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.week li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.week__day {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.week li.is-off {
  color: var(--muted);
}

@media (min-width: 761px) {
  .week {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .week li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.9rem 0.7rem;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: center;
  }

  .week li:first-child {
    border-left: 1px solid var(--line);
  }

  .week__time {
    font-size: 0.86rem;
  }
}

/* お申し込みの流れ（順番に進む手順なので番号を付ける） */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 761px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 0.6rem;
  border-top: 2px solid var(--accent);
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--accent);
  font-variant-numeric: lining-nums;
}

.steps h3 {
  font-size: 1.05rem;
  margin: 0.2rem 0 0.4rem;
}

.steps p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* よくある質問 */

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

/* 申し込みフォーム */

.lesson__apply .form {
  max-width: 44rem;
}

.form__group {
  display: grid;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form__group + .form__group {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.form__group > legend {
  float: left;
  width: 100%;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.form__group > legend + * {
  clear: both;
}

.field select {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 2.2rem 0.7rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--text) 25%, transparent);
  border-radius: max(var(--radius), 4px);
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 1.1rem) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 0.75rem) 52% / 6px 6px no-repeat,
    var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  appearance: none;
}

.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

/* トップの帯 */

.band__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin: 0;
}

.band__facts div {
  display: grid;
}

.band__facts dt {
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.1em;
}

.band__facts dd {
  margin: 0;
  font-weight: 500;
}

@media (min-width: 861px) {
  .band--lessons .band__title {
    grid-row: span 3;
  }
}

[data-template='velvet'] .band__facts {
  justify-content: center;
}

/* ---------- 受付の控え ---------- */

.receipt {
  padding-bottom: clamp(3rem, 8vw, 6rem);
  max-width: 48rem;
}

.receipt__title {
  font-size: var(--step-3);
  letter-spacing: 0.08em;
}

.receipt__no {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.06em;
}

.receipt__status {
  display: inline-block;
  padding: 0.1em 0.9em;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.92rem;
}

.receipt__status--done {
  background: var(--accent);
  color: var(--bg);
}

.receipt__note {
  margin-top: 2rem;
}

/* ---------- 404 ---------- */

.notfound {
  padding-block: clamp(4rem, 12vw, 9rem);
}

.notfound__title {
  font-size: var(--step-4);
  margin-bottom: 1rem;
}

/* =========================================================
   フッター
   ========================================================= */

.site-footer {
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 861px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .site-footer__social {
    justify-content: flex-end;
  }

  .site-footer__nav,
  .site-footer__note,
  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  margin: 0;
}

.site-footer__inst {
  margin: 0;
  color: var(--muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

.site-footer__nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-footer__note {
  margin: 0;
  color: var(--muted);
}

.site-footer__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* =========================================================
   テンプレート：リサイタル
   余白の多い誌面。名前と見出しを縦組みにする
   ========================================================= */

[data-template='recital'] {
  --btn-bg: var(--text);
}

[data-template='recital'] .sec-title__ja {
  font-weight: 500;
}

@media (min-width: 861px) {
  /* ヒーロー：名前を縦組みにして写真の左に立てる */
  [data-template='recital'] .hero--split {
    align-items: stretch;
  }

  [data-template='recital'] .hero--split .hero__text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(2rem, 1fr) auto auto;
    gap: 0 clamp(1.5rem, 3vw, 3rem);
    padding-bottom: 0;
  }

  [data-template='recital'] .hero--split .hero__id {
    display: contents;
  }

  [data-template='recital'] .hero--split .hero__name {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0.9rem;
  }

  [data-template='recital'] .hero--split .hero__ja,
  [data-template='recital'] .hero--split .hero__en {
    writing-mode: vertical-rl;
  }

  [data-template='recital'] .hero--split .hero__ja {
    font-size: clamp(3rem, 1.6rem + 3.8vw, 5.4rem);
    letter-spacing: 0.34em;
    line-height: 1;
  }

  [data-template='recital'] .hero--split .hero__en {
    margin: 0;
    padding-top: 0.4rem;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  [data-template='recital'] .hero--split .hero__inst,
  [data-template='recital'] .hero--split .hero__tagline,
  [data-template='recital'] .hero--split .hero__next {
    grid-column: 1;
  }

  [data-template='recital'] .hero--split .hero__inst {
    grid-row: 1;
    margin-top: 0.3rem;
  }

  [data-template='recital'] .hero--split .hero__tagline {
    grid-row: 3;
  }

  [data-template='recital'] .hero--split .hero__next {
    grid-row: 4;
  }

  /* セクション：見出しを左の細い列に縦組みで */
  [data-template='recital'] .section__inner {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0 clamp(2rem, 5vw, 5rem);
  }

  [data-template='recital'] .section__head {
    margin: 0;
  }

  [data-template='recital'] .section .sec-title {
    position: sticky;
    top: 2rem;
    writing-mode: vertical-rl;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1rem;
  }

  [data-template='recital'] .section .sec-title__ja {
    letter-spacing: 0.3em;
    font-size: var(--step-3);
  }

  [data-template='recital'] .section .sec-title__en {
    font-size: 0.95rem;
  }
}

[data-template='recital'] .section + .section {
  border-top: 0;
}

[data-template='recital'] .section {
  padding-block: clamp(3.5rem, 9vw, 8rem);
}

[data-template='recital'] .cx__md {
  font-style: italic;
}

[data-template='recital'] .band {
  background: transparent;
  border-top: 1px solid var(--line);
}

[data-template='recital'] .band--press {
  background: var(--surface);
  border-top: 0;
}

/* =========================================================
   テンプレート：ベルベット
   中央揃えの静かな構成、金の細線
   ========================================================= */

[data-template='velvet'] {
  --radius: 2px;
}

[data-template='velvet'] h1,
[data-template='velvet'] h2,
[data-template='velvet'] h3 {
  font-weight: 400;
}

[data-template='velvet'] .section__head,
[data-template='velvet'] .page-head {
  text-align: center;
}

[data-template='velvet'] .sec-title {
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

[data-template='velvet'] .sec-title::after {
  content: '';
  width: 2.5rem;
  height: 1px;
  margin-top: 0.9rem;
  background: var(--accent);
}

[data-template='velvet'] .sec-title__en {
  order: -1;
  color: var(--accent);
  font-size: 1rem;
}

[data-template='velvet'] .page-head__lead {
  margin-inline: auto;
}

[data-template='velvet'] .section__body {
  max-width: 52rem;
  margin-inline: auto;
}

[data-template='velvet'] .section--media .section__body,
[data-template='velvet'] .section--concerts .section__body:has(.tiles) {
  max-width: none;
}

[data-template='velvet'] .section__more {
  text-align: center;
}

[data-template='velvet'] .section + .section {
  border-top: 0;
}

[data-template='velvet'] .section:nth-of-type(even) {
  background: var(--surface);
}

[data-template='velvet'] .cx__md,
[data-template='velvet'] .cx-year__label {
  color: var(--accent);
}

[data-template='velvet'] .hero--type {
  text-align: center;
}

[data-template='velvet'] .hero--type .hero__tagline,
[data-template='velvet'] .hero--type .hero__next {
  margin-inline: auto;
}

[data-template='velvet'] .hero--type .hero__next {
  text-align: left;
}

[data-template='velvet'] .band {
  text-align: center;
}

[data-template='velvet'] .band__inner {
  grid-template-columns: 1fr;
  justify-items: center;
}

[data-template='velvet'] .band__title {
  grid-row: auto;
}

[data-template='velvet'] .band__actions {
  justify-content: center;
}

[data-template='velvet'] .site-footer {
  text-align: center;
}

[data-template='velvet'] .site-footer__inner {
  grid-template-columns: 1fr;
  justify-items: center;
}

[data-template='velvet'] .site-footer__nav,
[data-template='velvet'] .social {
  justify-content: center;
}

/* =========================================================
   テンプレート：ポスター
   大きな欧文と色面
   ========================================================= */

[data-template='poster'] h1,
[data-template='poster'] h2,
[data-template='poster'] h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
}

[data-template='poster'] .sec-title__ja {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: 0.04em;
}

[data-template='poster'] .sec-title__en {
  font-style: normal;
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--accent);
  letter-spacing: 0;
}

[data-template='poster'] .site-logo__ja {
  font-weight: 800;
  letter-spacing: 0.06em;
}

[data-template='poster'] .site-logo__en,
[data-template='poster'] .hero__en,
[data-template='poster'] .hero__inst-en,
[data-template='poster'] .profile__en {
  font-style: normal;
}

[data-template='poster'] .hero--split {
  width: 100%;
  gap: 0;
  padding: 0;
}

[data-template='poster'] .hero--split .hero__text {
  background: var(--accent);
  color: var(--bg);
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-template='poster'] .hero--split .hero__media img {
  border-radius: 0;
  max-height: none;
  height: 100%;
}

[data-template='poster'] .hero__name {
  display: flex;
  flex-direction: column-reverse;
}

[data-template='poster'] .hero__text {
  container-type: inline-size;
}

[data-template='poster'] .hero__en {
  margin: 0 0 0.4em;
  font-size: clamp(2.4rem, 12cqi, 7rem);
  overflow-wrap: break-word;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: inherit;
  word-spacing: 100vw; /* 姓と名を2行に分ける */
}

[data-template='poster'] .hero__ja {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
}

[data-template='poster'] .hero--split .hero__inst-en,
[data-template='poster'] .hero--split .hero__next-label,
[data-template='poster'] .hero--split .hero__next-wd,
[data-template='poster'] .hero--split .hero__next-venue {
  color: color-mix(in srgb, var(--bg) 78%, transparent);
}

[data-template='poster'] .hero--split .hero__next:hover .hero__next-title {
  color: inherit;
  text-decoration: underline;
}

[data-template='poster'] .hero--type .hero__en {
  font-size: clamp(3.2rem, 1.4rem + 9vw, 9.5rem);
  color: var(--accent);
}

[data-template='poster'] .hero--full .hero__en {
  color: #fff;
}

@media (min-width: 861px) {
  [data-template='poster'] .hero--split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    min-height: min(92svh, 900px);
    align-items: stretch;
  }

  [data-template='poster'] .hero--split .hero__media {
    order: 2;
  }

  [data-template='poster'] .hero--split .hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
  }
}

[data-template='poster'] .section + .section {
  border-top: 0;
}

[data-template='poster'] .section:nth-of-type(odd) {
  background: var(--surface);
}

[data-template='poster'] .cx__md {
  font-weight: 800;
}

[data-template='poster'] .btn {
  font-weight: 700;
  letter-spacing: 0.04em;
}

[data-template='poster'] .band--press {
  background: var(--text);
  color: var(--bg);
  --btn-bg: var(--bg);
  --btn-fg: var(--text);
}

[data-template='poster'] .band--press .btn--ghost {
  color: var(--bg);
  border-color: color-mix(in srgb, var(--bg) 50%, transparent);
}

[data-template='poster'] .band--press .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* ---------- 英語見出しを隠す設定 ---------- */

[data-en='0'] .sec-title__en {
  display: none;
}

/* ---------- 動きを減らす設定 ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 印刷（主催者が資料を印刷する場合） ---------- */

@media print {
  .site-header,
  .site-footer,
  .copy-btn,
  .press__toc,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
