/* ============================================================
   Final UI/UX pass — 2026-08-28
   Shared typography, responsive readability and small layout fixes.
   ============================================================ */

:root {
  --final-font-jp: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif; --text-v37-final-font-jp: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --final-font-en: "Cormorant Garamond", Georgia, serif; --text-v37-final-font-en: "Cormorant Garamond", Georgia, serif;
  --final-ink: #263a47; --text-v37-final-ink: #263a47;
}

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
  font-family: var(--final-font-jp);
}

body {
  color: var(--text-v37-final-ink);
  font-feature-settings: "palt" 1;
  font-kerning: normal;
}

h1,
h2,
h3,
h4 {
  line-break: strict;
  text-wrap: balance;
}

p,
li,
dt,
dd {
  line-break: strict;
  overflow-wrap: anywhere;
}

.header .gnav a,
.header .menu-trigger,
.header .header__contact,
.drawer__nav a,
.drawer__contact {
  font-family: var(--final-font-jp);
}

.page-head__en,
.section-label,
.company-kicker,
.company-work-card__num,
.concept-card__num,
.concept-card__title,
.performance-showcase__eyebrow,
.performance-showcase__number,
.performance-showcase__total,
.price-hero__en,
.contact-intro__en {
  font-family: var(--final-font-en);
}

.footer__nav-grid a {
  font-size: 13px;
  line-height: 1.65;
}

.footer__copy {
  font-size: 11px;
  line-height: 1.6;
}

/* About: preserve the editorial composition while improving reading size. */
.page-about .concept--feature-editorial .concept-card__desc {
  font-size: clamp(13px, 1vw, 14px);
  line-height: 2;
}

/* Performance: supporting text had become too small, especially on SP. */
.page-performance .performance-showcase__body {
  font-size: clamp(13px, 1.02vw, 14px);
}

.page-performance .performance-showcase__points li {
  font-size: clamp(11px, .86vw, 12px);
}

/* Price: keep the supplied wording and give it enough measure to wrap cleanly. */
.page-price .price-hero__desc {
  max-width: 48em;
  line-height: 2;
}

.page-price .included__label,
.page-price .included__note,
.page-price .price-plan__text,
.page-price .option-card__desc,
.page-price .funding__note {
  font-size: 13px;
  line-height: 1.9;
}

/* Company: the reference layout is retained; only dense supporting copy is relaxed. */
.page-company .company-story__text,
.page-company .company-work__lead,
.page-company .company-cafe__text {
  font-size: 14px;
}

.page-company .company-work-card__text,
.page-company .company-profile__list dt,
.page-company .company-profile__list dd,
.page-company .company-flow__list p {
  font-size: 13px;
  line-height: 2;
}

