body.events-page {
  color: #222023;
  background-color: #efeaf3;
  background-image: url("/img/page-bg.webp");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
}
body.events-page main {
  max-width: none;
  margin: 0;
}
body.events-page main > :first-child {
  margin-top: 0;
  padding-top: 1.25rem;
}
.events {
  box-sizing: border-box;
  width: min(calc(100% - 2.5rem), 960px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  position: relative;
  z-index: 1;
}
.events *,
.events *::before,
.events *::after {
  box-sizing: border-box;
}
.events__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.events__header {
  margin-bottom: 0;
}
.events__eyebrow {
  margin: 0;
  color: #b2a3b7;
  font-family: 'Jost', 'Century Gothic', 'Futura', 'Trebuchet MS', sans-serif;
  font-size: clamp(1.5rem, 2.1875vw, 2.625rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.1;
  white-space: nowrap;
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: -1;
  pointer-events: none;
}
.events__section,
.events__detail {
  margin: 0 0 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  position: relative;
  isolation: isolate;
}
.events__section::before,
.events__detail::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid #222023;
  background-color: rgba(255,255,255,0.78);
  clip-path: polygon(calc(1.25rem + 1px) -1px, calc(100% + 1px) -1px, calc(100% + 1px) calc(100% - 1.25rem - 1px), calc(100% - 1.25rem - 1px) calc(100% + 1px), -1px calc(100% + 1px), -1px calc(1.25rem + 1px));
  content: '';
}
.events__section::after,
.events__detail::after {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  bottom: -0.375rem;
  left: -0.375rem;
  z-index: -1;
  background-image: linear-gradient(to bottom right, transparent calc(50% - .5px), #3f3d42 calc(50% - .5px), #3f3d42 calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(to bottom right, transparent calc(50% - .5px), #3f3d42 calc(50% - .5px), #3f3d42 calc(50% + .5px), transparent calc(50% + .5px));
  background-position: left top, right bottom;
  background-size: 2rem 2rem, 2rem 2rem;
  background-repeat: no-repeat;
  pointer-events: none;
  content: '';
}
.events__title,
.events__section > h2,
.events__intro h3,
.events__detail-title {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-weight: 800;
}
.events__title,
.events__section > h2,
.events__intro h3,
.events__detail-title {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.1em 1em 0.2em calc(3px + .4em);
  position: relative;
  color: #222023;
  background-image: linear-gradient(#222023, #222023);
  background-repeat: no-repeat;
  background-position: calc(3px + .4em) 100%;
  background-size: calc(100% - calc(3px + .4em)) 2px;
}
.events__title::before,
.events__section > h2::before,
.events__intro h3::before,
.events__detail-title::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 1em;
  background: url("/img/heading-deco3.svg") no-repeat center/100% 100%;
  transform: translateY(-50%);
  content: '';
}
.events__title {
  padding: 0.15em 1em 0.2em calc(3px * 2 + .383em);
  background-position: calc(3px * 2 + .383em) 100%;
  background-size: calc(100% - calc(3px * 2 + .383em)) 2px;
}
.events__title::before {
  top: calc(50% - .5em);
  width: calc(3px * 2 + .133em);
  height: 1.466em;
  transform: none;
  background: url("/img/heading-deco3.svg") no-repeat right top/3px 1em, url("/img/heading-deco2.svg") no-repeat left bottom/3px 1em;
}
.events__section > h2::before {
  background-image: url("/img/heading-deco2.svg");
}
.events h4,
.events h5,
.events h6 {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-right: 1em;
  padding-bottom: 0.2em;
  background-image: linear-gradient(#222023, #222023);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
}
.events__title {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.events__title:last-child {
  margin-bottom: 0;
}
.events__intro {
  line-height: 1.9;
}
.events__intro:not(:last-child) {
  margin-bottom: 1.52em;
}
.events__intro p {
  margin: 0 0 0.75rem;
}
.events__intro p:last-child {
  margin-bottom: 0;
}
.events__deadline,
.events__prizes {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d9d0dc;
}
.events__deadline h3,
.events__deadline h4,
.events__prizes h3,
.events__prizes h4 {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-weight: 800;
  line-height: 1.5;
}
.events__deadline h3,
.events__prizes h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
}
.events__deadline h4,
.events__prizes h4 {
  margin: 1.25rem 0 0.25rem;
  color: #222023;
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.events__emphasis {
  color: #c0392b;
  font-weight: 700;
}
.events__prizes ul {
  margin: 0 0 0.75rem;
  padding-left: 1.5em;
}
.events__prizes-image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0.75rem 0 0;
}
.events__intro h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.5;
}
.events__intro h3:first-child {
  margin-top: 0;
}
.events__intro ul {
  margin: 0 0 0.75rem;
  padding-left: 1.5em;
}
.events__intro li + li {
  margin-top: 0.35rem;
}
.events__intro a,
.events__detail a,
.events__complete a {
  color: #6d4d79;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.events__intro a.events__host-button {
  color: #fff;
  text-decoration: none;
}
.events__intro a:focus-visible,
.events__detail a:focus-visible,
.events__complete a:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 3px;
}
.events__section > h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  text-align: left;
}
.events__noscript {
  margin: 0 0 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #c0392b;
  color: #7c251c;
  background: #fff7f5;
  line-height: 1.7;
}
.events__noscript a {
  color: inherit;
}
.events__host-button,
#apply-submit {
  padding: 0.7rem 2.5rem;
  border: 1px solid #282529;
  border-radius: 0.15rem;
  color: #fff;
  background: #282529;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.events__host-button:hover,
