@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:       #0D47A1;
  --blue-mid:   #1565C0;
  --blue-light: #1E88E5;
  --orange:     #E64A19;
  --yellow:     #FFD600;
  --bg:         #F8F9FB;
  --gray:       #555;
  --border:     #E0E4EA;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.75;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── ヘッダー ── */
header {
  background: var(--blue);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.header-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 62px;
}

.site-title {
  color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .06em;
}

nav ul { list-style: none; display: flex; gap: 2px; }

nav a {
  color: rgba(255,255,255,.88);
  padding: 8px 16px; border-radius: 6px;
  font-size: .88rem; font-weight: 500;
  transition: background .18s, color .18s;
}

nav a:hover, nav a.active {
  background: rgba(255,255,255,.18); color: #fff;
}

/* ── ヒーロー ── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 55%, var(--blue-light) 100%);
  padding: 72px 24px 80px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 56px; flex-wrap: wrap; justify-content: center;
  position: relative;
}

/* 写真：顔部分だけ切り取り */
.hero-photo {
  width: 210px; height: 260px;
  object-fit: cover;
  object-position: 30% 12%;   /* 文字を避けて顔を中心に */
  border-radius: 12px;
  border: 4px solid rgba(255,255,255,.35);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  flex-shrink: 0;
}

.hero-text { color: #fff; }

.hero-catch {
  font-size: 2.4rem; font-weight: 900;
  color: var(--yellow);
  line-height: 1.25; margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  letter-spacing: .04em;
}

.hero-name-ruby {
  font-size: .85rem; letter-spacing: .22em;
  opacity: .82; margin-bottom: 4px;
}

.hero-name {
  font-size: 2.4rem; font-weight: 900;
  letter-spacing: .12em; margin-bottom: 14px;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.hero-badge {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 999px;
  padding: 4px 14px; font-size: .82rem; font-weight: 500;
}

/* ── セクション共通 ── */
section { padding: 72px 24px; }

.section-inner { max-width: 960px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--orange); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.7rem; font-weight: 900;
  color: var(--blue); margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--border);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 52px; height: 3px;
  background: var(--orange); border-radius: 2px;
}

/* ── 政策カード ── */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.policy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: transform .22s, box-shadow .22s;
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.policy-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}

.policy-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--blue); margin-bottom: 8px;
}

.policy-card p { font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ── 活動リスト ── */
.section-bg { background: var(--bg); }

.activity-list { list-style: none; }

.activity-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 12px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: box-shadow .2s;
}

.activity-list li:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }

.activity-date {
  color: var(--blue-mid); font-size: .8rem; font-weight: 700;
  white-space: nowrap; min-width: 88px; padding-top: 2px;
}

.activity-tag {
  background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0; margin-top: 1px;
}

.activity-body { font-size: .92rem; color: #333; }

.more-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  color: var(--blue-mid); font-weight: 700; font-size: .92rem;
  border-bottom: 2px solid var(--blue-mid);
  padding-bottom: 2px;
  transition: color .2s;
}

.more-link:hover { color: var(--orange); border-color: var(--orange); }

/* ── メッセージ ── */
.message-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: 16px;
  padding: 48px 40px;
  color: #fff;
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}

.message-quote {
  font-size: 3rem; color: var(--yellow); line-height: 1;
  flex-shrink: 0; margin-top: -8px;
}

.message-text {
  font-size: 1.05rem; line-height: 2; flex: 1;
}

.message-sig {
  margin-top: 16px; font-size: .88rem;
  opacity: .8; text-align: right;
}

/* ── プロフィールテーブル ── */
.profile-wrap {
  display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap;
  margin-bottom: 40px;
}

.profile-photo {
  width: 200px; height: 250px;
  object-fit: cover; object-position: 30% 12%;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  flex-shrink: 0;
}

.profile-table { width: 100%; border-collapse: collapse; }

.profile-table th, .profile-table td {
  padding: 13px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}

.profile-table th {
  color: var(--blue); font-size: .85rem; font-weight: 700;
  width: 130px; white-space: nowrap;
}

.profile-table td { font-size: .93rem; }

.profile-table tr:last-child th,
.profile-table tr:last-child td { border-bottom: none; }

/* ── フォーム ── */
.contact-form { max-width: 620px; }

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block; font-size: .85rem; font-weight: 700;
  color: var(--blue); margin-bottom: 6px;
}

.required { color: var(--orange); margin-left: 4px; }

.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: .95rem; font-family: inherit;
  background: var(--bg);
  transition: border-color .2s, background .2s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-light);
  background: #fff; box-shadow: 0 0 0 3px rgba(30,136,229,.15);
}

.form-group textarea { height: 160px; resize: vertical; }

.btn-submit {
  background: linear-gradient(135deg, var(--orange) 0%, #BF360C 100%);
  color: #fff; border: none;
  padding: 13px 44px; font-size: .97rem; font-weight: 700;
  border-radius: 8px; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 14px rgba(230,74,25,.35);
  transition: opacity .2s, transform .15s;
}

.btn-submit:hover { opacity: .9; transform: translateY(-1px); }

/* ── フッター ── */
footer {
  background: var(--blue);
  color: rgba(255,255,255,.8);
  text-align: center; padding: 40px 20px;
  font-size: .85rem;
}

.footer-name {
  font-size: 1.1rem; font-weight: 700;
  color: #fff; margin-bottom: 6px;
}

.footer-divider {
  width: 40px; height: 2px;
  background: var(--yellow);
  margin: 12px auto;
  border-radius: 1px;
}

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  .hero-catch { font-size: 1.6rem; }
  .hero-name  { font-size: 1.8rem; }
  .hero-inner { gap: 32px; }
  .message-box { padding: 32px 24px; }

  /* ヘッダー：スマホでは縦並びに */
  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 10px 12px;
    gap: 6px;
  }

  .site-title {
    font-size: .85rem;
    text-align: center;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }

  nav a {
    padding: 6px 10px;
    font-size: .78rem;
  }

  /* ヒーロー：スマホでは中央寄せで縦並びに */
  .hero { padding: 48px 20px 56px; }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-photo { width: 180px; height: 220px; }

  .hero-badges { justify-content: center; }

  /* セクションの余白をスマホ向けに調整 */
  section { padding: 48px 18px; }

  .section-title { font-size: 1.4rem; }

  /* 活動報告の行はスマホで折り返しやすく */
  .activity-list li { flex-wrap: wrap; }

  .activity-date { min-width: auto; }
}
