.top-page .s-header-spacer {
  display: none;
}

body.top-page {
  padding-top: 0;
}

.top-page .s-header__logo img {
  height: 18px;
  width: auto;
  max-width: none;
}

.top-page .s-footer__logo img {
  width: 150px;
  max-width: 150px;
  height: auto;
}

/* =========================================
   TOP hero — daylight, white × sand beige
   ========================================= */
.top-hero {
  --hero-ink: #fff;
  --hero-muted: rgba(255, 255, 255, 0.82);
  --hero-sand: #d3c6a6;
  --hero-paper: #f5f1e8;

  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--hero-ink);
  background: #1a1a1a;
}

.top-hero__media,
.top-hero__shade {
  position: absolute;
  inset: 0;
}

.top-hero__media picture,
.top-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.top-hero__media img {
  object-fit: cover;
  object-position: 38% 52%;
  transform: scale(1.06);
  /* Clear-day warmth — keep composition, lift sun feeling */
  filter: brightness(1.12) contrast(1.08) saturate(1.16) sepia(0.08);
  animation: topHeroKenburns 22s ease-out forwards;
  will-change: transform;
}

.top-hero__shade {
  /* Contrast only where type lives — right / open sky stays bright */
  background:
    linear-gradient(
      105deg,
      rgba(18, 18, 16, 0.46) 0%,
      rgba(18, 18, 16, 0.22) 28%,
      rgba(18, 18, 16, 0.06) 48%,
      transparent 64%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 48%,
      rgba(0, 0, 0, 0.14) 72%,
      rgba(0, 0, 0, 0.4) 100%
    );
  pointer-events: none;
}

.top-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  min-height: 100svh;
  width: min(480px, calc(100% - 72px));
  margin-left: max(48px, 8vw);
  padding:
    calc(var(--s-header-h, 64px) + 20px)
    0
    clamp(64px, 10vh, 108px);
  pointer-events: none;
}

.top-hero__eyebrow {
  margin: 0;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: topHeroFadeUp 0.8s var(--s-ease, cubic-bezier(0.2, 0.8, 0.2, 1)) 0.12s forwards;
}

.top-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.08em;
  text-align: left;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 8px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  animation: topHeroFadeUp 0.9s var(--s-ease, cubic-bezier(0.2, 0.8, 0.2, 1)) 0.22s forwards;
}

.top-hero__lead {
  margin: 16px 0 0;
  max-width: 22em;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  opacity: 0;
  animation: topHeroFadeUp 0.9s var(--s-ease, cubic-bezier(0.2, 0.8, 0.2, 1)) 0.3s forwards;
}

.top-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  pointer-events: auto;
  opacity: 0;
  animation: topHeroFadeUp 0.9s var(--s-ease, cubic-bezier(0.2, 0.8, 0.2, 1)) 0.4s forwards;
}

/* Hero: text CTA. Header keeps the solid pill — roles don't twin. */
.top-hero__text-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 5px;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.top-hero__text-cta::after {
  content: "→";
  font-size: 13px;
  letter-spacing: 0;
  opacity: 0.9;
}

.top-hero__text-cta:hover {
  opacity: 0.72;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.top-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 160px;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.top-hero__btn--primary {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
  font-weight: 600;
}

.top-hero__btn--primary:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
}

.top-hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* Must keep -50% in animation too — topHeroFadeUp was wiping it and leaving left-edge at center */
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: topHeroScrollIn 0.9s var(--s-ease, cubic-bezier(0.2, 0.8, 0.2, 1)) 0.7s forwards;
}

.top-hero__scroll > span {
  /* letter-spacing adds trailing space; indent cancels optical drift */
  padding-left: 0.28em;
}

.top-hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: currentColor;
  animation: topHeroScrollLine 1.8s ease-in-out infinite;
}

@keyframes topHeroKenburns {
  to { transform: scale(1); }
}

@keyframes topHeroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes topHeroScrollIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes topHeroScrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.45; }
  50% { transform: scaleY(0.7); opacity: 0.9; }
}

@media (max-width: 767px) {
  .top-hero__media img {
    object-position: 50% 45%;
    transform: scale(1.04);
    filter: brightness(1.14) contrast(1.09) saturate(1.18) sepia(0.09);
    animation: topHeroKenburns 22s ease-out forwards;
  }

  .top-hero__shade {
    background:
      linear-gradient(
        180deg,
        transparent 0%,
        transparent 42%,
        rgba(0, 0, 0, 0.16) 66%,
        rgba(0, 0, 0, 0.4) 84%,
        rgba(0, 0, 0, 0.52) 100%
      );
  }

  .top-hero__content {
    width: calc(100% - 40px);
    margin-left: 20px;
    justify-content: flex-end;
    padding-bottom: 80px;
  }

  .top-hero__title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.36;
  }

  .top-hero__lead {
    font-size: 12px;
    line-height: 1.75;
    max-width: 18em;
  }

  .top-hero__cta {
    display: block;
    width: auto;
    margin-top: 24px;
  }

  .top-hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-hero__media img {
    animation: none;
    transform: none;
  }

  .top-hero__eyebrow,
  .top-hero__title,
  .top-hero__lead,
  .top-hero__cta {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .top-hero__scroll {
    animation: none;
    opacity: 1;
    transform: translateX(-50%);
  }

  .top-hero__scroll::after {
    animation: none;
  }
}

/* =========================================
   TOP menu (photo icon map)
   Visual bridge after hero — keep warmth, clarify destinations
   ========================================= */
body.top-page .top-cats {
  background: #fff;
  color: #1a1a1a;
  padding: 52px 0 60px;
}

body.top-page .top-cats__inner {
  box-sizing: border-box;
  width: 90%;
  max-width: 920px;
  margin: 0 auto;
}

body.top-page .top-cats__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 32px;
  padding: 0;
  text-align: center;
}

/* Kill top-style `h2 { padding-top:80px; width:90%; margin:… }` */
body.top-page .top-cats h2.top-cats__title {
  box-sizing: border-box;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 0 0 0.2em; /* optical center with letter-spacing */
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.28em;
  color: #1a1a1a;
}

body.top-page .top-cats__icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.top-page .top-cats__icons > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.top-page .top-cats__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: #1a1a1a;
  transition: opacity 0.2s ease;
}

