/* LP FV（TOP v2 の .ui-top-fv と同系統） */

:root {
  --ui-top-blue-1: #02A5EC;
  --ui-top-blue-2: #068EDF;
  --ui-top-blue-3: #0E7CD5;
  --ui-top-maxw: 1120px;
}

.ui-top-visually-hidden {
  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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ui-top-wrap {
  max-width: var(--ui-top-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.ui-top-ph {
  border: none;
  background: transparent;
  border-radius: 12px;
  display: block;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.ui-top-fv .ui-top-wrap {
  max-width: 1400px;
}

.ui-top-fv .ui-top-ph.ui-top-hero-visual {
  display: block;
  min-width: 0;
  border: none;
  background: transparent;
  border-radius: 12px;
  margin: 0;
  padding: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  justify-self: center;
}

.ui-top-fv .ui-top-ph.ui-top-hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.ui-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 16px 32px;
  font-size: 15px;
  line-height: 1.4;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.ui-top-btn:hover,
.ui-top-btn:focus {
  text-decoration: none;
}

.ui-top-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ui-top-fv {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #0091e0 0%, #0079c2 45%, #045a97 100%);
}

.ui-top-fv-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .12) 40%, rgba(0, 0, 0, .9) 58%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .12) 40%, rgba(0, 0, 0, .9) 58%, #000 100%);
}

.ui-top-fv-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: center;
}

.ui-top-fv-grid > * {
  min-width: 0;
}

.ui-top-fv-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.ui-top-fv-tags span {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.ui-top-title {
  font-size: 40px;
  line-height: 1.45;
  margin: 0 0 20px;
  letter-spacing: .01em;
  color: #fff;
  max-width: 560px;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.ui-top-title-line {
  display: block;
}

/* 2行見出し（Web分析・Web接客など長文キャッチ） */
.ui-top-title:has(.ui-top-title-line) {
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: 0;
  max-width: 100%;
}

.ui-top-title-hl {
  color: #fff;
  background: linear-gradient(180deg, transparent 66%, rgba(255, 255, 255, .32) 66%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ui-top-fv-lead {
  color: rgba(255, 255, 255, .82);
  margin: 10px 0 24px;
  line-height: 1.9;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.ui-top-fv .ui-top-btn-p {
  background: #fff;
  color: var(--ui-top-blue-3);
  box-shadow: 0 8px 22px rgba(0, 40, 80, .25);
}

.ui-top-fv .ui-top-btn-p:hover,
.ui-top-fv .ui-top-btn-p:focus {
  color: var(--ui-top-blue-3);
  opacity: .92;
}

.ui-top-fv .ui-top-btn-s {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .55);
  color: #fff;
}

.ui-top-fv .ui-top-btn-s:hover,
.ui-top-fv .ui-top-btn-s:focus {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.functions-mv .ui-top-fv {
  margin: 0;
}

@media (max-width: 900px) {
  .ui-top-title {
    font-size: 30px;
    max-width: none;
  }

  .ui-top-title:has(.ui-top-title-line) {
    font-size: 26px;
  }

  .ui-top-fv-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ui-top-fv .ui-top-wrap {
    max-width: var(--ui-top-maxw);
  }

  .ui-top-fv .ui-top-ph.ui-top-hero-visual {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    justify-self: center;
  }

  .ui-top-fv {
    padding: 40px 0;
  }
}
