/*
 * v21: align the 13 legacy pages with the current lower-page visual tone.
 * Loaded on all pages; every rule is limited to the explicit legacy body classes.
 * Existing layout, media proportions, prose, input sizes and form behavior remain
 * in site-v2.css / components.css / art-v4.css. No new assets or remote imports.
 */

/* Rounded calls to action; keep existing dimensions and contrast variants. */
body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .btn {
  border-radius: 99px;
}

body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .header-cta .btn {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .header-cta .btn:hover {
  background: #f6f6f3;
  border-color: var(--ink);
  color: var(--ink);
}

/* Use the same quiet title scale as the works and plan pages. */
body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .page-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.04em;
}

body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .page-lead {
  font-size: 13px;
  line-height: 2.15;
}

body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .h2 {
  font-size: clamp(26px, 2.65vw, 38px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.035em;
}

/* The restrained blue dot matches the current lower-page section labels. */
body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .idx {
  gap: 11px;
  font: 400 10px/1.8 var(--ff-en);
  letter-spacing: .14em;
}

body:is(
  .page-contact,
  .page-privacy,
  .page-hanyu-auto,
  .page-biyoushitsu-log,
  .page-esthetic-salon-treatment,
  .page-iju-promotion-seminar,
  .page-kirin-gogo-no-kocha-cm,
  .page-restaurant-cf-branding,
  .page-smaten-saas-intro,
  .page-takasaki-city-band-documentary,
  .page-takasaki-festival-2025,
  .page-tempio,
  .page-wagashi-shorinken
) .idx::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78aeb9;
}

/* The contact options sit on paper, so use the light table-rule color. */
body.page-contact .page-head .ways,
body.page-contact .page-head .way {
  border-color: var(--line);
}

body.page-contact .fixed,
body.page-contact #form.sec--soft {
  background: #f6f6f3;
}

@media (max-width: 760px) {
  body:is(
    .page-contact,
    .page-privacy,
    .page-hanyu-auto,
    .page-biyoushitsu-log,
    .page-esthetic-salon-treatment,
    .page-iju-promotion-seminar,
    .page-kirin-gogo-no-kocha-cm,
    .page-restaurant-cf-branding,
    .page-smaten-saas-intro,
    .page-takasaki-city-band-documentary,
    .page-takasaki-festival-2025,
    .page-tempio,
    .page-wagashi-shorinken
  ) .page-title {
    font-size: clamp(29px, 7.3vw, 39px);
    line-height: 1.6;
  }

  body:is(
    .page-contact,
    .page-privacy,
    .page-hanyu-auto,
    .page-biyoushitsu-log,
    .page-esthetic-salon-treatment,
    .page-iju-promotion-seminar,
    .page-kirin-gogo-no-kocha-cm,
    .page-restaurant-cf-branding,
    .page-smaten-saas-intro,
    .page-takasaki-city-band-documentary,
    .page-takasaki-festival-2025,
    .page-tempio,
    .page-wagashi-shorinken
  ) .h2 {
    font-size: clamp(25px, 6.4vw, 32px);
    line-height: 1.65;
  }
}

