/* 案C「いろどり」— 区画ごとに地色を替えてリズムを作る。区切りは波。
   情報が増えても迷子にならない作り。チラシの明るさに一番近い。 */

body.plan-c { background: var(--c-base); }


/* ── メインビジュアル ─────────────────────── */
.hero { position: relative; --wave-color: var(--c-base); }
.hero-bg { width: 100%; height: clamp(440px, 50vw, 660px); object-fit: cover; object-position: 60% 38%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(95,164,124,.86) 0%, rgba(95,164,124,.7) 30%, rgba(95,164,124,.15) 56%, rgba(95,164,124,0) 68%);
}
.hero-inner {
  position: absolute; z-index: 2; left: max(24px, calc(50% - var(--w) / 2)); top: 50%;
  transform: translateY(-50%); width: min(660px, calc(100% - 48px)); color: #fff;
}
.hero-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--c-brown); background: var(--c-sun); border-radius: 999px; padding: 6px 20px; margin-bottom: 20px;
}
.hero-inner h1 {
  color: #fff; font-size: clamp(26px, 3.1vw, 39px); font-weight: 900; letter-spacing: .02em;
  text-shadow: 0 2px 14px rgba(70,100,80,.35);
}
.hero-lead { margin-top: 18px; font-family: var(--font-head); font-weight: 700; }
.hero-btns { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-btns .btn-main { background: #fff; color: var(--c-accent); box-shadow: 0 4px 0 rgba(0,0,0,.12); }
.hero-btns .btn-main:hover { background: var(--c-alt); }
.hero-hand {
  position: absolute; z-index: 2; right: max(24px, calc(50% - var(--w) / 2)); bottom: 62px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--c-brown);
  background: rgba(255,255,255,.92); border-radius: 999px; padding: 12px 26px;
  transform: rotate(-2deg); box-shadow: 0 8px 20px rgba(125,99,89,.18);
}

/* ── 見出しの共通 ───────────────────────── */
.sec-title span { position: relative; padding: 0 44px; }
.sec-title span::before, .sec-title span::after {
  content: ""; position: absolute; top: 50%; width: 26px; height: 4px; border-radius: 4px; background: var(--c-sun);
}
.sec-title span::before { left: 0; transform: translateY(-50%) rotate(-12deg); }
.sec-title span::after { right: 0; transform: translateY(-50%) rotate(12deg); }
.sec-lead { text-align: center; margin: -20px 0 40px; }

/* ── こんなこと、ありませんか（白地） ─────────── */
.worry { padding: 62px 0 56px; }
.worry-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; max-width: 840px; margin-inline: auto; }
.worry-list li {
  position: relative; padding: 11px 16px 11px 42px; font-size: 15px;
  background: var(--c-alt); border-radius: 14px;
}
.worry-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50% 4px 50% 50%; background: var(--c-orange); rotate: 10deg;
}
.worry-list li:nth-child(2n)::before { background: var(--c-pink); }
.worry-list li:nth-child(3n)::before { background: var(--c-sky); }
.worry-close {
  margin-top: 44px; text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(19px, 2.3vw, 27px); color: var(--c-accent);
}

