:root {
  --primary: #42d0c4;
  --dark: #00584f;
  --mint: #d8f5f1;
  --ink: #212b36;
  --muted: #777;
  --line: #e6e6e6;
  --paper: #fff;
  --bg: #f7f8f6;
  --reserve: #8bd29f;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #08b9aa;
  outline-offset: 4px;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  border: 0;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}
.skip {
  position: fixed;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 8px;
}
.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.3vw;
  background: white;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
}
.brand img {
  width: 108px;
  height: 34px;
  object-fit: contain;
}
.brand span {
  border-left: 1px solid #ddd;
  padding-left: 22px;
  font-size: 13px;
  color: #66716d;
  letter-spacing: 0.1em;
}
.demo-label {
  font-size: 12px;
  color: #65716c;
  letter-spacing: 0.07em;
  display: flex;
  gap: 9px;
  align-items: center;
}
.demo-label i {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.reset {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 12px;
  background: white;
}
.reset:hover {
  background: var(--mint);
}
.journey {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 22px 4vw 20px;
  background: #fff;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  position: relative;
  padding: 8px 6px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #7c8480;
}
.step-number {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid #d9e2dd;
  font-size: 12px;
  flex-shrink: 0;
}
.step.active {
  color: var(--dark);
}
.step.active .step-number {
  color: white;
  background: var(--dark);
  border-color: var(--dark);
}
.step.active:after {
  content: "";
  position: absolute;
  bottom: -20px;
  height: 3px;
  background: var(--primary);
  left: 0;
  right: 0;
}
.step.visited .step-number {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--dark);
}
.step small {
  font-size: 9px;
  font-weight: 400;
}
.workspace {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 770px;
}
.guide {
  padding: 49px 30px 35px 42px;
  border-right: 1px solid #e1e7e1;
  background: #f7f8f6;
}
.kicker {
  font-size: 10px;
  letter-spacing: 0.17em;
  color: #6a8b7b;
  font-weight: 700;
}
.guide .eyebrow {
  font-size: 12px;
  color: var(--dark);
  margin: 22px 0 10px;
}
.guide h1 {
  font-size: 29px;
  line-height: 1.65;
  letter-spacing: 0.035em;
  white-space: pre-line;
}
.guide .description {
  font-size: 13px;
  line-height: 2.05;
  color: #637068;
  margin: 19px 0 22px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  counter-reset: action;
}
.checklist li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #637068;
}
.checklist li:before {
  counter-increment: action;
  content: counter(action);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: #e7ece5;
  border-radius: 50%;
  color: #758271;
  font-size: 11px;
}
.checklist li.done {
  color: var(--dark);
}
.checklist li.done:before {
  content: "✓";
  background: var(--mint);
  color: var(--dark);
}
.benefit {
  padding: 18px;
  border-left: 2px solid var(--primary);
  background: #edf3ed;
  font-size: 12px;
  line-height: 1.9;
}
.benefit strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  color: #5b7a69;
}
.qa {
  margin-top: 30px;
}
.qa > p {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #77827b;
  margin-bottom: 8px;
}
.qa details {
  border-bottom: 1px solid #e0e6df;
  font-size: 12px;
}
.qa summary {
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.qa summary:after {
  content: "＋";
  color: #77827b;
}
.qa details[open] summary:after {
  content: "−";
}
.qa details p {
  padding: 0 0 14px;
  line-height: 1.95;
  color: #69756c;
}
.experience {
  min-width: 0;
  padding: 26px 32px 20px;
  background: radial-gradient(ellipse at 50% 40%, #eef3ec 0, #f7f8f6 68%);
}
.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto 22px;
}
.view-switch {
  display: flex;
  padding: 4px;
  border-radius: 9px;
  background: #e8ede6;
  gap: 3px;
}
.view-switch button {
  font-size: 12px;
  padding: 9px 20px;
  border-radius: 6px;
  color: #647267;
}
.view-switch button.active {
  background: #fff;
  box-shadow: 0 2px 5px #25392b0a;
  color: var(--dark);
  font-weight: 600;
}
.stage-caption {
  font-size: 11px;
  color: #7a867d;
  display: flex;
  align-items: center;
  gap: 7px;
}
.stage-caption:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #91ad94;
  border-radius: 50%;
}
.stage {
  min-height: 650px;
  outline: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.phone {
  width: 354px;
  height: 664px;
  border: 7px solid #2c332f;
  border-radius: 43px;
  background: #fff;
  box-shadow:
    0 24px 50px #2b42321a,
    0 5px 10px #25392b10;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.phone-status {
  height: 31px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 21px 0;
  display: flex;
  justify-content: space-between;
  position: relative;
  background: #f5f5f4;
}
.phone-status:after {
  content: "";
  position: absolute;
  left: calc(50% - 41px);
  top: 0;
  width: 82px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  background: #2c332f;
}
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  flex-shrink: 0;
  background: #f5f5f4;
  border-bottom: 1px solid #dfe3df;
  height: 53px;
}
.phone-header strong {
  font-size: 14px;
  letter-spacing: 0.03em;
}
.phone-header button {
  padding: 0 4px;
  font-size: 17px;
}
.phone-screen {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-width: thin;
}
.chat {
  background: #a8bdd3;
  padding: 15px 13px 22px;
  min-height: 100%;
}
.date-pill {
  display: table;
  margin: 0 auto 19px;
  padding: 3px 12px;
  font-size: 10px;
  border-radius: 20px;
  background: #6f8ba64d;
  color: white;
}
.message-label {
  font-size: 10px;
  margin: 0 0 5px 4px;
  color: #314b62;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-avatar {
  background: #f6f2e9;
  border: 1px solid #ece5d9;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  font-family: Georgia, serif;
  color: #69775e;
}
.flex-card {
  background: white;
  border-radius: 13px;
  overflow: hidden;
  max-width: 282px;
  box-shadow: 0 1px 2px #25392b0d;
}
.flex-card .hero {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.flex-body {
  padding: 20px 21px 14px;
}
.flex-body .salon-name {
  color: #08b9aa;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flex-body h2 {
  white-space: pre-line;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.flex-body > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin-top: 12px;
  white-space: pre-line;
}
.flex-footer {
  padding: 0 14px 15px;
}
.primary,
.secondary {
  width: 100%;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.primary {
  background: var(--primary);
  color: #fff;
}
.primary:hover {
  background: #08b9aa;
}
.secondary {
  background: #f2f2f2;
  color: var(--ink);
  border: 1px solid #e6e6e6;
}
.primary.dark {
  background: var(--dark);
}
.card-head {
  background: var(--mint);
  color: var(--dark);
  padding: 18px 15px;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
}
.chat .flex-card + .flex-card {
  margin-top: 15px;
}
.answer-box {
  background: #f2f2f2;
  border-radius: 12px;
  margin: 14px 0;
  padding: 16px;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-line;
}
.chat-time {
  text-align: left;
  font-size: 9px;
  color: #eaf2fb;
  margin: 5px 0 15px 5px;
}
.composer {
  padding: 9px 12px;
  background: #f7f7f7;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 19px;
  flex-shrink: 0;
  color: #717a73;
}
.composer span:nth-child(2) {
  background: #e9ece8;
  border-radius: 15px;
  flex: 1;
  color: #92998f;
  font-size: 11px;
  padding: 5px 12px;
}
.phone-home {
  height: 14px;
  flex-shrink: 0;
  background: #f7f7f7;
}
.phone-home:after {
  content: "";
  display: block;
  width: 95px;
  height: 4px;
  border-radius: 4px;
  background: #222;
  margin: 4px auto;
}
.qr-screen {
  padding: 35px 24px;
  text-align: center;
  min-height: 100%;
  background: linear-gradient(#fff 60%, #f1f7f0);
}
.salon-wordmark {
  font:
    italic 52px Georgia,
    serif;
  color: #687760;
}
.qr-screen .salon-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #7b857a;
  margin: 5px 0 25px;
}
.qr-screen h2 {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.qr-screen p {
  font-size: 12px;
  color: #777;
  line-height: 1.9;
}
.qr-illustration {
  margin: 22px auto 9px;
  width: 137px;
  height: 137px;
  display: grid;
  place-items: center;
  position: relative;
  background: white;
  padding: 9px;
  border: 1px solid #e2e8df;
  border-radius: 8px;
}
.qr-illustration svg {
  width: 115px;
  height: 115px;
}
.qr-note {
  font-size: 9px !important;
  margin-bottom: 20px;
  color: #899084 !important;
}
.line-add {
  background: #06c755;
  color: white;
}
.form-page {
  padding: 22px 18px 28px;
}
.form-brand {
  text-align: center;
  color: #536b5d;
  font:
    italic 23px Georgia,
    serif;
  margin-bottom: 4px;
}
.form-page h2 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 7px;
}
.form-hint {
  font-size: 11px;
  text-align: center;
  line-height: 1.8;
  color: #777;
  margin-bottom: 23px;
}
.form-hint span {
  display: inline-block;
  background: #edf7f2;
  border-radius: 4px;
  color: var(--dark);
  padding: 3px 8px;
  margin-top: 7px;
}
.field {
  display: block;
  margin: 17px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}
.field input,
.field select {
  width: 100%;
  height: 45px;
  border: 1px solid #d9ded9;
  border-radius: 8px;
  background: #fff;
  color: #34443a;
  padding: 10px 11px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
}
.field select {
  font-size: 12px;
}
.field .required {
  background: var(--mint);
  padding: 2px 6px;
  border-radius: 9px;
  font-size: 9px;
  color: var(--dark);
  margin-left: 5px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-row .field {
  margin: 0;
}
.file-placeholder {
  border: 1px dashed #ccc;
  padding: 16px;
  font-weight: 400;
  color: #888;
  border-radius: 8px;
  margin-top: 8px;
}
.booking-progress {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 9px;
  margin-bottom: 22px;
  color: #888;
}
.booking-progress span {
  border-bottom: 2px solid #ddd;
  padding-bottom: 7px;
  flex: 1;
  text-align: center;
}
.booking-progress .active {
  border-color: var(--primary);
  color: var(--dark);
}
.menu-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 3px 13px #212b3608;
  padding: 16px;
  margin: 15px 0;
  text-align: left;
  width: 100%;
  background: white;
}
.menu-card:hover {
  border-color: var(--primary);
  background: #f8fdfb;
}
.menu-card .category {
  font-size: 9px;
  background: #f2f2f2;
  padding: 3px 6px;
  color: #777;
  display: table;
  margin-bottom: 10px;
}
.menu-card strong {
  font-size: 15px;
  display: block;
  line-height: 1.8;
}
.menu-card .price {
  display: block;
  margin: 8px 0;
  color: #657367;
  font-size: 14px;
}
.menu-card p {
  font-size: 11px;
  color: #777;
  line-height: 1.8;
}
.staff-avatar {
  height: 100px;
  margin: -16px -16px 15px;
  display: grid;
  place-items: center;
  background: #e5ebe1;
  color: #8a9983;
  border-radius: 16px 16px 0 0;
  font:
    40px Georgia,
    serif;
}
.booking-summary {
  font-size: 12px;
  line-height: 1.9;
  padding: 13px 15px;
  background: #f2f2f2;
  border-radius: 12px;
  margin: 15px 0;
}
.booking-summary strong {
  font-size: 18px;
  display: block;
  margin: 5px 0;
}
.booking-summary small {
  font-size: 11px;
  color: #777;
}
.time-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: center;
  margin: 18px 0;
}
.time-table th {
  padding: 9px 3px;
  font-weight: 500;
  color: #777;
  background: #f7f8f6;
}
.time-table td {
  padding: 7px 2px;
  border-bottom: 1px solid #eee;
}
.time-table button {
  width: 100%;
  padding: 7px;
  color: #00584f;
  border-radius: 4px;
  background: var(--mint);
  font-size: 12px;
}
.time-table button:disabled {
  background: #f2f2f2;
  color: #aaa;
}
.back-link {
  font-size: 11px;
  color: #777;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 0;
  margin-top: 7px;
}
.reminder-tools {
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.reminder-tools button {
  font-size: 11px;
  border: 1px solid #d5dfd3;
  padding: 7px 11px;
  background: white;
  border-radius: 20px;
}
.reminder-tools .active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}
.stage-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.stage-bottom {
  max-width: 850px;
  margin: 25px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #dfe6db;
  padding-top: 18px;
}
.stage-bottom p {
  font-size: 11px;
  color: #74806f;
}
.stage-bottom button {
  font-size: 12px;
  color: var(--dark);
  font-weight: 600;
  padding: 8px 0 8px 15px;
  white-space: nowrap;
}
.pending {
  text-align: center;
  padding: 100px 20px;
}
.pending .big-number {
  font:
    90px Georgia,
    serif;
  color: #c7dcd0;
}
.pending h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.pending p {
  color: #777;
  font-size: 13px;
  margin-bottom: 25px;
}
.pending button {
  max-width: 240px;
}
.site-footer {
  max-width: 1500px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 19px 42px;
  color: #899183;
  font-size: 10px;
  letter-spacing: 0.03em;
  border-top: 1px solid #e3e7df;
}
.salon-mode .workspace {
  display: block;
}
.salon-mode .guide {
  padding: 22px 42px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 270px 1fr 300px;
  gap: 30px;
  align-items: center;
}
.salon-mode .guide h1 {
  font-size: 21px;
  white-space: normal;
  line-height: 1.5;
}
.salon-mode .guide .eyebrow {
  margin: 0 0 4px;
}
.salon-mode .guide .kicker,
.salon-mode .guide .checklist,
.salon-mode .guide .qa {
  display: none;
}
.salon-mode .guide .description {
  margin: 0;
}
.salon-mode .experience {
  padding: 22px 42px;
}
.salon-mode .stage-toolbar {
  max-width: none;
}
.salon-mode .stage {
  min-height: 580px;
  display: block;
}
.salon {
  background: #fff;
  border: 1px solid #dfe5df;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 16px 42px #31422d0c;
  width: 100%;
}
.salon-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 21px;
  border-bottom: 1px solid var(--line);
  height: 64px;
}
.salon-top img {
  width: 90px;
  max-height: 28px;
}
.salon-top .shop-name {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.salon-layout {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  min-height: 490px;
}
.salon-nav {
  padding: 23px 12px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.salon-nav span {
  padding: 11px 15px;
  font-size: 12px;
  border-radius: 7px;
  color: #777;
  display: flex;
  gap: 12px;
}
.salon-nav span.active {
  background: var(--mint);
  color: var(--dark);
  font-weight: 600;
}
.salon-nav .nav-foot {
  margin-top: auto;
  font-size: 10px;
  color: #aaa;
}
.salon-main {
  padding: 26px;
  min-width: 0;
  background: #fbfbfb;
}
.salon-main h2 {
  font-size: 21px;
  margin-bottom: 6px;
}
.salon-main .sub {
  font-size: 12px;
  color: #888;
}
.success {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #eaf8f0;
  color: #246544;
  border: 1px solid #d6ebdd;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 12px;
  margin: 20px 0;
}
.client-split {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  margin-top: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 320px;
  overflow: hidden;
}
.client-list {
  border-right: 1px solid var(--line);
}
.search {
  padding: 13px;
  color: #aaa;
  border-bottom: 1px solid #eee;
  font-size: 12px;
}
.client-item {
  padding: 17px 13px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 11px;
}
.client-item.active {
  background: #eaf9f5;
}
.avatar {
  width: 39px;
  height: 39px;
  background: #e4ece1;
  color: #76886c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}
.client-info {
  flex: 1;
  min-width: 0;
}
.client-info strong {
  font-size: 13px;
  font-weight: 500;
}
.client-info p {
  font-size: 11px;
  color: #777;
  margin-top: 4px;
}
.client-info small {
  font-size: 10px;
  color: #777;
}
.client-info .badge {
  float: right;
  background: var(--primary);
  border-radius: 20px;
  color: white;
  padding: 0 5px;
  font-size: 10px;
}
.client-detail {
  padding: 28px;
}
.client-detail h3 {
  font-size: 19px;
}
.client-detail p {
  font-size: 12px;
  color: #777;
  margin: 15px 0;
  line-height: 2;
}
.profile-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  font-size: 12px;
  margin-top: 22px;
}
.profile-grid dt {
  color: #888;
}
.profile-grid dd {
  margin: 0;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
  font-size: 14px;
  align-items: center;
}
.calendar-toolbar span {
  font-size: 11px;
  color: #777;
}
.calendar-scroll {
  overflow-x: auto;
}
.calendar {
  min-width: 720px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  overflow: hidden;
}
.calendar-row {
  display: grid;
  grid-template-columns: 110px repeat(10, minmax(57px, 1fr));
  min-height: 63px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.calendar-row:last-child {
  border-bottom: 0;
}
.calendar-row > span {
  padding: 18px 7px;
  font-size: 11px;
  border-right: 1px solid var(--line);
}
.calendar-row.header {
  min-height: 34px;
  background: #f2f2f2;
}
.calendar-row.header > span {
  padding: 8px;
  text-align: center;
}
.calendar-row .shift-cell {
  background: #edf9f6;
  border-top: 4px solid var(--primary);
}
.reserve-event {
  position: absolute;
  left: calc(110px + (100% - 110px) * var(--offset) / 600);
  top: 10px;
  width: calc((100% - 110px) * var(--duration) / 600);
  height: 43px;
  border-radius: 4px;
  background: var(--reserve);
  text-align: left;
  padding: 5px 8px;
  color: white;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  z-index: 1;
}
.reserve-event strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reserve-event:hover {
  filter: brightness(0.94);
}
.shift-key {
  font-size: 11px;
  color: #777;
  margin: 13px 0;
}
.shift-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  margin: 0 5px 0 15px;
}
.sync-diagram {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.sync-box {
  flex: 1;
  font-size: 12px;
  line-height: 1.8;
}
.sync-box strong {
  font-size: 14px;
  display: block;
  color: var(--dark);
}
.sync-arrow {
  color: #08b9aa;
  font-size: 23px;
}
.salonboard {
  border: 1px solid #b9c4ce;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
  background: #fff;
}
.sb-header {
  background: #34485a;
  color: #fff;
  padding: 9px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.sb-header b {
  font-size: 17px;
  letter-spacing: 0.05em;
}
.sb-tabs {
  display: flex;
  gap: 15px;
  background: #e6edf2;
  font-size: 11px;
  padding: 10px 15px;
  border-bottom: 2px solid #6b849a;
}
.sb-body {
  padding: 12px;
}
.sb-body .calendar-row .reserve-event {
  background: #f5da94;
  color: #5c4c21;
}
.reference-note {
  font-size: 10px;
  color: #947b4d;
  margin-top: 7px;
}
.detail-panel {
  max-width: 740px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 24px;
  margin: 20px auto;
}
.detail-panel h3 {
  font-size: 16px;
  margin: 18px 0 10px;
}
.detail-panel .button-row {
  display: flex;
  gap: 10px;
  margin: 23px 0;
}
.detail-panel hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.detail-panel .answer {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.detail-panel .answer strong {
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
}
.karte-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 23px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  margin-top: 22px;
}
.karte-item strong {
  display: block;
  font-size: 16px;
}
.karte-item small {
  color: #888;
  font-size: 11px;
}
.empty {
  padding: 60px 20px;
  text-align: center;
  color: #777;
  font-size: 13px;
}
.empty button {
  display: block;
  max-width: 240px;
  margin: 20px auto;
}
.toast-show {
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
}
#toast {
  position: fixed;
  z-index: 80;
  bottom: 24px;
  left: 50%;
  background: #173e32;
  color: #fff;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, 15px);
  transition: 0.2s;
  pointer-events: none;
  max-width: 90vw;
  box-shadow: 0 8px 20px #0002;
}
.outgoing {
  background: #8fe776;
  padding: 10px 14px;
  border-radius: 13px;
  font-size: 12px;
  width: fit-content;
  margin: 15px 0 15px auto;
  max-width: 85%;
}
.rich-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fcfaf4;
  border-top: 1px solid #e1ddd0;
  margin-top: 20px;
}
.rich-placeholder button {
  padding: 15px 4px;
  border-right: 1px solid #e7e3d8;
  font-size: 10px;
  color: #6f7d68;
}
.rich-placeholder b {
  display: block;
  font-size: 20px;
  margin-bottom: 3px;
}
.provisional {
  font-size: 9px;
  text-align: center;
  color: #7c8d8d;
  padding: 6px;
}
.promotion-card {
  margin-top: 14px;
}
.promotion-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.promotion-card p {
  font-size: 12px;
  color: #555;
  line-height: 1.9;
}
.notice-time {
  color: #fff;
  font-size: 10px;
  text-align: center;
  margin-bottom: 10px;
}
@media (min-width: 1500px) {
  .guide {
    padding-left: 45px;
  }
  .workspace {
    grid-template-columns: 340px minmax(0, 1fr);
  }
}
@media (max-width: 1100px) {
  .step {
    gap: 6px;
    font-size: 10px;
  }
  .step-number {
    width: 25px;
    height: 25px;
  }
  .workspace {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .guide {
    padding: 35px 24px;
  }
  .guide h1 {
    font-size: 25px;
  }
  .experience {
    padding: 23px 20px;
  }
  .stage-caption {
    display: none;
  }
  .salon-mode .guide {
    grid-template-columns: 220px 1fr;
  }
  .salon-mode .benefit {
    display: none;
  }
  .salon-mode .experience {
    padding: 20px;
  }
  .client-split {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }
  .brand {
    gap: 12px;
  }
  .brand img {
    width: 83px;
    height: 27px;
  }
  .brand span {
    font-size: 10px;
    padding-left: 12px;
  }
  .demo-label {
    display: none;
  }
  .reset {
    padding: 7px 10px;
  }
  .journey {
    display: flex;
    overflow-x: auto;
    padding: 12px 15px;
    gap: 9px;
    scrollbar-width: thin;
  }
  .step {
    font-size: 11px;
    gap: 7px;
    padding: 5px 5px;
    flex-shrink: 0;
  }
  .step-number {
    width: 25px;
    height: 25px;
  }
  .step.active:after {
    bottom: -12px;
  }
  .step small {
    display: none;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .guide {
    padding: 25px 23px 20px;
    border: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .guide .intro {
    grid-column: 1/-1;
  }
  .kicker {
    font-size: 9px;
  }
  .guide .eyebrow {
    margin: 10px 0 4px;
    font-size: 11px;
  }
  .guide h1 {
    font-size: 25px;
    line-height: 1.6;
    white-space: normal;
    letter-spacing: 0.02em;
  }
  .guide .description {
    font-size: 12px;
    line-height: 1.95;
    margin: 10px 0 0;
  }
  .checklist,
  .benefit {
    display: none;
  }
  .qa {
    grid-column: 1/-1;
    margin-top: 12px;
  }
  .qa > p {
    display: none;
  }
  .qa details {
    font-size: 11px;
  }
  .qa summary {
    padding: 10px 0;
  }
  .experience {
    padding: 15px 12px 22px;
  }
  .stage-toolbar {
    justify-content: center;
    margin-bottom: 20px;
  }
  .view-switch {
    width: 100%;
    max-width: 354px;
  }
  .view-switch button {
    flex: 1;
    padding: 9px 12px;
  }
  .stage {
    min-height: 0;
  }
  .phone {
    width: min(354px, 100%);
    height: 650px;
    border-width: 6px;
    border-radius: 37px;
  }
  .stage-bottom {
    margin: 20px 10px 0;
    padding-top: 12px;
  }
  .stage-bottom p {
    max-width: 185px;
    font-size: 10px;
  }
  .stage-bottom button {
    font-size: 11px;
    padding: 6px;
  }
  .site-footer {
    padding: 17px 22px;
    display: block;
    font-size: 9px;
  }
  .site-footer span {
    display: block;
    margin: 3px 0;
  }
  .salon-mode .guide {
    display: block;
    padding: 22px;
  }
  .salon-mode .guide h1 {
    font-size: 24px;
  }
  .salon-mode .guide .kicker {
    display: block;
    margin-bottom: 8px;
  }
  .salon-mode .guide .description {
    margin-top: 9px;
    font-size: 12px;
  }
  .salon-mode .experience {
    padding: 14px 10px 22px;
  }
  .salon-mode .stage-toolbar {
    justify-content: center;
  }
  .salon-top {
    height: 53px;
    padding: 10px 14px;
  }
  .salon-top img {
    width: 70px;
  }
  .salon-top .shop-name {
    font-size: 10px;
  }
  .salon-layout {
    display: block;
    min-height: 0;
  }
  .salon-nav {
    flex-direction: row;
    padding: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 5px;
  }
  .salon-nav span {
    padding: 7px 9px;
    font-size: 11px;
    gap: 5px;
  }
  .salon-nav span:nth-child(n + 4) {
    display: none;
  }
  .salon-main {
    padding: 17px 13px;
  }
  .salon-main h2 {
    font-size: 19px;
  }
  .success {
    padding: 11px;
    font-size: 11px;
  }
  .client-split {
    display: block;
    margin-top: 15px;
  }
  .client-list {
    border-right: 0;
  }
  .client-item:not(.active) {
    display: none;
  }
  .client-detail {
    padding: 20px 14px;
  }
  .profile-grid {
    grid-template-columns: 85px 1fr;
    font-size: 12px;
    gap: 10px;
  }
  .sync-diagram {
    padding: 13px;
    gap: 9px;
  }
  .sync-box {
    font-size: 10px;
  }
  .sync-box strong {
    font-size: 12px;
  }
  .salonboard .sb-tabs {
    gap: 10px;
    font-size: 9px;
    padding: 8px;
  }
  .sb-body {
    padding: 9px;
  }
  .sb-header {
    font-size: 9px;
    padding: 8px 10px;
  }
  .sb-header b {
    font-size: 14px;
  }
  .detail-panel {
    padding: 17px 14px;
    margin-top: 15px;
  }
  .calendar-toolbar {
    font-size: 12px;
  }
  .calendar-toolbar span {
    font-size: 9px;
  }
  .calendar-scroll:before {
    content: "左右にスクロールして予約表を確認できます →";
    display: block;
    font-size: 10px;
    color: #777;
    padding: 0 0 9px;
  }
  .calendar {
    min-width: 720px;
  }
  .salon-mode .stage {
    min-height: 0;
  }
  .reminder-tools {
    gap: 5px;
  }
  .reminder-tools button {
    font-size: 10px;
    padding: 7px 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.rich-menu {
  background: #f3f6f5;
  padding: 7px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
  aspect-ratio: 2500/1686;
  flex-shrink: 0;
  color: #3e8c7f;
}
.rich-main,
.rich-row > span {
  border: 2.5px solid #3e8c7f;
  border-radius: 8px;
  background: white;
  color: #3e8c7f;
}
.rich-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px;
  width: 100%;
}
.rich-main:hover {
  background: #d8f5f1;
}
.rich-main b {
  font-size: 25px;
  line-height: 1.1;
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rich-main small {
  font-size: 11px;
  display: block;
  text-align: center;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.rich-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.rich-row > span {
  font-size: 12px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
}
.rich-menu svg {
  stroke: #3e8c7f;
  fill: none;
  stroke-width: 1.7;
}
.rich-main svg {
  width: 48px;
  height: 48px;
}
.rich-row svg {
  width: 30px;
  height: 30px;
}

.generated-flex .fx-text {
  margin: 0;
  white-space: pre-line;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.generated-flex .fx-hero {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.generated-flex .primary {
  font-size: 12px;
  min-height: 42px;
}
.fx-box {
  min-width: 0;
}

/* 本体ロゴは43×30のシンボル。外側のデモヘッダーだけに文字を添える。 */
.brand img {
  width: 43px;
  height: 30px;
}
.brand b {
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-left: -14px;
}
.salon-top img {
  width: 43px;
  height: 30px;
}
@media (max-width: 760px) {
  .brand img {
    width: 36px;
    height: 26px;
  }
  .brand b {
    font-size: 24px;
    margin-left: -6px;
  }
  .salon-top img {
    width: 38px;
    height: 27px;
  }
}

/* トークは端末内に収め、受信カードを隠さない。 */
.phone-screen {
  min-height: 0;
}
.menu-toggle {
  flex-shrink: 0;
  width: 100%;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  color: #52645c;
  font-size: 12px;
}
.calendar-row {
  min-height: 142px;
}
.calendar-row.header {
  min-height: 34px;
}
.calendar-row.header > span {
  text-align: left;
}
.reserve-event {
  font-size: 12px;
  top: 8px;
  height: calc(100% - 16px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  padding: 8px;
  overflow: visible;
}
.reserve-event strong {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.event-time {
  font-size: 11px;
  white-space: normal;
}
.event-menu {
  font-size: 11px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.register-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 15px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #777;
}
.register-brand {
  font-size: 23px;
  color: #212b36;
  font-weight: 700;
}
.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
  padding-top: 15px;
}
.register-client {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.register-client span {
  font-size: 12px;
  color: #777;
}
.register-layout h3 {
  font-size: 18px;
  margin-bottom: 18px;
}
.sale-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid #ddd;
  padding: 18px 0;
  font-size: 14px;
}
.sale-item small {
  grid-column: 2/-1;
  color: #777;
  font-size: 11px;
}
.service-label {
  font-size: 10px;
  color: white;
  background: #1b8de3;
  padding: 2px 7px;
  border-radius: 4px;
}
.payment-panel {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 26px;
}
.payment-panel dl {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin: 12px 0;
}
.payment-panel dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
}
.payment-panel .payment-total {
  font-size: 20px;
  font-weight: 700;
}
.payment-panel .tax-row {
  font-size: 11px;
  color: #777;
}
.payment-panel hr {
  border: 0;
  border-top: 1px solid #d6d6d6;
  margin: 22px 0;
}
.register-note {
  color: #777;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 14px;
}
.payment-panel button {
  margin-top: 20px;
}
@media (max-width: 1000px) {
  .register-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
  }
  .payment-panel {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .register-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .register-client {
    margin-bottom: 22px;
  }
  .sale-item {
    grid-template-columns: auto 1fr;
    gap: 8px;
  }
  .sale-item > span:nth-child(3) {
    grid-column: 2;
  }
  .payment-panel {
    padding: 23px;
  }
  .register-brand {
    font-size: 21px;
  }
}
/* カルテ・お礼・フォロー。サロン側では文字を縮小せず縦に組み直す。 */
.wizard-heading,
.feedback-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.wizard-heading > span {
  background: #212b36;
  color: #fff;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 12px;
}
.wizard-progress {
  display: flex;
  gap: 18px;
  margin: 24px 0;
  border-bottom: 1px solid #e6e6e6;
}
.wizard-progress > span {
  padding: 8px 0 12px;
  color: #888;
  font-size: 12px;
}
.wizard-progress > .active {
  border-bottom: 3px solid #42d0c4;
  color: #00584f;
  font-weight: 600;
}
.wizard-panel {
  max-width: 760px;
  margin: 22px auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 13px;
  padding: 28px;
}
.wizard-panel h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.wizard-panel > p {
  font-size: 13px;
  color: #777;
  line-height: 1.9;
}
.field textarea,
.copy-fallback textarea {
  width: 100%;
  border: 1px solid #d9ded9;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  font-size: 13px;
  line-height: 1.9;
  margin-top: 7px;
  resize: vertical;
  min-height: 132px;
  color: #34443a;
  background: white;
}
.photo-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.photo-option {
  border: 2px solid #e6e6e6;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-align: left;
}
.photo-option img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 30%;
}
.photo-option > span {
  display: block;
  padding: 12px;
  font-size: 12px;
}
.photo-option.selected {
  border-color: #08b9aa;
  background: #eefaf7;
  color: #00584f;
}
.suggest-preview {
  background: #f2fbfa;
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.suggest-preview small {
  font-size: 11px;
  color: #08b9aa;
}
.suggest-preview strong {
  font-size: 16px;
}
.flex-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 15px;
  max-width: 100%;
  align-items: flex-start;
  padding-bottom: 8px;
}
.flex-carousel > .flex-card {
  flex: 0 0 282px;
  scroll-snap-align: start;
  margin-top: 0 !important;
}
.rating-score {
  border: 1px solid #42d0c4;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.rating-score:hover {
  background: #d8f5f1 !important;
}
.copy-fallback {
  display: block;
  color: #344c61;
  font-size: 10px;
  max-width: 282px;
  margin: 14px 0;
}
.copy-fallback textarea {
  font-size: 11px;
  min-height: 110px;
}
.generated-flex {
  margin-top: 14px;
}
.unread-count {
  background: #42d0c4;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  padding: 3px 12px;
}
.feedback-client {
  width: 100%;
  text-align: left;
}
.received-score {
  border-left: 3px solid #42d0c4;
  padding: 18px 20px;
  background: #f2fbfa;
  margin: 20px 0;
}
.received-score > span {
  display: block;
  font-size: 12px;
  color: #637068;
}
.received-score > strong {
  font-size: 42px;
  line-height: 1.5;
  color: #00584f;
}
.received-score small {
  font-size: 18px;
  color: #777;
  font-weight: 400;
}
.button-row {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
.prototype-note {
  font-size: 10px;
  color: #777;
  line-height: 1.7;
  margin-top: 10px;
  text-align: center;
}
.recommended {
  border-color: #42d0c4;
  background: #f7fdfa;
}
.previous-menu .category {
  border-radius: 20px;
}
.recap {
  min-height: 100%;
  background: #f2f7f0;
  padding: 34px 22px;
}
.recap h2 {
  line-height: 1.9;
  margin: 25px 0 16px;
}
.recap > p {
  font-size: 12px;
  color: #637068;
  line-height: 2;
}
.recap .salon-wordmark {
  font-size: 35px;
}
@media (max-width: 760px) {
  .wizard-panel {
    padding: 20px 15px;
  }
  .wizard-panel h3 {
    font-size: 16px;
  }
  .wizard-progress {
    gap: 0;
    justify-content: space-between;
  }
  .wizard-progress > span {
    font-size: 10px;
    padding-right: 4px;
  }
  .photo-picker {
    gap: 10px;
  }
  .photo-option img {
    height: 175px;
  }
  .photo-option > span {
    font-size: 10px;
    padding: 8px;
  }
  .button-row {
    flex-direction: column;
  }
  .flex-carousel > .flex-card {
    flex-basis: 270px;
  }
  .photo-option {
    min-width: 0;
  }
}

/* 満足度の送信時刻はお客様側へ寄せる。 */
.outgoing-time {
  text-align: right;
  margin-right: 5px;
}
/* サロンボード：個人情報を含まない見本メモの寸法・色・構成を再現。 */
.sb-screen {
  font-family:
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS PGothic", sans-serif;
  font-size: 12px;
  color: #4d4d4d;
  background: #fff;
  border: 1px solid #8c8f93;
  border-radius: 0;
  height: 570px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-top: 18px;
}
.sb-screen .sb-masthead {
  height: 61px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 0;
  background: linear-gradient(180deg, #cbdcee, #edf4fb 65%, #c8d9ed);
}
.sb-screen .sb-logo {
  width: 134px;
  height: 61px;
  display: grid;
  place-items: center;
  font:
    bold 18px Arial,
    sans-serif;
  color: #1c4c80;
  letter-spacing: -0.6px;
  flex-shrink: 0;
}
.sb-masthead > span {
  font-size: 12px;
  font-weight: bold;
  overflow-wrap: anywhere;
}
.sb-screen .sb-menu-scroll {
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}
.sb-screen .sb-menu-scroll::-webkit-scrollbar {
  display: none;
}
.sb-screen .sb-tabs {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: 2px;
  padding: 0 5px;
  background: #c8d9ed;
  border: 0;
  height: 36px;
}
.sb-screen .sb-tabs > span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  height: 36px;
  font-size: 13px;
  font-weight: bold;
  color: white;
  border: 1px solid #5f8ac1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(0deg, #4f82bd 0%, #6693ca 35%, #84abd6 100%);
  white-space: nowrap;
}
.sb-screen .sb-tabs > .selected {
  border-color: #316db9;
  background: linear-gradient(0deg, #1452a2 0%, #427fc2 40%, #5b95cb 100%);
}
.sb-submenu-wrap {
  background: #dadfe8;
  height: 38px;
}
.sb-submenu {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 5px 9px;
}
.sb-submenu > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border: 1px solid #5f8ac1;
  border-radius: 4px;
  padding: 0 14px;
  background: linear-gradient(0deg, #4f82bd, #84abd6);
  font-size: 14px;
  font-weight: bold;
  color: white;
  white-space: nowrap;
}
.sb-submenu > .selected {
  border-color: #316db9;
  background: linear-gradient(0deg, #1452a2, #5b95cb);
}
.sb-date-scroll {
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
}
.sb-date-row {
  height: 54px;
  min-width: 850px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
}
.sb-date-row > strong {
  font-size: 20px;
  white-space: nowrap;
  color: #4d4d4d;
}
.sb-static-select {
  padding: 3px 8px;
  border: 1px solid #b1b1b1;
  background: white;
  border-radius: 3px;
  white-space: nowrap;
}
.sb-date-row > span {
  white-space: nowrap;
}
.sb-date-row .sb-refresh {
  color: #c63039;
  font-weight: bold;
}
.sb-help {
  display: inline-grid;
  place-items: center;
  border: 1px solid #b1b1b1;
  border-radius: 50%;
  width: 18px;
  height: 18px;
}
.sb-updated {
  font-size: 11px;
  color: #777;
}
.sb-schedule-scroll {
  overflow: auto;
  min-height: 0;
  flex: 1;
  position: relative;
  isolation: isolate;
}
.sb-schedule {
  width: max-content;
  --sb-cell: 62.5px;
  --sb-staff: 139px;
  background: white;
}
.sb-grid {
  display: grid;
  grid-template-columns:
    var(--sb-staff) repeat(var(--sb-slots), var(--sb-cell))
    var(--sb-staff);
  width: max-content;
}
.sb-time-header {
  height: 29px;
}
.sb-hour {
  grid-column: span 2;
  text-align: center;
  padding: 4px;
  border: 1px solid #8c8f93;
  font-weight: bold;
  font-size: 12px;
  background: white;
}
.sb-corner {
  background: #f6ebcd;
  border: 1px solid #b1b1b1;
  text-align: center;
  padding: 4px;
  font-size: 11px;
}
.sb-summary {
  height: 26px;
}
.sb-summary-label,
.sb-count {
  border: 1px solid #8c8f93;
  text-align: center;
  padding: 2px 1px;
  background: white;
  line-height: 20px;
  font-size: 12px;
}
.sb-summary-label {
  font-size: 11px;
}
.sb-count.zero {
  color: #c43139;
}
.sb-staff {
  width: 139px;
  background: #f3f3f3;
  border: 1px solid #8c8f93;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px 8px;
  gap: 9px;
}
.sb-staff strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #c4c4c4;
  border-radius: 3px;
  background: linear-gradient(white, #e8e8e8);
  padding: 4px 7px;
  font-size: 13px;
}
.sb-staff small {
  font-size: 11px;
  white-space: nowrap;
}
.sb-staff-left {
  position: sticky;
  left: 0;
  z-index: 3;
}
.sb-staff-right {
  position: sticky;
  right: 0;
  z-index: 3;
}
.sb-lanes {
  grid-column: 2 / span var(--sb-slots);
  min-width: 0;
}
.sb-lane {
  height: 57px;
  display: grid;
  grid-template-columns: repeat(var(--sb-slots), var(--sb-cell));
  position: relative;
}
.sb-cell {
  border: 1px dotted #bfc1c3;
  background: white;
}
.sb-unavailable {
  background: #7f7f7f;
}
.sb-booking,
.sb-plan {
  position: absolute;
  left: calc(var(--sb-offset) * var(--sb-cell));
  width: calc(var(--sb-span) * var(--sb-cell));
  height: 50px;
  top: 3px;
  z-index: 1;
}
.sb-booking {
  scroll-margin-inline: 145px;
  background: #f8f0da;
  border: 1px solid white;
  color: #4d4d4d;
  text-align: left;
  padding: 3px 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  overflow: hidden;
}
.sb-booking:hover {
  outline: 1px solid #b39b60;
  outline-offset: -2px;
}
.sb-booking strong {
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  line-height: 18px;
}
.sb-booking-marks {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 15px;
}
.sb-route-mark,
.sb-state-mark,
.sb-visit-mark {
  display: inline-grid;
  place-items: center;
  min-width: 14px;
  height: 14px;
  border: 1px solid #4b77a2;
  color: white;
  font:
    bold 10px Arial,
    sans-serif;
  line-height: 1;
}
.sb-state-mark {
  background: #397bb5;
}
.sb-visit-mark {
  color: #4d4d4d;
  background: white;
  border-color: #999;
}
.sb-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: #7f7f7f;
  font-size: 14px;
  font-weight: bold;
}
.sb-bottom-scroll {
  height: 41px;
  flex-shrink: 0;
  overflow-x: auto;
  background: #eff0f2;
  border-top: 2px solid white;
  scrollbar-width: thin;
  position: sticky;
  bottom: 0;
}
.sb-bottom {
  height: 39px;
  min-width: 940px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  gap: 20px;
  font-size: 12px;
  background: #eff0f2;
}
.sb-day-strip,
.sb-bottom-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.sb-bar-button {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #b5b8bd;
  border-radius: 3px;
  background: linear-gradient(white, #dfe3e8);
}
.sb-strip-day {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
}
.sb-strip-day.selected {
  border: 1px solid #777;
  border-radius: 50%;
  background: white;
  font-weight: bold;
}
.sb-strip-day.saturday {
  color: #316db9;
}
.sb-strip-day.sunday {
  color: #c73745;
}
.sb-create {
  padding: 4px 12px;
  border: 1px solid #a92631;
  border-radius: 3px;
  background: linear-gradient(#db737b, #b84653);
  color: white;
  font-weight: bold;
}
.sb-jump {
  max-width: 280px;
  margin: 15px 0 0;
}
/* 案内は体験枠の外。対象のボタンには装飾や寸法変更を加えない。 */
.operation-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  margin: 0 auto 20px;
  max-width: 980px;
  background: #fff;
  border: 1px solid #d6e5db;
  border-left: 3px solid #42d0c4;
  border-radius: 8px;
  position: sticky;
  top: 8px;
  z-index: 20;
  box-shadow: 0 3px 10px #213b3010;
}
.salon-mode .operation-guide {
  max-width: none;
}
.operation-guide small {
  display: block;
  color: #618272;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.operation-guide p {
  font-size: 12px;
  color: #304b3c;
  line-height: 1.8;
}
.guide-jump {
  font-size: 11px;
  color: #00584f;
  white-space: nowrap;
  border: 1px solid #d4e3d8;
  border-radius: 6px;
  padding: 7px 10px;
  flex-shrink: 0;
  background: #f4faf6;
}
.operation-pointer {
  position: fixed;
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 22px;
  color: #00584f;
  z-index: 30;
  pointer-events: none;
  filter: drop-shadow(0 0 2px white);
}
.operation-pointer[hidden] {
  display: none;
}
.salon-qa {
  position: relative;
  margin-left: auto;
  z-index: 40;
  font-size: 12px;
}
.salon-qa > summary {
  cursor: pointer;
  list-style: none;
  color: #00584f;
  background: white;
  border: 1px solid #d6e5db;
  border-radius: 7px;
  padding: 8px 13px;
  white-space: nowrap;
}
.salon-qa > summary:after {
  content: " ＋";
}
.salon-qa[open] > summary:after {
  content: " −";
}
.salon-qa-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  background: white;
  border: 1px solid #d6e5db;
  border-radius: 10px;
  box-shadow: 0 12px 32px #213b3026;
  max-height: 65vh;
  overflow-y: auto;
}
.salon-qa-panel > strong {
  font-size: 13px;
  display: block;
  padding-bottom: 8px;
}
.salon-qa-panel details {
  border-top: 1px solid #e6e6e6;
}
.salon-qa-panel summary {
  padding: 11px 0;
  cursor: pointer;
  font-weight: 600;
}
.salon-qa-panel p {
  padding: 0 0 12px;
  line-height: 1.9;
  color: #637068;
}
/* 本体のItem/DetailImages/DetailContent/MemoCardStackを参照した、今回の1件。 */
.saved-karte-card {
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  text-align: left;
  background: white;
  box-shadow: 0 3px 14px #212b3608;
  width: 100%;
}
.saved-karte-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 16px;
}
.karte-card-meta {
  font-size: 12px;
  color: #777;
}
.karte-category {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: #e57799;
}
.saved-karte-card > strong {
  font-size: 18px;
  line-height: 1.5;
}
.karte-card-memo {
  display: block;
  padding: 6px;
  border-radius: 8px;
  background: #f3fcfb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.karte-card-link {
  font-size: 12px;
  color: #08b9aa;
  font-weight: 600;
  text-align: center;
  width: 100%;
}
.memo-card {
  padding: 24px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  margin-top: 24px;
  min-width: 0;
}
.memo-card h3 {
  font-size: 18px;
  margin: 18px 0 12px;
}
.karte-detail-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.karte-detail-photos > button {
  padding: 0;
  min-width: 0;
}
.karte-detail-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 16px;
}
.karte-detail-memo {
  font-size: 18px;
  white-space: pre-wrap;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.karte-next {
  background: #ffcfcc;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.karte-next strong {
  font-size: 18px;
}
.karte-next > span {
  color: #777;
  font-size: 12px;
}
.karte-next p {
  white-space: pre-wrap;
  line-height: 1.9;
}
.karte-photo-dialog {
  border: 0;
  border-radius: 16px;
  padding: 12px;
  max-width: min(680px, calc(100vw - 32px));
  max-height: 90vh;
  background: #fff;
  box-shadow: 0 15px 45px #0004;
}
.karte-photo-dialog::backdrop {
  background: #162c23aa;
}
.karte-photo-dialog img {
  max-height: 75vh;
  margin-top: 10px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}
@media (max-width: 760px) {
  .sb-staff-right {
    position: static;
  }
  .sb-booking {
    scroll-margin-inline-end: 8px;
  }
  .sb-screen {
    height: 550px;
  }
  .operation-guide {
    padding: 9px 11px;
    gap: 8px;
    top: 4px;
    margin-bottom: 16px;
    align-items: flex-start;
  }
  .operation-guide p {
    font-size: 11px;
  }
  .guide-jump {
    font-size: 10px;
    padding: 6px;
    white-space: normal;
    max-width: 84px;
  }
  .salon-qa {
    font-size: 11px;
  }
  .salon-qa > summary {
    padding: 8px 10px;
  }
  .saved-karte-card {
    max-width: none;
    padding: 14px;
  }
  .saved-karte-card > img {
    height: 170px;
  }
  .memo-card {
    padding: 18px 14px;
  }
  .karte-detail-photos {
    display: flex;
    overflow-x: auto;
    gap: 12px;
  }
  .karte-detail-photos > button {
    flex: 0 0 200px;
  }
  .karte-detail-memo {
    font-size: 16px;
  }
  .karte-next strong {
    font-size: 16px;
  }
}

/* 本番見本の骨組み。外側のデモ案内は固定せず、体験画面を覆わない。 */
.operation-guide {
  position: relative;
  top: auto;
  z-index: auto;
}
.salon-mode .experience {
  padding: 24px;
}
.salon-real {
  font-family: "Hiragino Kaku Gothic ProN", "Public Sans", sans-serif;
  color: #212b36;
  background: #fafafa;
  border-color: #f0f0f0;
  border-radius: 0;
  box-shadow: none;
}
.salon-real .salon-top {
  min-height: 72px;
  height: auto;
  padding: 12px 24px;
  background: #fff;
  gap: 24px;
  border: 0;
  box-shadow: 0 2px 10px #00000003;
}
.salon-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  color: #777;
}
.salon-real .salon-identity > img {
  width: 43px;
  height: 30px;
  max-height: none;
}
.salon-identity > strong {
  color: #212b36;
  font-size: 18px;
}
.salon-header-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}
.salon-header-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #212b36;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  border: 0;
  background: transparent;
  padding: 0;
}
.salon-header-action .salon-icon {
  color: #777;
}
.salon-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.salon-header-action.salon-header-primary {
  background: #42d0c4;
  border-radius: 20px;
  padding: 8px 16px;
  color: white;
}
.salon-header-primary .salon-icon {
  color: #fff;
}
.salon-real .salon-layout {
  display: grid;
  padding: 24px;
  gap: 24px;
  min-height: 700px;
  align-items: start;
}
.salon-real .salon-layout.with-clients {
  grid-template-columns: 320px minmax(0, 1fr);
}
.salon-real .salon-layout.without-clients {
  grid-template-columns: minmax(0, 1fr);
}
.salon-real .salon-main {
  background: transparent;
  padding: 0;
  min-width: 0;
}
.salon-clients {
  width: 320px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 24px #00000007;
  overflow: hidden;
  height: 650px;
  display: flex;
  flex-direction: column;
}
.salon-client-filter {
  padding: 12px;
  flex-shrink: 0;
}
.salon-search {
  border: 1px solid #dfe3e6;
  border-radius: 24px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
}
.salon-search .salon-icon {
  width: 18px;
  height: 18px;
}
.salon-search > span:last-child {
  margin-left: auto;
  color: #777;
}
.salon-client-tabs {
  display: flex;
  margin-top: 8px;
  border-radius: 20px;
  overflow: hidden;
  background: #fafafa;
}
.salon-client-tabs > span {
  flex: 1;
  text-align: center;
  padding: 8px 2px;
  font-size: 14px;
  color: #777;
  white-space: nowrap;
}
.salon-client-tabs > .active {
  background: #42d0c4;
  color: white;
  font-weight: 600;
}
.salon-client-sort {
  color: #42bfb5;
  text-align: right;
  padding: 12px 4px 0;
  font-size: 14px;
  font-weight: 700;
}
.salon-client-rows {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 12px;
  border-top: 1px solid #f0f0f0;
}
.salon-client-item {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 4px;
  background: white;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  color: #212b36;
  min-height: 96px;
}
.salon-client-item.active {
  background: #f4fcfb;
}
.salon-client-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ededed, #c6c9c9);
  color: white;
  font:
    10px Georgia,
    serif;
  display: grid;
  place-items: center;
}
.salon-client-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.salon-client-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.salon-client-name > strong {
  font-size: 16px;
  font-weight: 400;
}
.salon-client-name > time {
  font-size: 12px;
  color: #777;
  white-space: nowrap;
}
.salon-client-excerpt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salon-client-excerpt .badge {
  background: #42d0c4;
  color: white;
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}
.salon-client-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #777;
  gap: 3px;
}
.salon-client-meta > span {
  white-space: nowrap;
}
.salon-client-meta b {
  color: #212b36;
  font-weight: 600;
}
.salon-guest-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-top: 1px solid #f0f0f0;
  color: #777;
  font-size: 16px;
  font-weight: 600;
}
.salon-home-placeholder {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.salon-home-placeholder > img {
  width: 300px;
  max-width: 75%;
}
.salon-home-placeholder > p {
  color: #777;
  font-size: 14px;
  text-align: center;
}
.salon-registration-notice {
  font-size: 13px;
  color: #178d83;
  background: #eefbf9;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.salon-client-workspace {
  position: relative;
  display: grid;
}
.salon-client-workspace > .salon-chat,
.salon-client-workspace > .salon-task-card {
  grid-area: 1 / 1;
}
.salon-chat {
  display: flex;
  flex-direction: column;
  height: 650px;
  min-height: 0;
}
.salon-chat-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 24px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.salon-chat-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}
.salon-chat-row.shop-sent {
  justify-content: flex-end;
}
.salon-chat-row > time {
  flex-shrink: 0;
  color: #777;
  font-size: 10px;
  text-align: right;
  padding-bottom: 6px;
}
.salon-chat-bubble {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: min(800px, calc(100% - 75px));
  padding: 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  background: #d7f6f3;
  box-shadow: 0 0 24px #00000008;
  position: relative;
}
.shop-sent .salon-chat-bubble::after {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 18px;
  height: 16px;
  background: #d7f6f3;
  clip-path: polygon(0 0, 100% 55%, 0 100%);
}
.shop-received {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.shop-received .salon-chat-bubble {
  background: white;
}
.salon-chat-composer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 0 24px #00000008;
}
.salon-chat-composer input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dfe3e6;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.salon-chat-composer > span {
  color: #777;
}
.salon-chat-composer button {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f2f3f3;
  color: #aeb3b6;
  border: 0;
  border-radius: 24px;
  padding: 10px 16px;
  white-space: nowrap;
}
.salon-task-card {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  margin: 24px auto;
  align-self: start;
  padding: 24px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 8px 40px #212b3626;
  min-height: 450px;
}
.salon-client-workspace > .salon-chat {
  opacity: 0.28;
  pointer-events: none;
}
.salon-score-note {
  color: #777;
  font-size: 14px;
  padding: 8px 0 20px;
}
.salon-score-note strong {
  color: #212b36;
  margin: 0 12px;
}
/* 予約表：本体 dayTimelineAll の3集計行・出勤帯・2段の予約枠。 */
.cy-schedule-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 0 24px #00000006;
}
.cy-schedule-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.cy-date {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 18px;
}
.cy-date strong {
  font-weight: 600;
}
.cy-date > span {
  border-radius: 50%;
  background: #f5f5f5;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 28px;
}
.cy-schedule-controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #777;
}
.cy-schedule-controls > div {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  align-items: center;
}
.cy-schedule-controls label {
  display: flex;
  gap: 5px;
  align-items: center;
}
.cy-schedule-controls input {
  accent-color: #777;
}
.cy-staff-select {
  padding: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
}
.cy-today {
  background: #42d0c4;
  padding: 9px 16px;
  border-radius: 20px;
  color: white;
}
.cy-update {
  border: 1px solid #d7efec;
  border-radius: 20px;
  color: #42bfb5;
  padding: 8px 14px;
}
.cy-calendar-scroll {
  overflow: auto;
  width: 100%;
}
.calendar.cy-calendar {
  min-width: 1000px;
  width: 100%;
  border: 0;
  border-radius: 0;
  --cy-resource: 150px;
  --cy-cell: calc((100% - var(--cy-resource)) / var(--cy-slots));
}
.cy-schedule-grid {
  display: grid;
  grid-template-columns: var(--cy-resource) repeat(
      var(--cy-slots),
      minmax(0, 1fr)
    );
}
.cy-hours {
  height: 40px;
}
.cy-hours > span:not(:first-child) {
  grid-column: span 2;
}
.cy-schedule-grid > span {
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 12px;
}
.cy-resource {
  background: white;
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid #eee;
}
.cy-summary {
  height: 40px;
}
.cy-summary .cy-resource {
  color: #777;
  font-weight: 600;
  gap: 6px;
}
.cy-summary small {
  color: #777;
  background: #f5f5f5;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 400;
}
.cy-shift-row {
  height: 40px;
}
.cy-shift-row > .cy-resource {
  justify-content: flex-start;
  padding-left: 8px;
  font-size: 14px;
}
.cy-lane {
  position: relative;
  grid-column: 2 / span var(--cy-slots);
  display: grid;
  grid-template-columns: repeat(var(--cy-slots), minmax(0, 1fr));
}
.cy-time-cell {
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.cy-shift-band {
  position: absolute;
  left: calc(var(--offset) / var(--cy-minutes) * 100%);
  width: calc(var(--duration) / var(--cy-minutes) * 100%);
  top: 5px;
  height: 30px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #42d0c4;
  color: white;
  font-size: 12px;
}
.cy-reserve-row {
  height: 120px;
}
.cy-staff-limit {
  color: #777;
  font-size: 12px;
}
.cy-booking-lanes {
  background: linear-gradient(
    to bottom,
    transparent 59px,
    #eee 59px,
    #eee 60px,
    transparent 60px
  );
}
.cy-booking-lanes > .reserve-event {
  left: calc(var(--offset) / var(--cy-minutes) * 100%);
  width: calc(var(--duration) / var(--cy-minutes) * 100%);
  top: 4px;
  height: 112px;
  max-height: none;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  scroll-margin-left: 155px;
}
.cy-booking-lanes .event-time {
  font-size: 12px;
}
.cy-booking-lanes .event-menu {
  white-space: normal;
  font-size: 12px;
  line-height: 1.5;
}
.cy-booking-lanes .reserve-event strong {
  font-size: 14px;
}
@media (max-width: 1100px) {
  .salon-real .salon-top {
    flex-wrap: wrap;
    gap: 12px;
  }
  .salon-header-menu {
    gap: 16px;
    flex-wrap: wrap;
  }
  .salon-header-action {
    font-size: 14px;
  }
  .salon-real .salon-layout.with-clients {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 16px;
  }
  .salon-clients {
    width: 300px;
  }
}
@media (max-width: 760px) {
  .operation-guide {
    position: relative;
    top: auto;
  }
  .salon-mode .experience {
    padding: 12px;
  }
  .salon-real .salon-top {
    padding: 16px;
  }
  .salon-header-menu {
    justify-content: flex-start;
    gap: 12px 16px;
  }
  .salon-header-action {
    font-size: 12px;
  }
  .salon-header-action .salon-icon {
    width: 18px;
    height: 18px;
  }
  .salon-real .salon-layout {
    padding: 12px;
  }
  .salon-real .salon-layout.with-clients {
    grid-template-columns: minmax(0, 1fr);
  }
  .salon-clients {
    width: 100%;
    height: 285px;
    border-radius: 16px;
  }
  .salon-client-rows {
    min-height: 96px;
  }
  .salon-client-filter {
    padding: 8px 12px;
  }
  .salon-client-sort {
    padding-top: 6px;
  }
  .salon-client-tabs > span {
    padding: 6px 2px;
  }
  .salon-real .salon-main {
    padding: 0;
  }
  .salon-home-placeholder {
    min-height: 350px;
    gap: 24px;
  }
  .salon-chat {
    height: 600px;
  }
  .salon-chat-scroll {
    padding: 0 12px 16px 0;
  }
  .salon-chat-row {
    gap: 8px;
  }
  .salon-chat-bubble {
    max-width: calc(100% - 64px);
    font-size: 13px;
  }
  .salon-chat-composer {
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
  }
  .salon-chat-composer input {
    width: 100%;
    padding: 8px;
  }
  .salon-chat-composer button {
    padding: 8px;
    font-size: 12px;
  }
  .salon-chat-composer button svg {
    display: none;
  }
  .salon-task-card {
    margin: 16px auto;
    padding: 16px;
  }
  .cy-schedule-card {
    padding: 14px;
    border-radius: 16px;
  }
  .cy-schedule-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .cy-date {
    gap: 8px;
    font-size: 15px;
  }
  .cy-date > span {
    width: 28px;
    height: 28px;
  }
}

/* 見本との照合用URLではデモの外枠だけを省き、画面幅を揃える。 */
.salon-comparison .site-header,
.salon-comparison .journey,
.salon-comparison .guide,
.salon-comparison .stage-toolbar,
.salon-comparison .operation-guide,
.salon-comparison .operation-pointer,
.salon-comparison .stage-bottom,
.salon-comparison .site-footer,
.salon-comparison .salon-registration-notice {
  display: none !important;
}
.salon-comparison .experience {
  padding: 0;
}
.salon-comparison .workspace {
  margin: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
}
.salon-comparison .salon {
  border: 0;
  min-height: 800px;
}
.salon-comparison .salon-layout {
  min-height: 728px;
}
.salon-comparison .salon-clients {
  height: 680px;
}
.salon-comparison .salon-home-placeholder {
  min-height: 680px;
}
.salon-comparison .salon-chat {
  height: 680px;
}

/* 本番の追加見本 C1〜C9。 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.cy-booking-lanes > .reserve-event {
  height: 52px;
  max-height: 52px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  padding: 0 8px;
  line-height: 1.35;
}
.cy-booking-lanes .reserve-event strong {
  font-size: 12px;
  font-weight: 600;
}
.reserve-event-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 16px;
}
.reserve-event-icons img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.demo-modal-layer {
  position: absolute;
  inset: 0;
  min-height: 800px;
  background: #0008;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
}
.demo-modal-shell {
  position: relative;
  width: 600px;
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  padding: 24px;
  color: #212b36;
  box-shadow: 0 16px 48px #0003;
  font-family: "Hiragino Kaku Gothic ProN", "Public Sans", sans-serif;
}
.demo-modal-shell > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  flex-shrink: 0;
}
.demo-modal-shell > header > h2 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}
.modal-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f2f2f2;
  font-size: 24px;
  color: #777;
}
.demo-modal-scroll {
  overflow: auto;
  min-height: 0;
  padding-right: 8px;
  font-size: 15px;
}
.demo-modal-scroll h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.reserve-detail-modal .demo-modal-scroll > section {
  padding: 16px 0 24px;
  border-bottom: 1px solid #e6e6e6;
}
.reserve-customer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.reserve-customer > div {
  min-width: 0;
  flex: 1;
}
.reserve-customer strong {
  font-size: 15px;
  font-weight: 600;
}
.reserve-customer dl,
.reserve-accounting {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin: 12px 0;
  font-size: 12px;
}
.reserve-customer dt,
.reserve-accounting dt {
  color: #777;
}
.reserve-customer dd,
.reserve-accounting dd {
  margin: 0;
}
.reserve-customer dd small {
  display: block;
  font-size: 10px;
}
.outline-pill,
.gray-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  min-height: 36px;
  padding: 8px 16px;
  font-size: 13px;
}
.outline-pill {
  border: 1px solid #cdcdcd;
  color: #777;
}
.gray-pill {
  background: #f2f2f2;
  color: #777;
}
.reserve-customer > .outline-pill {
  min-height: 28px;
  padding: 4px 8px;
  white-space: nowrap;
  font-size: 10px;
}
.full-width {
  width: 100%;
}
.reserve-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.reserve-modal-actions > button {
  flex: 1;
}
.reserve-modal-fields p {
  margin: 0 0 24px;
}
.reserve-modal-fields h3 {
  margin-top: 24px;
}
.reserve-modal-fields .sub {
  font-size: 12px;
  color: #777;
  margin: 8px 0;
}
.reserve-edit-disabled {
  text-align: center;
  margin-top: 16px;
  color: #777;
  font-size: 13px;
}
.karte-wizard-modal {
  width: 900px;
}
.karte-wizard-modal > header {
  padding-bottom: 24px;
}
.wizard-step-count {
  display: inline-block;
  background: black;
  color: white;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  position: absolute;
  top: 30px;
  left: 248px;
}
.wizard-step-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 520px;
}
.wizard-step-content h3 {
  margin: 0;
}
.reserve-select-warning {
  color: #fe001e;
  font-size: 12px;
  line-height: 1.5;
}
.wizard-date {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 8px 0 16px;
  font-size: 18px;
}
.wizard-date > span {
  border-radius: 50%;
  background: #f2f2f2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.wizard-reserve-table {
  min-height: 360px;
  flex: 1;
  border: 1px solid #eee;
  border-radius: 4px;
}
.wizard-reserve-head,
.wizard-selected-reserve {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  text-align: left;
  gap: 16px;
  padding: 16px;
}
.wizard-reserve-head {
  background: #f2f2f2;
  font-size: 12px;
  color: #777;
}
.wizard-selected-reserve {
  background: #eafaf8;
  border: 1px solid #42d0c4;
}
.wizard-actions {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}
.wizard-actions > button {
  flex: 1;
  min-height: 40px;
  border-radius: 24px;
}
.wizard-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  resize: vertical;
  font: inherit;
  line-height: 1.6;
}
.wizard-tag-tools {
  color: #777;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px;
}
.wizard-follow-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wizard-follow-date select {
  min-width: 180px;
  max-width: 220px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
}
.salon-header-back {
  font-size: 24px;
  border-radius: 50%;
  background: #f2f2f2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.karte-filter {
  margin: 0 0 16px;
  font-size: 14px;
  color: #777;
}
.karte-filter label {
  border-radius: 24px;
  padding: 12px 16px;
  background: #f2f2f2;
  display: inline-flex;
  gap: 6px;
}
.karte-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.memo-grid-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 24px #00000005;
  text-align: left;
  border: 0;
  width: 100%;
}
.memo-grid-card > img,
.memo-no-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}
.memo-no-image {
  background: transparent;
  display: block;
}
.memo-grid-card > small {
  font-size: 12px;
  color: #777;
}
.memo-grid-card > strong {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.karte-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.karte-category {
  border-radius: 4px;
  background: #e57799;
  color: white;
  padding: 2px 4px;
  font-size: 12px;
}
.karte-title-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.karte-title-row h3 {
  margin: 0;
  font-size: 18px;
}
.karte-like {
  color: #ff6678;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.karte-like .salon-icon {
  width: 20px;
  height: 20px;
}
.karte-detail-photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}
.karte-result > .gray-pill {
  margin-top: 24px;
}
.karte-transaction h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.karte-transaction table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 650px;
}
.karte-transaction thead {
  background: #f2f2f2;
  color: #777;
}
.karte-transaction th,
.karte-transaction td {
  text-align: left;
  padding: 16px 12px;
  font-weight: 400;
}
.karte-transaction td small {
  display: block;
  color: #777;
}
.interview-detail h3 {
  font-size: 18px;
  margin: 24px 0 16px;
}
.interview-answer {
  margin: 16px 0;
}
.interview-answer h4 {
  font-size: 16px;
  font-weight: 600;
}
.interview-answer p {
  font-size: 18px;
  white-space: pre-wrap;
}
.satisfaction-unread-dot {
  width: 8px;
  height: 8px;
  background: #42d0c4;
  border-radius: 50%;
  margin-left: -24px;
  align-self: flex-start;
}
.satisfaction-table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  font-size: 14px;
}
.satisfaction-table th,
.satisfaction-table td {
  padding: 16px;
  border-bottom: 1px solid #e6e6e6;
  text-align: left;
}
.client-name-missing {
  border: 1px solid #ff0051;
  color: #ff0051;
  font-size: 10px;
  border-radius: 24px;
  padding: 2px 6px;
  align-self: flex-start;
}
.operation-pointer {
  z-index: 60;
}
/* 別アプリ apps/regi の会計情報。 */
.regi-app {
  background: #fbfbfb;
  min-height: 800px;
  font-family: "Hiragino Kaku Gothic ProN", "Public Sans", sans-serif;
  color: #212b36;
  width: 100%;
}
.regi-header {
  background: #fff;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
}
.regi-header > div,
.regi-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.regi-header img {
  width: 43px;
  height: 30px;
}
.regi-header h1 {
  font-size: 18px;
  font-weight: 400;
  border-right: 1px solid #e6e6e6;
  padding-right: 24px;
}
.regi-header span,
.regi-header-link {
  font-size: 12px;
}
.regi-full-card {
  margin: 24px;
  border-radius: 16px;
  background: white;
  padding: 24px;
  min-height: 680px;
}
.regi-two-columns {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) 340px;
  gap: 24px;
}
.regi-left {
  min-width: 0;
}
.regi-basic-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.regi-basic-info > strong {
  font-size: 18px;
}
.regi-basic-info label {
  font-size: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.regi-basic-info label span {
  padding: 8px 12px;
  border: 1px solid #cdcdcd;
  border-radius: 6px;
  width: 150px;
}
.regi-sales-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.regi-sales-heading h2 {
  font-size: 18px;
}
.regi-sales-heading > span {
  font-size: 13px;
  background: #f2f2f2;
  padding: 6px 16px;
  border-radius: 6px;
}
.regi-table-scroll {
  overflow-x: auto;
}
.regi-sales-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
  font-size: 12px;
}
.regi-sales-table th {
  color: #777;
  background: #f5f5f5;
  font-weight: 400;
}
.regi-sales-table th,
.regi-sales-table td {
  padding: 14px 10px;
  text-align: right;
  border-bottom: 1px solid #e6e6e6;
}
.regi-sales-table th:first-child,
.regi-sales-table td:first-child {
  text-align: left;
}
.regi-sales-table small {
  display: block;
  font-size: 10px;
  color: #777;
  margin-top: 8px;
}
.regi-service-label {
  background: #d8f5f1;
  color: #00584f;
  padding: 2px 4px;
  border-radius: 3px;
}
.regi-payment-panel {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 24px 35px 35px;
  font-size: 12px;
}
.regi-payment-panel dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 8px;
  margin: 0;
  align-items: center;
}
.regi-payment-panel dd {
  text-align: right;
  margin: 0;
}
.regi-payment-panel hr {
  border: 0;
  border-top: 1px solid #e6e6e6;
  margin: 24px 0;
}
.regi-payment-panel .regi-total {
  font-size: 18px;
  font-weight: 700;
}
.regi-payment-panel .regi-total dd {
  font-size: 20px;
}
.regi-payment-panel .regi-tax {
  font-size: 10px;
  gap: 4px 8px;
  color: #777;
  margin-top: 8px;
}
.regi-tax dt:nth-of-type(2),
.regi-tax dt:nth-of-type(4) {
  margin-top: 12px;
}
.regi-payment-input {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 13px 15px;
  margin: 16px 0;
  border-radius: 6px;
  align-items: center;
}
.regi-payment-input label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  font-weight: 700;
}
.regi-payment-input input {
  width: 90px;
  min-width: 0;
  height: 36px;
  margin-left: auto;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
  text-align: right;
  padding: 4px;
}
.regi-add-payments {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.regi-primary,
.regi-outline,
.regi-gray {
  min-height: 40px;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
}
.regi-primary {
  color: white;
  background: #42d0c4;
}
.regi-outline {
  border: 1px solid #c2c2c2;
  background: white;
}
.regi-gray {
  background: #f2f2f2;
}
.regi-add-payments > button {
  min-height: 34px;
  font-size: 12px;
  padding: 6px 16px;
}
.regi-point {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
}
.regi-point span {
  font-size: 12px;
  font-weight: 400;
  display: flex;
  gap: 4px;
  align-items: center;
}
.regi-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 32px;
}
.regi-form-actions button {
  min-width: 150px;
}
.regi-form-actions button:last-child {
  min-width: 180px;
}
.regi-paid-note {
  font-size: 12px;
  color: #777;
  margin-bottom: 16px;
}
/* LINE Flex の書体・余白・輪郭を実画像と照合。トーク枠そのものは変更しない。 */
.generated-flex {
  border-radius: 16px;
  max-width: 300px;
  width: 100%;
  box-shadow: none;
}
.generated-flex .fx-box,
.generated-flex .fx-text {
  margin-bottom: 0;
}
.generated-flex .fx-text {
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
}
.generated-flex .fx-button {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  padding: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.generated-flex .rating-score {
  min-height: 44px;
  min-width: 0;
  font-size: 16px;
  align-items: center;
  justify-content: center;
}
.generated-flex .rating-score .fx-text {
  flex: none !important;
}
.generated-flex .rating-row {
  width: 100%;
}
.flex-carousel > .generated-flex {
  flex: 0 0 300px;
}
.line-comparison-sheet {
  min-height: 800px;
  background: #829ebe;
  padding: 24px;
  width: 100%;
}
.line-comparison-sheet .chat {
  padding: 0;
  background: transparent;
  width: 300px;
  min-height: 0;
}
.line-comparison-sheet .date-pill,
.line-comparison-sheet .message-label,
.line-comparison-sheet .chat-time,
.line-comparison-sheet .notice-time {
  display: none;
}
@media (max-width: 1199px) {
  .regi-two-columns {
    grid-template-columns: minmax(400px, 1fr) 256px;
    gap: 16px;
  }
  .regi-payment-panel {
    padding: 24px 16px 35px;
  }
}
@media (max-width: 900px) {
  .karte-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .regi-two-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .regi-header {
    flex-wrap: wrap;
  }
  .regi-header > div,
  .regi-header nav {
    gap: 12px;
  }
  .regi-full-card {
    padding: 16px;
    margin: 12px;
  }
}
@media (max-width: 600px) {
  .demo-modal-layer {
    padding: 0;
  }
  .demo-modal-shell {
    border-radius: 0;
    padding: 16px;
    max-height: 100dvh;
    width: 100%;
  }
  .demo-modal-shell > header > h2 {
    font-size: 20px;
  }
  .reserve-customer {
    gap: 8px;
    flex-wrap: wrap;
  }
  .reserve-customer > .outline-pill {
    margin-left: auto;
  }
  .wizard-step-count {
    left: 212px;
    top: 22px;
  }
  .wizard-follow-date {
    flex-direction: column;
    align-items: flex-start;
  }
  .wizard-actions {
    gap: 8px;
  }
  .regi-form-actions {
    flex-wrap: wrap;
  }
  .regi-form-actions button {
    flex: 1;
    min-width: 120px;
  }
  .regi-form-actions button:last-child {
    flex-basis: 100%;
  }
  .regi-header h1 {
    padding-right: 12px;
  }
  .regi-header nav {
    width: 100%;
    justify-content: space-between;
  }
  .flex-carousel > .generated-flex {
    flex-basis: 282px;
  }
}

.regi-bulk-staff {
  display: inline-block;
  background: #eee;
  border-radius: 17px;
  padding: 4px 8px;
  margin-left: 8px;
  white-space: nowrap;
}
.regi-sales-table input {
  font: inherit;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
  padding: 8px;
  width: 82px;
  text-align: right;
}
.regi-sales-table input[aria-label^="数量"] {
  width: 42px;
}
.regi-sales-table .regi-menu-row td:nth-child(2) {
  text-align: left;
  min-width: 160px;
}
.salon-comparison .line-comparison-sheet .promotion-card {
  display: none;
}
.suggested-menu-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.suggested-menu-preview {
  display: flex;
  align-items: center;
  gap: 24px;
}
.suggested-menu-preview > img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.suggested-menu-preview > div {
  flex: 1;
  min-width: 0;
}
.suggested-menu-preview select {
  max-width: 100%;
  width: 100%;
  padding: 8px 0;
  border: 0;
  font-size: 18px;
  font-weight: 600;
}
.suggested-menu-values {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  color: #777;
  flex-wrap: wrap;
}
.suggested-menu-values input {
  width: 100px;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 8px;
}
.suggested-menu-field dl {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0;
  gap: 16px;
}
.suggested-menu-field dd {
  margin: 0;
  font-weight: 600;
}
.suggested-menu-field dt {
  color: #777;
}
.memo-edit-title {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font: inherit;
  padding: 16px;
  margin: 24px 0;
}
.memo-delete {
  color: #ff0051;
  margin-left: auto;
}
/* C5の会計済み詳細。入力用パネルを再利用せず、確定値を表示する。 */
.regi-header-back {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  color: #777;
  border-radius: 50%;
  font-size: 30px;
}
.regi-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.regi-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 24px 0;
}
.regi-edit-label,
.regi-cancel-label,
.regi-new-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
}
.regi-edit-label,
.regi-new-label {
  color: white;
  background: #42d0c4;
}
.regi-cancel-label {
  color: #ff0051;
  border: 1px solid #ff9dbb;
}
.regi-detail-view .regi-full-card {
  margin-top: 16px;
}
.regi-detail-basic {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.regi-detail-basic > strong {
  font-size: 18px;
}
.regi-detail-basic > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.regi-detail-basic dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  margin: 0;
  font-size: 12px;
}
.regi-detail-basic dt {
  color: #777;
}
.regi-detail-basic dd {
  margin: 0;
}
.regi-status-label {
  display: inline-block;
  background: #e6fbf8;
  color: #42bfb5;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 10px;
  white-space: nowrap;
}
.regi-confirmed-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  background: #fff;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 12px;
}
.regi-point-detail {
  font-size: 13px;
  font-weight: 700;
}
.regi-point-detail dd {
  font-size: 12px;
  font-weight: 400;
}
.regi-detail-view .regi-payment-panel {
  padding-top: 24px;
}
.regi-detail-view .regi-sales-table .regi-subtotal td {
  font-weight: 600;
  border-bottom: 0;
}
.regi-detail-view .regi-sales-table .regi-subtotal td:first-child {
  text-align: right;
}
.regi-detail-view .regi-menu-row td:first-child {
  font-size: 12px;
}
.regi-detail-view .regi-menu-row td {
  vertical-align: top;
}
.regi-list-filter {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 12px;
  color: #777;
}
.regi-list-filter > div {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.regi-list-filter span {
  border: 1px solid #e6e6e6;
  padding: 8px;
  border-radius: 4px;
}
.regi-list-filter u {
  font-size: 11px;
}
.regi-list-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1100px;
  font-size: 12px;
}
.regi-list-table th {
  background: #f5f5f5;
  color: #777;
  text-align: left;
  font-weight: 400;
  padding: 16px 12px;
  white-space: nowrap;
}
.regi-list-table td {
  padding: 18px 12px;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
}
.regi-list-table small {
  display: block;
  font-size: 10px;
  margin-top: 12px;
  color: #777;
}
.regi-list-table .regi-status-label,
.regi-list-tech {
  display: table;
  margin-top: 12px;
}
.regi-list-tech {
  background: #1e9be1;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
}
.regi-list-table button {
  min-height: 28px;
  border-radius: 24px;
  padding: 4px 16px;
  font-size: 12px;
}
.regi-csv-label {
  padding: 4px 12px;
  border-radius: 16px;
  background: #777;
  color: white;
  font-size: 10px;
}
@media (max-width: 600px) {
  .regi-header-back {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }
  .regi-detail-basic {
    gap: 16px;
  }
  .regi-detail-basic > div {
    flex-direction: column;
  }
  .regi-detail-actions {
    margin: 16px 12px 0;
  }
  .regi-edit-label,
  .regi-cancel-label {
    font-size: 12px;
    padding: 6px 12px;
  }
  .regi-list-filter {
    gap: 12px;
  }
}
.regi-header .salon-icon {
  width: 20px;
  height: 20px;
  color: #777;
}
.regi-edit-label .salon-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.wizard-actions {
  position: sticky;
  bottom: 0;
  background: white;
}