/* FAQ: improve scanning without changing accordion behavior. */
.page-faq .faq-q {
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .faq-a__inner {
  font-size: 14px;
  line-height: 2;
}

/* Contact form: keep field labels and controls comfortably legible. */
.page-contact .form-card label,
.page-contact .form-label,
.page-contact .contact-faq__answer {
  font-size: 14px;
  line-height: 1.8;
}

.page-contact .form-card input[type="text"],
.page-contact .form-card input[type="email"],
.page-contact .form-card input[type="tel"],
.page-contact .form-card input[type="date"],
.page-contact .form-card select {
  min-height: 52px;
}

@media (max-width: 1180px) {
  .page-price .price-hero__desc {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .page-about .concept--feature-editorial .concept-card__desc {
    font-size: 14px;
    line-height: 1.95;
  }

  .page-performance .performance-showcase__body {
    margin-top: 9px;
    font-size: clamp(10.5px, 2.85vw, 12px);
    line-height: 1.7;
  }

  .page-performance .performance-showcase__points {
    margin-top: 8px;
    padding-top: 7px;
  }

  .page-performance .performance-showcase__points li {
    font-size: clamp(9px, 2.45vw, 10.5px);
    line-height: 1.5;
  }

  .page-company .company-story__text,
  .page-company .company-work__lead,
  .page-company .company-work-card__text,
  .page-company .company-cafe__text,
  .page-company .company-profile__list dt,
  .page-company .company-profile__list dd,
  .page-company .company-flow__list p {
    font-size: 13.5px;
    line-height: 1.95;
  }
}

@media (max-width: 768px) {
  .page-head__lead,
  .center-head__lead {
    font-size: 13.5px;
    line-height: 1.9;
  }

  /* Works category controls stay inside the viewport and remain easy to tap. */
  .page-works .works__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    border-radius: 8px;
  }

  .page-works .works__tabs a {
    display: grid;
    min-height: 46px;
    place-items: center;
    padding: 9px 8px;
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    font-size: 12px;
    line-height: 1.45;
  }

  .page-works .works__tabs a:nth-child(2n) {
    border-right: 0;
  }

  .page-works .works__tabs a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .page-works .works-hero__tabs {
    width: calc(100% - 32px);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-radius: 16px;
  }

  .page-works .works-hero__tabs a {
    grid-column: span 2;
    height: 46px;
    padding-inline: 5px;
    border-bottom: 1px solid var(--c-border);
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .page-works .works-hero__tabs a:nth-child(3) {
    border-right: 0;
  }

  .page-works .works-hero__tabs a:nth-child(n + 4) {
    grid-column: span 3;
    border-bottom: 0;
  }

  .page-works .works-hero__tabs a:nth-child(5) {
    border-right: 0;
  }

  /* News category strip no longer hides categories outside the viewport. */
  .page-news .news__side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .news > .container {
    padding-inline: 20px;
  }

  .page-news .news__cat {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 9px 8px;
    border: 1px solid var(--c-border);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
  }

  .page-news .news-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-height: 0;
    padding: 20px 0;
  }

  .page-news .news-item__image {
    grid-column: 1;
    grid-row: 1;
    width: 88px;
  }

  .page-news .news-item__body {
    grid-column: 2;
    min-width: 0;
  }

  .page-news .news-item__meta {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .page-news .news-item__date {
    font-size: 11px;
  }

  .page-news .news-item__cat {
    padding: 3px 9px;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
  }

  .page-news .news-item__title {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.7;
  }

  .page-news .news-item__desc {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.75;
  }

  .page-news .news-item__arrow {
    display: none;
  }

  .page-faq .faq-q {
    padding: 17px 16px;
    font-size: 14px;
    line-height: 1.75;
  }

  .page-faq .faq-a__inner {
    padding: 0 16px 18px;
    font-size: 13px;
    line-height: 1.95;
  }

  .page-contact .form-card label,
  .page-contact .form-label {
    font-size: 14px;
  }

  .footer__nav-grid a {
    font-size: 13px;
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .page-performance .performance-showcase__body {
    font-size: 9px;
    line-height: 1.55;
  }

  .page-performance .performance-showcase__points li {
    font-size: 8px;
    line-height: 1.4;
  }
}

/* Home SP: keep the supplied script artwork clear of the viewport edge and
   align the editorial English label with the site's shared typography. */
@media (max-width: 768px) {
  .page-home .hero__script {
    top: 525px;
    right: 20px !important;
    bottom: auto !important;
  }

  .page-home .concept::before {
    font-family: var(--final-font-en);
    font-weight: 500;
  }
}

@media (max-width: 390px) {
  .page-home .hero__script {
    top: 492px;
    right: 18px !important;
  }
}

/* ================================================================
   Final conversion/UI pass: simulator CTAs, decorative alignment,
   responsive category rows, and high-contrast FAQ conversion panel.
   ================================================================ */

/* Replace the raster diagnosis badge with a responsive HTML/CSS CTA. */
.sim-fab {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  width: 236px !important;
  min-height: 70px;
  padding: 10px 12px 10px 19px !important;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.74) !important;
  border-radius: 999px !important;
  background: linear-gradient(118deg, #39779d 0%, #39779d 30%, #39779d 50%, #39779d 70%, #39779d 100%) !important;
  background-size: 260% 260% !important;
  box-shadow: 0 14px 34px rgba(57, 119, 157, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
  transform: none !important;
  animation: simFabGradient 7s ease infinite, simFabFloat 3.2s ease-in-out infinite;
}

.sim-fab::before {
  position: absolute;
  z-index: -1;
  top: -50%;
  left: -35%;
  width: 36%;
  height: 200%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(16deg);
  animation: simFabShine 4.6s ease-in-out infinite;
}

.sim-fab img {
  display: none !important;
}

.sim-fab__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.sim-fab__copy small {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--final-font-sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.12em;
}

.sim-fab__copy strong {
  color: #fff;
  font-family: var(--final-font-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.sim-fab__arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--text-v37-c-blue-deep, #2f7297);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  font-family: var(--final-font-sans);
  font-size: 17px;
  line-height: 1;
  transition: transform 0.35s ease;
}

.sim-fab:hover,
.sim-fab:focus-visible {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.015) !important;
  box-shadow: 0 18px 42px rgba(57, 119, 157, 0.34), 0 0 0 5px rgba(57, 119, 157, 0.15) !important;
}

.sim-fab:hover .sim-fab__arrow,
.sim-fab:focus-visible .sim-fab__arrow {
  transform: translateX(3px);
}

@keyframes simFabGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes simFabFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

@keyframes simFabShine {
  0%, 58% { left: -42%; opacity: 0; }
  68% { opacity: 1; }
  88%, 100% { left: 116%; opacity: 0; }
}

/* Keep the primary price-simulator label visually centered at every width. */
.page-price .estimate__btn {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  width: 100%;
  padding-right: 64px !important;
  padding-left: 64px !important;
  text-align: center !important;
}

.page-price .estimate__btn-label {
  display: block;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.page-price .estimate__btn .arrow {
  position: absolute;
  right: 26px;
  margin: 0 !important;
}

.page-price .estimate__btn::after {
  display: none !important;
  content: none !important;
}

/* Works hero: anchor the floral accent to the edge and soften the ground seam. */
@media (min-width: 901px) {
  .page-works .works-hero__floral {
    right: -72px !important;
    left: auto !important;
    width: 340px !important;
  }

  .page-works .works-hero__grass {
    left: -42px !important;
    width: calc(100% + 84px) !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 10%, #000 34%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 10%, #000 34%);
  }
}

/* News filters use a fixed icon column so copy length cannot shift alignment. */
@media (max-width: 768px) {
  .page-news .news__cat {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    justify-content: initial !important;
    column-gap: 13px;
    min-height: 58px;
    padding: 8px 14px !important;
    text-align: left !important;
  }

  .page-news .news__cat-icon {
    display: grid;
    width: 34px !important;
    height: 34px !important;
    flex: none;
    place-items: center;
    justify-self: center;
    margin: 0 !important;
  }

  .page-news .news__cat-icon svg,
  .page-news .news__cat-icon img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }
}

/* FAQ conversion panel: stronger hierarchy and legibility. */
.page-faq .faq-side__card--cta {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(145deg, #39779d 0%, #39779d 56%, #39779d 100%) !important;
  box-shadow: 0 18px 42px rgba(57, 119, 157, 0.18);
}

.page-faq .faq-side__cta-title,
.page-faq .faq-side__cta-lead,
.page-faq .faq-side__tel,
.page-faq .faq-side__hours {
  color: #fff !important;
}

.page-faq .faq-side__cta-title {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

.page-faq .faq-side__cta-lead {
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.9;
}

.page-faq .faq-side__cta-btn {
  color: #245b7b !important;
  border-color: #fff !important;
  background: #fff !important;
}

.page-faq .faq-side__cta-btn:hover,
.page-faq .faq-side__cta-btn:focus-visible {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

/* Remove the obsolete blue ribbon assets beside the home proposal button. */
@media (max-width: 768px) {
  .page-home .contact__background,
  .page-home .contact__corner {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
  }

  .sim-fab {
    right: 12px !important;
    bottom: 14px !important;
    grid-template-columns: minmax(0, 1fr) 31px;
    gap: 8px;
    width: 184px !important;
    min-height: 60px;
    padding: 8px 9px 8px 14px !important;
  }

  .sim-fab__copy small {
    font-size: 8px;
  }

  .sim-fab__copy strong {
    font-size: 12px;
    letter-spacing: 0.035em;
  }

  .sim-fab__arrow {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }

  .page-price .estimate__btn {
    min-height: 62px;
    padding-right: 52px !important;
    padding-left: 52px !important;
    font-size: clamp(13px, 3.55vw, 16px) !important;
  }

  .page-price .estimate__btn .arrow {
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sim-fab,
  .sim-fab::before {
    animation: none !important;
  }
}

/* =========================================================
   Delivery 32 — ordered motion, compact conversion controls,
   works spacing, contact-form readability and SP hero balance.
   ========================================================= */

/* Keep scroll reveals quick and sequential without allowing lower content
   to visually overtake the element above it. */
body.motion-ready .motion-heading.is-visible,
body.motion-ready .motion-copy.is-visible,
body.motion-ready .motion-item.is-visible,
body.motion-ready .motion-image.is-visible,
body.motion-ready .motion-illustration.is-visible {
  transition-delay: calc(var(--motion-index, 0) * 70ms) !important;
}

body.motion-ready .motion-heading.is-visible,
body.motion-ready .motion-copy.is-visible,
body.motion-ready .motion-item.is-visible {
  transition-duration: .95s, .8s, .95s !important;
}

/* Works: provide breathing room around the location tags and filters. */
.page-works .work-card__head {
  min-height: 40px !important;
  align-items: center;
  gap: 18px !important;
  padding-bottom: 14px !important;
}

.page-works .work-card__area {
  display: inline-flex;
  min-width: 86px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 15px !important;
  border: 1px solid rgba(57, 119, 157, .28) !important;
  background: rgba(244, 247, 249, .78) !important;
  letter-spacing: .08em !important;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .page-works .works-hero__tabs {
    left: 50% !important;
    width: min(790px, calc(100% - 96px)) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    transform: translateX(-50%);
  }

  .page-works .works-hero__tabs a {
    padding-inline: 14px !important;
  }
}

/* Preserve the hero's centering transforms while the generic reveal runs. */
body.motion-ready.page-works .works-hero__lead.motion-copy {
  transform: translateX(-50%) translate3d(0, 42px, 0) rotate(.55deg);
}

body.motion-ready.page-works .works-hero__lead.motion-copy.is-visible {
  transform: translateX(-50%) translate3d(0, 0, 0) rotate(0);
}

body.motion-ready.page-works .works-hero__badge.motion-illustration {
  transform: translateX(-50%) translate3d(0, 34px, 0) scale(.96);
}

body.motion-ready.page-works .works-hero__badge.motion-illustration.is-visible {
  transform: translateX(-50%) translate3d(0, 0, 0) scale(1);
}

/* The floating simulator control now reads as a refined utility, not a badge. */
.sim-fab {
  grid-template-columns: minmax(0, 1fr) 40px !important;
  gap: 13px !important;
  width: 254px !important;
  min-height: 76px !important;
  padding: 11px 12px 11px 20px !important;
  border: 1px solid rgba(255, 255, 255, .36) !important;
  border-radius: 18px !important;
  background: #39779d !important;
  box-shadow: 0 16px 40px rgba(57, 119, 157, .24), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
  animation: none !important;
}

.sim-fab::before {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 46% !important;
  height: auto !important;
  background: linear-gradient(135deg, transparent, rgba(57, 119, 157, .18)) !important;
  transform: none !important;
  animation: none !important;
}

.sim-fab__copy {
  gap: 4px !important;
}

.sim-fab__copy small {
  color: rgba(255, 255, 255, .72) !important;
  font-size: 9px !important;
  letter-spacing: .15em !important;
}

.sim-fab__copy strong {
  font-size: 15px !important;
  letter-spacing: .07em !important;
}

.sim-fab__arrow {
  width: 40px !important;
  height: 40px !important;
  color: #235b7c !important;
  background: #fff !important;
  box-shadow: 0 5px 14px rgba(57, 119, 157, .14);
}

.sim-fab:hover,
.sim-fab:focus-visible {
  transform: translateY(-3px) !important;
  background: #39779d !important;
  box-shadow: 0 20px 44px rgba(57, 119, 157, .3), 0 0 0 4px rgba(57, 119, 157, .12) !important;
}

/* Replace the raster footer contact artwork with a reusable HTML/CSS control. */
.footer__contact {
  display: inline-flex !important;
  width: 258px;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #245b7b !important;
  border: 1px solid #fff;
  border-radius: 4px;
  background: #fff;
  font-family: var(--final-font-jp);
  font-size: 14px !important;
  letter-spacing: .09em;
  transition: color .3s ease, background .3s ease, transform .3s ease !important;
}

.footer__contact img {
  display: none !important;
}

.footer__contact::before {
  content: "お問い合わせ";
}

.footer__contact::after {
  content: "→";
  font-family: var(--final-font-sans, sans-serif);
  font-size: 16px;
}

.footer__contact:hover,
.footer__contact:focus-visible {
  color: #1d4f6d !important;
  background: #f3f7f9;
  transform: translateY(-2px) !important;
}

body .drawer__cta {
  color: #245b7b !important;
  border: 1px solid #fff !important;
  background: #fff !important;
}

body .drawer__cta:hover,
body .drawer__cta:focus-visible {
  color: #1d4f6d !important;
  background: #f3f7f9 !important;
}

/* Contact form: optional simulator-related field and stable two-line consent. */
.page-contact .form-consent {
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  text-align: center;
}

.page-contact .form-consent label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-contact .form-consent a {
  display: inline-block;
}

.page-contact .side-card--tel,
.page-contact .side-tel__label,
.page-contact .side-tel__number,
.page-contact .side-tel__hours {
  text-align: center !important;
}

.page-contact .side-tel__hours {
  flex-wrap: wrap;
}

.page-contact #property-type {
  cursor: pointer;
}

@media (min-width: 769px) {
  body.page-contact .form-row {
    grid-template-columns: 210px minmax(0, 1fr) !important;
  }

  body.page-contact .form-label {
    white-space: nowrap;
  }
}

/* Mobile FV: lift the supplied English script away from the headline. */
@media (max-width: 768px) {
  .page-home .hero__script {
    top: 432px !important;
    right: 24px !important;
    width: min(58vw, 232px) !important;
  }

  .page-works .work-card__head {
    gap: 12px !important;
  }

  .page-works .work-card__area {
    min-width: 80px;
    min-height: 30px;
    padding: 5px 12px !important;
  }

  .sim-fab {
    right: 12px !important;
    bottom: 12px !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    gap: 9px !important;
    width: 202px !important;
    min-height: 64px !important;
    padding: 9px 10px 9px 15px !important;
    border-radius: 15px !important;
  }

  .sim-fab__copy small {
    font-size: 7.5px !important;
  }

  .sim-fab__copy strong {
    font-size: 12px !important;
  }

  .sim-fab__arrow {
    width: 34px !important;
    height: 34px !important;
  }

  .footer__contact {
    width: min(100%, 270px);
    min-height: 54px;
  }
}

@media (max-width: 390px) {
  .page-home .hero__script {
    top: 410px !important;
    right: 20px !important;
    width: min(57vw, 218px) !important;
  }
}

/* =========================================================
   Home typography — quiet dissolve reveal
   Keep imagery/card motion intact and remove vertical travel
   from text on the top page only.
   ========================================================= */
.home-op__copy {
  opacity: 0;
  filter: blur(10px);
  transform: none !important;
  will-change: opacity, filter;
}

.home-op.is-copy-visible .home-op__copy {
  opacity: 1;
  filter: blur(0);
  transform: none !important;
  transition:
    opacity 1.1s cubic-bezier(.22, 1, .36, 1),
    filter 1.45s cubic-bezier(.22, 1, .36, 1);
}

body.page-home.motion-ready .motion-heading:not(.hero__title),
body.page-home.motion-ready .motion-copy:not(.hero__title-line) {
  opacity: 0 !important;
  filter: blur(8px) !important;
  transform: none !important;
  transform-origin: center !important;
  will-change: opacity, filter;
}

body.page-home.motion-ready .motion-heading:not(.hero__title).is-visible,
body.page-home.motion-ready .motion-copy:not(.hero__title-line).is-visible {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: none !important;
  transition-property: opacity, filter !important;
  transition-duration: 1.25s, 1.5s !important;
  transition-delay: calc(var(--motion-index, 0) * 90ms) !important;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1) !important;
}

/* Reveal the FV copy after the opening closes, line by line. */
body.page-home.motion-ready:not(.home-op-complete) .hero__title .hero__title-line {
  opacity: 0 !important;
  filter: blur(9px) !important;
  transform: none !important;
}

body.page-home.motion-ready.home-op-complete .hero__title .hero__title-line {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: none !important;
  transition:
    opacity 1.2s cubic-bezier(.22, 1, .36, 1),
    filter 1.55s cubic-bezier(.22, 1, .36, 1) !important;
}

/* FV entrance sequence: photograph, illustration, then headline. */
body.page-home.home-op-active .hero__slides {
  opacity: 0;
  filter: blur(9px);
  transform: translate3d(-72px, 0, 0) scale(1.025);
}

body.page-home.home-op-complete .hero__slides {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 1.25s cubic-bezier(.22, 1, .36, 1) 40ms,
    filter 1.35s cubic-bezier(.22, 1, .36, 1) 40ms,
    transform 1.45s cubic-bezier(.16, 1, .3, 1) 40ms;
  will-change: opacity, filter, transform;
}

body.page-home.home-op-active :is(
  .hero__blue-line,
  .hero__flower,
  .hero__house,
  .hero__script,
  .hero__mini-illust
) {
  opacity: 0 !important;
  filter: blur(7px);
  transform: translate3d(-14px, 10px, 0) scale(.96);
}

body.page-home.home-op-complete :is(
  .hero__blue-line,
  .hero__flower,
  .hero__house,
  .hero__script,
  .hero__mini-illust
) {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity .95s cubic-bezier(.22, 1, .36, 1),
    filter 1.15s cubic-bezier(.22, 1, .36, 1),
    transform 1.05s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, filter, transform;
}

body.page-home.home-op-complete .hero__blue-line { transition-delay: .68s; }
body.page-home.home-op-complete .hero__flower { transition-delay: .76s; }
body.page-home.home-op-complete .hero__house { transition-delay: .84s; }
body.page-home.home-op-complete .hero__script { transition-delay: .92s; }
body.page-home.home-op-complete .hero__mini-illust { transition-delay: 1s; }

body.page-home.motion-ready.home-op-complete .hero__title .hero__title-line:nth-child(2) {
  transition-delay: 1.36s !important;
}

body.page-home.motion-ready.home-op-complete .hero__title .hero__title-line:first-child {
  transition-delay: 1.2s !important;
}

body.page-home.motion-ready.home-op-complete .hero__title .hero__title-line--adaptive {
  filter: blur(0) drop-shadow(0 2px 3px rgba(20, 29, 34, .3)) !important;
}

body.page-home[data-hero-title-tone="dark"].motion-ready.home-op-complete .hero__title .hero__title-line--adaptive {
  filter: blur(0) drop-shadow(0 1px 2px rgba(255, 255, 255, .34)) !important;
}

@media (max-width: 768px) {
  body.page-home.home-op-active .hero__slides {
    transform: translate3d(-38px, 0, 0) scale(1.02);
  }

  body.page-home.motion-ready.home-op-complete .hero__title .hero__title-line--adaptive {
    filter: blur(0) drop-shadow(0 2px 9px rgba(57, 119, 157, .28)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-op__copy,
  body.page-home.motion-ready .motion-heading,
  body.page-home.motion-ready .motion-copy,
  body.page-home.motion-ready .hero__title .hero__title-line {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  body.page-home .hero__slides,
  body.page-home :is(.hero__blue-line, .hero__flower, .hero__house, .hero__script, .hero__mini-illust) {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}
