/* ==========================================================
   Miren Sano Christmas Concert Party — Styles
   色・フォント・寸法は :root の変数で一括調整できる
   ========================================================== */

:root {
  color-scheme: light;

  /* ブランドカラー（要件定義書 3-1） */
  --bordeaux: #5B2636;
  --bordeaux-deep: #3B1621;
  --bordeaux-ink: #4A1D2B;
  --gold: #C5A777;
  --gold-soft: #E3D3B4;
  --gold-ink: #84663A;      /* アイボリー上の小さな金色文字（コントラスト確保用） */
  --ivory: #F8F5F0;
  --champagne: #F1EBE2;
  --paper: #FFFDF9;
  --charcoal: #292525;

  --text: var(--charcoal);
  --muted: #6B6360;
  --line: #E6DDD0;
  --line-strong: #D3C4AC;
  --error: #A3262E;
  --error-bg: #FBF0EF;
  --amber: #8A4B12;
  --amber-bg: #FFF5E8;

  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "YuGothic", Meiryo, sans-serif;

  --container: 600px;
  --container-wide: 1040px;
  --gutter: 24px;

  /* 画像（差し替えはファイルを置き換えるだけ） */
  --img-venue: url("../assets/venue.jpg");            /* 霞町音楽堂 */
  --img-ponte-mark: url("../assets/ponte-mark.png");  /* Pontéのボトルマーク（形だけを使い、色は background で指定） */
  /* --img-performer: url("../assets/performer.jpg");   出演者写真（提供後に有効化） */

  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 7.6 16.4 11.1 24 12C16.4 12.9 12.9 16.4 12 24C11.1 16.4 7.6 12.9 0 12C7.6 11.1 11.1 7.6 12 0Z'/%3E%3C/svg%3E");
  --ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: anywhere;
  line-break: strict;
}
main, footer { overflow-x: clip; }
img { max-width: 100%; display: block; }
p { margin: 0; }
p + p { margin-top: 1.1em; }
strong { font-weight: 600; }
small { font-size: max(0.8em, 12px); }
a { color: var(--bordeaux); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.break-all { word-break: break-all; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

/* ---------- 共通パーツ ---------- */
.eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.08em;
  color: var(--gold-ink);
  text-align: center;
}
.eyebrow--light { color: var(--gold); }

.section-title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--bordeaux-ink);
}

/* 線＋星の区切り */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 36px;
  color: var(--gold);
}
.divider::before,
.divider::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.divider i {
  width: 11px;
  height: 11px;
  background: currentColor;
  -webkit-mask: var(--star) center / contain no-repeat;
  mask: var(--star) center / contain no-repeat;
}
.divider--light { color: var(--gold); }

.icon-ext {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.4em;
  vertical-align: -0.1em;
  background: currentColor;
  -webkit-mask: var(--ext) center / contain no-repeat;
  mask: var(--ext) center / contain no-repeat;
}

.note {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- ボタン ---------- */
.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 56px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--gold {
  background: var(--gold);
  color: #2B1219;
  box-shadow: 0 0 0 1px rgba(197, 167, 119, 0.35), 0 0 0 5px rgba(197, 167, 119, 0.12);
}
.btn--gold:hover { background: #D2B887; }
.btn--primary {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--ivory);
}
.btn--primary:hover { background: #6B2D41; }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 62px; font-size: 17px; }
.btn[disabled] { cursor: wait; opacity: 0.78; transform: none; }

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================
   ① ファーストビュー
   ========================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 56px 30px 88px;
  overflow: hidden;
  text-align: center;
  color: var(--ivory);
  /* 霞町音楽堂の写真にボルドーを重ね、文字が読める濃さに抑える */
  background:
    radial-gradient(90% 60% at 50% 46%, rgba(50, 16, 26, 0.50) 0%, rgba(50, 16, 26, 0.80) 100%),
    linear-gradient(180deg, rgba(62, 22, 34, 0.62) 0%, rgba(62, 22, 34, 0.50) 45%, rgba(38, 12, 20, 0.94) 100%),
    var(--img-venue, none) 50% 50% / cover no-repeat,
    #3A1520;
}
/* 招待状のような二重枠 */
.hero__frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(197, 167, 119, 0.55);
  pointer-events: none;
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(197, 167, 119, 0.22);
}
.hero__inner { position: relative; width: 100%; max-width: 720px; }

