body.unitime {
  --bs-font-sans-serif: "Noto Sans JP", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  font-family: var(--bs-body-font-family);
  font-weight: 500;
  background-color: #f5f5f7; /* Apple-like background gray */
  color: #1d1d1f; /* Apple-like text black */
  overflow-x: hidden;
}

body.unitime.with-fixed-navbar {
  /* unitime navbar is taller than the global default offset on some mobile widths */
  padding-top: 5.8rem;
}

@media (max-width: 767.98px) {
  body.unitime.with-fixed-navbar {
    padding-top: 6.4rem;
  }
}

body.unitime
  :where(
    p,
    a,
    span,
    button,
    label,
    small,
    li,
    dt,
    dd,
    th,
    td,
    legend,
    summary,
    div
  ) {
  font-weight: 500;
}

body.unitime :where(h1, h2, h3, h4, h5, h6, strong, b) {
  font-weight: 600;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* カスタムユーティリティ */
.glass-nav {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.unitime-nav-shell {
  max-width: 960px;
}

@media (max-width: 767.98px) {
  .unitime-nav-shell {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

.unitime-nav-row {
  display: flex;
  align-items: center;
  min-height: 56px;
  width: 100%;
  justify-content: space-between;
}

.unitime-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin-right: auto;
}

.unitime-created-by {
  font-size: 0.58rem;
  color: #6b7280;
  opacity: 0.82;
  margin-top: -0.1rem;
  margin-left: 2rem;
  line-height: 1;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

@media (max-width: 767.98px) {
  .unitime-created-by {
    white-space: normal;
    line-height: 1.2;
  }
}

.unitime-created-by:hover {
  color: #4b5563;
  opacity: 1;
}

.unitime .navbar-brand {
  margin-right: 0;
  flex-shrink: 0;
}

.unitime .navbar-brand img {
  border-radius: 6px;
}

footer img[src*="unitime-logo"] {
  border-radius: 5px;
}

.unitime .navbar-toggler {
  flex-shrink: 0;
  margin-left: 0;
}

.unitime-nav-collapse {
  flex-basis: 100%;
  width: 100%;
}

.unitime-nav-collapse .navbar-nav {
  padding-top: 0.5rem;
  padding-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .unitime-nav-row {
    width: auto;
    justify-content: flex-start;
  }

  .unitime-brand-wrap {
    flex-direction: row;
    align-items: flex-end;
  }

  .unitime-created-by {
    font-size: 0.65rem;
    margin-top: 0;
    margin-left: 0.2rem;
    margin-bottom: 0.35rem;
  }

  .unitime-nav-collapse {
    flex-basis: auto;
    width: auto;
    margin-left: auto;
  }

  .unitime-nav-collapse .navbar-nav {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.apple-card {
  background-color: #ffffff;
  border-radius: 30px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.apple-card:hover {
  transform: none;
  box-shadow: none;
}

.bg-unitime {
  background-color: #f5f5f7;
}

.unitime-hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

@media (min-width: 992px) {
  .unitime-hero {
    padding-top: 0.1rem;
    padding-bottom: 4rem;
  }
}

.unitime-gradient-title {
  background-image: linear-gradient(200deg, #c4ff8a, #4be1ff, #b3ffcd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(0.9) drop-shadow(0 1px 8px rgba(0, 0, 0, 0.14));
}

.unitime-hero-kicker {
  font-size: 1.875rem;
  overflow-wrap: anywhere;
  font-weight: 600;
  line-height: 1.08;
}

/* Global span weight rule is strong; re-assert hierarchy specifically for hero heading */
body.unitime .unitime-hero-heading .unitime-hero-kicker {
  font-weight: 600;
}

@media (min-width: 576px) {
  .unitime-hero-kicker {
    font-size: 2.25rem;
  }
}

@media (min-width: 992px) {
  .unitime-hero-kicker {
    font-size: 2.5rem;
  }
}

.unitime-hero-brand {
  font-size: 3.25rem;
  line-height: 1;
  overflow-wrap: anywhere;
  font-weight: 800;
}

body.unitime .unitime-hero-heading .unitime-hero-brand {
  font-weight: 800;
}

.unitime-hero .lead {
  overflow-wrap: anywhere;
  max-width: 42rem;
}

@media (min-width: 576px) {
  .unitime-hero-brand {
    font-size: 4rem;
  }
}

@media (min-width: 992px) {
  .unitime-hero-brand {
    font-size: 4.5rem;
  }
}

.unitime-hero-phones {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .unitime-hero-layout {
    display: flex;
    flex-direction: column;
    --bs-gutter-y: 0.75rem;
    gap: 0.45rem;
  }

  .unitime-hero-copy {
    display: contents;
  }

  .unitime-hero-heading {
    order: 1;
    width: 100%;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    margin-top: 0.8rem;
  }

  .unitime-hero-visual {
    order: 2;
  }

  .unitime-hero-body {
    order: 3;
    width: 100%;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .unitime-hero {
    padding-top: 1rem;
    overflow: visible;
  }

  .unitime-hero-heading h1 {
    margin-bottom: 0.2rem;
  }

  .unitime-hero .lead {
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 21rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 992px) {
  .unitime-hero-phones {
    margin: 0;
    max-width: none;
  }
}

.unitime-device-shot {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 2.4rem;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.14));
}

.unitime-device-shot--hero {
  max-width: 390px;
  margin-inline: auto;
}

.unitime-device-shot--feature {
  max-width: 350px;
}

.unitime-device-shot--mini {
  max-width: 228px;
}

.unitime-device-shot--subfeature {
  max-width: 180px;
}

.unitime-device-shot--compact {
  max-width: 220px;
}

@media (max-width: 767.98px) {
  .unitime-device-shot--hero {
    max-width: 300px;
  }

  .unitime-device-shot--feature {
    max-width: 280px;
  }

  .unitime-device-shot--mini {
    max-width: 190px;
  }

  .unitime-device-shot--subfeature {
    max-width: 150px;
  }

  .unitime-device-shot--compact {
    max-width: 180px;
  }
}

.unitime-feature-large {
  min-height: 500px;
}

@media (min-width: 768px) {
  .unitime-feature-large {
    min-height: 600px;
  }
}

.unitime-store-badge {
  height: 3rem;
  width: auto;
  max-width: 200px;
}

.unitime-store-badge--cta {
  height: 3.5rem;
  max-width: 220px;
}

.text-unitime-purple {
  color: #7c3aed;
}

.text-unitime-orange {
  color: #fb923c;
}
