/* 原状回復工事：文字・配置・PCとSPの補足スタイル */
body[data-page="restoration"] :is(.nav, .ftr-nav) a[aria-current="page"] {
  text-decoration: none;
}
body[data-page="restoration"] :is(.nav, .ftr-nav) a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
body[data-page="restoration"] main :is(.hero-description p, .concerns-list p, .concerns-bridge, .work-menu-copy p, .confirmation-copy, .estimate-copy p, .restoration-flow-copy p, .restoration-closing-description p) {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
  text-wrap: pretty;
}
body[data-page="restoration"] main :is(.hero-description, .concerns-detail, .work-menu-copy, .confirmation-copy, .estimate-copy, .restoration-flow-copy, .restoration-closing-description) .nowrap-phrase {
  display: inline;
  white-space: normal;
}
body[data-page="restoration"] :is(.estimate-copy p, .restoration-closing-description p) span {
  display: inline;
  white-space: normal;
}
body[data-page="restoration"] .hero-heading-lead {
  font-size: clamp(36px, 3.7vw, 48px);
}
body[data-page="restoration"] .hero-heading-main {
  font-size: clamp(30px, 3.1vw, 42px);
}
body[data-page="restoration"] :is(.hero-copy-head, .hero-description) {
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
}
body[data-page="restoration"] .concerns-intro {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
body[data-page="restoration"] .concerns-content h2 {
  font-size: clamp(28px, 2.5vw, 36px);
}
body[data-page="restoration"] .concerns-detail {
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
}
body[data-page="restoration"] .work-menu-title {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}
body[data-page="restoration"] .work-menu-heading-lead {
  font-size: clamp(29px, 2.6vw, 37px);
}
body[data-page="restoration"] .work-menu-heading-main {
  font-size: clamp(30px, 2.8vw, 39px);
}
body[data-page="restoration"] .work-menu-item :is(h3, .work-menu-copy) {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}
body[data-page="restoration"] .work-menu-item h3 {
  font-size: 28px;
}
body[data-page="restoration"] .reasons-intro h2 {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
  font-size: clamp(30px, 2.7vw, 39px);
}
body[data-page="restoration"] .confirmation-point :is(h3, .confirmation-copy) {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
body[data-page="restoration"] .confirmation-point h3 {
  font-size: 26px;
}
body[data-page="restoration"] .estimate-copy {
  width: fit-content;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
body[data-page="restoration"] :is(.estimate-heading-lead, .estimate-heading-main) {
  font-size: 36px;
}
body[data-page="restoration"] .restoration-flow h2 {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: 32px;
}
body[data-page="restoration"] .restoration-flow-copy h3 {
  font-size: 22px;
}
body[data-page="restoration"] .restoration-closing :is(h2, .restoration-closing-description) {
  width: calc(100% - 104px);
  max-width: 520px;
  margin-inline: auto;
}
body[data-page="restoration"] .restoration-closing h2 {
  padding-inline: 0;
  font-size: 36px;
}
body[data-page="restoration"] .restoration-closing-name {
  font-size: 44px;
}
body[data-page="restoration"] .restoration-closing-button {
  margin-inline: auto;
}
body[data-page="restoration"] .ftr-nav .footer-phrase {
  display: inline;
  white-space: nowrap;
}
body[data-page="restoration"] main span.sentence-end,
body[data-page="restoration"] main .nowrap-phrase.sentence-end {
  white-space: nowrap;
}
@media (min-width: 761px) and (max-width: 1439px) {
  body[data-page="restoration"] .restoration-closing {
    padding-right: clamp(22px, 5.2vw, 88px);
  }
}
@media (min-width: 761px) and (max-width: 1276px) {
  body[data-page="restoration"] :is(.reasons-content, .work-menu-inner, .work-menu-consult, .estimate-layout, .estimate-deadline, .restoration-flow-inner) {
    padding-right: clamp(22px, 5.2vw, 88px);
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  body[data-page="restoration"] .floating-top {
    width: 44px;
    height: 44px;
    top: 16px;
    bottom: auto;
    right: 300px;
    z-index: 121;
  }
  body[data-page="restoration"] .confirmation-point {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .confirmation-point :is(h3, .confirmation-copy) {
    max-width: none;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  body[data-page="restoration"] .work-menu-item :is(h3, .work-menu-copy), body[data-page="restoration"] .work-menu-photo {
    max-width: 520px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .work-menu-copy {
    width: 100%;
  }
  body[data-page="restoration"] .work-consult-inner {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .restoration-flow-list {
    width: 100%;
    max-width: 650px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .restoration-closing :is(h2, .restoration-closing-description) {
    width: calc(100% - 84px);
    max-width: 600px;
  }
}
@media (max-width: 760px) {
  body[data-page="restoration"] main :is(.hero-description p, .concerns-list p, .concerns-bridge, .work-menu-copy p, .confirmation-copy, .estimate-copy p, .restoration-flow-copy p, .restoration-closing-description p) {
    font-size: 14px;
  }
  body[data-page="restoration"] :is(.hero-copy-head, .hero-description, .hero-consult-message, .concerns-intro, .concerns-detail, .work-menu-label, .work-menu-title, .work-menu-item h3, .work-menu-copy, .work-consult-inner, .reasons-intro, .confirmation-point, .estimate-copy, .restoration-flow h2, .restoration-flow-list) {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
    text-align: left;
  }
  body[data-page="restoration"] .hero-heading-lead {
    font-size: 29px;
  }
  body[data-page="restoration"] .hero-heading-main {
    font-size: 28px;
  }
  body[data-page="restoration"] .hero-consult {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .hero-consult-message span {
    display: inline;
  }
  body[data-page="restoration"] :is(.concerns-content, .reasons-content, .work-menu-inner, .work-menu-consult, .estimate-layout, .restoration-flow-inner) {
    padding-left: 20px;
    padding-right: 20px;
  }
  body[data-page="restoration"] :is(.concerns-content h2, .reasons-intro h2) {
    width: 100%;
    font-size: 26px;
  }
  body[data-page="restoration"] .work-menu-heading-lead {
    font-size: 25px;
  }
  body[data-page="restoration"] .work-menu-heading-main {
    font-size: 26px;
  }
  body[data-page="restoration"] .work-menu-item h3 {
    font-size: 23px;
  }
  body[data-page="restoration"] .work-menu-item :is(h3, .work-menu-copy) {
    max-width: 294px;
  }
  body[data-page="restoration"] .work-menu-photo {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .confirmation-point :is(h3, .confirmation-copy) {
    max-width: 294px;
  }
  body[data-page="restoration"] .confirmation-point h3 {
    font-size: 23px;
  }
  body[data-page="restoration"] :is(.estimate-heading-lead, .estimate-heading-main) {
    font-size: 26px;
  }
  body[data-page="restoration"] .estimate-relationship {
    width: 100%;
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .estimate-moveout-link {
    width: calc(100% - 40px);
    max-width: 294px;
  }
  body[data-page="restoration"] .restoration-flow h2 {
    font-size: 25px;
  }
  body[data-page="restoration"] .restoration-flow-copy h3 {
    font-size: 19px;
  }
  body[data-page="restoration"] .restoration-closing :is(h2, .restoration-closing-description, .restoration-closing-button) {
    width: calc(100% - 40px);
    max-width: 294px;
    margin-inline: auto;
  }
  body[data-page="restoration"] .restoration-closing h2 {
    padding-inline: 0;
    font-size: 25px;
  }
  body[data-page="restoration"] .restoration-closing-name {
    font-size: 32px;
  }
  body[data-page="restoration"] .floating-top {
    width: 44px;
    height: 44px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 116;
  }
  body[data-page="restoration"] .mobile-contact-bar {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 8px;
    padding-left: 12px;
    padding-right: 64px;
  }
  body[data-page="restoration"] .mobile-contact-bar .mobile-action {
    gap: 6px;
    padding: 0 6px;
  }
  body[data-page="restoration"] .mobile-contact-bar .mobile-action span {
    white-space: nowrap;
  }
  body[data-page="restoration"] .mobile-contact-bar svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
}
@media (max-width: 360px) {
  body[data-page="restoration"] .hero-heading-lead {
    font-size: 28px;
  }
  body[data-page="restoration"] .hero-heading-main {
    font-size: 27px;
  }
  body[data-page="restoration"] .work-menu-item h3 {
    font-size: 21px;
  }
  body[data-page="restoration"] .confirmation-point h3 {
    font-size: 21px;
  }
  body[data-page="restoration"] .restoration-flow h2 {
    font-size: 24px;
  }
  body[data-page="restoration"] .restoration-flow-copy h3 {
    font-size: 18px;
  }
  body[data-page="restoration"] .restoration-closing h2 {
    font-size: 23px;
  }
  body[data-page="restoration"] .ftr-nav :is(h2, a) {
    text-wrap: balance;
  }
}

body[data-page="restoration"] .hero-consult-message > span { display: inline-block; white-space: nowrap; }
