/* =========================================================
   のぐち久美子 公式サイト
   色やフォントは、ここ（:root）を変えれば全体に反映されます
   ========================================================= */
:root {
  /* 色 */
  --bg-cream:   #FBF7F0;  /* 生成り（地の色） */
  --bg-white:   #FFFFFF;
  --coral:      #E3826A;  /* ジャケットのコーラル（飾り用） */
  --coral-deep: #BF523B;  /* 文字・ボタン用の濃いコーラル */
  --coral-soft: #F9E1D8;  /* 淡いコーラル */
  --coral-mist: #FDF1EC;  /* ごく淡いコーラル */
  --green:      #6F9562;  /* 若草（差し色） */
  --ink:        #3B312C;  /* 本文の文字色 */
  --ink-sub:    #6A5E57;  /* 補足の文字色 */
  --line:       #EDE3DA;  /* 線 */

  /* 文字 */
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;

  /* 角丸 */
  --radius: 24px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-deep); }
strong { font-weight: 700; }

.container { width: min(1080px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 40px); }

.sp-only { display: none; }
/* 言葉の途中で改行させないためのまとまり */
.nb { display: inline-block; }
@media (max-width: 640px) {
  .sp-only { display: inline; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform .15s, background-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral-deep); color: #fff; }
.btn-primary:hover { background: #A94632; }
.btn-ghost { background: #fff; color: var(--coral-deep); border: 2px solid var(--coral-deep); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.brand-mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 10px 0 0 -3px var(--green);
  margin-right: 8px;
}
.global-nav { display: flex; align-items: center; gap: 4px; }
.global-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.global-nav a:hover { background: var(--coral-mist); }
.global-nav .nav-contact { background: var(--coral-deep); color: #fff; padding: 8px 18px; margin-left: 6px; }
.global-nav .nav-contact:hover { background: #A94632; }

/* 画面が狭いとき：メニューは名前の下に、横にスクロールできる帯にする */
@media (max-width: 1000px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding-top: 10px; width: 100%; }
  .brand { padding-inline: 16px; font-size: 20px; }
  .global-nav {
    overflow-x: auto;
    padding: 6px 12px 10px;
    scrollbar-width: none;
  }
  .global-nav::-webkit-scrollbar { display: none; }
  .global-nav a { font-size: 15px; background: #fff; border: 1px solid var(--line); }
  .global-nav .nav-contact { border-color: var(--coral-deep); }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 860px) {
  .global-nav .nav-contact { display: none; } /* スマホは画面下の固定ボタンに任せる */
}

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, var(--coral-mist) 0 30%, transparent 31%),
    var(--bg-cream);
  padding-top: 48px;
}
.hero-inner {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  gap: 24px;
}
.hero-text { padding-bottom: 96px; }
.hero-role {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 18px;
  background: #fff;
  border: 2px solid var(--coral);
  border-radius: 999px;
  color: var(--coral-deep);
  font-weight: 700;
  font-size: 16px;
}
.hero-name {
  margin: 0;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hero-name-kanji { margin-left: 0.2em; }
.hero-catch {
  margin: 20px 0 16px;
  color: var(--coral-deep);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.55;
}
.hero-lead { margin: 0 0 28px; color: var(--ink-sub); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-photo { position: relative; align-self: end; }
.hero-photo::before {
  /* 写真の後ろのアーチ */
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 12%; bottom: 0;
  background: var(--coral-soft);
  border-radius: 999px 999px 0 0;
}
.hero-photo::after {
  /* 小さな丸の飾り */
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  opacity: .85;
  top: 16%; left: 3%;
  box-shadow: 30px 40px 0 -6px var(--coral);
}
.hero-photo picture { position: relative; z-index: 1; }
.hero-photo img { width: 100%; max-width: 520px; margin-inline: auto; }

.wave {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  fill: var(--bg-white);
}

@media (max-width: 860px) {
  .hero { padding-top: 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-photo { order: -1; max-width: 360px; width: 86%; margin-inline: auto; }
  .hero-text { padding-bottom: 72px; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-buttons .btn { flex: 1 1 200px; }
  .hero-role { margin-top: 20px; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 88px 0; }
.section-white { background: var(--bg-white); }
.section-cream { background: var(--bg-cream); }
.section-coral { background: var(--coral-mist); }

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
}
.section-label::before, .section-label::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.section-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.5;
  font-weight: 700;
}
.section-lead { text-align: center; margin: 0 0 40px; }
.sub-title {
  margin: 32px 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--coral-deep);
}
.sub-title.center { text-align: center; margin-top: 48px; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
}

/* ---------- ごあいさつ ---------- */
.letter {
  background: var(--coral-mist);
  border-radius: var(--radius);
  padding: 40px 44px;
  margin-top: 32px;
}
.letter p { margin: 0 0 1.2em; }
.letter-highlight {
  padding: 20px 24px;
  background: #fff;
  border-radius: 16px;
  border-left: 6px solid var(--coral);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.8;
}
.letter-sign {
  text-align: right;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.15em;
  margin-bottom: 0 !important;
}
@media (max-width: 640px) {
  .letter { padding: 28px 22px; }
  .letter-highlight { font-size: 18px; padding: 16px 18px; }
}

/* ---------- めざす町（政策） ---------- */
.policy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.policy-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 6px 24px rgba(120, 80, 60, 0.07);
}
.policy-main {
  grid-column: 1 / -1;
  border: 3px solid var(--coral);
}
.policy-num {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 26px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.policy-main .policy-num { background: var(--coral-deep); color: #fff; }
.policy-title { margin: 4px 0 10px; font-size: 22px; line-height: 1.5; font-weight: 700; }
.policy-main .policy-title { font-size: 26px; color: var(--coral-deep); }
.policy-body p { margin: 0 0 12px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 6px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.45em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

@media (max-width: 860px) {
  .policy-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .policy-card { flex-direction: column; gap: 10px; padding: 26px 22px; }
  .policy-main .policy-title { font-size: 23px; }
  .policy-title { font-size: 21px; }
}

/* ---------- プロフィール ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.profile-birth {
  margin: 0;
  display: inline-block;
  padding: 6px 20px;
  background: var(--bg-cream);
  border-radius: 999px;
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 6px 18px;
  background: var(--coral-mist);
  border: 1px solid var(--coral-soft);
  border-radius: 999px;
  font-size: 17px;
}
.chips-center { justify-content: center; }
.chips-spaced { max-width: 860px; margin: 32px auto 0; }
.section-coral .chips li { background: #fff; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 18px 30px;
  border-left: 3px solid var(--coral-soft);
  margin-left: 8px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -10px; top: 0.5em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--coral);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }

.profile-roles {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 8px 32px 32px;
  align-self: start;
}
.role-list { margin: 0; padding-left: 1.2em; }
.role-list li { margin-bottom: 6px; }
.role-list li::marker { color: var(--coral); }

@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-roles { padding: 4px 22px 24px; }
}

/* ---------- 実績カード ---------- */
.achievement {
  max-width: 560px;
  margin: 32px auto 0;
  padding: 36px 32px 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(120, 80, 60, 0.08);
  text-align: center;
}
.achievement-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.achievement-title { margin: 0; font-size: 26px; font-weight: 700; }
.achievement-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 0;
  line-height: 1.2;
  font-weight: 700;
}
.achievement-number small { font-size: 0.4em; margin-left: 2px; }
.num-before { font-size: 48px; color: var(--ink-sub); }
.num-arrow { font-size: 32px; color: var(--coral); }
.num-after { font-size: 76px; color: var(--coral-deep); }
.achievement-note {
  display: inline-block;
  margin: 6px 0 16px;
  padding: 2px 16px;
  border-radius: 999px;
  background: var(--coral-mist);
  color: var(--coral-deep);
  font-weight: 700;
  font-size: 16px;
}
.achievement-text { margin: 0; }
@media (max-width: 640px) {
  .achievement { padding: 28px 20px 24px; }
  .num-before { font-size: 40px; }
  .num-after { font-size: 64px; }
}

/* ---------- 活動報告 ---------- */
.news-list { list-style: none; margin: 32px auto 0; padding: 0; max-width: 820px; }
.news-item {
  display: flex;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px dashed var(--line);
}
.news-item time {
  flex: none;
  color: var(--coral-deep);
  font-weight: 700;
  min-width: 7.5em;
}
.news-item p { margin: 0; }
@media (max-width: 640px) {
  .news-item { flex-direction: column; gap: 2px; }
}

/* ---------- お問い合わせ ---------- */
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-top: 32px;
  box-shadow: 0 6px 24px rgba(120, 80, 60, 0.07);
}
.contact-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: var(--coral-deep);
  color: #fff;
  text-decoration: none;
  margin-bottom: 24px;
}
.contact-tel-label { font-size: 16px; }
.contact-tel-num { font-size: clamp(28px, 6vw, 36px); font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; }
.contact-list { margin: 0 0 24px; }
.contact-list div { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { flex: none; width: 4em; color: var(--ink-sub); font-weight: 700; }
.contact-list dd { margin: 0; word-break: break-all; }
.sns-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.sns-buttons .btn { flex: 1 1 160px; }
@media (max-width: 640px) {
  .contact-card { padding: 24px 20px; }
  .contact-list div { flex-direction: column; gap: 0; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 40px 20px 48px;
}
.footer-name { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: 0.15em; }
.footer-copy { margin: 4px 0 0; font-size: 14px; opacity: .7; }

/* ---------- スマホ用 固定ボタン ---------- */
.fixed-contact { display: none; }
@media (max-width: 860px) {
  .fixed-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 58px;
    z-index: 60;
    border-radius: 999px;
    background: var(--coral-deep);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(120, 60, 40, 0.28);
  }
  .site-footer { padding-bottom: 110px; }
}

/* 動きを減らす設定の人には、スクロールのアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