body.top-page .top-cats__icon:hover {
  opacity: 0.78;
}

body.top-page .top-cats__thumb {
  display: block;
  width: 82%;
  max-width: 96px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #f0f0f0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.08);
}

body.top-page .top-cats__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.top-page .top-cats__icon:hover .top-cats__thumb img {
  transform: scale(1.06);
}

body.top-page .top-cats__name {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  color: #333;
}

@media (min-width: 768px) {
  body.top-page .top-cats {
    padding: 68px 0 76px;
  }

  body.top-page .top-cats h2.top-cats__title {
    font-size: 12px;
  }

  body.top-page .top-cats__icons {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px 12px;
  }

  body.top-page .top-cats__thumb {
    width: 78%;
    max-width: 92px;
  }

  body.top-page .top-cats__name {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.top-page .top-cats__thumb img {
    transition: none;
  }

  body.top-page .top-cats__icon:hover .top-cats__thumb img {
    transform: none;
  }
}

.top-page .inquiry-button-wrapper,
.top-page .pagetop-button-wrapper {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.top-page .scroll-fade {
  opacity: 1;
}

.top-page .instagram-section {
  padding-bottom: 24px;
}

.top-page .works-more-button {
  margin-top: 40px;
}

.top-page .works-more-button a {
  margin-top: 0;
}

/* =========================================
   TOP main-content — official visual system
   Content / headings / keywords unchanged.
   Visual only: white rail, quieter type, no cream cards.
   ========================================= */
body.top-page .main-content {
  --top-ink: #1a1a1a;
  --top-muted: #555;
  --top-line: #e8e8e8;
  --top-paper: #fff;
  --top-wash: #f7f7f6;
  --top-accent: #8a7d5c;
  background: var(--top-paper);
  color: var(--top-ink);
}

body.top-page .main-content .section-title {
  margin: 0 0 1.25em;
  padding: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--top-ink);
  text-align: center;
}

body.top-page .main-content .sub-title {
  display: block;
  margin: 0 0 0.55em;
  padding: 0 0 0 0.18em;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #888;
}

body.top-page .main-content .section-description {
  margin: -0.4em auto 2.75em;
  width: 90%;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--top-muted);
  text-align: center;
}

body.top-page .main-content .link-button a {
  max-width: 280px;
  margin-top: 48px;
  padding: 12px 28px;
  border: 1px solid #bbb;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--top-ink);
  background: transparent;
}

body.top-page .main-content .link-button a:hover {
  background: var(--top-ink);
  border-color: var(--top-ink);
  color: #fff;
}

/* --- Problem / Concern --- */
body.top-page .problem-solution-section {
  padding: 88px 0 96px;
  background: var(--top-wash);
  text-align: center;
}

body.top-page .problem-solution-section .container {
  width: 90%;
  max-width: 720px;
  margin: 0 auto;
}

body.top-page .problem-solution-section .sub-title::after {
  display: none;
}

body.top-page .problem-list {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  counter-reset: none;
}

body.top-page .problem-list li {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 16px;
  align-items: baseline;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--top-line);
}

body.top-page .problem-list li:first-child {
  border-top: 1px solid var(--top-line);
}

body.top-page .problem-num {
  margin: 0;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #999;
  line-height: 1.7;
}

body.top-page .problem-list .check-icon {
  display: none;
}

body.top-page .problem-list p {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--top-ink);
  text-align: left;
}

body.top-page .problem-bridge {
  width: 100%;
  max-width: 28em;
  margin: 36px auto 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--top-muted);
  text-align: center;
  text-wrap: pretty;
}

body.top-page .solution-message {
  display: none;
}

@media (max-width: 767px) {
  body.top-page .problem-solution-section {
    padding: 72px 0 80px;
  }

  body.top-page .problem-list li {
    gap: 12px;
    padding: 16px 0;
  }

  body.top-page .problem-list p {
    font-size: 14px;
    line-height: 1.65;
  }

  body.top-page .problem-bridge {
    margin-top: 28px;
    font-size: 13px;
  }
}

/* --- Strengths: bright photo + white type with edge shadow only --- */
body.top-page .strengths-section {
  padding: 64px 0 0;
  background: var(--top-paper);
}

body.top-page .strengths-section > .container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

body.top-page .strengths-section .section-title {
  width: 90%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

body.top-page .strength-panels {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  background: transparent;
}

body.top-page .strength-panel {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 0;
  background: #f0f0ee;
  overflow: hidden;
}

/* Kill subpixel seams between stacked full-bleed panels */
body.top-page .strength-panel + .strength-panel {
  margin-top: -1px;
}

body.top-page .strength-panel__media {
  display: block;
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: #f0f0ee;
  z-index: 0;
}

body.top-page .strength-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
  filter: none;
  transition: none;
}

body.top-page .strength-panel__media--craft img {
  object-position: 50% 40%;
}

body.top-page .strength-panel__media--estimate img {
  object-position: 50% 55%;
}

body.top-page .strength-panel:hover .strength-panel__media img {
  transform: none;
}

/* No photo darkening — readability comes from type shadow only */
body.top-page .strength-panel__media::after {
  display: none;
  content: none;
}

body.top-page .strength-panel__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 48px 5% 44px;
  color: #fff;
  text-align: left;
  background: transparent;
}

/* Soft diffuse halo — keep photo bright, type readable (Uniqlo-like) */
body.top-page .strength-panel__num,
body.top-page .strength-panel__title,
body.top-page .strength-panel__text,
body.top-page .strength-panel__more-text,
body.top-page .strength-panel__toggle-label,
body.top-page .strength-panel__more {
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(0, 0, 0, 0.28),
    0 2px 22px rgba(0, 0, 0, 0.36),
    0 8px 36px rgba(0, 0, 0, 0.28);
}

body.top-page .strength-panel__title {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(0, 0, 0, 0.32),
    0 4px 28px rgba(0, 0, 0, 0.4),
    0 10px 42px rgba(0, 0, 0, 0.3);
}

body.top-page .strength-panel__text,
body.top-page .strength-panel__more-text {
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.42),
    0 0 16px rgba(0, 0, 0, 0.34),
    0 3px 24px rgba(0, 0, 0, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.32);
}

