/* ----------------------------- */
/* 01. Design tokens             */
/* ----------------------------- */
:root {
  --bg: #F6F4FF;
  --card: #ffffff;
  --text: #2B2430;
  --muted: #6B6472;

  --primary: #6D28D9;
  --primary-hover: #5B21B6;

  --accent: #14B8A6;
  --border: #E8E0FF;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(35, 16, 70, 0.08);
  --shadow-sm: 0 2px 10px rgba(35, 16, 70, 0.06);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP",
               "Segoe UI", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";

  --font-serif: var(--font-sans);
}

/* ----------------------------- */
/* 02. Base / Reset              */
/* ----------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: var(--font-sans);
}

html { background: var(--bg); }

body {
  background: var(--bg);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 520px;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(109,40,217,0.07), transparent 65%),
    radial-gradient(1000px 500px at 90% 20%, rgba(20,184,166,0.05), transparent 60%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----------------------------- */
/* 03. Primitives (layout)       */
/* ----------------------------- */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

.grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* helpers */
.row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ----------------------------- */
/* 04. Utilities / Typography    */
/* ----------------------------- */
.is-hidden { display: none !important; }
.muted { color: var(--muted); }

.h1 {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  font-size: 22px;
  margin: 0 0 8px;
}

.h2 {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  font-size: 18px;
  margin: 0;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  font-weight: 600;
  color: var(--primary);
}

.field-error {
  margin-top: 6px;
  font-size: 12px;
  color: #b42318;
}

/* ----------------------------- */
/* 05. Components                */
/* ----------------------------- */

/* Card */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}

.card-body { padding: 16px; }

.card-footer {
  padding: 12px 16px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Badge */
.badge-wrap {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.10);
  color: #0F766E;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.badge-primary {
  background: rgba(109, 40, 217, 0.10);
  color: #5B21B6;
  border: 1px solid rgba(109, 40, 217, 0.25);
}

.badge-muted {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.10);
  color: var(--muted);
}

/* Avatar */
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #EEE8FF;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 600;
  flex: 0 0 auto;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-lg {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.24);
}

.btn:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: rgba(235,106,122,0.3);
  box-shadow: none;
}

.btn-secondary:hover {
  background: #fff2f4;
}

.btn-small {
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}

.field > label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 16px;
  background: #fff;
  outline: none;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  border-color: rgba(109, 40, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.12);
}

.input.is-invalid,
.textarea.is-invalid {
  border-color: rgba(180, 35, 24, 0.55);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

/* Flash */
.flash {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
}

.flash-notice {
  border-color: rgba(66,219,198,0.5);
  background: #e7fffa;
}

.flash-alert {
  border-color: rgba(235,106,122,0.45);
  background: #fff2f4;
}

/* Slot list */
.slot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}

.slot-time {
  font-weight: 700;
  font-size: 14px;
}

