/* Homepage layout and responsive overrides. */
.page-home .home-awards{display:block!important;width:100%!important;height:auto!important;box-sizing:border-box;padding:36px 24px 40px!important;margin:0!important;background:var(--color-surface)}
.home-awards h2{margin:0 0 20px;text-align:center;font-size:var(--text-subtitle);font-weight:var(--weight-heading);line-height:1.6}
.award-logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;max-width:var(--width-wide);margin:0 auto;padding:0;list-style:none;gap:12px}
.award-logos-copy{display:none}
.award-logos li{display:flex;align-items:center;justify-content:center;height:119px;min-width:0;overflow:hidden}
/* Use the original artwork as six crops, keeping the source pixels intact. */
.award-logo{display:block;flex:none;width:var(--award-width);height:119px;background-image:url('/assets/2546eda2b0b643b59c1a.webp');background-size:926px 119px;background-repeat:no-repeat;background-position:var(--award-offset) 0;transform:scale(.95)}
.home-action{align-self:flex-start;box-sizing:border-box}

.page-home .home-business{display:block;width:100%;height:auto;background:var(--color-surface-soft);padding:76px 0;box-sizing:border-box}
.home-business *{box-sizing:border-box}
.home-business :is(h2,h3,p,figure){margin:0}
.home-business-wrap{width:calc(100% - 80px);max-width:var(--width-wide);margin:0 auto}
.home-business-overview{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start;margin-bottom:40px}
.home-business-eyebrow{color:var(--color-primary);font-size:var(--text-caption);font-weight:var(--weight-label);letter-spacing:.12em;line-height:1.6}
.home-business h2{margin-top:8px;font-size:32px;font-weight:var(--weight-label);line-height:1.7;letter-spacing:.025em}
.home-business-intro .home-business-lead{font-size:27px;font-weight:var(--weight-label);line-height:1.8;word-break:keep-all;letter-spacing:.02em}
.home-business-intro>p+p{margin-top:16px;color:var(--color-muted);font-size:var(--text-body);line-height:2.05;max-width:760px}
.home-business-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.home-business-card{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.home-business-card-photo{aspect-ratio:16/10;background:#e8eee1;overflow:hidden;flex:none}
.home-business-card-photo img{display:block;width:100%;height:100%;object-fit:cover}
.home-business-card-screen{padding:14px}
.home-business-card-screen img{object-fit:contain;border-radius:5px}
.home-business-card-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:26px 24px 24px}
.home-business-card-label{color:var(--color-muted);font-size:var(--text-caption);line-height:1.8}
.home-business-card h3{margin-top:8px;font-size:22px;font-weight:var(--weight-label);line-height:1.7;letter-spacing:.01em}
.home-business-card-description{margin-top:16px!important;color:var(--color-muted);font-size:var(--text-small);line-height:2.05}
.home-business-card-link{margin-top:auto;padding-top:24px;color:var(--color-primary);font-size:var(--text-caption);font-weight:var(--weight-label);line-height:1.8;text-decoration:underline;text-underline-offset:5px}
.home-business-card:focus-visible{outline:3px solid var(--color-primary-hover);outline-offset:4px}
@media(max-width:960px) and (min-width:701px){.home-business-wrap{width:calc(100% - 48px)}.home-business-overview{grid-template-columns:180px minmax(0,1fr);gap:32px}.home-business-grid{gap:16px}.home-business-card-copy{padding:20px 18px}.home-business-card h3{font-size:20px}}
@media(max-width:700px){.page-home .home-business{padding:44px 0}.home-business-wrap{width:calc(100% - 40px)}.home-business-overview{grid-template-columns:1fr;gap:20px;margin-bottom:24px}.home-business h2{font-size:26px}.home-business-intro .home-business-lead{font-size:var(--text-subtitle)}.home-business-intro>p+p{font-size:var(--text-small)}.home-business-grid{grid-template-columns:1fr;gap:16px}.home-business-card-photo{aspect-ratio:3/1}.home-business-card-copy{padding:18px 20px}.home-business-card h3{font-size:22px}.home-business-card-link{padding-top:16px}}

@media(max-width:700px){
  .page-home .home-awards{padding:24px 20px 20px!important}
  .home-awards h2{font-size:20px;margin-bottom:12px}
  /* Repeat the same row for a seamless loop, using the media strip animation. */
  .award-window{width:calc(100% + 40px);margin:0 -20px;overflow:hidden}
  .award-track{display:flex;width:max-content;animation:media-scroll 30s linear infinite;will-change:transform}
  .award-logos{display:flex;flex:none;flex-wrap:nowrap;gap:12px;max-width:none;width:max-content;box-sizing:border-box;margin:0;padding:0 12px 0 0}
  .award-logos li{flex:0 0 144px;height:96px}
  .award-logo{transform:scale(.8)}
  .page-home .home-hero{height:clamp(440px,62svh,560px)!important;min-height:0!important}
  .page-home .home-hero-copy{left:0!important;right:0!important;bottom:32px!important;width:100%!important;margin:0!important;padding:0 20px!important;box-sizing:border-box}
  .page-home .home-hero-copy h1{margin-bottom:24px!important}
  .page-home .home-hero-copy>a{min-height:48px!important;margin:0!important;max-width:100%!important}
  .page-home .home-news{height:auto!important;min-height:0!important;padding:44px 0 48px!important;margin:0!important}
  .page-home .home-news-content{margin-top:28px!important;margin-bottom:28px!important}
  .page-home .home-news .tokuiten-news article:nth-child(n+4){display:none}
  .page-home .home-media{padding:24px 0!important;margin:0!important;height:auto!important}
  .page-home .home-media>.type-eyebrow{margin-top:0!important}
  .page-home .home-media>.type-section-title{margin-bottom:0!important}
  .page-home .media-marquee{margin-top:24px}
  .page-home .media-logo{width:190px;height:108px;padding:14px;--logo-scale:.8}
  .page-home .home-recruit{width:calc(100% - 40px)!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:44px 0!important;display:flex!important;flex-direction:column!important;gap:28px!important;box-sizing:border-box}
  .page-home :is(.home-recruit-visual,.home-recruit-visual-inner){width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;flex:none!important}
  .page-home .home-recruit-photo{width:100%!important;height:auto!important;aspect-ratio:4/3;min-height:0!important;margin:0!important;border-radius:18px!important;flex:none!important}
  .page-home .home-recruit-copy{width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;gap:24px!important}
  .page-home .home-recruit-copy>.type-lead{width:100%!important;margin:0!important}
  .page-home .home-recruit-prose-wrap{width:100%!important;height:auto!important;padding:0!important;margin:0!important}
  .page-home .home-recruit-copy>div:last-child{margin:0!important;width:auto!important;align-self:flex-start!important}
  .page-home .home-recruit-copy a{min-height:46px!important}
}
@media(min-width:701px) and (max-width:1100px){.award-logos{grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;gap:8px 20px}.award-logos li{height:108px}}
@media(max-width:360px){.award-logo{transform:scale(.75)}}

@media(max-width:700px) and (prefers-reduced-motion:reduce){
  .award-track{animation:none;transform:none;will-change:auto}
  .award-window{overflow-x:auto}
  .award-logos-copy{display:none}
}

/* One responsive layout keeps section gutters and inner spacing consistent. */
.home-shop{width:100%;background:var(--color-surface-soft)}
.home-shop-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-48);align-items:center}
.home-shop-copy{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-24);min-width:0;text-align:left}
.home-shop :is(h2,p){margin:0}
.home-shop .type-body{color:var(--color-muted)}
.home-shop-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-card)}
.home-furusato{width:100%;background:linear-gradient(#18201755,#18201755),url('/assets/a9b92c2d6f86f2ce8413.webp') center/cover no-repeat}
.home-furusato-panel{box-sizing:border-box;max-width:var(--width-reading);margin:0 auto;padding:var(--space-40);background:#172016a6;color:var(--color-surface);text-align:center}
.home-furusato-panel :is(h2,p){margin:0;color:inherit}
.home-furusato-panel>p{max-width:var(--width-prose);margin:var(--space-24) auto 0;line-height:var(--leading-body);font-size:var(--text-body)}
.home-furusato-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16);margin-top:var(--space-32)}
/* Full-width controls align within the two-column donation link grid. */
.home-furusato .home-furusato-links .site-button{width:100%!important;min-width:0}
@media(max-width:800px){
  .home-shop-layout{grid-template-columns:1fr;gap:var(--space-24)}
  .home-shop-copy{display:contents}
  .home-shop-copy>a{grid-row:4;justify-self:start}
  .home-shop-photo{grid-row:3}
  .home-furusato-panel{padding:var(--space-32)}
}
@media(max-width:600px){
  .home-furusato-panel{padding:var(--space-24) var(--space-20)}
  .home-furusato-links{gap:var(--space-12);margin-top:var(--space-24)}
}
@media(max-width:400px){.home-furusato-links{grid-template-columns:1fr}}

/* Photo-backed copy needs a dark scrim and white type, including the eyebrow. */
.home-mission{width:100%;background:linear-gradient(#172016b3,#172016b3),url('https://images.unsplash.com/photo-1712825411315-9f8c5d80052c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w2MzQ2fDB8MXxzZWFyY2h8Mnx8JUU4JThDJUI2JUU3JTk1JTkxfGVufDB8fHx8MTc0NjUzNDg2OHww&ixlib=rb-4.1.0&q=80&w=1080') center/cover no-repeat;color:var(--color-surface)}
.home-mission-inner{display:grid;grid-template-columns:200px minmax(0,1fr);gap:var(--space-48);align-items:start;text-align:left}
.home-mission :is(h2,p){margin:0;color:var(--color-surface)}
.page-home .home-mission .type-eyebrow{color:var(--color-surface)!important}
.home-mission-copy{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-24);min-width:0}
.home-mission-copy>p{text-align:left;word-break:auto-phrase}
@media(max-width:800px){.home-mission-inner{grid-template-columns:1fr;gap:var(--space-24)}}