body.top-page .strength-panel__num {
  margin: 0 0 12px;
  padding: 0;
  width: auto;
  max-width: none;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #fff;
  line-height: 1.2;
}

body.top-page .strength-panel__title {
  margin: 0;
  padding: 0;
  width: auto;
  max-width: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #fff;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
}

body.top-page .strength-panel__text {
  margin: 16px 0 0;
  padding: 0;
  width: 100%;
  max-width: 34em;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #fff;
  text-wrap: pretty;
}

body.top-page .strength-panel__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

body.top-page .strength-panel__toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 12px 0 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 2px;
}

body.top-page .strength-panel__toggle-label::after {
  content: "+";
  font-size: 12px;
  opacity: 0.8;
}

body.top-page .strength-panel__toggle:checked + .strength-panel__toggle-label::after {
  content: "–";
}

body.top-page .strength-panel__more-wrap {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  transition: grid-template-rows 0.28s ease;
}

body.top-page .strength-panel__toggle:checked ~ .strength-panel__more-wrap {
  grid-template-rows: 1fr;
  margin-top: 10px;
}

body.top-page .strength-panel__more-wrap > .strength-panel__more-text {
  overflow: hidden;
  min-height: 0;
}

body.top-page .strength-panel__more-text {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 34em;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #fff;
}

body.top-page .strength-panel__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0 0 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

body.top-page .strength-panel__more::after {
  content: "→";
  font-size: 11px;
  letter-spacing: 0;
  opacity: 0.85;
}

body.top-page .strength-panel__more:hover {
  opacity: 0.82;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  body.top-page .strengths-section {
    padding: 96px 0 72px;
  }

  body.top-page .strengths-section > .container {
    width: 90%;
    max-width: 1040px;
  }

  body.top-page .strengths-section .section-title {
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  body.top-page .strength-panels {
    gap: 0;
    margin-top: 40px;
  }

  /*
    PC: fixed photo module + paper copy.
    Use grid areas (not order) so flip never steals the wide column.
  */
  body.top-page .strength-panel {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-areas: "media copy";
    column-gap: 40px;
    align-items: center;
    min-height: 0;
    margin: 0;
    padding: 28px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--top-line, #e5e5e5);
    overflow: visible;
  }

  body.top-page .strength-panel + .strength-panel {
    margin-top: 0;
  }

  body.top-page .strength-panel:last-child {
    border-bottom: 0;
    padding-bottom: 8px;
  }

  body.top-page .strength-panel--flip {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas: "copy media";
  }

  body.top-page .strength-panel__media {
    grid-area: media;
    position: relative;
    inset: auto;
    width: 300px;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0;
    z-index: 0;
    justify-self: stretch;
  }

  body.top-page .strength-panel__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body.top-page .strength-panel__copy {
    grid-area: copy;
    width: auto;
    max-width: 34em;
    min-height: 0;
    margin: 0;
    padding: 4px 0;
    color: var(--top-ink);
    background: transparent;
    align-items: flex-start;
  }

  /* PC: paper layout — show full SEO copy, no fold UI */
  body.top-page .strength-panel__toggle,
  body.top-page .strength-panel__toggle-label {
    display: none;
  }

  body.top-page .strength-panel__text {
    display: none;
  }

  body.top-page .strength-panel__more-wrap {
    display: block;
    grid-template-rows: none;
    margin-top: 12px;
  }

  body.top-page .strength-panel__more-wrap > .strength-panel__more-text {
    overflow: visible;
    min-height: 0;
  }

  body.top-page .strength-panel__num,
  body.top-page .strength-panel__title,
  body.top-page .strength-panel__text,
  body.top-page .strength-panel__more-text,
  body.top-page .strength-panel__toggle-label,
  body.top-page .strength-panel__more {
    text-shadow: none;
  }

  body.top-page .strength-panel__num {
    font-size: 12px;
    margin-bottom: 10px;
    color: #999;
  }

  body.top-page .strength-panel__title {
    font-size: 22px;
    line-height: 1.45;
    max-width: none;
    min-height: 0;
    color: var(--top-ink);
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
    text-wrap: pretty;
  }

  body.top-page .strength-panel__text,
  body.top-page .strength-panel__more-text {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.9;
    max-width: 34em;
    color: var(--top-muted);
  }

  body.top-page .strength-panel__more {
    color: var(--top-ink);
    border-bottom-color: #bbb;
  }

  body.top-page .strength-panel__more:hover {
    border-bottom-color: var(--top-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.top-page .strength-panel__media img {
    transition: none;
    transform: none;
  }

  body.top-page .strength-panel:hover .strength-panel__media img {
    transform: none;
  }
}

/* --- Works: paper chapter intro → full-bleed collage --- */
body.top-page .works-section {
  padding: 56px 0 64px;
  background: var(--top-paper);
}

body.top-page .works-section__intro {
  width: 90%;
  max-width: 1040px;
  margin: 0 auto 28px;
}

body.top-page .works-section__intro .section-description {
  margin-bottom: 0;
}

body.top-page .works-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #111;
}

body.top-page .works-gallery > li {
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
}

/* Mobile collage — full rectangle, no empty cell:
   [ lead ][ 2 ]
   [ lead ][ 3 ]
   [ 4 ][ 5 ][ 6 ] */
body.top-page .works-gallery__lead {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

body.top-page .works-gallery > li:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

body.top-page .works-gallery > li:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}

body.top-page .works-gallery > li:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

body.top-page .works-gallery > li:nth-child(5) {
  grid-column: 2;
  grid-row: 3;
}

body.top-page .works-gallery > li:nth-child(6) {
  grid-column: 3;
  grid-row: 3;
}

body.top-page .works-gallery__card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
}

body.top-page .works-gallery__lead .works-gallery__card {
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
}

body.top-page .works-gallery__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.top-page .works-gallery__card:hover img {
  transform: scale(1.04);
}

body.top-page .works-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  box-sizing: border-box;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 28px 10px 10px;
  pointer-events: none;
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.58) 100%
  );
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
}

/* Lead: photo overlay returns — chapter title stays on paper above */
body.top-page .works-gallery__copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0;
  padding: 28px 16px 18px;
  min-height: 52%;
  pointer-events: none;
  text-align: left;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 36%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

