/* Scoped to this LP; the shared netkeiba header keeps its own styles. */
body.so-body {
  margin: 0;
  background: #fcfcfc;
  text-align: left;
}
.so-page {
  --so-blue: #4576c7;
  text-align: left;
  color: #333;
  font-family:
    Arial, "NotoSansJP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
.so-page * {
  box-sizing: border-box;
  /* SP common reset sets line-height on every element; inherit LP ratios instead. */
  line-height: inherit;
}
.so-page img {
  display: block;
  max-width: 100%;
  height: auto;
}
.so-page h1,
.so-page h2,
.so-page h3,
.so-page p,
.so-page ul {
  margin: 0;
}
.so-page a {
  text-decoration: none;
  color: inherit;
}
.so-page a:focus-visible,
.so-page button:focus-visible,
.so-page summary:focus-visible,
.so-slider:focus-visible {
  outline: 3px solid #1f55ae;
  outline-offset: 4px;
}
.so-hero {
  position: relative;
  overflow: hidden;
  background:
    url(img/background_db_circle.svg) -260px -20px/550px auto no-repeat,
    url(img/background_owners.svg) 45% 220px/700px auto no-repeat;
}
.so-hero-inner {
  max-width: 375px;
  margin: auto;
  padding: 50px 16px 70px;
}
.so-eyebrow {
  font-family: "Antonio", "Arial Narrow", sans-serif;
  font-weight: 700;
  color: #c9c9c9;
  font-size: 18px;
  line-height: 1.3;
}
.so-hero h1 {
  font-size: 23px;
  line-height: 1.4;
  margin: 30px 0 18px;
  font-weight: 700;
  letter-spacing: -1px;
}
.so-tagline {
  font-size: 18px;
  font-weight: 700;
}
.so-horses {
  width: 270px;
  margin: 22px auto 6px;
  aspect-ratio: 1.91;
  object-fit: contain;
}
.so-products {
  display: flex;
  gap: 34px;
  justify-content: center;
  margin-top: 8px;
}
.so-product {
  position: relative;
  width: 133px;
  text-decoration: none;
  text-align: center;
  color: #000 !important;
}
.so-topshot {
  height: 164px;
  overflow: hidden;
  border-radius: 8px;
  width: 100px;
  margin: 0 auto;
}
.so-topshot img {
  width: 100%;
  max-width: none;
}
.so-db-top img {
  transform: translateY(-17.3px);
}
.so-owners-top img {
  transform: translateY(-27.5px);
}
.so-product-logo {
  position: absolute;
  right: 0;
  bottom: 35px;
  width: 60px;
  height: 60px !important;
  border-radius: 12px;
}
.so-product strong {
  display: block;
  font-size: 17px;
  margin-top: 22px;
}
.so-content {
  max-width: 375px;
  margin: 0 auto;
  padding: 24px 16px 120px;
}
.so-content h2 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}
.so-introduction > p {
  font-weight: 700;
  margin-top: 25px;
}
.so-service {
  margin-top: 32px;
}
.so-service > h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  letter-spacing: -0.6px;
  color: #000;
  margin: 0 8px 20px;
}
.so-service > h2 img {
  width: 60px;
  height: 60px;
  border-radius: 11px;
  flex: none;
}
.so-slider {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0 8px 4px !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.so-card {
  flex: 0 0 280px;
  padding: 18px 15px 15px;
  border-radius: 10px;
  background: #f3f3f3;
  scroll-snap-align: start;
}
.so-card h3 {
  font-size: 19px;
  margin-bottom: 15px;
}
.so-screen {
  height: 296px;
  overflow: hidden;
  border-radius: 9px;
  background: white;
}
.so-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.so-intro img,
.so-friends img,
.so-predictions img {
  height: auto;
}
.so-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 6px 8px 0;
}
.so-controls button {
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #45618e;
  font-size: 18px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.so-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.so-points {
  padding: 0 0 0 26px !important;
  margin: 12px 0 16px !important;
  line-height: 1.8;
}
.so-cta {
  display: block;
  padding: 15px 20px;
  text-align: center;
  margin: 0 6px;
  background: var(--so-blue);
  border-radius: 50px;
  color: #fff !important;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}
.so-cta:hover {
  background: #315fae;
}
.so-service + .so-service {
  margin-top: 50px;
}
.so-note {
  text-align: center;
  color: #848b98;
  font-size: 13px;
  margin: 40px 0 !important;
}
.so-linkage > p {
  font-weight: bold;
  margin-bottom: 18px;
}
.so-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 24px 13px 12px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 4px #0004;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
}
.so-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background: url(img/background_owners.svg) right -32px top -24px / 210px auto
    no-repeat;
  pointer-events: none;
}
.so-banner::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: none;
  border-top: 2px solid #888;
  border-right: 2px solid #888;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  right: 13px;
  top: 50%;
}
.so-banner:hover {
  box-shadow: 0 4px 8px #0004;
}
.so-banner small {
  display: block;
  font:
    700 11px/1.3 "Antonio",
    "Arial Narrow",
    sans-serif;
}
.so-banner em {
  font-weight: 700;
  color: #3355be;
  font-style: normal;
}
.so-banner-logos {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.so-banner-logos::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8px;
  top: -18px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  opacity: 0.1;
  background: url(img/db_logo.png) center / contain no-repeat;
  pointer-events: none;
}
.so-banner-logos img {
  width: 43px;
  height: 43px;
  border-radius: 6px;
}
.so-banner-logos > span {
  font-size: 24px;
  color: #999;
}
.so-page .so-info-link {
  display: block;
  text-align: center;
  text-decoration: underline;
  color: #3456c0 !important;
  font-weight: bold;
  font-size: 11px;
  text-underline-offset: 3px;
}
.so-history {
  margin-top: 80px;
}
.so-history h2 {
  margin-top: 24px;
  font-size: 25px;
  letter-spacing: -0.6px;
}
/* Explicit CSS protects SVG labels from the SP universal font-size reset. */
.so-timeline text {
  font-family: Arial, "NotoSansJP", sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.so-timeline .so-timeline-caption {
  font-size: 11px;
  font-weight: 400;
}
.so-timeline .so-timeline-date {
  font-size: 14px;
}
.so-timeline .so-timeline-integration-date {
  font-size: 16px;
}
.so-timeline .so-timeline-integration-caption {
  font-size: 12px;
  font-weight: 400;
}
.so-timeline {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 38px;
}
.so-faq {
  margin-top: 70px;
}
.so-faq > h2 {
  font:
    700 60px/1.3 "Antonio",
    "Arial Narrow",
    sans-serif;
  color: #c9c9c9;
  margin-bottom: 24px;
}
.so-faq details {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 10px 25px;
  position: relative;
  margin-bottom: 20px;
}
.so-faq summary {
  display: flex;
  gap: 16px;
  align-items: baseline;
  background: #f6f7ff;
  border-radius: 10px;
  padding: 20px;
  list-style: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 17px;
}
.so-faq summary::-webkit-details-marker {
  display: none;
}
.so-faq summary::after {
  content: "";
  position: absolute;
  bottom: 9px;
  left: calc(50% - 6px);
  border: 6px solid transparent;
  border-top-color: #888;
  border-bottom: 0;
}
.so-faq details[open] summary::after {
  transform: rotate(180deg);
}
.so-faq summary > span,
.so-answer > span {
  font-size: 24px;
  font-weight: bold;
  flex: none;
}
.so-answer {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 10px 0;
  color: #666;
}
.so-answer a {
  text-decoration: underline;
  color: #3456c0;
}
.so-faq-note {
  font-size: 13px;
  color: #777;
  margin-top: 24px !important;
}
@media (min-width: 1024px) {
  .so-page {
    display: grid;
    grid-template-columns: minmax(400px, 1fr) 375px;
    max-width: 940px;
    margin: auto;
    align-items: start;
  }
  .so-hero {
    position: sticky;
    top: 0;
    min-height: 850px;
    overflow: visible;
    background: none;
  }
  .so-hero:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 850px;
    height: 850px;
    right: -10px;
    top: 45px;
    background:
      url(img/background_db_circle.svg) 0 0/580px auto no-repeat,
      url(img/background_owners.svg) 100px 275px/760px auto no-repeat;
  }
  .so-hero-inner {
    padding-top: 40px;
    padding-bottom: 30px;
    text-align: center;
    max-width: 375px;
  }
  .so-hero h1 {
    font-size: 28px;
    margin-top: 26px;
  }
  .so-hero h1 span {
    display: block;
  }
  .so-tagline {
    font-size: 17px;
  }
  .so-horses {
    margin-top: 20px;
  }
  .so-products {
    gap: 40px;
    margin-top: 25px;
  }
  .so-product {
    width: 150px;
  }
  .so-topshot {
    width: 150px;
    height: 240px;
  }
  .so-db-top img {
    transform: translateY(-26px);
  }
  .so-owners-top img {
    transform: translateY(-41px);
  }
  .so-product-logo {
    width: 100px;
    height: 100px !important;
    bottom: 32px;
    right: -24px;
  }
  .so-product strong {
    font-size: 17px;
    margin-top: 8px;
  }
  .so-content {
    padding-top: 40px;
    background: #fcfcfc;
    box-shadow: 0 0 22px #0003;
    /* Keep the side shadow below the global navigation. */
    clip-path: inset(0 -40px -40px);
    width: 375px;
    position: relative;
  }
  .so-service > h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .so-slider {
    scroll-behavior: smooth;
  }
}
.so-intro img {
  transform: translateY(-12.1%);
}
.so-friends img,
.so-predictions img {
  transform: translateY(-13.4%);
}