/* 体験では添付済み写真のプレビューだけを表示する。 */
.thanks-attached-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.thanks-attached-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

/* 本番見本C7の編集フォーム。会計明細は詳細と同じ読み取り専用。 */
.memo-edit-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.memo-edit-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.memo-edit-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
}
.memo-edit-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.memo-photo-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  padding: 0;
  display: grid;
  place-items: center;
  color: white;
  background: #777777b3;
  font-size: 18px;
  line-height: 1;
}
.memo-photo-add {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f2f2f2;
  color: #919eab;
  font-size: 36px;
}
.memo-edit-card .memo-edit-title,
.memo-edit-content {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  padding: 8px 12px;
  margin: 0;
  color: #212b36;
  background: white;
}
.memo-edit-content {
  min-height: 54px;
  resize: vertical;
}
.memo-edit-actions,
.memo-edit-actions > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.memo-edit-actions {
  justify-content: space-between;
}
.memo-edit-actions button {
  width: auto;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  line-height: 1.5;
}
.memo-edit-actions .memo-save {
  background: #42d0c4;
  color: white;
}
.memo-edit-actions .memo-delete {
  background: #ff4842;
  color: white;
  opacity: 1;
}
.karte-account-category {
  display: block;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 4px;
  background: #f2f2f2;
  color: #777;
  font-size: 10px;
  border-radius: 4px;
}
.karte-transaction input[type="checkbox"] {
  accent-color: #777;
}
@media (max-width: 760px) {
  .memo-edit-photos {
    display: flex;
    overflow-x: auto;
    gap: 8px;
  }
  .memo-edit-photo,
  .memo-photo-add {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
  }
}