body.top-page .works-gallery__eyebrow,
body.top-page .works-gallery__lead-heading,
body.top-page .works-gallery__lead-text {
  box-sizing: border-box;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
  color: #fff;
}

body.top-page .works-gallery__eyebrow {
  margin: 0 0 8px;
  padding: 0 0 0 0.1em;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.2;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.28),
    0 2px 16px rgba(0, 0, 0, 0.3);
}

body.top-page .works-gallery__lead-heading {
  margin: 0 0 8px;
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.28),
    0 2px 18px rgba(0, 0, 0, 0.32),
    0 8px 40px rgba(0, 0, 0, 0.22);
}

body.top-page .works-gallery__lead-text {
  max-width: 18em;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.28),
    0 2px 16px rgba(0, 0, 0, 0.3);
}

/* Hide small tile captions on mobile; keep lead overlay */
@media (max-width: 767px) {
  body.top-page .works-gallery > li:not(.works-gallery__lead) .works-gallery__caption {
    display: none;
  }
}

body.top-page .works-section__foot {
  width: min(92%, 960px);
  margin: 36px auto 0;
  padding: 0 4px;
  text-align: left;
}

body.top-page .works-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid #1a1a1a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #1a1a1a;
  text-decoration: none;
  background: transparent;
}

body.top-page .works-more::after {
  content: "→";
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.75;
}

body.top-page .works-more:hover {
  opacity: 0.65;
}

/* Instagram row — more air, Uniqlo-like */
body.top-page .works-ig {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  margin: 28px 0 0;
  padding: 20px 4px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #1a1a1a;
}

body.top-page .works-ig__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  background-color: transparent;
  padding: 0;
  box-sizing: border-box;
}

body.top-page .works-ig__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 8px;
}

body.top-page .works-ig__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

body.top-page .works-ig__desc {
  font-size: 11px;
  line-height: 1.45;
  color: #888;
}

body.top-page .works-ig__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  background: #fff;
  white-space: nowrap;
}

body.top-page .works-ig:hover .works-ig__cta {
  border-color: #1a1a1a;
}

@media (min-width: 768px) {
  body.top-page .works-section {
    padding: 72px 0 80px;
  }

  body.top-page .works-section__intro {
    max-width: 960px;
    margin-bottom: 36px;
  }

  /* 800px assets — keep collage under native resolution on large screens */
  body.top-page .works-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
  }

  body.top-page .works-gallery__lead {
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
  }

  body.top-page .works-gallery > li:nth-child(2) {
    grid-column: 5 / span 2;
    grid-row: 1;
  }

  body.top-page .works-gallery > li:nth-child(3) {
    grid-column: 5 / span 2;
    grid-row: 2;
  }

  body.top-page .works-gallery > li:nth-child(4) {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  body.top-page .works-gallery > li:nth-child(5) {
    grid-column: 3 / span 2;
    grid-row: 3;
  }

  body.top-page .works-gallery > li:nth-child(6) {
    grid-column: 5 / span 2;
    grid-row: 3;
  }

  body.top-page .works-gallery__lead .works-gallery__card {
    min-height: 0;
  }

  body.top-page .works-gallery__copy {
    padding: 32px 24px 22px;
    min-height: 42%;
  }

  body.top-page .works-gallery__eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }

  body.top-page .works-gallery__lead-heading {
    font-size: 26px;
    margin-bottom: 10px;
  }

  body.top-page .works-gallery__lead-text {
    font-size: 13px;
    line-height: 1.85;
    max-width: 22em;
  }

  body.top-page .works-gallery__caption {
    display: block;
    padding: 28px 12px 12px;
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: 0.06em;
    font-weight: 400;
  }

  body.top-page .works-section__foot {
    width: min(90%, 960px);
    margin-top: 40px;
  }

  /* Instagram: mobile only (PC deep-links often fail in browser) */
  body.top-page .works-ig {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.top-page .works-gallery__card img {
    transition: none;
  }

  body.top-page .works-gallery__card:hover img {
    transform: none;
  }
}

/* --- Voice: vertical quotes + fade peek (SP) / split feature (PC) --- */
body.top-page .voice-section {
  padding: 72px 0 80px;
  background: var(--top-paper);
  color: var(--top-ink);
}

body.top-page .voice-section .container {
  width: 90%;
  max-width: 960px;
}

body.top-page .voice-section .section-description {
  margin-bottom: 2.25em;
}

body.top-page .voice-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0 0 36px;
  border-top: 1px solid var(--top-line);
}

body.top-page .voice-item {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--top-line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

body.top-page .voice-item--feature {
  padding: 32px 0 36px;
}

body.top-page .voice-item__meta {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #999;
  line-height: 1.5;
}

body.top-page .voice-item__lead {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--top-ink);
}

body.top-page .voice-item--feature .voice-item__lead {
  font-size: 17px;
  line-height: 1.45;
  max-width: none;
}

body.top-page .voice-item:not(.voice-item--feature) .voice-item__lead {
  font-size: 17px;
  margin-bottom: 10px;
}

body.top-page .voice-item__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

/* SP: faded peek — communicates without full dump or swipe */
body.top-page .voice-item__clamp {
  display: block;
  margin: 0 0 14px;
  max-height: 6.2em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 100%
  );
}

body.top-page .voice-item--feature .voice-item__clamp {
  max-height: 8.5em;
}

body.top-page .voice-item__toggle:checked ~ .voice-item__clamp {
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

body.top-page .voice-item__excerpt {
  margin: 0;
  max-width: 40em;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--top-muted);
  text-wrap: pretty;
}

body.top-page .voice-item__summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0 0 2px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--top-ink);
  border-bottom: 1px solid #ccc;
}

body.top-page .voice-item__summary-close {
  display: none;
}

body.top-page .voice-item__toggle:checked ~ .voice-item__summary .voice-item__summary-open {
  display: none;
}

body.top-page .voice-item__toggle:checked ~ .voice-item__summary .voice-item__summary-close {
  display: inline;
}

body.top-page .voice-item__name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--top-ink);
}

body.top-page .voice-section__foot {
  display: block;
  width: 100%;
  margin: 0;
}

