@charset "utf-8";
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background-color: var(--df-color-bg); color: var(--df-color-text); font-family: var(--df-font-sans); font-size: var(--df-font-size-body); line-height: var(--df-line-height-body); overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline-width: 3px; outline-style: solid; outline-color: var(--df-color-accent); outline-offset: 3px; }
html.df-header-menu-open { overflow: hidden; }

/* Keep short section introductions readable sentence by sentence on mobile. */
.df-mobile-sentences > span { display: block; text-wrap: balance; }
.df-mobile-sentences > span + span { margin-top: .35em; }
@media (min-width: 704px) {
  .df-mobile-sentences > span { display: inline; text-wrap: inherit; }
  .df-mobile-sentences > span + span { margin-top: 0; }
}

/* Top page body copy size: retained here because Sibloo regenerates page CSS. */
.top-page-main .top-hero-copy>p:not(.df-eyebrow),
.top-page-main .top-intro-body p,
.top-page-main .top-audience-inner>p:last-child,
.top-page-main .top-services .df-section-lead,
.top-page-main .top-works .df-section-lead,
.top-page-main .top-flow .df-section-lead,
.top-page-main .top-contact-inner>p:not(.df-eyebrow) {
  font-size: clamp(14px, 1.1vw, 15px);
}

/* Keep lower-page hero headings aligned with the top-page hero. */
.lower-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.25;
  text-wrap: balance;
}

@media (min-width: 960px) {
  .lower-hero h1 {
    font-size: clamp(42px, 4vw, 60px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-page-main .top-hero-slide { animation: none; }
  .df-button:hover,
  .df-button:focus-visible,
  .df-button:active,
  .df-header .df-header-cta:hover,
  .df-header .df-header-cta:focus-visible,
  .df-header .df-header-cta:active,
  .formBtn:hover,
  .formBtn:focus-visible,
  .formBtn:active { transform: none; }
}

.contact-page.contact-page .contact-company-info p:nth-of-type(3) {
  word-break: keep-all;
}

.contact-page.contact-page .pp-toggle-label {
  color: var(--df-color-primary);
}

.contact-page.contact-page .pp-body {
  background: var(--df-color-bg);
}

.df-header .df-header-phone-content::after {
  content: "平日9:00~17:00";
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: .04em;
}

@media (max-width: 480px) {
  body .top-page-main > .top-hero h1 {
    font-size: clamp(32px, 8vw, 36px);
  }

  .top-page-main .top-audience::after {
    bottom: 12px;
    left: -12px;
    width: 42px;
    height: 42px;
  }

  .top-page-main .top-contact::after {
    right: -70px;
    bottom: -70px;
  }

  .flow-page .flow-conditions .df-section-heading::after {
    right: auto;
    left: 0;
    width: 58%;
  }

  body .flow-page .flow-conditions::after {
    bottom: -30px;
    left: 0;
  }

  body .about-page .about-company-list .about-company-term {
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
  }

  .about-page .about-company-description span {
    white-space: nowrap;
  }

  .about-page .about-partners-square {
    bottom: 12px;
    left: -8px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 390px) {
  .contact-page .contact-company-info p:nth-of-type(2) strong {
    display: block;
  }
}

/* Shared layout must also be available when template editor CSS is omitted. */
.df-header {
  position: sticky;
  top: 0;
}

.df-header-inner,
.df-header-brand {
  display: flex;
}

.df-header-logo,
.df-footer-logo {
  display: block;
}

.df-header-logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.df-header-logo-image-yellow {
  position: absolute;
  top: 0;
  left: 0;
}

.df-header .df-header-phone {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.df-header .df-header-cta {
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 12px;
  font-weight: 800;
}

.df-header .df-header-menu-toggle {
  width: 44px;
  height: 44px;
  min-height: 44px;
  align-self: center;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 6px;
  background: transparent;
  color: var(--df-color-on-primary);
}

.df-header .df-header-menu-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  margin: 0;
  background: currentColor;
}

@media (min-width: 960px) {
  .df-header .df-header-phone-number,
  .df-header .df-header-cta-content {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
  }
  html body .df-header .df-header-company {
    display: none;
  }
}

@media (min-width: 1200px) {
  html body .df-header .df-header-company {
    display: flex;
  }
}

.df-header-logo-image-white,
.df-header-logo-image-yellow {
  display: none;
}

@media (min-width: 960px) {
  .df-header-logo-image-white,
  .df-header-logo-image-yellow {
    display: block;
  }
}

.df-header-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
}

.df-header-nav-links {
  display: flex;
  flex-direction: column;
}

.df-footer-logo {
  width: clamp(208px, 52vw, 300px);
}

.top-page-main .top-service-card-heading {
  display: flex;
  min-height: 40px;
  align-items: center;
}

.df-footer-nav {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .df-footer-nav {
    justify-content: flex-end;
  }
}