/* Pontéのボトルマーク（画像の形をマスクにして色を付ける） */
.ponte-mark {
  display: block;
  margin: 0 auto;
  aspect-ratio: 109 / 480;
  background: var(--gold);
  -webkit-mask: var(--img-ponte-mark) center / contain no-repeat;
  mask: var(--img-ponte-mark) center / contain no-repeat;
}
.hero__mark { height: 60px; margin-bottom: 18px; }

.hero__presented {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 26px;
}
.hero__presented-by {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}
.hero__presented-name {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title { margin: 0; font-weight: 400; }
.hero__title > span { display: block; }
.hero__artist {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 0.34em; /* letter-spacing 分の中央補正 */
}
.hero__en {
  margin: 12px 0 14px;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 12.6vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.hero__ja {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}
.hero .divider { margin: 20px auto 18px; }

.hero__date {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  font-variant-numeric: lining-nums;
}
.hero__date small {
  font-size: 16px;
  letter-spacing: 0.2em;
  vertical-align: 0.25em;
  margin-left: 0.2em;
}
.hero__time {
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-variant-numeric: lining-nums;
}
.hero__venue {
  margin-top: 10px;
  font-family: var(--font-mincho);
  font-size: 15px;
  letter-spacing: 0.16em;
}
.hero__venue span { margin: 0 0.5em; color: var(--gold); }

.hero__limit {
  display: inline-block;
  margin: 24px 0 0;
  padding: 7px 22px 7px 24px;
  border-top: 1px solid rgba(197, 167, 119, 0.7);
  border-bottom: 1px solid rgba(197, 167, 119, 0.7);
  font-family: var(--font-mincho);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
}
.hero__cta { display: flex; width: 100%; max-width: 320px; margin: 22px auto 0; }

/* スクロールを示す細い線 */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(197, 167, 119, 0), rgba(197, 167, 119, 0.8));
}

/* ==========================================================
   ② イベント紹介
   ========================================================== */
.section { padding: 92px 0; }
.section--intro { background: var(--ivory); }

.lead {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 2.15;
  letter-spacing: 0.08em;
  text-align: justify;
  text-justify: inter-character;
}

.photo { margin: 44px 0 0; }
.photo__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--champagne) 50% 50% / cover no-repeat;
}
.photo__img--venue { aspect-ratio: 3 / 2; background-image: var(--img-venue, none); }
.photo__img--performer { background-image: var(--img-performer, none); }
.photo figcaption {
  margin-top: 12px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--gold-ink);
}
/* 会場写真：スマホでは画面幅いっぱいに */
.photo--venue { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
.photo--venue figcaption {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--font-mincho);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  line-height: 1.6;
}
.photo--venue figcaption span {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.highlights {
  display: grid;
  gap: 18px;
  margin: 56px 0;
  padding: 0;
  list-style: none;
}
.highlight {
  position: relative;
  padding: 40px 26px 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.highlight::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(197, 167, 119, 0.32);
  pointer-events: none;
}
.highlight__num {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
}
.highlight__en {
  margin: 2px 0 6px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 34px;
  line-height: 1.2;
  color: var(--bordeaux);
}
.highlight__title {
  margin: 0 0 16px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--bordeaux-ink);
}
.highlight__text {
  font-size: 15px;
  line-height: 1.95;
  text-align: justify;
  text-justify: inter-character;
}

.intro-closing { font-size: 15.5px; line-height: 2.05; text-align: justify; text-justify: inter-character; }
.intro-closing > * + * { margin-top: 1.2em; }
.intro-closing .photo { margin-top: 40px; margin-bottom: 40px; }
.intro-closing .divider { margin: 48px auto 28px; }
.closing-message {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 17px;
  line-height: 2.1;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--bordeaux-ink);
}

/* ==========================================================
   ③ 開催概要
   ========================================================== */
.section--info { background: var(--champagne); }

.info-card {
  padding: 4px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.info-list { margin: 0; }
.info-row {
  display: grid;
  gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row dt {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold-ink);
}
.info-row dd { margin: 0; font-size: 15.5px; line-height: 1.85; }
.info-strong {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}
.info-strong small { font-family: var(--font-sans); font-weight: 400; font-size: 13px; }
.info-strong + p { margin-top: 2px; }

.timeline {
  position: relative;
  margin: 14px 0 4px;
  padding: 0 0 0 22px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--line-strong);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  padding: 3px 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}