body.top-page .voice-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 3px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--top-ink);
  text-decoration: none;
  border-bottom: 1px solid #bbb;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

body.top-page .voice-more::after {
  content: "→";
  font-size: 12px;
  opacity: 0.75;
}

body.top-page .voice-more:hover {
  opacity: 0.7;
  border-bottom-color: var(--top-ink);
}

@media (min-width: 768px) {
  body.top-page .voice-section {
    padding: 96px 0 104px;
  }

  body.top-page .voice-list {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    margin-bottom: 44px;
    border-top: 0;
    align-items: stretch;
  }

  body.top-page .voice-item--feature {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 4px 36px 4px 0;
    border-bottom: 0;
    border-right: 1px solid var(--top-line);
  }

  body.top-page .voice-item:not(.voice-item--feature) {
    padding: 24px 0 24px 32px;
  }

  body.top-page .voice-item:not(.voice-item--feature):last-child {
    border-bottom: 0;
  }

  body.top-page .voice-item--feature .voice-item__lead {
    font-size: 24px;
    max-width: 14em;
    margin-bottom: 16px;
  }

  body.top-page .voice-item--feature .voice-item__clamp {
    flex: 1 1 auto;
    min-height: 12em;
    max-height: none;
    margin: 0 0 16px;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 58%,
      rgba(0, 0, 0, 0.35) 78%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 58%,
      rgba(0, 0, 0, 0.35) 78%,
      transparent 100%
    );
  }

  body.top-page .voice-item--feature .voice-item__toggle:checked ~ .voice-item__clamp {
    flex: 0 1 auto;
    min-height: 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  body.top-page .voice-item--feature .voice-item__excerpt {
    font-size: 13.5px;
    line-height: 1.95;
    max-width: 34em;
  }

  body.top-page .voice-item--feature .voice-item__summary {
    margin-bottom: 0;
  }

  body.top-page .voice-item--feature .voice-item__name {
    margin-top: auto;
    padding-top: 20px;
  }

  body.top-page .voice-item:not(.voice-item--feature) .voice-item__clamp {
    max-height: 4.2em;
    margin: 0 0 12px;
    -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  }

  body.top-page .voice-item:not(.voice-item--feature) .voice-item__toggle:checked ~ .voice-item__clamp {
    max-height: none;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  body.top-page .voice-item:not(.voice-item--feature) .voice-item__summary {
    margin-bottom: 14px;
  }
}

/* --- Flow: content-first 5 steps (SEO/AI + scannable layout) --- */
body.top-page .flow-section {
  padding: 72px 0 80px;
  background: var(--top-wash);
  color: var(--top-ink);
}

body.top-page .flow-section .container {
  width: 90%;
  max-width: 1120px;
}

body.top-page .flow-section .section-description {
  margin-bottom: 2.5em;
  max-width: 720px;
}

body.top-page .flow-index {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border-top: 1px solid var(--top-line);
}

body.top-page .flow-index__item {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 0 16px;
  align-items: start;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--top-line);
}

body.top-page .flow-index__num {
  margin: 0;
  padding-top: 2px;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #999;
}

body.top-page .flow-index__body {
  position: relative;
  min-width: 0;
}

body.top-page .flow-index__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--top-ink);
}

body.top-page .flow-index__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--top-muted);
}

body.top-page .flow-index__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

body.top-page .flow-index__toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 10px 0 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--top-ink);
  border-bottom: 1px solid #bbb;
  padding-bottom: 2px;
}

body.top-page .flow-index__toggle-label::after {
  content: "+";
  font-size: 12px;
  opacity: 0.75;
}

body.top-page .flow-index__toggle:checked + .flow-index__toggle-label::after {
  content: "–";
}

body.top-page .flow-index__more {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  transition: grid-template-rows 0.28s ease;
}

body.top-page .flow-index__toggle:checked ~ .flow-index__more {
  grid-template-rows: 1fr;
  margin-top: 10px;
}

body.top-page .flow-index__more > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--top-muted);
}

body.top-page .flow-section__foot {
  display: block;
  width: 100%;
  margin: 0;
}

body.top-page .flow-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 3px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--top-ink);
  text-decoration: none;
  border-bottom: 1px solid #bbb;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

body.top-page .flow-more::after {
  content: "→";
  font-size: 12px;
  opacity: 0.75;
}

body.top-page .flow-more:hover {
  opacity: 0.7;
  border-bottom-color: var(--top-ink);
}

@media (min-width: 900px) {
  body.top-page .flow-section {
    padding: 96px 0 104px;
  }

  body.top-page .flow-index {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 48px;
    border-top: 0;
    border-bottom: 1px solid var(--top-line);
  }

  body.top-page .flow-index__item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 18px 28px;
    border-bottom: 0;
    border-left: 1px solid var(--top-line);
  }

  body.top-page .flow-index__item:first-child {
    padding-left: 0;
    border-left: 0;
  }

  body.top-page .flow-index__item:last-child {
    padding-right: 0;
  }

  body.top-page .flow-index__num {
    margin: 0 0 18px;
    padding: 0;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--top-ink);
  }

  body.top-page .flow-index__title {
    margin: 0 0 14px;
    min-height: 3.1em;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.55;
  }

  body.top-page .flow-index__text {
    font-size: 13px;
    line-height: 1.8;
  }
}

/* --- Exterior styles: magazine panels (SP overlay / PC split) --- */
body.top-page .exterior-styles-section {
  padding: 88px 0 0;
  background: var(--top-paper);
  overflow: hidden;
}

body.top-page .exterior-styles-section .container {
  width: 90%;
  max-width: 960px;
}

body.top-page .exterior-styles-section__intro {
  margin-bottom: 40px;
}

body.top-page .exterior-styles-section .section-title {
  white-space: normal;
}

body.top-page .exterior-styles-section .section-description {
  margin-bottom: 0;
}

body.top-page .style-panels {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

body.top-page .style-panel {
  position: relative;
  display: block;
  min-height: 0;
  margin: 0;
  background: #000;
  isolation: isolate;
}

body.top-page .style-panel__media {
  display: block;
  position: relative;
  margin: 0;
  overflow: hidden;
  /* Fill the phone frame — avoid empty gray under cover crop */
  height: min(92vw, 780px);
  min-height: 420px;
  max-height: none;
}

body.top-page .style-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.top-page .style-panel:hover .style-panel__media img {
  transform: scale(1.04);
}

body.top-page .style-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 38%,
    rgba(0, 0, 0, 0.28) 68%,
    rgba(0, 0, 0, 0.48) 100%
  );
  pointer-events: none;
}

