@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@500;600;700;800&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --brand: #2f8a82;
  --brand-deep: #236b64;
  --ink: #23282a;
  --ivory: #f6f2ea;
  --ivory-2: #efe9dd;
  --bs-body-color: #2f3133;
  --bs-body-font-family: "Noto Sans JP", system-ui, sans-serif;
  --bs-border-color: #e6ded0;
  --bs-primary: #2f8a82;
  --bs-primary-rgb: 47, 138, 130;
}

body {
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}

.serif,
h1, h2, h3,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  letter-spacing: .02em;
}

.lead-jp { line-height: 2; }

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-deep);
  --bs-btn-hover-border-color: var(--brand-deep);
  --bs-btn-active-bg: var(--brand-deep);
  --bs-btn-active-border-color: var(--brand-deep);
  --bs-btn-disabled-bg: var(--brand);
  --bs-btn-disabled-border-color: var(--brand);
}
.btn-outline-primary {
  --bs-btn-color: var(--brand-deep);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-bg: var(--brand);
  --bs-btn-active-border-color: var(--brand);
}

.text-brand    { color: var(--brand-deep) !important; }
.bg-ivory      { background: var(--ivory)  !important; }
.bg-ivory-2    { background: var(--ivory-2) !important; }
.bg-ink        { background: var(--ink)    !important; }
.text-ink      { color: var(--ink)         !important; }
.bg-brand      { background: var(--brand)  !important; }
.bg-brand-soft { background: #e8f1ef      !important; }

/* LP Navbar */
.lp-nav { transition: box-shadow .3s, background .3s; }
.lp-nav.scrolled { box-shadow: 0 6px 24px rgba(35,40,42,.07); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, #e8f1ef 0%, rgba(232,241,239,0) 60%),
    linear-gradient(180deg, #faf7f1 0%, var(--ivory) 100%);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: .82rem;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--brand-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brand);
  display: inline-block;
}

/* Before/After comparison slider */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  user-select: none;
  touch-action: none;
  box-shadow: 0 30px 60px -25px rgba(35,40,42,.45);
  background: #ddd;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba .after-img { clip-path: inset(0 50% 0 0); z-index: 2; }
.ba .ba-tag {
  position: absolute;
  top: 14px;
  z-index: 4;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .32rem .7rem;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(2px);
}
.ba .tag-before { right: 14px; background: rgba(35,40,42,.72); }
.ba .tag-after  { left: 14px;  background: var(--brand); }
.ba .handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.95);
  z-index: 3;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(35,40,42,.12);
}
.ba .knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(35,40,42,.28);
  cursor: ew-resize;
}
.ba input[type=range] {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

/* Component classes */
.card-soft {
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
}
.icon-chip {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f1ef;
  color: var(--brand-deep);
  font-size: 1.25rem;
  flex: 0 0 auto;
}
.num-chip {
  width: 34px; height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 auto;
  font-size: .95rem;
}
.chip {
  display: inline-block;
  font-size: .8rem;
  padding: .34rem .7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  color: #5b6166;
  margin: .16rem;
}
.chip-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ivory-2), transparent);
}

.accordion-button:not(.collapsed) {
  color: var(--brand-deep);
  background: #e8f1ef;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: var(--bs-border-color);
}
.accordion-button { font-weight: 700; }

.metric {
  font-family: "Shippori Mincho B1", serif;
  line-height: 1;
}

.footer-link { color: #cfcac1; text-decoration: none; }
.footer-link:hover { color: #fff; }

@media (max-width: 575.98px) {
  .display-3 { font-size: 2.3rem; }
  .ba .knob { width: 40px; height: 40px; }
}
