/* ==============================================
   一般社団法人ポレール 共通スタイル
   ★ 編集する際は各セクションのコメントを参照
   ============================================== */

/* ---------- フォント・カラー変数 ---------- */
:root {
  --color-primary:   #1a3a5c;   /* ★ メインカラー（紺） */
  --color-accent:    #4a8fc0;   /* ★ アクセントカラー（中間青） */
  --color-light:     #e8f2fb;   /* 背景薄色 */
  --color-text:      #333333;
  --color-muted:     #666666;
  --color-white:     #ffffff;
  --color-border:    #d0dce8;
  --font-base:       'Noto Sans JP', sans-serif;
  --max-width:       960px;
}

/* ---------- リセット・基本 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: #f7f9fc;
  line-height: 1.8;
}
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-white);
  text-decoration: none;
}
.site-logo span { font-size: .8rem; display: block; font-weight: 400; opacity: .85; }

/* ---------- ナビゲーション ---------- */
.site-nav { display: flex; gap: .25rem; }
.site-nav a {
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  padding: .45rem .75rem;
  border-radius: 4px;
  transition: background .2s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { background: rgba(255,255,255,.18); text-decoration: none; color: #fff; }

/* ハンバーガーメニュー（SP用） */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 5px 0; transition: .3s;
}

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}
.hero h1 { font-size: 2rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .75rem; }
.hero .sub { font-size: 1.05rem; opacity: .9; margin-bottom: 1.75rem; }
.hero .star { font-size: 2.5rem; margin-bottom: .5rem; display: block; }
.btn-primary {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none; }

/* ---------- メインコンテンツ ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--color-white); }
.section-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: .85rem;
  margin-bottom: 1.75rem;
  font-weight: 700;
}
.section-title.center { border-left: none; text-align: center; padding-left: 0; }

/* ---------- お知らせエリア ---------- */
.notice-banner {
  background: #fff8e1;
  border: 1px solid #f9c842;
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: .95rem;
}
.notice-banner .notice-label {
  display: inline-block;
  background: #f9c842;
  color: #5a3e00;
  font-weight: 700;
  font-size: .78rem;
  padding: .15rem .6rem;
  border-radius: 3px;
  margin-right: .6rem;
  vertical-align: middle;
}

/* ---------- カードグリッド ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(26,58,92,.12); }
.card-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.card h3 { font-size: 1.1rem; color: var(--color-primary); margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--color-muted); }

/* ---------- 定義リスト（法人情報等） ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-table th, .info-table td {
  border: 1px solid var(--color-border);
  padding: .75rem 1rem;
  vertical-align: top;
  line-height: 1.7;
}
.info-table th {
  background: var(--color-light);
  color: var(--color-primary);
  font-weight: 600;
  width: 30%;
  white-space: nowrap;
}

/* ---------- 電子公告 ---------- */
.notice-box {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.notice-box .no-notice {
  text-align: center;
  color: var(--color-muted);
  padding: 2rem 0;
  font-size: .95rem;
}
.url-display {
  background: #f0f4f8;
  border: 1px dashed var(--color-accent);
  border-radius: 6px;
  padding: .75rem 1rem;
  font-family: monospace;
  font-size: .9rem;
  word-break: break-all;
  margin-top: .5rem;
}

/* ---------- チェックリスト（法務局提出前確認） ---------- */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--color-primary);
  margin-top: .2rem;
  cursor: pointer;
  flex-shrink: 0;
}
.checklist-item label { cursor: pointer; line-height: 1.6; }
.checklist-item.checked label { text-decoration: line-through; color: var(--color-muted); }
.check-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-light);
  padding: .6rem 1rem;
  border-radius: 6px 6px 0 0;
  margin-top: 1.5rem;
}
.check-box {
  border: 1px solid var(--color-border);
  border-radius: 0 0 8px 8px;
  margin-bottom: .25rem;
}
.check-progress {
  background: var(--color-light);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.progress-bar-wrap { flex: 1; background: #d0dce8; border-radius: 50px; height: 14px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--color-accent); border-radius: 50px; transition: width .4s; }
.progress-label { font-weight: 700; color: var(--color-primary); white-space: nowrap; }

/* ---------- スタッフプロフィール ---------- */
.staff-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.75rem;
}
.staff-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}
.staff-info h3 { color: var(--color-primary); font-size: 1.2rem; margin-bottom: .25rem; }
.staff-info .staff-birth { font-size: .85rem; color: var(--color-muted); margin-bottom: .75rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.tag {
  background: var(--color-light);
  color: var(--color-primary);
  font-size: .8rem;
  padding: .2rem .65rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.8);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: .85rem;
  margin-top: 4rem;
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer .footer-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: .4rem; }
.site-footer .footer-links { margin: .75rem 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.5rem; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--color-primary); padding: 1rem; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .staff-card { flex-direction: column; }
  .info-table th { width: 40%; }
}