/* SP: copy over the photo */
body.top-page .style-panel__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 56px 20px 28px;
  background: transparent;
  color: #fff;
}

body.top-page .style-panel__en {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.88);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 14px rgba(0, 0, 0, 0.45);
}

body.top-page .style-panel__name {
  margin: 0 0 10px;
  padding: 0;
  width: auto;
  max-width: none;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 4px 20px rgba(0, 0, 0, 0.5);
}

body.top-page .style-panel__catch {
  margin: 0 0 14px;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 3px 16px rgba(0, 0, 0, 0.45);
}

body.top-page .style-panel__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

body.top-page .style-panel__toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 0 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

body.top-page .style-panel__toggle-label::after {
  content: "+";
  font-size: 12px;
  opacity: 0.8;
}

body.top-page .style-panel__toggle:checked + .style-panel__toggle-label::after {
  content: "–";
}

body.top-page .style-panel__desc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0 0 14px;
  transition: grid-template-rows 0.28s ease;
}

body.top-page .style-panel__toggle:checked ~ .style-panel__desc-wrap {
  grid-template-rows: 1fr;
  margin-bottom: 16px;
}

body.top-page .style-panel__desc-wrap > .style-panel__desc {
  overflow: hidden;
  min-height: 0;
}

body.top-page .style-panel__desc {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

body.top-page .style-panel__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #fff;
  text-decoration: none;
  background: transparent;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

body.top-page .style-panel__more::after {
  content: "→";
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.8;
}

body.top-page .style-panel__more:hover {
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  body.top-page .style-panel__media img {
    transition: none;
  }

  body.top-page .style-panel:hover .style-panel__media img {
    transform: none;
  }
}

@media (min-width: 900px) {
  body.top-page .exterior-styles-section {
    padding-top: 112px;
  }

  body.top-page .exterior-styles-section__intro {
    margin-bottom: 56px;
  }

  body.top-page .style-panels {
    gap: 0;
  }

  body.top-page .style-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 520px;
    align-items: stretch;
  }

  body.top-page .style-panel--semi {
    grid-template-columns: 0.85fr 1.15fr;
  }

  body.top-page .style-panel--semi .style-panel__media {
    order: 2;
  }

  body.top-page .style-panel--semi .style-panel__copy {
    order: 1;
  }

  body.top-page .style-panel__media {
    position: relative;
    height: 100%;
    min-height: 100%;
    max-height: none;
  }

  body.top-page .style-panel__media::after {
    background: linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.08) 0%,
      transparent 45%
    );
  }

  body.top-page .style-panel--semi .style-panel__media::after {
    background: linear-gradient(
      270deg,
      rgba(10, 10, 10, 0.08) 0%,
      transparent 45%
    );
  }

  body.top-page .style-panel__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 48px 44px;
    background: #fff;
    color: var(--top-ink);
  }

  body.top-page .style-panel__en {
    font-size: 11px;
    margin-bottom: 10px;
    color: #999;
    text-shadow: none;
  }

  body.top-page .style-panel__name {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--top-ink);
    text-shadow: none;
  }

  body.top-page .style-panel__catch {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--top-ink);
    text-shadow: none;
  }

  /* PC: full SEO copy always visible */
  body.top-page .style-panel__toggle,
  body.top-page .style-panel__toggle-label {
    display: none;
  }

  body.top-page .style-panel__desc-wrap {
    display: block;
    grid-template-rows: none;
    margin: 0 0 28px;
  }

  body.top-page .style-panel__desc-wrap > .style-panel__desc {
    overflow: visible;
  }

  body.top-page .style-panel__desc {
    margin: 0;
    max-width: 28em;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--top-muted);
    text-shadow: none;
  }

  body.top-page .style-panel__more {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
    text-shadow: none;
  }
}

/* Neutralize legacy showcase rules if any leftover */
body.top-page .style-showcase,
body.top-page .style-showcase::before {
  display: none;
}

/* --- Video: poster facade, full-bleed feel --- */
body.top-page .video-section {
  padding: 88px 0 96px;
  background: var(--top-paper);
}

body.top-page .video-section .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.top-page .video-section .section-title,
body.top-page .video-section .section-description {
  width: 90%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body.top-page .video-section .section-description {
  margin-bottom: 2.25em;
}

body.top-page .video-player {
  position: relative;
  width: 90%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

body.top-page .video-player.is-playing {
  background: #000;
}

body.top-page .video-player__facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
}

body.top-page .video-player__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

body.top-page .video-player__facade:hover .video-player__poster {
  transform: scale(1.03);
}

body.top-page .video-player__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

body.top-page .video-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.top-page .video-player__play::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #1a1a1a;
  transform: translate(-35%, -50%);
}

body.top-page .video-player__facade:hover .video-player__play {
  background: #fff;
  opacity: 0.88;
  transform: translate(-50%, -50%);
}

body.top-page .video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body.top-page .video-section__foot {
  width: 90%;
  max-width: 960px;
  margin: 28px auto 0;
  text-align: left;
}

body.top-page .video-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid #1a1a1a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #1a1a1a;
  text-decoration: none;
  background: transparent;
}

body.top-page .video-more::after {
  content: "→";
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.75;
}

body.top-page .video-more:hover {
  opacity: 0.65;
}

@media (prefers-reduced-motion: reduce) {
  body.top-page .video-player__poster,
  body.top-page .video-player__play {
    transition: none;
  }

  body.top-page .video-player__facade:hover .video-player__poster {
    transform: none;
  }
}

@media (min-width: 900px) {
  body.top-page .video-section {
    padding: 112px 0 104px;
  }

  body.top-page .video-player {
    width: min(92%, 640px);
    max-width: 640px;
  }

  body.top-page .video-player__play {
    width: 56px;
    height: 56px;
  }

  body.top-page .video-section__foot {
    margin-top: 32px;
  }
}

