/**
 * テナント HP デザイン（一般的なホームページ向け）
 * body.ls-theme-{name} + .ls-theme-bg
 */

.ls-theme-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* クリーン：白基調・シンプル */
.ls-theme-clean .ls-theme-bg {
  background: linear-gradient(180deg, var(--paper-light) 0%, var(--paper) 100%);
}
.ls-theme-clean .ls-tenant-header {
  background: color-mix(in srgb, var(--paper-light) 92%, transparent);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.ls-theme-clean .ls-section h2 {
  font-weight: 600;
}
.ls-theme-clean .ls-btn {
  border-radius: 4px;
}

/* コーポレート：ヘッダー帯・信頼感 */
.ls-theme-corporate .ls-theme-bg {
  background: var(--paper);
}
.ls-theme-corporate .ls-tenant-header {
  background: var(--primary);
  color: #fff;
  border-bottom: none;
  padding-bottom: 1rem;
}
.ls-theme-corporate .ls-tenant-brand a,
.ls-theme-corporate .ls-tenant-service,
.ls-theme-corporate .ls-tenant-auth,
.ls-theme-corporate .ls-tenant-auth a,
.ls-theme-corporate .ls-user-name {
  color: #fff !important;
}
.ls-theme-corporate .ls-tenant-nav {
  border-bottom: none;
  margin-top: .35rem;
}
.ls-theme-corporate .ls-tab {
  color: rgba(255,255,255,.78);
  border-bottom-color: transparent;
}
.ls-theme-corporate .ls-tab.is-active,
.ls-theme-corporate .ls-tab:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.ls-theme-corporate .ls-section h2 {
  border-left: 4px solid var(--primary);
  padding-left: .65rem;
}
.ls-theme-corporate .ls-btn {
  border-radius: 2px;
}

/* エディトリアル：読みもの */
.ls-theme-editorial .ls-theme-bg {
  background: var(--paper-light);
}
.ls-theme-editorial .ls-tenant-brand a,
.ls-theme-editorial .ls-section h2 {
  font-family: var(--font-serif);
  letter-spacing: .04em;
}
.ls-theme-editorial .ls-section h2 {
  font-size: 1.55rem;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: .45rem;
}
.ls-theme-editorial .ls-prose,
.ls-theme-editorial .ls-prose--lead {
  font-size: 1.05rem;
  max-width: 36rem;
}
.ls-theme-editorial .ls-tab.is-active {
  font-family: var(--font-serif);
}

/* ショップ：店舗らしい親しみ */
.ls-theme-shop .ls-theme-bg {
  background:
    linear-gradient(180deg, var(--paper-light), var(--paper));
}
.ls-theme-shop .ls-tenant-header {
  background: var(--paper-light);
  border-bottom: 3px solid var(--primary);
}
.ls-theme-shop .ls-tenant-brand a {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.ls-theme-shop .ls-btn {
  border-radius: 6px;
  box-shadow: 0 2px 0 color-mix(in srgb, var(--primary) 35%, #000);
}
.ls-theme-shop .ls-tab.is-active {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 6px 6px 0 0;
  border-bottom-width: 3px;
}
.ls-theme-shop .ls-flash {
  border-radius: 6px;
}

/* クラシック：落ち着いた紙面 */
.ls-theme-classic .ls-theme-bg {
  background: var(--paper);
}
.ls-theme-classic .ls-tenant-header {
  border-bottom: 3px double var(--ink);
  background: var(--paper-light);
}
.ls-theme-classic .ls-tenant-brand a,
.ls-theme-classic .ls-section h2 {
  font-family: var(--font-serif);
}
.ls-theme-classic .ls-section + .ls-section {
  border-top-style: double;
  border-top-width: 3px;
}
.ls-theme-classic .ls-btn {
  background: transparent;
  color: var(--primary) !important;
  border: 1px solid var(--primary);
}
.ls-theme-classic .ls-btn:hover {
  background: var(--primary);
  color: #fff !important;
}
.ls-theme-classic .ls-eyebrow {
  letter-spacing: .2em;
}

/* モダン：情報量・メリハリ */
.ls-theme-modern .ls-theme-bg {
  background: var(--paper-light);
}
.ls-theme-modern .ls-tenant-header {
  background: #fff;
  box-shadow: 0 1px 0 var(--rule);
}
.ls-theme-modern .ls-section h2 {
  font-size: 1.6rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.ls-theme-modern .ls-eyebrow {
  color: var(--primary);
}
.ls-theme-modern .ls-btn {
  border-radius: 0;
  letter-spacing: .06em;
  text-transform: none;
}
.ls-theme-modern .ls-feature-list li,
.ls-theme-modern .ls-post-list li,
.ls-theme-modern .ls-request-item {
  background: #fff;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent);
  border: none;
}
.ls-theme-modern .ls-tab.is-active {
  border-bottom-width: 3px;
}

/* HP コンテンツ共通 */
.ls-prose {
  font-size: 1rem;
  line-height: 1.9;
}
.ls-prose--lead {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 2;
}
.ls-timeline {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  border-left: 2px solid var(--rule);
  padding-left: 1.1rem;
}
.ls-timeline li {
  position: relative;
}
.ls-timeline li::before {
  content: '';
  position: absolute;
  left: -1.35rem;
  top: .45rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--primary);
}
.ls-timeline-year {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: .92rem;
  margin-bottom: .2rem;
}

.ls-theme-cards {
  display: grid;
  gap: .65rem;
  margin: .75rem 0 1rem;
}
@media (min-width: 640px) {
  .ls-theme-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.ls-theme-card {
  display: grid;
  gap: .35rem;
  padding: .75rem;
  border: 1px solid var(--rule);
  background: var(--paper-light);
  cursor: pointer;
  text-align: left;
}
.ls-theme-card input { margin-right: .35rem; }
.ls-theme-card strong { display: block; }
.ls-theme-card span { font-size: .82rem; color: var(--ink-muted); }
.ls-color-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .65rem;
}
.ls-color-row label {
  font-size: .82rem;
}
.ls-color-row input[type="color"] {
  width: 100%;
  height: 2.2rem;
  padding: 0;
  border: 1px solid var(--rule);
  background: #fff;
}

.ls-richmenu-dl {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}
.ls-richmenu-dl-block {
  padding: .85rem 1rem;
  border: 1px solid var(--rule);
  background: var(--paper-light);
}
.ls-richmenu-dl-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-top: .5rem;
}
.ls-richmenu-dl-links .ls-btn {
  padding: .5rem .85rem;
  font-size: .82rem;
}
