/* Top page only: shared styles and other pages are unchanged. */
.home { color: #3e4150; font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; }
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home a:focus-visible { outline: 3px solid #47b6b5; outline-offset: 5px; }
.home-hero { position: relative; overflow: hidden; }
.home-hero picture { display: block; aspect-ratio: 1980 / 816; overflow: hidden; }
.home-hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-hero h1 { position: absolute; width: 41%; max-width: 809px; top: 30%; left: 50%; transform: translateX(-50%); margin: 0; line-height: 0; }
.home-hero h1 img { width: 100%; }
.home-content { background: #fff url(../images/goodgolf-goodlife.jpg) no-repeat center bottom; background-size: 100% auto; }
.home-container { width: 79.2%; max-width: 1568px; margin-right: auto; margin-left: auto; }
.home section { margin-bottom: 0; }
.home-business { padding-top: 34px; }
.home-section-heading { text-align: center; margin: 0 auto 30px; padding: 0 16px 20px; position: relative; }
.home-section-heading::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(360px, 80%); height: 1px; background: linear-gradient(to right, transparent, #5cc1be 25%, #5cc1be 75%, transparent); }
.home-section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: normal; margin: 0 0 2px; line-height: 1.5; }
.home-section-heading p { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 16px; margin: 0; letter-spacing: .04em; }
.home-business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; }
.home-business-card { display: flex; flex-direction: column; padding: 4px 4px 20px; background: white; border: 1px solid #dedede; border-radius: 7px; box-shadow: 0 0 5px 2px #0002; overflow: hidden; }
.home-business-card h3 { margin: 0; padding: 0; border: 0; line-height: 0; }
.home-business-card h3 img { width: 100%; display: block; }
.home-business-card p { margin: -14px 0 22px; padding: 0 17%; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Yu Gothic", sans-serif; font-size: 12px; line-height: 1.8; white-space: nowrap; }
.home-business-link, .home-business-link:visited { position: relative; display: block; color: white; width: 75%; margin: auto auto 0; padding: 9px 20px; font-size: 11px; text-align: center; border-radius: 16px; white-space: nowrap; }
.home-business-link span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 0; width: 12px; height: 12px; line-height: 1; }
.home-business-link.timezips { background: #0ca239; }
.home-business-link.indoor { background: #f68b00; }
.home-business-link.fm { background: #008dcb; }
.home-about { padding: 35px 0 32px; }
.home-about .home-section-heading { margin-bottom: 62px; }
.home-about-copy { width: 89.5%; max-width: 1772px; margin: 0 auto; padding-bottom: 90px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.home-about-copy h3 { border: 0; font-size: 20px; line-height: 1.6; letter-spacing: 0; word-spacing: normal; margin: 0 0 24px; }
.home-about-copy p { font-size: 14px; line-height: 1.8; margin: 0; }
.home-about-visual { display: none; }
.home-about-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5%; }
.home-about-links a, .home-about-links a:visited { display: flex; align-items: center; gap: 20px; padding: 22px; color: #444957; background: white; border: 1px solid #dedede; border-radius: 7px; box-shadow: 0 0 5px 2px #0002; }
.home-about-links img { width: 45px; height: 45px; object-fit: contain; flex-shrink: 0; }
.home-about-links strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; display: block; font-size: 14px; }
.home-about-links small { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Yu Gothic", sans-serif; display: block; font-size: 12px; white-space: nowrap; }
.home .footer { width: 100%; padding: 24px 6.7%; }
.home .footer .grid { gap: 30px; }
@media (min-width: 1600px) {
  .home-business { padding-top: 52px; }
  .home-section-heading { margin-bottom: 46px; padding-bottom: 30px; }
  .home-section-heading h2 { font-size: 48px; }
  .home-section-heading p { font-size: 24px; }
  .home-business-card { padding-bottom: 30px; }
  .home-business-card p { font-size: 18px; margin-top: -21px; margin-bottom: 34px; }
  .home-business-link { font-size: 16px; padding: 14px 24px; border-radius: 24px; }
  .home-about { padding-top: 54px; padding-bottom: 50px; }
  .home-about .home-section-heading { margin-bottom: 96px; }
  .home-about-copy { padding-bottom: 138px; }
  .home-about-copy h3 { font-size: 30px; margin-bottom: 36px; }
  .home-about-copy p { font-size: 21px; }
  .home-about-links a { padding: 34px; gap: 30px; }
  .home-about-links img { width: 68px; height: 68px; }
  .home-about-links strong { font-size: 21px; }
  .home-about-links small { font-size: 18px; }
}
@media (max-width: 1100px) {
  .home-container { width: 90%; }
  .home-business-card p { padding: 0 10%; white-space: normal; font-size: clamp(10px, 1.05vw, 12px); }
  .home-business-link { white-space: normal; font-size: clamp(9px, 1vw, 11px); padding-right: 28px; padding-left: 12px; min-height: 38px; display: flex; align-items: center; justify-content: center; }
  .home-business-link span { right: 12px; }
  .home-about-links a { padding: 18px 14px; gap: 12px; }
  .home-about-links small { font-size: 10px; }
}
@media (max-width: 767px) {
  .home-hero-photo { height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  .home-hero h1 { width: 88%; top: 27%; }
  .home-content { background: none; }
  .home-business { padding-top: 30px; }
  .home-section-heading { margin-bottom: 26px; padding-bottom: 18px; }
  .home-section-heading h2 { font-size: 28px; }
  .home-section-heading p { font-size: 13px; }
  .home-business-grid { grid-template-columns: 1fr; gap: 26px; max-width: 420px; margin: auto; }
  .home-business-card { padding-bottom: 22px; }
  .home-business-card p { font-size: 14px; white-space: normal; padding: 0 12%; margin-bottom: 22px; }
  .home-business-link { font-size: 12px; padding: 11px 24px; border-radius: 20px; }
  .home-about { padding: 38px 0 30px; }
  .home-about .home-section-heading { margin-bottom: 30px; }
  .home-about-copy { width: 90%; padding-bottom: 0; }
  .home-about-copy h3 { font-size: 18px; margin-bottom: 20px; }
  .home-about-copy h3 br { display: none; }
  .home-about-copy p { font-size: 14px; }
  .home-desktop-break { display: none; }
  .home-about-visual { display: block; height: 240px; margin: 16px 0 20px; background: url(../images/goodgolf-goodlife.jpg) no-repeat 85% 55%; background-size: auto 390px; }
  .home-about-links { grid-template-columns: 1fr; gap: 18px; max-width: 420px; }
  .home-about-links a { padding: 20px 24px; gap: 22px; }
  .home-about-links strong { font-size: 15px; }
  .home-about-links small { font-size: 12px; white-space: normal; }
  .home .footer { padding: 28px 5%; }
  .home .footer .lg-flex { display: block; }
  .home .footer .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .home .copyright { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home a { transition: none; }
}

/* Reveals are enabled only by JavaScript; content remains visible without it. */
.home .motion-pending { opacity: 0; transform: translateY(26px); }
.home .motion-visible { animation: home-reveal .85s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms) backwards; }
@keyframes home-reveal {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.home .home-business-card, .home .home-about-links a { transition: transform .3s, box-shadow .3s; }
.home .home-business-link { transition: filter .3s, box-shadow .3s; }
.home .home-business-link span { transition: translate .3s; }
.home .home-about-links img { transition: transform .35s; }
.home .home-about-links a:hover, .home .home-business-link:hover { opacity: 1; }
.home .home-business-link:hover { color: white; filter: brightness(1.08); box-shadow: 0 4px 12px #0002; }
.home .home-business-link:hover span, .home .home-business-link:focus-visible span { translate: 4px 0; }
@media (hover: hover) and (pointer: fine) {
  .home .home-business-card:hover, .home .home-about-links a:hover { transform: translateY(-6px); box-shadow: 0 9px 22px #0002; }
  .home .home-about-links a:hover img { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .home .motion-pending { opacity: 1; transform: none; }
  .home .motion-visible { animation: none; }
  .home .home-business-card, .home .home-about-links a, .home .home-business-link, .home .home-business-link span, .home .home-about-links img { transition: none; }
  .home .home-business-card:hover, .home .home-about-links a:hover, .home .home-about-links a:hover img { transform: none; }
  .home .home-business-link:hover span, .home .home-business-link:focus-visible span { translate: none; }
}

/* White-out covers the photo reset; the catch remains above the photo. */
.home-hero picture { position: relative; }
.home-hero h1 { z-index: 3; }
.home-hero-white { display: none; position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; }
.home-hero-motion-photo { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .home-hero.hero-motion-ready picture { opacity: 0; }
  .home-hero.hero-motion-ready .home-hero-white { display: block; }
  .home-hero.hero-motion-ready .home-hero-motion-photo { display: block; will-change: transform, opacity; }
}
@media (max-width: 767px) {
  .home-hero picture { aspect-ratio: 16 / 9; }
}

.home-business-link span::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; box-sizing: border-box; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); }