/* Auth */
.auth-wrap {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.auth-card {
  width: 100%;
  max-width: 460px;
}

/* ----------------------------- */
/* 06. Layout: Header / Nav      */
/* ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 6px 18px rgba(35, 16, 70, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;

  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 18px;
}

.brand:hover {
  text-decoration: none;
  background: rgba(109, 40, 217, 0.06);
}

.brand-mark {
  font-size: 18px;
  line-height: 1;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 24px 0;
  color: var(--muted);
}

/* Nav (generic) */
.nav {
  display: flex;
  gap: 12px;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
}

/* Main nav pills */
.nav--main { gap: 8px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(8px);
}

.nav-link:hover {
  text-decoration: none;
  color: var(--text);
  background: rgba(109, 40, 217, 0.06);
  border-color: rgba(109, 40, 217, 0.18);
}

.nav-link.is-active {
  color: #4C1D95;
  font-weight: 600;
  background: rgba(109, 40, 217, 0.12);
  border-color: rgba(109, 40, 217, 0.25);
}

/* Teller nav (horizontal scroll) */
.nav--teller a,
.nav--teller form button {
  white-space: nowrap;
}

.nav--teller form { margin: 0; }

/* Mobile header behavior */
@media (max-width: 600px) {
  .brand-logo { height: 28px; }
  .brand-sub { display: none; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav--main,
  .nav--teller {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    flex-wrap: nowrap;
  }

  .nav--main::-webkit-scrollbar,
  .nav--teller::-webkit-scrollbar {
    display: none;
  }

  .nav--teller a {
    font-size: 13px;
    padding: 6px 2px;
  }

  .nav--teller .btn-small {
    height: 34px;
    padding: 0 12px;
  }
}

/* ----------------------------- */
/* 06b. Layout: Teller header    */
/* ----------------------------- */
.site-header--teller {
  background: rgba(255, 255, 255, 0.96);
}

.header-inner--teller { gap: 10px; }

.header-left--teller {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand--teller { padding: 6px 8px; }

.teller-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.teller-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #4C1D95;
  background: rgba(109, 40, 217, 0.10);
  border: 1px solid rgba(109, 40, 217, 0.22);
  white-space: nowrap;
  width: fit-content;
}

.teller-name {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* nav 内の form（ログアウト）を崩さない */
.nav-form {
  margin: 0;
  display: inline-flex;
}

.nav-form button {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.nav-link--ext { color: var(--muted); }

.nav-link--danger {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.22);
  background: rgba(180, 35, 24, 0.06);
}

.nav-link--danger:hover {
  background: rgba(180, 35, 24, 0.10);
  border-color: rgba(180, 35, 24, 0.30);
  color: #7a1a12;
}

@media (max-width: 600px) {
  .teller-name { max-width: 160px; }
}

/* ----------------------------- */
/* 07. Pattern: Fortune teller   */
/* ----------------------------- */
.ft-grid { align-items: stretch; }

@media (min-width: 1024px) {
  .ft-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ft-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ft-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(109, 40, 217, 0.14);
}

.ft-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.ft-card-link:hover { text-decoration: none; }

.ft-card-link:focus-visible {
  outline: 3px solid rgba(109, 40, 217, 0.25);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.ft-card:active { transform: translateY(0); }

.ft-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(109,40,217,0.20), transparent 60%),
    radial-gradient(900px 300px at 90% 40%, rgba(20,184,166,0.16), transparent 55%),
    #F2EEFF;
  overflow: hidden;
}

.ft-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ft-media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(43, 36, 48, 0.55);
  font-weight: 700;
  font-size: 36px;
}

.ft-media-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #0F766E;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 184, 166, 0.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(35, 16, 70, 0.12);
}

.ft-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ft-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ft-name {
  margin: 0;
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1.25;
}

