/* Approved homepage refinement, 2026-10-02. Existing content and layout retained. */
:root {
  --white: #fff;
  --paper: #f7f9fb;
  --mist: #edf2f6;
}
.site-header { background: rgba(255, 255, 255, .98); }

/* Keep the full-photo slider and Japanese heading, with quieter text effects. */
.hero-slider .hero-eyebrow {
  margin-bottom: 18px;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: none;
}
.hero-slider .hero-message,
.hero.hero-slider h1 {
  text-shadow: 0 2px 10px rgba(4, 20, 34, .32);
}
.hero.hero-slider h1 { font-weight: 600; letter-spacing: -.015em; }
.hero-slider .hero-copy { line-height: 1.9; }
.hero.hero-slider .hero-actions .button {
  border-radius: 8px;
  box-shadow: none;
}
.hero.hero-slider .hero-actions .button.ghost { background: rgba(16, 42, 67, .18); }
.hero-slider .hero-meta li::before { background: #c1ad92; }

/* One notice should not occupy the space of several notices. */
.hero-slider .hero-news {
  min-height: 90px;
  padding-block: 14px;
  border-radius: 8px;
  border-color: #dce4eb;
  background: #fff;
  color: #102a43;
  box-shadow: none;
}
.hero-slider .hero-news-title {
  display: block;
  align-content: center;
  font-size: 13px !important;
  border-color: #dce4eb;
  color: #102a43;
}
.hero-slider .hero-news-title > span {
  display: block;
  color: #536a7c;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}
.hero-slider .hero-news-list > li + li { border-color: #dce4eb; }
.hero-slider .hero-news-link { color: #102a43; }
.hero-slider .hero-news-arrow { color: #537a8f; }
.hero-slider .hero-news-link:hover { background: #f1f5f8; color: #102a43; }
.hero-slider .hero-news-link:focus-visible { outline-color: #52788d; }

/* Same cards and illustrations, with less pronounced rounding and shadows. */
main#top .concern-grid article,
main#top .service-grid article,
main#top .plan-grid article {
  border: 1px solid #dce4eb;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(16, 42, 67, .025);
}
main#top .plans { background: #edf2f6; }
main#top .section-kicker {
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}
main#top .section-title h2 { font-weight: 600; }

@media (max-width: 820px) {
  .hero-slider .hero-news { min-height: 0; border-radius: 0; background: #fff; }
  .hero-slider .hero-news-title { display: flex; align-items: baseline; gap: 12px; }
  .hero-slider .hero-news-title > span { display: inline; }
}
@media (max-width: 520px) {
  .hero-slider .hero-eyebrow { font-size: 12px; letter-spacing: .06em; }
  .hero-slider .hero-news { padding-inline: 22px; }
}

/* Your First Step: quiet memo paper, without changing other numbered sections. */
main#top .consultation-outcomes-grid {
  gap: 24px;
  margin: 34px 0 0;
}
main#top .consultation-outcomes-grid > li {
  position: relative;
  display: block;
  padding: 30px 26px 32px;
  border: 1px solid #e2e6dd;
  border-radius: 3px;
  background: #fffef9;
  box-shadow: 0 5px 16px rgba(16, 42, 67, .055);
}
main#top .consultation-outcomes-grid > li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: calc(50% - 28px);
  width: 56px;
  height: 16px;
  background: rgba(193, 211, 196, .66);
  transform: rotate(-2deg);
  pointer-events: none;
}
main#top .consultation-outcomes-grid > li::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #e2e6dd 0 49%, #f2f6f3 50% 100%);
  pointer-events: none;
}
main#top .consultation-outcomes-grid .outcome-number {
  display: block;
  margin-bottom: 15px;
  padding: 0;
  color: #526a5d;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .12em;
}
main#top .consultation-outcomes-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}
@media (max-width: 820px) {
  main#top .consultation-outcomes-grid {
    margin: 30px auto 0;
    gap: 25px;
  }
}
@media (max-width: 520px) {
  main#top .consultation-outcomes-grid > li { padding: 26px 22px 28px; }
  main#top .consultation-outcomes-grid .outcome-number { margin-bottom: 12px; }
}

/* Balanced hero actions: equal geometry, distinct visual priority. */
main#top .hero.hero-slider .hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  width: min(100%, 592px);
  margin: 30px auto 0;
}
main#top .hero.hero-slider .hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 58px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .025em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}
main#top .hero.hero-slider .hero-actions .hero-line-cta {
  background: #067647;
  border-color: rgba(255, 255, 255, .32);
}
main#top .hero.hero-slider .hero-actions .hero-line-cta:hover {
  background: #055b38;
  border-color: rgba(255, 255, 255, .5);
}
main#top .hero.hero-slider .hero-actions .button.ghost {
  background: rgba(16, 42, 67, .2);
  border-color: rgba(255, 255, 255, .8);
}
main#top .hero.hero-slider .hero-actions .button.ghost:hover {
  background: rgba(16, 42, 67, .4);
  border-color: #fff;
}
main#top .hero.hero-slider .hero-actions .hero-line-cta > span,
main#top .hero.hero-slider .hero-actions .button.ghost::after {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
main#top .hero.hero-slider .hero-actions .button.ghost::after { content: "→"; }
main#top .hero.hero-slider .hero-actions .button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 640px) {
  main#top .hero.hero-slider .hero-actions {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 340px);
    gap: 12px;
    margin-top: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  main#top .hero.hero-slider .hero-actions .button { transition: none; }
}

/* Mobile typography: avoid cutting a short Japanese phrase or English word. */
@media (max-width: 520px) {
  main#top .mobile-title-line { display: block; }
  main#top .mobile-phrase {
    display: inline-block;
    max-width: 100%;
    vertical-align: baseline;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
  main#top .hero.hero-slider .hero-copy { text-wrap: balance; }
  main#top .section-title h2 {
    font-size: clamp(23px, 6.9vw, 27px) !important;
  }
  main#top .section-kicker {
    word-break: normal;
    overflow-wrap: normal;
  }
  main#top .consultation-outcomes-grid p,
  main#top .section-title > p {
    text-wrap: pretty;
  }
}
