/* 案B「まるまる」— 角を大きく丸め、吹き出しと丸い色面で親しみを出す。
   区画の切れ目はゆるい曲線。写真は3枚とも使う。 */

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

/* ── メインビジュアル ─────────────────────── */
.hero { position: relative; padding: 52px 0 68px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -140px; top: -180px; width: 560px; height: 560px;
  border-radius: 50%; background: var(--c-subtle); z-index: 0;
}
.hero::after {
  content: ""; position: absolute; left: -90px; bottom: -120px; width: 320px; height: 320px;
  border-radius: 50%; background: var(--c-alt); z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: #fff; background: var(--c-leaf); border-radius: 999px; padding: 6px 20px; margin-bottom: 20px;
}
.hero-text h1 { font-size: clamp(27px, 2.9vw, 40px); font-weight: 900; letter-spacing: .02em; line-height: 1.5; }
.hero-lead { margin-top: 18px; font-family: var(--font-head); color: var(--c-accent); font-weight: 700; }
.hero-btns { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-photo { position: relative; }
.hero-photo img { aspect-ratio: 16 / 11; object-fit: cover; }
.hero-photo { margin-right: calc(-1 * max(0px, (100vw - var(--w)) / 2 - 24px)); }
.hero-hand {
  position: absolute; left: 18px; bottom: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.8; text-align: center;
  color: var(--c-brown); background-color: var(--c-sun); border-radius: 50%;
  width: 158px; height: 158px; display: grid; place-items: center;
  transform: rotate(-8deg); box-shadow: 0 10px 22px rgba(249,191,0,.3);
}

/* ── 見出しの共通（葉っぱの丸） ───────────────── */
.sec-title { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sec-title::before {
  content: ""; width: 30px; height: 30px; border-radius: 0 100% 0 100%;
  background: var(--c-leaf); transform: rotate(-24deg);
}

/* ── こんなこと、ありませんか ───────────────── */
.worry { padding: 76px 0 68px; background: var(--c-subtle); border-radius: 0 0 60px 60px; }
.worry-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 16px; }
.worry-list li {
  position: relative; background: #fff; border-radius: 20px; padding: 14px 24px;
  font-size: 15px; box-shadow: 0 4px 12px rgba(125,99,89,.08);
}
.worry-list li::after {
  content: ""; position: absolute; left: 28px; bottom: -9px;
  border: 10px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.worry-list li:nth-child(2n) { transform: rotate(-1.5deg); }
.worry-list li:nth-child(3n) { transform: rotate(1.5deg); }
.worry-close {
  margin-top: 52px; text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(19px, 2.3vw, 27px); color: var(--c-accent);
}

/* ── あゆみプラスとは ────────────────────── */
.about { padding: 68px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.eyebrow { font-family: var(--font-head); font-size: 14px; color: var(--c-leaf); font-weight: 700; }
.about-text h2 { font-size: clamp(23px, 2.6vw, 32px); margin: 10px 0 24px; }
.about-text p + p { margin-top: 18px; }
.about-strong {
  position: relative; z-index: 2;   /* ★.inner の外に置いた本文は、自分で飾りより上に上がる */
  width: min(var(--w), calc(100% - 48px)); margin: 48px auto 0; text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2.1vw, 24px);
  color: var(--c-brown); background: var(--c-alt); border-radius: 30px; padding: 32px 28px;
}

/* ── 3つのサポート ──────────────────────── */
.support { padding: 68px 0; background: var(--c-subtle); border-radius: 60px 60px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: 30px; padding: 46px 28px 32px; text-align: center; position: relative;
  box-shadow: 0 8px 20px rgba(125,99,89,.07);
}
.card .card-mark {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff;
  background: var(--c-leaf); box-shadow: 0 6px 14px rgba(135,186,98,.35);
}
.card.card-2 .card-mark { background: var(--c-gold); color: var(--c-brown); box-shadow: 0 6px 14px rgba(249,191,0,.3); }
.card.card-3 .card-mark { background: var(--c-pink); box-shadow: 0 6px 14px rgba(239,143,174,.35); }
.card { margin-top: 34px; }
.card h3 { font-size: 20px; margin: 16px 0 12px; }
.card p { font-size: 15px; }
.support-photos { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 38%; }

/* ── お知らせ ──────────────────────────── */
.news { padding: 68px 0; background: var(--c-subtle); }
.news-list { background: #fff; border-radius: 30px; padding: 12px 34px; }
.news-list li { border-bottom: 1px dashed var(--c-border); }
.news-list li:last-child { border-bottom: 0; }

/* ── 3つの入口 ──────────────────────────── */
.guide { padding: 0 0 88px; background: var(--c-subtle); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-item {
  display: block; text-align: center; border-radius: 26px; padding: 30px 20px; transition: .2s;
  background-color: var(--c-leaf); background-image: var(--grain-soft); background-blend-mode: soft-light; background-size: 700px 700px; color: #fff;
}
.guide-item.g-2 { background-color: var(--c-sky); }
.guide-item.g-3 { background-color: var(--c-orange); }
.guide-item:hover { transform: translateY(-4px); filter: brightness(1.05); }
.guide-item strong { display: block; font-family: var(--font-head); font-size: 21px; margin-bottom: 6px; }
.guide-note { font-size: 13px; opacity: .92; }

/* ── アクセス ──────────────────────────── */
.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: 30px; }

/* ── お問い合わせ誘導 ────────────────────── */
.cta { padding: 62px 0; background: var(--c-alt); text-align: center; border-radius: 60px 60px 0 0; }
.cta h2 { font-size: clamp(23px, 2.7vw, 32px); }
.cta p { margin-top: 18px; }
.cta p:last-child { margin-top: 30px; }

@media (max-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid, .about-grid, .cards, .guide-grid, .access-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-text h1 { font-size: 28px; }
  .hero-photo { margin-right: 0; }

  .hero-hand { width: 104px; height: 104px; font-size: 12px; left: 10px; bottom: 10px; }
  .hero-btns .btn { flex: 1 1 100%; }
  /* ★スマホは横に逃げ場が無い（本文が幅いっぱい）。縦に居場所を作る＝上下の余白を広げ、
     飾りはその帯に置く。狭めると必ず文字の下に潜る。 */
  .worry, .about, .support, .news, .access, .cta { padding: 96px 0; }
  .worry, .cta { padding-bottom: 112px; }
  .worry { border-radius: 0 0 36px 36px; }
  .support, .cta { border-radius: 36px 36px 0 0; }
  .guide { padding: 0 0 56px; }
  .card { margin-top: 44px; }
  .news-list { padding: 8px 20px; border-radius: 24px; }
  .about-strong { font-size: 18px; padding: 24px 20px; border-radius: 24px; }
  .support-photos { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
}