.events__host-button:focus-visible,
#apply-submit:hover,
#apply-submit:focus-visible {
  background: #4f3c55;
}
.events__host-button:focus-visible,
#apply-submit:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 3px;
}
.events__host-button {
  display: inline-block;
  margin-top: 1.25rem;
}
p > .events__host-button {
  margin-top: 0;
}
.events__download {
  text-align: center;
}
.events__schedule-status {
  margin: 1rem 0;
  text-align: center;
}
.events__schedule {
  width: calc(100% + clamp(1rem, 2.5vw, 1.5rem) * 2);
  margin-right: calc(clamp(1rem, 2.5vw, 1.5rem) * -1);
  margin-left: calc(clamp(1rem, 2.5vw, 1.5rem) * -1);
  border-collapse: collapse;
}
.events__schedule th,
.events__schedule td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #d9d0dc;
  text-align: left;
  vertical-align: top;
}
.events__schedule th:first-child,
.events__schedule td:first-child {
  padding-left: clamp(1rem, 2.5vw, 1.5rem);
}
.events__schedule th:last-child,
.events__schedule td:last-child {
  padding-right: clamp(1rem, 2.5vw, 1.5rem);
}
#schedule {
  padding-bottom: max(clamp(1rem, 2.5vw, 1.5rem), 1.25rem + .25rem);
}
.events__schedule th {
  color: #fff;
  background: #282529;
  font-weight: 700;
}
.events__schedule th button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.events__schedule th button:disabled {
  cursor: default;
}
.events__schedule th button:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 3px;
}
.events__schedule th:first-child,
.events__schedule td:first-child {
  white-space: nowrap;
}
.events__schedule td:nth-child(2),
.events__schedule td:nth-child(3) {
  overflow-wrap: anywhere;
}
.events__schedule td.events__schedule-empty {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  text-align: center;
  white-space: normal;
}
.events__schedule td a {
  color: #6d4d79;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.events__schedule td a:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 2px;
}
.events__sort-indicator {
  margin-left: 0.35rem;
  opacity: 0.35;
}
.events__sort-indicator.is-active {
  opacity: 1;
}
.events__details {
  display: grid;
  gap: 1.25rem;
}
.events__detail {
  margin: 0;
  scroll-margin-top: 1rem;
}
.events__detail-title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.events__detail-list {
  margin: 0;
}
.events__detail-list dt {
  color: #4f3c55;
  font-weight: 700;
  line-height: 1.7;
}
.events__detail-list dd {
  min-width: 0;
  margin: 0 0 0.8rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.events__detail-comment {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d9d0dc;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.events__back-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: right;
}
.events__form > dl {
  margin: 0;
}
.events__form > dl > dt {
  margin: 0;
  color: #4f3c55;
  font-weight: 700;
  line-height: 1.7;
}
.events__form > dl > dd {
  min-width: 0;
  margin: 0 0 1rem;
  line-height: 1.7;
}
.events__required {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.05rem 0.35rem;
  border-radius: 0.2rem;
  color: #fff;
  background: #924fb6;
  font-family: 'Jost', 'Noto Sans JP', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  vertical-align: 0.1em;
}
.events__visibility {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.05rem 0.35rem;
  border: 1px solid #3f3d42;
  border-radius: 0.2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  vertical-align: 0.1em;
  white-space: nowrap;
}
.events__visibility--public {
  color: #fff;
  background: #3f3d42;
}
.events__visibility--private {
  border-color: #b9adbd;
  color: #5b4e60;
  background: #fff;
}
.events__form-legend {
  margin: 0 0 1.25rem;
  padding: 0;
  color: #5b4e60;
  font-size: 0.9rem;
  line-height: 1.8;
  list-style: none;
}
.events__form-legend li {
  display: flex;
  align-items: baseline;
}
.events__form-legend .events__required,
.events__form-legend .events__visibility {
  flex: none;
  min-width: 3.4rem;
  margin: 0 0.6rem 0 0;
  text-align: center;
}
.events__example-button {
  padding: 0.7rem 1.5rem;
  border: 1px solid #282529;
  border-radius: 0.15rem;
  color: #fff;
  background: #282529;
  font: inherit;
  cursor: pointer;
}
.events__example-button:hover,
.events__example-button:focus-visible {
  background: #4f3c55;
}
.events__example-button:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 3px;
}
.events__example-dialog {
  width: calc(100% - 2rem);
  max-width: 64rem;
  max-height: calc(100% - 2rem);
  padding: 0 1.25rem 1.25rem;
  border: 1px solid #282529;
  border-radius: 0.15rem;
  color: #222023;
  background: #fff;
  overflow-y: auto;
}
.events__example-dialog::backdrop {
  background: rgba(20,16,22,0.7);
}
.events__example-dialog-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0.75rem;
  background: #fff;
}
.events__example-dialog-header h3 {
  margin: 0;
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 800;
}
.events__example-close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid #d9d0dc;
  border-radius: 0.15rem;
  color: #222023;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.events__example-close:hover,
