:root {
  --washi: #f4efe3;
  --washi-deep: #e7deca;
  --paper: #fffdf8;
  --ink: #272522;
  --muted: #665f55;
  --indigo: #263f53;
  --indigo-dark: #182b39;
  --bengara: #8e3f32;
  --bengara-dark: #672c24;
  --yamabuki: #c89b36;
  --line: #c8bfad;
  --white: #ffffff;
  --content: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--washi);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--yamabuki);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  color: var(--paper);
  background: var(--ink);
}

.header-inner {
  width: min(100% - 40px, var(--content));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-name {
  flex: 0 0 auto;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.site-name span {
  display: block;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.page-nav a {
  padding: 16px 0;
  text-decoration: none;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  color: #f0c86d;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.intro-layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  place-items: center;
  padding: 24px;
  color: var(--paper);
  background: var(--indigo-dark);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.show-intro .intro-layer {
  display: grid;
  animation: intro-layer-exit 2.5s linear forwards;
}

.show-intro .intro-content {
  animation: intro-title-reveal 2.5s linear forwards;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.intro-title,
.intro-subtitle {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  letter-spacing: 0;
  text-orientation: upright;
  writing-mode: vertical-rl;
}

.intro-title {
  color: var(--paper);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.25;
}

.intro-subtitle {
  padding-right: 14px;
  border-right: 1px solid #ad876e;
  color: #d8cdbb;
  font-size: 13px;
  line-height: 1.7;
}

@keyframes intro-title-reveal {
  0% {
    opacity: 0;
    transform: translateY(6px);
    animation-timing-function: ease-out;
  }

  18%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-layer-exit {
  0%,
  66% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.hero {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-bottom: 8px solid var(--indigo);
  background: var(--ink);
}

.hero-media {
  width: 100%;
  max-width: 1536px;
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 58px);
  object-fit: contain;
}

.section {
  scroll-margin-top: 20px;
  padding: 96px 0;
}

.section-inner {
  width: min(100% - 48px, var(--content));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--bengara);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 36px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: 39px;
  font-weight: 700;
  line-height: 1.45;
}

.story-section {
  background: var(--paper);
}

.story-inner {
  max-width: 920px;
}

.story-inner .lead {
  max-width: 850px;
  margin: 0;
  font-size: 18px;
  line-height: 2.1;
}

.credits {
  display: flex;
  gap: 56px;
  margin: 42px 0 30px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credits div {
  display: grid;
  grid-template-columns: 42px auto;
  align-items: baseline;
  gap: 12px;
}

.credits dt {
  color: var(--bengara);
  font-size: 13px;
  font-weight: 800;
}

.credits dd {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: 22px;
  font-weight: 700;
}

.cast-block h3 {
  margin: 0 0 8px;
  color: var(--indigo);
  font-size: 15px;
}

.cast-block p {
  margin: 0;
}

.cast-block small {
  white-space: nowrap;
}

.workshop-section {
  color: var(--paper);
  background: var(--indigo-dark);
}

.workshop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 62px;
}

.workshop-photo {
  margin: 0;
}

.workshop-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid var(--paper);
}

.workshop-photo figcaption {
  margin-top: 8px;
  color: #c7ced2;
  font-size: 12px;
  text-align: right;
}

.workshop-section .section-kicker {
  color: #e2bd68;
}

.workshop-section h2 {
  margin-bottom: 26px;
}

.workshop-message {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 2;
}

.info-section {
  background: var(--washi-deep);
}

.info-list {
  margin: 0;
  border-top: 4px solid var(--ink);
}

.info-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-bottom: 1px solid #afa592;
}

.info-list dt,
.info-list dd {
  padding: 26px 30px;
}

.info-list dt {
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  background: var(--paper);
  font-size: 19px;
}

.info-list dd strong {
  color: var(--bengara-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: 29px;
}

.info-list dd small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.info-list .price-row,
.price-row dd {
  background: #ead7a5;
}

.price-row dd strong {
  margin-right: 8px;
  color: var(--ink);
  font-size: 41px;
}

.ticket-section {
  background: var(--paper);
}

.ticket-release {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--washi);
  font-size: 20px;
  font-weight: 800;
}

.ticket-release span {
  flex: 0 0 auto;
  padding-right: 20px;
  border-right: 2px solid var(--bengara);
  color: var(--bengara-dark);
  font-size: 13px;
}

.ticket-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ticket-method {
  min-height: 270px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.ticket-method:last-child {
  border-right: 0;
}

.ticket-method h3 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.ticket-method p {
  margin: 6px 0 0;
}

.ticket-method .method-name {
  margin: 0 0 14px;
  color: var(--indigo);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: 29px;
  font-weight: 700;
}

.method-name a {
  text-underline-offset: 5px;
}

.method-deadline {
  margin-top: 20px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.method-deadline span {
  display: block;
  color: var(--bengara-dark);
  font-size: 12px;
}

.method-deadline time {
  display: block;
}

.ticket-action {
  margin-top: 22px !important;
}

.ticket-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid var(--bengara-dark);
  color: var(--white);
  background: var(--bengara);
  font-weight: 800;
  text-decoration: none;
}

.ticket-button:hover,
.ticket-button:focus-visible {
  color: var(--bengara-dark);
  background: transparent;
}

.festival-section {
  background: var(--washi);
}

.festival-intro {
  margin: -18px 0 34px;
  font-size: 18px;
}

.schedule {
  border-top: 4px solid var(--ink);
  background: var(--paper);
}

.schedule-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.schedule-item > time {
  padding: 24px 18px;
  color: var(--indigo);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: 24px;
  font-weight: 700;
}

.schedule-item > div {
  padding: 20px 24px;
  border-left: 1px solid var(--line);
}

.schedule-item h3,
.schedule-item p {
  margin: 0;
}

.schedule-item h3 {
  font-size: 19px;
}

.schedule-item p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.schedule-item .schedule-label {
  margin-bottom: 2px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

.schedule-item.is-featured {
  border: 4px solid var(--bengara-dark);
  background: #f0e2c0;
}

.schedule-item.is-featured > time {
  color: var(--bengara-dark);
}

.schedule-item.is-featured > div {
  border-left-color: var(--bengara-dark);
}

.flyer-section {
  color: var(--paper);
  background: var(--indigo-dark);
}

.flyer-section .section-kicker {
  color: #e2bd68;
}

.flyer-guide {
  margin: -18px 0 32px;
  color: #c7ced2;
}

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 42px;
}

.flyer-grid figure {
  margin: 0;
}

.flyer-grid a {
  display: block;
  background: var(--white);
}

.flyer-grid img {
  width: 100%;
  aspect-ratio: 1241 / 1754;
  border: 8px solid var(--white);
  object-fit: contain;
}

.flyer-grid a:hover img,
.flyer-grid a:focus-visible img {
  border-color: #e2bd68;
}

.flyer-grid figcaption {
  margin-top: 9px;
  text-align: center;
}

.pdf-action {
  margin: 42px 0 0;
  text-align: center;
}

.pdf-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid #e2bd68;
  color: var(--indigo-dark);
  background: #e2bd68;
  font-weight: 800;
  text-decoration: none;
}

.pdf-link:hover,
.pdf-link:focus-visible {
  color: #e2bd68;
  background: transparent;
}

.access-section {
  background: var(--washi-deep);
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
}

.venue-name {
  margin: 0;
  color: var(--indigo-dark);
  font-size: 22px;
  font-weight: 900;
}

.access-section address {
  margin-top: 4px;
  font-style: normal;
}

.map-action {
  margin: 24px 0 0;
}

.map-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 2px solid var(--indigo);
  color: var(--paper);
  background: var(--indigo);
  font-weight: 800;
  text-decoration: none;
}

.map-link:hover,
.map-link:focus-visible {
  color: var(--indigo);
  background: transparent;
}

.access-routes {
  padding-top: 12px;
}

.access-routes h3 {
  margin: 0 0 14px;
  color: var(--bengara-dark);
  font-size: 18px;
}

.access-routes ul {
  margin: 0;
  padding-left: 1.25em;
}

.access-routes li + li {
  margin-top: 8px;
}

.parking-note {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-left: 5px solid var(--bengara);
  color: var(--paper);
  background: var(--indigo);
  font-weight: 700;
}

.contact-section {
  color: var(--paper);
  background: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.contact-section h2 {
  margin-bottom: 24px;
  font-size: 25px;
}

.organizers {
  margin: 0;
}

.organizers div {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid #57534c;
}

.organizers dt {
  color: #e2bd68;
  font-weight: 800;
}

.organizers dd {
  margin: 0;
}

.inquiry p {
  margin: 6px 0;
}

.contact-phone {
  font-size: 25px;
  font-weight: 900;
}

.inquiry a {
  color: #e2bd68;
  text-underline-offset: 4px;
}

.business-hours {
  margin-top: 20px !important;
  color: #cbc5bc;
  font-size: 13px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid #514c45;
  color: #bbb4aa;
  background: var(--ink);
  font-size: 12px;
}

.footer-inner {
  width: min(100% - 48px, var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  flex: 0 0 auto;
  color: var(--paper);
}

.mobile-break {
  display: none;
}

@media (max-width: 900px) {
  .workshop-layout,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .workshop-layout {
    gap: 44px;
  }

  .workshop-photo {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .access-layout {
    gap: 36px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    width: 100%;
    min-height: auto;
    display: block;
  }

  .site-name {
    display: block;
    padding: 11px 18px 8px;
    font-size: 14px;
  }

  .page-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #4f4b45;
    overflow: visible;
  }

  .page-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-right: 1px solid #4f4b45;
    border-bottom: 1px solid #4f4b45;
    font-size: 12px;
    text-align: center;
    white-space: normal;
  }

  .page-nav a:nth-child(even) {
    border-right: 0;
  }

  .intro-title {
    font-size: 42px;
  }

  .intro-subtitle {
    padding-right: 10px;
    font-size: 11px;
  }

  .hero-media img {
    width: 100%;
    max-height: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-inner,
  .footer-inner {
    width: min(100% - 32px, var(--content));
  }

  .section h2 {
    margin-bottom: 28px;
    font-size: 29px;
  }

  .story-inner .lead {
    font-size: 16px;
    line-height: 1.95;
  }

  .credits {
    display: grid;
    gap: 10px;
    margin: 30px 0 25px;
  }

  .credits div {
    grid-template-columns: 36px auto;
  }

  .credits dd {
    font-size: 19px;
  }

  .workshop-photo img {
    border-width: 5px;
  }

  .workshop-message {
    font-size: 17px;
    line-height: 1.95;
  }

  .mobile-break {
    display: block;
  }

  .info-list > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .info-list dt,
  .info-list dd {
    padding: 18px 14px;
  }

  .info-list dd {
    font-size: 16px;
  }

  .info-list dd strong {
    font-size: 23px;
  }

  .price-row dd strong {
    display: block;
    margin: 0;
    font-size: 34px;
  }

  .ticket-release {
    display: block;
    padding: 14px 16px;
    font-size: 17px;
  }

  .ticket-release span {
    display: block;
    width: fit-content;
    margin-bottom: 4px;
    padding: 0;
    border-right: 0;
    border-bottom: 2px solid var(--bengara);
  }

  .ticket-methods {
    grid-template-columns: 1fr;
  }

  .ticket-method {
    min-height: 0;
    padding: 25px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticket-method:last-child {
    border-bottom: 0;
  }

  .ticket-method .method-name {
    font-size: 24px;
  }

  .ticket-button {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .festival-intro,
  .flyer-guide {
    margin-top: -12px;
    font-size: 16px;
  }

  .schedule-item {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 96px;
  }

  .schedule-item > time {
    padding: 18px 10px;
    font-size: 19px;
  }

  .schedule-item > div {
    padding: 16px 13px;
  }

  .schedule-item h3 {
    font-size: 16px;
  }

  .schedule-item p {
    font-size: 12px;
  }

  .flyer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .flyer-grid img {
    border-width: 5px;
  }

  .pdf-action {
    margin-top: 34px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner a {
    display: inline-block;
    margin-top: 14px;
  }
}

@media (max-width: 360px) {
  .section h2 {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .show-intro .intro-layer,
  .show-intro .intro-content {
    animation-duration: 1ms;
  }
}