.ft-more {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.ft-price {
  font-size: 13px;
  color: var(--muted);
}

.ft-price strong {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ft-price-unit { margin-left: 6px; }

.ft-badges .badge { max-width: 100%; }

.ft-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.ft-next {
  font-size: 12px;
  color: #0F766E;
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 12px;
  padding: 8px 10px;
}

.ft-next--none {
  color: var(--muted);
  background: rgba(0,0,0,0.035);
  border-color: rgba(0,0,0,0.08);
}

.ft-cta {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

/* list head helper */
.list-head{
  margin: 12px 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.list-head .lead{
  margin: 0;
  font-size: 12px;
}

@media (max-width: 520px){
  .list-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.ft-headline-mini {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.ft-bio--compact {
  -webkit-line-clamp: 2;
}

/* ----------------------------- */
/* 08. Pattern: Detail           */
/* ----------------------------- */
.ft-detail-top { margin: 14px 0 10px; }

.ft-headline {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ft-headline-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.ft-headline-rule {
  flex: 1;
  min-width: 28px;
  height: 2px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.35);
  position: relative;
}

.ft-headline-rule::before{
  content: "✦";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-55%);
  color: rgba(109, 40, 217, 0.55);
  font-size: 14px;
  line-height: 1;
}

.ft-tagline{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(109,40,217,0.06);
  border: 1px solid rgba(109,40,217,0.14);
  font-size: 13px;
  line-height: 1.7;
}

/* モバイルは線を消して見出しの可読性優先（好みで） */
@media (max-width: 600px) {
  .ft-headline-text { font-size: 16px; }
  .ft-headline-rule { display: none; }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 12px;
}

.back-link:hover {
  text-decoration: none;
  background: rgba(0,0,0,0.04);
  color: var(--text);
}

.ft-detail-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 960px) {
  .ft-detail-grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .ft-slots {
    position: sticky;
    top: 86px;
    align-self: start;
  }
}

.ft-media--detail { aspect-ratio: 16 / 9; }

.ft-detail-body { gap: 12px; }

.ft-name--detail {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.ft-info {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
}

.ft-info-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.ft-info-label {
  flex: 0 0 auto;
  width: 42px;
  font-size: 12px;
  color: var(--muted);
}

.ft-info-value { font-size: 13px; }

.ft-prose {
  font-size: 14px;
  line-height: 1.8;
}

.ft-prose p { margin: 10px 0 0; }
.ft-prose p:first-child { margin-top: 0; }

.ft-badges--detail { margin-top: 0; }

/* Slots header */
.slots-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.slots-next {
  font-size: 12px;
  color: #0F766E;
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.slot-list--detail { gap: 10px; }
.slot--detail { align-items: center; }

.slot-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slot-date {
  font-size: 12px;
  color: var(--muted);
}

.slot--detail .slot-time { font-weight: 600; }

/* ---- Availabilities: 日付区切り & 折りたたみ ---- */
.slot-day-list{
  display: grid;
  gap: 12px;
}

.slot-day{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.slot-day-summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(109,40,217,0.05);
}

.slot-day-summary::-webkit-details-marker{
  display: none;
}

/* 右端の▼ */
.slot-day-summary::after{
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(0,0,0,0.35);
  border-bottom: 2px solid rgba(0,0,0,0.35);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.slot-day[open] .slot-day-summary{
  background: rgba(109,40,217,0.08);
}

.slot-day[open] .slot-day-summary::after{
  transform: rotate(225deg);
}

.slot-day-left{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.slot-day-date{
  font-weight: 800;
}

.slot-day-count{
  font-size: 13px;
  white-space: nowrap;
}

.slot-list--grouped{
  margin: 0;
  padding: 12px;
}

/* ---- User slots: 日付タブ ---- */
.slot-tabs{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 10px;
  margin: 0 0 8px;
}

.slot-tab{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(109,40,217,0.18);
  background: rgba(255,255,255,0.85);
  text-decoration: none;
}

.slot-tab:hover{ text-decoration: none; }

.slot-tab.is-active{
  background: rgba(109,40,217,0.12);
  border-color: rgba(109,40,217,0.32);
}

.slot-tab-date{ font-weight: 800; }
.slot-tab-dow{ font-size: 12px; color: var(--muted); }

.slot-day-title{
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0 10px;
}

/* ----------------------------- */
/* 09. Pattern: Carousel         */
/* ----------------------------- */
.ft-carousel { overflow: hidden; }

.ft-carousel-viewport {
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ft-carousel-viewport::-webkit-scrollbar { display: none; }

.ft-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
}

.ft-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(35, 16, 70, 0.18);
}

.ft-carousel-btn--prev { left: 10px; }
.ft-carousel-btn--next { right: 10px; }

@media (max-width: 600px) {
  .ft-carousel-btn { display: none; }
}

.ft-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
}

.ft-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.10);
  cursor: pointer;
}

.ft-carousel-dot.is-active {
  background: rgba(109, 40, 217, 0.55);
  border-color: rgba(109, 40, 217, 0.55);
}

/* ----------------------------- */
/* 10. Pattern: Gallery (shared) */
/* ----------------------------- */
.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.gallery-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.gallery-remove {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ----------------------------- */
/* 11. Page: Booking typography  */
/* ----------------------------- */
.ft-slots .h2,
.ft-slots .slot-time,
.ft-slots .slot-date,
.ft-slots .slots-next,
.ft-slots .btn {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

.ft-slots .slot-time { font-weight: 700; }

.booking-page .field label,
.booking-page .btn {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

.booking-page .input,
.booking-page .textarea,
.booking-page .lead,
.booking-page p,
.booking-page li {
  font-family: var(--font-sans);
}

/* ----------------------------- */
/* 12. Page: LP (mobile-first)   */
/* ----------------------------- */

/* ----------------------------- */
/* 12. Page: LP (mobile first)   */
/* ----------------------------- */
:root{
  /* 資料のピンクをLPのアクセントに */
  --lp-pink: #D96CC5;          /* ふんわり */
  --lp-pink-strong: #C23AA9;   /* 見出し帯（白文字でも読める濃さ） */
  --lp-pink-soft: rgba(217,108,197,0.14);
}

.lp-main { margin-top: 18px; }

/* セクション間の“詰まり”を解消 */
.lp-stack{
  display: grid;
  gap: 22px;
}

@media (min-width: 900px){
  .lp-stack{ gap: 26px; }
}

/* ===== Hero ===== */
.lp-hero {
  padding: 32px 0 18px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background:
    radial-gradient(1200px 520px at 12% 0%, rgba(109,40,217,0.14), transparent 60%),
    radial-gradient(1100px 520px at 92% 18%, rgba(20,184,166,0.10), transparent 55%),
    rgba(255,255,255,0.35);
}

.lp-hero-lead{
  margin: 10px 0 10px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
  font-size: 14px;
  line-height: 1.6;
}

.lp-hero-grid{
  display: grid;
  gap: 18px;
  align-items: center;
}

@media (min-width: 960px){
  .lp-hero-grid{
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
  }
}

.lp-hero-copy{ max-width: 720px; }

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #4C1D95;
  background: rgba(109, 40, 217, 0.10);
  border: 1px solid rgba(109, 40, 217, 0.22);
  padding: 5px 10px;
  border-radius: 999px;
}

.lp-title {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.18;
  margin: 12px 0 8px;
  letter-spacing: 0.01em;
}

.lp-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.lp-hero-actions{ margin-top: 14px; }

.lp-promo{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(194,58,169,0.22);
  background: rgba(255,255,255,0.75);
  color: #5B2170;
  font-size: 12px;
  font-weight: 600;
}

.lp-cta{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* LP内だけ：ボタンの文字を中央揃えにする */
.lp-form-actions{
  display: flex;
  justify-content: flex-end;
}

.lp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  /* 高さを決めると、縦ズレが出にくい */
  min-height: 44px;

  /* 文字が沈む原因になりがちなline-heightをリセット */
  line-height: 1;

  /* paddingは上下左右でOK（min-heightがあるので詰まりにくい） */
  padding: 12px 16px;
}

/* 既存のsecondaryはそのまま */
.lp-btn--secondary{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(194,58,169,0.22);
  box-shadow: none;
}

.lp-btn--secondary:hover{
  background: rgba(217,108,197,0.08);
  border-color: rgba(194,58,169,0.28);
}

.lp-hero-notes{
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
}

.lp-hero-visual{ width: 100%; }

.lp-hero-shot{
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.85);
  padding: 10px;
}

.lp-hero-shot-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.lp-hero-shot-cap{
  margin-top: 8px;
  font-size: 12px;
}

/* ===== Cards ===== */
.lp-card { box-shadow: var(--shadow-sm); }
.lp-card .card-body { padding: 18px; }

.lp-section-head{
  margin-bottom: 12px;
}

.lp-h2{ margin: 0 0 6px; }
.lp-section-head .lead{
  margin: 0;
  font-size: 13px;
}

/* ===== Pink banner ===== */
.lp-card-banner{
  padding: 12px 14px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--lp-pink-strong), var(--lp-pink));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== Problems ===== */
.lp-problems{
  display: grid;
  gap: 12px;
}

@media (min-width: 768px){
  .lp-problems{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px){
  .lp-problems{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.lp-problem{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.85);
}

.lp-problem-illust{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.lp-problem-text{
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

/* ===== Slogan ===== */
.lp-slogan{
  border: 1px solid rgba(194,58,169,0.18);
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(800px 220px at 15% 0%, rgba(217,108,197,0.14), transparent 60%),
    radial-gradient(800px 220px at 90% 30%, rgba(109,40,217,0.10), transparent 60%),
    rgba(255,255,255,0.85);
}

.lp-slogan-inner{ max-width: 980px; margin: 0 auto; }

.lp-slogan-kicker{
  margin: 0;
  font-weight: 700;
  color: #5B2170;
  font-size: 13px;
}

.lp-slogan-title{
  margin: 8px 0 6px;
  font-size: 24px;
  line-height: 1.2;
}

.lp-slogan-brand{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(194,58,169,0.12);
  border: 1px solid rgba(194,58,169,0.22);
  color: #4C1D95;
  font-weight: 700;
}

.lp-slogan-cta{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Capabilities (5 items) ===== */
.lp-cap-grid{
  display: grid;
  gap: 10px;
}

@media (min-width: 900px){
  .lp-cap-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.lp-cap{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.85);
}

.lp-cap-no{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--lp-pink-strong);
}

.lp-cap-title{
  font-weight: 700;
  margin-top: 2px;
}

.lp-cap-desc{
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
}

/* ===== Demo shots ===== */
.lp-shots{
  display: grid;
  gap: 12px;
}

@media (min-width: 900px){
  .lp-shots{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-shot--wide{ grid-column: 1 / -1; }
}

.lp-shot{ margin: 0; }
.lp-shot-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}

.lp-shot-cap{
  margin-top: 8px;
  font-size: 12px;
}

.lp-demo-cta{
  margin-top: 12px;
}

/* ===== Flow ===== */
.lp-flow-grid{
  display: grid;
  gap: 10px;
  align-items: center;
}

@media (min-width: 980px){
  .lp-flow-grid{
    grid-template-columns: 1fr auto 1fr;
  }
}

.lp-flow-step{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.85);
}

.lp-flow-title{
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-flow-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.lp-flow-arrow{
  display: none;
  font-weight: 700;
  color: #5B2170;
  opacity: 0.7;
  text-align: center;
}

@media (min-width: 980px){
  .lp-flow-arrow{ display: block; font-size: 22px; }
}

/* ===== Onboard ===== */
.lp-onboard-grid{
  display: grid;
  gap: 14px;
}

@media (min-width: 900px){
  .lp-onboard-grid{ grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}

.lp-person{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.85);
  text-align: center;
}

.lp-person-img{
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.lp-person-title{
  margin-top: 10px;
  font-weight: 700;
}

.lp-person-desc{
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
}

.lp-steps--tight{ margin-top: 0; }

.lp-onboard-note{
  margin: 10px 0 0;
  font-size: 12px;
}

/* ===== Compare (responsive) ===== */
.lp-compare--table{ display: block; }
.lp-compare--cards{ display: none; }

@media (max-width: 820px){
  .lp-compare--table{ display: none; }
  .lp-compare--cards{ display: grid; gap: 10px; }
}

.lp-compare-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}

.lp-compare-th,
.lp-compare-td,
.lp-compare-rowhead{
  padding: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: top;
  font-size: 13px;
  line-height: 1.7;
  background: rgba(255,255,255,0.85);
}

.lp-compare-th--uracas{
  color: #4C1D95;
}

.lp-compare-td--uracas{
  background: rgba(217,108,197,0.08);
}

.lp-compare-card{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.85);
}

.lp-compare-card-title{
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-compare-sides{
  display: grid;
  gap: 10px;
}

.lp-compare-side{
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.85);
}

.lp-compare-side--uracas{
  border-color: rgba(194,58,169,0.22);
  background: rgba(217,108,197,0.08);
}

.lp-compare-side-title{
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 12px;
  color: #5B2170;
}

/* ===== FAQ ===== */
.lp-faq{
  display: grid;
  gap: 10px;
}

.lp-faq-item{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  padding: 10px 12px;
}

.lp-faq-item summary{
  cursor: pointer;
  font-weight: 700;
}

.lp-faq-body{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
}

/* ===== Contact ===== */
.lp-contact-lead{
  margin: 0 0 10px;
  font-size: 13px;
}

.lp-form-actions{
  display: flex;
  justify-content: flex-end;
}

/* ===== Mobile adjustments ===== */
.only-sp{ display: inline; }
@media (min-width: 720px){
  .only-sp{ display: none; }
}

@media (max-width: 600px){
  .lp-hero{ padding: 26px 0 14px; }
  .lp-title{ font-size: 24px; line-height: 1.22; }
  .lp-subtitle{ font-size: 14px; }
  .lp-card .card-body{ padding: 16px; }

  /* スマホはボタンを全幅で押しやすく */
  .lp-cta .btn{
    width: 100%;
    justify-content: center;
  }

  .lp-slogan-title{ font-size: 20px; }

  /* Flowは縦で読めるように（矢印は省略） */
  .lp-flow-arrow{ display: none; }
}

/* =============================
   LP: polish for mobile / deck
   ============================= */
.lp-page {}

/* spacing */
.lp-main { margin-top: 18px; }
.lp-stack { display: grid; gap: 26px; }

/* ----- buttons (LP only) ----- */
.lp-page .btn-outline{
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  border: 1px solid rgba(109, 40, 217, 0.22);
  box-shadow: none;
}
.lp-page .btn-outline:hover{
  background: rgba(109,40,217,0.06);
  border-color: rgba(109, 40, 217, 0.30);
  text-decoration: none;
}

/* ----- hero card border polish ----- */
.lp-hero{
  padding: 34px 0 22px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background:
    radial-gradient(1200px 520px at 12% 0%, rgba(109,40,217,0.12), transparent 60%),
    radial-gradient(1100px 520px at 92% 18%, rgba(20,184,166,0.08), transparent 55%),
    rgba(255,255,255,0.25);
}

.lp-hero-card{
  border-radius: 22px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(109,40,217,0.10);
  box-shadow: 0 18px 44px rgba(35, 16, 70, 0.10);
  overflow: hidden;
}

.lp-hero-grid{
  display: grid;
  gap: 18px;
  padding: 18px;
  align-items: center;
}

@media (min-width: 960px){
  .lp-hero-grid{
    grid-template-columns: 1.05fr 0.95fr;
    padding: 22px;
  }
}

.lp-promo-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(236,72,153,0.10);
  border: 1px solid rgba(236,72,153,0.20);
  color: #7a1a52;
  font-size: 13px;
  font-weight: 600;
}

.lp-hero-cta{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 600px){
  .lp-hero-cta .btn{
    width: 100%;
    justify-content: center;
  }
}

.lp-hero-bullets{
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.lp-hero-visual{ display: grid; gap: 8px; }
.lp-hero-shot{
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.lp-hero-caption{ font-size: 12px; }

/* ----- “Problems” section (AirRESERVE-ish) ----- */
.lp-section{ margin-top: 22px; }

.lp-band{
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(236,72,153,0.14), rgba(236,72,153,0.06));
  border: 1px solid rgba(236,72,153,0.18);
}
.lp-band-title{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #5a2142;
}

.lp-problems{
  margin-top: 12px;
  display: grid;
  gap: 12px;
}
@media (min-width: 768px){
  .lp-problems{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

.lp-problem{
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.88);
}

.lp-problem-illust{
  width: clamp(64px, 14vw, 92px); /* ←大きすぎ問題を解決 */
  height: auto;
  flex: 0 0 auto;
  border-radius: 12px;
}

.lp-problem-title{
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.lp-problem-desc{
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

/* ----- mid CTA band ----- */
.lp-cta-band{
  margin-top: 18px;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(109,40,217,0.10), transparent 60%),
    radial-gradient(900px 260px at 90% 30%, rgba(236,72,153,0.08), transparent 55%),
    rgba(255,255,255,0.70);
  border: 1px solid rgba(109,40,217,0.10);
  box-shadow: var(--shadow-sm);
}

.lp-cta-band-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.lp-cta-band-kicker{
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.lp-cta-band-title{
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.lp-wordmark{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(109,40,217,0.10);
  border: 1px solid rgba(109,40,217,0.20);
  color: #4C1D95;
  font-weight: 600;
}

.lp-cta-band-desc{
  margin: 8px 0 0;
  font-size: 13px;
}

.lp-cta-band-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 600px){
  .lp-cta-band-actions .btn{ width: 100%; justify-content: center; }
}

/* CTA band title: text + logo */
.lp-cta-band-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

.lp-cta-band-title-text {
  display: inline-block;
}

.lp-cta-band-logo {
  display: block;
  height: 40px;   /* ロゴの見え方に合わせて調整OK */
  width: auto;
}

/* スマホ */
@media (max-width: 600px) {
  .lp-cta-band-logo {
    height: 34px;
  }
}

/* ----------------------------- */
/* LP: Capabilities (slides)     */
/* ----------------------------- */

.lp-capabilities .lp-section-head { margin-bottom: 14px; }

.lp-stories {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.lp-story {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.82);
}

@media (min-width: 860px) {
  .lp-story {
    grid-template-columns: 1.15fr 0.85fr; /* 画像を少し広め */
    gap: 18px;
    padding: 18px;
  }

  .lp-story.is-reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .lp-story.is-reverse .lp-story-media { order: 2; }
}

.lp-story-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

/* 見出し行（番号+タイトル） */
.lp-story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.lp-story-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(109, 40, 217, 0.85);
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.18);
}

.lp-story-title {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .lp-story-title { font-size: 16px; }
}

.lp-story-list {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.lp-capabilities-cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lp-capabilities-note {
  margin-top: 10px;
  font-size: 12px;
}

/* ----- demo shots: mobile = swipe rail ----- */
.lp-shot-rail{
  margin-top: 12px;
}

@media (max-width: 767px){
  .lp-shots{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .lp-shots::-webkit-scrollbar{ display: none; }

  .lp-shot{
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .lp-shot--wide{ flex-basis: 86%; }
}

.btn-ghost{
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  border: 1px solid rgba(109,40,217,0.28);
  box-shadow: none;
}

.btn-ghost:hover{
  background: rgba(109,40,217,0.06);
  border-color: rgba(109,40,217,0.34);
}

/* ----------------------------- */
/* 13. Page: Teller dashboard    */
/* ----------------------------- */
.teller-dashboard .dash-head {
  margin: 18px 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 520px) {
  .teller-dashboard .dash-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

.teller-dashboard .dash-grid { align-items: stretch; }
.teller-dashboard .dash-wide { margin-top: 14px; }

.teller-dashboard .dash-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.teller-dashboard .dash-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.teller-dashboard .dash-link {
  font-size: 12px;
  text-decoration: none;
}

.teller-dashboard .dash-link:hover { text-decoration: underline; }

.teller-dashboard .dash-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.teller-dashboard .dash-progress-meta {
  font-size: 12px;
  white-space: nowrap;
}

.teller-dashboard .dash-progress {
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.18);
}

.teller-dashboard .dash-progress-bar {
  height: 100%;
  width: 0;
  background: rgba(109, 40, 217, 0.55);
}

.teller-dashboard .dash-checklist {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.teller-dashboard .dash-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--muted);
}

.teller-dashboard .dash-checklist li::before {
  content: "□";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(109, 40, 217, 0.70);
  font-weight: 700;
}

/* ----------------------------- */
/* 14. Page: Teller profile edit */
/* ----------------------------- */
.teller-profile-page .page-head--profile {
  margin: 18px 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 520px) {
  .teller-profile-page .page-head--profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.teller-profile-page .profile-status {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.teller-profile-page .profile-form {
  display: grid;
  gap: 14px;
  padding-bottom: 76px; /* sticky actions に隠れないように */
}

/* card padding */
.teller-profile-page .profile-card .card-body {
  padding: 22px; /* 18〜24で調整 */
}

.teller-profile-page .profile-card .form {
  gap: 20px;
}

/* section */
.teller-profile-page .section-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.teller-profile-page .section-sub {
  margin: 4px 0 0;
  font-size: 12px;
}

.teller-profile-page .h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.teller-profile-page .section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.teller-profile-page .section-block {
  display: grid;
  gap: 16px; /* 余白を広めに */
}

.teller-profile-page .divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 14px 0;
}

.teller-profile-page .field-help {
  font-size: 12px;
  margin-top: 6px;
}

/* Upload UI */
.teller-profile-page .upload-row {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.teller-profile-page .upload-preview { flex: 0 0 auto; }

.teller-profile-page .upload-img {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  display: block;
}

.teller-profile-page .upload-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.teller-profile-page .upload-info {
  flex: 1;
  min-width: 220px;
  display: grid;
  gap: 8px;
}

.teller-profile-page .upload-hint,
.teller-profile-page .upload-filename,
.teller-profile-page .upload-spec {
  font-size: 12px;
}

.teller-profile-page .upload-filename { min-height: 16px; }

.teller-profile-page .upload-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hide native file input; replace with label button */
.teller-profile-page .file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* label/button look */
.teller-profile-page .file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1; /* 文言の上寄り対策 */
  cursor: pointer;
  text-decoration: none;
}

/* Gallery tweaks (page-scoped) */
.teller-profile-page .gallery {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.teller-profile-page .gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.teller-profile-page .gallery-preview {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

/* details hint */
.teller-profile-page details.hint {
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.75);
  border-radius: 12px;
  padding: 10px 12px;
}

.teller-profile-page details.hint > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
}

.teller-profile-page details.hint > summary::-webkit-details-marker {
  display: none;
}

.teller-profile-page .hint-body {
  margin-top: 8px;
  font-size: 12px;
}

/* Sticky action bar */
.teller-profile-page .profile-actions {
  position: sticky;
  bottom: 12px;
  z-index: 5;

  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;

  padding: 10px;
  border-radius: 14px;
  background: rgba(246, 244, 255, 0.88);
  border: 1px solid rgba(109, 40, 217, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(35, 16, 70, 0.10);
}

/* ----------------------------- */
/* 15. Page: Teller availability */
/* ----------------------------- */
.teller-availability-page .field-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.teller-availability-page .input-lg {
  height: 48px;
  font-size: 16px;
  padding: 12px 14px;
}

.teller-availability-page .dt-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}

.teller-availability-page .dt-picker {
  display: grid;
  gap: 10px;
}

@media (min-width: 680px) {
  .teller-availability-page .dt-picker {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.teller-availability-page .dt-label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.teller-availability-page .dt-help {
  margin-top: 6px;
  font-size: 12px;
}

.teller-availability-page .dt-summary {
  margin-top: 10px;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
}

/* duration: segmented */
.teller-availability-page .segmented {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.teller-availability-page .segmented-item {
  position: relative;
  display: inline-flex;
}

.teller-availability-page .segmented-item input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.teller-availability-page .segmented-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.70);
  color: var(--muted);
  font-weight: 600;
}

.teller-availability-page .segmented-item input:checked + span {
  color: #4C1D95;
  background: rgba(109, 40, 217, 0.12);
  border-color: rgba(109, 40, 217, 0.25);
}

/* optional details */
.teller-availability-page .details {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.75);
}

.teller-availability-page .details > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

/* ----------------------------- */
/* 16. Page: Shops               */
/* ----------------------------- */
.shop-surface {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
}

.shop-surface-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

/* ===== Shop location (address/access/map) ===== */
.shop-location-card .h2 {
  letter-spacing: 0.01em;
}

.shop-kv {
  display: grid;
  gap: 0;
}

.shop-kv-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.shop-kv-row:first-child {
  border-top: none;
  padding-top: 0;
}

.shop-kv-label {
  width: 90px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding-top: 2px;
}

.shop-kv-value {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.shop-kv-prose p {
  margin: 0;
}

.shop-kv-prose p + p {
  margin-top: 8px;
}

.shop-map-link {
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-map-link:hover {
  opacity: 0.85;
}

/* Footer links */
.site-footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.site-footer-nav{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
}

.site-footer-link{
  color: var(--muted);
  text-decoration:none;
}

.site-footer-link:hover{
  color: var(--text);
  text-decoration: underline;
}

.site-footer-sep{
  color: rgba(0,0,0,0.25);
}

/* Form legal note */
.lp-form-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.lp-form-legal{
  margin: 0;
  font-size:12px;
  line-height:1.7;
  text-align:right;
}

.lp-form-legal a{
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-form-legal a:hover{
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 600px){
  .lp-form-actions{
    align-items:stretch;
  }
  .lp-form-legal{
    text-align:left;
  }
}