.events__example-close:focus-visible {
  background: #f3eef5;
}
.events__example-close:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 2px;
}
.events__example-figure {
  margin: 0 0 1.5rem;
}
.events__example-figure:last-child {
  margin-bottom: 0;
}
.events__example-figure figcaption {
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.events__example-figure img {
  display: block;
  width: 100%;
  max-width: 1003px;
  height: auto;
  border: 1px solid #d9d0dc;
}
.events__form input[type='text'],
.events__form input[type='email'],
.events__form input[type='date'],
.events__form input[type='time'],
.events__form input[type='number'],
.events__form select,
.events__form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d9d0dc;
  border-radius: 0.15rem;
  background: #fff;
  color: #222023;
  font: inherit;
  line-height: 1.5;
}
.events__form input[type='text'],
.events__form input[type='email'],
.events__form input[type='date'],
.events__form input[type='time'],
.events__form input[type='number'],
.events__form select {
  min-height: 2.65rem;
  padding: 0.45rem 0.6rem;
}
.events__form textarea {
  min-height: 8em;
  padding: 0.55rem 0.6rem;
  resize: vertical;
}
.events__form input:focus-visible,
.events__form select:focus-visible,
.events__form textarea:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 2px;
}
.address-group {
  min-width: 0;
  margin: 0;
}
.address-group .zip-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}
.address-group .zip-row input {
  flex: 1 1 auto;
}
.address-group > input:not([type='hidden']) + input:not([type='hidden']) {
  margin-top: 0.5rem;
}
.address-group > .field-error + input:not([type='hidden']) {
  margin-top: 0.5rem;
}
.events__field-note {
  margin: 0.45rem 0 0;
  color: #5b4e60;
  font-size: 0.85rem;
  line-height: 1.6;
}
.events__form .is-invalid {
  border-color: #c0392b;
}
.events__form input.is-invalid,
.events__form select.is-invalid,
.events__form textarea.is-invalid {
  outline-color: #c0392b;
}
.field-error {
  margin: 0.35rem 0 0;
  color: #c0392b;
  font-size: 0.86rem;
  line-height: 1.5;
}
.events__form-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  margin: 1.5rem 0 0;
}
#apply-submit {
  grid-column: 2;
}
.events__form-actions .events__example-button {
  grid-column: 3;
  justify-self: end;
}
@media (max-width: 600px) {
  .events__form-actions {
    grid-template-columns: auto;
    justify-content: center;
    row-gap: 0.75rem;
  }
  #apply-submit,
  .events__form-actions .events__example-button {
    grid-column: 1;
    justify-self: center;
  }
}
#apply-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.events__form-status {
  margin: 1rem 0 0;
  color: #c0392b;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}
.events__complete {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #924fb6;
  background: rgba(255,255,255,0.92);
  color: #4f3c55;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}
.events__complete p {
  margin: 0 0 0.8rem;
}
.events__complete p:last-child {
  margin-bottom: 0;
}
.events__complete p:not(:first-child) {
  font-size: 1rem;
  font-weight: 400;
}
.events__complete:focus-visible {
  outline: 2px solid #924fb6;
  outline-offset: 4px;
}
.events__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.events__home-link {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border: 1px solid #222023;
  color: #222023;
  font-family: Jost, 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.events__home-link:hover,
.events__home-link:focus-visible {
  color: #fff;
  background: #222023;
}
.events__home-link:focus-visible {
  outline: 2px solid #6d4d79;
  outline-offset: 4px;
}
@media (min-width: 720px) {
  .events__form > dl {
    display: grid;
    grid-template-columns: 14em minmax(0, 1fr);
    column-gap: 1.25rem;
    row-gap: 0.8rem;
  }
  .events__form > dl > dt {
    grid-column: 1;
  }
  .events__form > dl > dd {
    grid-column: 2;
    margin-bottom: 0;
  }
  .events__detail-list {
    display: grid;
    grid-template-columns: 7em minmax(0, 1fr);
    column-gap: 1.25rem;
    row-gap: 0.5rem;
  }
  .events__detail-list dt {
    grid-column: 1;
  }
  .events__detail-list dd {
    grid-column: 2;
    margin-bottom: 0;
  }
}
@media (max-width: 719px) {
  .events__form > dl > dt {
    margin-top: 0.45rem;
  }
}
@media (max-width: 600px) {
  .events {
    width: min(calc(100% - 1.5rem), 960px);
  }
  .events__schedule th,
  .events__schedule td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}
