/* 退去立会代行：文字・配置・PCとSPの補足スタイル */
body[data-page="moveout"] :is(.nav, .ftr-nav) a[aria-current="page"] {
  text-decoration: none;
}
body[data-page="moveout"] :is(.nav, .ftr-nav) a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
body[data-page="moveout"] main :is(.reason-description p, .reason-background p, .reception-description p, .inspection-description p, .estimate-description, .timing-description, .flow-introduction, .flow-step-copy p, .restoration-description p, .closing-description) {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
  text-wrap: pretty;
}
body[data-page="moveout"] :is(.reason-description, .reason-background) {
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] :is(.reason-description, .reason-background) .nowrap-phrase {
  white-space: normal;
  display: inline;
}
body[data-page="moveout"] :is(.reception-description, .inspection-description) {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}
body[data-page="moveout"] :is(.reception-main, .inspection-main) h3 {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] :is(.reception-benefit, .inspection-benefit) {
  font-size: clamp(29px, 2.6vw, 37px);
}
body[data-page="moveout"] main :is(.reception-description .reception-text-label, .inspection-description .inspection-text-label) {
  font-weight: 700;
  color: var(--accent);
}
body[data-page="moveout"] :is(.reception-description, .inspection-description, .estimate-description) .nowrap-phrase {
  white-space: normal;
}
body[data-page="moveout"] :is(.inspection-description p, .estimate-description > span, .timing-description, .timing-benefit > span, .flow-introduction, .flow-step-copy p, .restoration-description p, .closing-description) span {
  display: inline;
  white-space: normal;
}
body[data-page="moveout"] :is(.concerns-inner, .reason-inner, .scope-inner, .flow-inner, .closing-inner) > h2 {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] :is(.moveout-concerns, .moveout-flow, .moveout-closing) h2 {
  font-size: clamp(30px, 2.7vw, 39px);
}
body[data-page="moveout"] .reason-heading-main {
  font-size: clamp(30px, 2.7vw, 39px);
}
body[data-page="moveout"] .reason-heading-lead {
  font-size: 22px;
}
body[data-page="moveout"] .moveout-scope h2 {
  max-width: 760px;
  font-size: 28px;
}
body[data-page="moveout"] .concern-card {
  justify-content: center;
}
body[data-page="moveout"] .concern-copy {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  max-width: 100%;
}
body[data-page="moveout"] main .concern-card p {
  font-size: 19px;
}
body[data-page="moveout"] .concerns-bridge {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] .concerns-resolution p {
  width: fit-content;
  max-width: 100%;
  text-align: left;
}
body[data-page="moveout"] .concerns-resolution strong {
  font-size: 30px;
}
body[data-page="moveout"] :is(.reception-reason-inner, .inspection-reason-inner, .estimate-benefit-inner) {
  width: fit-content;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] :is(.reception-reason-text, .inspection-reason-text) {
  font-size: 18px;
  line-height: 1.9;
}
body[data-page="moveout"] :is(.reception-reason-text, .inspection-reason-text) strong {
  font-size: 25px;
}
body[data-page="moveout"] .estimate-main h3 {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] .estimate-label {
  justify-content: flex-start;
}
body[data-page="moveout"] .estimate-headline {
  font-size: clamp(30px, 2.7vw, 39px);
}
body[data-page="moveout"] .estimate-description {
  width: fit-content;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] .estimate-benefit-text strong {
  font-size: 28px;
}
body[data-page="moveout"] .flow-introduction {
  width: fit-content;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] .closing-description {
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
body[data-page="moveout"] .restoration-grid h2 {
  font-size: clamp(28px, 2.5vw, 36px);
}
body[data-page="moveout"] .timing-grid h2 {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
body[data-page="moveout"] main span.sentence-end {
  white-space: nowrap;
}
body[data-page="moveout"] .ftr-nav .footer-phrase {
  display: inline;
  white-space: nowrap;
}
@media (min-width: 761px) and (max-width: 1276px) {
  body[data-page="moveout"] .moveout-timing {
    padding-right: clamp(22px, 5.2vw, 88px);
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  body[data-page="moveout"] .floating-top {
    width: 44px;
    height: 44px;
    top: 16px;
    bottom: auto;
    right: 300px;
    z-index: 121;
  }
}
@media (max-width: 760px) {
  body[data-page="moveout"] main :is(.reason-description p, .reason-background p, .reception-description p, .inspection-description p, .estimate-description, .timing-description, .flow-introduction, .flow-step-copy p, .restoration-description p, .closing-description, .moveout-description) {
    font-size: 14px;
  }
  body[data-page="moveout"] :is(.concerns-inner, .reason-inner, .scope-inner, .flow-inner, .closing-inner) > h2 {
    width: 100%;
    max-width: 294px;
  }
  body[data-page="moveout"] :is(.moveout-concerns, .moveout-flow, .moveout-closing) h2 {
    font-size: 26px;
  }
  body[data-page="moveout"] .reason-heading-main {
    font-size: 26px;
  }
  body[data-page="moveout"] .reason-heading-lead {
    font-size: 18px;
  }
  body[data-page="moveout"] .moveout-scope h2 {
    font-size: 20px;
  }
  body[data-page="moveout"] .moveout-scope h2 > span {
    text-wrap: balance;
  }
  body[data-page="moveout"] .moveout-closing h2 {
    font-size: 24px;
  }
  body[data-page="moveout"] :is(.reason-description, .reason-background, .reception-main h3, .inspection-main h3, .reception-description, .inspection-description, .estimate-main h3, .estimate-description, .reception-reason-inner, .inspection-reason-inner, .estimate-benefit-inner, .flow-introduction, .flow-list, .restoration-grid h2, .restoration-description, .closing-description) {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
    text-align: left;
  }
  body[data-page="moveout"] :is(.reception-benefit, .inspection-benefit) {
    font-size: 27px;
  }
  body[data-page="moveout"] .estimate-headline {
    font-size: 25px;
  }
  body[data-page="moveout"] .flow-list li {
    min-height: 0;
  }
  body[data-page="moveout"] .concern-copy {
    width: 294px;
    gap: 17px;
  }
  body[data-page="moveout"] main .concern-card p {
    font-size: 16px;
  }
  body[data-page="moveout"] .concerns-bridge {
    width: 100%;
    max-width: 294px;
    font-size: 14px;
  }
  body[data-page="moveout"] .concerns-bridge span {
    display: inline;
  }
  body[data-page="moveout"] .concerns-resolution p {
    width: 100%;
    max-width: 294px;
  }
  body[data-page="moveout"] .concerns-resolution strong {
    font-size: 24px;
  }
  body[data-page="moveout"] :is(.reception-reason-text, .inspection-reason-text) {
    font-size: 16px;
  }
  body[data-page="moveout"] :is(.reception-reason-text, .inspection-reason-text) strong {
    font-size: 21px;
  }
  body[data-page="moveout"] .estimate-benefit-text strong {
    font-size: 23px;
  }
  body[data-page="moveout"] .timing-grid h2 {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  body[data-page="moveout"] .timing-copy {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="moveout"] .timing-benefit {
    font-size: 14px;
    text-wrap: pretty;
  }
  body[data-page="moveout"] .timing-benefit strong > span {
    display: inline;
  }
  body[data-page="moveout"] .timing-benefit strong {
    text-wrap: balance;
  }
  body[data-page="moveout"] .timing-consult {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="moveout"] .moveout-heading {
    max-width: 294px;
    margin-inline: auto;
    font-size: clamp(26px, 7.2vw, 29px);
  }
  body[data-page="moveout"] :is(.moveout-description, .moveout-consult, .moveout-deadline) {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="moveout"] .moveout-deadline {
    gap: 2px 10px;
  }
  body[data-page="moveout"] :is(.moveout-audience, .moveout-service) {
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="moveout"] .moveout-audience {
    display: block;
    width: fit-content;
  }
  body[data-page="moveout"] .restoration-link {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="moveout"] .restoration-grid h2 {
    font-size: 26px;
  }
  body[data-page="moveout"] .closing-consult {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="moveout"] .floating-top {
    width: 44px;
    height: 44px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 116;
  }
  body[data-page="moveout"] .mobile-contact-bar {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 8px;
    padding-left: 12px;
    padding-right: 64px;
  }
  body[data-page="moveout"] .mobile-contact-bar .mobile-action {
    gap: 6px;
    padding: 0 6px;
  }
  body[data-page="moveout"] .mobile-contact-bar .mobile-action span {
    white-space: nowrap;
  }
  body[data-page="moveout"] .mobile-contact-bar svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
}
@media (max-width: 360px) {
  body[data-page="moveout"] .ftr-nav :is(h2, a) {
    text-wrap: balance;
  }
  body[data-page="moveout"] .reason-heading-main {
    font-size: 25px;
  }
  body[data-page="moveout"] :is(.reception-benefit, .inspection-benefit) {
    font-size: 25px;
  }
  body[data-page="moveout"] .moveout-english {
    letter-spacing: .08em;
  }
}

/* 工程説明は短い意味のまとまりを保ち、語尾だけの行を避ける。 */
body[data-page="moveout"] main .flow-step-copy p { text-wrap: balance; }
body[data-page="moveout"] main .flow-step-copy p > span { white-space: nowrap; }
