html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  font-family: "Yu Gothic", Meiryo, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  min-height: 44px;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus, #ef573b);
  outline-offset: 4px;
}
button:hover {
  filter: brightness(1.08);
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
button {
  border: 1px solid currentColor;
  background: transparent;
  padding: 9px 18px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4vw;
  border-bottom: 1px solid currentColor;
}
header .brand {
  font:
    900 25px Arial,
    sans-serif;
  letter-spacing: -1px;
}
header nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  background: white;
  color: #111;
  padding: 12px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
.micro {
  font-size: 11px;
  letter-spacing: 1px;
}
.button-fill {
  background: var(--ink);
  color: var(--bg);
}
.status {
  font-size: 12px;
  line-height: 1.75;
}
footer {
  padding: 30px 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid currentColor;
}
footer p {
  font-size: 12px;
  max-width: 650px;
  margin: 0;
}
footer strong {
  font:
    900 20px Arial,
    sans-serif;
}
dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: 85dvh;
  overflow: auto;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid currentColor;
  padding: 25px;
}
dialog::backdrop {
  background: #141821c9;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-head button {
  font-size: 28px;
  border: 0;
  width: 44px;
  padding: 0;
}
dialog h2 {
  font:
    32px Georgia,
    "Yu Mincho",
    serif;
}
dialog p {
  font-size: 14px;
}
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
input[type="range"] {
  accent-color: var(--ink);
  min-height: 44px;
  max-width: 100%;
  cursor: pointer;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 700px) {
  header {
    padding: 17px 20px;
    gap: 10px;
  }
  header .brand {
    font-size: 20px;
  }
  header nav {
    gap: 14px;
    font-size: 11px;
  }
  footer {
    padding: 25px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  footer p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
:root {
  --bg: #171d37;
  --ink: #f4aa5d;
  --focus: #f4e7d2;
}
header {
  border-color: #6a6373;
}
.screen {
  height: 570px;
  position: relative;
  margin: 22px 22px 0;
  overflow: hidden;
  background: #0d152c;
}
.screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
}
.screen:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #11182de8 0, transparent 70%);
  pointer-events: none;
}
.screen-top {
  position: absolute;
  top: 20px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #f4e7d2;
  z-index: 2;
}
.film-number {
  position: absolute;
  right: 5vw;
  top: 55px;
  font: italic 240px/1 Georgia;
  color: #e9cebb88;
  z-index: 2;
  letter-spacing: -20px;
}
.film-caption {
  position: absolute;
  left: 5vw;
  bottom: 40px;
  max-width: 580px;
  z-index: 2;
  color: #f4e7d2;
}
.film-caption h1 {
  font:
    400 clamp(42px, 5.6vw, 80px)/1.25 "Yu Mincho",
    Georgia,
    serif;
  letter-spacing: -3px;
  margin: 17px 0;
}
.film-caption p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 430px;
}
.film-caption > span:last-child {
  font-size: 11px;
}
.screen-corner {
  position: absolute;
  bottom: 35px;
  right: 35px;
  z-index: 3;
  font: 50px/1 Georgia;
  color: #f4e7d2;
  text-align: center;
}
.ticket {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 190px;
  align-items: center;
  gap: 30px;
  margin: 0 22px;
  border: 1px solid #a18578;
  border-top: 0;
  padding: 28px 4vw;
  background: #211f34;
}
.ticket-date .controls {
  margin-top: 10px;
  gap: 7px;
}
.ticket-date button {
  font-size: 12px;
  padding: 10px 12px;
}
.ticket-date button[aria-pressed="true"] {
  background: #f4aa5d;
  color: #171d37;
}
.ticket-time {
  padding-left: 35px;
  border-left: 1px dashed #907d7c;
}
.ticket-time > span,
.ticket-time small {
  font-size: 11px;
  display: block;
}
.ticket-time strong {
  font: 56px/1.2 Georgia;
}
.ticket-note {
  padding-left: 35px;
  border-left: 1px dashed #907d7c;
}
.ticket-note strong {
  font:
    21px/1.5 "Yu Mincho",
    serif;
}
.ticket-note p {
  font-size: 12px;
  color: #b4b8cf;
  margin: 10px 0 0;
}
.ticket .button-fill {
  color: #171d37;
  background: #f4aa5d;
  border-color: #f4aa5d;
}
.program {
  padding: 65px 6vw 80px;
}
.program-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  padding-bottom: 25px;
}
.program-heading h2 {
  font:
    30px "Yu Mincho",
    serif;
  margin: 0;
}
.program-heading p {
  margin: 0;
  color: #b4b8cf;
}
.film-list {
  display: flex;
  flex-direction: column;
}
.film-list button {
  display: grid;
  grid-template-columns: 260px 1fr 140px;
  align-items: center;
  gap: 35px;
  padding: 25px 0;
  text-align: left;
  border: 0;
  border-top: 1px solid #6a6373;
}
.film-list button img {
  width: 260px;
  height: 135px;
  object-fit: cover;
}
.film-list button:nth-child(2) {
  padding-left: 70px;
}
.film-list button:nth-child(3) {
  padding-left: 140px;
}
.film-list button[aria-pressed="true"] {
  background: #2e2e44;
}
.film-list small {
  font-size: 11px;
}
.film-list strong {
  display: block;
  font:
    30px "Yu Mincho",
    serif;
  margin: 10px 0;
}
.film-list button > span > span {
  font-size: 11px;
  color: #b4b8cf;
}
.film-list b {
  font-size: 12px;
  font-weight: 400;
}
footer {
  color: #b4b8cf;
  border-color: #6a6373;
}
.seat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 30px 0;
}
.seat-grid button {
  min-width: 0;
  padding: 8px;
  font-size: 12px;
  border: 1px solid #f4aa5d;
  border-radius: 7px 7px 0 0;
}
.seat-grid button[aria-pressed="true"] {
  background: #f4aa5d;
  color: #171d37;
}
.seat-screen {
  text-align: center;
  padding: 8px;
  border-top: 4px solid #9faad2;
  font-size: 11px;
  margin-top: 20px;
}
#seat-status {
  font-size: 12px;
  min-height: 25px;
}
@media (max-width: 1050px) {
  .ticket {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  .ticket > button {
    grid-column: 1/-1;
  }
  .ticket-time,
  .ticket-note {
    padding-left: 20px;
  }
  .film-list button {
    grid-template-columns: 200px 1fr 100px;
    gap: 25px;
  }
  .film-list button img {
    width: 200px;
  }
  .film-list button:nth-child(n) {
    padding-left: 0;
  }
}
@media (max-width: 600px) {
  .screen {
    height: 490px;
    margin: 12px 12px 0;
  }
  .screen-top {
    left: 17px;
    right: 17px;
    font-size: 11px;
    gap: 25px;
  }
  .screen-top > span:last-child {
    text-align: right;
    max-width: 110px;
  }
  .film-number {
    font-size: 165px;
    right: 28px;
    top: 90px;
    letter-spacing: -15px;
  }
  .film-caption {
    left: 23px;
    right: 23px;
    bottom: 25px;
  }
  .film-caption h1 {
    font-size: 39px;
    letter-spacing: -1px;
  }
  .film-caption p {
    font-size: 12px;
    max-width: 280px;
  }
  .screen-corner {
    display: none;
  }
  .ticket {
    margin: 0 12px;
    padding: 22px;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .ticket-time {
    padding-left: 20px;
  }
  .ticket-time strong {
    font-size: 43px;
  }
  .ticket-note {
    grid-column: 1/-1;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px dashed #907d7c;
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .ticket-note strong {
    font-size: 20px;
    min-width: 110px;
  }
  .ticket-note p {
    font-size: 12px;
    margin: 0;
  }
  .ticket-date .controls {
    gap: 5px;
    flex-direction: column;
    align-items: flex-start;
  }
  .ticket-date button {
    font-size: 11px;
  }
  .program {
    padding: 45px 25px;
  }
  .program-heading {
    gap: 15px;
  }
  .program-heading h2 {
    font-size: 27px;
  }
  .film-list button {
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  .film-list button img {
    width: 110px;
    height: 125px;
  }
  .film-list strong {
    font-size: 24px;
    line-height: 1.5;
  }
  .film-list b {
    grid-column: 2;
    font-size: 12px;
  }
  .seat-grid {
    gap: 5px;
  }
  .seat-grid button {
    padding: 6px;
    font-size: 11px;
  }
}
