:root {
  color-scheme: dark;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", serif;
  color: #f3eee2;
  background: #001a1a;
  line-height: 1.8;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #001a1a url('/contents/4x/アセット 6@4x.png') center / cover fixed; }
a { color: #d4bd7b; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid #e4d29d; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1 { margin: 28px 0 0; }
h1 img { width: min(300px, 100%); margin: auto; }
h2, p { margin: 0 0 12px; }
.cheki-wrap { width: min(100%, 900px); min-height: 100vh; margin: auto; padding: 28px 40px 40px; background: rgba(0, 12, 12, .92); }
.cheki-back { font-size: 14px; }
.cheki-divider { width: 200px; max-width: 70%; margin: 26px auto 36px; }
.cheki-introduction { display: flex; align-items: center; gap: 30px; margin-bottom: 32px; }
.cheki-nagia { width: 160px; flex: 0 0 160px; transform: scaleX(-1); }
.cheki-introduction p { font-size: 15px; }
.cheki-event { padding: 22px; border: 1px solid #7f724b; background: rgba(9, 35, 34, .8); }
.cheki-event-date { color: #d4bd7b; font-size: 20px; letter-spacing: .05em; }
.cheki-event h2 { font-size: clamp(19px, 4vw, 26px); overflow-wrap: anywhere; }
.cheki-event p { overflow-wrap: anywhere; }
.cheki-event p:last-child { margin-bottom: 0; }
.cheki-deadline { padding-top: 12px; border-top: 1px solid #435048; color: #e4d29d; }
.cheki-notice, .cheki-success, .cheki-error { padding: 16px; border: 1px solid #8c805b; background: #12352e; overflow-wrap: anywhere; }
.cheki-error { background: #35201d; border-color: #cb8172; }
.cheki-success { white-space: pre-line; }
fieldset { min-width: 0; margin: 28px 0 0; padding: 24px; border: 1px solid #55624e; }
legend { padding: 0 10px; color: #d4bd7b; }
.cheki-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
label { display: block; margin-bottom: 18px; }
label span { color: #bac8bd; font-size: 13px; }
input, textarea { display: block; width: 100%; min-width: 0; margin-top: 7px; padding: 12px; color: #f3eee2; background: #082b2a; border: 1px solid #627162; border-radius: 4px; font-size: 16px; }
textarea { min-height: 100px; resize: vertical; }
.cheki-member { max-width: 360px; margin: 25px auto; padding: 20px; text-align: center; border: 1px solid #7f724b; }
.cheki-member h2 { margin-bottom: 4px; font-size: 25px; letter-spacing: .12em; }
.cheki-counter { display: flex; justify-content: center; align-items: center; gap: 10px; }
.cheki-counter input { width: 100px; margin: 0; text-align: center; }
.cheki-counter button { width: 46px; height: 46px; flex: 0 0 46px; color: #f3eee2; background: #133b35; border: 1px solid #7f724b; border-radius: 4px; font-size: 22px; }
.cheki-totals { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0; border-top: 1px solid #55624e; border-bottom: 1px solid #55624e; }
.cheki-totals strong { font-size: 23px; }
.cheki-footnote { margin: 18px 0; font-size: 13px; color: #c1ccc1; overflow-wrap: anywhere; }
.cheki-submit { display: block; width: 100%; min-height: 52px; padding: 12px 18px; color: #071b17; background: #d4bd7b; border: 1px solid #d4bd7b; font-weight: bold; }
.cheki-submit:not(:disabled):hover { background: #e4d29d; }
.cheki-contact { margin: 28px 0 0; text-align: center; font-size: 14px; overflow-wrap: anywhere; }
.cheki-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 600px) {
  .cheki-wrap { padding: 20px 16px 32px; }
  .cheki-introduction { gap: 18px; align-items: flex-start; }
  .cheki-nagia { width: 88px; flex-basis: 88px; }
  .cheki-introduction p { font-size: 14px; }
  .cheki-event, fieldset { padding: 18px 14px; }
  .cheki-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 360px) {
  .cheki-introduction { flex-direction: column; }
  .cheki-nagia { width: 110px; align-self: center; }
}
