/* Staff questionnaire — refined landing form */
:root {
  --enq-ink: #2a2226;
  --enq-ink-soft: #f5f5f5;
  --enq-paper: #ffffff;
  --enq-paper-deep: #f3f0ee;
  --enq-rose: #c47a86;
  --enq-rose-bright: #d98996;
  --enq-gold: #a8845c;
  --enq-text: #2a2226;
  --enq-muted: #6d6167;
  --enq-line: rgba(42, 34, 38, 0.12);
  --enq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --enq-content: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.enq-page {
  margin: 0;
  min-height: 100vh;
  width: 100% !important;
  max-width: 100% !important;
  color: var(--enq-text);
  background: #fff;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* SPサイトの750px固定レイアウトを本ページでは解除 */
body.enq-page .enq-shell,
body.enq-page .enq-form-section,
body.enq-page .enq-form-panel {
  max-width: 100%;
  box-sizing: border-box;
}

/* ロゴのみの簡易ヘッダー（メニューなし） */
body.enq-page > header.enq-brand-header,
.enq-brand-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: auto;
  width: 100%;
  max-width: 100%;
  background: #2567a3;
  padding: 10px 16px;
  box-sizing: border-box;
}

.enq-brand-header__link {
  display: inline-block;
  line-height: 0;
}

.enq-brand-header__logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(240px, 70vw);
  object-fit: contain;
}

body.enq-page > footer {
  position: relative;
  z-index: 2;
  background: #2567a3;
  color: #fff;
  text-align: center;
  padding: 24px 12px;
  margin-top: 0;
  height: auto;
  line-height: 1.5;
}

.enq-shell a {
  color: inherit;
}

.enq-shell {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

/* —— Hero —— */
.enq-hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: end;
  padding: 40px 20px 56px;
  background: #fff;
}

.enq-hero__inner {
  width: min(var(--enq-content), 100%);
  margin: 0 auto;
}

.enq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  opacity: 0;
  animation: enq-rise 0.9s var(--enq-ease) 0.15s forwards;
}

.enq-nav a,
.enq-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(42, 34, 38, 0.18);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--enq-text);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.25s var(--enq-ease), border-color 0.25s var(--enq-ease), color 0.25s var(--enq-ease);
}

.enq-nav a:hover {
  background: #fff;
  border-color: rgba(196, 122, 134, 0.55);
}

.enq-nav span.is-current {
  background: var(--enq-ink);
  border-color: var(--enq-ink);
  color: #fff;
}

.enq-hero__title {
  margin: 0 0 18px;
  max-width: none;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--enq-text);
  opacity: 0;
  animation: enq-rise 1s var(--enq-ease) 0.28s forwards;
}

.enq-hero__lead {
  margin: 0 0 28px;
  max-width: 28em;
  color: var(--enq-muted);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  opacity: 0;
  animation: enq-rise 1s var(--enq-ease) 0.4s forwards;
}

.enq-hero__point {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 34px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(196, 122, 134, 0.45);
  opacity: 0;
  animation: enq-rise 1s var(--enq-ease) 0.5s forwards;
}

.enq-hero__point-num {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--enq-rose);
  letter-spacing: 0.04em;
}

.enq-hero__point-txt {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--enq-text);
}

/* —— Form section —— */
.enq-form-section {
  position: relative;
  padding: 18px 20px 24px;
  background: #fff;
}

.enq-form-panel {
  width: min(var(--enq-content), 100%);
  margin: 0 auto;
  padding: 36px 28px 40px;
  background: #fff;
  color: var(--enq-text);
  border: 1px solid var(--enq-line);
  border-radius: 28px 28px 18px 18px;
  box-shadow: 0 12px 40px rgba(42, 34, 38, 0.06);
}

.enq-form-panel__head {
  margin-bottom: 28px;
  text-align: center;
}

.enq-form-panel__kicker {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--enq-rose);
}

.enq-form-panel__title {
  margin: 0 0 8px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.enq-form-panel__note {
  margin: 0;
  color: var(--enq-muted);
  font-size: 0.9rem;
}

.enq-alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--enq-rose);
  background: rgba(196, 122, 134, 0.1);
  color: #8a3d4a;
  font-size: 0.92rem;
}

.enq-field {
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--enq-ease), transform 0.7s var(--enq-ease);
}

.enq-field.is-visible {
  opacity: 1;
  transform: none;
}

