:root {
  --bg: #fffdfc;
  --text: #4b4245;
  --muted: #7a6f73;
  --line: #eadfe3;
  --accent: #9a5c6e;
  --accent-hover: #864e5f;
  --soft: #f9ebef;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --ok: #027a48;
  --ok-bg: #ecfdf3;
  --radius: 16px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(75, 66, 69, 0.08);
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
}

a {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}

.badge-local {
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--soft);
  border-radius: var(--pill);
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
}

.preview-banner {
  background: #fff4e5;
  color: #8a4b08;
  border-bottom: 1px solid #f0d2a8;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.preview-banner[hidden] {
  display: none !important;
}

.hs-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
}

.hs-shell .hs-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-header-inner,
main,
.site-footer {
  width: min(640px, calc(100% - 2rem));
}

main {
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.hero {
  background: linear-gradient(135deg, var(--soft), #fffdfc 55%);
  border-radius: 24px;
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 4.5vw, 1.9rem);
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.alpha-recruit-intake-root {
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}

.intake-inline-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.req {
  color: var(--accent);
  font-weight: 700;
  margin-left: 0.2rem;
}

.hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7ccd1;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(154, 92, 110, 0.35);
  outline-offset: 2px;
}

.field.has-error input,
.field.has-error select {
  border-color: var(--danger);
  background: #fff8f7;
}

.error {
  margin: 0.4rem 0 0;
  color: var(--danger);
  font-size: 0.86rem;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.75rem;
  align-items: start;
  padding: 0.9rem;
  background: var(--soft);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
}

.consent-text {
  font-size: 0.9rem;
}

.consent-text a {
  color: var(--accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.turnstile-wrap {
  margin: 1rem 0 1.25rem;
  min-height: 65px;
}

.actions {
  display: grid;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: var(--pill);
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
}

.form-status[data-tone="error"] {
  color: var(--danger);
  background: var(--danger-bg);
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

.form-status[data-tone="info"] {
  color: var(--muted);
}

.complete {
  text-align: left;
}

.complete-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.complete h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
}

.complete p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.bookings-slot[hidden] {
  display: none !important;
}

.bookings-slot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .site-header-inner,
  main,
  .site-footer {
    width: min(720px, calc(100% - 3rem));
  }

  .hero,
  .panel {
    padding: 1.75rem;
  }
}