/* Decorative layers use the original logo assets at the design opacity. */
.so-hero {
  isolation: isolate;
  background: none;
}
.so-hero:before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 574px;
  height: 574px;
  left: calc(50% - 470px);
  top: -45px;
  border-radius: 50%;
  opacity: 0.035;
  background:
    url(img/background_db_d.svg) 31px 122px/256px 330px no-repeat,
    url(img/background_db_b.svg) 324px 128px/219px 324px no-repeat,
    url(img/background_db_circle.svg) center/100% 100% no-repeat;
}
.so-hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 580px;
  height: 520px;
  left: calc(50% - 270px);
  top: 220px;
  opacity: 0.45;
  background: url(img/background_owners.svg) center/contain no-repeat;
}
.so-horses {
  height: 145px;
  background: url(img/design-reference.png) -73px -261px/416.667px 4905.556px
    no-repeat;
}
.so-eyebrow {
  font-size: 18px;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .so-hero:before {
    left: auto;
    right: 174px;
    top: 48px;
    width: 574px;
    height: 574px;
  }
  .so-hero:after {
    top: 320px;
    left: -100px;
    width: 760px;
    height: 520px;
  }
  .so-hero-inner {
    padding-top: 40px;
  }
  .so-horses {
    width: 216px;
    height: 116px;
    background-size: 333.334px 3924.445px;
    background-position: -58.4px -208.8px;
  }
  .so-hero h1 {
    margin-top: 27px;
  }
  .so-horses {
    margin-top: 20px;
  }
}

