:root {
  /* A1ゴシック M（中太）の代わり＝細く見えないよう各ルールの font-weight 400 を 500 にしてある */
  --s-font-d09cd289: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
  --s-font-89862173: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
  --s-font-0180e749: "Rubik", Arial, sans-serif !important;
  --s-font-e2b8c834: cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 0;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #000;
  background: #fff;
  font-family: var(--s-font-89862173);
}

:where(.render-canvas),
:where(.render-canvas) a,
:where(.render-canvas) address,
:where(.render-canvas) article,
:where(.render-canvas) aside,
:where(.render-canvas) button,
:where(.render-canvas) div,
:where(.render-canvas) footer,
:where(.render-canvas) form,
:where(.render-canvas) h1,
:where(.render-canvas) h2,
:where(.render-canvas) h3,
:where(.render-canvas) header,
:where(.render-canvas) i,
:where(.render-canvas) iframe,
:where(.render-canvas) img,
:where(.render-canvas) input,
:where(.render-canvas) label,
:where(.render-canvas) main,
:where(.render-canvas) nav,
:where(.render-canvas) p,
:where(.render-canvas) section,
:where(.render-canvas) span,
:where(.render-canvas) textarea {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  color: #333;
  font-family: sans-serif;
  line-height: 1;
  text-decoration: none;
  word-spacing: 1px;
  list-style: none;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
}

button,
input,
textarea,
select {
  margin: 0;
  color: inherit;
  font: inherit;
}

input[type="email"],
input[type="tel"],
input[type="text"],
select,
textarea {
  appearance: none;
}

textarea {
  resize: none;
}

button,
[type="button"],
[type="submit"] {
  appearance: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

#static-root,
#static-root > div,
.container,
.render-canvas,
.StaticCanvas {
  width: 100%;
  min-width: 0;
}

.render-canvas,
.StaticCanvas {
  overflow-x: clip;
}

.StaticCanvas {
  display: flex;
  min-height: 100dvh;
  height: auto;
}

.StaticCanvas > .sd {
  min-height: 100dvh;
  overflow: clip;
}

.sd {
  position: relative;
  z-index: 0;
  display: flex;
  max-width: 100%;
  flex: none;
  flex-flow: column nowrap;
  align-content: center;
  align-items: center;
  pointer-events: all;
  -webkit-overflow-scrolling: touch;
}

.sd::-webkit-scrollbar {
  display: none;
}

.sd.text,
.sd.icon {
  display: flex;
  flex-direction: row;
  place-content: center;
  align-items: center;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow: visible;
}

.sd.link,
.sd.button {
  text-decoration: none;
}

.sd.button {
  border: 0;
  cursor: pointer;
  outline: none;
}

.sd.link {
  cursor: pointer;
}

.sd.fixed {
  z-index: 2;
}

.sd.sticky {
  z-index: 1;
}

input.sd,
textarea.sd {
  align-content: normal;
}

.image.sd {
  position: relative;
}

.image.sd::before {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: inherit;
  pointer-events: none;
  transition: inherit;
}

.frame {
  display: block;
  overflow: hidden;
}

.frame > iframe {
  width: 100%;
  height: 100%;
}

.richText {
  display: block;
  word-break: break-word;
}

.appear,
.appear-active {
  opacity: 1 !important;
  transform: none !important;
}

/* The captured mobile menu trigger was not visible in either reference image. */
[data-s-1f7d6f3e-cb6a-4082-812d-8d0bd7bba037] {
  display: none !important;
}

/* Hero carousel */
[data-carousel] {
  isolation: isolate;
  overflow: hidden !important;
}

[data-carousel] > .carousel-slide {
  position: absolute !important;
  z-index: 1;
  inset: 0;
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  transform: translateX(100%) !important;
  pointer-events: none;
  transition: transform 800ms cubic-bezier(0.4, 0.4, 0, 1) !important;
}

[data-carousel] > .carousel-slide.is-active {
  z-index: 2;
  transform: translateX(0) !important;
  pointer-events: auto;
}

[data-carousel] .carousel-slide > .image {
  z-index: 0 !important;
}

[data-carousel] .carousel-slide > .image::before {
  background-image: var(--slide-image) !important;
}

[data-carousel-controls] {
  z-index: 3 !important;
}

[data-carousel-prev] .icon,
[data-carousel-next] .icon {
  width: 12px;
  height: 24px;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
}

[data-carousel-prev] .icon::before,
[data-carousel-next] .icon::before {
  color: #222;
  font: 500 25px/22px Arial, sans-serif;
}

[data-carousel-prev] .icon::before {
  content: "‹";
}

[data-carousel-next] .icon::before {
  content: "›";
}

[data-carousel-toggle] .icon {
  width: 12px;
  height: 14px;
  overflow: visible;
  color: transparent !important;
  font-size: 0 !important;
}

[data-carousel-toggle] .icon::before,
[data-carousel-toggle] .icon::after {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 12px;
  content: "";
  background: #222;
}

[data-carousel-toggle] .icon::before {
  left: 1px;
}

[data-carousel-toggle] .icon::after {
  right: 1px;
}

[data-carousel-toggle].is-paused .icon::before {
  top: 0;
  left: 2px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #222;
  background: transparent;
}

[data-carousel-toggle].is-paused .icon::after {
  display: none;
}

/* Case list: all entries remain in the HTML for a useful no-script fallback. */
[data-load-more] {
  display: none !important;
}

.has-js [data-load-more] {
  display: flex !important;
}

.has-js [data-more-item] {
  display: none !important;
}

.has-js [data-more-item].is-revealed {
  display: flex !important;
}

[data-load-more][hidden] {
  display: none !important;
}

.page-index main {
  height: auto !important;
  min-height: 8345px;
}

/* Contact form support fields */
.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.not-found-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 40px;
  margin-top: 30px;
  border: 1px solid #333;
  border-radius: 22px;
  font-family: var(--s-font-d09cd289);
  font-size: 14px;
}