.timeline time {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bordeaux);
  font-variant-numeric: lining-nums tabular-nums;
}
.timeline li.is-main::before { background: var(--bordeaux); border-color: var(--bordeaux); }
.timeline li.is-main span { font-weight: 600; }
.timeline li.is-sub time { font-size: 18px; color: var(--gold-ink); }
.timeline li.is-sub span { font-size: 14px; color: var(--muted); }

.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--bordeaux);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.chip-link:hover { border-color: var(--gold); background: var(--ivory); }

.bullets { margin: 0; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 1.2em; }
.bullets li + li { margin-top: 4px; }
.bullets li::before,
.policy__list li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.82em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ==========================================================
   ④ お申込み
   ========================================================== */
.section--apply { background: var(--ivory); }

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.flow::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: var(--line-strong);
}
.flow__step { position: relative; padding: 0 4px; text-align: center; }
.flow__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin: 0 auto 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 600;
  color: var(--gold-ink);
  font-variant-numeric: lining-nums;
}
.flow__step.is-current .flow__num { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--ivory); }
.flow__label {
  display: block;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.06em;
}
.flow__desc { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.apply-lead {
  padding: 20px 20px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-size: 14.5px;
  line-height: 1.9;
}
.apply-lead strong { color: var(--bordeaux-ink); }
.apply-lead p + p { margin-top: 0.8em; color: var(--muted); font-size: 13.5px; }

.apply-closed {
  margin-top: 32px;
  padding: 44px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 15px;
}
.apply-closed--loading { display: grid; justify-items: center; gap: 14px; padding: 48px 24px; }
.apply-closed--loading .apply-closed__title { margin: 0 !important; font-size: 16px; color: var(--muted); }
.apply-closed__retry { margin-top: 22px; }
.spinner--dark {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-color: var(--line-strong);
  border-top-color: var(--bordeaux);
}

.apply-closed__en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-ink);
}
.apply-closed__title {
  margin: 4px 0 12px !important;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--bordeaux-ink);
}

/* ---------- フォーム ---------- */
.form {
  margin-top: 32px;
  padding: 34px 20px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.form-group + .form-group { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.form-group__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 4px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--bordeaux-ink);
}
.form-group__num {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
  font-variant-numeric: lining-nums;
}