.enq-field__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.enq-req {
  color: var(--enq-rose);
  font-size: 0.78rem;
  font-weight: 700;
}

.enq-input,
.enq-select,
.enq-textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--enq-line);
  border-radius: 10px;
  background: #fff;
  color: var(--enq-text);
  font-family: inherit;
  font-size: 15px !important;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.enq-input,
.enq-select {
  min-height: 42px;
  height: 42px;
  padding: 0 12px;
}

.enq-select {
  background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.enq-textarea {
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.enq-input:focus,
.enq-select:focus,
.enq-textarea:focus {
  outline: none;
  border-color: rgba(196, 122, 134, 0.7);
  box-shadow: 0 0 0 4px rgba(196, 122, 134, 0.14);
}

.enq-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.enq-tel .enq-input {
  flex: 1;
  text-align: center;
  padding: 0 6px;
}

.enq-tel__sep {
  color: var(--enq-muted);
}

.enq-tel #hidden_number {
  position: absolute;
  z-index: -1;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.enq-date {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.enq-date .enq-select {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 14px !important;
}

.enq-date__unit {
  color: var(--enq-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.enq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.enq-chip {
  position: relative;
  cursor: pointer;
}

.enq-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.enq-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--enq-line);
  border-radius: 999px;
  background: #fff;
  color: var(--enq-muted);
  font-size: 0.88rem;
  transition: all 0.2s var(--enq-ease);
}

.enq-chip input:checked + span {
  background: var(--enq-ink);
  border-color: var(--enq-ink);
  color: #fff;
}

.enq-chip:hover span {
  border-color: rgba(196, 122, 134, 0.55);
}

.enq-subfields {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--enq-paper-deep);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.35s var(--enq-ease), opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.enq-subfields.is-active {
  max-height: 220px;
  opacity: 1;
  transform: none;
  padding: 14px;
}

.enq-subfields label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--enq-muted);
}

.enq-actions {
  margin-top: 28px;
  text-align: center;
}

.enq-submit {
  appearance: none;
  border: 0;
  min-width: min(100%, 280px);
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(120deg, #2a2226, #161113);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 0.25s var(--enq-ease), box-shadow 0.25s var(--enq-ease);
  box-shadow: 0 12px 28px rgba(20, 15, 18, 0.28);
}

.enq-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 15, 18, 0.36);
}

label.error {
  display: block;
  margin-top: 6px;
  color: #b43b4d;
  font-size: 0.8rem;
}

/* —— Notes —— */
.enq-notes {
  width: min(var(--enq-content), calc(100% - 32px));
  margin: 0 auto 16px;
  padding-top: 8px;
  color: var(--enq-muted);
}

.enq-notes__title {
  margin: 0 0 14px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--enq-text);
}

.enq-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.enq-notes li {
  position: relative;
  padding: 0 0 10px 1em;
  font-size: 0.9rem;
  line-height: 1.7;
}

.enq-notes li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--enq-rose);
}

@keyframes enq-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .enq-hero {
    min-height: auto;
    padding: 32px 16px 36px;
  }

  .enq-hero__title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    white-space: nowrap;
  }

  .enq-hero__point {
    flex-wrap: wrap;
    width: 100%;
  }

  .enq-nav {
    gap: 8px;
  }

  .enq-nav a,
  .enq-nav span {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .enq-form-section {
    padding: 8px 12px 16px;
  }

  .enq-form-panel {
    padding: 24px 14px 28px;
    border-radius: 18px;
  }

  .enq-date {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .enq-date .enq-select {
    min-width: 0;
    flex: 1 1 0;
    height: 40px;
    min-height: 40px;
    padding: 0 22px 0 8px;
    font-size: 14px !important;
  }

  .enq-date__unit {
    font-size: 0.8rem;
  }

  .enq-tel {
    gap: 4px;
  }

  .enq-tel .enq-input {
    min-width: 0;
    height: 40px;
    min-height: 40px;
    font-size: 15px !important;
  }

  .enq-input,
  .enq-select,
  .enq-textarea {
    font-size: 15px !important;
  }

  .enq-input,
  .enq-select {
    height: 40px;
    min-height: 40px;
  }

  #sshop.enq-select {
    font-size: 14px !important;
  }

  .enq-chips {
    gap: 6px;
  }

  .enq-chip span {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .enq-submit {
    width: 100%;
    min-width: 0;
  }

  .enq-notes {
    width: calc(100% - 24px);
    margin-bottom: 12px;
  }
}
