/* Requested business-block direction: ANEW typography/green, with stepped photo frames. */
/* TOP section spacing: use the existing WORKS-to-MEMBER 6rem/4rem rhythm.
 * Remove the old SERVICE 20rem padding and the preceding button's extra gap.
 * Keep headings, block interiors, images and motion unchanged. */
#topPage > .sec-news > .container > .btn-view-all { margin-bottom: 0; }
#topPage > .sec-service { padding-top: 6rem; padding-bottom: 0; }
#topPage > .sec-service + #home-works { padding-top: 6rem; }
@media (max-width: 768px) {
  #topPage > .sec-service,
  #topPage > .sec-service + #home-works { padding-top: 4rem; }
}
#topPage .anew-business-blocks { margin-top: 5rem; }
#topPage .anew-business-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  padding-block: clamp(40px, 6vw, 90px);
  border-bottom: 1px solid #dce5df;
}
#topPage .anew-business-copy { min-width: 0; }
#topPage .anew-business-index { margin: 0 0 2rem; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #1ea366; }
#topPage .anew-business-index span { margin-left: 1.2rem; }
#topPage .anew-business-copy h3 { margin: 0 0 2.4rem; font: 900 clamp(22px, 2.3vw, 34px)/1.6 var(--font-ja, sans-serif); color: #333; overflow-wrap: anywhere; }
#topPage .anew-business-body { margin: 0; font-size: clamp(15px, 1.1vw, 18px); line-height: 2; color: #333; }
#topPage .anew-business-link { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 4rem; font: 700 16px/1.6 var(--font-ja, sans-serif); color: #187b4c; }
#topPage .anew-business-arrow { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid currentColor; border-radius: 6px; transition: background-color .2s, color .2s; }
#topPage .anew-business-link:hover .anew-business-arrow { color: #fff; background: #187b4c; }
#topPage .anew-business-link:focus-visible { outline: 3px solid #1ea366; outline-offset: 6px; }
#topPage .anew-business-frame { position: relative; min-width: 0; padding: 18px; border-radius: 20px; background: #eaf3ed; }
#topPage .anew-business-frame::before,
#topPage .anew-business-frame::after { content: ''; position: absolute; width: 34px; height: 34px; background: #fff; border-radius: 0 0 14px 0; }
#topPage .anew-business-frame::before { left: 0; top: 0; }
#topPage .anew-business-frame::after { right: 0; bottom: 0; transform: rotate(180deg); }
#topPage .anew-business-frame img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 12px; }
body .anew-regional-note { margin-block: 4rem; padding-left: 2.4rem; border-left: 3px solid #1ea366; }
body .anew-regional-note :is(h2,h3) { margin: 0 0 1.2rem; color: #333; font: 900 clamp(20px, 1.8vw, 28px)/1.6 var(--font-ja, sans-serif); }
body .anew-regional-note p { margin: 0; font-size: 16px; line-height: 2; color: #333; }
@media (max-width: 1080px) {
  #topPage .sec-service > .container { padding-inline: 5vw; }
}
@media (max-width: 768px) {
  #topPage .anew-business-block { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #topPage .anew-business-frame { grid-row: 1; }
  #topPage .anew-business-link { margin-top: 24px; font-size: 15px; }
  #topPage .anew-business-frame { padding: 12px; }
  body .anew-regional-note { padding-left: 18px; }
  body .anew-regional-note p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  #topPage .anew-business-arrow { transition: none; }
}

/* TOP WORKS: retain the published two-banner layout; match adjacent MEMBER heading. */
#topPage #home-works h2 { margin-top: 0; font-size: 5.2rem; font-weight: 900; color: #333; text-align: left; }
#topPage #home-works h2 .font-ja { display: inline-block; margin: 1.2rem 0; font-size: .4em; font-weight: 300; }
#topPage .anew-home-project-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 3rem; }
#topPage .anew-home-project { min-width: 0; }
#topPage .anew-home-project-banner { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; aspect-ratio: 16 / 9; padding: 12px; border: 1px solid #e1e5e2; border-radius: 12px; background: #fff; opacity: 1; transition: border-color 160ms ease; }
#topPage .anew-home-project-banner img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; object-position: center; opacity: 1; }
#topPage .anew-home-project-banner--goodflat img { width: 58%; }
#topPage .anew-home-project-caption { margin: 1.6rem 0 0; font-size: 1.6rem; line-height: 1.8; color: #333; }
#topPage .anew-home-project-banner:hover { border-color: #1ea366; }
#topPage .anew-home-project-banner:focus-visible { border-color: #1ea366; outline: 3px solid #1ea366; outline-offset: 4px; }
@media (max-width: 767px) {
  #topPage .anew-home-project-banners { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 426px) {
  #topPage #home-works h2 { font-size: 24px; }
  #topPage #home-works h2 .font-ja { font-size: .8em; }
  #topPage .anew-home-project-caption { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #topPage .anew-home-project-banner { transition: none; }
}