/* Match event's footer spacing without changing other pages. */
.so-body > footer {
  padding-top: 0;
  margin-bottom: -20px;
}
/* The shared PC header's 100% width includes its horizontal padding. */
.so-body > .Header_Area:not(.SP) .Header_Inner {
  box-sizing: border-box;
}
.so-body header .Header_Inner .SiteToggleBtn01 a {
  box-sizing: border-box;
}
.so-card h3 {
  font-weight: 700;
}
.so-points {
  list-style: disc;
}

@media (max-width: 1023px) {
  .so-page {
    overflow-x: clip;
  }
  .so-hero {
    overflow: visible;
  }
  .so-hero:before {
    width: 560px;
    height: 560px;
    left: calc(50% - 468px);
    top: -38px;
    background-size:
      250px 322px,
      214px 316px,
      100% 100%;
  }
  .so-hero:after {
    width: 780px;
    height: 486px;
    left: calc(50% - 200px);
    top: 280px;
  }
  .so-history h2 {
    font-size: clamp(20px, 6.25vw, 25px);
    line-height: 1.35;
    letter-spacing: -0.6px;
  }
}

/* Match the PC header typography; SP font_common.css disables synthesis globally. */
body.so-body > nav.ContentNavi01,
body.so-body > nav.ContentNavi01 * {
  font-synthesis: weight style small-caps;
}

/* Keep the PC owner tab readable against the shared active background. */
body.so-body.owner > nav.ContentNavi01 > ul > li.Owner > a {
  color: #2d4ebf !important;
}