/* Worker response pages use the same restrained header, gray panel, and footer. */
.result-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: var(--s-font-d09cd289);
}

.result-header {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.result-logo {
  font-family: var(--s-font-d09cd289);
  font-size: 40px;
  line-height: 1.2;
}

.result-nav {
  display: flex;
  gap: 48px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.result-main {
  display: flex;
  width: calc(100% - 100px);
  min-height: 760px;
  margin: 0 auto 50px;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
}

.result-card {
  width: min(720px, calc(100% - 48px));
  padding: 72px 32px;
  text-align: center;
}

.result-card h1 {
  margin: 0 0 32px;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.result-card p {
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.9;
}

.result-back {
  display: inline-flex;
  min-width: 220px;
  min-height: 40px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 22px;
  font-size: 14px;
}

.result-footer {
  position: relative;
  display: flex;
  min-height: 232px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  background: #323232;
}

.result-footer .result-logo {
  font-size: 20px;
}

.result-footer small {
  position: absolute;
  right: 22px;
  bottom: 17px;
  font: 500 10px/1.4 var(--s-font-0180e749);
  letter-spacing: 0.1em;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-carousel] > .carousel-slide {
    transition: none !important;
  }
}

@media screen and (max-width: 540px) {
  .page-index main {
    min-height: 8892px;
  }

  .result-header {
    min-height: 87px;
    align-items: flex-start;
    padding-left: 14px;
  }

  .result-logo {
    font-size: 40px;
  }

  .result-header .result-nav {
    display: none;
  }

  .result-main {
    width: 100%;
    min-height: 700px;
    margin: 0;
    align-items: flex-start;
  }

  .result-card {
    width: 100%;
    padding: 80px 24px;
  }

  .result-card h1 {
    font-size: 20px;
  }

  .result-footer {
    min-height: 284px;
    padding: 26px 20px 18px;
  }

  .result-footer .result-nav {
    width: 300px;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px 14px;
    font-size: 14px;
  }

  .result-footer .result-logo {
    font-size: 20px;
  }

  .result-footer small {
    position: static;
    margin-top: 0;
  }
}

@media screen and (min-width: 541px) and (max-width: 840px) {
  .page-index main {
    min-height: 8221px;
  }
}

/* 書体の置き換え（A1ゴシック → Zen Kaku Gothic New）で字幅が少し広がり、Studio 版では1行の文が PC 幅で折り返すため */
@media (min-width: 841px) {
  .sd[data-s-07338a3a-5b20-416b-bd8c-98747b862258],
  .sd[data-s-f57d58b7-0f12-46b8-b3d6-5845d835a5f1] { white-space: nowrap; }
}
