/* Dedicated application page. Shared brand tokens live in style.css. */
.entry-page { background: var(--ink); }
.entry-page [hidden] { display: none !important; }
.entry-page button, .entry-page input, .entry-page select { font: inherit; }
.entry-page button, .entry-page summary { cursor: pointer; }
.entry-page :focus-visible { outline: 3px solid var(--cyan-dark); outline-offset: 4px; }
.entry-page .entry-header :focus-visible { outline-color: var(--cyan); }
.entry-page [tabindex="-1"]:focus { outline: none; }
.entry-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.entry-skip { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px; transform: translateY(-180%); background: var(--cyan); color: var(--ink); }
.entry-skip:focus { transform: none; }
.entry-skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
.entry-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 18px max(24px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); }
.entry-header .brand { font-size: 18px; }
.entry-back { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; min-height: 44px; }
.entry-back:hover { color: var(--cyan); }
.entry-back-arrow { display: inline-block; width: 18px; height: 10px; position: relative; flex: 0 0 auto; }
.entry-back-arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 1px solid currentColor; }
.entry-back-arrow::after { content: ""; position: absolute; left: 0; top: 2px; width: 6px; height: 6px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.entry-main { display: block; max-width: 1240px; margin: 0 auto; padding: 58px 24px 80px; }
.entry-intro { margin-bottom: 32px; }
.entry-intro .eyebrow { margin-bottom: 20px; }
.entry-intro h1 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.4; letter-spacing: .03em; }
.entry-intro-copy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.entry-notice { display: flex; align-items: flex-start; gap: 18px; padding: 20px 24px; margin-bottom: 36px; border: 1px solid rgba(119,231,255,.25); background: rgba(119,231,255,.05); }
.entry-notice p { margin: 0; color: #c4cedb; font-size: 12px; line-height: 1.9; }
.entry-notice strong { color: var(--white); font-weight: 600; }
.entry-preview-tip { display: block; margin-top: 4px; }
.entry-status { display: inline-flex; flex-shrink: 0; padding: 5px 10px; color: var(--cyan); border: 1px solid rgba(119,231,255,.45); font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.entry-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 40px; align-items: start; }
.entry-layout > * { min-width: 0; }
.entry-event { position: sticky; top: 24px; border: 1px solid var(--line); background: var(--ink-soft); }
.entry-event-photo { position: relative; aspect-ratio: 1.75; overflow: hidden; }
.entry-event-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(8,9,20,.8)); }
.entry-event-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.entry-event-photo > span { position: absolute; z-index: 1; bottom: 18px; left: 24px; color: var(--cyan); font-size: 10px; font-family: var(--font-geist-mono); letter-spacing: .12em; }
.entry-event-body { padding: 28px; }
.entry-small-label { color: var(--cyan); font-size: 9px; font-family: var(--font-geist-mono); letter-spacing: .12em; line-height: 1.6; }
.entry-event h2 { margin: 12px 0 26px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; line-height: 1.4; text-wrap: initial; }
.entry-event-details { margin: 0; }
.entry-event-details > div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; }
.entry-event-details dt { color: var(--muted); }
.entry-event-details dd { margin: 0; font-weight: 600; }
.entry-sample-note { margin: 12px 0 22px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.entry-event-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.entry-event-tags span { border: 1px solid #444b60; padding: 5px 8px; font-size: 10px; color: #dbe3ed; }
.entry-event-message { margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.9; }
.entry-steps { display: flex; list-style: none; gap: 0; padding: 0 0 24px; margin: 0; }
.entry-steps li { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; color: #aab3c3; padding: 0 8px 18px; border-bottom: 2px solid #353b4e; font-size: 11px; }
.entry-steps li:first-child { padding-left: 0; }
.entry-steps span { font-size: 11px; font-family: var(--font-geist-mono); }
.entry-steps small { font-size: 9px; font-weight: 400; }
.entry-steps [aria-current="step"] { color: var(--cyan); border-color: var(--cyan); }
.entry-steps .is-complete { color: var(--white); border-color: #657389; }
.entry-card { padding: clamp(24px, 3.3vw, 42px); background: var(--paper); color: var(--ink); border-top: 3px solid var(--cyan); }
.entry-card-heading { margin-bottom: 28px; }
.entry-card-heading h2 { font-size: 23px; margin: 0 0 12px; line-height: 1.5; }
.entry-card-heading p { margin: 0; color: #62697a; font-size: 12px; line-height: 1.8; }
.entry-card-heading .entry-small-label { color: #00718c; margin: 0 0 12px; font-size: 9px; }
#entry-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.entry-required, .entry-optional { margin-left: 5px; font-size: 10px; font-weight: 500; vertical-align: middle; white-space: nowrap; }
.entry-required { color: #ac245e; }
.entry-optional { color: #666d7b; }
.entry-card-heading .entry-required { margin-left: 0; }
.entry-choice-field { min-width: 0; border: 0; padding: 0; margin: 0 0 24px; }
.entry-choice-field legend, .entry-field > label { font-size: 13px; font-weight: 700; line-height: 1.8; margin: 0 0 10px; padding: 0; }
.entry-choice-grid, .entry-ticket-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry-choice { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 52px; padding: 14px 16px; background: #fff; border: 1px solid #aeb6c4; font-size: 14px; cursor: pointer; transition: border-color 160ms, background 160ms; }
.entry-choice:has(input:checked) { border-color: #007b97; background: #e5f8fc; box-shadow: inset 0 0 0 1px #007b97; }
.entry-choice input, .entry-check input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: #007f9c; }
.entry-ticket-choice { align-items: flex-start; padding: 17px 14px; }
.entry-ticket-choice input { margin-top: 2px; }
.entry-ticket-copy { display: grid; gap: 6px; min-width: 0; }
.entry-ticket-copy b { font-size: 13px; line-height: 1.6; }
.entry-ticket-copy small { font-size: 9px; color: #5f6678; letter-spacing: .06em; font-family: var(--font-geist-mono); }
.entry-ticket-price { font-size: 19px; font-weight: 800; line-height: 1.5; font-variant-numeric: tabular-nums; }
.entry-ticket-price.is-unselected { font-size: 11px; font-weight: 400; color: #62697a; }
.entry-help { margin: 9px 0 0; font-size: 11px; line-height: 1.8; color: #62697a; }
.entry-section-label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #c9cfda; padding-top: 26px; margin-top: 28px; }
.entry-section-label span { order: 2; color: #596575; font-size: 9px; letter-spacing: .09em; font-family: var(--font-geist-mono); }
.entry-section-label h3 { font-size: 16px; margin: 0; }
.entry-person-note { margin-bottom: 24px; }
.entry-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.entry-field { min-width: 0; }
.entry-field-wide { grid-column: 1 / -1; }
.entry-field > label { display: block; }
.entry-field input, .entry-field select { width: 100%; min-width: 0; height: 52px; border: 1px solid #aeb6c4; border-radius: 0; padding: 0 13px; background: #fff; color: var(--ink); font-size: 16px; box-shadow: none; }
.entry-field input::placeholder { font-size: 14px; color: #737b8a; opacity: 1; }
.entry-field select { padding-right: 30px; }
.entry-field input:focus, .entry-field select:focus { border-color: #007f9c; }
.entry-input-suffix { position: relative; }
.entry-input-suffix input { padding-right: 38px; }
.entry-input-suffix span { position: absolute; right: 14px; top: 16px; color: #62697a; font-size: 13px; }
.entry-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; font-size: 12px; line-height: 1.9; cursor: pointer; }
.entry-check input { margin-top: 3px; }
.entry-guidance { margin-top: 24px; border-top: 1px solid #c9cfda; border-bottom: 1px solid #c9cfda; }
.entry-guidance summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; list-style: none; font-size: 12px; font-weight: 600; }
.entry-guidance summary::-webkit-details-marker { display: none; }
.entry-guidance summary span { font-size: 16px; font-weight: 400; transition: transform 160ms; }
.entry-guidance[open] summary span { transform: rotate(45deg); }
.entry-guidance > div { padding: 0 0 12px; font-size: 12px; line-height: 1.9; color: #515a6a; }
.entry-guidance p:first-child { margin-top: 0; }
.entry-form-actions { margin-top: 28px; }
.entry-primary { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 58px; border: 1px solid transparent; padding: 16px 22px; background: var(--pink); color: var(--ink); font-size: 14px !important; font-weight: 700 !important; line-height: 1.7; transition: background 160ms, transform 160ms; }
.entry-primary:not(:disabled):hover { background: #ff80ba; transform: translateY(-1px); }
.entry-primary .ui-arrow { flex: 0 0 auto; }
.entry-form-actions > p { margin: 12px 0 0; font-size: 11px; color: #62697a; text-align: center; line-height: 1.8; }
.entry-primary:disabled { background: #dce0e8; color: #646c7b; cursor: not-allowed; }
.entry-field-error { margin: 7px 0 0; font-size: 12px; color: #a91d4f; line-height: 1.7; }
.entry-field-error:empty { display: none; }
.entry-page [aria-invalid="true"] { border-color: #b82258; }
.entry-choice:has([aria-invalid="true"]) { border-color: #b82258; }
.entry-error-banner { margin: 0 0 24px; padding: 16px; background: #fff0f4; color: #8c1740; border: 1px solid #d58aa4; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.entry-error-banner p { margin: 0; font-weight: 700; }
.entry-error-banner ul { margin: 8px 0 0; padding-left: 18px; }
.entry-error-banner a { text-decoration: underline; text-underline-offset: 3px; }
.entry-contact { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 25px 0 0; font-size: 11px; color: var(--muted); line-height: 1.8; }
.entry-contact a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.entry-contact .ui-arrow { width: 18px; }
.entry-review-list { margin: 0; }
.entry-review-list > div { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 20px; padding: 15px 0; border-top: 1px solid #ccd1db; font-size: 13px; line-height: 1.8; }
.entry-review-list dt { color: #62697a; }
.entry-review-list dd { margin: 0; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.entry-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 20px; padding: 22px 0; border-top: 1px solid #adb6c6; border-bottom: 1px solid #adb6c6; }
.entry-total span { font-size: 13px; font-weight: 600; }
.entry-total small { display: block; margin-top: 6px; color: #62697a; font-size: 11px; }
.entry-total strong { font-size: 32px; letter-spacing: -.03em; }
.entry-payment-notice { margin: 28px 0 20px; padding: 20px; background: #e4ecf1; }
.entry-payment-notice .entry-status { color: #006b83; border-color: #80afb8; }
.entry-payment-notice h3 { margin: 16px 0 10px; font-size: 14px; line-height: 1.8; text-wrap: initial; }
.entry-payment-notice p { margin: 0; font-size: 12px; line-height: 1.9; color: #465466; }
.entry-review-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.entry-secondary { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--ink); font-size: 12px !important; font-weight: 600 !important; }
.entry-clear { min-height: 44px; padding: 8px 0; background: none; border: 0; color: #62697a; font-size: 11px !important; text-decoration: underline; text-underline-offset: 4px; }
.entry-payment-help { margin-top: 20px; }
.entry-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 28px 24px; border-top: 1px solid var(--line); font-family: var(--font-geist-mono); color: var(--muted); font-size: 9px; letter-spacing: .05em; }
.entry-footer small { font-size: inherit; }
@media (max-width: 860px) {
  .entry-layout { grid-template-columns: minmax(0, .78fr) minmax(0, 1.2fr); gap: 24px; }
  .entry-event-body { padding: 22px; }
  .entry-event h2 { font-size: 20px; }
  .entry-field-grid { grid-template-columns: 1fr; }
  .entry-ticket-options { gap: 8px; }
  .entry-ticket-choice { padding: 15px 10px; gap: 8px; }
}
@media (max-width: 680px) {
  .entry-header { min-height: 74px; padding: 14px 20px; gap: 10px; }
  .entry-header .brand { font-size: 15px; gap: 7px; }
  .entry-header .brand-logo-mark { width: 32px; height: 32px; }
  .entry-back { font-size: 10px; gap: 7px; }
  .entry-back-arrow { width: 14px; }
  .entry-main { padding: 34px 20px 48px; }
  .entry-intro { margin-bottom: 24px; }
  .entry-intro .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .entry-intro h1 { font-size: clamp(25px, 6.8vw, 34px); margin-bottom: 12px; }
  .entry-intro-copy { font-size: 12px; }
  .entry-notice { display: block; padding: 16px; margin-bottom: 24px; }
  .entry-notice p { font-size: 11px; margin-top: 10px; }
  .entry-layout { display: block; }
  .entry-event { position: static; display: grid; grid-template-columns: 80px minmax(0, 1fr); margin-bottom: 28px; }
  .entry-event-photo { height: 100%; aspect-ratio: auto; }
  .entry-event-photo img { object-position: 48% 50%; }
  .entry-event-photo > span, .entry-event-message, .entry-event-tags, .entry-event-body > .entry-small-label { display: none; }
  .entry-event-body { padding: 16px; }
  .entry-event h2 { margin: 0 0 10px; font-size: 16px; }
  .entry-event-details > div { padding: 4px 0; border: 0; gap: 8px; grid-template-columns: 35px minmax(0, 1fr); font-size: 10px; }
  .entry-sample-note { font-size: 9px; margin: 8px 0 0; }
  .entry-steps { padding-bottom: 20px; }
  .entry-steps li { font-size: 10px; gap: 5px; padding-bottom: 13px; }
  .entry-steps small { font-size: 8px; }
  .entry-card { padding: 24px 20px; }
  .entry-card-heading h2 { font-size: 21px; }
  .entry-card-heading { margin-bottom: 24px; }
  .entry-ticket-copy b { font-size: 12px; }
  .entry-ticket-copy small { font-size: 8px; }
  .entry-ticket-price { font-size: 20px; }
  .entry-choice { padding: 14px 12px; }
  .entry-ticket-choice { padding: 16px 10px; gap: 8px; }
  .entry-field-grid { gap: 20px; }
  .entry-section-label span { display: none; }
  .entry-review-list > div { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; font-size: 12px; }
  .entry-payment-notice { padding: 16px; }
  .entry-primary { padding: 16px; font-size: 13px !important; }
  .entry-contact { gap: 0 6px; font-size: 10px; }
  .entry-footer { padding-inline: 20px; font-size: 8px; }
}
@media (max-width: 360px) {
  .entry-header { padding-inline: 16px; }
  .entry-main { padding-inline: 16px; }
  .entry-back { font-size: 9px; }
  .entry-card { padding-inline: 16px; }
  .entry-ticket-options { grid-template-columns: 1fr; }
  .entry-ticket-copy { grid-template-columns: 1fr auto; width: 100%; gap: 3px 10px; }
  .entry-ticket-copy small { grid-column: 1; }
  .entry-ticket-price { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-page *, .entry-page *::before, .entry-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* 2026-10-16: グループ・同行者・先行コード・来場手段 */
.entry-count-grid { grid-template-columns: repeat(4, 1fr); }
.entry-count-grid .entry-choice { padding: 12px 8px; justify-content: center; font-size: 12px; text-align: center; }
.entry-live-total { margin: -6px 0 24px; padding: 14px 16px; background: #fff; border: 1px solid #aeb6c4; font-size: 13px; font-weight: 700; line-height: 1.7; }
.entry-companion { margin: 18px 0 0; padding: 18px 16px 6px; border: 1px solid #aeb6c4; background: #fff; min-width: 0; }
.entry-companion legend { padding: 0 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.entry-companion .entry-field-grid { gap: 18px 16px; }
.entry-pay-status { margin-top: 12px; font-weight: 700; color: var(--ink); }
.entry-complete .entry-complete-id { margin: 8px 0 22px; font-size: clamp(26px, 5vw, 40px); font-weight: 800; letter-spacing: .04em; font-family: var(--font-geist-mono); }
.entry-complete p { line-height: 1.9; font-size: 14px; }
.entry-complete-actions { margin-top: 24px; display: grid; gap: 14px; }
.entry-complete-actions .entry-primary { text-decoration: none; }
@media (max-width: 759px) {
  .entry-count-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 同意欄（2026-10-17: 規約・キャンセル返金・プライバシー・撮影の4項目） */
.entry-consent { margin: 28px 0 0; padding: 18px 18px 14px; border: 1px solid #c9d1de; display: grid; gap: 4px; }
.entry-consent legend { padding: 0 6px; font-size: 13px; font-weight: 800; }
.entry-consent .entry-check { margin-top: 10px; }
.entry-consent .entry-check a { color: #007f9c; font-weight: 700; }
.entry-consent .entry-field-error { margin-top: 8px; }
