:root {
  --paper: #faf8f1;
  --card: #fffdf7;
  --ink: #213c34;
  --muted: #596b60;
  --line: #d4d7c8;
  --green: #244f42;
  --rust: #a7462c;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
a,
label.plan {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bc672a;
  outline-offset: 3px;
}
svg {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  flex-shrink: 0;
}
.wrap {
  max-width: 1176px;
  margin: auto;
  padding-inline: 32px;
}
header {
  border-bottom: 1px solid var(--line);
  background: #fffcf5;
}
.bar {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.45;
  letter-spacing: 0.07em;
}
.brand small,
.ticket-label small,
.section-head small,
.section-heading small,
.hero-caption,
.meta,
.spotno {
  display: block;
  font:
    700 0.75rem/1.4 "Avenir Next",
    Arial,
    sans-serif;
  letter-spacing: 0.16em;
}
.brand small {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.2em;
}
.brand-icon,
.ticket-icon {
  display: grid;
  place-items: center;
  color: #fff7df;
  background: var(--green);
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  outline: 1px solid var(--green);
  outline-offset: 2px;
}
.brand-icon svg {
  width: 30px;
  height: 30px;
}
.bar nav {
  display: flex;
  align-self: stretch;
  gap: 28px;
  margin-left: auto;
}
.bar nav a,
.demo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.bar nav a {
  border-bottom: 3px solid transparent;
  padding-top: 3px;
}
.bar nav a[aria-current] {
  border-color: var(--rust);
  color: var(--rust);
}
.demo-link {
  gap: 8px;
  border: 1px solid #cdbca3;
  border-radius: 30px;
  padding: 4px 13px;
  color: #775537;
}
.demo-link i {
  width: 7px;
  height: 7px;
  background: #a46c32;
  border-radius: 50%;
}
main {
  min-height: 65vh;
  padding-block: 28px 50px;
}
main:focus {
  outline: none;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid #cecaad;
  background: #eae2bc url(assets/kawara.jpg) center center/cover no-repeat;
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(255, 248, 222, 0.93),
    rgba(255, 248, 222, 0.8) 26%,
    rgba(255, 248, 222, 0.16) 52%,
    transparent 69%
  );
}
.hero-text {
  padding: 34px clamp(22px, 4.2vw, 60px) 32px;
}
.place {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.place svg {
  color: #964d32;
}
.hero h1 {
  font: 800 clamp(3.5rem, 6vw, 5.15rem) / 1.05 var(--serif);
  letter-spacing: 0.08em;
  margin: 13px 0;
}
.hero h1 span {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.hero p {
  line-height: 1.65;
  font-weight: 600;
  margin: 10px 0 20px;
}
.hero-caption {
  position: absolute;
  right: 21px;
  bottom: 15px;
  color: #fffdf2;
  text-shadow: 0 1px 5px #163b30;
  background: #244a37dc;
  padding: 3px 9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 20px;
  background: var(--card);
  border: 1px solid #a8b4a6;
  border-radius: 7px;
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}
.primary {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.primary:hover {
  background: #173c30;
}
.button:not(.primary):hover,
.filters button:hover,
.spot:hover {
  background: #f1f0e5;
}
.eventline {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 12px 4px 18px;
  font-size: 0.875rem;
  color: var(--muted);
}
.eventline span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ticket {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f0f1e5;
  border: 1px solid #cbd3bf;
  border-radius: 10px;
  padding: 22px 28px;
}
.ticket-icon {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  background: #dce4d2;
  color: var(--green);
}
.ticket-icon svg {
  width: 26px;
  height: 26px;
}
.ticket-label small,
.section-heading small,
.section-head small {
  color: var(--rust);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
}
.ticket-label h2 {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.ticket-numbers {
  margin-left: auto;
  white-space: nowrap;
}
.ticket-numbers b {
  font:
    700 2.75rem/1 Georgia,
    serif;
}
.ticket-numbers span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
}
.meter {
  width: 31%;
  padding-left: 24px;
  border-left: 1px dashed #b7c1ac;
}
.meter > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
}
.meter progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 7px;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #d5dcca;
  color: var(--green);
}
progress::-webkit-progress-bar {
  background: #d5dcca;
}
progress::-webkit-progress-value {
  background: var(--green);
}
progress::-moz-progress-bar {
  background: var(--green);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 28px 0 14px;
}
.section-head h2,
.section-heading h1 {
  font-size: 2rem;
  letter-spacing: 0.05em;
}
.textlink {
  font-size: 0.94rem;
  text-underline-offset: 5px;
  font-weight: 700;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.spot {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px 10px 16px;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.spotno {
  align-self: start;
  margin-left: 4px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 85px;
  height: 85px;
  border: 4px double var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transform: rotate(-7deg);
  line-height: 1;
  background: repeating-linear-gradient(
    110deg,
    transparent 0 3px,
    #ffffff40 3px 4px
  );
}
.seal small {
  font:
    800 0.57rem/1 Arial,
    sans-serif;
  letter-spacing: 0.19em;
}
.seal svg {
  width: 44px;
  height: 37px;
  margin: 2px 0;
}
.seal b {
  font: 800 0.7rem/1 var(--serif);
}
.seal-1 {
  border-radius: 15px;
  transform: rotate(5deg);
}
.seal-2 {
  border-radius: 44% 44% 20% 20%;
  transform: rotate(-4deg);
}
.seal-3 {
  border-radius: 45% 45% 10px 10px;
  transform: rotate(4deg);
}
.spot strong {
  font: 700 1.1rem var(--serif);
  margin-top: 6px;
}
.state {
  font-size: 0.78rem;
  color: #616c62;
  border: 1px solid #d2d5c7;
  border-radius: 20px;
  padding: 0 9px;
}
.acquired {
  color: #285540;
  background: #e4ecdb;
  border-color: #9ab19a;
}
.section-heading {
  margin: 8px 0 20px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(18px, 3vw, 32px);
  margin-bottom: 18px;
}
.panel h2,
legend {
  font: 700 1.35rem var(--serif);
  margin-bottom: 12px;
}
.panel p {
  margin: 10px 0;
  max-width: 55em;
}
.panel .actions,
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.filters {
  display: flex;
  gap: 8px;
  margin: 22px 0 16px;
}
.filters button {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  padding: 7px 16px;
}
.filters button[aria-pressed="true"] {
  background: var(--green);
  color: white;
}
.note,
.meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 14px 0;
}
.steps {
  margin: 0 0 22px;
  padding-left: 24px;
}
.steps li {
  padding: 4px 0 12px 6px;
}
.steps p {
  margin: 4px 0;
}
.field {
  display: block;
  font-weight: 700;
  margin: 14px 0;
}
.field select,
.field input {
  display: block;
  width: min(100%, 440px);
  margin: 6px 0;
  padding: 11px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
}
fieldset {
  padding: 0;
  margin: 0 0 20px;
  border: 0;
}
legend {
  padding: 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.plan {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
}
.plan:has(:checked) {
  background: #edf2e5;
  border-color: #71947c;
}
.plan input {
  accent-color: var(--green);
  margin: 0 8px 0 0;
}
.plan span,
.plan p {
  display: block;
  margin: 5px 0 0;
  font-size: 0.93rem;
}
.plan span {
  font-weight: 700;
}
.card-sheet figure {
  text-align: center;
  margin: 18px auto;
}
.card-sheet img {
  width: min(100%, 370px);
  display: block;
  margin: auto;
}
.card-sheet figcaption {
  font-weight: 700;
}
.card-sheet .actions {
  justify-content: center;
}
footer {
  display: flex;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}
footer span:first-child {
  font-weight: 700;
}
footer a {
  margin-left: auto;
  text-underline-offset: 3px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  padding: 40px 24px 30px;
  width: min(92%, 420px);
  text-align: center;
}
dialog::backdrop {
  background: #132f27a8;
}
.close {
  position: absolute;
  right: 10px;
  top: 8px;
  background: none;
  border: 0;
  font-size: 1.65rem;
  width: 40px;
}
.close:focus {
  outline-offset: -4px;
}
dialog h2 {
  font-size: 1.45rem;
}
dialog .button {
  margin-top: 20px;
}
@media (max-width: 740px) {
  .bar {
    flex-wrap: wrap;
    gap: 0 12px;
    min-height: auto;
    padding-top: 12px;
  }
  .brand {
    font-size: 1rem;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
  }
  .bar nav {
    order: 3;
    justify-content: space-around;
    width: 100%;
    gap: 12px;
    margin-top: 6px;
  }
  .bar nav a {
    padding: 7px;
  }
  .demo-link {
    margin-left: auto;
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  .wrap {
    padding-inline: 16px;
  }
  main {
    padding-top: 16px;
  }
  .hero-text {
    padding: 22px 20px 30px;
  }
  .hero {
    background-position: 60% center;
  }
  .hero:before {
    background: linear-gradient(
      90deg,
      #fff6dce8 0%,
      #fff6dca1 62%,
      #fff6dc22 100%
    );
  }
  .hero h1 {
    font-size: 3.8rem;
  }
  .hero h1 span {
    font-size: 1.6rem;
  }
  .hero-caption {
    right: 8px;
    bottom: 5px;
    font-size: 0.65rem;
  }
  .hero p {
    font-size: 0.93rem;
  }
  .eventline {
    gap: 4px 14px;
    padding: 8px 1px 14px;
  }
  .ticket {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 15px;
  }
  .ticket-label h2 {
    font-size: 1.1rem;
  }
  .ticket-numbers b {
    font-size: 2.25rem;
  }
  .meter {
    grid-column: 1/-1;
    width: auto;
    border: 0;
    padding: 2px 0 0;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .section-head h2,
  .section-heading h1 {
    font-size: 1.6rem;
  }
  .section-head {
    margin-top: 24px;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .spot {
    padding: 12px 8px;
  }
  .section-head .textlink {
    font-size: 0.85rem;
  }
  footer {
    flex-wrap: wrap;
    gap: 5px 15px;
  }
  footer a {
    margin-left: 0;
  }
  footer span:last-child {
    width: 100%;
  }
}
@media print {
  header,
  footer,
  .section-heading,
  .card-sheet .field,
  .card-sheet .actions {
    display: none;
  }
  .card-sheet {
    border: 0;
  }
  .card-sheet img {
    width: 135mm;
  }
  main.wrap {
    padding: 0;
  }
}

.login-panel {
  max-width: 36rem;
}
.login-panel .field input {
  font: inherit;
}
.login-panel #login-status:empty {
  margin: 0;
}
