/* =========================================================
   奥田まさゆき公式ホームページ
   カラー: ネイビー #0B4DA2 / ダークネイビー #08376E
          イエロー #F5A623 / 淡青 #E8F0FA / 背景淡色 #f7f9fc
   フォント: Noto Sans JP
   ========================================================= */

:root {
  --navy: #0B4DA2;
  --navy-dark: #08376E;
  --accent: #F5A623;
  --accent-dark: #BA7517;
  --pale: #E8F0FA;
  --bg-alt: #f7f9fc;
  --border: #e3e3e0;
  --text: #333333;
  --text-sub: #555555;
  --radius: 10px;
  --radius-sm: 8px;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* 中央寄せの共通ラッパ */
.site-header > .header-inner,
.hero,
.section,
.site-footer {
  max-width: var(--maxw);
  margin-inline: auto;
}

/* =========== ヘッダー =========== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  height: 30px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
}
.brand-name {
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.global-nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
}
.global-nav a {
  color: #cfe0f5;
  text-decoration: none;
  transition: color .15s;
}
.global-nav a:hover { color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
}

/* =========== ボタン =========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 34px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform .12s, box-shadow .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.btn i { font-size: 15px; }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; font-size: 14px; padding: 11px 22px; }

/* =========== ヒーロー =========== */
.hero {
  text-align: center;
  padding: 48px 28px;
  background: #fff;
}
.badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.hero-photo {
  width: 260px;
  height: 260px;
  max-width: 74vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f3f3f1;
  border: 6px solid var(--accent);
  margin: 0 auto 22px;
  overflow: hidden;
  position: relative;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .photo-placeholder {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  color: #888; font-size: 24px; font-weight: 500;
}
.hero-name { font-size: 32px; font-weight: 500; margin: 0 0 4px; color: var(--navy); }
.hero-residence { font-size: 12px; color: #888; margin: 0 0 14px; }
.hero-catch { font-size: 21px; font-weight: 500; margin: 0 0 16px; color: #1a1a1a; }
.hero-lead { font-size: 15px; color: var(--text); margin: 0 0 24px; line-height: 1.8; }

/* =========== セクション共通 =========== */
.section { padding: 40px 28px; }
.section + .section,
.hero + .section { border-top: .5px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); }

.eyebrow {
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: .08em;
  margin: 0 0 4px;
}
.eyebrow-accent { color: var(--accent); }
.section-title { font-size: 18px; font-weight: 500; margin: 0 0 16px; }
.section-title.on-navy { color: #fff; }

/* =========== メッセージ =========== */
.message-body { font-size: 14px; color: #e8f0fa; margin: 0; line-height: 1.9; }

/* =========== プロフィール =========== */
.profile-name { font-size: 15px; font-weight: 500; margin: 0 0 10px; color: var(--navy); }
.profile-body { font-size: 14px; color: var(--text); margin: 0; line-height: 1.95; }

/* =========== 経歴 =========== */
.career-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.career-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--pale);
}
.career-photo img { width: 100%; height: 100%; object-fit: cover; }
.career-photo span {
  display: none;
  position: absolute; inset: 0;
  align-items: flex-end; justify-content: center;
  padding-bottom: 12px;
  color: var(--navy); font-size: 10px;
}
.career-photo.is-empty span { display: flex; }
.career-photo.is-empty img { display: none; }
.career-photo.is-empty::before {
  content: "\eb1e"; /* ti-photo */
  font-family: "tabler-icons";
  position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%);
  color: var(--navy); font-size: 22px;
}

.timeline { margin: 0; }
.timeline-row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: .5px solid var(--border);
}
.timeline-row:last-child { border-bottom: none; }
.timeline-row dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  width: 48px;
  flex-shrink: 0;
  margin: 0;
}
.timeline-row dd { font-size: 14px; color: var(--text); margin: 0; line-height: 1.5; }

/* =========== 政策 =========== */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.policy-card {
  background: #fff;
  border: .5px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}
.policy-card i { font-size: 26px; color: var(--navy); }
.policy-card h3 { font-weight: 500; font-size: 15px; margin: 10px 0 6px; }
.policy-card p { font-size: 13px; color: var(--text-sub); margin: 0; line-height: 1.6; }

/* =========== 活動報告 =========== */
.report-bar {
  background: var(--bg-alt);
  border: .5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.report-bar > i { font-size: 34px; color: var(--navy); flex-shrink: 0; }
.report-text { flex: 1; }
.report-title { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.report-desc { font-size: 13px; color: #666; margin: 0; line-height: 1.6; }

/* =========== 奥田まさゆきの日常 =========== */
.daily-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.daily-head .eyebrow,
.daily-head .section-title { margin: 0; }
.daily-head .eyebrow { margin-bottom: 4px; }
.daily-link { font-size: 13px; color: var(--navy); text-decoration: none; }
.ig-embed {
  background: #fff;
  border: .5px dashed var(--navy);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}
.ig-note { font-size: 11px; color: var(--navy); margin: 0 0 10px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-cell {
  aspect-ratio: 1;
  background: var(--pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.ig-cell i { font-size: 22px; }

/* =========== ポスター =========== */
.poster-card {
  background: #fff;
  border: .5px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.poster-text { font-size: 13px; color: var(--text-sub); margin: 0; line-height: 1.8; flex: 1; }
.poster-img {
  position: relative;
  width: 110px;
  height: 150px;
  flex-shrink: 0;
  background: var(--pale);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.poster-img img { width: 100%; height: 100%; object-fit: cover; }
.poster-img span {
  display: none;
  position: absolute; inset: 0;
  flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--navy); font-size: 11px;
}
.poster-img.is-empty span { display: flex; }
.poster-img.is-empty img { display: none; }

/* =========== 後援会入会・お問い合わせ =========== */
.contact-cta { text-align: center; }
.contact-title { font-size: 18px; font-weight: 500; margin: 0 0 6px; color: #fff; }
.contact-desc { font-size: 13px; color: #cfe0f5; margin: 0 0 18px; line-height: 1.6; }

/* =========== フッター =========== */
.site-footer {
  background: var(--navy-dark);
  color: #cfe0f5;
  padding: 24px 28px;
}
.footer-name { font-size: 14px; font-weight: 500; margin: 0 0 10px; color: #fff; }
.footer-contact { font-size: 13px; line-height: 1.9; }
.footer-contact p { margin: 0; }
.footer-contact i { color: var(--accent); margin-right: 6px; }
.footer-contact a { text-decoration: none; }
.footer-sns {
  margin: 14px 0;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 20px;
}
.footer-sns a { color: #fff; text-decoration: none; display: inline-flex; }
.footer-sns .sns-senkyo {
  width: 22px; height: 22px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
  align-items: center;
  justify-content: center;
}
.footer-copy {
  font-size: 11px;
  color: #7fa3cf;
  margin: 8px 0 0;
  border-top: .5px solid #1a4d8a;
  padding-top: 10px;
}

/* =========== レスポンシブ =========== */
@media (max-width: 640px) {
  .global-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .global-nav.open { display: flex; }
  .global-nav a { padding: 12px 20px; }
  .nav-toggle { display: block; }
  .policy-grid { grid-template-columns: 1fr; }
  .poster-card { flex-direction: column; align-items: stretch; }
  .poster-img { width: 100%; height: 200px; }
  .report-bar { flex-direction: column; align-items: stretch; text-align: center; }
}

/* アクセシビリティ: フォーカス可視化 & モーション低減 */
a:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