.field { margin-top: 24px; }
.field--compact { margin-top: 14px; }
.field--sub {
  margin-top: 18px;
  padding: 18px 16px 20px;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
}
.field__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.field__label--sub { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field__hint {
  margin: -2px 0 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
}
.tag--req { background: var(--bordeaux); color: #fff; }
.tag--opt { border: 1px solid var(--line-strong); color: var(--muted); font-weight: 500; }

.input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 16px; /* 16px未満だとiPhoneで入力時に拡大されるため固定 */
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.input::placeholder { color: #A9A09A; opacity: 1; }
.input:focus {
  outline: none;
  border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgba(197, 167, 119, 0.32);
}
.input[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 38, 46, 0.18); }
.textarea { min-height: 104px; resize: vertical; line-height: 1.7; }

.field__error {
  display: flex;
  gap: 7px;
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--error);
}
.field__error::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* 人数と金額 */
.count-row { display: grid; gap: 12px; }
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--gold-ink);
  border-bottom: 1.5px solid var(--gold-ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.select .input { padding-right: 44px; cursor: pointer; font-size: 17px; font-weight: 600; }
.count-calc {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 12px;
  padding: 12px 16px;
  background: var(--ivory);
  border-radius: 3px;
}
.count-calc__formula { font-size: 13.5px; color: var(--muted); }
.count-calc__total { font-size: 14px; }
.count-calc__total b {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  color: var(--bordeaux);
  letter-spacing: 0.02em;
  margin: 0 2px;
}

.companions {
  margin-top: 20px;
  padding: 20px 16px 22px;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
}
.companions .field__hint { margin-bottom: 4px; }

/* なし／あり 選択 */
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice__box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.choice__box::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.choice input:checked + .choice__box {
  border-color: var(--bordeaux);
  background: #FBF5F2;
  box-shadow: inset 0 0 0 1px var(--bordeaux);
  color: var(--bordeaux-ink);
  font-weight: 600;
}
.choice input:checked + .choice__box::before {
  border-color: var(--bordeaux);
  background: radial-gradient(circle, var(--bordeaux) 0 4px, #fff 4.6px);
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.is-invalid .choice__box { border-color: var(--error); }

/* ---------- キャンセルポリシー ---------- */
.policy {
  margin-top: 40px;
  padding: 26px 18px 20px;
  background: #F6F1E8;
  border: 1px solid var(--line);
}
.policy__title {
  margin: 0 0 14px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--bordeaux-ink);
}
.policy__list { margin: 0 0 20px; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.85; }
.policy__list li { position: relative; padding-left: 1.2em; }
.policy__list li + li { margin-top: 6px; }
.policy__list strong { color: var(--bordeaux-ink); }
.policy .field { margin-top: 0; }

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.check__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1.5px solid var(--gold-ink);
  border-radius: 3px;
  background: #fff;
  transition: background-color 0.15s, border-color 0.15s;
}
.check input:checked + .check__box { background: var(--bordeaux); border-color: var(--bordeaux); }
.check input:checked + .check__box::after {
  content: "";
  width: 7px;
  height: 12px;
  margin-top: -3px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check__label { font-size: 15px; font-weight: 600; line-height: 1.65; }
.check:has(input:checked) { border-color: var(--bordeaux); background: #FBF5F2; }
.field.is-invalid .check { border-color: var(--error); background: var(--error-bg); }

/* ---------- 送信 ---------- */
.summary {
  margin-top: 32px;
  padding: 12px 2px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: 14.5px;
}
.summary__row b { font-size: 17px; margin-right: 2px; }
.summary__row--total b {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 600;
  color: var(--bordeaux);
  letter-spacing: 0.02em;
}

.privacy-note { margin: 16px 0 0; font-size: 13px; line-height: 1.75; color: var(--muted); }

.form-alert {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--error);
  background: var(--error-bg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--error);
}
#submit-btn { margin-top: 20px; }
.submit-note { margin-top: 12px; font-size: 13px; text-align: center; color: var(--muted); }

/* ==========================================================
   申込完了画面
   ========================================================== */
.complete-hero {
  padding: 64px 24px 58px;
  text-align: center;
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(62, 22, 34, 0.80) 0%, rgba(40, 13, 21, 0.90) 100%),
    var(--img-venue, none) 50% 35% / cover no-repeat,
    #3A1520;
}
.complete-hero .divider { margin: 0 auto 18px; }
.complete-hero__title {
  margin: 6px 0 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.7;
  letter-spacing: 0.16em;
}
.complete-body { padding-top: 48px; }
.complete-message { font-size: 15.5px; line-height: 2; }
.complete-message strong { color: var(--bordeaux-ink); }

.ticket {
  margin: 32px 0 28px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}
.ticket__head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 12px;
  padding: 12px 18px;
  background: var(--bordeaux);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  font-variant-numeric: lining-nums;
}
.ticket__list { margin: 0; padding: 4px 18px; }
.ticket__list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.ticket__list > div:last-child { border-bottom: 0; }
.ticket dt { flex: none; font-size: 13.5px; letter-spacing: 0.1em; color: var(--muted); }
.ticket dd { margin: 0; font-size: 16px; font-weight: 600; text-align: right; }
.ticket dd small { font-weight: 400; }
.ticket__id {
  font-family: var(--font-en);
  font-size: 24px !important;
  letter-spacing: 0.1em;
  color: var(--bordeaux);
  font-variant-numeric: lining-nums;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 12px;
  border: 1px solid #D9A46A;
  border-radius: 999px;
  background: var(--amber-bg);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--amber);
}
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C77A2C; }

.pay__note { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.pay__note strong { color: var(--charcoal); }
.pay-missing { padding: 16px; background: var(--amber-bg); color: var(--amber); font-size: 14.5px; }

.notice {
  margin-top: 28px;
  padding: 18px 18px;
  background: #F6F1E8;
  border-left: 2px solid var(--gold);
  font-size: 14.5px;
  line-height: 1.9;
}
.notice__warn { color: var(--bordeaux-ink); font-weight: 600; }

.next { margin-top: 44px; }
.next__title {
  margin: 0 0 16px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--bordeaux-ink);
}
.next__list { margin: 0; padding: 0; list-style: none; counter-reset: next; }
.next__list li {
  position: relative;
  padding: 0 0 20px 48px;
  counter-increment: next;
  font-size: 14.5px;
  line-height: 1.8;
}
.next__list li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-ink);
  background: var(--ivory);
  font-variant-numeric: lining-nums;
}
.next__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 4px;
  width: 1px;
  background: var(--line-strong);
}
.next__list b { display: block; font-size: 15.5px; color: var(--charcoal); }
.next__list span { color: var(--muted); }