/* legacy */
body.top-page .video-wrapper {
  border-radius: 0;
  box-shadow: none;
}

/* --- Planner: atmosphere only (faces belong on /planner/) --- */
body.top-page .planner-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: min(68vh, 580px);
  background: #1a1a1a;
  color: #fff;
  isolation: isolate;
}

body.top-page .planner-section::before,
body.top-page .planner-background,
body.top-page .planner-mosaic,
body.top-page .planner-wall,
body.top-page .planner-showcase,
body.top-page .planner-feature,
body.top-page .planner-faces,
body.top-page .planner-section__inner,
body.top-page .planner-section__foot {
  display: none;
  content: none;
}

body.top-page .planner-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.top-page .planner-atmosphere img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.82) brightness(0.68);
  transform: scale(1.03);
}

body.top-page .planner-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 18, 0.28) 0%,
      rgba(18, 18, 18, 0.5) 40%,
      rgba(18, 18, 18, 0.9) 100%
    );
}

body.top-page .planner-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 64px 7% 56px;
  color: #fff;
}

body.top-page .planner-panel .section-title {
  text-align: left;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: normal;
  text-shadow: none;
  border-bottom: 0;
  padding-bottom: 0;
  margin: 0 0 1em;
}

body.top-page .planner-panel .sub-title {
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif);
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

body.top-page .planner-panel .section-description {
  width: 100%;
  max-width: 28em;
  margin: -0.35em 0 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: none;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 400;
}

body.top-page .planner-section .link-button {
  display: none;
}

body.top-page .planner-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #fff;
  text-decoration: none;
  background: transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

body.top-page .planner-more::after {
  content: "→";
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.75;
}

body.top-page .planner-more:hover {
  opacity: 0.75;
  border-bottom-color: #fff;
}

@media (min-width: 900px) {
  body.top-page .planner-section {
    align-items: center;
    min-height: min(66vh, 560px);
  }

  body.top-page .planner-atmosphere::after {
    background:
      linear-gradient(
        90deg,
        rgba(18, 18, 18, 0.9) 0%,
        rgba(18, 18, 18, 0.62) 44%,
        rgba(18, 18, 18, 0.22) 100%
      );
  }

  body.top-page .planner-panel {
    max-width: 460px;
    margin-left: max(5%, calc((100% - 1040px) / 2));
    padding: 72px 48px 72px 0;
  }

  body.top-page .planner-panel .section-title {
    font-size: 28px;
  }

  body.top-page .planner-panel .section-description {
    font-size: 15px;
  }

  body.top-page .planner-more {
    margin-top: 32px;
  }
}

/* --- Promise → Standard: policy list on atmosphere photo --- */
body.top-page .promise-section {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background: #f3f3f1;
  color: var(--top-ink);
}

/* Atmosphere photo returns — soft wash, not cream LP card */
body.top-page .promise-section::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/img/top/standard-bg.webp?v=2");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  mix-blend-mode: normal;
  filter: saturate(0.9) brightness(1.02);
}

body.top-page .promise-section::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.88) 45%,
      rgba(255, 255, 255, 0.92) 100%
    );
  pointer-events: none;
}

body.top-page .promise-section .container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 720px;
  margin: 0 auto;
}

body.top-page .promise-section .section-description {
  margin-bottom: 2.5em;
}

body.top-page .promise-grid {
  display: none !important;
}

body.top-page .promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

/* Kill top-style async overrides: p width 90%, last-child flex span */
body.top-page .promise-item,
body.top-page .promise-item:last-child,
body.top-page .promise-item:last-child:nth-child(odd) {
  display: grid !important;
  grid-template-columns: 3.2em minmax(0, 1fr);
  grid-column: auto !important;
  gap: 0 18px !important;
  align-items: start !important;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
  background: transparent;
  box-shadow: none;
  max-width: none !important;
}

body.top-page .promise-item:last-child {
  border-bottom: 0;
}

body.top-page .promise-number {
  display: block;
  flex: none;
  box-sizing: border-box;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 3px;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #888;
  text-align: left;
}

body.top-page .promise-body,
body.top-page .promise-content-wrapper {
  min-width: 0;
  width: auto;
  max-width: none;
}

body.top-page .promise-title {
  box-sizing: border-box;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 10px !important;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--top-ink);
  text-align: left;
}

body.top-page .promise-title br {
  display: none;
}

body.top-page .promise-text {
  box-sizing: border-box;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--top-muted);
  text-align: left;
}

@media (min-width: 768px) {
  body.top-page .promise-section {
    padding: 96px 0 104px;
  }

  body.top-page .promise-section::after {
    background:
      linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.86) 52%,
        rgba(255, 255, 255, 0.72) 100%
      );
  }

  body.top-page .promise-list {
    display: block;
    border-top: 1px solid rgba(26, 26, 26, 0.12);
  }

  body.top-page .promise-item,
  body.top-page .promise-item:last-child,
  body.top-page .promise-item:last-child:nth-child(odd) {
    grid-template-columns: 4.5em minmax(0, 1fr);
    gap: 0 24px !important;
    padding: 28px 0;
    border-left: 0 !important;
  }

  body.top-page .promise-number {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--top-ink);
    padding-top: 0;
  }

  body.top-page .promise-title {
    font-size: 18px;
    margin-bottom: 12px !important;
  }

  body.top-page .promise-text {
    font-size: 14px;
    max-width: 38em !important;
  }
}

@media (min-width: 900px) {
  body.top-page .promise-section {
    padding: 104px 0 112px;
  }

  body.top-page .promise-section .container {
    max-width: 760px;
  }

  body.top-page .promise-item,
  body.top-page .promise-item:last-child,
  body.top-page .promise-item:last-child:nth-child(odd) {
    padding: 32px 0;
  }
}

/* --- Area: quiet directory --- */
body.top-page .area-section {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background: var(--top-paper);
  color: var(--top-ink);
}

body.top-page .area-bg {
  display: none;
}

body.top-page .area-section .container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 0;
}

body.top-page .area-section .section-title {
  color: var(--top-ink);
}

body.top-page .area-section .section-title .sub-title {
  color: #888;
}

body.top-page .area-section .section-description {
  margin-bottom: 2em;
  color: var(--top-muted);
}