/* ── 3つのサポート（緑地） ─────────────────── */
.support { --wave-color: var(--c-base); background-color: var(--c-accent); padding: 68px 0 62px; }
.support { position: relative; }
.support .sec-title, .support .sec-lead { color: #fff; }
.support .sec-title span::before, .support .sec-title span::after { background: var(--c-sun); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: 24px; padding: 34px 26px 30px; position: relative; }
.card .card-no {
  font-family: var(--font-head); font-weight: 900; font-size: 52px; line-height: .95;
  color: var(--c-leaf); margin-bottom: 12px; letter-spacing: .02em;
}
.card.card-2 .card-no { color: var(--c-gold); }
.card.card-3 .card-no { color: var(--c-pink); }
.card h3 { font-size: 21px; margin-bottom: 14px; }
.card p { font-size: 15px; }

/* ── あゆみプラスとは（白地） ───────────────── */
.about { padding: 68px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; }
.about-text h2 { font-size: clamp(23px, 2.6vw, 32px); margin-bottom: 24px; }
.about-text p + p { margin-top: 18px; }
.about-strong {
  margin-top: 28px; font-family: var(--font-head); font-weight: 700; font-size: 19px;
  color: var(--c-brown); background: var(--c-alt); border-radius: 18px; padding: 20px 24px;
}
.about-photos { display: grid; gap: 20px; }
.about-photos img { aspect-ratio: 16 / 10; object-fit: cover; }

/* ── お知らせ（薄黄） ────────────────────── */
.news {
  position: relative; background-color: var(--c-alt); padding: 68px 0 62px;
  background-image: var(--cloud), var(--grain-soft);
  background-blend-mode: soft-light, soft-light;
  background-size: 900px 900px, 700px 700px;
}
.news-list li { border-bottom: 1px dashed #e3d6b8; }

/* ── 3つの入口（薄黄のつづき） ───────────────── */
.guide { background: var(--c-alt); padding: 0 0 86px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-item {
  display: block; text-align: center; border-radius: 22px; padding: 28px 20px; transition: .2s;
  background: #fff; border-bottom: 6px solid var(--c-leaf);
}
.guide-item.g-2 { border-bottom-color: var(--c-sky); }
.guide-item.g-3 { border-bottom-color: var(--c-orange); }
.guide-item:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(125,99,89,.12); }
.guide-item strong { display: block; font-family: var(--font-head); font-size: 21px; color: var(--c-brown); margin-bottom: 6px; }
.guide-note { font-size: 13px; color: var(--c-muted); }

/* ── アクセス（白地） ────────────────────── */
.access { padding: 68px 0; }
.access-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.access-text h2 { font-size: 28px; margin-bottom: 20px; }
.access-name { font-family: var(--font-head); font-weight: 700; color: var(--c-accent); }
.access-addr { margin-top: 6px; }
.access-run { margin-top: 12px; font-size: 14px; color: var(--c-muted); }
.access-text .more { text-align: left; margin-top: 26px; }
.c-embed-map { border-radius: 24px; }

/* ── お問い合わせ誘導（緑地） ───────────────── */
.cta { position: relative; --wave-color: var(--c-base); background-color: var(--c-accent); color: #fff; text-align: center; padding: 68px 0 60px; }
.cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 31px); }
.cta p { margin-top: 18px; }
.cta p:last-child { margin-top: 30px; }
.footer { background: var(--c-brown); }

@media (max-width: 900px) {
  .hero-bg { height: 420px; }
  .hero::before { background: linear-gradient(180deg, rgba(95,164,124,.72) 0%, rgba(95,164,124,.62) 60%, rgba(95,164,124,.72) 100%); }
  .hero-inner { width: calc(100% - 32px); left: 16px; }
  .hero-inner h1 { font-size: 25px; }
  .hero-bg { height: 528px; }   /* ★釦が縦に積まれる分、写真を高くして帯の居場所を作る */
.hero-hand {
  /* ★position を static にすると z-index が効かなくなり、波の帯に飲まれる（一度踏んだ）。
     絶対配置のまま、釦の下・波の上へ置く。 */
  right: 16px; bottom: 30px; z-index: 3; font-size: 13px; padding: 9px 16px;
}
  .hero-btns .btn { flex: 1 1 100%; }
  .worry-list { grid-template-columns: 1fr; }
  /* ★スマホは横に逃げ場が無い（本文が幅いっぱい）。縦に居場所を作る＝上下の余白を広げ、
     飾りはその帯に置く。狭めると必ず文字の下に潜る。 */
  .worry, .support, .about, .news, .access, .cta { padding: 96px 0; }
  .worry, .cta { padding-bottom: 112px; }
  .guide { padding: 0 0 56px; }
  .about-grid, .cards, .guide-grid, .access-grid { grid-template-columns: 1fr; gap: 24px; }
  .sec-lead { margin: -12px 0 28px; font-size: 15px; }
  .sec-title span { padding: 0 32px; }
  .card .card-no { font-size: 42px; }
}

/* 3つのサポートの下に置く写真（追加素材） */
.support-photo { margin-top: 48px; }
.support-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 38%; }
@media (max-width: 900px) { .support-photo { margin-top: 28px; } .support-photo img { aspect-ratio: 16 / 10; } }