.complete-event {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  font-size: 13.5px;
  line-height: 1.8;
  text-align: center;
  color: var(--muted);
}
.complete-event p + p { margin-top: 0; }
.complete-event__title {
  margin-bottom: 4px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 15px;
  color: var(--bordeaux-ink);
}

/* ==========================================================
   ⑤ フッター
   ========================================================== */
.footer {
  padding: 64px 0 calc(40px + env(safe-area-inset-bottom));
  background: var(--bordeaux-deep);
  color: rgba(248, 245, 240, 0.84);
  font-size: 13.5px;
  line-height: 1.85;
  text-align: center;
}
.footer__mark { height: 64px; margin-bottom: 16px; }
.footer__brand {
  margin-bottom: 32px;
  font-family: var(--font-en);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.footer__block { max-width: 460px; margin: 0 auto 28px; }
.footer__label {
  margin-bottom: 6px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}
.footer__text { text-align: justify; text-justify: inter-character; }
.footer__contact { margin: 0; padding: 0; list-style: none; }
.footer__contact a { color: var(--ivory); text-underline-offset: 3px; }
.footer__copy {
  margin-top: 40px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(227, 211, 180, 0.7);
  font-variant-numeric: lining-nums;
}

/* ---------- テスト受付中の表示 ---------- */
.test-ribbon {
  position: sticky;
  top: 0;
  z-index: 60;
  margin: 0;
  padding: 8px 16px;
  background: #8A4B12;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ---------- 追従ボタン（スマホ） ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(248, 245, 240, 0.94);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { min-height: 52px; }

/* ---------- 差し替え枠（プレビュー確認用。本番では show-slots が付かない） ---------- */
.show-slots [data-slot][hidden] { display: block !important; }
.show-slots .photo[hidden]::before,
.show-slots .footer__block[hidden]::after {
  content: attr(data-slot-label);
  display: grid;
  place-items: center;
  border: 1px dashed var(--gold-ink);
  background: repeating-linear-gradient(135deg, rgba(197, 167, 119, 0.10) 0 10px, transparent 10px 20px);
  font-size: 13px;
  color: var(--gold-ink);
}
.show-slots .photo[hidden]::before { aspect-ratio: 4 / 5; }
.show-slots .photo[hidden] .photo__img { display: none; }
.show-slots .footer__block[hidden]::after { padding: 16px; color: var(--gold-soft); border-color: var(--gold); }

/* ==========================================================
   小さなスマートフォン（幅360px未満）
   ========================================================== */
@media (max-width: 359px) {
  :root { --gutter: 20px; }
  .hero { padding-left: 24px; padding-right: 24px; }
  .hero__presented-name { font-size: 12px; letter-spacing: 0.18em; }
  .hero__artist { letter-spacing: 0.26em; padding-left: 0.26em; }
  .hero__ja { font-size: 14px; letter-spacing: 0.1em; }
  .hero__date { font-size: 28px; }
  .hero__time { letter-spacing: 0.14em; }
}

/* ==========================================================
   タブレット・PC
   ========================================================== */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .section { padding: 112px 0; }
  .section-title { font-size: 27px; }
  .info-card { padding: 8px 40px; }
  .photo--venue { margin-left: 0; margin-right: 0; }
  .photo__img--venue { aspect-ratio: 2 / 1; }
  .info-row { grid-template-columns: 96px 1fr; gap: 24px; padding: 30px 0; }
  .info-row dt { padding-top: 3px; }
  .form { padding: 48px 44px 52px; }
  .count-row { grid-template-columns: 180px 1fr; align-items: center; }
  .count-calc { align-items: center; min-height: 54px; }
  .policy { padding: 30px 32px 26px; }
  .ticket__list { padding: 6px 28px; }
  .ticket__head { padding: 12px 28px; }
}

@media (min-width: 860px) {
  .hero { padding-top: 44px; padding-bottom: 76px; }
  .hero__mark { height: 68px; }
  .hero__en { font-size: 76px; }
  .hero__artist { font-size: 24px; }
  .hero__ja { font-size: 17px; }
  .hero__date { font-size: 38px; }
  .highlights { grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 72px 0; }
  .highlight { padding: 44px 30px 38px; }
  .sticky-cta {
    left: auto;
    right: 28px;
    bottom: 28px;
    padding: 0;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateY(calc(100% + 40px));
  }
  .sticky-cta .btn { padding: 0 40px; box-shadow: 0 10px 30px rgba(59, 22, 33, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
