/* 星告スポーツ：初期スタイル。上部画像・色・記事装飾は今後追加する。 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #333; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif; line-height: 1.7; }
a { color: #155a7a; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ヘッダー：画像が決まるまでは無地の背景 */
.header-waku { min-height: 180px; padding: 2rem 1rem; display: grid; place-items: center; text-align: center; background: #eef1f2; }
.site-brand { display: flex; flex-direction: column; gap: .25rem; color: inherit; text-decoration: none; }
.site-brand-name { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
.site-brand-tagline { font-size: .95rem; }
.header-menu-waku { border-block: 1px solid #ddd; }
.primary-nav ul, .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; list-style: none; margin: 0; padding: .6rem 1rem; }
.primary-nav a { display: block; padding: .3rem; }

/* モバイルメニュー */
.hamburger-menu-waku { position: relative; z-index: 100; }
.hamburger-button { position: fixed; top: 12px; right: 12px; width: 46px; height: 46px; padding: 8px; background: #fff; border: 1px solid #aaa; border-radius: 4px; cursor: pointer; z-index: 102; }
.hamburger-button span { display: block; height: 2px; margin: 6px 2px; background: #333; }
.hamburger-nav-area { position: fixed; top: 0; right: 0; width: min(280px, 85vw); height: 100vh; overflow-y: auto; padding-top: 65px; background: #fff; border-left: 1px solid #ddd; visibility: hidden; transform: translateX(100%); transition: transform .2s ease, visibility .2s ease; z-index: 101; }
.hamburger-nav-area.is-open { visibility: visible; transform: translateX(0); }
.hamburger-nav-area ul { list-style: none; margin: 0; padding: 0; }
.hamburger-nav-area a { display: block; padding: .7rem 1rem; border-bottom: 1px solid #eee; }

/* 共通の二段組。記事固有の装飾はここに含めない */
.breadcrumb-container { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 1200px; margin: 1rem auto 0; padding: 0 1rem; }
.container { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: 2rem; max-width: 1200px; margin: 1.5rem auto 3rem; padding: 0 1rem; }
.content { min-width: 0; }
.content h1 { margin-top: 0; line-height: 1.4; }
.content-sub > :first-child { margin-top: 0; }
.sidebar-section { margin-bottom: 2rem; }
.sidebar-section h2 { font-size: 1.1rem; }
.sidebar-section ul { padding-left: 1.3rem; }
.sidebar-section li { margin-bottom: .5rem; }
.post-list { display: grid; gap: 1.5rem; }
.post-item { border-bottom: 1px solid #ddd; padding-bottom: 1rem; }
.post-item h2, .post-item h3 { margin: .5rem 0; }
.site-footer { border-top: 1px solid #ddd; padding: 2rem 1rem; text-align: center; }

@media (max-width: 767px) {
  .header-menu-waku { display: none; }
  .container { grid-template-columns: 1fr; }
}