body.top-page .area-accordion {
  margin: 0 0 36px;
  border-top: 1px solid var(--top-line);
}

body.top-page .area-details {
  border-bottom: 1px solid var(--top-line);
}

body.top-page .area-summary {
  display: block;
  position: relative;
  padding: 16px 40px 16px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--top-ink);
  list-style: none;
}

body.top-page .area-summary::-webkit-details-marker {
  display: none;
}

body.top-page .area-summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-bottom: 1.5px solid #1a1a1a;
  border-right: 1.5px solid #1a1a1a;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

body.top-page .area-details[open] > .area-summary::after {
  transform: translateY(-30%) rotate(225deg);
}

body.top-page .area-content {
  padding: 4px 0 24px;
  background: transparent;
}

body.top-page .prefecture-group {
  margin-top: 20px;
}

body.top-page .prefecture-group:first-child {
  margin-top: 0;
}

body.top-page .prefecture-name {
  margin: 0 0 8px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--top-line);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

body.top-page .prefecture-name a {
  color: var(--top-ink);
  text-decoration: none;
}

body.top-page .prefecture-name a:hover {
  opacity: 0.65;
}

body.top-page .cities {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.95;
  color: #777;
}

body.top-page .cities a {
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  margin-right: 0.1em;
}

body.top-page .cities a:hover {
  color: var(--top-ink);
  border-bottom-color: var(--top-ink);
}

body.top-page .area-section .link-button {
  display: none;
}

body.top-page .area-section__foot {
  display: block;
  width: 100%;
  margin: 0;
}

body.top-page .area-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid #bbb;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--top-ink);
  text-decoration: none;
  background: transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

body.top-page .area-more::after {
  content: "→";
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.75;
}

body.top-page .area-more:hover {
  opacity: 0.7;
  border-bottom-color: var(--top-ink);
}

@media (min-width: 768px) {
  body.top-page .area-section {
    padding: 104px 0 112px;
  }

  body.top-page .area-summary {
    padding: 18px 48px 18px 0;
    font-size: 15px;
  }

  body.top-page .area-content {
    padding: 8px 0 32px;
  }

  body.top-page .prefecture-name {
    font-size: 15px;
  }

  body.top-page .cities {
    font-size: 13px;
    line-height: 2.05;
  }
}

/* --- Final CTA: one primary action --- */
body.top-page .final-cta-section {
  padding: 88px 0 96px;
  background: var(--top-wash);
}

body.top-page .final-cta-section .container {
  width: 90%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

body.top-page .final-cta-section .section-description {
  margin-bottom: 2.25em;
}

body.top-page .cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-top: 0;
}

body.top-page .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

body.top-page .cta-button:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.78;
}

body.top-page .cta-button .button-icon {
  display: none;
}

body.top-page .cta-button .button-text {
  display: block;
  text-align: center;
  flex-grow: 0;
}

body.top-page .cta-button .button-label {
  display: none;
}

body.top-page .cta-button.mail {
  min-height: 56px;
  padding: 16px 24px;
  border: 0;
  background: #1a1a1a;
  color: #fff;
}

body.top-page .cta-button.mail .button-main {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #fff;
}

body.top-page .cta-button.mail .button-sub {
  display: none;
}

body.top-page .cta-button.phone {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
}

body.top-page .cta-button.phone .button-main {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: #1a1a1a;
}

body.top-page .cta-button.phone .button-sub {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #777;
  opacity: 1;
}

@media (min-width: 768px) {
  body.top-page .final-cta-section {
    padding: 112px 0 120px;
  }

  body.top-page .cta-buttons {
    grid-template-columns: none;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  body.top-page .cta-button.phone .button-main {
    font-size: 22px;
  }
}

/* Realtime viewers: fixed chip; show after slight scroll (same intent as production) */
body.top-page .realtime-users-popup {
  position: fixed;
  z-index: 998;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  left: 16px;
  right: auto;
  margin: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.top-page.sticky-buttons-active .realtime-users-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.top-page.footer-visible .realtime-users-popup {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.top-page .realtime-users-popup__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.35);
  animation: realtimePulse 2.4s ease-out infinite;
}

body.top-page .realtime-users-popup__text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

body.top-page .realtime-users-popup .user-n {
  display: inline-block;
  margin: 0 0.15em;
  color: #1a1a1a !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

@keyframes realtimePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.28);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(26, 26, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 26, 26, 0);
  }
}

@media (min-width: 768px) {
  body.top-page .realtime-users-popup {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: 24px;
    padding: 11px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.top-page .realtime-users-popup__dot {
    animation: none;
  }
}

/* --- Banners: quiet horizontal marquee --- */
body.top-page .banner-section {
  padding: 0;
  background: var(--top-paper);
  overflow: hidden;
}

body.top-page .banner-section .container {
  display: none;
}

body.top-page .banner-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

body.top-page .banner-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: banner-marquee 48s linear infinite;
  will-change: transform;
}

body.top-page .banner-marquee:hover .banner-marquee__track {
  animation-play-state: paused;
}

body.top-page .banner-marquee__group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

body.top-page .banner-item {
  display: block;
  flex: 0 0 auto;
  width: 220px;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

body.top-page .banner-item:hover {
  transform: none;
  box-shadow: none;
  opacity: 1;
}

body.top-page .banner-item img {
  display: block;
  width: 100%;
  height: 56px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

@keyframes banner-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (min-width: 768px) {
  body.top-page .banner-marquee__group {
    gap: 16px;
    padding-right: 16px;
  }

  body.top-page .banner-item {
    width: 280px;
  }

  body.top-page .banner-item img {
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.top-page .banner-marquee__track {
    animation: none;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.top-page .banner-marquee__group:last-child {
    display: none;
  }
}

@media (min-width: 768px) {
  body.top-page .main-content .section-title {
    font-size: 26px;
  }

  body.top-page .problem-solution-section,
  body.top-page .voice-section,
  body.top-page .flow-section,
  body.top-page .video-section,
  body.top-page .promise-section,
  body.top-page .area-section,
  body.top-page .final-cta-section {
    padding: 112px 0 96px;
  }

  /* Strengths sits in the content rail again */
  body.top-page .strengths-section {
    padding: 112px 0 96px;
  }
}
