/* Project reuses the Restaurant DX rail and card styles; all additions are scoped. */
@font-face {
  font-family:"SHO Directory Noto Serif JP";
  src:url("assets/fonts/sho-directory-noto-serif-jp.woff2") format("woff2");
  font-style:normal; font-weight:400; font-display:swap;
}
body.compact-home.renewal-home .project-section {
  --mincho-font:"SHO Directory Noto Serif JP","SHO Noto Serif JP","Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
}
body.compact-home.renewal-home .project-section { background:var(--paper); padding-block:56px; }
body.compact-home.renewal-home #project-title {
  font-family:var(--section-heading-font) !important; font-size:var(--section-heading-size) !important;
  font-style:italic !important; font-weight:400 !important; line-height:1.3 !important; letter-spacing:0 !important;
  display:inline-block; width:fit-content; margin:0 !important; padding:0 0 12px; border-bottom:1px solid var(--rule);
}
body.compact-home.renewal-home .project-section .project-slideshow { --product-card-width:86%; }
body.compact-home.renewal-home .project-slide-card { scroll-margin-top:112px; }
body.compact-home.renewal-home .project-card-logo { height:104px; }
body.compact-home.renewal-home .project-card-logo a {
  display:flex; align-items:center; gap:14px; max-width:100%; min-height:80px; text-decoration:none;
}
body.compact-home.renewal-home .project-card-logo img.project-directory-icon {
  width:40px; height:auto; flex:0 0 40px;
}
body.compact-home.renewal-home .project-directory-name { font-size:19px; line-height:1.6; }
body.compact-home.renewal-home .project-card-logo img.project-external-logo {
  width:240px; max-width:100%; height:auto; aspect-ratio:3/1; object-fit:contain;
}
body.compact-home.renewal-home .project-slide-card h3 { font-size:20px; line-height:1.7; font-weight:400; }
body.compact-home.renewal-home .project-card-description {
  margin:0 0 24px; font-size:14px; line-height:2; color:var(--secondary-text) !important;
}
@media (min-width:768px) {
  body.compact-home.renewal-home .project-section { padding-block:72px; }
  body.compact-home.renewal-home .project-section .project-slideshow { --product-card-width:62%; }
}

/* GLASS VIBE shares the light card; only this displayed logo is rendered black. */
@font-face {
  font-family:"SHO Glass Vibe Noto Serif JP";
  src:url("assets/fonts/sho-glass-vibe-noto-serif-jp.woff2") format("woff2");
  font-style:normal; font-weight:400; font-display:swap;
}
body.compact-home.renewal-home #glass-vibe-project {
  --mincho-font:"SHO Glass Vibe Noto Serif JP","SHO Directory Noto Serif JP","SHO Noto Serif JP","Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
}
body.compact-home.renewal-home #glass-vibe-project .project-card-logo img.project-external-logo.project-glass-vibe-logo {
  width:260px; max-width:100%; height:104px; aspect-ratio:2/1; object-fit:contain;
  filter:brightness(0);
}
