/* Kernel Work Shifts 公開ページの共通の見た目（ホーム index.html と同じテイスト）
   使うページ：kws-signup / kws-terms / kws-privacy / kws-login。ホームの色・ヘッダー・フッターを変えたらここも合わせる */
:root{ --blue: #2f6fd6; --blue-d: #1f55ad; --ink: #1f2937; --sub: #5b6472; --line: #e5e7eb; --bg: #f6f8fb; --red: #b42318; --green: #1a7f37; }
*{ box-sizing: border-box; }
body.site{ margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; min-height: 100vh; display: flex; flex-direction: column; }
body.site main{ flex: 1 0 auto; }
body.site a{ color: var(--blue); }
.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー（ホームと同じ） */
.site-header{ position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.site-header .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.site-header img{ height: 36px; display: block; }
.site-header nav{ display: flex; align-items: center; gap: 18px; font-size: 14px; }
.site-header nav a{ color: var(--ink); text-decoration: none; }
.site-header nav a:hover{ color: var(--blue); }
.site-header nav a.btn{ color: #fff; }

/* ボタン（ホームと同じ） */
.btn{ display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; text-align: center; border: 1px solid var(--blue); cursor: pointer; font-size: 15px; font-family: inherit; line-height: 1.5; }
.btn.primary{ background: var(--blue); color: #fff; }
.btn.primary:hover{ background: var(--blue-d); }
.btn.primary:disabled{ opacity: .6; cursor: default; }
.btn.ghost{ background: #fff; color: var(--blue); }
.btn.block{ display: block; width: 100%; }
.site-header .btn{ padding: 7px 14px; font-size: 14px; }

/* ページ見出しの帯（ホームのヒーローと同じグラデーション） */
.page-hero{ background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 100%); padding: 40px 0 28px; }
.page-hero h1{ font-size: 30px; line-height: 1.35; margin: 0 0 8px; }
.page-hero h1 em{ font-style: normal; color: var(--blue); }
.page-hero p{ margin: 0; color: var(--sub); font-size: 16px; }

/* カード */
.card{ background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(31,85,173,.08); padding: 28px; }
.card h2{ font-size: 18px; margin: 0 0 4px; }

/* フッター（ホームと同じ） */
.site-footer{ background: #111827; color: #cbd5e1; padding: 28px 0; font-size: 13px; margin-top: 48px; flex-shrink: 0; }
.site-footer .wrap{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a{ color: #e5e7eb !important; text-decoration: none; margin-right: 16px; }
.site-footer a:hover{ text-decoration: underline; }

@media (max-width: 900px){
  .site-header nav .hide-sm{ display: none; }
}
@media (max-width: 560px){
  .wrap{ padding: 0 16px; }
  .site-header .wrap{ height: 54px; }
  .site-header img{ height: 30px; }
  .site-header nav{ gap: 10px; }
  .page-hero{ padding: 24px 0 18px; }
  .page-hero h1{ font-size: 23px; }
  .page-hero p{ font-size: 14px; }
  .card{ padding: 20px 16px; border-radius: 12px; }
  .site-footer{ margin-top: 32px; }
}
